Authentication

POST {{host}}/identity/v2/oauth2/token

Investec Programmable Banking uses a modified version of the OAuth 2.0 standard by requiring an additional API Key to be added to authentication requests.

Currently the token from the Authentication Request needs to be copied into the environmental variables under token.

Tokens are valid for 30 mins.

Request Body

[{"name"=>"grant_type", "value"=>"client_credentials", "datatype"=>"string"}]

HEADERS

KeyDatatypeRequiredDescription
x-api-keystring
Acceptstring

RESPONSES

status: OK

{"access_token":"uA49zeEuguvDJIjit0FdsjAGLQ64","token_type":"Bearer","expires_in":1799,"scope":"accounts"}