Description

This endpoint retrieves a list of all recipients (customers) associated with your business account. Each recipient is identified by a unique ID and includes their name, email, phone number, and the amount they owe.

Request

GET /customer

Headers

api-key: your_secret_key_here

Response

{
    "status": true,
    "message": "success",
    "data": [
        {
            "first_name": "John", // string
            "last_name": "Doe", // string
            "email": "john@example.com", // string
            "phone": "+255712345678", // string
            "created_at": "2025-05-20T05:12:57.822Z", // string
            "id": "CUS_q2VolejRejNmGQ", // string
            "amount": 0 // int
        }
    ]
}