Confirm a checkout session to finalize the purchase, create a contract, and handle payment processing.
Confirmation modes (confirmation):
Common use cases:
Behavior & requirements:
Related endpoints:
Errors include invalid status transitions, missing customer/payment methods, and contract creation failures.
Documentation Index
Fetch the complete documentation index at: https://docs2.zenskar.com/llms.txt
Use this file to discover all available pages before exploring further.
Schema for confirming a checkout session
This schema defines the parameters for confirming a checkout session, including confirmation type, payment preferences, and redirect behavior.
The confirmation mode that determines how payment will be handled
charge_immediately, charge_when_due, no_payment Whether to return a redirect response instead of a JSON response
Preferred payment method type to use for this transaction
card, bank_transfer, wallet, invoice Optional description to include with the payment
255Optional customer-provided notes for this checkout session
1000Checkout session successfully confirmed
not_started, pending, paid, failed, no_payment_required open, processing, completed, closed, cancelled Final estimation response returned by the estimates API.