Test how your integration handles responses from the Adyen payments platform by forcing specific payment response codes.
/authorise request, and include the required
card fields (you can use one of the test card numbers with a CVC from this list). Also include an
additionalData object containing a
RequestedTestAcquirerResponseCode element. In this element, provide either a Code (as an integer) or Response (as a string) that you want to test from our list of Adyen response codes.
You'll receive a response containing a
resultCode. If the payment is refused you'll also receive a
If you can't submit
additionalData for testing, you can also test specific payment results using the
card.holderName field. For more information, see Testing with card holder name.
The following example shows how you test a "Refused" payment result due to an expired card: