Search Overlay

Simulating ANI Responses

By default, all transactions will have an Account Name Inquiry (ANI) response of a "MATCH" (last name matches). To simulate a different response, add a single prefix code in front of the value you include for the last name. 

Prefix ANI Code Description
A MATCH Last name fully matches.
B PARTIAL_MATCH Last name partially matches.
C NO_MATCH No part of the last name matches.
D UNKNOWN Unknown response from issuer/bank.
E, F NOT_PROCESSED Last name information is unavailable.

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,
"card": {
"cardNum": "4111111111111111",
"cardExpiry": {
"month": 1,
"year": 2027
},
"cvv": "123"
},
"profile": {
"lastName": "Smith"
},

"billingDetails": {
"street": "12",
"city": "Toronto",
"state": "ON",
"country": "CA",
"zip": "M5H 2N2"
}
} '

{
"id": "0bca6409-b3cf-414b-acb4-010930f9fbe1",
"merchantRefNum": "demo-1b",
"txnTime": "2024-05-13T15:00:09Z",
"status": "COMPLETED",
"card": {
"type": "VI",
"lastDigits": "1111",
"cardExpiry": {
"month": 1,
"year": 2027
},
"issuingCountry": "US"
},
"authCode": "786954",
"profile": {
"lastName": "Smith"
},
"billingDetails": {
"street": "12",
"city": "Toronto",
"state": "ON",
"country": "CA",
"zip": "M5H2N2"
},
"merchantDescriptor": {
"dynamicDescriptor": "S HARDY DRIVE",
"phone": "480-333-3333"
},
"visaAdditionalAuthData": {},
"currencyCode": "USD",
"avsResponse": "MATCH_ZIP_ONLY",
"cvvVerification": "MATCH",
"nameVerification": "MATCH",
"links": [
{
"rel": "self",
"href": "https://api.test.netbanx.com/cardpayments/v1/accounts/89987201/verifications/0bca6409-b3cf-414b-acb4-010930f9fbe1"
}
]
}
On this Page