
Integrate with Your Coding Agent
安装 Agent Plugin,让您的 coding agent 构建集成。
Start Integrating
安装 SDK、创建 checkout session 并处理 webhooks。
How Merchant of Record Works
Dodo Payments 作为法定销售方承担的事项,以及由您负责的事项。
Dodo Payments 负责的事项
Merchant of Record
Dodo Payments 向您的客户销售产品,然后计算并缴纳每笔销售的税款。
Global Payments
40+ 种支付方式,包括银行卡、数字钱包、银行直接扣款和 BNPL(先买后付)。
Local Currencies
Adaptive Currency 会在结账时以 80 多种本地货币显示价格。
Flexible Billing
支持一次性支付、订阅、按用量计费、按额度计费和按席位计费,并支持附加项。
开始使用
要使用 Dodo Payments 销售产品,您的产品必须符合 Merchant Acceptance Policy,并且您的身份证明文件必须来自符合条件的国家/地区。注册前请确认两项要求均已满足。1
Create Your Account
在 app.dodopayments.com 注册并验证您的电子邮件地址。
2
Add Your First Product
选择与您的收费方式匹配的计费模式。
One-Time Payment
针对下载内容、课程或许可证收取一次费用。
Subscription
针对 SaaS 套餐和会员资格收取周期性费用。
Usage-Based Billing
针对 API 调用或 tokens 等可计量用量收费。
Credit-Based Billing
发放额度,并在客户使用时扣除,同时支持结转和超额用量控制。
Seat-Based Billing
按用户或席位收费;团队增加或移除席位时支持按比例计费。
3
Choose How Customers Check Out
- Payment Links
- Overlay Checkout
- Inline Checkout
- API and SDKs
在控制面板中创建 payment link,然后通过电子邮件、社交媒体或您的网站分享。无需编写代码。
Payment Links
创建静态和动态 payment link。
4
Test Your Integration
在 test mode 中构建,这会模拟支付、退款和失败的交易,而不会转移真实资金。
Test Mode vs Live Mode
每种模式下可执行的操作,以及如何切换模式。
Testing Process
测试 cards、UPI、BNPL、wallets 和 bank debits。
5
Verify Your Account to Go Live
注册后即可设置 live mode。账户通过验证后,live payments 和 payouts 将启用。
Account Verification
所需文件以及审核流程。
使用 AI Coding Agents 构建
要使用 coding agent 集成 Dodo Payments,请安装 Agent Plugin。它会为您的 coding agent 提供两个 MCP servers:一个用于搜索 Dodo Payments 文档,另一个用于执行 API 操作;此外还提供说明如何构建各类集成的 skills。安装后,描述您想要构建的内容即可。Agent Plugin
在 Claude Code、Codex CLI、Cursor、VS Code / GitHub Copilot、Kiro 或 OpenCode 中安装两个 MCP servers 和全部十七个 skills。
Dodo Knowledge MCP
在 Dodo Payments 文档中进行语义搜索。
Dodo Payments MCP
执行创建 payments、管理 subscriptions 和发起 refunds 等 API 操作。
docs.dodopayments.com/llms.txt 中的索引开始。每个页面也都提供 Markdown 版本:将 .md 添加到其 URL 中,例如 /api-reference/introduction.md。
Developer Tools
SDKs
官方 server SDK 提供九种语言版本。TypeScript
Python
Go
PHP
Java
Kotlin
C#
Ruby
Rust
Framework Adaptors
Adaptors 会将 checkout、customer portal 和 webhook handlers 添加到您的 framework 中。Next.js
App Router 中用于 checkout、customer portal 和 webhooks 的 route handlers。
Better Auth
用户注册时创建 customer,并将 checkout 和 customer portal 添加到您的 auth flow 中。
Supabase
一个 Next.js 和 Supabase starter,包含 auth、database schema、webhooks 和 pricing page。
Convex
适用于 Convex backend 的 checkout、customer portal 和 webhook functions。
All Other Framework Adaptors
All Other Framework Adaptors
SvelteKit
Nuxt
Remix
Express
Fastify
Hono
Astro
TanStack
Bun
Mobile Checkout
官方 checkout SDK 可以从 Android、iOS、React Native 和 Flutter 应用打开 hosted checkout,并将结果返回到您的应用。Mobile Integration Guide
每个平台都支持 checkout、subscriptions 和 customization。
Expo Boilerplate
一个使用 TypeScript 处理 checkout 和 payments 的 Expo template。
Dodo CLI
Dodo CLI 可在终端中管理 payments、customers 和 webhooks。它包含交互式 TUI、AI assistant 以及用于本地测试的 webhook listener。要安装它,请运行:Dodo CLI
Commands、TUI 和本地 webhook 测试。
Integrations
Integrations 会将 Dodo Payments 事件发送到您已经使用的工具,例如团队聊天、电子邮件、CRM 和 workflow automation。Framer
将 payments 添加到 Framer 网站。
WooCommerce
在 WooCommerce 商店中接受 payments。
Raycast
从 Raycast 管理 payments。
Figma
在 Figma 中使用 Dodo Payments。
Team Notifications
Team Notifications
Slack
将 payment events 发布到 Slack channels。
Discord
将 payment events 发布到 Discord server。
Microsoft Teams
将 payment events 发布到 Teams channels。
Email
Resend
使用 Resend 发送 transactional email。
SendGrid
使用 SendGrid 发送 email。
Loops
在 Loops 中触发 email sequences。
Customer.io
将 customer data 同步到 Customer.io。
AutoSend
使用 AutoSend 发送 transactional email。
CRM
CRM
Close CRM
将客户和交易同步到 Close。
Automation and Analytics
Automation and Analytics
Zapier
通过 Zapier 将 payment events 连接到其他应用。
n8n
在自托管或云端 n8n 中构建 workflows。
Windmill
在 Windmill 中运行自定义 workflows。
Inngest
在 Inngest 中运行 event-driven functions。
Segment
将 payment events 流式传输到 Segment。
DataFast
将收入归因到 marketing channels。
All Integrations
每个 integration 的设置指南。
获取帮助
Discord Community
提出问题并与其他开发者交流。
Contact Support
通过 support@dodopayments.com 联系支持团队。