Get Client Token
Exchange your clientId
and clientSecret
for a clientToken
that can be be used in frontend code. clientToken
will be unusable after the expiresAt
time, which will normally be after 30 min.
To try the request in the mock server on the right, substitute username for clientId and password for clientSecret.
If reference_id
is passed, it will be passed to the Order object upon when the transaction happens. It can then be used as a filter in the /orders endpoint
Authorizations
Basic authentication header of the form Basic <encoded-value>
, where <encoded-value>
is the base64-encoded string username:password
.
Body
ID of customer
An ID generated by the merchant to uniquely identity a user.
If these fields are filled, they will be pre filled into the UI
Unique id representing a new session, must be regenerated for each call