Credit notes

Download a credit note

GET/api/v1/credit-notes/{id}/pdf

Returns one of your credit notes as a PDF file. The credit note is your customer's refund document: it shows the amount paid back and, once the payout has succeeded, the network's transaction code. The document is in English.

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 credit note'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/pdf

application/json

application/json

application/json

application/json

curl -X GET "https://api-malipo.flex.co.tz/api/v1/credit-notes/497f6eca-6276-4993-bfeb-53cbbbba6f08/pdf" \  -H "Authorization: Bearer <token>" \  -H "FlexMalipo-Version: 2026-11-06"
"string"