How to test a rejected payment
rejection
A rejection test checks that your bank interprets a negative payment response and applies the correct local handling. A rejected payment can represent a passed test when rejection is the intended outcome.
Prepare a controlled condition
Choose a supported negative scenario and define its expected status and reason. Use the approved account data. Keep other payment fields valid so that an earlier validation error does not obscure the condition you want to test.
Run the payment
Submit one transaction and inspect the response. Confirm that it refers to the intended payment and that the observed reason matches the scenario.
Verify local handling
Check the bank-side payment state