Groups and subsidiaries
When your group runs institutions in several jurisdictions, each one is its own institution on Notabene, with its own DID, customers, transfers and webhook endpoint. A parent institution links them in the Notabene network, and an API credential on the parent can act as any of them.
Parent institution and subsidiaries
A group has one parent institution and its subsidiaries. Each subsidiary is a regular institution with a jurisdiction, while the parent has no jurisdiction and holds no licence of its own. The dashboard calls the parent “group entity” under My Organization and “Parent organization” under API Credentials.
Notabene works out the parent’s DID from a subsidiary’s DID by removing the jurisdiction, so institutions can share a parent only when they share a domain and a suffix.
ProductionDrops the jurisdiction
A subsidiary’s DID
did:web:example.
The DID of its parent
did:web:example.
Production, with a suffixKeeps the suffix
A subsidiary’s DID
did:web:example.
The DID of its parent
did:web:example.
SandboxDrops the random part
A subsidiary’s DID
did:web:examplecom-4f2a9.
The DID of its parent
did:web:examplecom.
| Account | A subsidiary’s DID | The DID of its parent |
|---|---|---|
| Production | did:web:example.com:pt | did:web:example.com |
| Production, with a suffix | did:web:example.com:payments:pt | did:web:example.com:payments |
| Sandbox | did:web:examplecom-4f2a9.sandbox.notabene.id:pt | did:web:examplecom.sandbox.notabene.id |
Once linked, your subsidiaries show nested under the parent in Network › Directory, where each keeps its own status, and a credential on the parent can reach them. Nothing else moves between institutions. Notabene does not redirect transfers from the parent to its subsidiaries, so each institution receives its own transfers and keeps its own customers, policies and webhook endpoint.
Setup
You set up a group in the dashboard, signed in as each institution in turn. Creating and linking take the Group Admin role, which whoever registers an institution holds from the start.
- Register each institution. Sign up one institution per jurisdiction, as described in Create your account, with an email address on the same domain. To add one while signed in, open the organization switcher at the top of the dashboard and choose Add New Organization.
- Create the parent. Signed in as your first institution, open My Organization › My Organization, where the Profile tab shows “No group entity yet”. Choose “Create and set as group entity”, enter a name that is not taken on the Notabene network, and choose the same button again. You become Group Admin of the parent, and this institution becomes its first subsidiary.
- Link the other institutions. Signed in as each of them, the same tab shows “We found a likely group entity for your organisation”. Choose “Link as group entity” and then Confirm, which takes Group Admin on both that institution and the parent.
To take an institution out of the group, sign in as it and choose “Unlink from group entity” on the same tab. It becomes standalone again, with no data deleted and no transfers moved.
People sign in to one institution at a time and see only the institutions they are a member of, so invite your team to each one under Settings › Teams.
Organization IDs
Every institution has an organization ID that starts with org_, and a token request names it to say which institution the token acts as. To find them, sign in as the parent and go to Developers › API Credentials.
The THIS ORGANIZATION card shows the parent’s ID, and the Organizations menu lists the parent and each subsidiary with their IDs. The settings of a credential list the subsidiaries’ IDs as well.
API credentials
A group can hold its credentials in two ways, and you can mix them, because each institution can hold up to 3 credentials of its own.
| A credential on the parent | A credential on each institution | |
|---|---|---|
| Where you create it | Signed in as the parent, with subsidiary access on | Signed in as that institution |
| What it acts as | The parent and every subsidiary it can reach | That institution only |
| Its token request | Names the institution in organization | Needs no organization |
| When it fits | One backend serves the whole group | Separate teams or systems run each institution, so one secret reaches one institution |
| A credential on the parent | A credential on each institution | |
|---|---|---|
| Where you create it | Signed in as the parent, with subsidiary access on | Signed in as that institution |
| What it acts as | The parent and every subsidiary it can reach | That institution only |
| Its token request | Names the institution in organization | Needs no organization |
| When it fits | One backend serves the whole group | Separate teams or systems run each institution, so one secret reaches one institution |
A credential on the parent
Signed in as the parent, choose Create API Credentials. In API Client Settings, tick “This app can access subsidiary organizations”, and REACHABLE SUBSIDIARIES lists the institutions the credential can reach. Leave it unticked for a credential that should act only as the parent.
Choose Create credential and store the client secret straight away, because it is shown only once. The credential’s row then carries a Subsidiary Access badge.
To change an existing credential, open the settings icon on its row, change the box and choose Save. A credential does not pick up a subsidiary you link later by itself, so save its settings again after you link a new one.
A credential on each institution
Signed in as the institution, choose Create API Credentials, and the credential is created straight away, bound to that institution. Its token requests work as described in Authentication.
Tokens for each institution
An access token acts as one institution, so a credential on the parent needs one token for each institution it acts as. Send the same request as in Authentication, with the institution’s ID in organization.
curl https://auth.notabene.id/oauth/token \ --header 'Content-Type: application/json' \ --data '{ "client_id": "YOUR_CLIENT_ID", "client_secret": "YOUR_CLIENT_SECRET", "grant_type": "client_credentials", "audience": "https://sandbox.notabene.id", "organization": "org_Yq2mT8vKd4NxRb7L" }'const response = await fetch('https://auth.notabene.id/oauth/token', { method: 'POST', headers: { 'Content-Type': 'application/json', }, body: JSON.stringify({ "client_id": "YOUR_CLIENT_ID", "client_secret": "YOUR_CLIENT_SECRET", "grant_type": "client_credentials", "audience": "https://sandbox.notabene.id", "organization": "org_Yq2mT8vKd4NxRb7L" }), }); const answer = response.status === 204 ? null : await response.json();import requests response = requests.post( 'https://auth.notabene.id/oauth/token', json={ "client_id": "YOUR_CLIENT_ID", "client_secret": "YOUR_CLIENT_SECRET", "grant_type": "client_credentials", "audience": "https://sandbox.notabene.id", "organization": "org_Yq2mT8vKd4NxRb7L" }, ) answer = None if response.status_code == 204 else response.json()
What to replace
YOUR_CLIENT_ID: The client ID of the credential on your parent institutionYOUR_CLIENT_SECRET: The client secret, shown once when you created the credentialorg_Yq2mT8vKd4NxRb7L: The organization ID of the institution this token acts as
{
"access_token": "eyJhbGciOiJSUzI1NiIs",
"expires_in": 86400,
"token_type": "Bearer"
}curl https://auth.notabene.id/oauth/token \
--header 'Content-Type: application/json' \
--data '{
"client_id": "YOUR_CLIENT_ID",
"client_secret": "YOUR_CLIENT_SECRET",
"grant_type": "client_credentials",
"audience": "https://sandbox.notabene.id",
"organization": "org_Yq2mT8vKd4NxRb7L"
}'const response = await fetch('https://auth.notabene.id/oauth/token', {
method: 'POST',
headers: {
'Content-Type': 'application/json',
},
body: JSON.stringify({
"client_id": "YOUR_CLIENT_ID",
"client_secret": "YOUR_CLIENT_SECRET",
"grant_type": "client_credentials",
"audience": "https://sandbox.notabene.id",
"organization": "org_Yq2mT8vKd4NxRb7L"
}),
});
const answer = response.status === 204 ? null : await response.json();import requests
response = requests.post(
'https://auth.notabene.id/oauth/token',
json={
"client_id": "YOUR_CLIENT_ID",
"client_secret": "YOUR_CLIENT_SECRET",
"grant_type": "client_credentials",
"audience": "https://sandbox.notabene.id",
"organization": "org_Yq2mT8vKd4NxRb7L"
},
)
answer = None if response.status_code == 204 else response.json(){
"access_token": "eyJhbGciOiJSUzI1NiIs",
"expires_in": 86400,
"token_type": "Bearer"
}Without organization, the token acts as the parent. A request that names an organization the credential cannot reach answers 400 with invalid_request, and no token is issued.
Keep one token per institution, renew each as described in Authentication, and send each call with the token of the institution it belongs to. To check which institution a token acts as, call GET /api/v1/identity, which answers with that institution’s DID.
curl https://sandbox.notabene.id/api/v1/identity \ --header 'Authorization: Bearer YOUR_ACCESS_TOKEN'const response = await fetch('https://sandbox.notabene.id/api/v1/identity', { method: 'GET', headers: { Authorization: 'Bearer YOUR_ACCESS_TOKEN', }, }); const answer = response.status === 204 ? null : await response.json();import requests response = requests.get( 'https://sandbox.notabene.id/api/v1/identity', headers={'Authorization': 'Bearer YOUR_ACCESS_TOKEN'}, ) answer = None if response.status_code == 204 else response.json()
{
"did": "did:web:example.com:pt",
"document": {
"@context": [
"https://www.w3.org/ns/did/v1"
],
"id": "did:web:example.com:pt"
}
}curl https://sandbox.notabene.id/api/v1/identity \
--header 'Authorization: Bearer YOUR_ACCESS_TOKEN'const response = await fetch('https://sandbox.notabene.id/api/v1/identity', {
method: 'GET',
headers: {
Authorization: 'Bearer YOUR_ACCESS_TOKEN',
},
});
const answer = response.status === 204 ? null : await response.json();import requests
response = requests.get(
'https://sandbox.notabene.id/api/v1/identity',
headers={'Authorization': 'Bearer YOUR_ACCESS_TOKEN'},
)
answer = None if response.status_code == 204 else response.json(){
"did": "did:web:example.com:pt",
"document": {
"@context": [
"https://www.w3.org/ns/did/v1"
],
"id": "did:web:example.com:pt"
}
}Updated 2 days ago



