Simuler des réponses CVV
Afin de simuler une réponse spécifique au code de sécurité de la carte, fournissez une valeur CVV du tableau ci-dessous avec votre transaction.
Valeur CVV | Code de réponse CVV | Description |
---|---|---|
111 | MATCH | Correspondance |
222 | NOT_PROCESSED | Non traité |
555 | UNKNOWN | Réponse inconnue |
666 | NO_MATCH | Aucune correspondance |
cURL -X POST https://api.test.paysafe.com/cardpayments/v1/accounts/89987201/auths \
-u devcentre322:B-qa2-0-53625f86-302c021476f52bdc9deab7aea876bb28762e62f92fc6712d0214736abf501e9675e55940e83ef77f5c304edc7968 \
-H 'Content-Type: application/json' \
-d ' {
"merchantRefNum":"demo-1c",
"amount":10098,
"settleWithAuth":true,
"card" : {
"cardNum":"4111111111111111",
"cardExpiry":{
"month":2,
"year":2027
},
"cvv":666
},
"billingDetails":{
"street":"100 Queen Street West",
"city":"Toronto",
"state":"ON",
"country":"CA",
"zip":"M5H 2N2"
}
} '
{
"links":[
{
"rel":"settlement",
"href":"https://api.test.paysafe.com/cardpayments/v1/accounts/89987201/settlements/cbb6471f-720c-407d-8b4c-0aa03fc41e23"
},
{
"rel":"self",
"href":"https://api.test.paysafe.com/cardpayments/v1/accounts/89987201/auths/cbb6471f-720c-407d-8b4c-0aa03fc41e23"
}
],
"id":"cbb6471f-720c-407d-8b4c-0aa03fc41e23",
"merchantRefNum":"demo-1c",
"txnTime":"2014-06-02T18:22:21Z",
"status":"COMPLETED",
"amount":10098,
"settleWithAuth":true,
"availableToSettle":0,
"card":{
"type":"VI",
"lastDigits":"1111",
"cardExpiry":{
"month":2,
"year":2027
}
},
"authCode":"102429",
"billingDetails":{
"street":"100 Queen Street West",
"city":"Toronto",
"state":"ON",
"country":"CA",
"zip":"M5H2N2"
},
"merchantDescriptor":{
"dynamicDescriptor":"Test",
"phone":"123-1234123"
},
"currencyCode":"CAD",
"avsResponse":"MATCH",
"cvvVerification":"NO_MATCH",
"settlements":[
{
"links":[
{
"rel":"self",
"href":"https://api.test.paysafe.com/cardpayments/v1/accounts/89987201/settlements/cbb6471f-720c-407d-8b4c-0aa03fc41e23"
}
],
"id":"cbb6471f-720c-407d-8b4c-0aa03fc41e23",
"merchantRefNum":"demo-1c",
"txnTime":"2014-06-02T18:22:21Z",
"status":"PENDING",
"amount":10098,
"availableToRefund":10098
}
]
}
Cette page a-t-elle été utile ?
Sur cette page