Create secure, hosted checkout experiences that handle the complete payment flow for both one-time purchases and subscriptions with full customization control.
confirm=true
in your request, the session will only be valid for 15 minutes.Dodo Payments Account
API Credentials
Products Setup
Get the checkout URL
checkout_url
from the API response.Redirect your customer
Handle the return
return_url
with additional query parameters for payment status.product_id
from your Dodo Payments dashboard.Customer Information
confirm
is set to true
, all billing address fields become required for successful session creation.Payment Configuration
credit
, debit
, upi_collect
, upi_intent
, apple_pay
, google_pay
, amazon_pay
, klarna
, affirm
, afterpay_clearpay
, sepa
, ach
credit
and debit
as fallback options to prevent checkout failures when preferred payment methods are unavailable.USD
, EUR
, GBP
, CAD
, AUD
, INR
, and moreExample: "USD"
for US Dollars, "EUR"
for EurosSession Management
UI Customization & Features
Subscription Configuration
confirm
is set to true
, the customer will be taken directly to the checkout page, bypassing any confirmation steps.billing_currency
override only takes effect when adaptive currency is enabled in your account settings. If adaptive currency is disabled, this parameter will have no effect.confirm=true
in your request body.Update your integration
Adjust request payload
That's it!