Create Payment ID
POST
Use this API to generate a unique, permanent Payment ID that customers can dial (*203*paymentid#) to make payments directly to your wallet. The generated Payment ID is persistent and linked to your account. Specifying an amount is optional. Omitting it creates the Payment ID without a preset limit.
history
Request History
Your request history will appear here.
Headers
X-API-USER stringrequired
This is your Moolre username.
X-API-PUBKEY stringrequired
This is your Public API Key Generated from your Account.
Body Params
typerequired
ID of the function. Must be 2.
phonerequired
Phone number of the customer (e.g., +233240000002).
namerequired
Name of the Customer or a Unique ID.
currencyrequired
Currency of your account/wallet.
amount (Optional)
Optional preset amount. Omit to create the Payment ID without a limit.
externalrefrequired
Unique external reference for this request.
accountnumberrequired
Your Moolre Account Number.
Responses
RESPONSE BODY
statusinteger
codestring
messagestring
dataobject
terminalidstring
paymentidstring
namestring
qrcodestring
