Hello,
I'm trying to prepare test cases for card validation API. When I use this request:
{
"cardCvv2Value": "227",
"cardExpiryDate": "2020-10",
"primaryAccountNumber": "4957030420210488"
}
It returns with status code 200 but according to test data table it should return error with "Invalid Zip Code and CVV2 values" message.
Which one is wrong?
Thank you.
Hi,
Thanks for the question! When you look at the Scenario Based Test Data for Invalid Zip Code and CVV2 values, do you see the expected response from what you requested? For example, you have inputted in the Scenario Based Test Data for Invalid Zip Code and CVV2 values request data, and then the Scenario Based Test Data response output is what you expect to see from that Invalid Zip Code and CVV2 values row. If this is what you see, then sandbox is functioning as expected and you've inputted the correct test data.
Thank you,
Diana
Hello,
The json I wrote is already 5th row of Scenario Based Test Data it should return "Invalid Zip Code and CVV2" but it ends with success.