Serving client organizations

If you run identity verification for other organizations, for example as an identity provider or a trust service provider, you can serve them through Nexiel as their intermediary. Each client stays its own organization: its own business verification, its own relying-party identity and registration certificate in its own name, its own trust settings, API keys and metrics. You reach a client only through the permissions it chose to delegate to you, and you can have its usage billed to your own subscription.

How the relationship works

  • You invite one legal entity, named by its trade register country and number, and say which permissions you are asking for and whether its usage should be billed to you.
  • Nexiel returns a one-time invitation token. Give it to the client.
  • The client completes its own business verification with Nexiel, then accepts the invitation in its own dashboard. Acceptance is refused unless the client's verified trade register identity matches the invitation, so nobody can attach an organization to themselves by knowing its company number.
  • Either side can later remove permissions, turn billing roll-up off, or end the relationship. Adding a permission, or turning billing roll-up on, always needs a new invitation the client accepts.
  • A client works through at most one intermediary, and relationships are one level deep: a client cannot itself be an intermediary.
  • Both organizations receive an intermediary.link.created, .updated or .revoked webhook for every change, and every change is recorded in both audit logs.

Delegated permissions

  • metrics:read: The client’s endpoint and verification metrics in your metrics report.
  • billing:read: The client’s billable units in your metrics report.
  • branding:manage: Read and replace the client’s hosted page branding.
  • custom_domains:manage: Add, verify and remove the client’s custom hosted page domains.
  • data_deletion_requests:read: The status of the client’s data deletion requests. Never the requester’s identity, which only the client can decrypt.
  • trust_policies:read: The client’s trust policies and every version.
  • trust_policies:manage: Save and activate trust policy versions for the client, and read them, except a version that lowers a revocation floor. Every change is recorded in your audit log and the client’s.

Anything else stays with the client: its API keys, its relying-party certificates, the issuers it trusts and its verification results. A client that has not delegated a permission, or that works with another intermediary, looks exactly like an organization that does not exist, so you cannot discover other organizations through the API.

Invite a client

Inviting needs your own approved business verification. The token is shown once, and Nexiel stores only its hash.

Create an invitation
curl -X POST https://compliance.nexiel.io/v1/verify/intermediary/invitations \
  -H "Authorization: Bearer $NEXIEL_ACCESS_TOKEN" \
  -H "Content-Type: application/json" \
  -H "Idempotency-Key: invite-example-retail" \
  -d '{
    "childLegalName": "Example Retail Ltd",
    "childRegistryCountry": "IE",
    "childRegistryNumber": "654321",
    "delegatedPermissions": ["metrics:read", "billing:read", "branding:manage"],
    "billingRollup": true
  }'
201 Created
{
  "invitation": {
    "id": "6c3f0b8e-2a41-4d7e-9f1a-0b5c7d2e9a14",
    "childLegalName": "Example Retail Ltd",
    "childRegistryCountry": "IE",
    "childRegistryNumber": "654321",
    "delegatedPermissions": ["billing:read", "branding:manage", "metrics:read"],
    "billingRollup": true,
    "status": "pending",
    "expiresAt": "2026-11-06T10:00:00.000Z",
    "acceptedAt": null,
    "createdAt": "2026-10-23T10:00:00.000Z"
  },
  "token": "nxinv_3q2Zb7mWkA9xYpLf0cTnR8sVdE1uHgJo"
}

Invitations are valid for 14 days. List yours with GET /v1/verify/intermediary/invitations and withdraw one with POST /v1/verify/intermediary/invitations/{invitationId}/revoke. The invitation and client organization lists are paged and filter by status, with the items in data.

Accept an invitation (as the client)

The client can look at an invitation first with POST /v1/verify/intermediary/invitations/preview, which names the intermediary and the permissions. The token travels in the body, never in a URL. A person in the client organization with permission to manage intermediaries then accepts it on the Intermediary page of their dashboard. An invitation is never accepted with an API key, so a leaked integration key cannot hand access to anyone. Acceptance needs the client’s own business verification to be approved, and its trade register identity must match the invitation.

