Skip to main content

Accept Live Payments

You can perform an end-to-end simulation of funds flow in the Test Mode. Once confident that the integration is working as expected, switch to the Live Mode and start accepting payments from customers. However, make sure that you swap the Test API Key with the Live Key. Watch this video to generate an API Key in Live Mode. To generate an API Key in Live Mode:
1

Step 1

Log in to the Dashboard and switch to Live Mode on the menu.
2

Step 2

Navigate to Account & SettingsAPI KeysGenerate Key to generate the API Key for Live Mode.
3

Step 3

Download the keys and save them securely.
4

Step 4

Replace the Test API Key with the Live Key in the Checkout code and start accepting actual payments.

Payment Capture

After payment is authorized, you need to capture it to settle the amount to your bank account as per the settlement schedule. Payments that are not captured are auto-refunded after a fixed time.
Watch Out
  • You should deliver the products or services to your customers only after the payment is captured. Razorpay automatically refunds all the uncaptured payments.
  • You can track the payment status using our Fetch a Payment API or webhooks. Authorized payments can be automatically captured. You can auto-capture all payments using global settings on the Razorpay Dashboard. Know more about capture settings for payments.
Watch Out!Payment capture settings work only if you have integrated with Orders API on your server side. Know more about the Orders API.Each authorized payment can also be captured individually. You can manually capture payments using Payment Capture API or Dashboard. Know more about capture settings for payments.