# 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                                                     |


---

# Agent Instructions: Querying This Documentation

If you need additional information that is not directly available in this page, you can query the documentation dynamically by asking a question.

Perform an HTTP GET request on the current page URL with the `ask` query parameter:

```
GET https://prepaidify.gitbook.io/docs/physical-card/api-integration/bank-card-top-up-order-query.md?ask=<question>
```

The question should be specific, self-contained, and written in natural language.
The response will contain a direct answer to the question and relevant excerpts and sources from the documentation.

Use this mechanism when the answer is not explicitly present in the current page, you need clarification or additional context, or you want to retrieve related documentation sections.
