--- title: "Testing risk features" description: "Test risk features with your integration and troubleshoot issues before it goes live." url: "https://docs.adyen.com/development-resources/testing/risk-features" source_url: "https://docs.adyen.com/development-resources/testing/risk-features.md" canonical: "https://docs.adyen.com/development-resources/testing/risk-features" last_modified: "2026-05-24T12:54:32+02:00" language: "en" --- # Testing risk features Test risk features with your integration and troubleshoot issues before it goes live. [View source](/development-resources/testing/risk-features.md) ## Chargebacks If a shopper disputes a transaction, it can become a chargeback. To test the dispute flow, you can simulate a chargeback to [test chargeback scenarios](/risk-management/disputes-api/test-applicable-dispute-reasons/).\ You can then use your Customer Area or the Disputes API to handle the simulated dispute. ## Risk management When you use RevenueProtect, and have turned on and configured risk rules, you can [test if the risk rule triggers](/risk-management/configure-manual-risk/#test-risk-rules). ## Address Verification System (AVS) You have to include billing address details in the payment request to enable and test [AVS](/risk-management/avs-checks#enable-and-test-avs). To test AVS, you can use the following AVS test cards and billing addresses: | Card Number | Card Type | House Number | Address | ZIP Code | Country/region | Expiry Date | Security Code (CVV/CVC/CID) | | ---------------- | ---------- | ------------ | ----------------------------------- | -------- | -------------- | ----------- | --------------------------- | | 5555555555554444 | Mastercard | 10 | Downing Street, London. | SW1A 2AA | GB | 03/2030 | 737 | | 374251018720018 | Amex | 1600 | Pennsylvania Ave NW Washington, DC. | 20500 | US | 03/2030 | 7373 | | 374251021090003 | Amex | 1 | Infinite Loop Cupertino, CA. | 95014 | US | 03/2030 | 7373 | | 374101012180018 | Amex | 10 | Downing Street, London. | SW1A 2AA | GB | 03/2030 | 7373 | | 374251033270007 | Amex | 8-10 | Broadway, Westminster, London. | SW1H 0BG | GB | 03/2030 | 7373 | | 4400000000000008 | Visa | 1 | Infinite Loop Cupertino, CA. | 95014 | US | 03/2030 | 737 | | 4444333322221111 | Visa | 8-10 | Broadway, Westminster, London. | SW1H 0BG | GB | 03/2030 | 737 | 1. Make a test card payment. 2. Get the AVS result in your API response or webhook for the corresponding PSP reference.\ For an overview of the different AVS responses and codes, see: * [AVS responses](/risk-management/avs-checks/#avs-mapping-table) for online payments. * [AVS responses](/point-of-sale/mail-and-telephone-order-moto/avs-responses-pos) for in-person payments. ## Auto Rescue For shopper-not-present transactions, like subscription renewal payments, the [Auto Rescue](/online-payments/auto-rescue/) feature determines when to automatically retry failed payments. Test it by enabling it in your test Customer Area and triggering the following scenarios. ### Retry attempts In these test scenarios, the payment is refused, so Auto Rescue makes retry attempts. To trigger specific retry scenarios, include the following values in the `merchantReference` field when making a test [/payments](https://docs.adyen.com/api-explorer/Checkout/latest/post/payments) request: | Scenario | Merchant order reference value | | ---------------------------------------------------------------------- | ------------------------------ | | The first retry attempt succeeds. | **AutoRescueSuccessfulFirst** | | The first retry attempt fails. The second retry attempt is successful. | **AutoRescueSuccessfulSecond** | | All retry attempts fail. | **AutoRescueFailed** | | The payment is refused because of fraud, so there's no retry attempt. | **AutoRescueFraud** | For scenarios where Auto Rescue is triggered, you get an **AUTHORISATION** webhook for each payment retry. The `success` field in the webhook shows if the retry was successful. ### Failed retry attempt that sends a payment link If you enabled sending a Pay by Link payment link if Auto Rescue retry attempts fail. In this scenario, the payment is refused, so Auto Rescue makes retry attempts. All retry attempts fail, so a [Pay By Link payment link is sent](/online-payments/auto-rescue/cards/#send-a-payment-link). 1. Make a [/payments](https://docs.adyen.com/api-explorer/Checkout/latest/post/payments) request including `merchantReference`: **AutoRescueFailed**. 2. Get the **AUTORESCUE** webhook on your server. 3. Go to the payment link URL from `paymentLink.url` from the webhook. 4. Complete the Pay by Link test payment. 5. Get the [**AUTHORISATION** webhook](/development-resources/webhooks/webhook-types/#default-event-codes) on your server. It includes the status of the payment.