> For the complete documentation index, see [llms.txt](https://cranford-tech.gitbook.io/stripe-connect-marketplace/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://cranford-tech.gitbook.io/stripe-connect-marketplace/common-payment-flows/delayed-payments-escrow-like/canceling-an-authorized-payment.md).

# Canceling an Authorized Payment

If you are using the 'Authorize and Capture' method of delaying a payment, you may wish to cancel the payment before it naturally expires (which is by default [after 7 days](https://stripe.com/docs/payments/place-a-hold-on-a-payment-method)).&#x20;

### Instructions

* You can cancel a previously authorized payment by using the 'Stripe Connect - Cancel a Payment' action that comes with the plugin.&#x20;
* You will need to provide the paymentIntent ID for the payment

<figure><img src="https://445589018-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FOYowMYV4NApuJz7Z6lKJ%2Fuploads%2FIuDwC09JMXhh4NjvW8ZN%2FScreenshot%202024-01-09%20at%2015.16.18.png?alt=media&amp;token=e56ce9e9-0e78-4750-b2db-50acac25f57d" alt="" width="563"><figcaption></figcaption></figure>

* It is also recommended you update the PaymentIntent Status of the transaction after canceling it, so that it's status is accurately reflected in your database

<figure><img src="https://445589018-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FOYowMYV4NApuJz7Z6lKJ%2Fuploads%2FCCOX8xOvbJhhp6rTIJGE%2FScreenshot%202024-01-09%20at%2015.19.39.png?alt=media&amp;token=cc505d00-7f45-4522-babb-abbba8ba0089" alt="" width="563"><figcaption></figcaption></figure>
