Create Payment Code
Authorizations
Bearer HTTP authentication specified with the header Authorization: Bearer <access_token>
Headers
The value is the tenancy parameter that Monime used to determine which space the request is intended for.
100
This header is used to uniquely identify a request, ensuring that the operation is not performed more than once during retries.
64
Body
The name or intent indicating the purpose or use of the payment code.
1 - 100
"EDSA Office Top-up"
Specifies whether the payment code can be used only once or multiple times.
oneTime
, recurrent
Denotes whether the payment code is active.
The amount to be paid. If Mode is recurrent, and financial target sum is also set, this represents the amount to be paid for every instance of payment for this code.
The duration of the payment code, indicating how long the code will remain active before expiring.
"1h30m"
The customer this payment code is targeting.
The financial target for this payment code.
The list of MoMo provider IDs for which the payment code is allowed to be used.
["m17", "m18"]
The ID of the financial account where the amount is settled to. This default to the owner's Main financial account.'
The metadata for the payment code.
Was this page helpful?