Card
(payProduct=18)
最后更新于
(payProduct=18)
最后更新于
1、用户在商户网站/应用下单,并选择Card支付;
2、商户向Supefina发起Card支付请求;
3、Supefina返回Card支付URL地址;
4、商户将该地址在用户侧打开;
5、用户按照页面提示进行验证和支付;
6、用户支付成功;
7、Supefina将支付成功信息通知商户。
SandBox
POST
http://8.130.9.219:8899/api/supefina/transactions/payin
正式环境
POST
https://api.supefina.net/api/supefina/transactions/payin
Content-Type
application/json
countryId
String
是
currency
String
是
orderAmount
String
是
订单金额 单位比索,需要分可以传入小数,支持两位小数
merId
String
是
商户ID 商户ID获取路径:Supefina商户后台-商户管理-基本信息-商户ID
merOrderNo
String
是
商户订单号
nonceStr
String
是
随机字符串 长度不能超过32位
payProduct
String
是
checkOut
Boolean
是
收银台
true
:需要收银台
false
:不需要收银台
传true
returnUrl
Boolean
否
支付完成返回地址
callbackUrl
String
否
回调地址
productName
String
是
商品名称 最大50个字符
productQuantity
Integer
否
商品数量 范围[0,1000]
String
否
顾客邮箱 3-256个字符 电商行业必传
receiverAddressMain
String
否
收件地址,街道 0-50个字符 电商行业必传
receiverAddressExtra
String
否
收件地址,小区,门牌号 0-50个字符 电商行业必传
receiverCity
String
否
收件人城市 0-50个字符,可包括空格、连字符、撇号、逗号和点 电商行业必传
receiverProvince
String
否
receiverCountry
String
否
receiverZipCode
String
否
邮政编码 0-12个字母或数字 电商行业必传
receiverPhone
String
否
收件人电话 5-20个字符,区添加区号。如:+1 111111111 电商行业必传
alias
String
否
用户名 0-60个字符 游戏行业必传
newUser
Boolean
否
是否一个月内的用户 true:新用户 false:老用户 游戏行业必传
hasDispute
Boolean
否
是否有过历史争议,包含以下任一条: 1、利用作弊工具、游戏漏洞等进行不正当行为; 2、骚扰其他玩家、进行恶意行为或破坏游戏体验的行为; 3、玩家有不当言论、违反游戏规则、频繁被举报; true:有过 false:没有 游戏行业必传
hasRefund
Boolean
否
是否有过退款 true:有过 false:没有 游戏行业必传
hasSingedLong
Boolean
否
注册时间是否超过三个月 true:超过 false:未超过 游戏行业必传
sign
String
是
customerName
String
是
用户名字
description
String
是
描述
不能带特殊符号,长度不超过200字符
code
String
data
Object
响应数据
amount
BigDecimal
订单金额
currency
String
merCode
String
商户ID
merOrderNo
String
商户订单号
url
String
交易链接
msg
String
响应信息
提交方式:POST
amount
String
订单金额
countryId
String
fee
String
预收手续费
identifier
String
付款参考
merId
String
商户ID
merOrderId
String
商户订单号
nonceStr
String
随机字符串 长度不能超过32位
realityAmount
String
实收金额
realityFee
String
实收手续费
reference
String
标识符
sign
String
签名
status
String
supefinaOrderId
String
supefina订单号
transactionType
String
交易类型
01
:代收
02
:代付
回调通知响应
商户成功收到回调后需同步返回指定字符串:SUCCESS 不返回或返回其他内容默认通知失败 如:
测试环境提供了完整的支付功能,但它只是模拟处理,没有实际的银行交易。
可以使用以下信用卡信息来测试付款。
4000000000000085
3-D secure version 2, challenge flow, full authentication
Payment has CONFIRMED status
4580000000000059
3-D secure version 2, frictionless flow, attempt
Payment has CONFIRMED status
4000000000000093
3-D secure version 2, frictionless flow, success
Payment has CONFIRMED status
Mastercard
5100000000000065
3-D secure version 2, challenge flow, full authentication
Payment has CONFIRMED status
2400000000000069
3-D secure version 2, frictionless flow, attempt
Payment has CONFIRMED status
5100000000000073
3-D secure version 2, frictionless flow, success
Payment has CONFIRMED status
Maestro
5000000000000025
3-D secure version 2, challenge flow, full authentication
Payment has CONFIRMED status
5000000000000033
3-D secure version 2, frictionless flow, success
Payment has CONFIRMED status
5666666666666955
3-D secure version 2, challenge flow, full authentication
Payment has DECLINED status
Discover
6500000000000895
3-D secure version 2, challenge flow, full authentication
Payment has CONFIRMED status
6500000000000069
3-D secure version 2, frictionless flow, attempt
Payment has CONFIRMED status
6011000000000053
3-D secure version 2, frictionless flow, success
Payment has CONFIRMED status
JCB
3528000000000015
3-D secure version 2, challenge flow, full authentication
Payment has CONFIRMED status
3528000000000023
3-D secure version 2, frictionless flow, success
Payment has CONFIRMED status
3528000000000049
3-D secure version 2, frictionless flow, attempt
Payment has CONFIRMED status
UnionPay
6222020000000085
3-D secure version 2, challenge flow, full authentication
Payment has CONFIRMED status
8171000000000000079
3-D secure version 2, frictionless flow, attempt
Payment has CONFIRMED status
6200000000000053
3-D secure version 2, frictionless flow, success
Payment has CONFIRMED status
Amex
370000000000085
3-D secure version 2, challenge flow, full authentication
Payment has CONFIRMED status
340000000000033
3-D secure version 2, frictionless flow, success
Payment has CONFIRMED status
340000000000009
3-D secure version 2, frictionless flow, attempt
Payment has CONFIRMED status
在测试过程中,商户使用任意持卡人姓名、有效期和安全码与这些卡信息进行支付。为了完成认证,3-DS安全认证也通过一个页面模拟,该页面只显示两个按钮,一个按钮用于成功认证,另一个按钮用于认证失败。请注意,当商户选择认证失败时,无论使用了哪个PAN,支付总是会被拒绝。
如果测试过程中,遇到了异常状态码,请直接联系Supefina运营人员处理。
国家编号
参照:
墨西哥:MEX
币种
参照:
墨西哥比索:MXN
Card:18
详见
收件人所在省 0-40个字符 参数: 例:NY 电商行业必传
收件人国家 参照: 例:BRA 电商行业必传
签名
响应编码 具体参照:
币种
参照:
墨西哥比索:MXN
国家编号
参照:
墨西哥:MEX
具体参照: