Payezydevelopers
Sandbox

API reference / Platform customer verification

Save a customer's application draft

PUT/v1/platforms/{orgId}/customers/{customerId}/onboarding

Saves the linked customer's draft. Masked or empty SSN/EIN values keep what was stored.

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.

Request body

FieldWhat it does
individualPersonNo description in the spec yet.
individual.first_namestringNo description in the spec yet.
individual.last_namestringNo description in the spec yet.
individual.date_of_birthstringYYYY-MM-DD
individual.emailstringNo description in the spec yet.
individual.phonestringNo description in the spec yet.
individual.ssnstringUS Social Security number. Write-only; responses carry a masked value. Not used outside the United States.
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.
individual.identity.numberstringNo description in the spec yet.
individual.identity.typeenumNo description in the spec yet.

One of PASSPORT DRIVER_LICENSE NATIONAL_ID

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

One of PASSPORT DRIVER_LICENSE NATIONAL_ID

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

One of PASSPORT DRIVER_LICENSE NATIONAL_ID

beneficial_owners[].titlestringNo description in the spec yet.
beneficial_owners[].ownership_percentagestringNo description in the spec yet.
beneficial_owners[].addressPersonAddressWhere a person lives. Country defaults to US. Outside the US, state is optional and the postal code is free-form.
beneficial_owners[].address.street_line_1stringrequiredNo description in the spec yet.
beneficial_owners[].address.street_line_2stringNo description in the spec yet.
beneficial_owners[].address.citystringrequiredNo description in the spec yet.
beneficial_owners[].address.statestringUS state or territory abbreviation when country is US. Optional elsewhere.
beneficial_owners[].address.zipstringrequiredZIP in the US. Any postal code elsewhere.
beneficial_owners[].address.countrystringISO 3166-1 alpha-2 country of residence. Defaults to US.

Response 200

Saved draft

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
application_locked409The application was submitted and is in review.

Wait for the decision. If changes are requested it returns to draft.

invalid_application422The KYC/KYB data is incomplete or inconsistent.

Read details for each field. US persons need an SSN and a US phone; businesses need an EIN and their owners.

invalid_address422this is not a valid

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