List Payment ID Transactions
POST
Retrieve a Payment ID account summary and its transactions using the external reference supplied when creating the Payment ID and your Moolre account number. Send type 2 for this lookup. Transactions are returned as an array.
history
Request History
Your request history will appear here.
Headers
X-API-USER stringrequired
Your Moolre username.
X-API-PUBKEY stringrequired
Your Public API Key.
Body Params
typeintegerrequired
Must be 2 to retrieve Payment ID transactions.
externalrefstringrequired
External reference used when creating the Payment ID.
accountnumberstringrequired
Your Moolre Account Number.
Responses
The Payment ID was found. The response includes its account summary and a transactions array.
RESPONSE BODY
statusinteger
1 for a successful lookup.
codestring
AC01 when the Payment ID is found.
messagestring
Payment ID / Bank Account Found.
dataobject
accountobject
Payment ID account summary.
accountnostring
Account identifier returned for the Payment ID.
txcountstring
Transaction count reported by the API.
txvaluestring
Transaction value reported by the API.
transactionsarray
Transaction records for the Payment ID.
txstatusinteger
Transaction status returned by the API.
txtypeinteger
Transaction type returned by the API.
accountnumberstring
Moolre account number associated with the transaction.
payerstring
Payer identifier.
payeestring
Payee name or identifier.
amountstring
Transaction amount.
valuestring
Transaction value.
feestring
Transaction fee.
networkfeestring
Network fee.
transactionidstring
Moolre transaction ID.
externalrefstring
External reference associated with the transaction.
thirdpartyrefstring
Third-party transaction reference.
tsstring
Transaction timestamp in YYYY-MM-DD HH:mm:ss format.
gonull
Navigation hint.
The lookup completed successfully, but no matching Payment ID was found. The account is null and transactions is an empty array.
RESPONSE BODY
statusinteger
1 for a completed lookup request.
codestring
AC03 when no matching Payment ID is found.
messagestring
Payment ID / Bank Account Not Found.
dataobject
accountnull
No matching Payment ID was found.
transactionsarray
Empty array when no matching Payment ID is found.
gonull
Navigation hint.
