Ozone Connect Development
Define your Ozone Connect implementation scope, configure authentication, and implement request handling, responses, and deployments.
1. Introduction
Ozone Connect is the integration layer between the Ozone API Platform and your internal systems as the data holder.
Your implementation:
- Maps Ozone Connect requests to operations in your core banking and other internal systems.
- Returns data and service outcomes in the formats defined by the Ozone Connect specification.
- Supports the data in your agreed scope, including accounts, balances, transactions, and public product reference data.
This keeps CDR-specific behaviour, such as ID permanence, endpoint versions and pagination of CDR responses, out of your internal systems and reduces the need for changes to your core applications.
2. Integration checklist
Complete the applicable actions for each environment. Each link leads to the detailed requirements.
| Action | Guidance | Task |
|---|---|---|
| 1 | Application layer authentication | Decide whether to add authentication beyond mutual TLS and implement the selected mechanism. ⚪ Optional: additional security |
| 2 | Mapping exercise | Agree the endpoints and fields in scope and map them to your existing services |
| 3 | Implementation | Build the agreed endpoints, including request handling and success and error responses |
| 4 | Deployments | Deploy your implementation to all applicable environments |
3. Requirements
The following sections explain how to scope, implement, and deploy Ozone Connect.
Use the applicable API specificationsThe API Reference contains the OpenAPI specifications and detailed sequence diagrams for the calls described in this guide.
Select Australia: CDR and the release for your deployment using the market and release selector. See CDR Standard and Versions for the baseline.
3.1 Application layer authentication
Optional: Additional securityApplication layer authentication adds another authentication mechanism to connections already secured by mutual TLS.
Mutual TLS (mTLS) secures Ozone Connect traffic at the transport layer. See Connectivity Setup for its configuration requirements.
You can also configure the following application layer authentication options.
| Option | How it works |
|---|---|
| Disabled | Requests rely on mTLS without additional application layer authentication |
| API key | Your organisation and Ozone use a shared secret. The supported configuration requires validity of at least 12 months, with annual rotation |
| Client credentials grant | Ozone acts as a client of an authorization server managed by your organisation. Access tokens must be valid for at least 12 months, with annual rotation supported. Scopes are agreed during onboarding |
| Service initiation token | Your organisation sets a user-specific access token on a consent. Ozone includes it in the authorization header when calling Ozone Connect for that service. You can rotate it by patching the consent |
| JWT authentication | Ozone signs a JWT using its signing key (Sig3). Your organisation validates the token using Ozone's JWKS and the Ozone-specific authentication profile. See JWT authentication for details. |
Action 1: Configure application layer authentication
- Agree which authentication options, if any, to enable.
- Confirm the credential and token validity, rotation, and scope requirements.
- Implement your side of the selected mechanism.
3.2 Mapping exercise
Before implementation, review the CDR specification alongside the CDR Ozone Connect specification and response mappings.
Work through the endpoints and fields to identify their equivalents in your systems and digital channels. Do not assume that every endpoint and field applies to your deployment.
Use the CDR resource requirements and response mappings to determine the endpoints and fields needed for your products and digital channels.
For example, if consumers can view scheduled payment details in your web banking, map that capability to the corresponding Ozone Connect endpoint. Where your organisation does not offer a capability, confirm whether the CDR requires it before adding it to the implementation scope.
Action 2: Define the implementation scope
- Review the applicable CDR and Ozone Connect OpenAPI specifications and mapping document.
- Identify the endpoints and fields that correspond to your existing products and digital channels.
- Confirm any standard-specific requirements with your Ozone delivery team.
- Record the agreed endpoints and fields as the scope for Action 3.
3.3 Implementation
Implement the endpoints agreed during the mapping exercise.
The following sections explain the request context, resource identifiers, success responses, and error-handling rules your implementation must support.
3.3.1 Request lifecycle
A typical ADR-triggered request follows these steps:
- The accredited data recipient (ADR) calls the Resource Server to request data.
- Ozone checks the access token and associated consent and uses the consent to prepare the Ozone Connect request.
- Your implementation calls the relevant internal systems.
- Your organisation returns a success or error response to Ozone.
- Ozone prepares the ADR-facing response using the HTTP status code and response content.
The diagram below shows a consent-based data request and how responses are handled. Public product reference data does not require a consumer consent.
---
title: Ozone Connect – request lifecycle
---
%%{init: {
"theme": "base",
"themeVariables": {
"lineColor": "#0B1340",
"textColor": "#0B1340",
"actorBkg": "#0B1340",
"actorBorder": "#0B1340",
"actorTextColor": "#FFFFFF",
"actorLineColor": "#C4CBD8",
"signalColor": "#0B1340",
"signalTextColor": "#0B1340",
"noteBkgColor": "#E8F4F6",
"noteBorderColor": "#1C9EB8",
"noteTextColor": "#0B1340",
"labelBoxBkgColor": "#FDEAE5",
"labelBoxBorderColor": "#FD6435",
"labelTextColor": "#0B1340",
"loopTextColor": "#0B1340"
},
"sequence": {
"width": 170,
"height": 46,
"actorMargin": 70,
"messageMargin": 40,
"boxMargin": 12,
"mirrorActors": false
},
"themeCSS": "rect.actor { rx: 23px; ry: 23px; stroke-width: 2px; } .actor-line { stroke: #C4CBD8 !important; stroke-width: 1.5px; } .note { stroke-width: 2px; } .labelBox { stroke-width: 2px; } .messageLine0, .messageLine1 { stroke-width: 1.5px; }"
}}%%
sequenceDiagram
participant TPP as ADR
participant OZ as Ozone API Platform
participant OC as Your Ozone Connect API
participant CORE as Your core systems
rect rgb(246, 247, 251)
Note over TPP,CORE: 1 – What triggers an Ozone Connect call
TPP->>OZ: API request, e.g. GET /accounts
OZ->>OZ: Validate access token and consent
OZ->>OZ: Resolve consumer and consented accounts
OZ->>OC: Ozone Connect request + o3-* headers
end
rect rgb(246, 247, 251)
Note over TPP,CORE: 2 – Inside your implementation
OC->>OC: Verify mTLS and optional application-layer auth
OC->>OC: Read o3-* headers – consent ID, consumer identifier, interaction ID
OC->>CORE: Request scoped to that consumer and consented accounts
CORE-->>OC: Data or service result
OC->>OC: Map result to the Ozone Connect response
end
rect rgb(246, 247, 251)
Note over TPP,CORE: 3 – How Ozone handles your response
alt Success
OC-->>OZ: 2xx + standard payload, with your resource IDs
OZ->>OZ: Transform to the CDR response
OZ-->>TPP: Success response
else Passthrough error
OC-->>OZ: Prescribed status code + errorCode + errorMessage
OZ-->>TPP: Standard error, carrying your errorMessage
else Any other error
OC-->>OZ: Unrecognised error or timeout
OZ-->>TPP: 400 or 500 error
end
end
Notes: Solid arrows show requests; dashed arrows show responses.
3.3.2 Design principles
| Principle | Why it matters |
|---|---|
| Design around successful requests | Keep normal request processing straightforward, with explicit handling for failure conditions |
| Reuse standard response definitions | Keep response structures consistent with the Ozone Connect specification and CDR mappings |
| Use HTTP status codes to identify errors | Allow Ozone to distinguish success and failure and determine the appropriate response |
| Use prescribed error codes where required | Support standard-specific behaviour and Ozone testing tools without unnecessary coupling between implementations |
3.3.3 Request handling
Request headers
Ozone Connect requests use the following headers to identify the data holder, API operation, caller, consent, and consumer.
| Header | Required | Purpose |
|---|---|---|
o3-aspsp-id | Yes | Identifies the data holder targeted by the request |
o3-api-uri | Yes | Parameterised URL of the API being called |
o3-api-operation | Yes | HTTP method: GET, POST, PUT, DELETE, or PATCH |
o3-ozone-interaction-id | Yes | Ozone-generated Interaction ID |
o3-caller-org-id | No | Calling organisation's identifier |
o3-caller-client-id | No | Calling OIDC client's identifier |
o3-caller-software-statement-id | No | Calling software statement's identifier |
o3-consent-id | No | Consent associated with the call |
o3-caller-interaction-id | No | Interaction ID supplied by the original caller |
o3-psu-identifier | Conditional | Base64-encoded consumer identifier object (the psuIdentifiers recorded on the consent). Sent on requests for a consumer's data |
Consumer identifier header (o3-psu-identifier)
The header value is a Base64-encoded JSON object. Decoded, it has the following structure:
| Field | Type | Required | Description |
|---|---|---|---|
userId | string | Yes | The consumer identifier recorded on the consent in psuIdentifiers.userId |
Example header value and its decoded form:
o3-psu-identifier: eyJ1c2VySWQiOiI1ZjNjOWExZS03YjJkLTRlOGEtOWM2MS0yZDRiOGUwZjFhNzMifQ=={
"userId": "5f3c9a1e-7b2d-4e8a-9c61-2d4b8e0f1a73"
}Use the CDR Ozone Connect OpenAPI specification to implement the endpoints, request bodies, and path parameters agreed during mapping.
Resource identifiers
Your organisation defines resource identifiers and returns them consistently through Ozone Connect. For CDR, Ozone applies the ID permanence rules: it transforms your identifiers – such as account, transaction and payee IDs – before exposing them to the ADR, and translates them back for later requests. Follow the field mappings in the CDR API Reference.
How ID permanence affects your implementation:
| Rule | What it means for you |
|---|---|
| Identifiers must have no meaning | Return identifiers that cannot be parsed for other information. Do not build them from account numbers, names or other fields. This also applies to the account IDs and user ID you record on the consent. |
| Identifiers differ for each ADR | Ozone generates the identifiers the ADR sees from your identifier, the ADR's software product and the consenting consumer. The same account has different identifiers for different ADRs. |
| Identifiers are stable | The same consumer and software product always see the same identifier for a resource, across all their arrangements. |
| Joint accounts | Each joint account holder who authorises an arrangement with the same ADR sees a different identifier for the joint account. |
| Business accounts | For a non-individual (business) consumer, set psuIdentifiers.userId to the business customer's identifier, not the nominated representative's. The ADR then sees the same identifiers whichever nominated representative authorises the arrangement. |
The consumer identifier Ozone uses is the psuIdentifiers.userId you record on the consent. Make sure it is correct and never changes for the same consumer.
For example, use the same internal account identifier across Accounts, Balances and Transactions, including requests to /accounts/{accountId}/transactions.
Path parameters are defined in the OpenAPI specification.
3.3.4 Success responses
Return the response body and HTTP status code defined by the endpoint's OpenAPI Response Object.
| Guideline | Purpose |
|---|---|
| Return the applicable data available in your digital channels | Provide a consistent consumer experience across your channels and the CDR API |
| Include other available data supported by the response specification | Support richer services where the data is within the request and consent scope |
| Use the specified success status code | Allow Ozone to process the response correctly and avoid unintended failures |
Return data within the scope of the requested operation and the applicable consent.
3.3.5 Error responses
Ozone Connect distinguishes between passthrough errors and generic errors.
Passthrough errors
These are prescribed errors that your organisation must implement. They cause specific ADR-facing response behaviour, such as 404 for an unavailable account or 422 for an invalid page.
- The combination of the HTTP status code and response
errorCodeidentifies the error. - Ozone passes your
errorMessageto the ADR. Make it clear and meaningful for the recipient.
Generic errors
These cover errors that are not prescribed passthrough errors. For CDR, Ozone handles them as follows:
- A JSON error response with any other
errorCode: the ADR receives 400 with yourerrorMessage. - A 200 response containing
errorCodeanderrorMessage: treated as an error, as above. - Any other HTTP status, a non-JSON response, or a timeout: the ADR receives 500.
See the error handling section of the CDR API Reference for the passthrough error codes and the ADR-facing responses.
| Guideline | Purpose |
|---|---|
| Use the default OpenAPI response format for errors | Allow consistent parsing, logging, auditing, and investigation of non-2xx responses |
Use consistent errorCode values | Make failures predictable and easier to investigate; follow the prescribed passthrough codes where applicable |
| Use the appropriate HTTP error status code | Allow Ozone to interpret the failure correctly. Do not return a 2xx status with an error payload |
Action 3: Implement Ozone Connect endpointsBuild the endpoints agreed during mapping, including:
- Request headers, parameters, and bodies.
- Resource identifiers.
- Success response bodies and status codes.
- Prescribed passthrough errors and generic error responses.
3.4 Deployments
Deploy your Ozone Connect application according to the purpose of each environment.
| Environment | Deployment requirements |
|---|---|
| Staging | Deploy your implementation to every Staging environment used for testing. One Staging environment is provided by default. Validate the complete integration here before go-live |
| Production | Deploy the same implementation version tested in Staging before go-live |
Action 4: Deploy Ozone ConnectDeploy your Ozone Connect application to every applicable Staging environment and to Production, following the testing and approval process.
Updated 7 days ago