Authentication

Checking Account's APIs are based on the OAuth 2 protocol, specifically, with client_credentials flow.

To get started, go to First Steps and register the Checking Account APIs you want to use.

Generating API access key

To make requests to the Checking Account APIs, it is necessary to generate an access key (access_token) through a request on the token generation endpoint Gerando Access Tokens..

The validity of the access key is obtained from the expires_in object, in seconds.

It is necessary for the partner to manage the access key to ensure that all requests to the Checking Account APIs will be made using a valid key.

Generating token

To generate the token, follow the instructions:

  1. With the API Key, API Secret and Scope prepare an HTTP POST request to the endpoint Gerando Access Tokens.;
  2. In Body, use the values retrieved from the application to fill in the parameters below:
    1. client_id with client_id value;
    2. client_secret with client_secret value;
    3. scope with a value equal to the scope obtained from the credentials;
    4. grant_type with value equal to client_credentials;
  3. Make the request and obtain the access_token.

📝

Note:

The access_token obtained when generating the token must be used in other requests to the Checking Account APIs.