cURL
curl --request GET \ --url https://staging.afx-server.com/api/v1/customer \ --header 'x-api-key: <api-key>'
{ "data": [ { "customerId": "<string>", "fullName": "<string>", "email": "jsmith@example.com", "phone": "<string>", "countryCode": "<string>", "kyc": {}, "meta": {} } ], "page": 123, "total": 123 }
Retrieves a paginated list of customers.
Static business API key from the dashboard
Page number for pagination (starting from 0)
0 <= x <= 100
Number of items per page
1 <= x <= 50
List of customers retrieved successfully.
Show child attributes
Current page number
Total number of pages available