Skip to main content
POST /api/checkout-api/sessions Creates a hosted checkout session and returns the URL to redirect your customer to. Pass either line_items (custom priced items) or product_ids (products from your store, delivered automatically) - not both. Permission: checkout_api
Keys with no permissions at all are accepted by the Checkout API for backwards compatibility.