Skip to main content
POST
cURL

Create Customer

Capabilities

capabilities lists the flows the customer can use. It’s fixed at creation. Every new customer is UNVERIFIED. A customer without PAYIN is verified by its first Add KYC Data call, even one with only customer_id. Leave capabilities out to get ["PAYIN", "PAYOUT"]. An order whose flow isn’t listed returns CAPABILITY_NOT_ENABLED. Each payout country must be enabled for your organization. See Payout requirements for the fields per country.

Error Codes and Messages

Authorizations

X-API-KEY
string
header
required

API Key for authentication

X-TIMESTAMP
string
header
required

Current timestamp in seconds since epoch

X-SIGNATURE
string
header
required

HMAC SHA256 signature of the request encoded in Base64

Body

application/json
capabilities
enum<string>[]

Optional. The flows the customer is onboarded for: PAYIN, PAYOUT, REMITTANCE_PAYOUT. Defaults to ["PAYIN", "PAYOUT"]. Each value once. Fixed at creation.

Available options:
PAYIN,
PAYOUT,
REMITTANCE_PAYOUT
Example:
client_reference_id
string

Your unique reference for this customer. Required when capabilities contains PAYIN. A customer without PAYIN can leave it out and send full_name with email or phone instead. Re-sending an existing client_reference_id returns the existing customer.

Example:

"test123"

full_name
string

Customer's full name. Required with PAYIN unless you send first_name and last_name. Optional for a customer without PAYIN that sends client_reference_id (it defaults to the reference).

Example:

"John Doe"

first_name
string

Optional. First name. Send together with last_name as an alternative to full_name.

Example:

"John"

last_name
string

Optional. Last name. Send together with first_name.

Example:

"Doe"

email
string

Customer email. Required with PAYIN when email verification is enabled for your organization, and for a customer without PAYIN and without client_reference_id (email or phone). Otherwise optional.

Example:

"john@example.com"

phone
string

National mobile number without country code, validated per country. Required with PAYIN when phone verification is enabled for your organization, and for a customer without PAYIN and without client_reference_id (email or phone). Otherwise optional.

Example:

"9911002211"

alpha_3_country_code
string

ISO 3166-1 alpha-3 country code. Required when capabilities contains PAYIN. Must be enabled for your organization and support every capability you send. Without PAYIN it defaults to IND.

Example:

"IND"

dob
string<date>

Date of birth (YYYY-MM-DD). Required for USA customers with PAYIN. Otherwise optional.

Example:

"1990-01-15"

Response

Customer created successfully

status
boolean
Example:

true

message
string
Example:

"Success"

data
object