Commonwealth Bank Accounts API API

Obtain the list of accounts authorised to be shared by the customer. Account API is a consumer API. To access data you'll need the customer's consent.Host URLCommBank requests are passed to the URL https://secure.api.commbank.com.au/api/cds-au/v1/bankingCBA – CommBiz requests are passed to the URL https://secure.cdr.commbiz.api.commbank.com.au/cbzapi/cds-au/v1/banking

Operations 2

GET /accounts Get Accounts #
GET /accounts/{accountId} Get Account Detail #

Work with this as data

Every API here is available over the APIs.io API and to AI agents over MCP.

MCP server

One button, every client — Claude, Cursor, VS Code and the rest.

https://apis.io/mcp

Tools for apis

7 MCP tools reach this
  • find_apisBrowse and filter every API in the catalog.
  • get_api_artifactsOne API's artifacts, grouped by type.
  • get_openapiThe primary OpenAPI for this API.
  • find_similar_apisAPIs that look like this one.
  • apis_io_searchSTART HERE — APIs, providers and tags for one query, each with its total.
  • resolveTurn a domain, URL or GitHub org into the provider it belongs to.
  • find_cohortsEvery scored population of providers in the catalog.
All 92 tools →

Call it yourself

curl for this page
This API
curl "https://apis.io/api/v1/apis/commonwealth-bank-accounts-api-api"
All apis
curl "https://apis.io/api/v1/apis?limit=25"

Discovery needs no key. Ratings and market analysis are Pro.

Get an API key

Free tier, no form to fill in. Signing in shares your email address with us — we store it to create your key and to recognise you if you sign in with another provider. See our Privacy Policy and Terms.

A second provider on the same verified email joins the account you already have.

OpenAPI Specification

commonwealth-bank-accounts-api-api-openapi.yml Raw ↑
openapi: 3.2.0
info:
  version: '1.0'
  title: CommBank Accounts Accounts API
  description: "Obtain the list of accounts authorised to be shared by the customer. \n\nAccount API is a consumer API. To access data you'll need the customer's consent.</p><h3 style=\"margin-top:30px;\">Host URL</h3><p>CommBank requests are passed to the URL <span class=\"sc-1noysbl-9 JKaaQ\">https://secure.api.commbank.com.au/api/cds-au/v1/banking</span></p><p>CBA – CommBiz requests are passed to the URL <span class=\"sc-1noysbl-9 JKaaQ\">https://secure.cdr.commbiz.api.commbank.com.au/cbzapi/cds-au/v1/banking</span></p>"
  x-provenance: First-party CommBank OpenAPI (Swagger 2.0) harvested verbatim from the CommBank developer portal. These are Commonwealth Bank's own renderings of its CDR / Open Banking Consumer Data Standards endpoints.
  x-source-url: https://www.commbank.com.au/developer/Documentation/specification/Accounts
  x-doc-url: https://www.commbank.com.au/developer/documentation/Accounts
  x-harvested: '2026-07-21'
servers:
- url: https://secure.api.commbank.com.au/api/cds-au/v1/banking
tags:
- name: Accounts API
  description: "Obtain the list of accounts authorised to be shared by the customer. \n\nAccount API is a consumer API. To access data you'll need the customer's consent.</p><h3 style=\"margin-top:30px;\">Host URL</h3><p>CommBank requests are passed to the URL <span class=\"sc-1noysbl-9 JKaaQ\">https://secure.api.commbank.com.au/api/cds-au/v1/banking</span></p><p>CBA – CommBiz requests are passed to the URL <span class=\"sc-1noysbl-9 JKaaQ\">https://secure.cdr.commbiz.api.commbank.com.au/cbzapi/cds-au/v1/banking</span></p>"
