# Bank Card Top-up Order Query

### POST Bank Card Top-up Order Query

POST /api/mastercard/topupOrderQuery.html

Bank card top-up order query

> Request Body

```
```

```json
{
  "orderNo": "12345678901",
  "randomStr": "abcdef12345saas67890"
}
```

#### Request Parameters

| Name      | Type   | Required | Base64 Encoding | Field Name   | Description                      |
| --------- | ------ | -------- | --------------- | ------------ | -------------------------------- |
| orderNo   | string | true     | none            | Order number | Top-up order number              |
| randomStr | string | true     | none            | Randomstr    | A random string of 32 characters |

> Example Response
>
> 200 Response

```
```

```json
{
    "topupStatus": 0,
    "errMsg": "string",
    "payAccountNum": "string",
    "cardNo": "string",
    "cardId": "string",
    "orderNo": "string",
    "tradeId": "string",
    "relatedId": "string",
    "currency": "string",
    "amount": 0,
    "fee": 0
}
```

#### Response Fields

| Name          | Type    | Required | Constraints | Description                                             |
| ------------- | ------- | -------- | ----------- | ------------------------------------------------------- |
| topupStatus   | integer | true     | none        | Top-up status: 1 - Success, 2 - Failure, 3 - Processing |
| errMsg        | string  | true     | none        | Status description                                      |
| payAccountNum | string  | true     | none        | Payment account number                                  |
| cardNo        | string  | true     | none        | Card number                                             |
| cardId        | string  | true     | none        | Card token                                              |
| orderNo       | string  | True     | None        | Order number                                            |
| tradeId       | string  | True     | None        | Transaction ID                                          |
| relatedId     | string  | True     | None        | Related transaction ID                                  |
| currency      | string  | True     | None        | Top-up currency                                         |
| amount        | integer | True     | None        | Top-up amount                                           |
| fee           | integer | True     | None        | Fee                                                     |
