# 网关
接口接入域名地址(api_domian):https://www.airpayee.com
网关地址:{api_domain}/gateway/unify
# 请求方式
GET
# 参数
参数名 | 参数类型 | 必填 | 示例 | 描述 |
---|---|---|---|---|
method | string | Y | airpayee.pay.litepay | 请求接口的标识 |
mch_no | string | Y | 0001 | 聚合平台的商户编号 |
mch_order_id | string | Y | M20208031448 | 商户订单id |
body | string | Y | 小程序支付xxx | 商品概述,32个字符以内 |
amount | int | Y | 1 | 交易总金额,以分为单 |
pay_channel | string | Y | 1 | 支付渠道,1微信 2支付宝 3银联 |
pay_product | string | Y | pub | 支付产品,如 'scan','web','pub','lite','app','h5','qrcode' |
code | string | N | cdxwIREL | 小程序auth_code,和openid二选一 |
openid | string | N | oci**************uDZdK_xk | 微信的openId或支付宝的buyerId |
attach | string | Y | 备注 | 附加参数,平台将原样返回的信息 |
return_url | string | Y | http://pay-ituizhan.com/pay/return_url.php | 页面跳转同步通知页面url |
notify_url | string | Y | http://pay-lan.ituizhan.com/pay/callback.php | 服务器异步回调 url |
request_time | dateTime | Y | 2022-08-03 14:49:39 | 发起请求的时间 |
sign | string | Y | c6285a9c2c24fc49b4be7d51f9a808fe | 参数签名,详细请看“接口签名机制” |