paths:
  /accounts:
    get:
      tags:
      - Accounts API
      summary: Get Accounts
      description: Obtain a list of accounts
      operationId: listAccounts
      parameters:
      - name: product-category
        in: query
        description: Used to filter results on the productCategory field applicable to accounts. If absent then all accounts returned.
        required: false
        schema:
          type: string
          enum:
          - TRANS_AND_SAVINGS_ACCOUNTS
          - TERM_DEPOSITS
          - TRAVEL_CARDS
          - REGULATED_TRUST_ACCOUNTS
          - RESIDENTIAL_MORTGAGES
          - CRED_AND_CHRG_CARDS
          - PERS_LOANS
          - MARGIN_LOANS
          - LEASES
          - TRADE_FINANCE
          - OVERDRAFTS
          - BUSINESS_LOANS
      - name: open-status
        in: query
        description: Used to filter results according to open/closed status. If absent then ALL is assumed
        required: false
        schema:
          type: string
          enum:
          - OPEN
          - CLOSED
          - ALL
          default: ALL
      - name: is-owned
        in: query
        description: Filters accounts based on whether they are owned by the authorised customer.  True for owned accounts, false for unowned accounts and absent for all accounts
        required: false
        x-cds-type: Boolean
        schema:
          type: boolean
      - $ref: '#/components/parameters/ParamPage'
      - $ref: '#/components/parameters/ParamPageSize'
      - $ref: '#/components/parameters/ParamXVHeader'
      - $ref: '#/components/parameters/ParamXMinVHeader'
      - $ref: '#/components/parameters/ParamXFapiInterationId'
      - $ref: '#/components/parameters/ParamXFapiAuthDate'
      - $ref: '#/components/parameters/ParamXFapiCustomerIpAddress'
      - $ref: '#/components/parameters/ParamXCdsClientHeaders'
      responses:
        '200':
          description: Success
          headers:
            x-v:
              description: Version of the API end point that the data holder has responded with.
              schema:
                type: string
            x-fapi-interaction-id:
              description: Reflects the value of the Interaction ID in the request.
              schema:
                type: string
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ResponseBankingAccountList'
        '400':
          description: Bad Request
          headers:
            Content-Type:
              description: Payload format responded with.
              schema:
                type: string
            x-v:
              description: Version of the API end point responded with.
              schema:
                type: integer
            x-fapi-interaction-Id:
              description: Reflects the value of the Interaction ID in the request.
              schema:
                type: string
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ErrorResponse400'
        '406':
          description: Not Acceptable
          headers:
            Content-Type:
              description: Payload format responded with.
              schema:
                type: string
            x-v:
              description: Version of the API end point responded with.
              schema:
                type: integer
            x-fapi-interaction-Id:
              description: Reflects the value of the Interaction ID in the request.
              schema:
                type: string
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ErrorResponse406'
        '422':
          description: Unprocessable Entity
          headers:
            Content-Type:
              description: Payload format responded with.
              schema:
                type: string
            x-v:
              description: Version of the API end point responded with.
              schema:
                type: integer
            x-fapi-interaction-Id:
              description: Reflects the value of the Interaction ID in the request.
              schema:
                type: string
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ErrorResponse422'
        '500':
          description: Internal Server Error
          headers:
            Content-Type:
              description: Payload format responded with.
              schema:
                type: string
            x-v:
              description: Version of the API end point responded with.
              schema:
                type: integer
            x-fapi-interaction-Id:
              description: Reflects the value of the Interaction ID in the request.
              schema:
                type: string
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ErrorResponse500'
      x-scopes:
      - bank:accounts.basic:read
      x-version: '1'
  /accounts/{accountId}:
    get:
      tags:
      - Accounts API
      summary: Get Account Detail
      description: Obtain detailed information on a single account
      operationId: getAccountDetail
      parameters:
      - name: accountId
        in: path
        description: A tokenised identifier for the account which is unique but not shareable
        required: true
        x-cds-type: ASCIIString
        schema:
          type: string
      - $ref: '#/components/parameters/ParamXVHeader'
      - $ref: '#/components/parameters/ParamXMinVHeader'
      - $ref: '#/components/parameters/ParamXFapiInterationId'
      - $ref: '#/components/parameters/ParamXFapiAuthDate'
      - $ref: '#/components/parameters/ParamXFapiCustomerIpAddress'
      - $ref: '#/components/parameters/ParamXCdsClientHeaders'
      responses:
        '200':
          description: Success
          headers:
            x-v:
              description: Version of the API end point that the data holder has responded with
              schema:
                type: string
            x-fapi-interaction-id:
              description: Reflects the value of the Interaction ID in the request.
              schema:
                type: string
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ResponseBankingAccountById'
        '400':
          description: Bad Request
          headers:
            Content-Type:
              description: Payload format responded with.
              schema:
                type: string
            x-v:
              description: Version of the API end point responded with.
              schema:
                type: integer
            x-fapi-interaction-Id:
              description: Reflects the value of the Interaction ID in the request.
              schema:
                type: string
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ErrorResponse400'
        '406':
          description: Not Acceptable
          headers:
            Content-Type:
              description: Payload format responded with.
              schema:
                type: string
            x-v:
              description: Version of the API end point responded with.
              schema:
                type: integer
            x-fapi-interaction-Id:
              description: Reflects the value of the Interaction ID in the request.
              schema:
                type: string
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ErrorResponse406'
        '422':
          description: Unprocessable Entity
          headers:
            Content-Type:
              description: Payload format responded with.
              schema:
                type: string
            x-v:
              description: Version of the API end point responded with.
              schema:
                type: integer
            x-fapi-interaction-Id:
              description: Reflects the value of the Interaction ID in the request.
              schema:
                type: string
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ErrorResponse422'
        '500':
          description: Internal Server Error
          headers:
            Content-Type:
              description: Payload format responded with.
              schema:
                type: string
            x-v:
              description: Version of the API end point responded with.
              schema:
                type: integer
            x-fapi-interaction-Id:
              description: Reflects the value of the Interaction ID in the request.
              schema:
                type: string
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ErrorResponse500'
      x-scopes:
      - bank:accounts.detail:read
      x-version: '1'
