cURL
curl --request GET \ --url https://staging.afx-server.com/api/v1/customer/{customerId} \ --header 'x-api-key: <api-key>'
{ "data": { "customerId": "<string>", "fullName": "<string>", "email": "jsmith@example.com", "phone": "<string>", "countryCode": "<string>", "kyc": {}, "meta": {} } }
Retrieves a specific customer by their unique identifier.
Static business API key from the dashboard
The unique identifier of the customer
Customer retrieved successfully.
Show child attributes