跳转到内容

收银台创建

请求地址

methodurl
POST/api/checkout/payment/create

头部信息(header)

header 参数入参参数描述
timestamp请求时间戳
nonce随机值
countryAR
app_codeapp编号

请求参数

字段类型必需长度描述
merchantOrderNoString32商户订单号
paymentTypeInt不传输则返回配置的支付方式;支付方式 【901(QR)、902 (CVU)、903(CHECKOUT)、905 (Rapipago)、906 (Pagofacil)】
amountString20金额
expirationTimeString20过期时间、毫秒级时间戳 eg:1735660800000 【默认一天,最小10分钟,最长七天 】
idTypeString50个人身份类型:DNI 、CUIT、CUIL 【推荐使用CUIT】
idCardNumberString11个人身份号:DNI (7位或8位数字)、CUIT(11位数字,首位必须是2或3)、CUIL(11位数字)
phoneString1010位数字不加区号
emailString50付款人邮箱; 务必符合正则表达式
realNameString50付款人名字,建议全字母大写
callbackUrlString200代收回调地址 (若不传递,取商户后台配置的回调地址)
remarkString200备注信息
signString签名
请求示例
{
"merchantOrderNo": "ceshi-test",
"paymentType": 901,
"amount": "1000",
"expirationTime": "1765943486000",
"idType": "CUIT",
"idCardNumber": "31231233434", // 虚构仅作为演示
"phone": "3111111111",
"email": "213@123.com",
"realName": "张三",
"callbackUrl": "https://www.callbackexample.com",
"sign": "YOUR_SIGN"
}

返回参数

参数类型必需长度描述
merchantOrderNoString32商户订单号
tradeNoString平台订单号
amountString订单交易金额
statusInt代收状态,0:受理中 3-失败
checkoutLinkString主要付款信息,返回付款链接
expirationTimeString收银台地址过期时间
errorMsgStringno错误信息,失败时返回
返回示例
{
"code": 200,
"data": {
"merchantOrderNo": "ceshi-test",
"tradeNo": "TS2509080002ARexample754",
"amount": "100",
"status": 0,
"checkoutLink": "https://test-ar-payin.teemopay.com/#/?tradeNo=TS2509080002ARexample754",
"expirationTime": "2025-09-17 13:53:45.959",
"errorMsg": null
},
"msg": "success",
"traceId": "1e7142b1c2cf47479ccfdbb1ecba5242.94.17579264259380029"
}

错误码

异常码异常信息处理方案
412Please try again later请稍后重试
414*更改对应参数
416Application not foundapp_code异常,请更改
424This payment method is not configured代收方式未配置,请联系我们配置对应代收方式
426merchant order duplicate请更换商户订单号
427The callback notification address for collection must not be empty.未配置代收回调地址,请配置代收回调地址
438Phone number is error请检查并更改手机号
460The current payment method is unavailable.当前代收方式不可用,请更换
473Merchant joint verification error: *配置异常,请联系我们
478Invalid format for expireTime使用UTC时间戳
479The id type is error (Example: DNI, CUIT, CUIL. It is recommended to use CUIT.)使用(DNI 、CUIT、CUIL)其中一个,【推荐使用CUIT】
480ID card number error (DNI: must be 7–8 digits in length; CUIL: must be 11 digits in length; CUIT: must be 11 digits in length, with the first digit restricted to 2 or 3)DNI (7位或8位数字)、CUIT(11位数字,首位必须是2或3)、CUIL(11位数字)

| 500 | Business Error | 请联系我们 |

返回示例
{
"code": 426,
"data": null,
"msg": "merchant order duplicate",
"traceId": "747bbf80261844ed85b809212aab0d81.85.17422898158610298"
}