paymentMethod
=5
) or VCC passthrough(paymentMethod
=3
) payment.null
(not empty string ""
).true
: multiple-use cardfalse
: single-use card{
"orderNo": "TESTA20250424174823885",
"creditCard": {
"cardNumber": "4054695723100768",
"cardExpireMonth": "12",
"cardExpireYear": "2026",
"cardCVV": "111",
"cardHolderLastName": "shao",
"cardHolderFirstName": "justin",
"cardHolderCountry": "CN",
"cardHolderProvince": "JS",
"cardHolderCity": "NJ",
"cardHolderPostCode": "210000",
"cardHolderAddress": "testqqq",
"cardHolderPhone": null,
"cardHolderEmail": null,
"reusable": false,
"paymentLimit": 100.00,
"threeDS": {
"ip": ""
}
},
"paymentMethod": 3,
"clientOrderNo": "",
"requestSource": ""
}
curl --location --request POST 'https://sandbox.atriptech.com/pay.do' \
--header 'Accept: application/json' \
--header 'Accept;' \
--header 'Accept-Encoding: gzip' \
--header 'Accept-Encoding;' \
--header 'x-atlas-client-id: <YOUR_CLIENT_ID>' \
--header 'x-atlas-client-id;' \
--header 'x-atlas-client-secret: <YOUR_CLIENT_SECRET>' \
--header 'x-atlas-client-secret;' \
--header 'Content-Type: application/json' \
--data-raw '{
"orderNo": "TESTA20250424174823885",
"creditCard": {
"cardNumber": "4054695723100768",
"cardExpireMonth": "12",
"cardExpireYear": "2026",
"cardCVV": "111",
"cardHolderLastName": "shao",
"cardHolderFirstName": "justin",
"cardHolderCountry": "CN",
"cardHolderProvince": "JS",
"cardHolderCity": "NJ",
"cardHolderPostCode": "210000",
"cardHolderAddress": "testqqq",
"cardHolderPhone": null,
"cardHolderEmail": null,
"reusable": false,
"paymentLimit": 100.00,
"threeDS": {
"ip": ""
}
},
"paymentMethod": 3,
"clientOrderNo": "",
"requestSource": ""
}'
status
!=0
), it is usually a human-readable error message. Note: Do not use this field in any programming scenarios. For example, do not judge whether the interface responds successfully based on this field. Instead, you should only determine it by checking whether the status is equal to0
at any time.{
"orderNo": null,
"pnrCode": null,
"paymentMethod": null,
"airlines": null,
"status": 401,
"msg": "later than the payment deadline"
}