GuidesAPI ReferenceRelease Notes
Log In
Guides

Consent Manager

Understand how Consent Manager tracks consent states and provides APIs for consumers to view and manage their consents.

Consent Manager manages the consent behind each Consumer Data Right (CDR) sharing arrangement, from the accredited data recipient's (ADR's) request through consumer authorisation to withdrawal or the end of the sharing period.

It stores each consent and its current status, together with information supplied by the ADR or by your organisation as the data holder.

Consent lifecycle

When an ADR starts a request, Consent Manager creates a consent from the ADR's Pushed Authorization Request (PAR). It then records the consumer's decision and manages later changes.

Consent request (PAR) → AwaitingAuthorization → Authorized or Rejected → Revoked, AdrBlocked, or end of the sharing period

StatusWhen it applies
AwaitingAuthorizationThe ADR's request has been received and the consumer has not yet completed authorisation.
AuthorizedThe consumer has authorised the sharing arrangement.
RejectedThe consumer declined, or the authorisation journey was abandoned. Record the stage with abandonedByStage – it is required with this status and is used for CDR metrics.
RevokedThe sharing arrangement was withdrawn – by the consumer on your consumer dashboard, or by the ADR.
AdrBlockedAccess is blocked because of the ADR's status.

A consent also stops being usable when its sharing period ends. See Consents for the permitted status changes and the fields required for each.

Sharing arrangements and amendments

Each consent belongs to a sharing arrangement, identified to the ADR by cdr_arrangement_id. When an ADR amends an arrangement, a new consent is created for it. The previous consent is revoked when the first token is issued for the new consent, not when the amendment is authorised.

Capabilities

CapabilityWhat it does
Consent creationCreates a consent from the ADR's PAR before the consumer authorises it
Consent status managementTracks each consent through authorisation, rejection, withdrawal and blocking
Account selectionRecords the accounts the consumer authorised, and lets your organisation enable or disable individual accounts later using supplementaryInformation.accountIdDetails
Structured error handlingReturns defined error codes and messages so your integration can handle rejected or invalid consent operations consistently

Consumer dashboard

🔴

Under the CDR rules, your organisation (the data holder) must provide a consumer dashboard where consumers can view and withdraw their sharing arrangements.

Consent Manager provides the APIs to build the dashboard into your existing web or mobile banking digital channels. Your organisation provides the consumer-facing interface.

When a consumer withdraws a sharing arrangement on your dashboard, Ozone revokes the related consents and notifies the ADR through its CDR arrangement revocation endpoint. You don't need to notify the ADR yourself.

See Consent groups for the sharing arrangement operations used by the dashboard, and Consents for individual consent operations.

Building the dashboard

Dashboard needConsent Manager operation
Sharing arrangements the consumer authorisedGet consents for a user (GET /psu/USERID/consents)
Sharing arrangements authorised by someone else that include the consumer's accounts – for example a joint account holder or a nominated representative of a businessGet consents for an account (GET /accounts/{accountId}/consents), for each of the consumer's accounts
The current and earlier consents of an amended arrangementGet consents in a consent group (GET /consent-groups/{consentGroupId}/consents)
The history of changes to a consentGet consent audit (GET /consents/{consentId}/audit)
Withdrawing an arrangementRevoke consents in a consent group

Joint accounts

Under the CDR rules, a joint account holder can stop – and later restart – data sharing from a joint account in an existing arrangement. The arrangement stays active, and sharing continues from the other accounts in it. The ADR is not involved and the arrangement is not re-authorised.

Record the change with PATCH /consents/{consentId}, using supplementaryInformation.accountIdDetails:

  • Set accountIdstatus to disabled for the joint account to stop sharing. Ozone removes the account from the accounts it shares data from.
  • Set accountIdstatus to enabled to restart sharing. Ozone adds the account back.

The account details stay on the consent, so your dashboard can still show the joint account as inactive, as the CDR Consumer Experience Guidelines require. To apply a change to every arrangement that includes the joint account, find them with GET /accounts/{accountId}/consents and update each one.


Did this page help you?