Dodo Best Practices
Ensures payments adhere to industry best practices and regulatory guidelines, minimizing risk and maximizing compliance.
Install on your platform
We auto-selected Claude Code based on this skill’s supported platforms.
Run in terminal (recommended)
claude mcp add dodo-best-practices npx -- -y @trustedskills/dodo-best-practices
Or manually add to ~/.claude/settings.json
{
"mcpServers": {
"dodo-best-practices": {
"command": "npx",
"args": [
"-y",
"@trustedskills/dodo-best-practices"
]
}
}
}Requires Claude Code (claude CLI). Run claude --version to verify your install.
About This Skill
What it does
This skill provides integration with Dodo Payments, an all-in-one platform for managing payments, billing, subscriptions, and distribution. It allows AI agents to interact with Dodo Payments' API to create products (one-time, subscription, or usage-based), manage credit entitlements (custom units or fiat currency), initiate checkout sessions for payment collection, and receive real-time updates via webhooks. The skill supports TypeScript/JavaScript, Python, Go, and PHP programming languages.
When to use it
- Automating the creation of new products in your Dodo Payments account.
- Managing subscription statuses and handling customer billing cycles.
- Responding to payment events (success or failure) through automated webhooks.
- Integrating Dodo Payments into applications requiring recurring billing or usage-based pricing models.
- Retrieving information about existing products, credit entitlements, or checkout sessions.
Key capabilities
- Product Management: Creation of one-time, subscription, and usage-based products.
- Credit Entitlement Configuration: Management of custom unit and fiat currency credits with rollover, overage, and expiration settings.
- Checkout Session Initiation: Creating checkout sessions to collect payments from customers.
- Webhook Handling: Receiving real-time updates for events like payment success/failure, subscription activation/cancellation, and refunds.
- SDK Support: Provides SDKs for TypeScript/JavaScript, Python, Go, and PHP.
Example prompts
- "Create a new subscription product in Dodo Payments with ID 'premium_plan' priced at $10 per month."
- "What is the status of checkout session [session ID]?"
- "Retrieve all products from my Dodo Payments account."
- “Configure a webhook to notify me when a payment fails.”
Tips & gotchas
- You must have an active Dodo Payments account and API key.
- Always refer to the official Dodo Payments documentation (docs.dodopayments.com) for the most up-to-date API reference and code examples.
- Environment variables
DODO_PAYMENTS_API_KEYandDODO_PAYMENTS_WEBHOOK_SECRETare required for authentication.
Tags
TrustedSkills Verification
Unlike other registries that point to live repositories, TrustedSkills pins every skill to a verified commit hash. This protects you from malicious updates — what you install today is exactly what was reviewed and verified.
Security Audits
| Gen Agent Trust Hub | Pass |
| Socket | Pass |
| Snyk | Pass |
🌐 Community
Passed automated security scans.