Skip to main content
POST
cURL
Currently, Payins (on-ramp) is only supported for Aadhaar verified customers.

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
customer_id
string<uuid>
required

Zapyd customer ID (UUID) returned by Create Customer.

Example:

"4e6f1b20-a73c-11ec-b909-0242ac120002"

full_name
string
required

Name as it appears on the identity document.

Example:

"John Doe"

phone
string
required

National mobile number without the country code (9–10 digits), validated for the customer's country.

Example:

"9911002211"

full_address
string
required

Residential address.

Example:

"FULL_ADDRESS_OF_THE_CUSTOMER"

dob
string<date>
required

Date of birth, DD-MM-YYYY

Example:

"DD-MM-YYYY"

registered_date
string<date>
required

Registration date, DD-MM-YYYY

Example:

"DD-MM-YYYY"

document_type
string
required

Document type as returned by /kyc/configuration/{customer_id} (e.g. PASSPORT, etc.)

document_details
object
required

Required. Must include document_number.

selfie_url
string<uri>
required

Accepts JPG, JPEG and PNG links

tax_number
string

Optional. Tax number, up to 15 characters. For India, the PAN; it is checked against the name and date of birth.

Example:

"ABCPG1234N"

document_front_image_url
string<uri>

Front image URL (JPG, JPEG, PNG or PDF). Required for every document type except AADHAAR, which accepts either both images or aadhaar_json in document_details.additional_data.

document_back_image_url
string<uri>

Back image URL (JPG, JPEG, PNG or PDF). Same rule as document_front_image_url.

additional_info
object

Extra fields required by your organization's KYC configuration; see GET /kyc/configuration/{customer_id}. Unknown keys are rejected.

ip_address
string

Optional. The end user's IP address.

Example:

"203.0.113.10"

Response

KYC data added successfully

status
boolean
Example:

true

message
string
Example:

"Success"

data
object