curl --request GET \
--url https://sandbox.dollarpe.xyz/cms/api/v1/customer/{customer_id} \
--header 'X-API-KEY: <api-key>' \
--header 'X-SIGNATURE: <api-key>' \
--header 'X-TIMESTAMP: <api-key>'{
"status": true,
"message": "Success",
"data": {
"id": "550e8400-e29b-41d4-a716-446655440000",
"status": "VERIFIED",
"full_name": "John Doe",
"email": "john.doe@example.com",
"phone": "+1234567890",
"country": "USA",
"client_reference_id": "cust_12345",
"type": "INDIVIDUAL",
"failure_reason": null,
"document_type": "AADHAAR",
"non_residence_status": true,
"residence_alpha_3_country_code": "USA"
}
}Fetch details of a customer by ID
curl --request GET \
--url https://sandbox.dollarpe.xyz/cms/api/v1/customer/{customer_id} \
--header 'X-API-KEY: <api-key>' \
--header 'X-SIGNATURE: <api-key>' \
--header 'X-TIMESTAMP: <api-key>'{
"status": true,
"message": "Success",
"data": {
"id": "550e8400-e29b-41d4-a716-446655440000",
"status": "VERIFIED",
"full_name": "John Doe",
"email": "john.doe@example.com",
"phone": "+1234567890",
"country": "USA",
"client_reference_id": "cust_12345",
"type": "INDIVIDUAL",
"failure_reason": null,
"document_type": "AADHAAR",
"non_residence_status": true,
"residence_alpha_3_country_code": "USA"
}
}| API Status Code | Response | Reason |
|---|---|---|
| 400 | Customer not found or access denied | Customer not found |
| 400 | Customer not found or access denied | Customer does not belong to the organization |
| 500 | Internal Server Error. | Internal Server Error |
API Key for authentication
Current timestamp in seconds since epoch
HMAC SHA256 signature of the request encoded in Base64
The unique identifier of the customer
"550e8400-e29b-41d4-a716-446655440000"