Refunds

Retrieve a refund

GET/api/v1/refunds/{id}

Returns one of your refunds 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 refund'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/refunds/497f6eca-6276-4993-bfeb-53cbbbba6f08" \  -H "Authorization: Bearer <token>" \  -H "FlexMalipo-Version: 2026-11-06"
{  "id": "6d2b1f4e-3c55-4e0a-b1c6-0f6a9d7e5a21",  "status": "pending",  "payment": "0b6f3c1e-8f2a-4a51-9a57-6d1f0c2b7e93",  "amount": 4000,  "fee": 1500,  "currency": "TZS",  "reason": "requested_by_customer",  "livemode": false,  "createdAt": "2026-09-29T08:00:00Z"}