API Key Types
Yabetoo provides two types of API keys:| Key Type | Prefix | Environment | Purpose |
|---|---|---|---|
| Test Key | sk_test_ | Sandbox | Development and testing |
| Live Key | sk_live_ | Production | Real transactions |
Obtaining Your API Keys
- Log in to your Yabetoo Dashboard
- Navigate to Developers or go directly to app.yabetoo.com/developers
- Copy your test or live API key
Using API Keys
Include your API key in theAuthorization header of every request:
SDK Examples
Security Best Practices
Store Keys Securely
- Use environment variables to store API keys
- Never commit API keys to version control
- Use a secrets manager in production (AWS Secrets Manager, HashiCorp Vault, etc.)
Restrict Key Access
- Only give API keys to team members who need them
- Use different keys for different environments
- Rotate keys periodically
Regenerating API Keys
If you suspect your API key has been compromised:- Go to Developers in your dashboard
- Click Regenerate next to the compromised key
- Update your application with the new key
- The old key will be immediately invalidated
Account ID
Some endpoints require anaccountId parameter. This is your merchant account identifier, found in your dashboard.
For questions about authentication, contact our support team at [email protected]