# 退款

{% openapi src="/files/PClHJrVdvZlHYtVpxOuK" path="/openApi/V2022-03/refund" method="post" %}
[openApi\_sign\_book.json](https://1129616527-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FMb9UzyxGUyxHylm4UJSJ%2Fuploads%2Fmb4kbdEp0o8kz7esQkmQ%2FopenApi_sign_book.json?alt=media\&token=3d1b62b9-c3c0-41ab-b34d-d679df782126)
{% endopenapi %}

### 退款申请接口请求报文示例

{% code title="applyRefund.sh" %}

```
curl --request POST \
  --url https://{openApiUrl}/openApi/V2022-03/refund \
  --header 'Content-Type: application/json' \
  --header 'request-id: 58675' \
  --header 'request-time: 1651888520935' \
  --header 'gateway-no: 12345001' \
  --header 'sign-info: 787966BF2479A1BE8E1886CD18E6919447FAF4F357E7056188D4F035661B822B' \
  --data '{
    "merTrackNo": "7313961647432084782",
    "refundAmount": "0.01",
    "refundReason": "0.01",
    "refundType": "2",
    "remark": "remark",
    "tradeNo": "2022051812003332818907"
}'
```

{% endcode %}

{% openapi src="/files/PClHJrVdvZlHYtVpxOuK" path="/openApi/V2022-03/refund/{batchNo}" method="get" %}
[openApi\_sign\_book.json](https://1129616527-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FMb9UzyxGUyxHylm4UJSJ%2Fuploads%2Fmb4kbdEp0o8kz7esQkmQ%2FopenApi_sign_book.json?alt=media\&token=3d1b62b9-c3c0-41ab-b34d-d679df782126)
{% endopenapi %}

### 退款查询请求报文示例

{% code title="refund.sh" %}

```
curl --request GET\
  --url https://{openApiUrl}/openApi/V2022-03/refund/442011 \
  --header 'request-id: 58675' \
  --header 'request-time: 1651888520935' \
  --header 'gateway-no: 12345001' \
  --header 'sign-info: 787966BF2479A1BE8E1886CD18E6919447FAF4F357E7056188D4F035661B822B' \
```

{% endcode %}

#### **结果对象属性描述**

| property name     | type   | description                                                  |
| ----------------- | ------ | ------------------------------------------------------------ |
| code              | String | 响应码                                                          |
| message           | String | 响应信息                                                         |
| data              | Object | 数据对象                                                         |
| batchNo           | String | 退款编号，唯一                                                      |
| refundDescription | String | 退款描述                                                         |
| refundReason      | String | 退款原因                                                         |
| refundStatus      | String | <p>退款状态</p><p>pending：待处理</p><p>success：成功</p><p>fail：失败</p> |
| tradeNo           | String | 交易流水号                                                        |


---

# 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://asiabill.gitbook.io/api-explorer/api-reference/tui-kuan.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.
