NewDash Dots are hereMini apps in Dash, with payments built inLearn more

Payment Code

List Payment Codes

Retrieves a list of payment codes with support for filtering by mode, USSD code, and status.

GET
/v1/payment-codes

Authorization

Authorizationstringheaderrequired

Bearer HTTP authentication specified with the header Authorization: Bearer <access_token>

Headers

Monime-Space-Idstringrequired

The value is the tenancy parameter that Monime uses to determine which space the request is intended for.

Match:^spc-.*$
Length:length <= 64
Monime-Versionstring | nulloptional

Specifies which version of the Monime API will handle this request.

Available options:caph.2025-08-23caph.2025-06-20

Query Parameters

ussd_codestring | nulloptional

Filter by the USSD code assigned to the payment code (if applicable).

modestring | nulloptional

Filter by usage mode: 'one_time' for single-use codes, or 'recurrent' for reusable ones.

Available options:one_timerecurrent
statusstring | nulloptional

Filter by payment code status: 'pending' (not yet used), 'processing' (in use), 'expired' (duration elapsed), 'cancelled' (manually cancelled), or 'completed' (fulfilled as intended).

Available options:pendingcancelledprocessingexpiredcompleted
limitintegeroptional

Maximum number of items to return in a single page. Must be between 1 and 50. Defaults to 10 if not specified.

Range:1 <= value <= 50
Default:10
afterstring | nulloptional

Pagination cursor for fetching the next page of results. Set this to the 'next' cursor value from a previous response to continue paginating forward.

Length:length <= 2000

Response

200 - application/json

OK

successbooleanoptional

Represents the status of the query operation, confirming if it was successful. This field is always true

messagesarray<unknown>optional

Contains a list of messages providing relevant information or feedback related to the query or operation

resultarray | nulloptional

The list of items in the response

paginationobjectoptional

The pagination info associated with the response