Skip to main content
Every order belongs to a customer: the end user who receives the fiat or the crypto. Each customer is created for a set of capabilities, the flows it can use. Before you can create an order, the customer must be VERIFIED, have that order’s capability and, for payouts, have a VERIFIED bank account. One set of APIs onboards every customer, whatever it’s for. The customer’s capabilities and country only change what data each step takes.

Onboarding flow

Create the customer

POST /customer/create with the capabilities it needs. The customer starts UNVERIFIED. Save the returned id as customer_id.

Read the requirements

GET /kyc/configuration/{customer_id} returns one block per capability: how the customer is verified (kyc.method), the KYC and address fields, and the bank methods with their identifiers.

Verify the customer

With PAYIN, run full KYC: KYC sharing or the KYC SDK. Without PAYIN, send the required fields with POST /kyc/add-data. Either way, the CUSTOMER webhook reports the result.

Add a bank account

POST /bank/create with the method and its identifiers. Zapyd verifies the account and sends a BANK webhook. See Bank accounts and wallets.

Create orders

Payins, payouts or remittance payouts, for the capabilities the customer has.

What changes by capability

The customer object

Create a customer with POST /customer/create.
  • capabilities lists the flows the customer can use, and it’s fixed at creation. Leave it out to get ["PAYIN", "PAYOUT"]. An order for a flow the customer doesn’t have returns CAPABILITY_NOT_ENABLED.
  • With PAYIN, client_reference_id and alpha_3_country_code are required. Without PAYIN, send client_reference_id, or full_name with email or phone, and alpha_3_country_code defaults to IND. client_reference_id is your ID for the user. If you send one that already exists, Zapyd returns the existing customer, so you can retry this call safely.
  • Send full_name, or first_name with last_name.
  • alpha_3_country_code must be enabled for your organization, otherwise the call fails with REQ_INVALID_COUNTRY. US customers also need dob (YYYY-MM-DD).
  • email and phone are required only when your organization has email or phone verification turned on. Send phone without the country code. The response returns it with the dial code, for example +919911002211.
  • Store the returned id. Every other call uses it as customer_id.

Standard KYC

Choose one method per customer.

KYC sharing

You already verify users. Submit the verified data by API, and Zapyd runs its own checks. India.

KYC SDK

Redirect the user to a hosted link. Zapyd collects documents, runs liveness and verifies them. Required for the USA.

KYC statuses

Each customer gets three attempts. After three failures the customer is blocked, and Zapyd support resolves it manually. A customer without PAYIN has no KYC journey. It’s UNVERIFIED until its first POST /kyc/add-data call, then VERIFIED (or PROCESSING while an India PAN is checked). See Payout requirements.
In sandbox, no real checks run. Send KYC data once, then set the result with Mock KYC Status: VERIFIED, or a failure such as DOCUMENT_VERIFICATION_FAILED. US customers can be set directly, without KYC data.

Next: bank accounts

Payouts need a bank account in the customer’s name, and some payins use one too. See Bank accounts and wallets.