Skip to main content
POST
Payments - Session token

Authorizations

Authorization
string
header
required

Format: publishable-key=<publishable-key>,client-secret=<client-secret>

Publishable keys are a type of keys that can be public and have limited scope of usage. Client Secret provide temporary access to singular data, such as access to a single customer object for a short period of time. This authentication scheme is used by the SDK.

Path Parameters

payment_id
string
required

The identifier for payment

Body

application/json

The body is of type object.

Response

Payment session object created or session token was retrieved from wallets

payment_id
string
required

The identifier for the payment

session_token
object[]
required

The list of session token object

vault_details
object | null

Top-level vault details returned in the session-tokens response. For v1: contains both internal vault (SDK authorization) and external vault details. For v2: contains only external vault details.