How do I create a checkout session?
POST /api/v2/checkout-sessionsto create a session.- Redirect the customer to the returned checkout URL.
- Handle the completion webhook.
- Optionally
GET /api/v2/payment-methodsto display available methods on your site.