GET
/
getDocuments
/
{customerId}
curl --request GET \
  --url https://gateway.cyrexa.com/customer/1.0.0/getDocuments/{customerId} \
  --header 'Authorization: Bearer <token>' \
  --header 'tenantId: <tenantid>' \
  --header 'token: <token>'
{
  "tenantId": "<string>",
  "documents": [
    {
      "purpose": "KYB",
      "name": "<string>",
      "documentType": "ID front side",
      "location": "<string>",
      "verificationResponse": "<string>",
      "status": "underverification",
      "metadata": [
        {
          "name": "<string>",
          "type": "Number",
          "value": "<string>"
        }
      ]
    }
  ]
}

Authorizations

Authorization
string
header
required

The access token received from the authorization server in the OAuth 2.0 flow.

Headers

token
string
required
tenantId
string
required

Tenant/Owner id

Path Parameters

customerId
string
required

Customer Id

Response

200
application/json
Get customer document by purpose response
tenantId
string
documents
object[]