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. 哥伦比亚

All-Checkout

(payProduct=05)

上一页Cash下一页代收模拟

最后更新于6个月前

支付流程

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

2、商户向Supefina发起All-Checkout支付请求;

3、Supefina返回All-Checkout支付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

是

currency

String

是

orderAmount

String

是

订单金额 3000 >= orderAmount <= 2000000

不支持小数

payProduct

String

是

merId

String

是

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

merOrderNo

String

是

商户订单号

sign

String

是

nonceStr

String

是

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

customerEmail

String

是

用户邮箱 邮箱用户名不能只有数字(例如[email protected])且同一个邮箱一天支付请求不能超过20次。

customerName

String

是

用户名字

customerPhone

String

是

用户电话 需以3开头的十位数

customerIdentification

String

是

用户证件号

checkOut

Boolean

是

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

customerAccount

String

否

用户账户 checkOut为false时必传

lastName

String

否

用户姓氏 checkOut为false时必传

customerIdentificationType

String

否

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

checkOut为false时必传

customerAddress

String

否

用户地址 checkOut为false时必传

tipo_persona

String

否

付款主体 checkOut为false时必传

bankId

String

否

银行编码 参照:https://api.supefina.net/api/supefina/transactions/internal/getEbixuBankList checkOut为false时必传

expireTimeL

Long

否

过期时间 单位:秒;默认值:10分钟,最大值:10分钟

callbackUrl

String

否

回调地址

description

String

是

描述

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

请求示例

{
    "callbackUrl": "http://8.130.9.219:8899/api/supefina/transactions/test/zx",
    "checkOut": true,
    "countryId": "COL",
    "currency": "COP",
    "customerEmail": "[email protected]",
    "customerIdentification": "123456",
    "customerName": "test",
    "customerPhone": "1234567890",
    "merId": "8202325858590233",
    "merOrderNo": "toppay001",
    "nonceStr": "123",
    "orderAmount": "3001",
    "payProduct": "05",
    "sign": "0F569F49F68884C3E490E44BB8FCF68E",
    "description":"Supefina"
}

响应参数

变量名
类型
描述

code

String

msg

String

响应信息

data

Object

响应数据

merCode

String

商户ID

merOrderNo

String

商户订单号

supefinaOrderId

String

supefina订单号

amount

BigDecimal

订单金额

fee

String

预收手续费

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

国家编号

customerName

String

用户名字

fee

String

预收手续费

merId

String

商户ID

merOrderId

String

商户订单号

msg

String

消息

nonceStr

String

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

realityAmount

String

实收金额

realityFee

String

实收手续费

sign

String

签名

status

String

successTime

Date

交易成功时间 UTC时间

supefinaOrderId

String

supefina订单号

transactionType

String

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

回调通知示例

{
    "amount": "20000.00",
    "countryId": "COL",
    "customerName": "Grace Shaw",
    "fee": "1000.00",
    "merId": "8301409897370054",
    "merOrderId": "R20240619052050314",
    "msg": "",
    "nonceStr": "8b0c8dcd-14b6-4fef-a970-c914dc",
    "realityAmount": "20000",
    "realityFee": "1000.00",
    "sign": "FD1DD91503C4EC282E8CA01591973921",
    "status": "01",
    "successTime": 1718775146000,
    "supefinaOrderId": "2024061900010012b16f19beca043",
    "transactionType": "01"
}

回调通知响应

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

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

国家编号 参照: 哥伦比亚,COL

币种 参照: 哥伦比亚比索:COP

All-Checkout:05

签名

详见

响应编码 具体参照:

具体参照:

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