Payezydevelopers
Sandbox

API reference / Platform customer verification

Send requested documents for review

POST/v1/platforms/{orgId}/customers/{customerId}/onboarding/documents/submit

Sends the linked customer's uploaded documents to the Payezy review queue.

When to use it

Later in review, when Payezy or the banking partner asks for more documents (documents_required).

Before you call it

  • Organizationplatform (active)
  • Permissionplatform:customers_add

Parameters

ParameterWhat it does
orgIdpath, uuidrequiredThe organization the call acts on. For platform calls, your platform's id; for customer calls, the customer's organization id. Get them from getMe or the customer list.
customerIdpath, uuidrequiredA customer organization linked to your platform.

Response 200

Documents sent for review

FieldWhat it does
idstring (uuid)requiredNo description in the spec yet.
entity_typeenumrequiredNo description in the spec yet.

One of individual business

statusenumrequiredNo description in the spec yet.

One of draft pending_review submitted in_review documents_required documents_review approved rejected

dataOnboardingDatarequiredNo description in the spec yet.
data.individualPersonNo description in the spec yet.
data.individual.first_namestringNo description in the spec yet.
data.individual.last_namestringNo description in the spec yet.
data.individual.date_of_birthstringYYYY-MM-DD
data.individual.emailstringNo description in the spec yet.
data.individual.phonestringNo description in the spec yet.
data.individual.ssnstringUS Social Security number. Write-only; responses carry a masked value. Not used outside the United States.
data.individual.identityGovernmentIdNumber and type of a government-issued photo ID, for a person outside the United States. The number is write-only; responses are masked.
data.individual.identity.numberstringNo description in the spec yet.
data.individual.identity.typeenumNo description in the spec yet.

One of PASSPORT DRIVER_LICENSE NATIONAL_ID

data.individual.titlestringNo description in the spec yet.
data.individual.ownership_percentagestringNo description in the spec yet.
data.individual.addressPersonAddressWhere a person lives. Country defaults to US. Outside the US, state is optional and the postal code is free-form.
data.individual.address.street_line_1stringrequiredNo description in the spec yet.
data.individual.address.street_line_2stringNo description in the spec yet.
data.individual.address.citystringrequiredNo description in the spec yet.
data.individual.address.statestringUS state or territory abbreviation when country is US. Optional elsewhere.
data.individual.address.zipstringrequiredZIP in the US. Any postal code elsewhere.
data.individual.address.countrystringISO 3166-1 alpha-2 country of residence. Defaults to US.
data.businessBusinessNo description in the spec yet.
data.business.legal_namestringNo description in the spec yet.
data.business.einstringResponses carry a masked value
data.business.websitestringNo description in the spec yet.
data.business.phonestringNo description in the spec yet.
data.business.emailstringNo description in the spec yet.
data.business.addressAddressNo description in the spec yet.
data.business.address.street_line_1stringrequiredNo description in the spec yet.
data.business.address.street_line_2stringNo description in the spec yet.
data.business.address.citystringrequiredNo description in the spec yet.
data.business.address.statestringrequiredNo description in the spec yet.
data.business.address.zipstringrequiredNo description in the spec yet.
data.controllerPersonNo description in the spec yet.
data.controller.first_namestringNo description in the spec yet.
data.controller.last_namestringNo description in the spec yet.
data.controller.date_of_birthstringYYYY-MM-DD
data.controller.emailstringNo description in the spec yet.
data.controller.phonestringNo description in the spec yet.
data.controller.ssnstringUS Social Security number. Write-only; responses carry a masked value. Not used outside the United States.
data.controller.identityGovernmentIdNumber and type of a government-issued photo ID, for a person outside the United States. The number is write-only; responses are masked.
data.controller.identity.numberstringNo description in the spec yet.
data.controller.identity.typeenumNo description in the spec yet.

One of PASSPORT DRIVER_LICENSE NATIONAL_ID

