Payment records
List payment records
GET
/api/v1/payment-recordsReturns your payment records, the most recently paid 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. Scoped to the mode of your key.
Authorization
bearerAuth AuthorizationBearer <token>
An access token from POST /api/v1/oauth/token, sent as Authorization: Bearer <token>.
In: header
Query Parameters
limit?integer
How many payment records to return, 1 to 100. A value outside that range is brought inside it.
Format
int32Default
20cursor?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
curl -X GET "https://api-malipo.flex.co.tz/api/v1/payment-records?limit=20" \ -H "Authorization: Bearer <token>" \ -H "FlexMalipo-Version: 2026-11-06"{ "data": [ { "id": "3c9d2f4e-7a1b-4e8c-9f2d-5b6a7c8d9e0f", "amount": 150000, "currency": "TZS", "paidAt": "2026-12-01T09:30:00Z", "payment_method_details": { "type": "bank_transfer" }, "reference": "TRF-20261201-0042", "customerId": "8a1b2c3d-4e5f-4a6b-8c7d-9e0f1a2b3c4d", "livemode": false, "createdAt": "2026-12-01T10:02:11Z" } ], "hasMore": true, "nextCursor": "eyJjIjoiMjAyNi0wOS0yOFQwOToxNTozMFoiLCJpIjoiMGI2ZiJ9.x7Qm"}