List payments
/api/v1/paymentsReturns your payments, 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.
The filters are combined with AND. A cursor is bound to the filters it was issued with: pass the same ones on every page of one walk through the list.
Authorization
bearerAuth An access token from POST /api/v1/oauth/token, sent as Authorization: Bearer <token>.
In: header
Query Parameters
How many payments to return, 1 to 100. A value outside that range is brought inside it.
int3220The nextCursor from the previous page. Leave it out for the first page.
Only payments with one of these statuses. Repeat it for several, for example status=FAILED&status=EXPIRED.
Only payments of this kind.
Value in
- "COLLECTION"
- "DISBURSEMENT"
Only payments by this payment method type. Only mobile_money so far.
Only payments on this mobile money network: mpesa or mixx_by_yas.
Value in
- "mpesa"
- "mixx_by_yas"
Only payments created at or after this instant (inclusive), ISO 8601.
date-timeOnly payments created before this instant (exclusive), ISO 8601.
date-timeOnly the payment with exactly this merchant reference.
Pass true for only the withdrawals: payouts sent from the dashboard to your saved payout destination. Payouts you create with an API key are not included.
falseHeader Parameters
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/payments?limit=20&paymentMethodType=mobile_money&network=mpesa&createdFrom=2026-09-01T00%3A00%3A00Z&createdTo=2026-10-01T00%3A00%3A00Z&merchantReference=order-1042" \ -H "Authorization: Bearer <token>" \ -H "FlexMalipo-Version: 2026-11-06"{ "data": [ { "id": "0b6f3c1e-8f2a-4a51-9a57-6d1f0c2b7e93", "status": "SUCCEEDED", "kind": "COLLECTION", "payment_method_details": { "type": "mobile_money", "mobile_money": { "network": "mpesa", "phone": "25574*****11", "verified_name": "ASHA J JUMA" } }, "amount": 10000, "fee": 150, "net": 9850, "currency": "TZS", "merchantReference": "order-1042", "description": "Order 1042 from Duka Online", "livemode": false, "transactionCode": "SGR7K2LQ1P", "createdAt": "2026-09-28T09:15:30Z", "updatedAt": "2026-09-28T09:15:42Z", "metadata": { "channel": "mobile-app" } } ], "hasMore": true, "nextCursor": "eyJjIjoiMjAyNi0wOS0yOFQwOToxNTozMFoiLCJpIjoiMGI2ZiJ9.x7Qm"}