List Bank Accounts API

Environment: Sandbox

List bank account records linked to a Moolre account using type 3.

# List Bank Accounts API

List the bank accounts linked to your Moolre account. Send type 3 with your Moolre account number to retrieve the account count and bank account records.

## 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 3 to list bank accounts. |
| accountnumber | string | Yes | Your Moolre Account Number. |

## Response (200 Success)
Bank account records returned successfully.

```json
{
  "status": 1,
  "code": "AC01",
  "message": "Success",
  "data": {
    "txcount": 4,
    "accounts": [
      {
        "accountno": "0077440001001",
        "accountname": "Zagey MLR",
        "bankname": "",
        "extid": "",
        "ts": "2026-09-18 07:13:34"
      },
      {
        "accountno": "0052080001001",
        "accountname": "Kofi Adeniyi2 MLR",
        "bankname": "",
        "extid": "ur12ef0012",
        "ts": "2026-09-09 11:52:56"
      },
      {
        "accountno": "0052030001001",
        "accountname": "Kofi Adeniyi2 MLR",
        "bankname": "",
        "extid": "ur12ef001",
        "ts": "2026-09-09 10:10:37"
      },
      {
        "accountno": "0014760001001",
        "accountname": "Kofi Adeniyi3 MoolrePay-2",
        "bankname": "",
        "extid": "",
        "ts": "2026-06-15 10:58:02"
      }
    ],
    "go": null
  },
  "meta": {
    "requestid": "req_c68f4c66115c26725c796242",
    "notices": []
  }
}
```


## Fields every response can carry

These fields are additive: existing fields keep their names, order and types.

| Field | Meaning |
| :--- | :--- |
| error | On a failure: { code, message, fields: [{ field, code, message }] } listing every failing field. |
| meta | Always present, last in the object. meta.replayed is true only when the response is the stored answer to a repeated Idempotency-Key (absent otherwise). meta.requestid is the unique id of the request (also the X-Request-Id response header): quote it when you contact support. meta.notices is always an array, empty when there is nothing to report; each notice is { code, message, docs? }, for example that a deprecated way of sending credentials was used. See [Deprecations](https://docs.moolre.com/guides/deprecations). |

There is no outcome field. Decide the result from status, code and, on payment and transfer endpoints, data.txstatus (0 pending, 1 succeeded, 2 failed). These codes mean the result is unknown and may still succeed, so treat them as pending and check the status: PY01, PY02, TR01, TR02, TP11, TP18, APY10, APY16, ASL06, SYS500. Status 1 with TR08, OBGH01, OTGH01, OBNG01, GHQ03 or OM03 is final success; any other status 1 is an accepted, unfinished request.

Send X-Moolre-Http-Status: strict to receive real HTTP status codes (400, 401, 403, 404, 409, 422, 429, 5xx) instead of HTTP 200. See [Responses and request IDs](https://docs.moolre.com/guides/responses).

Back to the Moolre AI documentation index