文档
测试

发送短信

POST
http://d4bsnu.natappfree.cc/app/quickCollection/alipay/sendMsg

请求参数

参数名
类型
描述
必填
user_id
string
当期登录用户id 示例:2ee4651dc6b64041bbf3469bcd94d5e4
必填
collection_amount
int
收款金额 示例:100
必填
settlement_card_id
string
结算卡id 示例:17b1713124c04952b958175cac0392b1
必填
channel_id
string
通道id 示例:607766564d9c42ddba6d0bc4e50b3f3b
必填
device_sn
string
设备标识 示例:ewrwrdsfasdf
必填
device_type
int
设备类型 1手机 2平板 示例:1
必填
device_location
string
地理位置 示例:+37.12/-21.33
必填
open_id
string
支付宝用户id 静默授权获取 示例:test231321
必填
sign
string
请求接口签名 示例:726168a672bddf7cf56761ef51628090
必填

响应参数

参数名
类型
描述
必填
code
int
示例:1
必填
errors
object
数据字典
必填
msg
string
示例:短信发送成功
必填
result
object
数据字典
必填
aliTradeNo
object
支付宝订单号 示例:null
必填
order_no
string
订单号 示例:202207240028181658593698006
必填
chSerialNo
string
上游交易号 示例:20220724002817605714
必填
is_need_sms_code
int
是否需要短信 提交接口使用 如果为0 则webview加载pay_url 示例:0
必填
pay_url
string
支付webview H5地址 示例:https://qr.alipay.com/bax05168uelxolatmkhx00f8
必填

说明 / 示例

{ "code": 1, "errors": { }, "msg": "短信发送成功", "result": { "aliTradeNo": null, "order_no": "202207240028181658593698006", "chSerialNo": "20220724002817605714", "is_need_sms_code": 0, "pay_url": "https://qr.alipay.com/bax05168uelxolatmkhx00f8" } }