Skip to content

REST API v2. Authenticate with a Bearer JWT in the Authorization header unless an endpoint is marked public.

Servers​

https://v2-staging.tscheckout.comCurrent host

Authorization Token​


Generate a JWT token from a username and password​

POST
/api/v2/auth-token

Authorizations​

bearerAuth
Type
HTTP (bearer)

Request Body​

application/json
JSON
{
  
"login": "string",
  
"password": "string"
}

Responses​

Playground​

Authorization
Body

Samples​


Generate a JWT token from a username and password​

POST
/api/v2/auth-token/request-token

Authorizations​

bearerAuth
Type
HTTP (bearer)

Request Body​

application/json
JSON
{
  
"login": "string",
  
"password": "string"
}

Responses​

Playground​

Authorization
Body

Samples​


Check validity of an authorization token​

GET
/api/v2/auth-token/check

Authorizations​

bearerAuth
Type
HTTP (bearer)

Responses​

Playground​

Authorization

Samples​


Powered by VitePress OpenAPI