Customers
Retrieve a customer's unapplied payments
GET
/api/v1/customers/{id}/unappliedReturns the money this customer paid that was not applied to an invoice or subscription, as a balance per currency and the list of those payments, newest first.
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 customer's ID.
Format
uuidHeader 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/customers/497f6eca-6276-4993-bfeb-53cbbbba6f08/unapplied" \ -H "Authorization: Bearer <token>" \ -H "FlexMalipo-Version: 2026-11-06"{ "balances": { "TZS": 10000 }, "payments": [ { "paymentId": "5f0d2c3e-7a41-4c1e-9d55-0d6b1f1a2b3c", "amount": 10000, "currency": "TZS", "reason": "invoice_paid", "paidAt": "2019-08-24T14:15:22Z" } ]}