List Payment Codes
Retrieves a list of payment codes with support for filtering by mode, USSD code, and status.
Request
- Base URLhttps://api.monime.io
- URLhttps://api.monime.io/v1/payment-codes
- AuthHTTP bearer
Query parameters
Filter by the USSD code assigned to the payment code (if applicable).
Filter by usage mode: 'one_time' for single-use codes, or 'recurrent' for reusable ones.
Filter by payment code status: 'pending' (not yet used), 'processing' (in use), 'expired' (duration elapsed), 'cancelled' (manually cancelled), or 'completed' (fulfilled as intended).
Maximum number of items to return in a single page. Must be between 1 and 50. Defaults to 10 if not specified.
Pagination cursor for fetching the next page of results. Set this to the 'next' cursor value from a previous response to continue paginating forward.
Headers
The value is the tenancy parameter that Monime uses to determine which space the request is intended for.
Specifies which version of the Monime API will handle this request.
Response
OK
Example response
{
"result": [
{
"name": "Home EDSA Meter Top-up",
"customer": {
"name": "Musa Kamara"
},
"authorizedProviders": [
"m17",
"m18"
],
"recurrentPaymentTarget": {
"expectedPaymentCount": 10
}
}
]
}Changes
No recorded changes to this operation across all 2 revisions of this API.