SDKs & Libraries
Accelerate your integration by using official SDKs for TypeScript, Python, Go, PHP, Java, Kotlin, C#, Ruby, and React Native. These libraries simplify API requests, authentication, and error handling, letting you focus on building great payment experiences.
Environment URLs
- Test Mode:
https://test.dodopayments.com - Live Mode:
https://live.dodopayments.com
Learn more about Test Mode vs Live Mode.
API Key Management and Authentication
1
Access API Keys
Navigate to Developer → API Keys in your dashboard to manage your keys.
2
Generate a New Key
Select Add API Key, provide a descriptive name, and generate your key.
3
Store Your Key Securely
Copy the generated key immediately and ensure it is stored securely.
4
Authenticate Your API Requests
Use your API keys to authenticate all requests. Apply the following authorization format:
Never expose your secret API keys in client-side code or public repositories.
Response Format
Rate Limits
- Standard: 1000 requests per minute per business
- Burst: Up to 100 requests per second
Monitor
X-RateLimit-Remaining header to track usage.Error Handling
To effectively manage errors, consult the Error Codes and Transaction Failures sections for detailed guidance.Error Codes
Delve into comprehensive error details and their resolutions.
Transaction Failures
Gain insights into common transaction issues and their solutions.
Webhooks
Receive real-time notifications about payment events. See our Webhook Guide for setup instructions.Webhook Guide
Set up webhooks for real-time notifications and event handling.