1. Create a checkout session
Use the merchant API key only from your server:2. Redirect the customer
For hosted checkout, submit the client token toPOST /api/v1/checkout-sessions/{id}/redirect from your server-rendered form or browser handoff. For in-page checkout, pass the session ID and token to the SDK. The token is sent in the request body or SDK configuration and never in the URL.