Payezydevelopers
Sandbox

API reference / Customers

Verification

KYC (an individual) and KYB (a business) are one application on this organization. There is no separate submit call for each. entity_type is individual or business.

Upload every required document, then submit. Approval is what opens the USD account, its virtual account, and any deposit address. Nothing in this section creates an account.

POSTUpload a verification document

POST/v1/orgs/{orgId}/onboarding/documents

Required before submit. Call this once for every item in required_documents. Send kind from that item. For a person, also send person_slot: individual, controller, or beneficial_owners[n]. When the document option lists identity_types, send one of them as identity_document_type. A two-sided ID also needs the back image as file_back. The file itself is the file part. The console attaches a synthetic PDF and does not send a real document; use the curl snippet on the operation page, with -F file=@./document.pdf, for a real file.

Reference

POSTSubmit KYC or KYB

POST/v1/orgs/{orgId}/onboarding/submit

One call submits either application to Payezy review. An individual is KYC and a business is KYB. The application becomes pending_review and the organization becomes kyc_pending.

Reference

GETGet verification status

GET/v1/orgs/{orgId}/onboarding

Returns the application, including status, the documents still required, and the terms version. SSNs are never returned.

Reference

POSTSend documents requested during review

POST/v1/orgs/{orgId}/onboarding/documents/submit

Use this only when status is documents_required. Upload the new files first, then this call sends them. It is not the first submit.

Reference