# Payment Status API

Check status of a payment.

## Endpoint
`POST https://api.moolre.com/open/transact/status`

## Headers
| Name | Type | Required | Description |
| :--- | :--- | :--- | :--- |
| X-API-USER | string | Yes | Username |
| X-API-PUBKEY | string | Yes | Public Key |

## Request Parameters
| Name | Type | Required | Description |
| :--- | :--- | :--- | :--- |
| type | integer | Yes | Must be 1. |
| idtype | string | Yes | transactionid or externalref |
| id | string | Yes | ID value. |

## Responses
### 200 - Success
Status returned.

```json
{
  "status": 1,
  "code": "SS01",
  "data": {
    "txstatus": 1
  }
}
```

