POST
/
auth
/
client-tokens

Authorizations

Authorization
string
header
required

Basic authentication header of the form Basic <encoded-value>, where <encoded-value> is the base64-encoded string username:password.

Body

application/json
customerId
string

ID of customer

externalUserId
string

An ID generated by the merchant to uniquely identity a user.

identityPrefill
object

If these fields are filled, they will be pre filled into the UI

paymentMethodTypeConfig
object
referenceId
string

Unique id representing a new session, must be regenerated for each call

Response

200 - application/json
clientToken
string

Authentication token returned

expiresAt
string

Timestamp when clientToken will expire