Skip to main content
Authentication with an API key can be done by using a bearer token in the Authorization header. This is done using the following format Authorization: Bearer {token}.
API keys are issued and revoked directly from the creditor portal. Go to the Developer section in the menu, click API, name the API key and select the scopes it needs. The key is only shown once, when it is created. On the same page you will find the tenantId and creditorId used in the API calls.

Scopes

Every endpoint requires a scope, and a key only reaches the endpoints its scopes cover. A scope is an access level and an area joined by a colon:
The access level follows the HTTP method — GET requires read, and every other method requires write. The area is named on each endpoint under Required scope. Grant a key the narrowest set that covers what it does.

Scopes available to a creditor key

A key issued from the creditor portal can hold these scopes, and no others: Registering a direct payment is a case voucher write, so it needs write:case-vouchers rather than a scope of its own. A key is always bound to one creditor, and the endpoints in this reference only ever reach that creditor’s data — its customers, its cases and its settlements.

Sub-areas

Some areas have a sub-area, written with a dot:
A scope grants exactly what it names. write:interactions does not grant write:interactions.create, and write:interactions.create does not grant write:interactions. If a key needs both, give it both.

When a scope is missing

A request made with a key that lacks the required scope is rejected with 401 Unauthorized:
The scopes on an existing key can be changed under Developers → API in the creditor portal without reissuing it.