Get access token
Query parameters
-
Client ID
-
Client secret
-
Grant Type
-
code string
Code
-
redirect_uri string
Redirect URI
-
refresh_token string
Refresh Token
GET
/api/v1/oauth/token
curl \
-X GET https://iban.nash.io/api/v1/oauth/token?client_id=Au2eAE4dM0TSpx1s1Vfhcw%3D%3D&client_secret=kCN1OeTxeP52j%2F0HQvGQ2w%3D%3D&grant_type=authorization_code
Response examples (200)
{
"access_token": "9ba8842ddb07c445147cade4225770a8bbb535e467a817c9b36c2e6696ef3adb",
"expires_in": 7200,
"refresh_token": "f93586cea9931c50f5e91de830e1d7f9f461c2bc079aabd9ab9b6c77026cc844",
"scope": "aisp",
"token_type": "bearer"
}
Response examples (200)
{
"scope": "aisp",
"expires_in": 7200,
"token_type": "bearer",
"access_token": "9ba8842ddb07c445147cade4225770a8bbb535e467a817c9b36c2e6696ef3adb",
"refresh_token": "f93586cea9931c50f5e91de830e1d7f9f461c2bc079aabd9ab9b6c77026cc844"
}