Integration Quickstart Guide
Refer to the comprehensive guide for setting up your first API call efficiently.
SDKs & Libraries
Use our official SDKs for TypeScript, Python, Go, and more.
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: 100 requests per minute per API key
- Burst: Up to 10 requests per second
- Webhooks: 1000 deliveries per minute
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.