API reference / Platform customer verification
Submit a customer for review
POST/v1/platforms/{orgId}/customers/{customerId}/onboarding/submit
Submits the linked customer's application to the Payezy KYC/KYB review queue. The same document requirements as a direct customer apply. The platform attests that the customer accepted the account agreement.
When to use it
After every required document is uploaded. Your platform attests that the customer accepted the account agreement.
Before you call it
- Organization
platform (active) - Permission
platform:customers_add
Parameters
| Parameter | What it does |
|---|---|
orgIdpath, uuidrequired | The 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, uuidrequired | A customer organization linked to your platform. |
Request body
| Field | What it does |
|---|---|
accept_termsbooleanrequired | No description in the spec yet. |
terms_versionstringrequired | No description in the spec yet. |
Response 200
Submitted for Payezy review
| Field | What it does |
|---|---|
idstring (uuid)required | No description in the spec yet. |
entity_typeenumrequired | No description in the spec yet. One of |
statusenumrequired | No description in the spec yet. One of |
dataOnboardingDatarequired | No description in the spec yet. |
data.individualPerson | No description in the spec yet. |
data.individual.first_namestring | No description in the spec yet. |
data.individual.last_namestring | No description in the spec yet. |
data.individual.date_of_birthstring | YYYY-MM-DD |
data.individual.emailstring | No description in the spec yet. |
data.individual.phonestring | No description in the spec yet. |
data.individual.ssnstring | US Social Security number. Write-only; responses carry a masked value. Not used outside the United States. |
data.individual.identityGovernmentId | Number 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.numberstring | No description in the spec yet. |
data.individual.identity.typeenum | No description in the spec yet. One of |
data.individual.titlestring | No description in the spec yet. |
data.individual.ownership_percentagestring | No description in the spec yet. |
data.individual.addressPersonAddress | Where 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_1stringrequired | No description in the spec yet. |
data.individual.address.street_line_2string | No description in the spec yet. |
data.individual.address.citystringrequired | No description in the spec yet. |
data.individual.address.statestring | US state or territory abbreviation when country is US. Optional elsewhere. |
data.individual.address.zipstringrequired | ZIP in the US. Any postal code elsewhere. |
data.individual.address.countrystring | ISO 3166-1 alpha-2 country of residence. Defaults to US. |
data.businessBusiness | No description in the spec yet. |
data.business.legal_namestring | No description in the spec yet. |
data.business.einstring | Responses carry a masked value |
data.business.websitestring | No description in the spec yet. |
data.business.phonestring | No description in the spec yet. |
data.business.emailstring | No description in the spec yet. |
data.business.addressAddress | No description in the spec yet. |
data.business.address.street_line_1stringrequired | No description in the spec yet. |
data.business.address.street_line_2string | No description in the spec yet. |
data.business.address.citystringrequired | No description in the spec yet. |
data.business.address.statestringrequired | No description in the spec yet. |
data.business.address.zipstringrequired | No description in the spec yet. |
data.controllerPerson | No description in the spec yet. |
data.controller.first_namestring | No description in the spec yet. |
data.controller.last_namestring | No description in the spec yet. |
data.controller.date_of_birthstring | YYYY-MM-DD |
data.controller.emailstring | No description in the spec yet. |
data.controller.phonestring | No description in the spec yet. |
data.controller.ssnstring | US Social Security number. Write-only; responses carry a masked value. Not used outside the United States. |
data.controller.identityGovernmentId | Number 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.numberstring | No description in the spec yet. |
data.controller.identity.typeenum | No description in the spec yet. One of |
data.controller.titlestring | No description in the spec yet. |
data.controller.ownership_percentagestring | No description in the spec yet. |
data.controller.addressPersonAddress | Where 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_1stringrequired | No description in the spec yet. |
data.controller.address.street_line_2string | No description in the spec yet. |
data.controller.address.citystringrequired | No description in the spec yet. |
data.controller.address.statestring | US state or territory abbreviation when country is US. Optional elsewhere. |
data.controller.address.zipstringrequired | ZIP in the US. Any postal code elsewhere. |
data.controller.address.countrystring | ISO 3166-1 alpha-2 country of residence. Defaults to US. |
data.beneficial_ownersPerson[] | No description in the spec yet. |
data.beneficial_owners[].first_namestring | No description in the spec yet. |
data.beneficial_owners[].last_namestring | No description in the spec yet. |
data.beneficial_owners[].date_of_birthstring | YYYY-MM-DD |
data.beneficial_owners[].emailstring | No description in the spec yet. |
data.beneficial_owners[].phonestring | No description in the spec yet. |
data.beneficial_owners[].ssnstring | US Social Security number. Write-only; responses carry a masked value. Not used outside the United States. |
data.beneficial_owners[].identityGovernmentId | Number 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.numberstring | No description in the spec yet. |
data.beneficial_owners[].identity.typeenum | No description in the spec yet. One of |
data.beneficial_owners[].titlestring | No description in the spec yet. |
data.beneficial_owners[].ownership_percentagestring | No description in the spec yet. |
data.beneficial_owners[].addressPersonAddress | Where 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_1stringrequired | No description in the spec yet. |
data.beneficial_owners[].address.street_line_2string | No description in the spec yet. |
data.beneficial_owners[].address.citystringrequired | No description in the spec yet. |
data.beneficial_owners[].address.statestring | US state or territory abbreviation when country is US. Optional elsewhere. |
data.beneficial_owners[].address.zipstringrequired | ZIP in the US. Any postal code elsewhere. |
data.beneficial_owners[].address.countrystring | ISO 3166-1 alpha-2 country of residence. Defaults to US. |
required_documentsRequiredDocument[]required | No description in the spec yet. |
required_documents[].kindstringrequired | No description in the spec yet. |
required_documents[].display_namestringrequired | No description in the spec yet. |
required_documents[].person_labelstring | No description in the spec yet. |
required_documents[].statusstringrequired | No description in the spec yet. |
documentsOnboardingDocument[]required | No description in the spec yet. |
documents[].idstring (uuid)required | No description in the spec yet. |
documents[].kindstringrequired | No description in the spec yet. |
documents[].person_labelstring | No description in the spec yet. |
documents[].person_slotstring | individual, controller, or beneficial_owners[n] |
documents[].file_namestringrequired | No description in the spec yet. |
documents[].size_bytesintegerrequired | No description in the spec yet. |
documents[].statusenumrequired | uploaded: waiting for Payezy review; approved: accepted by Payezy, being sent; returned: Payezy asked for a replacement (see problem) One of |
documents[].identity_document_typestring | No description in the spec yet. |
documents[].has_backboolean | No description in the spec yet. |
documents[].retainedboolean | Stored by Payezy and not sent to the banking partner. Still required before approval. |
documents[].problemstring | Why a failed or returned document was not accepted and what to do next |
documents[].created_atstring (date-time)required | No description in the spec yet. |
document_optionsDocumentOption[] | A document type the customer can upload now |
document_options[].kindstringrequired | No description in the spec yet. |
document_options[].display_namestringrequired | No description in the spec yet. |
document_options[].person_labelstring | Send as person_label when uploading; the document is for this person |
document_options[].person_slotstring | Send as person_slot when uploading. individual, controller, or beneficial_owners[n] |
document_options[].requestedbooleanrequired | Verification 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[].valuestringrequired | e.g. PASSPORT, DRIVER_LICENSE |
document_options[].identity_types[].labelstringrequired | No description in the spec yet. |
document_options[].identity_types[].two_sidedbooleanrequired | Upload the back as file_back |
partnerstring | No description in the spec yet. |
termsTerms | No description in the spec yet. |
terms.titlestringrequired | No description in the spec yet. |
terms.versionstringrequired | No description in the spec yet. |
terms.urlstringrequired | No description in the spec yet. |
submitted_atstring (date-time) | No description in the spec yet. |
decision_reasonstring | No description in the spec yet. |
Events it causes
Errors to handle
| Code | What it means and what to do |
|---|---|
invalid_documents422 | A required document is missing. Upload every item in the application's document requirements, then submit. |
no_documents422 | upload the requested documents first |
terms_required422 | The account agreement was not accepted. Send |
not_submitted409 | This customer has not been opened at a partner yet. |
Every error is a Problem document. Branch on code; quote request_id to support.