sincecutoff.com
← all changes

Stripe Checkout Sessions and Payment Links support Managed Payments

Introduced 2026-04-22 · score 0.97

HOW TO USE IT

For a repository selling eligible digital products through Checkout Sessions or Payment Links, enable Managed Payments with `managed_payments[enabled]=true` when creating the session or link. Remove parameters Stripe manages automatically; Checkout setup also requires Dashboard enablement, accepted terms, and eligible products.

curl https://api.stripe.com/v1/checkout/sessions -u "<<YOUR_SECRET_KEY>>:" -d "line_items[0][price]={{PRICE_ID}}" -d "line_items[0][quantity]=1" -d "managed_payments[enabled]=true" -d mode=payment --data-urlencode "success_url=https://example.com/success"
curl https://api.stripe.com/v1/payment_links -u "<<YOUR_SECRET_KEY>>" -H "Stripe-Version: 2026-04-22.dahlia" -d "line_items[0][price]={{PRICE_ID}}" -d "line_items[0][quantity]=1" -d "managed_payments[enabled]=true"

WHY THIS HELPS

For a repository integrating Stripe Checkout Sessions or Payment Links to sell digital products, enable Managed Payments when using Stripe’s merchant-of-record service.

REQUIREMENTS AND LIMITATIONS

  • managed_payments (Checkout Sessions and Payment Links): Optional object with Managed Payments settings for the session or link and resulting objects.
  • managed_payments[enabled]: Set to `true` to enable Managed Payments when creating a Checkout Session. The guide documents this parameter for Checkout Sessions.
  • line_items (required): Payment Link items being sold; up to 20 line items.
  • line_items (required): Required for Checkout Sessions in `payment` and `subscription` mode; passes one-time or recurring Prices.
  • mode (required): Checkout Session mode; use `payment` for one-time payments or `subscription` for subscriptions.
  • success_url: URL for customers after payment or setup completes; required conditionally, and unavailable with `embedded_page` or `elements` UI modes.
  • Prerequisite: Checkout integration must create Checkout Sessions in `payment` or `subscription` mode; enable Managed Payments in Dashboard, accept its terms, ensure products meet eligibility requirements, and use API version `2025-03-31.basil` or later.
  • Prerequisite: Set an eligible tax code on each product used with Managed Payments.
  • Prerequisite: The API examples require a Price ID; the docs list creating a Price as a prerequisite.
  • For selling digital products such as SaaS, software, and digital content or downloads.
  • When Managed Payments is enabled, certain parameters related to Connect, tax configuration, and shipping are managed automatically and can't be manually specified.
  • Indirect tax compliance coverage is described as more than 80 countries.

FIRST-PARTY EVIDENCE

Check the installed version and the source before using it. Entry JSON

Report a problem with this card