List Bank Account Transactions API
Environment: Sandbox
Retrieve a bank account summary and transaction records as an array using type 2 and an external reference.
# List Bank Account Transactions API
Retrieve a bank account summary and its transactions using the account's external reference and your Moolre account number. Send type 2 for this lookup. Transactions are returned as an array.
## Endpoint
- **Method**: POST
- **URL**: https://sandbox.moolre.com/open/transact/status
## Headers
| Header | Type | Required | Description |
| :--- | :--- | :--- | :--- |
| X-API-USER | string | Yes | Your Moolre username. |
| X-API-PUBKEY | string | Yes | Your Public API Key. |
## Request Body
| Parameter | Type | Required | Description |
| :--- | :--- | :--- | :--- |
| type | integer | Yes | Must be 2 to retrieve bank account transactions. |
| externalref | string | Yes | External reference used when creating the bank account. |
| accountnumber | string | Yes | Your Moolre Account Number. |
## Response (200 (Found) Found)
The bank account was found. The response includes its summary and a transactions array.
```json
{
"status": 1,
"code": "AC01",
"message": "Payment ID / Bank Account Found",
"data": {
"account": {
"accountno": "0052030001001",
"txcount": "1",
"txvalue": "4.60"
},
"transactions": [
{
"txstatus": 1,
"txtype": 1,
"accountnumber": "100000100002",
"payer": "9040013020315",
"payee": "Zagey",
"amount": "5.00",
"value": "4.60",
"fee": "0.40",
"networkfee": "0.00",
"transactionid": "51531630",
"externalref": "ur12ef001",
"thirdpartyref": "2625201512860000",
"ts": "2026-09-09 14:20:41"
}
],
"go": null
}
}
```
## Response (200 (Not Found) Not Found)
The lookup completed successfully, but no matching account was found. The account is null and transactions is an empty array.
```json
{
"status": 1,
"code": "AC03",
"message": "Payment ID / Bank Account Not Found",
"data": {
"account": null,
"transactions": [],
"go": null
}
}
```