TokenRequest
Token Request
by which a client application requests an access token from the Paysafe authorization server. This request includes the authorization grant obtained from the resource owner, and specific parameters mandated by the OAuth 2.0 protocol.
-
client_credentials
: client credentials grant type -
refresh_token
: refresh token grant type -
urn:ietf:params:oauth:grant-type:token-exchange
: token exchange grant type -
password
: resource owner password (or "password") grant type - CLIENT_CREDENTIALS
- REFRESH_TOKEN
- TOKEN_EXCHANGE
- PASSWORD
grant_type
string
required
Possible values: [CLIENT_CREDENTIALS
, REFRESH_TOKEN
, TOKEN_EXCHANGE
, PASSWORD
]
It is used in token requests to specify the type of authorization grant being utilized. The acceptable values are:
The scope of the requested access token. Can be used to restrict the new access token to a subset of the scope allowed to the client and token type.
The refresh_token
previously provided to the client.
The scope of the requested access token. Can be used to restrict the new access token to a subset of the scope allowed to the client and token type.
A security token that represents the identity of the party on behalf of whom the request is being made.
The scope of the requested access token. Can be used to restrict the new access token to a subset of the scope allowed to the client and token type.
Unique identifier assigned to individual users or devices, used to create their digital identity.
The username that is assigned to the user's account.
The password that is associated with the user's account.
The scope of the requested access token. Can be used to restrict the new access token to a subset of the scope allowed to the client and token type.
Unique identifier assigned to individual users or devices, used to create their digital identity.