Access Keys

Mint an access token

Exchange an OAuth access key for a bearer token by providing its client_id and client_secret in the request body.

post/access-keys/token

Request

Request body

client_idstring required

OAuth access key client ID returned when the access key was created.

client_secretstring required

OAuth access key client secret returned when the access key was created or rotated.

Response

Successfully minted bearer token

access_tokenstring required

Bearer token to include in the Authorization header.

token_typestring required
expires_ininteger required

Token lifetime in seconds.

scopestring

Space-delimited scopes granted to the token.

Example response

{
  "token_type": "Bearer",
  "expires_in": 86400,
  "scope": "merchant:read merchant:write"
}

Changes

No recorded changes to this operation across all 1 revision of this API.