Payezydevelopers
Sandbox

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

  • Permissiononboarding:manage

Parameters

ParameterWhat it does
orgIdpath, uuidrequiredThe 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

FieldWhat it does
statusenumrequiredWhere 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 draft pending_review submitted in_review documents_required documents_review approved rejected

documentsOnboardingRequirement[]requiredFiles to upload now. Empty unless status is documents_required.
documents[].kindstringrequiredSend this value as kind when you upload the file.
documents[].display_namestringrequiredName to show for this document.
documents[].person_labelstringWhich person this document is for. Send this as person_label on the upload.
documents[].person_slotstringindividual, 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[].valuestringrequirede.g. PASSPORT, DRIVER_LICENSE
documents[].identity_types[].labelstringrequiredShort name chosen for this record.
documents[].identity_types[].two_sidedbooleanrequiredUpload the back as file_back
documents[].reasonstringThe note staff left when they sent this document back. Empty when staff did not send it back.
documents[].sourceenumrequiredpartner: 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 partner payezy send_back