Skip to content

CustomerGetKycStep

Endpoint

GET /customer/kyc/steps/{id}

Authorization

Requires SESSION_CUSTOMER token.

Description

Returns one KYC step owned by the authenticated customer and documents attached to this step.

Response

{
  "step": {
    "id": 10,
    "customer_id": 100,
    "kyc_id": 1,
    "brand": "default",
    "template_id": 1,
    "level": 1,
    "code": "proof_id",
    "name": "Proof of identity",
    "step_type": 0,
    "required": 1,
    "status": 0,
    "requirements": {},
    "form_schema": {},
    "answers": {}
  },
  "documents": [
    {
      "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
403 PERMISSION_DENIED Step does not belong to the customer
404 RET_NOT_FOUND Step was not found