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_
Restrict a Key to IP Addresses
A live secret key (sk_live_) can be limited to a list of IP addresses. A call coming from any other address is refused with 403 and the code E_IP_NOT_ALLOWED.
- Open the developer tab of the dashboard, the key’s menu, Allowed IPs.
- Enter one IP address or CIDR per line (IPv4 or IPv6, 20 entries at most).
- Confirm the operation (security verification).
- An empty list allows every address.
- Test keys and publishable keys are not affected.
- The change applies within 5 minutes at most: until then the previous list may still apply.
- Check your servers’ outbound address before saving, an incorrect list blocks your disbursements.
Security Best Practices
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