API reference / Individual/Business / Verification
Get documents required during review
GET/v1/orgs/{orgId}/onboarding/requirements
Documents the customer must upload while KYC or KYB is documents_required. The list includes what the banking partner asked for, the files Payezy collects, and a file staff sent back (reason is the note from that send-back). Any other status returns an empty documents list.
When to use it
When verification status is documents_required, to see which files to upload before you send them for review.
Before you call it
- Permission
onboarding:manage
Parameters
| Parameter | What it does |
|---|---|
orgIdpath, uuidrequired | The organization this call acts on. On a platform route this is the platform organization id from GET /v1/me. On a customer route it is the customer's organization id. |
Response 200
The documents required at this stage
| Field | What it does |
|---|---|
statusenumrequired | Where KYC or KYB is. documents is filled only when this is documents_required. One of: draft, pending_review, submitted, in_review, documents_required, documents_review, approved, rejected. One of |
documentsOnboardingRequirement[]required | Files to upload now. Empty unless status is documents_required. |
documents[].kindstringrequired | Send this value as kind when you upload the file. |
documents[].display_namestringrequired | Name to show for this document. |
documents[].person_labelstring | Which person this document is for. Send this as person_label on the upload. |
documents[].person_slotstring | individual, controller, or beneficial_owners[n]. Send this as person_slot on the upload. |
documents[].identity_typesIdentityType[] | For a photo ID, the ID types accepted. Send one as identity_document_type. |
documents[].identity_types[].valuestringrequired | e.g. PASSPORT, DRIVER_LICENSE |
documents[].identity_types[].labelstringrequired | Short name chosen for this record. |
documents[].identity_types[].two_sidedbooleanrequired | Upload the back as file_back |
documents[].reasonstring | The note staff left when they sent this document back. Empty when staff did not send it back. |
documents[].sourceenumrequired | partner: the banking partner asked for it. payezy: Payezy collects it. send_back: staff asked for a replacement that was not already on those lists. One of: partner, payezy, send_back. One of |