Available in🇮🇳 India🇸🇬 Singapore🇺🇸 United States
The Razorpay Sandbox environment allows you to test your integration without using real money. It is a crucial step before going live with your Razorpay integration.
Steps
Follow these steps to set up the sandbox environment.Generate API Keys
Generate API Keys
Follow these steps to generate API keys.
Use Sandbox URL & Client Libraries
Use Sandbox URL & Client Libraries
The base URL for the Razorpay Sandbox and production API is the same -
https://api.razorpay.com/v1/. In case of certain APIs, it is https://api.razorpay.com/v2.For testing APIs in the sandbox environment, use the test API keys.Go live
Go live
After testing is complete, generate Live API keys from the dashboard. Ensure to replace the Test API keys in your integration with the Live API keys before going live. You can accept real money payments using the Live API Keys.