Generate Access Token
POST/api/token
Generate Access Token
Request
Header Parameters
Content-Type stringrequired
Possible values: [application/json]
- application/json
Body
grant_type stringrequired
Possible values: [client_credentials]
client_id stringrequired
client_secret stringrequired
scopes string[]
Possible values: [USER, PAYMENT_CREATE, CARD_MANAGEMENT, FX, ACCOUNTING, PAYPAL]
Responses
- 200
- 401
- 403
OK - The request was processed successfully.
- application/json
- Schema
- Example (from schema)
Schema
access_token string
expires_in string
token_type string
{
"access_token": "string",
"expires_in": 3600,
"token_type": "Bearer"
}
Unauthorised -- Authentication error.
- application/json
- Schema
- Example (from schema)
Schema
type string
title string
detail string
{
"type": "string",
"title": "string",
"detail": "string"
}
Forbidden -- Access to the requested resource or action is forbidden.
- application/json
- Schema
- Example (from schema)
Schema
type string
title string
detail string
{
"type": "string",
"title": "string",
"detail": "string"
}
Loading...