Supefina Payment API文档
  • 欢迎使用Supefina的API文档
    • 快速开始
    • 签名算法
    • 通知回调说明
    • 代收收银台(只支持电商行业的商户)
      • 🇲🇽墨西哥
      • 🇵🇪秘鲁
    • 代收
      • 🇲🇽墨西哥
        • SPEI
        • Cash
        • Card
        • 代收模拟(SPEI)
        • 代收模拟(Cash和Card)
      • 🇨🇴哥伦比亚
        • PSE
        • Bancolombia
        • Cash
        • All-Checkout
        • 代收模拟
      • 🇵🇪秘鲁
        • Transfer
        • Cash
        • Wallet
        • Card
        • 代收模拟
      • 🇨🇱智利
        • Card
        • Cash
        • Transfer
        • Wallet
        • All-Checkout
        • 代收模拟
      • 🇧🇷巴西
        • PIX
        • 代收模拟
      • 🇪🇨厄瓜多尔
        • Transfer
        • Cash
        • Card
        • Wallet
        • 代收模拟
      • 🇦🇷阿根廷
        • Debin
    • 代付
      • 🇲🇽墨西哥
        • SPEI
        • 代付失败原因说明
        • 代付模拟
      • 🇨🇴哥伦比亚
        • Transfer
        • Transfiya
        • 代付失败原因说明
        • 代付模拟
      • 🇵🇪秘鲁
        • Transfer
        • 代付失败原因说明
        • 代付模拟
      • 🇨🇱智利
        • Transfer
        • 代付模拟
      • 🇧🇷巴西
        • PIX
        • 代付失败原因说明
        • 代付模拟
      • 🇪🇨厄瓜多尔
        • Transfer
        • EC Transfer
        • 代付模拟
      • 🇦🇷阿根廷
        • Transfer
    • 查询
      • 交易查询
      • 余额查询
      • 凭证查询
      • 结算状态查询
    • 字典和资源
      • 响应状态码
      • 字典表
      • 下载
      • 测试参数
    • 更新记录
由 GitBook 提供支持
在本页
  • 支付流程
  • 请求地址
  • 请求参数
  • 请求示例
  • 响应参数
  • 回调通知
  1. 欢迎使用Supefina的API文档
  2. 代收
  3. 厄瓜多尔

Card

(payProduct=21)

上一页Cash下一页Wallet

最后更新于8个月前

支付流程

1、用户在商户网站/应用下单,并选择Card支付;

2、商户向Supefina发起Card支付请求;

3、Supefina返回Card支付URL地址;

4、商户将该地址在用户侧打开;

5、用户按照页面提示进行验证和支付;

6、用户支付成功;

7、Supefina将支付成功信息通知商户。

请求地址

环境名称
URL

SandBox

POST http://8.130.9.219:8899/api/supefina/transactions/payin

正式环境

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

请求参数

请求头

Key
Value

Content-Type

application/json

请求体

变量名
类型
必填
描述

countryId

String

是

merId

String

是

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

payProduct

String

是

currency

String

是

merOrderNo

String

是

商户订单号

orderAmount

String

是

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

customerEmail

String

是

用户邮箱

customerName

String

是

用户姓名

lastName

String

是

用户姓氏

customerIdentificationType

String

是

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

customerIdentification

String

是

用户身份证件号

nonceStr

String

是

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

sign

String

是

签名

callbackUrl

String

否

回调地址

expireTimeL

Long

否

过期时间 单位:秒;默认1天,建议商户自己控制时间

customerPhone

String

否

用户电话

checkOut

Boolean

否

收银台 true:需要收银台 false:不需要收银台 建议传true

请求示例

{
    "countryId": "ECU",
    "merId": "8101499116984570",
    "payProduct": "21",
    "currency": "USD",
    "merOrderNo": "devtest0005",
    "orderAmount": "200",
    "customerEmail": "[email protected]",
    "customerName": "testName",
    "lastName": "test",
    "customerIdentificationType": "07",
    "customerIdentification": "87654321",
    "nonceStr": "123",
    "sign": "R9d1Enp0XUS5YMwv0EP$blm9mWTWwyoB"
}

响应参数

变量名
类型
描述

code

String

msg

String

响应信息

data

Object

响应数据

merCode

String

商户ID

merOrderNo

String

商户订单号

supefinaOrderNo

String

supefina订单号

amount

BigDecimal

订单金额

fee

BigDecimal

预收手续费

identifier

String

付款参考

transactionStatus

String

下单状态 该笔订单的的发起状态是否成功,与订单真正的交易状态无关。 00:下单成功 04:下单失败

url

String

交易链接

响应示例

{
    "code": "string",
    "msg": "string",
    "data": {
        "merCode": "string",
        "merOrderNo": "string",
        "supefinaOrderNo": "string",
        "amount": 0,
        "fee": 0,
        "transactionStatus": "string",
        "url": "string",
        "identifier": "string"
    }
}

回调通知

提交方式:POST

变量名
类型
描述

amount

String

订单金额

countryId

String

国家编号

fee

String

预收手续费

identifier

String

付款参考

merId

String

商户编号

merOrderId

String

商户订单号

msg

String

信息

nonceStr

String

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

realityAmount

String

实收金额

realityFee

String

实收手续费

reference

String

标识符

sign

String

签名

status

String

successTime

Date

交易成功时间

supefinaOrderId

String

supefina订单号

transactionType

String

交易类型 01:代收 02:代付

回调通知示例

{
    "amount": "230.00",
    "countryId": "ECU",
    "customerName": "Test Name",
    "fee": "6.90",
    "identifier": "90911988431",
    "merId": "8202980903390150",
    "merOrderId": "17922853818122896811753697281175369728",
    "nonceStr": "935111b9-968e-4b3d-9036-fd1acf",
    "realityAmount": "230",
    "realityFee": "6.90",
    "reference": "90911988431",
    "sign": "69DF96903B85CD1408BD6849C62254C0",
    "status": "01",
    "successTime": 1716149235000,
    "supefinaOrderId": "202405190101010696298b1ca1141",
    "transactionType": "01"
}

回调通知响应

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

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

国家编号 参照: 厄瓜多尔:ECU

Card:21

币种 参照: 美元:USD

详见

响应编码 具体参照:

交易状态 具体参照:

🇪🇨
具体参照:签名算法
通知回调说明
响应状态码
字典表-国家编号
支付类型
字典表-货币
字典表——交易订单状态