Search docs

Are you looking for test card numbers?

Would you like to contact support?

Start searching Adyen's documentation...

  Documentation

Test applicable dispute reasons

You can test the dispute reasons by following the steps below:

  1. Submit an PaymentRequest payment request with card.holderName set to "chargeback:{reason code}". For a list of available reason codes, refer to Chargeback guidelines.
    For example: 

    {
      "card": {
        "number": "4111111111111111",
        "expiryMonth": "10",
        "expiryYear": "2020",
        "cvc": "737",
        "holderName": "chargeback:30"
      },
      "amount": {
        "value": 1500,
        "currency": "EUR"
      },
      "reference": "payment-2016-11-1-13",
      "merchantAccount": "NewCoCOM"
    }

    You can set the card.holderName to Chargeback resulting in a Chargeback without an explicit reason code.
    You can set the card.holderName to Chargeback Reversed resulting in a ChargebackReversed without an explicit reason code (Chargeback, ChargebackReversed).
    You can set the card.holderName to Second Chargeback resulting in a SecondChargeback without an explicit reason code (Chargeback, ChargebackReversed, SecondChargeback).

    The SecondChargeback journal type is available from November 5, 2018. For more information, see our FAQ.

  2. A request for a chargeback can take up to 24 hours to process.
  3. After the chargeback is created, retrieve the applicable dispute reason using theRetrieve defense reasons call.
  4. Submit the dispute.
  5. Confirm and defend dispute using Defend dispute call.
    You receive a confirmation.