Skip to content

MngGetKycStep

Returns one KYC step and the documents attached to this step.

REST Endpoint

GET /manager/kyc/steps/{id}

TCP Request

{
  "command": "MngGetKycStep",
  "data": {
    "id": 10
  }
}

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

Error Description
INVALID_DATA Invalid step id
RET_NOT_FOUND Step was not found