v1

latestOpenAPI 3.0.02026-07-2352269214.0 KB
JWT authentication

Create access token

Generates a JWT access token using client credentials for Web SDK calls.

post/auth/accessToken

Headers

authorizationstring required

Technical identifier pre-defined at on-boarding that identifies the API consumer. Format shall be the string 'APIKEY' followed by a space and the api key value. </br> Example: APIKEY c03f88fe-01ba-11e8-ba89-0ed5f89f718b

x-correlation-idstring required

Technical identifier used for troubleshooting. </br>It helps on customer support when needed. </br>Each API request must be identified with a unique correlation Id. </br>It correlates the response and the request and eventually a notification if any.

Request body

merchantIdstring required

Identifier of the merchant provided by Thales at on-boarding.

tokensTokenId[] required

The list of tokens to be associated with the JWT, only Mastercard and Visa tokens allowed, all the tokens must belong to the same merchant

scope'PAYMENT_PASSKEY' required

Scope used for the access token generation

Response

Access token successfully generated

accessTokenstring required

Access token generated for WEB SDK calls, JWT content:

  • exp
  • iss
  • iat
  • aud
  • sub
  • trId
  • scope