Working with your clients

  • GET /v1/verify/intermediary/children lists your active client organizations and what each delegated.
  • GET /v1/verify/intermediary/parent tells a client which intermediary it works through, if any.
  • POST /v1/verify/intermediary/links/{linkId}/narrow removes permissions (delegatedPermissions) or turns billing roll-up off ("billingRollup": false). Either side may call it.
  • POST /v1/verify/intermediary/links/{linkId}/revoke ends the relationship. Delegated access stops at once and billing returns to the client.
  • With branding:manage and custom_domains:manage you manage a client's hosted page branding and custom domains under /v1/verify/intermediary/children/{childOrganizationId}/. Each change is recorded in the client's own audit log, naming you.
  • With data_deletion_requests:read you see the status of a client's data deletion requests under /v1/verify/intermediary/children/{childOrganizationId}/data-deletion-requests, never the requester's identity.
  • A client's trust policies stay its own and apply only to its own sessions. With trust_policies:read you list and read them under /v1/verify/intermediary/children/{childOrganizationId}/trust-policies. With trust_policies:manage you also save and activate versions there, under the same rules the client has, including its own approved business verification for production. A version that lowers a revocation floor is the client's own risk decision, so you cannot save or activate one, and a refused attempt is recorded in both audit logs. Every change is recorded in the client's audit log and yours, naming your API client, and the version records "createdVia": "intermediary". The client also receives an intermediary.trust_policy.changed webhook. Saving a policy identical to the latest version creates nothing new: the answer is 200 with "created": false and that version, instead of 201. People in your organization with the Admin or Owner role can do the same on the Trust settings page of the dashboard, choosing the client organization at the top of the page: in test mode they see and change the client's test-mode policies, in live mode its live ones.
  • With metrics:read or billing:read, the metrics report includes the client when you ask for scope=children or scope=all, or one client with childOrganizationId.

Every read of a client's data is recorded and rate limited

Each time you read a client's branding, custom domains, data deletion requests, trust policies or metrics, through the API or the dashboard, the read is recorded in the client's audit log and in yours before any data is returned: who read it, which client and what kind of data, never the data itself. A metrics report that covers several clients is recorded once per client it includes. Data deletion requests, trust policies and metrics are kept separately for test and live mode, so a read of them also records which mode was read: a test API key reads the client's test-mode data, a live key its live data, and the dashboard reads the mode its test/live switch shows.

Reads of your clients' data also count against your organization's delegated-read rate limit, shared by all your API keys and your dashboard and separate from each key's own rate limit: a burst of 60 client reads, then one per second. Test mode and live mode have separate limits, so testing an integration never uses up the reads your live traffic depends on. A metrics report counts once for each client it includes, up to the full limit. When the limit runs out the API answers 429 with "error": "delegated_read_rate_limit_exceeded", a Retry-After header and retryAfterSeconds in the body. Your own organization's data and all changes are not delegated reads.

Billing roll-up

With billing roll-up on, and while you hold an active subscription for the product, a client's metered usage is billed to your subscription and Stripe customer, and the client's API access follows your billing status. Who pays is fixed when the usage is recorded: usage from before the relationship, or after it ends, stays with the client. The client's own business verification and any hold on its own account still apply: a client whose verification is not approved cannot use production, whoever pays. Usage is still recorded against the client, so your metrics report shows it per client.

Each client's own relying-party identity

A wallet shows the user the relying party it is sharing data with, never the intermediary. Each client therefore keeps its own relying-party identity and registration certificate in its own name, set up exactly as described in who registers as the relying party. Requests made for a client are signed for that client and carry its registration certificate.

In the SDKs

TypeScript
const { invitation, token } = await verify.intermediary.createInvitation(
  {
    childLegalName: 'Example Retail Ltd',
    childRegistryCountry: 'IE',
    childRegistryNumber: '654321',
    delegatedPermissions: ['metrics:read', 'billing:read'],
    billingRollup: true,
  },
  { idempotencyKey: 'invite-example-retail' },
);
const { links } = await verify.intermediary.listChildren();
Python
created = verify.intermediary.create_invitation(
    child_legal_name="Example Retail Ltd",
    child_registry_country="IE",
    child_registry_number="654321",
    delegated_permissions=["metrics:read", "billing:read"],
    billing_rollup=True,
    idempotency_key="invite-example-retail",
)
children = verify.intermediary.list_children()