Payment Status
POST
This endpoint checks the final status of a previously initiated mobile-money payment collection. Use Payment ID / Bank Account Status for type 2 account lookups.
lightbulb
Public API Key Usage
Public API Key can also be used to check the status of a transaction.
dangerous
Do not Assume Transfer Failure
Never assume a transfer has failed unless the transfer response or status check response txstatus indicates failure with a value of 2.
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 1.
idtyperequired
Which kind of id you send in id.
1externalref: the unique reference you sent.2Moolre ID: the transaction ID Moolre generated.
idrequired
The externalref or Moolre ID to be checked.
accountnumberrequired
Your Moolre Account Number.
Responses
RESPONSE BODY
statusinteger
codestring
messagestring
dataobject
txstatusinteger
Status of the payment.
0Pending1Successful2Failed3Not found: no transaction matches this id (SS07).
transactionidstring
externalrefstring
tsstring
