GuidesAPI ReferenceRelease Notes
Log In
API Reference

Direct debits

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 endpointMethod and pathRequirementPurpose
Get Bulk Direct DebitsGET /direct-debitsMandatoryReturn direct debit authorizations for the supplied account IDs. Also serves single-account requests when the individual endpoint is not implemented.
Get Direct Debits for AccountGET /accounts/{accountId}/direct-debitsOptionalReturn 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 endpointMethod and pathSupported endpoint versions
Get Bulk Direct DebitsGET /banking/accounts/direct-debitsV1–V2
Get Direct Debits for AccountGET /banking/accounts/{accountId}/direct-debitsV1

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-status and is-owned filters.
  • Use the requested page and page-size parameters 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 200 with an empty data array.

Related resources

See Ozone Connect implementation for the mapping exercise and implementation process.