# Asynchronous Notification

This asynchronous notification is sent out to the `notify_url` of the original request whenever a refund transaction is confirmed as `SUCCESS` in our system.

> Refer to [asynchronous notification](../../development/async-notification-concept) for the introduction of its concept and its requirements.

## Request

### Parameters

| Name                   | Required | Type       | Description                                                                                         |
| ---------------------- | -------- | ---------- | --------------------------------------------------------------------------------------------------- |
| sign\_type             | Required | String(3)  | RSA                                                                                                 |
| sign                   | Required | String     | Signature value, refer to [signature document](../../development/signature)                         |
| oid\_partner           | Required | String(18) | The unique identification assigned to the merchant. E.g. 201304121000001004                         |
| no\_refund             | Required | String(32) | Refund No. in your system. It is recommended to set a different value from `no_order`               |
| dt\_refund             | Required | String(14) | Refund date. Format: yyyyMMddHHmmss, E.g. 20170801225714                                            |
| money\_refund          | Required | String(12) | The actual refund amount, in CNY.                                                                   |
| money\_foreign\_refund | Required | String(12) | The actual refund amount, which is `money_order` in original request                                |
| rate\_id               | Required | String     | The ID of rate                                                                                      |
| rate                   | Required | String     | The rate using in this request                                                                      |
| exchange\_bankcode     | Required | String     | The bank code of the bank where currency exchange occurs                                            |
| oid\_refundno          | Required | String(16) | Unique refund transaction No. in LianLian system                                                    |
| sta\_refund            | Required | String(1)  | <p>0, refund initialized <br> 1, refund processing <br> 2, refund success <br> 3, refund failed</p> |
| settle\_date           | Required | String(8)  | Format YYYYMMDD. Returns when refund is successful                                                  |

### Sample Request

```
curl ${notify_url} \
-H "Content-type: text/json;charset=utf-8" \
-d '{
        "ret_code":"0000",
        "ret_msg":"交易成功",
        "oid_partner":"201103171000000000",
        "no_refund":"2013051500001",
        "dt_refund":"20130515094018",
        "oid_refundno":"2013051613121201",
        "money_refund":"200.01",
        "money_foreign_refund":"30.03",
        "rate_id":"1",
        "rate":"6.66",
        "exchange_bankcode":"01040000",
        "sta_refund":"2",
        "settle_date":"20130627",
        "sign_type":"RSA", 
        "sign":"ZPZULntRpJwFmGNIVKwjLEF2Tze7bqs60rxQ22CqT5J1UlvGo575QK9z/+p+7E9cOoRoWzqR6xHZ6WVv3dloyGKDR0btvrdqPgUAoeaX/YOWzTh00vwcQ+HBtXE+vPTfAqjCTxiiSJEOY7ATCF1q7iP3sfQxhS0nDUug1LP3OLk="
    }'
```
