签名规则及示例

签名规则

代收————————

注:重要!!!

代收回调,根据玩家实际付款金额回调,请做好相应处理!!

1.代收下单

接口地址:

/pay

请求参数

字段 类型 描述 是否必填
merchant_code String 商户号
country_code String 国家编码(见国家编码
order_no String 商户订单号
order_amount String 订单金额(整数不带小数)
pay_type String 支付类型(见支付类型
notify_url String 回调地址
return_url String 支付成功后跳转的地址

成功响应

字段 类型 描述
code String 响应码: 0为请求成功,其它为请求失败
message String 响应信息
status Boolean true代表请求成功,false代表请求失败
order_no String 商户订单号
plat_order_no String 平台订单号
merchant_code String 商户号
country_code String 国家代码
pay_type String 通道类型
order_amount String 订单金额
mc_order_change_fee String 商户订单费率手续费(按照费率计算)
mc_order_single_fee String 商户订单单笔手续费
pay_url String 支付链接

代收支付类型

类型 描述
bkash bkash agent钱包
nagad nagad agent钱包
bkash-native 原生bkash
bkash-merchant bkash merchant钱包
bkash-send-money bkash个户

2.代收查单

接口地址:

/queryPayOrder

请求参数

字段 类型 描述 是否必填
merchant_code String 商户号
country_code String 国家编码(见国家编码
order_no String 商户订单号

成功响应

字段 类型 描述
code String 响应码: 0为请求成功,其它为请求失败
message String 响应信息
status Boolean true代表请求成功,false代表请求失败
order_no String 商户订单号
plat_order_no String 平台订单号
merchant_code String 商户号
country_code String 国家代码
pay_type String 通道类型
order_amount String 实际支付金额(注意:请将此字段中的金额视为最终金额;系统也将使用该金额进行结算。)
origin_order_amount String 订单初始金额
mc_order_change_fee String 商户订单费率手续费(按照费率计算)
mc_order_single_fee String 商户订单单笔手续费
order_status String 订单状态(见订单状态描述
sign String 签名

3.代收回调

回调将会以POST请求的方式,发送JSON数据,格式如下