# 订单退款
*****
发送指令
```
{"target": "ix","content": {"out_trade_no": "201125459815105380278","total": "0.01","method": "order_refund"}}
```
| 字段 | 说明 |
| --- | --- |
| target | 固定ix |
| content | 指令内容 |
| content->method | 固定值:order_refund |
| content->out_trade_no | 交易订单号 |
| content->total | 退款金额 单位:元 |
## 返回指令报文
```
{"content":{"code":100,"msg":"退款成功","out_trade_no":"201125450885796997655","refund_oid":"T201125459665805509549","refund_time":"2020-11-25 16:07:36","refund_total":0.02,"status":1,"type":"order_refund"},"target":"ix"}
```
| 字段 | 说明 |
| --- | --- |
| target | 固定ix |
| content | 指令内容 |
| content->type | 指令类型: pay支付 order_query订单查询 close订单关闭 msg错误提醒 order_refund退款类型 |
| content->out_trade_no | 原支付订单号 |
| content->refund_total | 退款金额 单位:元|
| content->refund_time | 退款时间 |
| content->refund_oid | 退款订单号 |
| content->status | 状态 1退款成功 |
| content->code | 状态码 100成功 400失败 |
| content->msg | 支付提示 |