Search Overlay

Simuler des réponses SVA

Par défaut, toutes les transactions auront une réponse SVA "MATCH" (les informations sur l’adresse concordent). Pour simuler une réponse différente, ajoutez un code de préfixe unique du tableau ci-dessous devant la valeur que vous incluez pour le paramètre de la rue.

Préfixe

Code SVADescription
10MATCHL’adresse et le code postal concordent
11, 16MATCH_ADDRESS_ONLY

L’adresse concorde, mais pas le code postal

12, 17MATCH_ZIP_ONLYLe code postal concorde, mais pas l’adresse
13NO_MATCHAucune partie de l’adresse ne concorde
18NOT_PROCESSEDLes informations relatives à l’adresse ne sont pas disponibles
15UNKNOWNRéponse inconnue de l’émetteur/de la banque

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-1b",
"amount" : 10098,
"settleWithAuth":true,
"card" : {
"cardNum" : "4111111111111111",
"cardExpiry":{
"month":2,
"year":2027
},
"cvv":123
},
"billingDetails":{
"street":"12",
"city":"Toronto",
"state":"ON",
"country":"CA",
"zip":"M5H 2N2"
}
}'

{
"links":[
{
"rel":"settlement",
"href":"https://api.test.paysafe.com/cardpayments/v1/accounts/89987201/settlements/09275749-7b1a-4162-b130-3f3ab6c87734"
},
{
"rel":"self",
"href":"https://api.test.paysafe.com/cardpayments/v1/accounts/89987201/auths/09275749-7b1a-4162-b130-3f3ab6c87734"
}
],
"id":"09275749-7b1a-4162-b130-3f3ab6c87734",
"merchantRefNum":"demo-1b",
"txnTime":"2014-06-02T18:13:32Z",
"status":"COMPLETED",
"amount":10098,
"settleWithAuth":true,
"availableToSettle":0,
"card":{
"type":"VI",
"lastDigits":"1111",
"cardExpiry":{
"month":2,
"year":2027
}
},
"authCode":"102392",
"billingDetails":{
"street":"12",
"city":"Toronto",
"state":"ON",
"country":"CA",
"zip":"M5H2N2"
},
"merchantDescriptor":{
"dynamicDescriptor":"Test",
"phone":"123-1234123"
},
"currencyCode":"CAD",
"avsResponse":"MATCH_ZIP_ONLY",
"cvvVerification":"MATCH",
"settlements":[
{
"links":[
{
"rel":"self",
"href":"https://api.test.paysafe.com/cardpayments/v1/accounts/89987201/settlements/09275749-7b1a-4162-b130-3f3ab6c87734"
}
],
"id":"09275749-7b1a-4162-b130-3f3ab6c87734",
"merchantRefNum":"demo-1b",
"txnTime":"2014-06-02T18:13:32Z",
"status":"PENDING",
"amount":10098,
"availableToRefund":10098
}
]
}
Sur cette page