Implement Ozone Connect direct debit endpoints for CDR data sharing, including request handling, endpoint support and response mapping guidance.
Use the Direct Debits APIs to return direct debit authorizations (permissions to collect payments from an account) for accounts covered by the consumer's consent under the Consumer Data Right (CDR).
This page explains which endpoints you implement and how Ozone handles requests. Use the endpoint references for parameters, required headers and response schemas, and the Direct debits response mapping for field requirements and conversions.
Ozone Connect endpoints
Your organisation implements the following Ozone Connect (OC) endpoints for Ozone to call.
| OC endpoint | Method and path | Requirement | Purpose |
|---|---|---|---|
| Get Bulk Direct Debits | GET /direct-debits | Mandatory | Return direct debit authorizations for the supplied account IDs. Also serves single-account requests when the individual endpoint is not implemented. |
| Get Direct Debits for Account | GET /accounts/{accountId}/direct-debits | Optional | Return direct debit authorizations for a single account. |
Implement the bulk endpoint,
GET /direct-debits. The individual endpoint,GET /accounts/{accountId}/direct-debits, is optional.
When an accredited data recipient (ADR) requests direct debit authorizations for a single account, Ozone calls your individual Ozone Connect endpoint if you have implemented it. Otherwise, Ozone calls your bulk endpoint and returns only the direct debit authorizations for the requested account.
CDR endpoint support
Ozone uses your Ozone Connect responses to serve the following CDR endpoints.
| CDR endpoint | Method and path | Supported endpoint versions |
|---|---|---|
| Get Bulk Direct Debits | GET /banking/accounts/direct-debits | V1–V2 |
| Get Direct Debits for Account | GET /banking/accounts/{accountId}/direct-debits | V1 |
CDR endpoint versions are separate from the CDR standard version and the Ozone platform release version.
Request handling
For GET /direct-debits, accountIds contains a comma-separated list of internal account identifiers within the consumer's consent. Return direct debit authorizations only for accounts listed in this parameter.
- Apply the requested
product-category,open-statusandis-ownedfilters. - Use the requested
pageandpage-sizeparameters to return the requested page of results. - If you cannot retrieve direct debit authorizations for some requested accounts, return the authorizations you can retrieve for the remaining accounts.
- If you find no direct debit authorizations, return HTTP
200with an emptydataarray.
Related resources
- Direct debits response mapping – field requirements and conversions to CDR responses.
- Get Bulk Direct Debits – bulk endpoint reference.
- Get Direct Debits for Account – individual endpoint reference.
- Accounts – use the same account identifiers.
See Ozone Connect implementation for the mapping exercise and implementation process.