Skip to content
Last updated

This quickstart will guide you through getting a user's account information through the Open Banking channel of the API.

Prerequisites

Before you begin, make sure you have read Getting Started guide. You'll also need a CLIENT_ID, CLIENT_SECRET, TENANT_ID& SUBSCRIPTION_ID.

Step 1: Gain access token

Use the CLIENT_ID and CLIENT_SECRET which you can obtain by contacting your contact person at Aritma. For more information about authentication and token flows, see the Aritma ID documentation.

curl -i -X POST https://id.dev.aritma.io/<TENANT_ID>/connect/token \
    -H "Content-Type: application/x-www-form-urlencoded" \
    -d grant_type=client_credentials \
    -d client_id=$CLIENT_ID \
    -d client_secret=$CLIENT_SECRET \
    -d scope=api
{
  "access_token": "<token>",
  "expires_in": 3600,
  "token_type": "Bearer",
  "scope": "api"
}

The response will contain your access token, which will be used in the authorization header for all subsequent requests.

Authorization: Bearer <token>

To access a user's or company's bank accounts, transactions and payments, you first need to create a consent.

Note

Navigate to onboarding for more information

Step 3: Retrieve bank account nformation

Step 4: Retrieve Transactions