API References V1
Get a customer by their ID in the business
cURL
curl --request GET \ --url https://api.mpesaflow.dev/customers/{id} \ --header 'Authorization: Bearer <token>'
{ "id": "cus_GqfKXLmg61LURZhB", "object": "customer", "environment": "development", "name": "John Doe", "phoneNumber": "254712345678", "createdAt": "2021-01-01T00:00:00Z", "lastActiveAt": "2021-01-01T00:00:00Z" }
The API key to use for authentication
The customer id
"cus_GqfKXLmg61LURZhB"
Get One Customer
The response is of type object.
object