If you want to test OTO's API and integration in a safe environment before going live, you can create a sandbox account. This allows you to simulate API calls without affecting real data.
Step 1: Create a Sandbox Account
- Visit OTO Sandbox Portal.
- Sign up for a new account using your credentials.
- Once registered, log in to your sandbox account to access API testing features.
Step 2: Get the Refresh Token
After creating your sandbox account, retrieve the refresh token as explained in this guide. This token will be required to authenticate API requests.
Step 3: Use the Staging API URL
In the sandbox environment, the API base URL differs from the production version. Instead of using:
Use the staging API URL:
Everything else in the API integration remains the same, including endpoints and request structures.
Key Notes
- Testing Environment: The sandbox is designed for testing only and does not affect live operations.
- Refresh Token Usage: Ensure you use the correct refresh token from the sandbox account, not the production one.
- API Requests: Use
staging-api.tryoto.com
in all API requests to interact with the test environment.
Was this article helpful?
That’s Great!
Thank you for your feedback
Sorry! We couldn't be helpful
Thank you for your feedback
Feedback sent
We appreciate your effort and will try to fix the article