# Dodo Payments Documentation: English Docs > Documentation for Dodo Payments — the all-in-one payments, billing, and merchant of record platform for SaaS, AI, and digital products. ## Docs ### Getting Started - [Welcome to Dodo Payments](https://docs.dodopayments.com/introduction.md): Dodo Payments is a Merchant of Record for SaaS, AI, and digital products. Sell in 220+ countries while Dodo Payments handles payments, tax, and billing. - [Build with AI Coding Agents](https://docs.dodopayments.com/developer-resources/build-with-ai-coding-agents.md): Install the Dodo Agent Plugin to give your coding agent one MCP server and one skill for building Dodo Payments integrations. - [Migrate to Dodo Payments](https://docs.dodopayments.com/migrate-to-dodo.md): Move your products, customers, discount codes, and license keys from Lemon Squeezy, Stripe, Polar.sh, or Paddle to Dodo Payments. - [Account Verification](https://docs.dodopayments.com/miscellaneous/verification-process.md): Complete account verification to turn on live payments and payouts. Learn which forms you need, how identity and business checks work, and how review works. ### Features - [Products](https://docs.dodopayments.com/features/products.md): Create one-time, subscription, or usage-based products. Manage pricing, media, and automated fulfillment in one place. - [Product Collections](https://docs.dodopayments.com/features/product-collections.md): Group related products together for unified checkout experiences, plan selection, and upgrade/downgrade paths within the Customer Portal. - [One-Time Payments](https://docs.dodopayments.com/features/one-time-payment-products.md): Sell fixed-price digital goods or services with a single upfront charge, no renewals. - [Credit-Based Billing](https://docs.dodopayments.com/features/credit-based-billing.md): Issue, manage, and track credit entitlements across subscriptions, one-time products, and usage-based billing with rollover, overage, and expiration controls. - [Seat-Based Billing](https://docs.dodopayments.com/features/seat-based-billing.md): Implement per-user pricing for team software, SaaS products, and enterprise licenses with flexible seat management and proration. - [Hybrid Billing Models](https://docs.dodopayments.com/features/hybrid-billing.md): Combine multiple billing modes to create sophisticated pricing strategies: subscription + usage, seats + add-ons, base + overage, and more. - [Upsells & Downsells](https://docs.dodopayments.com/features/upsells-and-downsells.md): Increase revenue with one-click purchases using saved payment methods for post-purchase offers, subscription upgrades, and cross-sells. - [Discounts](https://docs.dodopayments.com/features/discount-codes.md): Create promotional codes to drive conversions, run campaigns, and reward customers with percentage or flat-amount discounts across one‑time and subscription purchases. - [Checkout Features](https://docs.dodopayments.com/features/checkout.md): Conversion-optimized, globally compliant checkout with multi-currency, multi-language support, automatic tax calculation, discount codes, add-ons, and smart address collection. - [Single Page Checkout](https://docs.dodopayments.com/features/single-page-checkout.md): Reduce checkout drop-off by collecting contact, billing, and payment details on one page. Turn it on per checkout session or payment link, with no SDK change. - [Design & Theme Customization](https://docs.dodopayments.com/features/design.md): Customize the look and feel of your checkout, storefront, and customer portal from one place. Choose pre-built themes, configure typography and colors, and apply per-section overrides, all with live preview. - [Third-Party Analytics](https://docs.dodopayments.com/features/analytics.md): Track page views and e-commerce events on your Dodo Payments storefront, checkout, and Customer Portal with Google Analytics 4, Google Tag Manager, and Meta Pixel. - [Adaptive Currency](https://docs.dodopayments.com/features/adaptive-currency.md): Display prices in each customer's local currency to reduce friction and improve conversion. Automatic detection, conversion, and same-currency refunds. - [Storefront](https://docs.dodopayments.com/features/storefront.md): Create a branded, mobile-friendly Dodo Payments store that lists your one-time payment and subscription products, with no website to build. - [Affiliates](https://docs.dodopayments.com/features/affiliates.md): Run an affiliate program on Dodo Payments with Affonso, Dub Partners, or Rekomi to track referrals, attribute sales, and calculate affiliate commissions. - [Moderation API](https://docs.dodopayments.com/features/moderation.md): Screen prompts and images before your AI product generates, and get an allow, flag, or deny verdict with a score for 17 content categories. - [Selling Digital Goods on iOS](https://docs.dodopayments.com/features/appstore-digital-goods.md): Sell subscriptions, courses, downloads, and SaaS plans in your iOS app with Dodo Payments hosted checkout, in the App Store regions that allow it. - [Dashboard Analytics](https://docs.dodopayments.com/features/analytics-and-reporting.md): Track revenue, customers, subscriptions, retention, payment success, and recovery in the Dodo Payments dashboard, for your whole business or for one product. - [Reports](https://docs.dodopayments.com/features/reports.md): Reconcile your balance, review every fee, and export payments, adjustments, payouts, and the balance ledger as CSV or XLSX for any date range. #### Subscriptions - [Subscriptions](https://docs.dodopayments.com/features/subscription.md): Recurring billing for SaaS, memberships, and services. Flexible cycles, trials, proration, add-ons, and on-demand charges. - [Add-ons for Subscriptions](https://docs.dodopayments.com/features/addons.md): Attach add-ons to subscriptions for seat-based billing, feature upgrades, and flexible pricing. Customers choose quantities at checkout or via the API. - [On-Demand Subscriptions](https://docs.dodopayments.com/developer-resources/ondemand-subscriptions.md): Dodo Payments on-demand subscriptions let you authorize a payment method once and charge variable amounts whenever you need. Create subscriptions, trigger charges, handle failures, and implement safe retry policies. #### Usage Based Billing - [Usage-Based Billing](https://docs.dodopayments.com/features/usage-based-billing/introduction.md): Charge customers based on what they actually use with flexible metering and automated billing. - [Meters](https://docs.dodopayments.com/features/usage-based-billing/meters.md): Transform raw usage events into billable quantities with aggregation and filtering. - [Event Ingestion](https://docs.dodopayments.com/features/usage-based-billing/event-ingestion.md): Send usage events from your application to track customer consumption and power billing. ##### Ingestion Blueprints - [Ingestion Blueprints](https://docs.dodopayments.com/features/usage-based-billing/ingestion-blueprints.md): Ready-made event ingestion patterns for common use cases with sample code. - [LLM Blueprint](https://docs.dodopayments.com/developer-resources/ingestion-blueprints/llm.md): Track LLM token usage per customer and bill for it in Dodo Payments. Works with AI SDK, OpenAI, Anthropic, OpenRouter, Groq, and Google Gemini. - [API Gateway Blueprint](https://docs.dodopayments.com/developer-resources/ingestion-blueprints/api-gateway.md): Send a usage event to Dodo Payments for each API call your service handles, then bill customers per call with a Count meter. - [Object Storage Blueprint](https://docs.dodopayments.com/developer-resources/ingestion-blueprints/object-storage.md): Track the bytes customers upload to S3, Google Cloud Storage, Azure Blob Storage, or other object storage, and bill them by upload volume. - [Stream Blueprint](https://docs.dodopayments.com/developer-resources/ingestion-blueprints/stream.md): Track the bytes each customer streams for video, audio, live streams, and real-time data transfer, and bill them for bandwidth in Dodo Payments. - [Time Range Blueprint](https://docs.dodopayments.com/developer-resources/ingestion-blueprints/time-range.md): Track elapsed time for compute, serverless functions, containers, and background jobs, and bill customers for runtime in Dodo Payments. #### Customers - [Customer Management](https://docs.dodopayments.com/features/customers.md): View every customer, their payments, subscriptions, and wallet balances in the Dodo Payments dashboard, and manage customer records through the API. - [Customer Portal](https://docs.dodopayments.com/features/customer-portal.md): Let customers manage their subscriptions, payment methods, invoices, and license keys in a hosted portal, without contacting your support team. - [Customer Wallets](https://docs.dodopayments.com/features/customer-wallet.md): Give customers a credit balance. Issue promotional or goodwill credit, refund as credit, and apply balances to future charges. - [Customer Email Logs](https://docs.dodopayments.com/features/email-logs.md): See every transactional email Dodo Payments sent to a customer, check whether it arrived, read the email exactly as it was sent, and send it again. - [Customer Blocklist](https://docs.dodopayments.com/features/customer-blocklist.md): Block a customer to stop future checkouts, cancel their live subscriptions, and make their Customer Portal read-only. Manage the blocklist from Settings or the API. #### Recovery - [Revenue Recovery](https://docs.dodopayments.com/features/recovery/overview.md): Recover revenue lost to failed payments and abandoned checkouts with Dodo Payments' automatic retries, dunning emails, and abandoned cart recovery. - [Abandoned Cart Recovery](https://docs.dodopayments.com/features/recovery/abandoned-cart-recovery.md): Detect abandoned or failed checkouts automatically and send email sequences, with an optional discount, that bring customers back to complete the purchase. - [Subscription Dunning](https://docs.dodopayments.com/features/recovery/subscription-dunning.md): Send email sequences automatically to recover lapsed or cancelled subscriptions, and prompt customers to update their payment method or re-purchase. - [Subscription Payment Retries](https://docs.dodopayments.com/features/recovery/payment-retries.md): Retry failed subscription renewal payments automatically on the standard schedule or on waits you choose, and recover revenue with no integration work. - [Manual Payment Retry](https://docs.dodopayments.com/features/recovery/manual-retry.md): Retry a failed subscription renewal payment on demand from the dashboard or the API instead of waiting for the next automatic retry. #### Transactions - [Payments](https://docs.dodopayments.com/features/transactions/payments.md): Track every payment from the Transactions page. Filter by status, currency, and date, open payment details, download invoices, and start refunds. - [Refunds](https://docs.dodopayments.com/features/transactions/refunds.md): Issue full or partial refunds from the payment details page, track each refund's status, and learn the rules that decide whether a refund can go through. - [Disputes](https://docs.dodopayments.com/features/transactions/disputes.md): View and respond to disputes from the Transactions page, and stop chargebacks before they are filed with Visa RDR, Ethoca alerts, and deflections. #### Entitlements - [Introduction](https://docs.dodopayments.com/features/entitlements/introduction.md): Deliver license keys, downloadable files, feature flags, and access to Discord, GitHub, Telegram, Framer, and Notion automatically when customers pay. - [License Keys](https://docs.dodopayments.com/features/license-keys.md): Issue license keys with activation limits and expiry through the License Key entitlement, then activate, validate, and deactivate them from your software. - [Digital Product Delivery](https://docs.dodopayments.com/features/digital-product-delivery.md): Deliver downloadable files, an external link, and instructions automatically after purchase with the Digital Files entitlement and short-lived presigned URLs. - [Feature Flag Entitlement](https://docs.dodopayments.com/features/entitlements/feature-flags.md): Gate features in your own application off a purchase. Feature flag entitlements deliver a boolean capability on payment and revoke it automatically on cancellation. - [Discord Entitlement](https://docs.dodopayments.com/features/entitlements/discord.md): Add paying customers to your Discord server with an optional role, and remove them automatically when their access ends. - [GitHub Entitlement](https://docs.dodopayments.com/features/entitlements/github.md): Grant customers collaborator access to a private GitHub repository at the permission level you choose, and revoke it automatically on cancellation. - [Telegram Entitlement](https://docs.dodopayments.com/features/entitlements/telegram.md): Add paying customers to a private Telegram group or channel when they subscribe or purchase, and remove them automatically when access ends. - [Framer Entitlement](https://docs.dodopayments.com/features/entitlements/framer.md): Give paying customers the remix link of your Framer template, so they can remix it into their own Framer account after purchase. - [Notion Entitlement](https://docs.dodopayments.com/features/entitlements/notion.md): Copy a Notion template into the customer's Notion workspace when they purchase, after they authorize Dodo Payments with Notion. #### Payouts and Balances - [Payouts Process](https://docs.dodopayments.com/features/payouts/payout-structure.md): Learn how Dodo Payments schedules payouts, applies your minimum payout threshold, deducts fees, and sends your earnings to your linked bank account. - [Balances](https://docs.dodopayments.com/features/account-summary-payout-wallet.md): Track payments, refunds, disputes, fees, taxes, and payouts across your USD, GBP, and EUR wallets with the Balances ledger in Dodo Payments. #### Account Management - [Archiving a Business](https://docs.dodopayments.com/features/archive-business.md): Permanently retire a business you no longer trade under. Check the eligibility requirements, confirm with an emailed code, and see what changes after. - [Transferring Business Ownership](https://docs.dodopayments.com/features/ownership-transfer.md): Make a teammate the Owner of your business. Confirm with an emailed code, and the new Owner accepts the request and completes identity verification. - [Transferring Your Business to a New Entity](https://docs.dodopayments.com/features/entity-transfer.md): Change the legal entity behind your business, such as moving from an individual to a registered company, while you keep receiving payments. - [Multi-Brand Setup](https://docs.dodopayments.com/features/multi-brands.md): Run several brands under one verified business, each with its own name, logo, statement descriptor, and URL, and archive the brands you retire. - [Invoice Management](https://docs.dodopayments.com/features/invoice-generation.md): Dodo Payments generates a branded invoice for every successful payment. Set the name and logo it shows, see what it contains, and download it. - [Team Members](https://docs.dodopayments.com/features/team.md): Invite teammates to your Dodo Payments dashboard with predefined or custom roles, and control what each one can read and change. - [Connected Apps](https://docs.dodopayments.com/features/connected-apps.md): See and revoke the AI assistants, MCP clients, and Dodo CLI sessions connected to your business with OAuth, and control MCP and CLI access per mode. - [Communication Preferences](https://docs.dodopayments.com/features/communication-preferences.md): Choose which payment, payout, refund, subscription, and dispute notifications your team receives by email, in-app, and push, and which emails your customers get. - [My Account](https://docs.dodopayments.com/miscellaneous/accounts.md): Edit your business profile and personal details, change the email you sign in with, and add more businesses to your Dodo Payments account. #### Pricing - [Tax Inclusive Pricing](https://docs.dodopayments.com/features/tax-inclusive-pricing.md): Show final, tax-inclusive prices upfront. Dodo Payments calculates tax by location and breaks it out at checkout and on invoices. - [Pay What You Want Pricing](https://docs.dodopayments.com/features/pay-what-you-want.md): Let customers choose their price above a minimum. Optionally show a suggested price. Optimized for one-time purchases. - [B2B Payments](https://docs.dodopayments.com/features/b2b-payments.md): Collect Tax IDs and business names during B2B checkout. Validate Tax IDs and apply the correct tax treatment for the customer's country. - [Localized Pricing](https://docs.dodopayments.com/features/localized-pricing.md): Set your own fixed price for each currency or country instead of letting exchange rates decide. Charge round, market-tuned prices and run per-country promotions. - [Purchasing Power Parity](https://docs.dodopayments.com/features/purchasing-power-parity.md): Charge less in price-sensitive countries automatically. Set one percentage per country, opt a product in, and Dodo Payments applies it at checkout. - [Charm Pricing](https://docs.dodopayments.com/features/charm-pricing.md): Round converted prices to clean, psychologically-tuned endings like 49.99 automatically, in every currency, without setting a price per market by hand. - [Cart Value Limit](https://docs.dodopayments.com/features/cart-value-limit.md): Understand the maximum cart value a customer can pay in one live checkout, how Dodo Payments enforces it, and how to request a higher limit. #### Payment Methods - [Payment Methods](https://docs.dodopayments.com/features/payment-methods.md): Complete guide to payment methods supported by Dodo Payments, including credit/debit cards, digital wallets, BNPL, UPI/Rupay, European options, and how to configure them for your checkout. - [Credit & Debit Cards](https://docs.dodopayments.com/features/payment-methods/cards.md): Accept major credit and debit card networks worldwide with Dodo Payments. Covers 3D Secure, saved cards, tokenization, test cards, and regional networks. - [Digital Wallets](https://docs.dodopayments.com/features/payment-methods/digital-wallets.md): Accept Apple Pay, Google Pay, Amazon Pay, Cash App Pay, and RevolutPay at checkout. Covers availability, Apple Pay domain verification, and testing. - [Buy Now Pay Later (BNPL)](https://docs.dodopayments.com/features/payment-methods/bnpl.md): Offer Klarna, Afterpay, and Billie so customers can pay over time while the provider pays the full amount upfront. Covers eligibility, minimums, and testing. - [ACH Direct Debit](https://docs.dodopayments.com/features/payment-methods/ach.md): Accept ACH Direct Debit from US customers paying in USD. Learn how bank debits work at checkout, how long they take to clear, and how to test them. - [India Payment Methods](https://docs.dodopayments.com/features/payment-methods/india.md): Accept UPI, Indian-issued cards, and Apple Pay in INR from customers in India. Understand RBI subscription mandates, the 48-hour delay, and mandate limits. - [European Payment Methods](https://docs.dodopayments.com/features/payment-methods/europe.md): Accept iDEAL, Bancontact, EPS, Multibanco, BLIK, SEPA Direct Debit, and Satispay. Learn which currency, country, and billing type each method needs. - [South Korea Payment Methods](https://docs.dodopayments.com/features/payment-methods/south-korea.md): Accept Kakao Pay, Naver Pay, and PAYCO from South Korean customers alongside cards, billed in KRW. Learn about availability, subscriptions, and configuration. - [Asia-Pacific Payment Methods](https://docs.dodopayments.com/features/payment-methods/asia-pacific.md): Accept GCash in the Philippines on one-time payments and subscriptions, and Alipay HK, FPS, and Touch 'n Go on one-time payments, billed in local currency. - [Pix](https://docs.dodopayments.com/features/payment-methods/pix.md): Accept Pix from Brazilian customers on one-time payments and subscriptions billed in BRL. Learn about the QR code flow, Pix Automático mandates, renewal timing, IOF, testing, and configuration. - [Stablecoins](https://docs.dodopayments.com/features/payment-methods/stablecoins.md): Accept stablecoin payments from customers worldwide, except India, on USD checkouts. Learn about supported stablecoins, networks, limits, and configuration. - [WeChat Pay](https://docs.dodopayments.com/features/payment-methods/wechat.md): Accept WeChat Pay from Chinese customers on one-time payments. Learn about USD and CNY billing, the QR code payment flow, testing, and configuration. #### BYOP - [Bring Your Own Processor (BYOP)](https://docs.dodopayments.com/features/byop.md): Connect your own Stripe or Adyen account, route payments to it by customer country, and keep Dodo Payments for subscriptions, invoicing, and analytics. - [Stripe - Connect & Raw Card API Access](https://docs.dodopayments.com/features/byop/stripe.md): Enable raw card data API access on Stripe with the Dodo Payments PCI DSS AOC, then connect your Stripe account to Bring Your Own Processor (BYOP). - [Adyen - Connect & Raw Card API Access](https://docs.dodopayments.com/features/byop/adyen.md): Enable raw card data access on Adyen, then collect the API key, merchant account, and HMAC key to connect Adyen to Bring Your Own Processor (BYOP). ### Integrate - [Dodo CLI](https://docs.dodopayments.com/developer-resources/sdks/cli.md): Manage Dodo Payments resources, query your account with an AI assistant, create checkout sessions, and test webhooks from your terminal with the Dodo CLI. - [Pricing as Code with Terraform](https://docs.dodopayments.com/developer-resources/terraform-provider.md): Manage products, prices, meters, credits, discounts, and webhooks as code with the Dodo Payments Terraform provider, on Terraform or OpenTofu. Review each pricing change in a pull request and apply it from CI. - [Overlay Checkout](https://docs.dodopayments.com/developer-resources/overlay-checkout.md): Open Dodo Payments checkout as a modal on your page. The overlay checkout SDK handles payment collection while your page remains visible behind it. - [Inline Checkout](https://docs.dodopayments.com/developer-resources/inline-checkout.md): Embed Dodo Payments checkout directly into your page layout. The inline checkout SDK renders a secure payment form that matches your page design. - [Billing SDK](https://docs.dodopayments.com/developer-resources/billingsdk.md): Add pricing tables, subscription management, and usage meters to your app, and generate Dodo Payments API routes with the open-source Billing SDK CLI. - [Dodo Payments MCP Server](https://docs.dodopayments.com/developer-resources/mcp-server.md): Connect AI agents to Dodo Payments with one MCP server. Search the docs and SDK, and run TypeScript SDK code against your account in a sandbox. - [Agent Skills](https://docs.dodopayments.com/developer-resources/agent-skills.md): Enhance your AI coding assistants with official Dodo Payments skills for payment integrations, webhook handling, and billing flows. - [Sync with Your Database](https://docs.dodopayments.com/developer-resources/dodo-sync.md): Automatically sync your Dodo Payments data to your own database for analytics, reporting, and integrations. - [Subscription Migration to Dodo Payments](https://docs.dodopayments.com/miscellaneous/subscription-migration.md): Move your existing subscriptions and saved cards from Stripe, Paddle, or another processor to Dodo Payments without asking customers to re-enter their cards. - [Request a Card Data Export](https://docs.dodopayments.com/miscellaneous/card-data-export.md): Move your customers' saved cards from Dodo Payments to your new PCI DSS Level 1 payment processor in an encrypted export, at the account owner's request. #### SDKs - [Official SDKs](https://docs.dodopayments.com/developer-resources/dodo-payments-sdks.md): Official Dodo Payments SDKs for TypeScript, Python, Go, PHP, Java, Kotlin, C#, Ruby, and Rust, plus checkout SDKs for mobile apps. - [TypeScript](https://docs.dodopayments.com/developer-resources/sdks/typescript.md): Use the Dodo Payments TypeScript SDK to create checkout sessions, customers, subscriptions, and usage events from Node.js and other JavaScript runtimes. - [Python](https://docs.dodopayments.com/developer-resources/sdks/python.md): Use the Dodo Payments Python SDK, with sync and async clients, to create checkout sessions, customers, subscriptions, and usage events from Python 3.9+. - [Go](https://docs.dodopayments.com/developer-resources/sdks/go.md): Use the Dodo Payments Go SDK to create checkout sessions, customers, subscriptions, and usage events, with context support, retries, and middleware. - [Ruby](https://docs.dodopayments.com/developer-resources/sdks/ruby.md): Use the Dodo Payments Ruby SDK to create checkout sessions, customers, and subscriptions from Ruby 3.2+, with auto-pagination, retries, and Sorbet types. - [Java](https://docs.dodopayments.com/developer-resources/sdks/java.md): Use the Dodo Payments Java SDK to create checkout sessions, customers, subscriptions, meters, and usage events from Java 8+, with sync and async clients. - [Kotlin](https://docs.dodopayments.com/developer-resources/sdks/kotlin.md): Use the Dodo Payments Kotlin SDK to create checkout sessions, products, subscriptions, and usage events from Kotlin, with nullable types and coroutines. - [PHP](https://docs.dodopayments.com/developer-resources/sdks/php.md): Use the Dodo Payments PHP SDK to create checkout sessions, customers, and subscriptions from PHP 8.1+, with typed value objects, retries, and pagination. - [C#](https://docs.dodopayments.com/developer-resources/sdks/csharp.md): Use the Dodo Payments C# SDK to create checkout sessions, customers, and subscriptions from .NET, with typed models, automatic retries, and pagination. - [Rust](https://docs.dodopayments.com/developer-resources/sdks/rust.md): Use the Dodo Payments Rust SDK, an async client built on Tokio and reqwest, to create checkout sessions, customers, subscriptions, and usage events. #### Mobile Checkout SDKs - [Mobile Integration Guide](https://docs.dodopayments.com/developer-resources/mobile-integration.md): Open Dodo Payments hosted checkout from Android, iOS, React Native, and Flutter apps, customize it for mobile, and run subscription flows. - [Android](https://docs.dodopayments.com/developer-resources/sdks/android.md): Open Dodo Payments hosted checkout from an Android app in a Custom Tab with the official Android SDK, and get a typed checkout result back from one call. - [iOS](https://docs.dodopayments.com/developer-resources/sdks/ios.md): Open Dodo Payments hosted checkout from an iOS app in SFSafariViewController with the official Swift SDK, and get a typed checkout result back from one call. - [React Native](https://docs.dodopayments.com/developer-resources/sdks/react-native.md): Open Dodo Payments hosted checkout from a React Native or Expo app in a system browser view, and get a typed checkout result back from one call. - [Flutter](https://docs.dodopayments.com/developer-resources/sdks/flutter.md): Open Dodo Payments hosted checkout from a Flutter app in a system browser view with the official Flutter package, and get a typed checkout result back from one call. #### Framework Adaptors - [Framework Adaptors Overview](https://docs.dodopayments.com/developer-resources/framework-adaptors.md): Add Dodo Payments checkout, customer portal, and webhook handlers to Next.js, Nuxt, Express, Hono, SvelteKit, Convex, Better Auth, and other frameworks. - [Next.js Adaptor](https://docs.dodopayments.com/developer-resources/nextjs-adaptor.md): Add Dodo Payments checkout, Customer Portal, and webhook route handlers to a Next.js App Router project with the @dodopayments/nextjs package. - [Better Auth Adaptor](https://docs.dodopayments.com/developer-resources/better-auth-adaptor.md): Add Dodo Payments to Better Auth: create customers at sign-up, open checkout sessions and the Customer Portal, record usage, and handle webhooks. - [Convex Component](https://docs.dodopayments.com/developer-resources/convex-component.md): Add Dodo Payments checkout, Customer Portal, and webhook handling to your Convex backend with the @dodopayments/convex component. - [TanStack Adaptor](https://docs.dodopayments.com/developer-resources/tanstack-adaptor.md): Add Dodo Payments checkout, Customer Portal, and webhook server routes to a TanStack Start project with the @dodopayments/tanstack package. - [Nuxt Adaptor](https://docs.dodopayments.com/developer-resources/nuxt-adaptor.md): Add Dodo Payments checkout, Customer Portal, and webhook server routes to a Nuxt 3 app with the @dodopayments/nuxt module and runtime config. - [Express Adaptor](https://docs.dodopayments.com/developer-resources/express-adaptor.md): Add Dodo Payments checkout, Customer Portal, and webhook route handlers to an Express app with the @dodopayments/express adaptor. - [Astro Adaptor](https://docs.dodopayments.com/developer-resources/astro-adaptor.md): Add Dodo Payments checkout, Customer Portal, and webhook endpoints to an Astro project with the @dodopayments/astro package. - [SvelteKit Adaptor](https://docs.dodopayments.com/developer-resources/sveltekit-adaptor.md): Add Dodo Payments checkout, Customer Portal, and webhook route handlers to a SvelteKit app with the @dodopayments/sveltekit package and +server.ts routes. - [Hono Adaptor](https://docs.dodopayments.com/developer-resources/hono-adaptor.md): Add Dodo Payments checkout, Customer Portal, and webhook route handlers to a Hono app with the @dodopayments/hono adaptor. - [Remix Adaptor](https://docs.dodopayments.com/developer-resources/remix-adaptor.md): Add Dodo Payments checkout, Customer Portal, and webhook handlers to Remix loaders and actions with the @dodopayments/remix package. - [Fastify Adaptor](https://docs.dodopayments.com/developer-resources/fastify-adaptor.md): Add Dodo Payments checkout, Customer Portal, and webhook route handlers to a Fastify app with the @dodopayments/fastify adaptor. - [Bun Adaptor](https://docs.dodopayments.com/developer-resources/bun-adaptor.md): Add Dodo Payments checkout, Customer Portal, and webhook handlers to a Bun server built with Bun.serve() using the @dodopayments/bun package. #### Apps - [Build an App](https://docs.dodopayments.com/developer-resources/build-an-app.md): Build an app for the Dodo Payments App Marketplace. Create the app, run the OAuth authorization code flow with PKCE, call the API for each installed business, receive webhooks, and submit the app for review. #### Webhooks - [Webhooks](https://docs.dodopayments.com/developer-resources/webhooks.md): Receive real-time event notifications from Dodo Payments. Set up endpoints, verify signatures, handle retries, and test webhooks during development. - [Webhook Events Guide](https://docs.dodopayments.com/developer-resources/webhooks/intents/webhook-events-guide.md): Reference for all webhook events emitted by Dodo Payments, organized by resource. Each event fires at a specific point in a payment, subscription, dispute, or payout lifecycle. ##### Webhook Payloads - [Payment](https://docs.dodopayments.com/developer-resources/webhooks/intents/payment.md): The payload sent to your webhook endpoint when a payment is created or updated. - [Subscription Webhooks](https://docs.dodopayments.com/developer-resources/webhooks/intents/subscription.md): The payload sent to your webhook endpoint when a subscription is created, updated, or changes state. Handle each event to keep your records in sync. - [Refund](https://docs.dodopayments.com/developer-resources/webhooks/intents/refund.md): The payload sent to your webhook endpoint when a refund is created or updated. - [Dispute Webhooks](https://docs.dodopayments.com/developer-resources/webhooks/intents/dispute.md): The payload sent to your webhook endpoint when a dispute is created or updated. Handle each event to respond to disputes and reconcile your records. - [License Key](https://docs.dodopayments.com/developer-resources/webhooks/intents/license-key.md): The payload sent to your webhook endpoint when a license key is created. - [Entitlement Grant](https://docs.dodopayments.com/developer-resources/webhooks/intents/entitlement-grant.md): The payload sent to your webhook endpoint when an entitlement grant is created, delivered, fails, or is revoked. - [Credit-Based Billing Webhooks](https://docs.dodopayments.com/developer-resources/webhooks/intents/credit.md): The payload sent to your webhook endpoint when credit-based billing events occur — virtual credits granted, consumed, expired, rolled over, or balance alerts. - [Recovery](https://docs.dodopayments.com/developer-resources/webhooks/intents/recovery.md): The payloads sent to your webhook endpoint when abandoned cart recovery or subscription dunning events occur. - [Payout Webhooks](https://docs.dodopayments.com/developer-resources/webhooks/intents/payout.md): The payload sent to your webhook endpoint when a payout is created or changes status. Use these events to reconcile payouts in your accounting systems. ##### Deploy to Cloud - [Vercel Functions](https://docs.dodopayments.com/developer-resources/webhooks/examples/vercel-example.md): Deploy Dodo Payments webhooks to Vercel with signature verification and PostgreSQL storage. - [Cloudflare Workers](https://docs.dodopayments.com/developer-resources/webhooks/examples/cloudflare-example.md): Deploy Dodo Payments webhooks to Cloudflare Workers with signature verification and PostgreSQL storage. - [Supabase Edge Functions](https://docs.dodopayments.com/developer-resources/webhooks/examples/supabase-example.md): Deploy Dodo Payments webhooks to Supabase Edge Functions with signature verification and PostgreSQL storage. - [Netlify Functions](https://docs.dodopayments.com/developer-resources/webhooks/examples/netlify-example.md): Deploy Dodo Payments webhooks to Netlify Functions with signature verification and PostgreSQL storage. #### Workload Identity - [Workload Identity Federation](https://docs.dodopayments.com/developer-resources/workload-identity/overview.md): Call the Dodo Payments API from CI pipelines and cloud workloads without a stored API key. Exchange a short-lived OIDC token from your platform for a short-lived Dodo token. - [Set Up Workload Identity in the Dashboard](https://docs.dodopayments.com/developer-resources/workload-identity/dashboard-setup.md): Create an identity provider and a mapping in the Dodo Payments dashboard, then view and revoke workload tokens and examine the audit events. - [Use Workload Identity with the SDKs](https://docs.dodopayments.com/developer-resources/workload-identity/sdk-usage.md): Configure the Dodo Payments SDKs to exchange a platform OIDC token for a Dodo token and refresh it, or do the exchange yourself with curl. - [Use Workload Identity with the Terraform Provider](https://docs.dodopayments.com/developer-resources/workload-identity/terraform.md): Configure the Dodo Payments Terraform provider with a workload_identity block, so that plan and apply runs need no stored API key. ##### Provider Guides - [Workload Identity for GitHub Actions](https://docs.dodopayments.com/developer-resources/workload-identity/providers/github-actions.md): Call the Dodo Payments API from a GitHub Actions workflow with the GitHub OIDC token, with no API key stored in GitHub secrets. - [Workload Identity for GitLab CI/CD](https://docs.dodopayments.com/developer-resources/workload-identity/providers/gitlab.md): Call the Dodo Payments API from a GitLab CI/CD job with a GitLab ID token, on GitLab.com or a self-managed GitLab instance. - [Workload Identity for HCP Terraform](https://docs.dodopayments.com/developer-resources/workload-identity/providers/terraform-cloud.md): Let HCP Terraform or Terraform Enterprise runs call the Dodo Payments API with a workload identity token, with separate mappings for plan and apply. - [Workload Identity for Google Cloud](https://docs.dodopayments.com/developer-resources/workload-identity/providers/google-cloud.md): Call the Dodo Payments API from Cloud Run, Compute Engine, or GKE with a Google-signed identity token for the service account of the workload. - [Workload Identity for Vercel](https://docs.dodopayments.com/developer-resources/workload-identity/providers/vercel.md): Call the Dodo Payments API from Vercel functions with the Vercel OIDC token, with no API key in your project environment variables. - [Workload Identity for Kubernetes and Amazon EKS](https://docs.dodopayments.com/developer-resources/workload-identity/providers/kubernetes.md): Call the Dodo Payments API from a Kubernetes pod with a projected service account token, on any cluster with a public OIDC issuer, including Amazon EKS. - [Workload Identity for AWS](https://docs.dodopayments.com/developer-resources/workload-identity/providers/aws.md): Call the Dodo Payments API from AWS workloads with a JWT from AWS IAM outbound identity federation, signed for the IAM role of the workload. - [Workload Identity for a Custom OIDC Issuer](https://docs.dodopayments.com/developer-resources/workload-identity/providers/custom-oidc.md): Trust JWTs from any OIDC issuer with an HTTPS URL, through a discovery document or uploaded public keys, and exchange them for Dodo tokens. #### Testing & Demo Tools - [Test Mode vs Live Mode](https://docs.dodopayments.com/miscellaneous/test-mode-vs-live-mode.md): Test mode simulates payments without real charges; live mode processes real transactions. Learn what works in each and how to switch. - [Testing Process](https://docs.dodopayments.com/miscellaneous/testing-process.md): Test your integration with test cards, UPI IDs, BNPL data, and digital wallets. Simulate payments, refunds, and failures without real charges. - [Atlas Demo Product](https://docs.dodopayments.com/features/atlas-demo-website.md): Explore Atlas, an open-source AI art generation demo that runs prepaid credits, credit-based plans, subscriptions, and one-time purchases on Dodo Payments checkout. #### Boilerplates - [Expo Boilerplate](https://docs.dodopayments.com/developer-resources/expo-boilerplate.md): Start an Expo and React Native app that sells a subscription with Dodo Payments hosted checkout, a demo Express backend, and deep-link payment results. - [Supabase Boilerplate](https://docs.dodopayments.com/developer-resources/supabase-boilerplate.md): Clone the Next.js, Supabase, and Dodo Payments subscription starter, with Google sign-in, a Drizzle schema, a webhook Edge Function, and a billing dashboard. - [Figma Plugin](https://docs.dodopayments.com/integrations/figma-plugin.md): Build a paid Figma plugin from an example that validates and activates Dodo Payments license keys before it unlocks your plugin's features. - [Next.js Minimal Boilerplate](https://docs.dodopayments.com/developer-resources/nextjs-boilerplate.md): Clone the Next.js minimal boilerplate to get a pricing page, checkout sessions, a webhook handler, and a Customer Portal link wired to Dodo Payments. - [Astro Minimal Boilerplate](https://docs.dodopayments.com/developer-resources/astro-boilerplate.md): Clone the Astro minimal boilerplate to get a pricing page, checkout sessions, a webhook handler, and a Customer Portal link wired to Dodo Payments. - [FastAPI Boilerplate](https://docs.dodopayments.com/developer-resources/fastapi-boilerplate.md): Clone the FastAPI boilerplate to create checkout sessions, verify webhooks, and open the Customer Portal from a Python backend with the Dodo Payments SDK. - [Go Boilerplate](https://docs.dodopayments.com/developer-resources/go-boilerplate.md): Clone a minimal Go server that creates Dodo Payments checkout sessions, verifies webhooks, and opens the Customer Portal with the dodopayments-go SDK. ### Merchant of Record - [Introduction](https://docs.dodopayments.com/features/mor-introduction.md): Dodo Payments is your Merchant of Record: the legal seller that calculates, collects, and remits sales tax and handles payments and compliance for you. - [MoR vs PG](https://docs.dodopayments.com/features/mor-vs-pg.md): Compare the Merchant of Record (MoR) and Payment Gateway (PG) models for selling globally, and see which tax and compliance tasks Dodo Payments takes on. - [Countries Eligible for Payment Acceptance](https://docs.dodopayments.com/miscellaneous/list-of-countries-we-accept-payments-from.md): The countries and territories, with ISO codes, from which Dodo Payments accepts customer payments for SaaS and digital products. - [Merchant Acceptance Policy](https://docs.dodopayments.com/miscellaneous/merchant-acceptance.md): This policy will help you understand the types of businesses we support, the types we restrict or prohibit, and how we enforce our standards. - [Countries Eligible for Merchant Acceptance](https://docs.dodopayments.com/miscellaneous/accepted-countries-and-territories.md): Full list of countries and territories where Dodo Payments supports merchant accounts and payouts. - [Review & Monitoring Policy](https://docs.dodopayments.com/miscellaneous/review-monitoring-policy.md): How Dodo Payments monitors merchant activity to protect customers, partners, and the payment ecosystem. - [Bypassing App Store & Play Store Fees Using Dodo Payments](https://docs.dodopayments.com/features/bypassing-app-store-fees.md): Where Apple and Google let apps sell digital goods outside in-app purchase, what each option costs, and how Dodo Payments handles web checkout as Merchant of Record. ### Miscellaneous - [Mobile & Desktop Apps](https://docs.dodopayments.com/features/mobile-app.md): Run your Dodo Payments business from the iOS, Android, macOS, Windows, and Linux apps, with the full dashboard, push notifications, and home screen analytics widgets on mobile. - [FAQs](https://docs.dodopayments.com/miscellaneous/faq.md): Answers to common Dodo Payments questions on onboarding, verification, payments, subscriptions, payouts, refunds, webhooks, and technical integration. - [Security Reporting Policy](https://docs.dodopayments.com/miscellaneous/security-policy.md): How to report a security vulnerability in Dodo Payments: what to include in your report, how our team handles it, and the responsible disclosure rules. #### Support Channels - [Help and Support](https://docs.dodopayments.com/miscellaneous/help-support.md): Get help with Dodo Payments from the dashboard support menu: AI chat, the Discord community, chat or email support, and the documentation. - [Feature Request and Roadmap](https://docs.dodopayments.com/features/feature-request.md): Submit feature requests, vote on ideas from other merchants, and follow the Dodo Payments public roadmap on the feedback portal. ## OpenAPI Specs - [openapi.documented](/openapi/openapi.documented.yml)