POST
/
oauth
/
token
curl --request POST \
  --url https://bank.domain.com/v1/oauth/token \
  --header 'Authorization: Basic <encoded-value>' \
  --header 'Content-Type: application/x-www-form-urlencoded' \
  --data 'grant_type=<string>' \
  --data 'client_id=<string>' \
  --data 'client_secret=<string>'
{
  "access_token": "<string>",
  "expires_in": 123,
  "token_type": "<string>"
}

Authorizations

Authorization
string
header
required

Basic authentication header of the form Basic <encoded-value>, where <encoded-value> is the base64-encoded string username:password.

Body

application/x-www-form-urlencoded
grant_type
string
client_id
string
client_secret
string

Response

200 - application/json
Token fetched
access_token
string
expires_in
integer
token_type
string