Base URL


The base URL is the root address for all API calls. Depending on the stage of development or deployment, you will use either the production or sandbox base URL. Ensure you are using the correct base URL to avoid unintended effects, such as affecting live data when testing.

Production Environment ๐Ÿ—ƒ๏ธ:

The production environment is meant for live applications. When your application is ready for deployment and intended for real users, use the production base URL for all API requests.

Sandbox Environment ๐Ÿ—„๏ธ:

The sandbox environment is a testing environment that mirrors the production environment but does not affect live data. Use the sandbox base URL for testing, development, and experimentation to ensure that your application behaves as expected before deploying it to production.

Choosing the Right Environment ๐Ÿ”:

  • Use the production environment for all API calls related to your live application. This environment should be used with real transactions and when your application is being used by actual users.
  • Use the sandbox environment for development, testing, and experimentation. This environment is ideal for trying out new features or making changes to your application without the risk of affecting your live data.

Notes and Best Practices ๐Ÿงพ:

  • Always ensure you are using the correct base URL for your intended environment to prevent data corruption or unintended side effects.
  • Regularly test your application in the sandbox environment before any production deployment.
  • Keep your API keys or authentication credentials separate for each environment to enhance security and prevent accidental access to the production environment.