Hosted checkout is the fastest integration. Your server creates a session, then submits its short-lived client token to the redirect endpoint. Zahlo owns payment-method interaction, sensitive fields, redirect flows, and responsive payment UI.

Server endpoint

Submit the client token only to the session redirect endpoint. Do not construct a hosted URL from an ID, put a client token in a query string, or reuse an expired session.

Return and confirmation

Your success, failure, and cancellation pages are presentation endpoints. Read the session ID from your own state, retrieve authoritative status on the server, and show a pending result when confirmation has not arrived. Fulfill from a verified event, not from the return URL.

Customize the page

Use session appearance, locale, method configuration, return URLs, and merchant checkout settings. Hosted checkout can use the same branding contract as in-page checkout; see Customize checkout. Register a signed webhook endpoint before going live so delayed or asynchronous payment confirmation reaches your server.