GET
/
customers
/
{id}
curl --request GET \
  --url https://api.mpesaflow.com/v1/customers/{id} \
  --header 'Authorization: Bearer <token>'
{
  "success": true,
  "data": {
    "id": "<string>",
    "name": "<string>",
    "description": "<string>",
    "balance": "<string>",
    "livemode": true,
    "metadata": "<string>",
    "currency": "<string>",
    "email": "<string>",
    "createdAt": "<string>",
    "updatedAt": "<string>",
    "lastActiveAt": "<string>"
  }
}

Authorizations

Authorization
string
header
required

Bearer authentication header of the form Bearer <token>, where <token> is your auth token.

Headers

Authorization
string
required
Example:

"Bearer SECRET"

Path Parameters

id
string
required
Example:

"cus_12345"

Response

200
application/json

Get One Customer

The response is of type object.