All requests made to the Open Banking API requires an access token. Access tokens are valid for one hour.
An access token belongs to a certain product and scope only. See the information of the variable
SCOPE in the section "Variables and constants used in this guide" below.
Variables and constants used in the guide
|AUTH_HOST||The token URL. For production, use |
|CLIENT_ID||The Client ID of the application you created in the Developer Portal.|
|CLIENT_SECRET||The secret that was generated when you created an application. If you did not save that value, you need to generate a new secret.|
|SCOPE||The scope is a combination of private/corporate scope and API scope, separated with a space. For example, an access token for making requests to the AIS API for private accounts has |
accessToken = response.data.access_token;