Skip to content

Transfer Status

POST
/open/transact/status

This endpoint allows you to check the final 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-KEY stringrequired

This is your API Key (accepts both Public Key and Private Key).

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 transfer.
  • 0Pending
  • 1Successful
  • 2Failed
  • 3Not found: no transaction matches this id (SS07).
transactionidstring
externalrefstring
tsstring
The transaction with the specified ID was not found.

Language

curl --request POST \     --url 'https://api.moolre.com/open/transact/status' \     --header 'X-API-USER: Your Username' \     --header 'X-API-KEY: YOUR_API_KEY' \     --header 'Content-Type: application/json' \     --data '{  "type": 1,  "idtype": "1",  "id": "",  "accountnumber": ""}'

Response

Body

{  "status": 1,  "code": "SS01",  "message": "Transaction Successful",  "data": {    "txstatus": 1,    "txtype": 2,    "accountnumber": "100000100002",    "payer": "",    "payee": "0240000007",    "amount": "5",    "value": "5",    "transactionid": "31830714",    "externalref": "1231231-12985",    "thirdpartyref": "141704447750",    "ts": "2024-01-05 09:42:33"  },  "go": null,  "meta": {    "requestid": "req_c68f4c66115c26725c796242",    "notices": []  }}