EC Transfer

(payProduct=25)

请求地址

环境名称
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

国家编号 参照:字典表-国家编号 厄瓜多尔,ECU

merId

String

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

payProduct

String

支付类型 Transfer:25

currency

String

币种 参照:字典表-货币 美元:USD

merOrderNo

String

商户订单号

orderAmount

String

订单金额 0>= orderAmount <= 10,000

customerEmail

String

收款人邮箱

customerPhone

String

收款人电话

customerName

String

收款人姓名

customerIdentificationType

String

收款人证件类型 07:身份证件(CI) 10:护照号码(PP)(only for Cash) 03:护照标识(PAS)(only for BankTransfer) 02:税号(RUC)

customerIdentification

String

收款人证件号

bankId

String

收款人银行编号 参照:见“下载”>"厄瓜多尔银行编码"

注意:测试环境代付仅支持四家银行

0010 BANCO PICHINCHA C.A.

0017 BANCO DE GUAYAQUIL S.A

0024 BANCO CITY BANK

0025 BANCO MACHALA

bankName

String

收款人银行名称 参照:见“下载”>"厄瓜多尔银行编码"

accountType

Strin

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

account

String

收款方账户号

app

String

订单app名称

nonceStr

String

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

sign

String

callbackUrl

String

回调地址

详见通知回调说明

customerAddress

String

顾客地址

description

String

订单描述

请求示例

{
    "countryId": "ECU",
    "merId": "8101124378884582",
    "payProduct": "25",
    "currency": "USD",
    "merOrderNo": "payouttest0016",
    "orderAmount": "5",
    "customerEmail": "[email protected]",
    "customerPhone": "123456789",
    "customerName": "testName",
    "customerIdentificationType": "07",
    "customerIdentification": "7588708477",
    "bankId": "0010",
    "bankName": "BANCO PICHINCHA C.A.",
    "accountType": "01",
    "account": "89831914679785",
    "app": "supefina",
    "nonceStr": "12312",
    "sign": "R9d1Enp0XUS5YMwv0EP$blm9mWTWwyoB"
}

响应参数

变量名
类型
描述

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

国家编号 参照:字典表-国家编号 秘鲁,PER

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

交易成功时间

回调通知示例

{
    "amount": "105.00",
    "countryId": "ECU",
    "customerName": "Test Name",
    "fee": "3.00",
    "identifier": "706180968985601627",
    "merId": "8202157333970291",
    "merOrderId": "8485233309941743872",
    "msg": "success",
    "nonceStr": "76abf1f3-0486-4c1e-ac2a-1d9e17",
    "realityAmount": "105.00",
    "realityFee": "3.00",
    "sign": "11D7CBC5B0C337F904F227628813F5DE",
    "status": "01",
    "successTime": 1716249060000,
    "supefinaOrderId": "2024052001860105b0fae306a6e43",
    "transactionType": "02"
}

回调通知响应

商户成功收到回调后需同步返回指定字符串:SUCCESS 不返回或返回其他内容默认通知失败 如:

public String test(){
	return "SUCCESS";
}

最后更新于