Payments

List payments

GET/api/v1/payments

Returns 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
AuthorizationBearer <token>

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

In: header

Query Parameters

limit?integer

How many payments 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.

status?array<>

Only payments with one of these statuses. Repeat it for several, for example status=FAILED&status=EXPIRED.

kind?string

Only payments of this kind.

Value in

  • "COLLECTION"
  • "DISBURSEMENT"
paymentMethodType?string

Only payments by this payment method type. Only mobile_money so far.

network?string

Only payments on this mobile money network: mpesa or mixx_by_yas.

Value in

  • "mpesa"
  • "mixx_by_yas"
createdFrom?string

Only payments created at or after this instant (inclusive), ISO 8601.

Formatdate-time
createdTo?string

Only payments created before this instant (exclusive), ISO 8601.

Formatdate-time
merchantReference?string

Only the payment with exactly this merchant reference.

toPayoutDestination?boolean

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.

Defaultfalse

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/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"}