v1
latestOpenAPI 3.0.32026-07-264414182.7 KBPayment Code
Create Payment Code
Creates a new payment code with the specified parameters for value collection and provider restrictions.
post/v1/payment-codes
Headers
Idempotency-Keystring required
This header is used to uniquely identify a logical request, ensuring that it is not processed more than once during retries.
This header is used to uniquely identify a logical request, ensuring that it is not processed more than once during retries.
Monime-Version'caph.2025-08-23' | 'caph.2025-06-20' nullable
Specifies which version of the Monime API will handle this request.
Specifies which version of the Monime API will handle this request.
Monime-Space-Idstring required
The value is the tenancy parameter that Monime uses to determine which space the request is intended for.
The value is the tenancy parameter that Monime uses to determine which space the request is intended for.
Request body
Example request
{
"name": "Home EDSA Meter Top-up",
"duration": "1h30m",
"customer": {
"name": "Musa Kamara"
},
"recurrentPaymentTarget": {
"expectedPaymentCount": 10
}
}Response
OK