Introduction
Before you can integrate any Yabetoo Pay product or solution, you need to configure your development environment to obtain the OAuth 2.0 client identifier and secret credentials for both sandbox and production environments. You exchange these credentials for an access token that authorizes your REST API calls. To test your web and mobile applications, you create sandbox accounts.Obtaining Your API Keys
To generate REST API credentials for the sandbox:- Create an account by clicking here.
- You will then be invited to create a store.
- You will find your API keys in the developer tab.
Keep your API keys secure and never expose them in client-side code. Always
use them on your server-side applications only.
API Key Types
Test Keys
- Purpose: For development and testing
- Environment: Sandbox
- Transactions: No real money processed
- Prefix: Usually starts with
test_
Live Keys
- Purpose: For production transactions
- Environment: Production
- Transactions: Real money processed
- Prefix: Usually starts with
live_
Security Best Practices
Your secret keys can perform any action on your account. Treat them like
passwords: - Never share them publicly - Don’t include them in client-side
code - Use environment variables to store them - Rotate them regularly -
Monitor their usage
Environment Variables
Store your keys securely using environment variables:Code Example
Making REST API Calls
Once you have your API keys, you can start making authenticated requests to the Yabetoo API. Include your secret key in the Authorization header:Next Steps
Create Your First Checkout
Start accepting payments with our hosted checkout pages
API Integration Guide
Build custom payment flows with our REST API
Need Help?
If you encounter any issues obtaining your API keys or have questions about authentication:- Check our API Reference for detailed documentation
- Contact our developer support team
- Visit our testing guide for sandbox usage tips