Skip to content

CustomerGetKycDocuments

Endpoint

GET /customer/kyc/documents

Optional query parameter:

GET /customer/kyc/documents?step_id=10

Authorization

Requires SESSION_CUSTOMER token.

Description

Returns KYC documents for the authenticated customer's current KYC profile. If step_id is provided, only documents attached to that step are returned.

If the customer does not have a KYC profile yet, the method returns an empty rows array.

Response

{
  "rows": [
    {
      "id": 1,
      "customer_id": 100,
      "kyc_id": 1,
      "step_id": 10,
      "brand": "default",
      "type": "passport",
      "status": 0,
      "file_id": "2d8b3e5c-5b02-43f4-8b31-1a1cc33c7d12",
      "file_name": "passport.pdf",
      "content_type": "application/pdf",
      "file_size": 245000,
      "checksum": "..."
    }
  ]
}

Errors

HTTP Error Description
400 INVALID_CUSTOMER Customer was not found
401 PERMISSION_DENIED Customer session is missing or invalid