👤How to authenticate against the Investec API
Last updated
https://openapi.investec.com/identity/v2/oauth2/token{
"access token": "qwertyuiop123456789",
"token_type": "Bearer",
"expires_in": "1799",
"scope": "accounts",
}curl --location 'https://openapi.investec.com/identity/v2/oauth2/token' \
--header 'x-api-key: <<your api_key>>' \
--header 'Accept: application/json' \
--header 'Content-Type: application/x-www-form-urlencoded' \
--header 'Authorization: [[Authorization-masked-secret]]' \
--data-urlencode 'grant_type=client_credentials'