cURL
curl --request GET \ --url https://api.ledger.so/v1/customers/{customerId} \ --header 'Authorization: Bearer <token>'
{ "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>" } }
Retrieves a single customer by ID.
Pass your API key as a Bearer token: Authorization: Bearer ld_live_...
Authorization: Bearer ld_live_...
The customer ID
Customer details
true
Show child attributes