sandbox
and production
. It is crucial to understand the purpose and usage of each environment to optimize your integration with Lehjah.
Sandbox Environment
sandbox
is your development and testing playground. It provides a safe space where you can experiment, build, and validate your integration with Lehjah before going live.
Access to the
sandbox
environment can be requested through https://cal.com/lehjah/request-access.sandbox
account will be set up for you. This account includes everything you need to begin development, from embedded components to API endpoints.
The
sandbox
environment base url for API requests is https://sandbox-api.lehjah.com. This is important if you are making requests via API.Production Environment
Once your development and testing are complete in the sandbox environment, you can apply for access to theproduction
environment. The production environment is where your live data and real-world transactions take place.
production
is designed for fully operational and live use. After gaining production access, you’ll receive the necessary credentials to start using Lehjah in a live setting.
The
production
environment base url for API requests is https://api.lehjah.com. This is important if you are making requests via API.Important: Make sure your integration is fully tested and validated in the sandbox before transitioning to production to avoid any disruptions.
API Access and Keys
Upon receiving access to either the sandbox or production environments, you will be provided with two types of keys in your administrator dashboard:public_key
: Primarily used for widget embedding and identification. This key is meant to be shared publicly in your frontend code.secret_key
: Used for making API requests. This key should be kept secure and never exposed publicly.
Security Tip: Never expose your secret key in client-side code or share it publicly. Always keep it stored securely in your backend.
public
and secret
keys are essential for interacting with Lehjah’s APIs and embedding the accounting components into your platform. Make sure to use the correct keys for the appropriate environment (sandbox or production) to avoid any conflicts.
Next Steps
1
Request Sandbox Access
Start by applying for sandbox access if you haven’t already.
2
Test Thoroughly
Use the sandbox environment to test your integration end-to-end.
3
Request Production Access
Once testing is complete, apply for production access and begin live operations.