Use Error Scenarios to test payment failures.
| Test Cases | Test Description | Pre-requisites | 
|---|---|---|
| Successful Required Authentication | Submit an end to end 3DS request from the customer application to certify that the flow and configurations are correct. | Use a test card | 
| Successful Frictionless Authentication | Submit an end to end 3DS request from the customer application to certify that the flow and configurations are correct. | Use a test card | 
| Unsuccessful Authentication | Submit an end to end 3DS request from the customer application to certify that the flow and configurations are correct. | Use a test card | 
| Card saved + Capture | Submit an end to end 3DS request from the customer application to certify that the flow and configurations are correct. | Safepay: Configurations are ready. Merchant: end to end implementation is done. | 
| Reverse an authorization | Submit an end to end 3DS request from the customer application to certify that the flow and configurations are correct. | Please see Reversal | 
| Void a capture | Submit an end to end 3DS request from the customer application to certify that the flow and configurations are correct. | Please see Void | 
| Payment full refund | Submit an authorization with the parameters mentioned in the pre-requiste | Amount should match the original transaction amount | 
| Payment partial refund | Submit an authorization with the parameters mentioned in the pre-requiste | Amount should be lower than the original transaction amount | 
| Payment Failure - Insufficient Balance | Submit an authorization with the parameters mentioned in the pre-requiste | totalAmount=405100 | 
| Payment Failure - General Decline by Processor | Submit an authorization with the parameters mentioned in the pre-requiste | totalAmount=400300 | 
| Payment Failure - Expired Credit Card | Submit an authorization with the parameters mentioned in the pre-requiste | totalAmount=405400 | 
| Payment Failure - Stolen Card | Submit an authorization with the parameters mentioned in the pre-requiste | totalAmount=400400 |