> ## Documentation Index
> Fetch the complete documentation index at: https://adyen-preview.mintlify.site/llms.txt
> Use this file to discover all available pages before exploring further.

# Modify Payments

> Learn how to capture, cancel, or refund a payment.

**Adyen is no longer developing the Classic API integration**

This page is for the Classic API integration, which we no longer accept new integrations with.

We strongly recommend migrating to the newer [modification endpoints](https://docs.adyen.com/online-payments/modify-payments) using the Checkout API integration. To use this newer integration, you must also [migrate to the Checkout API](https://adyen-preview.mintlify.site/online-payments/upgrade-your-integration/migrate-to-checkout-api).

Capture, cancel, and refund actions are called *modifications*, since they modify the state of a payment. The possible payment modifications are: 

* [Capture](https://adyen-preview.mintlify.site/online-payments/classic-integrations/modify-payments/capture) – Capture approved authorisation when it is necessary to complete the payment.
* [Cancel](https://adyen-preview.mintlify.site/online-payments/classic-integrations/modify-payments/cancel.md) – Cancel authorisation when the payment has not yet been captured. 
* [Refund](https://adyen-preview.mintlify.site/online-payments/classic-integrations/modify-payments/refund.md) – Return the funds to the shopper when the payment has already been captured.
* [Cancel or refund](https://adyen-preview.mintlify.site/online-payments/classic-integrations/modify-payments/cancel-or-refund.md) – Return the funds to the shopper when you are not sure whether the payment has been captured. 
* [Adjust authorisation](https://adyen-preview.mintlify.site/online-payments/classic-integrations/modify-payments/adjust-authorisation.md) – Adjust the authorised amount after the initial authorisation.

For information on how to cancel and refund in-person payments, refer to [Cancel a payment](https://adyen-preview.mintlify.site/point-of-sale/basic-tapi-integration/cancel-a-transaction.md) and [Refund a payment](https://adyen-preview.mintlify.site/point-of-sale/basic-tapi-integration/refund-payment).


This documentation is built and hosted on [Mintlify](https://mintlify.com), a developer documentation platform.