cURL
curl --request POST \ --url https://api.ledger.so/v1/customers \ --header 'Authorization: Bearer <token>' \ --header 'Content-Type: application/json' \ --data ' { "email": "jsmith@example.com", "firstName": "<string>", "lastName": "<string>", "type": "individual", "phone": "<string>" } '
{ "ok": true, "data": { "id": "<string>", "email": "jsmith@example.com", "firstName": "<string>", "lastName": "<string>", "type": "individual", "status": "active", "kycStatus": "not_started", "kycLink": "<string>", "tosLink": "<string>", "capabilities": { "virtualAccounts": true, "wallets": true, "transfers": true }, "createdAt": "2023-11-07T05:31:56Z", "updatedAt": "2023-11-07T05:31:56Z", "phone": "<string>" } }
Creates a new customer on your platform. The customer will be created with status: "active" and kycStatus: "not_started".
status: "active"
kycStatus: "not_started"
Pass your API key as a Bearer token: Authorization: Bearer ld_live_...
Authorization: Bearer ld_live_...
Customer's email address
Customer's first name
Customer's last name
Customer type
individual
business
Customer's phone number
Customer created
true
Show child attributes