Authorization: Bearer {token}.
tenantId and creditorId used in the API calls.
Creditor id
IncludecreditorId as a query parameter on every request, including requests
that already identify a customer, file, webhook or billing in the URL. Use the
creditor id shown alongside your API key in the creditor portal.
creditorId as when creating the customer. The customer id does
not replace it, and a creditorId in the request body does not replace the
query parameter.
If the query parameter is missing or does not match a creditor the API key can
access, the API returns 401 Unauthorized with the message
You do not have access to the requested creditor.
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: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: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 with401 Unauthorized: