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.
grant_typeGrantType (string)required
It is used in token requests to specify the type of authorization grant being utilized. The acceptable values are:
client_credentials
: client credentials grant typerefresh_token
: refresh token grant typeurn:ietf:params:oauth:grant-type:token-exchange
: token exchange grant typepassword
: resource owner password (or "password") grant type
Possible values: [client_credentials
, refresh_token
, urn:ietf:params:oauth:grant-type:token-exchange
, password
]
Example:
client_credentials
TokenRequest
{
"grant_type": "client_credentials"
}