Payments

Retrieve a payment

GET/api/v1/payments/{id}

Returns one of your payments as it is now.

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 payment's ID.

Formatuuid

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/497f6eca-6276-4993-bfeb-53cbbbba6f08" \  -H "Authorization: Bearer <token>" \  -H "FlexMalipo-Version: 2026-11-06"
{  "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"  }}