How to Simulate Different Card Transaction Scenarios

Simulate different card

Testing Card Payment Outcomes

To test different card payment outcomes (e.g., declined transactions), you can use predefined error codes in the cardHolderName parameter.

Simulate specific transaction scenarios by setting the cardHolderName field to a designated value. For example:

"cardHolderName": "CCREJECT-REFUSED"

This will trigger a failed transaction with the corresponding error.

You can find a list of available test values and outcomes in the following link: Card Testing.