Implement the Ozone Connect customer endpoint for CDR data sharing, including request handling, consumer summaries, contact details and response mapping guidance.
Use the Consumer API to return information about the person or organisation who authorized data sharing under the Consumer Data Right (CDR).
This page explains which endpoint you implement and how Ozone handles requests. Use the endpoint reference for parameters, required headers and response schemas, and the Consumer response mapping for field requirements and conversions.
Ozone Connect endpoints
Your organisation implements the following Ozone Connect (OC) endpoint for Ozone to call.
| OC endpoint | Method and path | Requirement | Purpose |
|---|---|---|---|
| Get Customer | GET /customer | Mandatory | Return information about the consumer identified by the consent. Serves both CDR Get Customer and Get Customer Detail. |
Implement
GET /customer.
Ozone uses the same Ozone Connect response for both CDR customer endpoints. For Get Customer, Ozone returns the basic consumer fields. For Get Customer Detail, Ozone also returns contact details – phone numbers, email addresses and physical addresses.
CDR endpoint support
Ozone uses your Ozone Connect responses to serve the following CDR endpoints.
| CDR endpoint | Method and path | Supported endpoint versions |
|---|---|---|
| Get Customer | GET /common/customer | V1 |
| Get Customer Detail | GET /common/customer/detail | V2 |
CDR endpoint versions are separate from the CDR standard version and the Ozone platform release version.
Request handling
Use the consumer identifier in the o3-psu-identifier header to find and return the consumer. Your organisation sets this identifier on the consent when the consumer authorizes data sharing.
- Return either
personororganisationdetails, according to the consumer type. - If you find no consumer, return HTTP
200with an emptydataobject.
Related resources
- Consumer response mapping – field requirements and conversions to CDR responses.
- Get Customer – endpoint reference.
- Consents – record the consumer identifier during consent authorization.
- Data sharing diagram – the end-to-end consent and data-sharing flow.
See Ozone Connect implementation for the mapping exercise and implementation process.