Available in🇮🇳 India🇸🇬 Singapore🇺🇸 United States
When a customer makes an online payment, it usually flows through different states. Know more about payment states.
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:- Late authorization
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 theauthorizedstate. Know more about late authorization. - Specific business use case
Some businesses such as those in the Ecommerce industry, may retain the payment in theauthorizedstate and later move them to thecapturedstate.
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.
Auto-capture All Payments
You can use this setting to capture allauthorized payments automatically. This eliminates the time and effort spent manually capturing payments. This is the default setting for all customers.
Watch this video to know how to set up the Automatic Capture option.
Auto-capture With Custom Timeouts
Once the payment iscreated, you can:
- Auto-capture payments that are
authorizedwithin a certain time period, and - Manually capture payments that are
authorizedafter that time period.
Auto-capture Timeout
Let us say you only want to auto-capture payments that areauthorized within 3 days from creation.
Watch this video to see how to set up the Automatic Capture with Timeout option.
Auto-capture + Manual Capture Timeouts
Let us say you want to:- Auto-capture payments that are
authorizedwithin 2 days from creation. - Manually capture payments that are
authorizedwithin 3 days from creation.
Watch this video to see how to set up the Automatic and Manual Capture with Timeout option.
To configure capture settings:
To configure capture settings:
- Log in to your Dashboard.
- Navigate to the Account & Settings option and scroll to the Payments Capture option.
- Click the Change button next to Automatic Capture.
- Under Automatic Capture, click the drop-down and select the time period in the Capture all payments authorised within field. For example, 2 days.
- Click Next.
- Select Capture manually via dashboard or API.
- Click the drop-down and select the time period in the Capture payments manually authorised within field. For example, 3 days.
- Click Next.
- Select Normal Refund as the Refund Speed.
- Click Save.
Manually Capture Payments
You can use this setting to captureauthorized payments manually.
Manual Capture Timeout
Let us say you only want to manually capture payments that areauthorized within 3 days from creation. To do this, you should set the manual capture timeout as 3 days.
Watch this video to set up the Manual Capture option.
To set up the manual capture:
To set up the manual capture:
- Log in to the Dashboard.
- Navigate to the Account & Settings option and scroll to the Payments Capture option.
- Click the Change button next to Automatic Capture.
- Select the Manual Capture option.
- Set the manual capture timeout to 3 days and click Next.
- Select Normal Refund as the Refund Speed.
- Click Save.
authorized state using our Capture API or from the Dashboard. 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 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
- Payment States
- Refunds
- Manually capture payments in the
authorizedstate using the Capture API or from the Dashboard - Set up and Subscribe to Webhook events