支持 QR、CVU、RAPIPAGO、PAGOFACIL。金额必须是 100 的整数倍,
实际上下限以商户开通的支付方式配置为准。成功后请原样使用返回的 payUrl。
Request
Body Params application/jsonRequired
{
"mchNo": "M1234567890",
"mchOrderNo": "AR_IN_202608080001",
"wayCode": "QR",
"amount": "1000",
"currency": "ARS",
"customerName": "JUAN PEREZ",
"customerEmail": "juan.perez@example.com",
"customerContact": "5491122334455",
"idType": "DNI",
"accountTax": "12345678",
"notifyUrl": "https://merchant.example.com/tarspay/notify",
"returnUrl": "https://merchant.example.com/payment/result"
}
Request Code Samples
curl --location 'https://payment.tarspay.com/api/pay/unifiedOrder' \
--header 'X-API-KEY: {{apiKey}}' \
--header 'X-API-NONCE: 1754640000000' \
--header 'X-API-SIGNATURE: {{signature}}' \
--header 'Content-Type: application/json' \
--data-raw '{
"mchNo": "M1234567890",
"mchOrderNo": "AR_IN_202608080001",
"wayCode": "QR",
"amount": "1000",
"currency": "ARS",
"customerName": "JUAN PEREZ",
"customerEmail": "juan.perez@example.com",
"customerContact": "5491122334455",
"idType": "DNI",
"accountTax": "12345678",
"notifyUrl": "https://merchant.example.com/tarspay/notify",
"returnUrl": "https://merchant.example.com/payment/result"
}'
Responses
{
"code": 0,
"msg": "SUCCESS",
"data": {
"payOrderId": "P202608080000000001",
"mchOrderNo": "AR_IN_202608080001",
"orderState": 1,
"payDataType": "payurl",
"payData": "https://cashier.example.com/checkout/abc123",
"payUrl": "https://cashier.example.com/checkout/abc123",
"amount": "1000",
"currency": "ARS",
"countryCode": "ar",
"expiredTime": 1786150800
},
"sign": ""
}
Modified at 2026-08-08 06:05:35