Hi,
I have tried the VTC API and have tested the global control. I was able to turn off (disable) a card# 4312247091850002 successfully.
to test if the card is now turned off (disable), I tried the cashinpushpayments Payment API with the request payload below
RequestBody:
{
"acquirerCountryCode" : "643",
"acquiringBin" : "400171",
"amount" : "124.05",
"businessApplicationId" : "CI",
"cardAcceptor" : {
"address" : {
"city" : "Bangalore",
"country" : "IND"
},
"idCode" : "ID-Code123",
"name" : "Card Accpector ABC"
},
"localTransactionDateTime" : "2018-07-10T10:35:56",
"merchantCategoryCode" : "4829",
"recipientPrimaryAccountNumber" : "4123640062698797",
"retrievalReferenceNumber" : "430000367618",
"senderAccountNumber" : "4312247091850002",
"senderName" : "Mohammed Qasim",
"senderReference" : "1234",
"systemsTraceAuditNumber" : "313042",
"transactionCurrencyCode" : "USD",
"transactionIdentifier" : "381228649430015"
}
Below is the successful response.
ResponseBody: {
"transactionIdentifier" : 193546076511768,
"actionCode" : "00",
"approvalCode" : "21324K",
"responseCode" : "5",
"transmissionDateTime" : "2018-07-10T10:35:59.000Z",
"retrievalReferenceNumber" : "430000367618"
}
What am I doing wrong? The payment transaction should have been declined for "senderAccountNumber" : "4312247091850002",
Please find below VTC rule I added for card# 4312247091850002
{
"receivedTimestamp": "2018-07-10 09:56:13.804",
"processingTimeinMs": 6,
"resource": {
"globalControls": [ {
"shouldDeclineAll": true,
"shouldAlertOnDecline": true,
"userIdentifier": "Abhishek Verma",
"declineAllNonTokenizeTransactions": true,
"isControlEnabled": true
}],
"lastUpdateTimeStamp": "2018-07-08 23:34:10",
"documentID": "ctc-vd-a65c35df-e723-4856-97e1-3ea019f2ee25"
}
}
Hi @Kennethrayg,
Please try using the test data for your Visa Developer application available in the Dashboard under test data in the left navigation, this will ensure that you are using valid data that has been provisioned for specific scenarios. Please see the photo attachment of where you can find test data.
Yes, I did used the test data allotted to my account....Payment transaction is still succeeding.
May I know if you have successfully tested a suspended card and how you go about it?
Hi @Kennethrayg,
The sandbox environment has limited data and is not integrated among the different APIs. The proper way to test is using the Authorization Decision API after disabling the card and the response should have shouldDecline true: https://developer.visa.com/capabilities/vctc/reference#vctc__authorization_decision
Can you help with absence of test card data? Authorization sandbox API is active, but no test data in left sidebar.