ThinkChat🤖让你学习和工作更高效,注册即送10W Token,即刻开启你的AI之旅 广告
### 网关 &ensp;&ensp;&ensp;&ensp;&ensp;&ensp;&ensp;接口接入域名地址(api_domian):https://pay.youyi.io &ensp;&ensp;&ensp;&ensp;&ensp;&ensp;&ensp;网关地址:{api_domain}/web_api/gateway ~~~[api] POST:https://pay.youyi.io/web_api/gateway *string:method=接口名称#请求接口的标识:固定为shouqian.web.query *string:mch_no=商户编号#壹收银平台的商户编号 *string:our_order_id=聚合平台订单#聚合平台内部唯一订单id *string:request_time=发起时间#时间格式为 *string:sign=签名#’2017-05-07 12:30:34’ <<< success <<< error ~~~ 签名生成方法详见:[参数签名说明](https://www.kancloud.cn/book/cattong/youyisdk/preview/%E5%8F%82%E6%95%B0%E7%AD%BE%E5%90%8D%E8%AF%B4%E6%98%8E.md) <br/> <br/> ## ### 应答参数说明 | 参数名 | 类型 | 参数名称 | 是否必填 | 描述 | | --- | --- | --- | --- | --- | | is_success | bool | 成功标识 | Y | 是否成功的标识,true/false | | error_code | string | 错误码 | N | 仅is_success为false时出现 | | error_message | string | 错误描述 | N | 仅is_success为false时出现 | 当成功标识is_success 为true时,返回下列数据: | 参数名 | 类型 | 参数名称 | 是否必填 | 描述 | | --- | --- | --- | --- | --- | | our_order_id | string | 壹收银平台订单号 | Y | 壹收银平台内部唯一订单号 | | trade_order_id | string | 支付平台订单号 | Y | 支付通道交易凭证号 | | mch_no | string(24) | 商户编号 | Y | 壹收银平台的商户编号 | | mch_order_id | string(32) | 商户订单 | Y | 商户订单id | | status | string | 订单状态 | N | 订单状态:SUCCESS|FAIL | | body | string(64) | 商品概述 | Y | 商品概述,32个字符以内 | | fee | int | 交易总金额 | Y | 交易总金额, 以分为单位 | | pay_channel | int | 支付渠道 | Y | 1:微信;2:支付宝; | | open_id | string(64) | 支付平台open id | Y | 返回支付宝或微信的购买者的唯一标识码 | | return_url | string(256) | 回跳地址 | Y | 页面跳转同步通知页面url | | notify_url | string(256) | 通知地址 | Y | 服务器异步回调 url | | attach | string(128) | 附加参数 | Y | 附加参数,平台将原样返回的信息 | | sign | string(32) | 签名 | Y | 参数签名,详细请看“接口签名机制” |