Логотип
Логотип
How to Connect
Scenarios
API Documentation
Support
HomeThrough RBO

Obtaining Tokens Through Online Banking

Getting a refresh_token

  1. Log in to Raiffeisen Business Online and select "Integration with Business Systems" from the left-hand menu.

  2. On the API Orchestrator card, click "Go to section".

  3. Click "Issue Refresh Token".

  4. A form will open on the right. Fill it in and click "Issue".

  5. Once the refresh_token is issued, click "Copy token" and use it in your business system.

Obtaining or refreshing access tokens with a refresh token

To get a new access_token and id_token, send the following request:

cURL
curl --location 'https://sso.rbo.raiffeisen.ru/token' \
--header 'Authorization: Basic {encodeBase64(your_client_id:your_client_secret)}' \
--header 'Content-Type: application/x-www-form-urlencoded' \
--data-urlencode 'client_id={your_client_id}' \
--data-urlencode 'refresh_token={your_refresh_token}' \
--data-urlencode 'grant_type=refresh_token'

The response will contain an updated set of tokens in JSON:

{
    "access_token": "your_new_access_token",
    "refresh_token": "your_new_refresh_token",
    "id_token": "your_new_id_token",
    "token_type": "Bearer"
}
The refresh token is also renewed with each request.