接入方式:


方式一(推荐):贵方发送post给我方来获取支付二维码,玩家支付后,由我平台发送回调数据给贵方接收并处理充值

方式二:贵方发送post给我方来获取支付二维码,玩家支付后,由我平台处理充值

区别:方式二需要开放数据库给我方,而方式一则不用。有开发能力的,建议用方式一。

接入流程

首次开户费1000元(或免费,区别请咨询)
交易手续费2%

回调数据(方式一需要)

支付成功后,我方服务器将以POST表单(application/x-www-form-urlencoded)方式请求设置的回调地址。 贵方接收到回调请求,必须做出应答;如果没有回复,我方服务器将会不断重发(防止丢单),最多通知16次。

回调应答:

在收到回调通知时需要进行应答反馈,如果收到回调并处理成功,请返回successSUCCESS(String类型,不区分大小写)

回调示例:data={"attach":"","buyer_pay_amount":0.01,"cashier_id":0,"channel_order_sn":"4200001222202111155066666","device_no":"0","fee":0.00,"finish_time":"202111166666","ins_order_sn":"100065497666669","is_can_part_refund":1,"merchant_order_sn":"6666000000050","net_amount":0.01,"order_sn":"2021111516666666666","order_status":"SUCCESS","pay_type":"wxpay","payment_list":[{"amount":0.00,"type":"FUBEI_DISCOUNT"},{"amount":0,"type":"CHANNEL_PRE"},{"amount":0,"type":"CHANNEL_DISCCOUNT"}],"store_id":666666,"total_amount":0.01,"user_id":"oRQr9vcccccccccccccKc"}&result_message=成功&sign=C84FEE882653686BAC4B5DDAE211A2BE&result_code=200

以下是回调业务参数data的字段说明:

参数类型必填最大长度描述
order_snString32订单号
merchant_order_snString32外部系统订单号
ins_order_snString32机构订单号(显示在微信/支付宝支付凭证的订单号)
channel_order_snString32通道订单号,微信订单号、支付宝订单号等
order_statusString16订单状态:SUCCESS--支付成功
pay_typeString10支付方式,wxpay 微信,alipay 支付宝,unionpay 银联, bankcardpay 银行卡
total_amountFloat10订单金额,精确到0.01
net_amountFloat10实收金额,精确到0.01
buyer_pay_amountFloat10买家实际支付金额,精确到0.01
feeFloat10手续费,精确到0.01
uidInteger11商户id 同merchant_id
store_idInteger10商户门店号
cashier_idInteger10收银员ID
user_idString32付款用户id,“微信openid”、“支付宝账户”、银联支付没有该字段
finish_timeString14支付完成时间,格式为yyyyMMddHHmmss
device_noString32终端号
attachString128游戏帐号
payment_listJsonString-活动优惠列表
alipay_extend_paramsJSON-花呗分期
is_can_part_refundint1是否支持部分退款1 支持 0 不支持
bank_namestring255发卡行,刷卡交易时返回
card_idstring255银行卡号,刷卡交易时返回
card_typestring255卡类型,刷卡交易时返回0-借记卡;1-贷记卡
batch_nostring255刷卡交易批次号
flow_idstring255刷卡交易凭证号
reference_numberstring255刷卡交易参考号
authorize_codestring255刷卡交易授权码,只有银行卡预授权交易才返回
第几次重试与上次重试的时间间隔
110秒
230秒
31分钟
42分钟
53分钟
64分钟
75分钟
86分钟
97分钟
108分钟
119分钟
1210分钟
1320分钟
1430分钟
151小时
162小时