Skip to main content

Consumer Dashboard: Consent API

Availability
FoundationsNot availableEnterpriseIncluded
Available InPlanned: Orion.02

The Consent API is a publicly accessible, OAuth2-secured service that gives a Data Holder's own systems access to a Consumer's CDR Data Sharing Arrangements. Its most common use is a Customer Delivered Consumer Dashboard: a Consumer Dashboard the Data Holder builds and runs itself instead of the Hosted Consumer Dashboard. It replaces the Management API.

Planned for Orion.02

The Consent API is planned for Orion.02. This page and the Consent API specification describe the published contract, so that you can plan and build your dashboard ahead of the release.

Key features include:

  • A clean, published public contract designed specifically for consumer-facing dashboards.
  • OAuth2 machine-to-machine access using a dedicated client, so no credentials are ever exposed to the Consumer's browser.
  • Grounded access. Every call that touches an arrangement names the Consumer it relates to, so a dashboard only ever sees one Consumer's arrangements at a time.
  • Per-operation versioning, so a dashboard can evolve without breaking.
Choosing a dashboard

The Consent API is for Data Holders who build and operate their own Consumer Dashboard. If you prefer a ready-to-deploy, brand-customisable dashboard, use the Biza Consumer Dashboard instead.

Who uses it​

The caller of the Consent API is the Data Holder's backend, not the Consumer. A Consumer is already signed in to the Data Holder's own app or website, and the Data Holder's backend calls the Consent API on their behalf. The Consumer never sees a Biza login or a consent prompt.

Authentication​

The Data Holder's backend authenticates to Biza ID as a dedicated machine-to-machine client using the OAuth2 client_credentials grant. Each operation requires a scope. The scopes for reading and revoking arrangements are:

ScopePurpose
biza-au:haas:consent:readRead a Consumer's profile, accounts and data sharing arrangements.
biza-au:haas:consent:revokeRevoke a data sharing arrangement on a Consumer's behalf.

Further scopes cover notification preferences, secondary users and Disclosure Option Management Service (DOMS) requests. The Scopes and roles reference lists every Consent API scope and the operations each one covers.

The access token authorises the Data Holder over a realm. It does not identify the Consumer. The Consumer is always named in the request path (see Grounding below).

Tokens stay on the backend

The token is requested by, and used by, the Data Holder's backend. It must never reach the Consumer's browser.

See the Security Profile for how a caller connects and authenticates at the network and transport level.

Grounding​

Every call that touches an arrangement is grounded: it names the Consumer in the path. Grounding narrows what a call can see; it never grants access.

  • User view: /{realmName}/user/{userId}/… returns what a single account owner is allowed to see. Results are redacted to that Consumer's own accounts.
  • Principal view: /{realmName}/principal/{principalId}/… returns everything held against one CDR Consumer, unredacted. Use it when a Data Holder needs to present a business or trust's full position.

The Consent API has no cross-user or cross-principal bulk queries, and no userId=ALL style query.

What a Consumer can do​

A Consumer Dashboard built on the Consent API lets a Consumer:

  • See their arrangements: a list of every data sharing arrangement they can see, each showing the recipient, a summary of what is shared, its expiry and its status (ACTIVE, EXPIRED or REVOKED).
  • Review an arrangement in detail: the recipient, the data clusters shared, the accounts the Consumer owns on the arrangement, and when sharing started and ends.
  • View history: how an arrangement reached its current state (created, amended, held, reactivated or revoked).
  • Stop sharing: revoke an arrangement they created.
  • Manage their accounts: notification preferences, Secondary User Instructions and joint account disclosure options.

Dashboard login​

The Consent API does not sign Consumers in. Signing a Consumer in to a dashboard over OAuth2 (Data Holder identity provider login) is a separate authentication capability, OAuth2 Consumer Auth, which will be available in a future Orion release. For prompt-free sign-in from your own digital channels to the Biza-hosted dashboard, see Dashboard SSO.