Customers

List a customer's credit entries

GET/api/v1/customers/{id}/balance/entries

Returns every change to this customer's credit, newest first, one page at a time. While hasMore is true, pass nextCursor as cursor to get the next page. Treat the cursor as an opaque string.

Authorization

bearerAuth
AuthorizationBearer <token>

An access token from POST /api/v1/oauth/token, sent as Authorization: Bearer <token>.

In: header

Path Parameters

id*string

The customer's ID.

Formatuuid

Query Parameters

limit?integer

How many entries to return, 1 to 100. A value outside that range is brought inside it.

Formatint32
Default20
cursor?string

The nextCursor from the previous page. Leave it out for the first page.

Header Parameters

FlexMalipo-Version?"2026-11-06"

The API version to use for this request, a date such as 2026-11-06. Without it the request uses your default version for the mode of your key. An unknown version answers 400 api_version_invalid.

Value in

  • "2026-11-06"

Response Body

application/json

application/json

application/json

application/json

application/json

curl -X GET "https://api-malipo.flex.co.tz/api/v1/customers/497f6eca-6276-4993-bfeb-53cbbbba6f08/balance/entries?limit=20" \  -H "Authorization: Bearer <token>" \  -H "FlexMalipo-Version: 2026-11-06"
{  "data": [    {      "id": "3b0f6c1e-52d4-4f0a-8f43-1c2d9a7e6b10",      "kind": "overpayment",      "type": "refundable",      "amount": 10000,      "currency": "TZS",      "paymentId": "5f0d2c3e-7a41-4c1e-9d55-0d6b1f1a2b3c",      "invoiceId": "7d5c1a2e-9b3f-4c8a-a1d2-6e4f8b0c3d57",      "createdAt": "2019-08-24T14:15:22Z"    }  ],  "hasMore": true,  "nextCursor": "eyJjIjoiMjAyNi0wOS0yOFQwOToxNTozMFoiLCJpIjoiMGI2ZiJ9.x7Qm"}