Install any skill in seconds. Free to start, no credit card required.
Get Started Free →Guides building Dodo Payments checkout sessions, payment links, and overlay or inline checkout for one-time and recurring products.
33% 100%+67 ptsof test cases passed
Passed 24 of 24 test cases with the skill, and 8 of 24 without it.
3 of 3 safety checks passed
89 agent runs
Use client.checkoutSessions.create(...) to build hosted checkout pages or overlay checkout modals. This is the recommended path for all new payment integrations.
Dodo Payments offers three ways to collect payment:
| Method | Best For | Setup |
|---|---|---|
| Checkout Sessions (recommended) | Most integrations; full control | Server-side SDK call |
| Static Payment Links | No-code sharing; reusable URLs | Dashboard or direct URL |
| Overlay/Inline Checkout | Checkout stays on your site | Client-side SDK |
Legacy: Dynamic Payment Links created via POST /payments or POST /subscriptions are deprecated. Use Checkout Sessions instead.
Amounts in smallest currency unit: All prices are in cents (or equivalent). A $10 USD charge is 1000.
Checkout Session: A single-use session that generates a hosted checkout URL. Expires after 24 hours (or 15 minutes if confirm=true).
Return URL: Where the customer lands after payment. Query parameters include status=success and session_id.
Entitlement on webhook: The browser redirect is not the source of truth. Always verify payment via webhook before granting access. See webhook-integration skill for verification.
Skills that do similar work, with their benchmark result.
Next to this one in the catalogue, plus more from the same author.