签名规则及示例

签名规则

代收金额限制:不支持整数充值,仅支持 USD 4.99--499.99 范围内小数位为 .99 的金额。例如:

4.99 5.99 6.99 7.99 8.99 9.99 10.99 11.99 12.99 13.99 14.99 17.99 19.99 24.99 29.99 30.99 39.99 49.99 59.99 99.99 124.99 129.99 149.99 199.99 249.99 299.99 399.99 499.99

代收————————

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 支付链接

代收支付类型

类型 描述
cashapp Cash App 电子钱包支付
chime Chime
bankcard 银行卡、信用卡
paypal PayPal 账户支付
applepay Apple Pay 移动支付
googlepay Google Pay 移动支付
ach 银行账户 ACH 转账

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 订单金额
mc_order_change_fee String 商户订单费率手续费(按照费率计算)
mc_order_single_fee String 商户订单单笔手续费
order_status String 订单状态(见订单状态描述
sign String 签名

3.代收回调

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