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

# About Payment Capture Settings

> Configure auto-capture settings for individual payments using APIs and at an account level using the Razorpay Dashboard.

<div style={{display:"flex",flexWrap:"wrap",alignItems:"center",gap:"0.35rem 0.9rem",border:"1px solid rgba(128,128,128,0.28)",borderRadius:"0.5rem",padding:"0.45rem 0.75rem",margin:"0 0 1.25rem",fontSize:"0.875rem"}}>
  <span style={{fontWeight:600}}>Available in</span>
  <span>🇮🇳 India</span>
</div>

When a customer makes an online payment, it usually flows through different states. Know more about [payment states](/docs/payments/payments#payment-life-cycle).

By default, once your customer completes a payment, it is automatically moved to the `captured` state.

However, the payment can remain in the `authorized` state in the following scenarios:<br />

* **Late authorization** <br />
  Due to external factors such as network issues or technical errors, Razorpay may not immediately receive payment status from the bank. In this case, Razorpay polls the APIs intermittently for 3 days to check the status. If we receive the payment status as successful, the payment is moved to the `authorized` state. Know more about [late authorization](/docs/payments/payments/late-authorisation).
* **Specific business use case** <br />
  Some businesses such as those in the Ecommerce industry, may retain the payment in the `authorized` state and later move them to the `captured` state.

<Warning>
  **Watch Out!**

  * For **Direct Settlement** merchants, payments will be auto-captured irrespective of the configuration.
  * You must ensure that all payments in the authorized state are moved to the captured state within 3 days of creation. This is mandatory because payments that are not captured within this period will be refunded automatically to customers.
</Warning>

You can configure **Payment Capture settings** on the Dashboard. You can choose to:

* [Auto-capture all payments](#auto-capture-all-payments)
* [Auto-capture with set timeouts](#auto-capture-with-custom-timeouts)
* [Manually capture timeout](#manual-capture-timeout)

## Payment Capture Settings

<Info>
  **Handy Tips**

  * Only the Razorpay account owner can configure payment capture settings on the Dashboard.
  * Payment Capture settings are applicable only for payments created using the Orders API.
</Info>

| Option                    | Description                                                                                                                                                                                                                                                                 |
| ------------------------- | --------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- |
| Auto-capture all payments | All payments `authorized` within 3 days from the time of creation are auto-captured.                                                                                                                                                                                        |
| Auto-capture timeouts     | <ul><li>Allows you to define custom auto-capture timeout.</li><li> The minimum value is 12 minutes.</li><li>The maximum value (default) is 3 days.</li></ul>                                                                                                                |
| Manual capture timeout    | <ul><li>Allows you to define custom manual capture timeout.</li><li>The minimum value is 12 minutes.</li><li> The maximum value (default) is 3 days.</li></ul>                                                                                                              |
| Auto-refund speed         | Payments in the `authorized` state are auto-refunded after the timeout. The available option is **Normal Refund** where the payment is refunded to your customer in 5-7 working days. The refund speed selected here is only applicable to payments that are auto-refunded. |

## Auto-capture all Payments

You can use this setting to capture all `authorized` payments automatically. This eliminates the time and effort spent manually capturing payments. **This is the default setting for all customers.**

<img src="https://razorpay.com/docs/build/browser/assets/images/payment-capture-auto-capture-all-payments.jpg" class="click-zoom" alt=" Auto-capture all payments process flow" width="800" />

Watch this video to know how to set up the **Automatic Capture** option.

<iframe width="560" style={{maxWidth: '100%'}} height="315" src="https://www.youtube.com/embed/1u0X1k6mh-U" frameBorder="0" allow="accelerometer; autoplay; encrypted-media; gyroscope; picture-in-picture" allowFullScreen />

<AccordionGroup>
  <Accordion title="To auto-capture all `authorized` payments:">
    1. Log in to the Dashboard.
    2. Navigate to the **Account & Settings** option and scroll to the **Payments Capture** option.
    3. Click the **Change** button next to **Automatic Capture**.
    4. Under **Automatic Capture**, click the drop-down and select the time period in the **Capture all payments authorised within** field. For example, 3 days.
    5. Click **Next**.
    6. Select **Refund Automatically** and click **Next**.
    7. Select Normal Refund as the **Refund Speed**.
    8. Click **Save**.
  </Accordion>
</AccordionGroup>

## Auto-Capture with Custom Timeouts

Once the payment is `created`, you can:

* Auto-capture payments that are `authorized` within a certain time period, and
* Manually capture payments that are `authorized` after that time period.

You can do this by setting up custom timeouts for automatic and manual capture.

### Auto-capture Timeout

Let us say you only want to auto-capture payments that are `authorized` within 3 days from creation.

| --- Capture Settings   | <ul><li>Select **Automatic Capture** </li><li>Automatic capture timeout = 3 days.</li></ul> |
| ---------------------- | ------------------------------------------------------------------------------------------- |
| Payments auto-refunded | If payments are `authorized` after 3 days.                                                  |

<img src="https://razorpay.com/docs/build/browser/assets/images/payment-capture-auto-capture-timeout.jpg" class="click-zoom" alt="Auto Capture Timeout process flow" width="800" />

Watch this video to see how to set up the **Automatic Capture with Timeout** option.

<iframe width="560" height="315" src="https://www.youtube.com/embed/_pll_tqFGhY?si=Kvl9jk4KoibLTQFb" title="YouTube video player" frameBorder="0" allow="accelerometer; autoplay; clipboard-write; encrypted-media; gyroscope; picture-in-picture; web-share" allowFullScreen />

### Auto-capture + Manual Capture Timeouts

Let us say you want to:

* Auto-capture payments that are `authorized` within 2 days from creation.
* Manually capture payments that are `authorized` within 3 days from creation.

| --- Capture Settings      | <ul><li>Select **Automatic Capture** </li><li>Automatic capture timeout = 2 days.</li><li>Manual capture timeout = 3 days.</li></ul> |
| ------------------------- | ------------------------------------------------------------------------------------------------------------------------------------ |
| Payments auto-refunded if | <ul><li>Payments not `captured` by you within 3 days.</li><li> Payments are `authorized` after 3 days.</li></ul>                     |

<img src="https://razorpay.com/docs/build/browser/assets/images/payment-capture-auto-capture-and-manual-capture-timeouts.jpg" class="click-zoom" alt="Auto and Manual Capture Timeout process flow" width="800" />

Watch this video to see how to set up the **Automatic and Manual Capture with Timeout** option.

<iframe width="560" height="315" src="https://www.youtube.com/embed/6vyGZ8vOqno?si=wqvPQNV4d9Cw-x_m" title="YouTube video player" frameBorder="0" allow="accelerometer; autoplay; clipboard-write; encrypted-media; gyroscope; picture-in-picture; web-share" allowFullScreen />

<AccordionGroup>
  <Accordion title="To configure capture settings:">
    1. Log in to your Dashboard.
    2. Navigate to the **Account & Settings** option and scroll to the **Payments Capture** option.
    3. Click the **Change** button next to **Automatic Capture**.
    4. Under **Automatic Capture**, click the drop-down and select the time period in the **Capture all payments authorised within** field. For example, 2 days.
    5. Click **Next**.
    6. Select **Capture manually via dashboard or API**.
    7. Click the drop-down and select the time period in the **Capture payments manually authorised within** field. For example, 3 days.
    8. Click **Next**.
    9. Select Normal Refund as the **Refund Speed**.
    10. Click **Save**.
  </Accordion>
</AccordionGroup>

## Manually Capture all Payments

You can use this setting to capture `authorized` payments manually.

<Warning>
  **Watch Out!**

  Manual capture of payments is not supported on [bank transfer](/docs/payments/payment-methods/bank-transfer). All bank transfer payments are auto-captured.
</Warning>

### Manual Capture Timeout

Let us say you only want to manually capture payments that are `authorized` within 3 days from creation. To do this, you should set the manual capture timeout as 3 days.

| --- Capture Settings      | <ul><li>Select **Manual Capture** </li><li>Manual capture timeout = 3 days.</li></ul>                            |
| ------------------------- | ---------------------------------------------------------------------------------------------------------------- |
| Payments auto-refunded if | <ul><li>Payments not `captured` by you within 3 days.</li><li> Payments are `authorized` after 3 days.</li></ul> |

<img src="https://razorpay.com/docs/build/browser/assets/images/payment-capture-manual-capture-only.jpg" class="click-zoom" alt="Manual Capture Timeout process flow" width="800" />

Watch this video to set up the **Manual Capture** option.

<iframe width="560" height="315" src="https://www.youtube.com/embed/zBcK1KIed30?si=F06RpJcegPNBI8ND" title="YouTube video player" frameBorder="0" allow="accelerometer; autoplay; clipboard-write; encrypted-media; gyroscope; picture-in-picture; web-share" referrerPolicy="strict-origin-when-cross-origin" allowFullScreen />

<AccordionGroup>
  <Accordion title="To set up the manual capture:">
    1. Log in to the Dashboard.
    2. Navigate to the **Account & Settings** option and scroll to the **Payments Capture** option.
    3. Click the **Change** button next to **Automatic Capture**.
    4. Select the **Manual Capture** option.
    5. Set the manual capture timeout to 3 days and click **Next**.
    6. Select Normal Refund as the **Refund Speed**.
    7. Click **Save**.
  </Accordion>
</AccordionGroup>

You can manually capture payments in the `authorized` state using our [Capture API](/docs/api/payments/capture) or from the [Dashboard](/docs/payments/payments/dashboard#manual-capture-of-payments). All payments that are not captured within the manual timeout period will be auto-refunded.

## Configure Payment Capture Settings using Orders API

Capture values passed in the [Orders API](/docs/payments/payments/capture-settings/api) take precedence over the Payment Capture settings configured on the Dashboard. You can use this to change the capture settings for individual payments.

### Related Information

* [How Payment Gateway Works](/docs/payments/payment-gateway/how-it-works)
* [Payment States](/docs/payments/payments)
* [Refunds](/docs/payments/refunds)
* Manually capture payments in the `authorized` state using the [Capture API](/docs/api/payments/capture) or from the [Dashboard](/docs/payments/payments/dashboard#manually-capture-payments)
* [Set up and Subscribe to Webhook events](/docs/webhooks/setup-edit-payments)