data.controller.titlestringNo description in the spec yet.
data.controller.ownership_percentagestringNo description in the spec yet.
data.controller.addressPersonAddressWhere a person lives. Country defaults to US. Outside the US, state is optional and the postal code is free-form.
data.controller.address.street_line_1stringrequiredNo description in the spec yet.
data.controller.address.street_line_2stringNo description in the spec yet.
data.controller.address.citystringrequiredNo description in the spec yet.
data.controller.address.statestringUS state or territory abbreviation when country is US. Optional elsewhere.
data.controller.address.zipstringrequiredZIP in the US. Any postal code elsewhere.
data.controller.address.countrystringISO 3166-1 alpha-2 country of residence. Defaults to US.
data.beneficial_ownersPerson[]No description in the spec yet.
data.beneficial_owners[].first_namestringNo description in the spec yet.
data.beneficial_owners[].last_namestringNo description in the spec yet.
data.beneficial_owners[].date_of_birthstringYYYY-MM-DD
data.beneficial_owners[].emailstringNo description in the spec yet.
data.beneficial_owners[].phonestringNo description in the spec yet.
data.beneficial_owners[].ssnstringUS Social Security number. Write-only; responses carry a masked value. Not used outside the United States.
data.beneficial_owners[].identityGovernmentIdNumber and type of a government-issued photo ID, for a person outside the United States. The number is write-only; responses are masked.
data.beneficial_owners[].identity.numberstringNo description in the spec yet.
data.beneficial_owners[].identity.typeenumNo description in the spec yet.

One of PASSPORT DRIVER_LICENSE NATIONAL_ID

data.beneficial_owners[].titlestringNo description in the spec yet.
data.beneficial_owners[].ownership_percentagestringNo description in the spec yet.
data.beneficial_owners[].addressPersonAddressWhere a person lives. Country defaults to US. Outside the US, state is optional and the postal code is free-form.
data.beneficial_owners[].address.street_line_1stringrequiredNo description in the spec yet.
data.beneficial_owners[].address.street_line_2stringNo description in the spec yet.
data.beneficial_owners[].address.citystringrequiredNo description in the spec yet.
data.beneficial_owners[].address.statestringUS state or territory abbreviation when country is US. Optional elsewhere.
data.beneficial_owners[].address.zipstringrequiredZIP in the US. Any postal code elsewhere.
data.beneficial_owners[].address.countrystringISO 3166-1 alpha-2 country of residence. Defaults to US.
required_documentsRequiredDocument[]requiredNo description in the spec yet.
required_documents[].kindstringrequiredNo description in the spec yet.
required_documents[].display_namestringrequiredNo description in the spec yet.
required_documents[].person_labelstringNo description in the spec yet.
required_documents[].statusstringrequiredNo description in the spec yet.
documentsOnboardingDocument[]requiredNo description in the spec yet.
documents[].idstring (uuid)requiredNo description in the spec yet.
documents[].kindstringrequiredNo description in the spec yet.
documents[].person_labelstringNo description in the spec yet.
documents[].person_slotstringindividual, controller, or beneficial_owners[n]
documents[].file_namestringrequiredNo description in the spec yet.
documents[].size_bytesintegerrequiredNo description in the spec yet.
documents[].statusenumrequireduploaded: waiting for Payezy review; approved: accepted by Payezy, being sent; returned: Payezy asked for a replacement (see problem)

One of uploaded approved returned staged linked failed

documents[].identity_document_typestringNo description in the spec yet.
documents[].has_backbooleanNo description in the spec yet.
documents[].retainedbooleanStored by Payezy and not sent to the banking partner. Still required before approval.
documents[].problemstringWhy a failed or returned document was not accepted and what to do next
documents[].created_atstring (date-time)requiredNo description in the spec yet.
document_optionsDocumentOption[]A document type the customer can upload now
document_options[].kindstringrequiredNo description in the spec yet.
document_options[].display_namestringrequiredNo description in the spec yet.
document_options[].person_labelstringSend as person_label when uploading; the document is for this person
document_options[].person_slotstringSend as person_slot when uploading. individual, controller, or beneficial_owners[n]
document_options[].requestedbooleanrequiredVerification is waiting for this document
document_options[].identity_typesIdentityType[]For identity documents, the ID types accepted; send one as identity_document_type
document_options[].identity_types[].valuestringrequirede.g. PASSPORT, DRIVER_LICENSE
document_options[].identity_types[].labelstringrequiredNo description in the spec yet.
document_options[].identity_types[].two_sidedbooleanrequiredUpload the back as file_back
partnerstringNo description in the spec yet.
termsTermsNo description in the spec yet.
terms.titlestringrequiredNo description in the spec yet.
terms.versionstringrequiredNo description in the spec yet.
terms.urlstringrequiredNo description in the spec yet.
submitted_atstring (date-time)No description in the spec yet.
decision_reasonstringNo description in the spec yet.

Errors to handle

CodeWhat it means and what to do
no_documents_requested409no documents are currently requested
no_documents422upload the requested documents first

Every error is a Problem document. Branch on code; quote request_id to support.