Transfiya
(payProduct=08)
请求地址
SandBox
POST
https://api.supefina.tech/api/supefina/transactions/payout
正式环境
POST
https://api.supefina.net/api/supefina/transactions/payout
请求方式
请求头
Content-Type
application/json
请求体
orderAmount
String
是
订单金额
3,000<= orderAmount
<= 3,000,000,不支持小数
merId
String
是
商户ID 商户ID获取路径:Supefina商户后台-商户管理-基本信息-商户ID
merOrderNo
String
是
商户订单号
customerName
String
是
用户名字
首尾不得包含空格,但姓名之间可以有空格
customerAddress
String
否
用户地址
customerIdentification
String
是
用户证件号
00
:身份证(CC/TI)--最多10位
01
:外国人身份证(CE)--6位
nonceStr
String
是
随机字符串 长度不能超过32位
customerEmail
String
否
用户邮箱
lastName
String
否
用户姓氏
customerPhone
String
否
用户电话
customerIdentificationType
String
是
用户证件号类型
00
:身份证(CC/TI)
01
:外国人身份证(CE)
02
:税号
03
:护照
06
:其他
07
:公民身份证明
08
:居留许可证
accountType
String
是
账户类型
05
:PHONE
account
String
是
收款方账户号。 代付发起后,用户需在12小时内前往目的地APP进行确认,否则资金将会原路退回并回调交易失败。
requestData
JSONObject
否
交易额外参数 此字段为json对象,不需要可以不传或者传“null”
请求示例
{
"account": "3234517213",
"accountType": "05",
"bankName": "NEQUI",
"callbackUrl": "https://www.3spicy.bet/api/pay_notice/out_payback/payId/5739B8C9398C4B5494A355B16D0F154C",
"countryId": "COL",
"currency": "COP",
"customerAddress": "EZzpXldfRI",
"customerEmail": "[email protected]",
"customerIdentification": "45550444",
"customerIdentificationType": "00",
"customerName": "soraya",
"customerPhone": "3234517213",
"lastName": "cc",
"merId": "8301066506090055",
"merOrderNo": "W202406162339371529M",
"nonceStr": "14CF9D011E9B4627B69E06264824DC79",
"orderAmount": "190000",
"payProduct": "08",
"sign": "2837C181EABFBF7D7189D02E80715A20"
}
响应参数
data
Object
响应数据
amount
BigDecimal
订单金额
fee
BigDecimal
预收手续费
merCode
String
商户ID
merOrderNo
String
商户订单号
supefinaOrderNo
String
supefina订单号
transactionStatus
String
下单状态
该笔订单的的发起状态是否成功,与订单真正的交易状态无关。
00
:下单成功
04
:下单失败
msg
String
响应信息
响应示例
{
"code": "200",
"data": {
"amount": 105.00,
"fee": 3.00,
"merCode": "8202157333970291",
"merOrderNo": "8485233309941743872",
"supefinaOrderNo": "2024052001860105b0fae306a6e43",
"transactionStatus": "00"
},
"msg": "success "
}
回调通知
提交方式:POST
amount
String
订单金额
countryId
String
国家编号 参照:字典表-国家编号 哥伦比亚,COL
customerName
String
收款人姓名
fee
String
预收手续费
identifier
String
付款参考 Clabe
merId
String
商户ID
merOrderId
String
商户订单号
msg
String
消息
nonceStr
String
随机字符串 长度不能超过32位
realityAmount
String
实收金额
realityFee
String
实收手续费
sign
String
签名
successTime
String
交易成功时间
supefinaOrderId
String
supefina订单号
transactionType
String
交易类型
01
:代收
02
:代付
回调通知示例
{
"amount": "48250.00",
"countryId": "COL",
"customerName": "Fredi",
"fee": "6627.25",
"identifier": "706180968985601627",
"merId": "8301409897370054",
"merOrderId": "W20240617160938365CL",
"msg": "null",
"nonceStr": "26f919f0-f50a-45a2-b5f0-aa3901",
"realityAmount": "48250.00",
"realityFee": "6627.25",
"sign": "FB19534FAD9FF7176CB809F9696BA565",
"status": "01",
"successTime": 1718657547294,
"supefinaOrderId": "2024061700020017d60360e7ac647",
"transactionType": "02"
}
回调通知响应
商户成功收到回调后需同步返回指定字符串:SUCCESS 不返回或返回其他内容默认通知失败 如:
public String test(){
return "SUCCESS";
}
最后更新于