{
  "opencollection": "1.0.0",
  "info": {
    "name": "Adyen Account acceptDispute Reversals API",
    "version": "6"
  },
  "items": [
    {
      "info": {
        "name": "Reversals",
        "type": "folder"
      },
      "items": [
        {
          "info": {
            "name": "Adyen Refund or Cancel a Payment",
            "type": "http"
          },
          "http": {
            "method": "POST",
            "url": "https://cal-test.adyen.com/cal/services/Account/v6/payments/:paymentPspReference/reversals",
            "headers": [
              {
                "name": "Idempotency-Key",
                "value": "37ca9c97-d1d1-4c62-89e8-706891a563ed"
              }
            ],
            "params": [
              {
                "name": "paymentPspReference",
                "value": "",
                "type": "path",
                "description": "The [`pspReference`](https://docs.adyen.com/api-explorer/#/CheckoutService/latest/post/payments__resParam_pspReference) of the payment that you want to reverse. "
              }
            ],
            "body": {
              "type": "json",
              "data": "{}"
            },
            "auth": {
              "type": "basic",
              "username": "{{username}}",
              "password": "{{password}}"
            }
          },
          "docs": "[Refunds](https://docs.adyen.com/api-explorer/#/CheckoutService/latest/post/payments/{paymentPspReference}/refunds) a payment if it has already been captured, and [cancels](https://docs.adyen.com/api-explorer/#/CheckoutService/latest/post/payments/{paymentPspReference}/cancels) a payment if it has not yet been captured. Returns a unique reference for this request. You get the outcome of the request asynchronously, in a [**CANCEL_OR_REFUND** webhook](https://docs.adyen.com/online-payments/reverse"
        }
      ]
    }
  ],
  "bundled": true
}