Retrieves a list of payment codes with support for filtering by mode, USSD code, and status.
Bearer authentication header of the form Bearer <token>
, where <token>
is your auth token.
The value is the tenancy parameter that Monime uses to determine which space the request is intended for.
64
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.
one_time
, recurrent
Filter by payment code status: 'pending' (not yet used), 'processing' (in use), 'expired' (duration elapsed), 'cancelled' (manually cancelled), or 'completed' (fulfilled as intended).
pending
, cancelled
, processing
, expired
, completed
Maximum number of items to return in a single page. Must be between 1 and 50. Defaults to 10 if not specified.
1 <= x <= 50
Pagination cursor for fetching the next page of results. Set this to the 'next' cursor value from a previous response to continue paginating forward.
2000
OK
The response is of type object
.