Skip to main content
POST
Customer Sessions
Customer sessions allow you to create a temporary, authenticated context for a customer. This is commonly used to let customers manage their own payment methods or view their billing history in your application without exposing your Secret Keys.

Authentication

Include your Secret Key in the Authorization header as a Bearer token.

Request Body

customer_email
string
required
The email address of the customer to create a session for.

Response

Returns a session_token which can be used in client-side requests for a limited time (default 30 minutes).

Validate a Session

Check if a session token is still valid.

Revoke a Session

Explicitly terminate a session (Logout).