Capture and Refund Settings
Configure auto-refund settings either from the Razorpay Dashboard or using APIs.
Use Optimizer to accept online payments from your customers. Check the payment states flow and configurations to capture and refund customer payments.
When a customer makes a payment, it usually flows through the following states:
The following state diagram depicts the flow of money through the payment states:
- By default, once your customer completes a payment, it is automatically moved to the
captured
state. However, in case of delayed authorisation, the payment can remain in theauthorized
state. - External factors such as network issues or problems with the payment provider can cause delays in Optimizer receiving payment status. In such cases, Optimizer polls the APIs intermittently for 3 days to check the status. If the payment status is successfully received during this time, the payment is moved to the
authorized
state. Know more about . - The system ensures that all payments in the
authorized
state are moved to thecaptured
state within 3 days of their creation. This is mandatory because payments that are not captured within this time period will be refunded automatically to customers.
You can configure Payment Capture settings on the Razorpay Dashboard. You can choose to:
Handy Tips
Only a Razorpay account owner can configure payment capture settings on the Razorpay Dashboard. Users with other roles are not allowed to configure this setting.
Capture all authorized
payments automatically. This eliminates the time and effort spent manually capturing payments.
Handy Tips
This is the default setting for all customers. If the payments are not captured within the selected time frame, they are automatically refunded.
Watch this video to see how to set up the Automatic Capture option for all payments.
- Log in to the .
- Navigate to the Account & Settings → Capture and refund settings (under Payments and refunds section).
- Click Change 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, 3 days.
- Click Next.
- Click Normal Speed and Save.
Once the payment is created
, you can:
- auto-capture payments that are
authorized
within a certain time period, and - auto refund the payments that are
authorized
after that time period.
You can do this by setting up custom timeouts for automatic capture.
Let us say you only want to auto-capture payments that are authorized
within 3 days of creation, then select the following settings:
Handy Tips
If the payments are not captured within the selected time frame, they are automatically refunded.
Watch this video to see how to set up the Automatic Capture with Timeout option.
- Log in to the .
- Navigate to the Account & Settings → Capture and refund settings (under Payments and refunds section).
- Click Change 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, 3 days.
- Click Next.
- Select Refund Automatically option and click Next.
- Click Normal Speed and Save.
Watch Out!
- Manual Capture settings only apply to payments processed via Razorpay.
- Optimizer will auto capture the payment if the payment is authorised within a certain time period.
- Any payment authorised after that time period (auto capture time period) will be auto refunded.
- Any manual capture time period set on the Razorpay dashboard will not apply to payments processed through payment providers other than Razorpay. Such payments will be automatically captured by default.
Ensuring that you reflect the correct information is crucial because downstream payment providers will mark the payment as successful and settle the amount to your account as per the settlement schedule, even if Optimizer waits for you to manually capture the payment.
Capture values passed in the
take precedence over the Payment Capture settings configured on the Razorpay Dashboard. You can use this to change the capture settings for individual payments.Was this page helpful?