Create a new customer

POST/customers

Create a new customer by providing their profile information. We recommend to provide as much information as possible to ensure accurate results and prevent false rejections.

Body application/json

namestringrequired

Name of the customer

genderstring

Gender of the customer

country_codestring

Country Code

emailstring<email>required

Email of the customer

dobstring<date>

Date of birth of the customer in format YYYY-MM-DD

Response

New Customer successfully created

idstring<uuid>

Unique ID for the Customer KYC record created

namestring

Name of the Customer

emailstring<email>

Email of the customer

dobstring<date>

Date of Birth of the customer

genderstring

Gender of the Customer

country_codestring

Country Code for the Country of Customer

kyc_statusstring

KYC status of the Customer after the details are inspected. verified or blocked

kyc_tiernumber

Tier of the customer set based on KYC details provided

retries_leftinteger
poiobject[]
Show poi properties
idstring<uuid>
created_atstring<date-time>
statusstring
declined_reasonstring
transaction_limitstring

Amount allowed in each transaction (in SGD)

Invalid Input

messagestring
errorsobject[]
Show errors properties
pathstring
messagestring
errorCodestring

Invalid/Expired Access Token

messagestring
errorsobject[]
Show errors properties
pathstring
messagestring

A Customer with provided Email already exists

messagestring

Server Error

messagestring
Request
curl -X POST "https://api.triple-a.work/kyc-api/v1/customers" \
  -H "Content-Type: application/json" \
  -H "Authorization: Bearer <token>" \
  -d '{
  "name": "John Doe",
  "gender": "Male",
  "country_code": "US",
  "email": "[email protected]",
  "dob": "1992-10-10"
}'
Response
{
  "id": "9598bb1a-4ce8-485b-a093-387656560624",
  "name": "John Doe",
  "email": "[email protected]",
  "dob": "1992-10-10",
  "gender": "Male",
  "country_code": "US",
  "kyc_status": "verified",
  "kyc_tier": 1,
  "retries_left": 2,
  "poi": [],
  "transaction_limit": "1500 SGD"
}