components:
  schemas:
    Meta:
      type: object
    ResponseBankingAccountList:
      type: object
      required:
      - data
      - links
      - meta
      example:
        data:
          accounts:
          - accountId: EAMJfk-nntZqz6Wi_hV2cLISlJKgknoeBy3NuqSM-Ag
            displayName: SHELBA  BRIEN
            openStatus: OPEN
            isOwned: false
            maskedNumber: xxx-xxx xxxxx6924
            productCategory: TRANS_AND_SAVINGS_ACCOUNTS
            productName: Smart Access
          - accountId: RwIEKEz1m9Q6nfCk_hQvLLIXxMejxytKUyHM6vjYrVg
            displayName: IFW AUTO MATION
            openStatus: OPEN
            isOwned: false
            maskedNumber: xxx-xxx xxxxx7530
            productCategory: TRANS_AND_SAVINGS_ACCOUNTS
            productName: Smart Access
          - accountId: QlRQcUeizdJrzf-u_kF9K7FCzZGixntEXXzKuPiEowY
            displayName: IFW AUTO MATION
            openStatus: OPEN
            isOwned: false
            maskedNumber: xxx-xxx xxxxx7557
            productCategory: TRANS_AND_SAVINGS_ACCOUNTS
            productName: Smart Access
        links:
          self: https://secure.api.commbank.com.au/api/cds-au/v1/banking/accounts
          first: https://secure.api.commbank.com.au/api/cds-au/v1/banking/accounts?page=1&page-size=25
          last: https://secure.api.commbank.com.au/api/cds-au/v1/banking/accounts?page=1&page-size=25
        meta:
          totalRecords: 3
          totalPages: 1
      properties:
        data:
          $ref: '#/components/schemas/ResponseBankingAccountList_data'
        links:
          $ref: '#/components/schemas/LinksPaginated'
        meta:
          $ref: '#/components/schemas/MetaPaginated'
    BankingProductLendingRateV2:
      type: object
      required:
      - lendingRateType
      - rate
      properties:
        lendingRateType:
          type: string
          description: The type of rate (fixed, variable, etc). See the next section for an overview of valid values and their meaning
          enum:
          - BUNDLE_DISCOUNT_FIXED
          - BUNDLE_DISCOUNT_VARIABLE
          - CASH_ADVANCE
          - DISCOUNT
          - FLOATING
          - INTRODUCTORY
          - MARKET_LINKED
          - PENALTY
          - PURCHASE
          - VARIABLE
          - FIXED
        rate:
          type: string
          description: The rate to be applied
          x-cds-type: RateString
        comparisonRate:
          type: string
          description: A comparison rate equivalent for this rate
          x-cds-type: RateString
        calculationFrequency:
          type: string
          description: The period after which the rate is applied to the balance to calculate the amount due for the period
          x-cds-type: ExternalRef
        applicationFrequency:
          type: string
          description: The period after which the calculated amount(s) are 'applied' to the account
          x-cds-type: ExternalRef
        interestPaymentDue:
          type: string
          description: When loan payments are due to be paid within each period
          enum:
          - IN_ADVANCE
          - IN_ARREARS
        repaymentType:
          type: string
          description: Options in place for repayments
          enum:
          - INTEREST_ONLY
          - PRINCIPAL_AND_INTEREST
        loanPurpose:
          type: string
          description: The reason for taking out the loan
          enum:
          - OWNER_OCCUPIED
          - INVESTMENT
        tiers:
          type: array
          description: Rate tiers applicable for this rate
          items:
            $ref: '#/components/schemas/BankingProductRateTierV3'
        additionalValue:
          type: string
          description: Generic field containing additional information relevant to the [lendingRateType](#tocSproductlendingratetypedoc) specified. Whether mandatory or not is dependent on the value of [lendingRateType](#tocSproductlendingratetypedoc)
        additionalInfo:
          type: string
          description: Display text providing more information on the rate.
        additionalInfoUri:
          type: string
          description: Link to a web page with more information on this rate
          x-cds-type: URIString
      x-conditional:
      - additionalValue
    LinksPaginated:
      type: object
      required:
      - self
      properties:
        self:
          type: string
          description: Fully qualified link that generated the current response document
          x-cds-type: URIString
        first:
          type: string
          description: URI to the first page of this set. Mandatory if this response is not the first page
          x-cds-type: URIString
        prev:
          type: string
          description: URI to the previous page of this set. Mandatory if this response is not the first page
          x-cds-type: URIString
        next:
          type: string
          description: URI to the next page of this set. Mandatory if this response is not the last page
          x-cds-type: URIString
        last:
          type: string
          description: URI to the last page of this set. Mandatory if this response is not the last page
          x-cds-type: URIString
      x-conditional:
      - prev
      - next
      - first
      - last
    BankingAccountDetail:
      allOf:
      - $ref: '#/components/schemas/BankingAccount'
      - type: object
        properties:
          bsb:
            type: string
            description: The unmasked BSB for the account.
          accountNumber:
            type: string
            description: The unmasked account number for the account.
          bundleName:
            type: string
            description: Optional field to indicate if this account is part of a bundle.
          specificAccountUType:
            type: string
            description: The type of structure to present account specific fields.
            enum:
            - termDeposit
            - creditCard
            - loan
          termDeposit:
            type: array
            items:
              $ref: '#/components/schemas/BankingTermDepositAccount'
          creditCard:
            $ref: '#/components/schemas/BankingCreditCardAccount'
          loan:
            $ref: '#/components/schemas/BankingLoanAccount'
          depositRate:
            type: string
            description: The current rate applied to deposit balances as it stands at the time of the API call
            x-cds-type: RateString
          lendingRate:
            type: string
            description: The current rate applied to lending balances as it stands at the time of the API call
            x-cds-type: RateString
          depositRates:
            type: array
            description: Fully described deposit rates for this account
            items:
              $ref: '#/components/schemas/BankingProductDepositRate'
          lendingRates:
            type: array
            description: Fully described lending rates for this account
            items:
              $ref: '#/components/schemas/BankingProductLendingRateV2'
          features:
            type: array
            description: Array of features of the account
            items:
              type: object
              allOf:
              - $ref: '#/components/schemas/BankingProductFeature'
              - type: object
                properties:
                  isActivated:
                    type: boolean
                    description: True if the feature is already activated and false if the feature is available for activation.
                    default: true
                    x-cds-type: Boolean
          fees:
            type: array
            description: Fees and charges applicable to the account
            items:
              $ref: '#/components/schemas/BankingProductFee'
          addresses:
            type: array
            description: The addresses for the account
            items:
              $ref: '#/components/schemas/CommonPhysicalAddress'
        x-conditional:
        - termDeposit
        - creditCard
        - loan
    BankingLoanAccount:
      type: object
      properties:
        originalStartDate:
          type: string
          description: Optional original start date for the loan.
          x-cds-type: DateString
        originalLoanAmount:
          type: string
          description: Optional original loan value.
          x-cds-type: AmountString
        originalLoanCurrency:
          type: string
          description: The currency of the loan.
          x-cds-type: CurrencyString
        loanEndDate:
          type: string
          description: Date that the loan is due to be repaid in full.
          x-cds-type: DateString
        nextInstalmentDate:
          type: string
          description: Next date that an instalment is required.
          x-cds-type: DateString
        minInstalmentAmount:
          type: string
          description: Minimum amount of next instalment.
          x-cds-type: AmountString
        minInstalmentCurrency:
          type: string
          description: The currency of the instalment.
          x-cds-type: CurrencyString
        maxRedraw:
          type: string
          description: Maximum amount of funds that can be redrawn.
          x-cds-type: AmountString
        maxRedrawCurrency:
          type: string
          description: The currency of the redraw.
          x-cds-type: CurrencyString
        minRedraw:
          type: string
          description: Minimum redraw amount.
          x-cds-type: AmountString
        minRedrawCurrency:
          type: string
          description: The currency of the redraw.
          x-cds-type: CurrencyString
        offsetAccountEnabled:
          type: boolean
          description: Set to true if one or more offset accounts are configured for this loan account.
          x-cds-type: Boolean
        offsetAccountIds:
          type: array
          description: The accountIDs of the configured offset accounts attached to this loan. Only offset accounts that can be accessed under the current authorisation should be included.
          items:
            type: string
            x-cds-type: ASCIIString
        repaymentType:
          type: string
          description: Options in place for repayments.
          default: PRINCIPAL_AND_INTEREST
          enum:
          - INTEREST_ONLY
          - PRINCIPAL_AND_INTEREST
        repaymentFrequency:
          type: string
          description: The expected or required repayment frequency.
          x-cds-type: ExternalRef
    BankingProductRateCondition:
      type: object
      properties:
        additionalInfo:
          type: string
          description: Display text providing more information on the condition
        additionalInfoUri:
          type: string
          description: Link to a web page with more information on this condition
          x-cds-type: URIString
      description: Defines a condition for the applicability of a tiered rate
    BankingTermDepositAccount:
      type: object
      required:
      - lodgementDate
      - maturityDate
      - maturityInstructions
      properties:
        lodgementDate:
          type: string
          description: The lodgement date of the original deposit.
          x-cds-type: DateString
        maturityDate:
          type: string
          description: Maturity date for the term deposit.
          x-cds-type: DateString
        maturityAmount:
          type: string
          description: Amount to be paid upon maturity.
          x-cds-type: AmountString
        maturityCurrency:
          type: string
          description: The currency of the maturity.
          x-cds-type: CurrencyString
        maturityInstructions:
          type: string
          description: Current instructions on action to be taken at maturity.
          enum:
          - ROLLED_OVER
          - PAID_OUT_AT_MATURITY
          - HOLD_ON_MATURITY
    CommonSimpleAddress:
      type: object
      required:
      - addressLine1
      - city
      - state
      properties:
        mailingName:
          type: string
          description: Name of the individual or business formatted.<br><i>CommBank does not currently return this value.</i></br>
        addressLine1:
          type: string
          description: First line of the standard address object.
        addressLine2:
          type: string
          description: Second line of the standard address object.
        addressLine3:
          type: string
          description: Third line of the standard address object.
        postcode:
          type: string
          description: Postcode for the locality.
        city:
          type: string
          description: Name of the city or locality.
        state:
          type: string
          description: State in which the address belongs.
        country:
          type: string
          description: The country code.
          default: AUS
          x-cds-type: ExternalRef
      x-conditional:
      - postcode
    BankingProductFeature:
      type: object
      required:
      - featureType
      properties:
        featureType:
          type: string
          description: The type of feature described
          enum:
          - ADDITIONAL_CARDS
          - BALANCE_TRANSFERS
          - BILL_PAYMENT
          - BONUS_REWARDS
          - CARD_ACCESS
          - COMPLEMENTARY_PRODUCT_DISCOUNTS
          - DIGITAL_BANKING
          - DIGITAL_WALLET
          - DONATE_INTEREST
          - FREE_TXNS
          - FREE_TXNS_ALLOWANCE
          - INSURANCE
          - INTEREST_FREE
          - INTEREST_FREE_TRANSFERS
          - LOYALTY_PROGRAM
          - NOTIFICATIONS
          - NPP_ENABLED
          - NPP_PAYID
          - OFFSET
          - OVERDRAFT
          - REDRAW
          - UNLIMITED_TXNS
          - OTHER
        additionalValue:
          type: string
          description: Generic field containing additional information relevant to the feature.
        additionalInfo:
          type: string
          description: Display text providing more information on the feature.
        additionalInfoUri:
          type: string
          description: Link to a web page with more information on this feature
          x-cds-type: URIString
      x-conditional:
      - additionalValue
      - additionalInfo
    ResponseBankingAccountList_data:
      required:
      - accounts
      properties:
        accounts:
          type: array
          description: The list of accounts returned.
          items:
            $ref: '#/components/schemas/BankingAccount'
    BankingCreditCardAccount:
      type: object
      required:
      - minPaymentAmount
      - paymentDueAmount
      - paymentDueDate
      properties:
        minPaymentAmount:
          type: string
          description: The minimum payment amount due for the next card payment.
          x-cds-type: AmountString
        paymentDueAmount:
          type: string
          description: The amount due for the next card payment.
          x-cds-type: AmountString
        paymentCurrency:
          type: string
          description: The currency of the payment.
          x-cds-type: CurrencyString
        paymentDueDate:
          type: string
          description: Date that the next payment for the card is due.
          x-cds-type: DateString
    BankingProductDepositRate:
      type: object
      required:
      - depositRateType
      - rate
      properties:
        depositRateType:
          type: string
          description: The type of rate (base, bonus, etc). See the next section for an overview of valid values and their meaning
          enum:
          - BONUS
          - BUNDLE_BONUS
          - FIXED
          - FLOATING
          - INTRODUCTORY
          - MARKET_LINKED
          - VARIABLE
        rate:
          type: string
          description: The rate to be applied
          x-cds-type: RateString
        calculationFrequency:
          type: string
          description: The period after which the rate is applied to the balance to calculate the amount due for the period
          x-cds-type: ExternalRef
        applicationFrequency:
          type: string
          description: The period after which the calculated amount(s) are 'applied' to the account
          x-cds-type: ExternalRef
        tiers:
          type: array
          description: Rate tiers applicable for this rate
          items:
            $ref: '#/components/schemas/BankingProductRateTierV3'
        additionalValue:
          type: string
          description: Generic field containing additional information relevant to the [depositRateType](#tocSproductdepositratetypedoc) specified. Whether mandatory or not is dependent on the value of [depositRateType](#tocSproductdepositratetypedoc)
        additionalInfo:
          type: string
          description: Display text providing more information on the rate
        additionalInfoUri:
          type: string
          description: Link to a web page with more information on this rate
          x-cds-type: URIString
      x-conditional:
      - additionalValue
    BankingProductCategory:
      type: string
      description: The category to which a product or account belongs.
      enum:
      - TRANS_AND_SAVINGS_ACCOUNTS
      - TERM_DEPOSITS
      - TRAVEL_CARDS
      - REGULATED_TRUST_ACCOUNTS
      - RESIDENTIAL_MORTGAGES
      - CRED_AND_CHRG_CARDS
      - PERS_LOANS
      - MARGIN_LOANS
      - LEASES
      - TRADE_FINANCE
      - OVERDRAFTS
      - BUSINESS_LOANS
    BankingProductRateTierV3:
      type: object
      required:
      - minimumValue
      - name
      - unitOfMeasure
      properties:
        name:
          type: string
          description: A display name for the tier
        unitOfMeasure:
          type: string
          description: The unit of measure that applies to the tierValueMinimum and tierValueMaximum values e.g. a **DOLLAR** amount. **PERCENT** (in the case of loan-to-value ratio or LVR). Tier term period representing a discrete number of **MONTH**'s or **DAY**'s (in the case of term deposit tiers)
          enum:
          - DOLLAR
          - PERCENT
          - DAY
          - MONTH
        minimumValue:
          type: number
          description: The number of tierUnitOfMeasure units that form the lower bound of the tier. The tier should be inclusive of this value
          x-cds-type: Number
        maximumValue:
          type: number
          description: 'The number of tierUnitOfMeasure units that form the upper bound of the tier or band. For a tier with a discrete value (as opposed to a range of values e.g. 1 month) this must be the same as tierValueMinimum. Where this is the same as the tierValueMinimum value of the next-higher tier the referenced tier should be exclusive of this value. For example a term deposit of 2 months falls into the upper tier of the following tiers: (1 – 2 months, 2 – 3 months). If absent the tier''s range has no upper bound.'
          x-cds-type: Number
        rateApplicationMethod:
          type: string
          description: The method used to calculate the amount to be applied using one or more tiers. A single rate may be applied to the entire balance or each applicable tier rate is applied to the portion of the balance that falls into that tier (referred to as 'bands' or 'steps')
          enum:
          - PER_TIER
          - WHOLE_BALANCE
        applicabilityConditions:
          $ref: '#/components/schemas/BankingProductRateCondition'
        additionalInfo:
          type: string
          description: Display text providing more information on the rate tier.
        additionalInfoUri:
          type: string
          description: Link to a web page with more information on this rate tier
          x-cds-type: URIString
      description: Defines the criteria and conditions for which a rate applies
    ErrorResponse422:
      type: object
      properties:
        errors:
          uniqueItems: false
          type: array
          items:
            $ref: '#/components/schemas/Error'
      example:
        errors:
        - Code: AA-UE-01
          Title: page-size is Invalid
          Detail: page-size must be a number and between 1 and 1000.
    BankingAccount:
      type: object
      required:
      - accountId
      - displayName
      - maskedNumber
      - productCategory
      - productName
      properties:
        accountId:
          type: string
          description: A unique ID of the account.
          x-cds-type: ASCIIString
        creationDate:
          type: string
          description: Date that the account was created.
          x-cds-type: DateString
        displayName:
          type: string
          description: The display name of the account as defined by CommBank.
        nickname:
          type: string
          description: The nick name for the account.
        openStatus:
          type: string
          description: Open or closed status for the account.
          default: OPEN
          enum:
          - OPEN
          - CLOSED
        isOwned:
          type: boolean
          description: Flag indicating that the customer associated with the authorisation is an owner of the account.
          default: true
          x-cds-type: Boolean
        maskedNumber:
          type: string
          description: A masked version of the account.
          x-cds-type: MaskedAccountString
        productCategory:
          $ref: '#/components/schemas/BankingProductCategory'
        productName:
          type: string
          description: The unique identifier of the account as defined by CommBank.
    ErrorResponse400:
      type: object
      properties:
        errors:
          uniqueItems: false
          type: array
     

# --- truncated at 32 KB (55 KB total) ---
# Full source: https://raw.githubusercontent.com/api-evangelist/commonwealth-bank/refs/heads/main/openapi/commonwealth-bank-accounts-api-api-openapi.yml