PUT
/
identity
/
identities
/
{identity_id}
/
documents
Document Upload
curl --request PUT \
  --url https://api.paxos.com/v2/identity/identities/{identity_id}/documents \
  --header 'Authorization: Bearer <token>' \
  --header 'Content-Type: application/json' \
  --data '{
  "name": "Proof_of_residence.jpg",
  "document_types": [
    "PROOF_OF_RESIDENCY"
  ]
}'
{
  "file_id": "f190b163-208f-4d73-8deb-4fb8b24add00",
  "name": "Proof_of_residence.jpg",
  "upload_url": "https://s3.amasonaws.com/pax...cec3f64fe20348685a"
}

Authorizations

Authorization
string
header
required

Paxos APIs use OAuth 2 with the client credentials grant flow.

Token URLs:

Learn more in the API credentials guide →

Path Parameters

identity_id
string
required

The id of the identity the document is associated with.

Body

application/json

Response

200
application/json

A successful response.

The response is of type object.