checkoutSession

HTTP method: POST

The checkoutSession method creates a checkout session for the current customer's basket grouping all available payment methods. The session should be reused for different payment methods until the payment is not finalized.

Checkout session is used to improve fraud detection and help maximize conversion rate.