openapi: 3.0.3 info: title: CDR Banking Banking Account Balances Banking Payees API version: 1.36.0 description: Specifications for resource endpoints applicable to data holders in the Banking sector. license: name: MIT License url: https://opensource.org/licenses/MIT contact: name: Data Standards Body email: contact@dsb.gov.au url: https://dsb.gov.au/ servers: - description: MTLS url: https://mtls.dh.example.com/cds-au/v1 tags: - name: Banking Payees x-shortName: Payees description: Banking Payee endpoints paths: /banking/payees: get: tags: - Banking Payees summary: Get Payees description: 'Obtain a list of pre-registered payees. Obsolete versions: [v1](includes/obsolete/get-payees-v1.html).' operationId: listBankingPayees parameters: - name: type in: query description: Filter on the payee _type_ field. In addition to normal _type_ field values, `ALL` can be specified to retrieve all payees. If absent the assumed value is `ALL`. schema: type: string default: ALL enum: - ALL - BILLER - DIGITAL_WALLET - DOMESTIC - INTERNATIONAL - $ref: '#/components/parameters/QueryPage' - $ref: '#/components/parameters/QueryPageSize' - $ref: '#/components/parameters/HeaderXV' - $ref: '#/components/parameters/HeaderXMinV' - $ref: '#/components/parameters/HeaderXFAPIInteractionId' - $ref: '#/components/parameters/HeaderXFAPIAuthDate' - $ref: '#/components/parameters/HeaderXFAPICustomerIPAddress' - $ref: '#/components/parameters/HeaderXCDSClientHeaders' responses: '200': $ref: '#/components/responses/ListBankingPayees200' '400': $ref: '#/components/responses/ListBankingPayees400' '406': $ref: '#/components/responses/ListBankingPayees406' '422': $ref: '#/components/responses/ListBankingPayees422' x-scopes: - bank:payees:read x-version: '2' /banking/payees/{payeeId}: get: tags: - Banking Payees summary: Get Payee Detail description: 'Obtain detailed information on a single payee. Note that the payee sub-structure should be selected to represent the payment destination only rather than any known characteristics of the payment recipient. Obsolete versions: [v1](includes/obsolete/get-payee-detail-v1.html).' operationId: getBankingPayeeDetail parameters: - name: payeeId in: path description: The _payeeId_ to obtain data for. _payeeId_ values are returned by payee list endpoints. required: true schema: $ref: '#/components/schemas/BankingPayeeId' - $ref: '#/components/parameters/HeaderXV' - $ref: '#/components/parameters/HeaderXMinV' - $ref: '#/components/parameters/HeaderXFAPIInteractionId' - $ref: '#/components/parameters/HeaderXFAPIAuthDate' - $ref: '#/components/parameters/HeaderXFAPICustomerIPAddress' - $ref: '#/components/parameters/HeaderXCDSClientHeaders' responses: '200': $ref: '#/components/responses/GetBankingPayeeDetail200' '400': $ref: '#/components/responses/GetBankingPayeeDetail400' '404': $ref: '#/components/responses/GetBankingPayeeDetail404' '406': $ref: '#/components/responses/GetBankingPayeeDetail406' '422': $ref: '#/components/responses/GetBankingPayeeDetail422' x-scopes: - bank:payees:read x-version: '2' components: schemas: BankingPayeeDetailV2: allOf: - $ref: '#/components/schemas/BankingPayeeV2' - required: - payeeUType type: object properties: payeeUType: type: string description: Type of object included that describes the payee in detail. enum: - biller - digitalWallet - domestic - international biller: $ref: '#/components/schemas/BankingBillerPayee' domestic: $ref: '#/components/schemas/BankingDomesticPayee' digitalWallet: $ref: '#/components/schemas/BankingDigitalWalletPayee' international: $ref: '#/components/schemas/BankingInternationalPayee' x-conditional: - biller - digitalWallet - domestic - international BankingDomesticPayeeAccount: required: - accountNumber - bsb type: object properties: accountName: type: string description: Name of the account to pay to. bsb: type: string description: BSB of the account to pay to. accountNumber: type: string description: Number of the account to pay to. BankingPayeeId: type: string description: A unique identifier for a Banking payee, generated according to [CDR ID Permanence](#id-permanence) requirements. x-cds-type: ASCIIString BankingInternationalPayee: required: - bankDetails - beneficiaryDetails type: object properties: beneficiaryDetails: required: - country type: object properties: name: type: string description: Name of the beneficiary. country: type: string description: Country where the beneficiary resides. A valid [ISO 3166 Alpha-3](https://www.iso.org/iso-3166-country-codes.html) country code. x-cds-type: ExternalRef message: type: string description: Response message for the payment. bankDetails: required: - accountNumber - country type: object properties: country: type: string description: Country of the recipient institution. A valid [ISO 3166 Alpha-3](https://www.iso.org/iso-3166-country-codes.html) country code. x-cds-type: ExternalRef accountNumber: type: string description: Account Targeted for payment. bankAddress: required: - address - name type: object properties: name: type: string description: Name of the recipient Bank. address: type: string description: Address of the recipient Bank. beneficiaryBankBIC: type: string description: Swift bank code. Aligns with standard [ISO 9362](https://www.iso.org/standard/60390.html). x-cds-type: ExternalRef fedWireNumber: type: string description: Number for Fedwire payment (Federal Reserve Wire Network). sortCode: type: string description: Sort code used for account identification in some jurisdictions. chipNumber: type: string description: Number for the Clearing House Interbank Payments System. routingNumber: type: string description: International bank routing number. legalEntityIdentifier: type: string description: The legal entity identifier (LEI) for the beneficiary. Aligns with [ISO 17442](https://www.iso.org/standard/59771.html). x-cds-type: ExternalRef Meta: type: object BankingDomesticPayeeCard: required: - cardNumber type: object properties: cardNumber: type: string description: Name of the account to pay to. x-cds-type: MaskedPANString ErrorV2: type: object required: - code - title - detail x-conditional: - meta properties: code: type: string description: The code of the error encountered. Where the error is specific to the respondent, an application-specific error code, expressed as a string value. If the error is application-specific, the URN code that the specific error extends must be provided in the _meta_ object. Otherwise, the value is the error code URN. title: type: string description: A short, human-readable summary of the problem that **MUST NOT** change from occurrence to occurrence of the problem represented by the error code. detail: type: string description: A human-readable explanation specific to this occurrence of the problem. meta: type: object x-conditional: - urn description: Additional data for customised error codes. properties: urn: type: string description: The CDR error code URN which the application-specific error code extends. Mandatory if the error _code_ is an application-specific error rather than a standardised error code. LinksPaginated: required: - self type: object 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 ResponseBankingPayeeListV2: required: - data - links - meta type: object properties: data: required: - payees type: object properties: payees: type: array description: The list of payees returned. items: $ref: '#/components/schemas/BankingPayeeV2' links: $ref: '#/components/schemas/LinksPaginated' meta: $ref: '#/components/schemas/MetaPaginated' ResponseBankingPayeeByIdV2: required: - data - links type: object properties: data: $ref: '#/components/schemas/BankingPayeeDetailV2' links: $ref: '#/components/schemas/Links' meta: $ref: '#/components/schemas/Meta' BankingDigitalWalletPayee: required: - identifier - name - provider - type type: object properties: name: type: string description: The display name of the wallet as given by the customer, else a default value defined by the data holder. identifier: type: string description: The identifier of the digital wallet (dependent on type). type: type: string description: The type of the digital wallet identifier. enum: - EMAIL - CONTACT_NAME - TELEPHONE provider: type: string description: The provider of the digital wallet. enum: - PAYPAL_AU - OTHER Links: required: - self type: object properties: self: type: string description: Fully qualified link that generated the current response document. x-cds-type: URIString ResponseErrorListV2: type: object required: - errors properties: errors: description: List of errors. type: array items: $ref: '#/components/schemas/ErrorV2' MetaPaginated: required: - totalPages - totalRecords type: object properties: totalRecords: type: integer description: The total number of records in the full set. See [pagination](#pagination). x-cds-type: NaturalNumber totalPages: type: integer description: The total number of pages in the full set. See [pagination](#pagination). x-cds-type: NaturalNumber BankingDomesticPayee: required: - payeeAccountUType type: object properties: payeeAccountUType: type: string description: 'Type of account object included. Valid values are: