Skip to main content
POST
Request a token session

Authorizations

X-API-Key
string
header
required

Body

application/json
bypass_identification
boolean
default:false

Skips ID&V during tokenization if set to true

expiration_time
integer

The expiry time is used to specify after how many seconds a Commerce token should be automatically deleted.

This type of tokens is useful for short-lived operations (guest checkout) that require a token to be used only once or for a limited time. Information: If a token is created with an expiration time, no network-token will be provisioned.

Required range: 1 <= x <= 2592000

Response

Success response

session_id
string<uuid>
required

The ID of the session which needs to be used to initialize the SDK.