Skip to main content
Redirects the customer to the payment page for a given session ID.
This is the method behind the recommended integration: your backend creates the session with your secret key, and the SDK opens it in the browser. The session ID can come from anywhere — a createSession() call, or your own API.

Parameters

string
required
The session ID to open. Returned by POST /session or by createSession().

Examples

Session created by the SDK

Use this method whenever you need to do something between session creation and redirection — or when the session wasn’t created in the browser at all.