Transfer

(payProduct=12)

请求地址

环境名称
URL

SandBox

POST https://api.supefina.tech/api/supefina/transactions/payout

正式环境

POST https://api.supefina.net/api/supefina/transactions/payout

请求方式

请求头

Key
Value

Content-Type

application/json

请求体

变量名
类型
必填
描述

countryId

String

国家编号 参照:字典表-国家编号 哥伦比亚,COL

orderAmount

String

订单金额 3,000 <= orderAmount <= 3,000,000,不支持小数

payProduct

String

支付类型 Transfer:12

merId

String

商户ID 商户ID获取路径:Supefina商户后台-商户管理-基本信息-商户ID

currency

String

币种 参照:字典表-货币 哥伦比亚比索:COP

merOrderNo

String

商户订单号

customerName

String

用户名字

首尾不得包含空格,但姓名之间可以有空格

customerAddress

String

用户地址

customerIdentification

String

用户证件号

00:身份证(CC/TI)--最多10位 01:外国人身份证(CE)--6位

sign

String

nonceStr

String

随机字符串 长度不能超过32位

customerEmail

String

用户邮箱

lastName

String

用户姓氏

customerPhone

String

用户电话

不含区号的10位数字

  • 3005102545

customerIdentificationType

String

用户证件号类型

00:身份证(CC/TI) 01:外国人身份证(CE) 02:税号 03:护照 06:其他 07:公民身份证明 08:居留许可证

accountType

Strin

账户类型 00:活期账户 01:储蓄账户

account

String

收款方账户号

bankId

String

银行编码 具体参照:哥伦比亚银行列表

bankName

String

银行名称 具体参照:哥伦比亚银行列表

callbackUrl

String

回调地址

详见通知回调说明

requestData

JSONObject

交易额外参数 此字段为json对象,不需要可以不传或者传“null”

description

String

描述

不能带特殊符号,长度不超过200字符

请求示例

{
    "account": "3011268353",
    "accountType": "01",
    "bankId": "27",
    "bankName": "BANCOLOMBIA",
    "callbackUrl": "https://api.datasvc.link/data-service//api/skip/co/supefina/cb",
    "countryId": "COL",
    "currency": "COP",
    "customerAddress": "Unknown",
    "customerEmail": "[email protected]",
    "customerIdentification": "71706984",
    "customerIdentificationType": "00",
    "customerName": "ATTELLITIOS ORTIZ HERNANDEZ",
    "customerPhone": "3011268353",
    "lastName": "ATTELLITIOS",
    "merId": "8202165277520295",
    "merOrderNo": "COPODP81AC8NGZR5",
    "nonceStr": "QcaPbbVlqZdcmCtE",
    "orderAmount": "62876",
    "payProduct": "12",
    "sign": "0B6B721CE2A05D4D1F42997D346DBB7C",
    "description":"Supefina"
}

响应参数

变量名
类型
描述

code

String

响应编码 具体参照:响应状态码

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

签名

status

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";
}

最后更新于