# Payment ID / Bank Account Status API

Check whether a Payment ID or bank account has been found and retrieve its account and transaction details.

## 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 for Payment ID / Bank Account Status. |
| externalref | string | Yes | The external reference used when initiating the Payment ID or bank account transaction. |
| accountnumber | string | Yes | Your Moolre Account Number. |

## Response (200 (Found) Found)
Payment ID or bank account details were found.

```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)
No matching Payment ID or bank account was found.

```json
{
  "status": 1,
  "code": "AC03",
  "message": "Payment ID / Bank Account Not Found",
  "data": {
    "account": null,
    "transactions": null,
    "go": null
  }
}
```
