# 发起支付
*****
支付宝官方LOT指令接入指南文档
https://opendocs.alipay.com/mini/multi-platform/crtlbn
## 发送指令报文
```
{"target": "ix","content": {"hisBizNo": "123423","total": "0.01","method": "pay"}}
```
| 字段 | 说明 |
| --- | --- |
| target | 固定ix |
| content | 指令内容 |
| content->method | 固定值:pay |
| content->hisBizNo | HIS标识订单号 |
| content->total | 支付金额 单位:元 |
## 返回指令报文
```
{"content":{"code":100,"hisBizNo":"123423","msg":"付款成功","out_trade_no":"200811318574362938174","pay_type":"ali","status":1,"total":0.01,"transaction_id":"20200811120709060582","type":"pay"},"target":"ix"}
```
| 字段 | 说明 |
| --- | --- |
| target | 固定ix |
| content | 指令内容 |
| content->type | 指令类型: pay支付 order_query订单查询 close订单关闭 msg错误提醒 |
| content->hisBizNo | HIS标识订单号 指令发送中的 |
| content->total | 支付金额 单位:元|
| content->out_trade_no | 平台订单号 可使用当前单号查询支付结果 |
| content->transaction_id | 官方订单号 |
| content->pay_type | 支付类型 wx微信 ali支付宝 yl云闪付 |
| content->status | 支付状态 -1未支付或支付失败 0支付中 1支付成功 |
| content->code | 状态码 100成功 400失败 |
| content->msg | 支付提示 |