v1

latestOpenAPI 3.0.02026-07-175989869.3 KB
Advanced authentication

Get Bearer Token

Returns a bearer token that can be used to authenticate other endpoint.

You can find the tutorial on using the disposable bearer token here.

post/auth/api-key

Request body

apiKeystring required

Your account API key. You can use your sandbox API key, or you can use your production API key.

Example request

{
  "apiKey": "9VxMaPgsaFg7EBqmuspSzF7"
}

Response

Success

access_tokenstring

The access token containing security credentials allowing you to acccess the API. The token lasts for one hour.

token_typestring

The type of token you have.

refresh_tokenstring

A token you can use to get the next access token when your current access token expires.

expires_ininteger

Lists the time in seconds when your access token expires. It lasts for one hour.

Example response

{
  "access_token": "est",
  "token_type": "qui nulla l",
  "refresh_token": "cillum",
  "expires_in": 3600
}
All 59 operations