Danske Bank (UK) Account and Transaction API

OBIE Read/Write Account and Transaction Information API (AIS, v4.0) for accessing account details, balances, transactions, beneficiaries, standing orders, direct debits, and statements. FAPI-secured with OAuth2/OIDC, mutual-TLS, and PSD2 strong customer authentication; requires TPP onboarding via the Open Banking Directory.

OpenAPI Specification

danske-bank-uk-account-transaction-openapi.json Raw ↑
{"openapi":"3.0.0","info":{"title":"Account and Transaction - UK OB","description":"Retrieve account details and transaction information.","version":"4.0.0"},"paths":{"/account-access-consents":{"post":{"tags":["Account Access"],"summary":"Create Account Access Consents","operationId":"CreateAccountAccessConsents","security":[{"BearerAuth":[]}],"parameters":[{"$ref":"#/components/parameters/x-fapi-auth-date"},{"$ref":"#/components/parameters/x-fapi-customer-ip-address"},{"$ref":"#/components/parameters/x-fapi-interaction-id"},{"$ref":"#/components/parameters/x-customer-user-agent"}],"requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/OBReadConsent1"}}},"description":"Default","required":true},"responses":{"201":{"$ref":"#/components/responses/201AccountAccessConsentsCreated"},"400":{"$ref":"#/components/responses/400Error"},"401":{"$ref":"#/components/responses/401Error"},"403":{"$ref":"#/components/responses/403Error"},"405":{"$ref":"#/components/responses/405Error"},"406":{"$ref":"#/components/responses/406Error"},"415":{"$ref":"#/components/responses/415Error"},"429":{"$ref":"#/components/responses/429Error"},"500":{"$ref":"#/components/responses/500Error"},"503":{"$ref":"#/components/responses/503Error"}}}},"/account-access-consents/{ConsentId}":{"get":{"tags":["Account Access"],"summary":"Get Account Access Consents","operationId":"GetAccountAccessConsentsConsentId","security":[{"BearerAuth":[]}],"parameters":[{"$ref":"#/components/parameters/ConsentId"},{"$ref":"#/components/parameters/x-fapi-auth-date"},{"$ref":"#/components/parameters/x-fapi-customer-ip-address"},{"$ref":"#/components/parameters/x-fapi-interaction-id"},{"$ref":"#/components/parameters/x-customer-user-agent"}],"responses":{"200":{"$ref":"#/components/responses/200AccountAccessConsentsConsentIdRead"},"400":{"$ref":"#/components/responses/400Error"},"401":{"$ref":"#/components/responses/401Error"},"403":{"$ref":"#/components/responses/403Error"},"405":{"$ref":"#/components/responses/405Error"},"406":{"$ref":"#/components/responses/406Error"},"429":{"$ref":"#/components/responses/429Error"},"500":{"$ref":"#/components/responses/500Error"},"503":{"$ref":"#/components/responses/503Error"}}},"delete":{"tags":["Account Access"],"summary":"Delete Account Access Consents","operationId":"DeleteAccountAccessConsentsConsentId","security":[{"BearerAuth":[]}],"parameters":[{"$ref":"#/components/parameters/ConsentId"},{"$ref":"#/components/parameters/x-fapi-auth-date"},{"$ref":"#/components/parameters/x-fapi-customer-ip-address"},{"$ref":"#/components/parameters/x-fapi-interaction-id"},{"$ref":"#/components/parameters/x-customer-user-agent"}],"responses":{"204":{"$ref":"#/components/responses/204AccountAccessConsentsConsentIdDeleted"},"400":{"$ref":"#/components/responses/400Error"},"401":{"$ref":"#/components/responses/401Error"},"403":{"$ref":"#/components/responses/403Error"},"405":{"$ref":"#/components/responses/405Error"},"406":{"$ref":"#/components/responses/406Error"},"429":{"$ref":"#/components/responses/429Error"},"500":{"$ref":"#/components/responses/500Error"},"503":{"$ref":"#/components/responses/503Error"}}}},"/accounts":{"get":{"tags":["Accounts"],"summary":"Get Accounts","operationId":"GetAccounts","security":[{"BearerAuth":[]}],"parameters":[{"$ref":"#/components/parameters/x-fapi-auth-date"},{"$ref":"#/components/parameters/x-fapi-customer-ip-address"},{"$ref":"#/components/parameters/x-fapi-interaction-id"},{"$ref":"#/components/parameters/x-customer-user-agent"}],"responses":{"200":{"$ref":"#/components/responses/200AccountsRead"},"400":{"$ref":"#/components/responses/400Error"},"401":{"$ref":"#/components/responses/401Error"},"403":{"$ref":"#/components/responses/403Error"},"405":{"$ref":"#/components/responses/405Error"},"406":{"$ref":"#/components/responses/406Error"},"429":{"$ref":"#/components/responses/429Error"},"500":{"$ref":"#/components/responses/500Error"},"503":{"$ref":"#/components/responses/503Error"}}}},"/accounts/{AccountId}":{"get":{"tags":["Accounts"],"summary":"Get Accounts","operationId":"GetAccountsAccountId","security":[{"BearerAuth":[]}],"parameters":[{"$ref":"#/components/parameters/AccountId"},{"$ref":"#/components/parameters/x-fapi-auth-date"},{"$ref":"#/components/parameters/x-fapi-customer-ip-address"},{"$ref":"#/components/parameters/x-fapi-interaction-id"},{"$ref":"#/components/parameters/x-customer-user-agent"}],"responses":{"200":{"$ref":"#/components/responses/200AccountsAccountIdRead"},"400":{"$ref":"#/components/responses/400Error"},"401":{"$ref":"#/components/responses/401Error"},"403":{"$ref":"#/components/responses/403Error"},"405":{"$ref":"#/components/responses/405Error"},"406":{"$ref":"#/components/responses/406Error"},"429":{"$ref":"#/components/responses/429Error"},"500":{"$ref":"#/components/responses/500Error"},"503":{"$ref":"#/components/responses/503Error"}}}},"/accounts/{AccountId}/balances":{"get":{"tags":["Balances"],"summary":"Get Balances","operationId":"GetAccountsAccountIdBalances","security":[{"BearerAuth":[]}],"parameters":[{"$ref":"#/components/parameters/AccountId"},{"$ref":"#/components/parameters/x-fapi-auth-date"},{"$ref":"#/components/parameters/x-fapi-customer-ip-address"},{"$ref":"#/components/parameters/x-fapi-interaction-id"},{"$ref":"#/components/parameters/x-customer-user-agent"}],"responses":{"200":{"$ref":"#/components/responses/200AccountsAccountIdBalancesRead"},"400":{"$ref":"#/components/responses/400Error"},"401":{"$ref":"#/components/responses/401Error"},"403":{"$ref":"#/components/responses/403Error"},"405":{"$ref":"#/components/responses/405Error"},"406":{"$ref":"#/components/responses/406Error"},"429":{"$ref":"#/components/responses/429Error"},"500":{"$ref":"#/components/responses/500Error"},"503":{"$ref":"#/components/responses/503Error"}}}},"/accounts/{AccountId}/beneficiaries":{"get":{"tags":["Beneficiaries"],"summary":"Get Beneficiaries","operationId":"GetAccountsAccountIdBeneficiaries","security":[{"BearerAuth":[]}],"parameters":[{"$ref":"#/components/parameters/AccountId"},{"$ref":"#/components/parameters/x-fapi-auth-date"},{"$ref":"#/components/parameters/x-fapi-customer-ip-address"},{"$ref":"#/components/parameters/x-fapi-interaction-id"},{"$ref":"#/components/parameters/x-customer-user-agent"}],"responses":{"200":{"$ref":"#/components/responses/200AccountsAccountIdBeneficiariesRead"},"400":{"$ref":"#/components/responses/400Error"},"401":{"$ref":"#/components/responses/401Error"},"403":{"$ref":"#/components/responses/403Error"},"404":{"$ref":"#/components/responses/404Error"},"405":{"$ref":"#/components/responses/405Error"},"406":{"$ref":"#/components/responses/406Error"},"429":{"$ref":"#/components/responses/429Error"},"500":{"$ref":"#/components/responses/500Error"},"503":{"$ref":"#/components/responses/503Error"}}}},"/accounts/{AccountId}/direct-debits":{"get":{"tags":["Direct Debits"],"summary":"Get Direct Debits","operationId":"GetAccountsAccountIdDirectDebits","security":[{"BearerAuth":[]}],"parameters":[{"$ref":"#/components/parameters/AccountId"},{"$ref":"#/components/parameters/x-fapi-auth-date"},{"$ref":"#/components/parameters/x-fapi-customer-ip-address"},{"$ref":"#/components/parameters/x-fapi-interaction-id"},{"$ref":"#/components/parameters/x-customer-user-agent"}],"responses":{"200":{"$ref":"#/components/responses/200AccountsAccountIdDirectDebitsRead"},"400":{"$ref":"#/components/responses/400Error"},"401":{"$ref":"#/components/responses/401Error"},"403":{"$ref":"#/components/responses/403Error"},"404":{"$ref":"#/components/responses/404Error"},"405":{"$ref":"#/components/responses/405Error"},"406":{"$ref":"#/components/responses/406Error"},"429":{"$ref":"#/components/responses/429Error"},"500":{"$ref":"#/components/responses/500Error"},"503":{"$ref":"#/components/responses/503Error"}}}},"/accounts/{AccountId}/product":{"get":{"tags":["Products"],"summary":"Get Products","operationId":"GetAccountsAccountIdProduct","security":[{"BearerAuth":[]}],"parameters":[{"$ref":"#/components/parameters/AccountId"},{"$ref":"#/components/parameters/x-fapi-auth-date"},{"$ref":"#/components/parameters/x-fapi-customer-ip-address"},{"$ref":"#/components/parameters/x-fapi-interaction-id"},{"$ref":"#/components/parameters/x-customer-user-agent"}],"responses":{"200":{"$ref":"#/components/responses/200AccountsAccountIdProductRead"},"400":{"$ref":"#/components/responses/400Error"},"401":{"$ref":"#/components/responses/401Error"},"403":{"$ref":"#/components/responses/403Error"},"404":{"$ref":"#/components/responses/404Error"},"405":{"$ref":"#/components/responses/405Error"},"406":{"$ref":"#/components/responses/406Error"},"429":{"$ref":"#/components/responses/429Error"},"500":{"$ref":"#/components/responses/500Error"},"503":{"$ref":"#/components/responses/503Error"}}}},"/accounts/{AccountId}/scheduled-payments":{"get":{"tags":["Scheduled Payments"],"summary":"Get Scheduled Payments","operationId":"GetAccountsAccountIdScheduledPayments","security":[{"BearerAuth":[]}],"parameters":[{"$ref":"#/components/parameters/AccountId"},{"$ref":"#/components/parameters/x-fapi-auth-date"},{"$ref":"#/components/parameters/x-fapi-customer-ip-address"},{"$ref":"#/components/parameters/x-fapi-interaction-id"},{"$ref":"#/components/parameters/x-customer-user-agent"}],"responses":{"200":{"$ref":"#/components/responses/200AccountsAccountIdScheduledPaymentsRead"},"400":{"$ref":"#/components/responses/400Error"},"401":{"$ref":"#/components/responses/401Error"},"403":{"$ref":"#/components/responses/403Error"},"404":{"$ref":"#/components/responses/404Error"},"405":{"$ref":"#/components/responses/405Error"},"406":{"$ref":"#/components/responses/406Error"},"429":{"$ref":"#/components/responses/429Error"},"500":{"$ref":"#/components/responses/500Error"},"503":{"$ref":"#/components/responses/503Error"}}}},"/accounts/{AccountId}/standing-orders":{"get":{"tags":["Standing Orders"],"summary":"Get Standing Orders","operationId":"GetAccountsAccountIdStandingOrders","security":[{"BearerAuth":[]}],"parameters":[{"$ref":"#/components/parameters/AccountId"},{"$ref":"#/components/parameters/x-fapi-auth-date"},{"$ref":"#/components/parameters/x-fapi-customer-ip-address"},{"$ref":"#/components/parameters/x-fapi-interaction-id"},{"$ref":"#/components/parameters/x-customer-user-agent"}],"responses":{"200":{"$ref":"#/components/responses/200AccountsAccountIdStandingOrdersRead"},"400":{"$ref":"#/components/responses/400Error"},"401":{"$ref":"#/components/responses/401Error"},"403":{"$ref":"#/components/responses/403Error"},"404":{"$ref":"#/components/responses/404Error"},"405":{"$ref":"#/components/responses/405Error"},"406":{"$ref":"#/components/responses/406Error"},"429":{"$ref":"#/components/responses/429Error"},"500":{"$ref":"#/components/responses/500Error"},"503":{"$ref":"#/components/responses/503Error"}}}},"/accounts/{AccountId}/transactions":{"get":{"tags":["Transactions"],"summary":"Get Transactions","operationId":"GetAccountsAccountIdTransactions","security":[{"BearerAuth":[]}],"parameters":[{"$ref":"#/components/parameters/AccountId"},{"$ref":"#/components/parameters/x-fapi-auth-date"},{"$ref":"#/components/parameters/x-fapi-customer-ip-address"},{"$ref":"#/components/parameters/x-fapi-interaction-id"},{"$ref":"#/components/parameters/x-customer-user-agent"},{"$ref":"#/components/parameters/FromBookingDateTimeParam"},{"$ref":"#/components/parameters/ToBookingDateTimeParam"},{"$ref":"#/components/parameters/Order"}],"responses":{"200":{"$ref":"#/components/responses/200AccountsAccountIdTransactionsRead"},"400":{"$ref":"#/components/responses/400Error"},"401":{"$ref":"#/components/responses/401Error"},"403":{"$ref":"#/components/responses/403Error"},"405":{"$ref":"#/components/responses/405Error"},"406":{"$ref":"#/components/responses/406Error"},"429":{"$ref":"#/components/responses/429Error"},"500":{"$ref":"#/components/responses/500Error"},"503":{"$ref":"#/components/responses/503Error"}}}},"/party":{"get":{"tags":["Parties"],"summary":"Get Parties","operationId":"GetParty","security":[{"BearerAuth":[]}],"parameters":[{"$ref":"#/components/parameters/x-fapi-auth-date"},{"$ref":"#/components/parameters/x-fapi-customer-ip-address"},{"$ref":"#/components/parameters/x-fapi-interaction-id"},{"$ref":"#/components/parameters/x-customer-user-agent"}],"responses":{"200":{"$ref":"#/components/responses/200PartyRead"},"400":{"$ref":"#/components/responses/400Error"},"401":{"$ref":"#/components/responses/401Error"},"403":{"$ref":"#/components/responses/403Error"},"404":{"$ref":"#/components/responses/404Error"},"405":{"$ref":"#/components/responses/405Error"},"406":{"$ref":"#/components/responses/406Error"},"429":{"$ref":"#/components/responses/429Error"},"500":{"$ref":"#/components/responses/500Error"},"503":{"$ref":"#/components/responses/503Error"}}}}},"components":{"securitySchemes":{"BearerAuth":{"type":"http","scheme":"bearer","bearerFormat":"JWT"}},"schemas":{"ExternalCreditorReferenceType1Code":{"type":"string","minLength":1,"maxLength":4,"description":"Specifies the type of creditor reference as published in an external creditor reference type code set. For more information see `ExternalCreditorReferenceType1Code` in *ISO_External_CodeSet* [here](https://github.com/OpenBankingUK/External_Internal_CodeSets)","enum":["DISP","FXDR","PUOR","RPIN","RADM","SCOR"]},"ExternalDocumentType1Code":{"type":"string","minLength":1,"maxLength":4,"description":"Specifies the document type as published in an external document type code list. For more information see `ExternalDocumentType1Code` in *ISO_External_CodeSet* [here](https://github.com/OpenBankingUK/External_Internal_CodeSets)","enum":["CINV","CNFA","CONT","CREN","DEBN","DISP","DNFA","HIRI","INVS","MSIN","PROF","PUOR","QUOT","SBIN","SPRR","TISH","USAR","AROI","BOLD","CMCN","SOAC","TSUT","VCHR"]},"OBReferredDocumentInformation":{"type":"object","properties":{"Code":{"$ref":"#/components/schemas/ExternalDocumentType1Code"},"Issuer":{"description":"Identification of the issuer of the reference document type.","type":"string","maxLength":140,"minLength":1},"Number":{"description":"Identification of the type specified for the referred document line.","type":"string","maxLength":35,"minLength":1},"RelatedDate":{"description":"Date associated with the referred document line.","type":"string","format":"date-time"},"LineDetails":{"description":"Set of elements used to provide the content of the referred document line.","type":"array","items":{"type":"string"}}}},"OBRemittanceInformation2":{"type":"object","description":"Information supplied to enable the matching of an entry with the items that the transfer is intended to settle, such as commercial invoices in an accounts' receivable system Danske Bank: Values to be expected in RemittanceInformation.Unstructured and CreditorReferenceInformation.Reference","properties":{"Structured":{"type":"array","items":{"$ref":"#/components/schemas/OBRemittanceInformationStructured"}},"Unstructured":{"type":"array","description":"Information supplied to enable the matching/reconciliation of an entry with the items that the payment is intended to settle, such as commercial invoices in an accounts' receivable system, in an unstructured form.","items":{"type":"string","maxLength":140,"minLength":1}}}},"OBRemittanceInformationStructured":{"type":"object","properties":{"ReferredDocumentInformation":{"type":"array","items":{"$ref":"#/components/schemas/OBReferredDocumentInformation"}},"ReferredDocumentAmount":{"description":"Provides details on the amounts of the referred document.","type":"integer","format":"int32"},"CreditorReferenceInformation":{"description":"Reference information provided by the creditor to allow the identification of the underlying documents.","type":"object","properties":{"Code":{"$ref":"#/components/schemas/ExternalCreditorReferenceType1Code"},"Issuer":{"description":"Entity that assigns the identification.","type":"string","minLength":1,"maxLength":35},"Reference":{"description":"Unique reference, as assigned by the creditor, to unambiguously refer to the payment transaction.","type":"string","minLength":1,"maxLength":35}}},"Invoicer":{"$ref":"#/components/schemas/Identification_3"},"Invoicee":{"$ref":"#/components/schemas/Identification_4"},"TaxRemittance":{"description":"Provides remittance information about a payment made for tax-related purposes.","type":"string","maxLength":140,"minLength":1},"AdditionalRemittanceInformation":{"description":"Additional information, in free text form, to complement the structured remittance information.","type":"array","items":{"type":"string","maxLength":140,"minLength":1},"maxItems":3}}},"OBUltimateCreditor1":{"description":"Ultimate party to which an amount of money is due.","type":"object","properties":{"Name":{"description":"Name by which a party is known and which is usually used to identify that party.","type":"string","minLength":1,"maxLength":140},"Identification":{"description":"Identification assigned by an institution.","type":"string","minLength":1,"maxLength":256},"LEI":{"$ref":"#/components/schemas/LEI"},"SchemeName":{"$ref":"#/components/schemas/OBInternalAccountIdentification4Code"},"PostalAddress":{"$ref":"#/components/schemas/OBPostalAddress7"}}},"OBUltimateDebtor1":{"description":"Ultimate party that owes an amount of money to the (ultimate) creditor.","type":"object","properties":{"Name":{"description":"Name by which a party is known and which is usually used to identify that party.","type":"string","minLength":1,"maxLength":140},"Identification":{"description":"Identification assigned by an institution.","type":"string","minLength":1,"maxLength":256},"LEI":{"$ref":"#/components/schemas/LEI"},"SchemeName":{"$ref":"#/components/schemas/OBInternalAccountIdentification4Code"},"PostalAddress":{"$ref":"#/components/schemas/OBPostalAddress7"}}},"OBFrequency6":{"description":"Regularity with which credit transfer instructions are to be created and processed","type":"object","required":["Type"],"properties":{"Type":{"$ref":"#/components/schemas/OBFrequency6Code"},"CountPerPeriod":{"description":"Number of instructions to be created and processed during the specified period. Specifies a frequency in terms of a count per period within a specified frequency type. Note: should not be used alongside `PointInTime`","type":"integer","example":1,"format":"int32"},"PointInTime":{"$ref":"#/components/schemas/PointInTime"}}},"PointInTime":{"description":"Exact2NumericText - Further information on the exact point in time the event should take place. Specifies a frequency in terms of an exact point in time or moment within a specified frequency type. Note: should not be used alongside `CountPerPeriod`. Danske Bank: Interpreted in combination with 'Type': https://developers.danskebank.com/documentation/regulatory_apis/instruction_details#standing_order_frequencies","type":"string","example":"00","maxLength":2},"OBFrequency6Code":{"description":"For a full list of values see `OBFrequency6Code` in *OB_Internal_CodeSet* [here](https://github.com/OpenBankingUK/External_Internal_CodeSets) Values supported by Danske Bank: YEAR, FRTN, MNTH, QURT, MIAN, WEEK, WODL, TWMH, NONE. Value NONE is used in DirectDebits only. Danske Bank: Interpreted in combination with 'PointInTime': https://developers.danskebank.com/documentation/regulatory_apis/instruction_details#standing_order_frequencies","type":"string","example":"MNTH","enum":["YEAR","FRTN","MNTH","QURT","MIAN","WEEK","WODL","TWMH","NONE"]},"OBProxy1":{"description":"Specifies an alternate assumed name for the identification of the account.","type":"object","required":["Identification","Code"],"properties":{"Identification":{"description":"Identification used to indicate the account identification under another specified name.","type":"string","example":"2360549017905188","minLength":1,"maxLength":2048},"Code":{"$ref":"#/components/schemas/ExternalProxyAccountType1Code"},"Type":{"type":"string","description":"Type of the proxy identification.","minLength":1,"maxLength":35}}},"ExternalProxyAccountType1Code":{"description":"Specifies the external proxy account type code, as published in the proxy account type external code set.<br /> For more information and a full list of values see `ExternalProxyAccountType1Code` in *ISO_External_CodeSet* [here](https://github.com/OpenBankingUK/External_Internal_CodeSets)","type":"string","example":"TELE","enum":["TELE","EMAL","DNAM","CINC","COTX","COID","CUST","DRLC","EIDN","EWAL","PVTX","LEIC","MBNO","NIDN","CCPT","SHID","SOSE","TOKN","UBIL","VIPN","BIID"]},"AccountId":{"description":"A unique and immutable identifier used to identify the account resource. This identifier has no meaning to the account owner.","type":"string","minLength":1,"maxLength":40},"ActiveOrHistoricCurrencyCode_0":{"description":"Identification of the currency in which the account is held.  Usage: Currency should only be used in case one and the same account number covers several currencies and the initiating party needs to identify which currency needs to be used for settlement on the account.\n","type":"string","pattern":"^[A-Z]{3,3}$"},"ActiveOrHistoricCurrencyCode_1":{"description":"A code allocated to a currency by a Maintenance Agency under an international identification scheme, as described in the latest edition of the international standard ISO 4217 'Codes for the representation of currencies and funds'.","type":"string","pattern":"^[A-Z]{3,3}$"},"AddressLine":{"description":"Information that locates and identifies a specific address for a transaction entry, that is presented in free format text.","type":"string","minLength":1,"maxLength":70},"BeneficiaryId":{"description":"A unique and immutable identifier used to identify the beneficiary resource. This identifier has no meaning to the account owner.","type":"string","minLength":1,"maxLength":40},"BookingDateTime":{"description":"Date and time when a transaction entry is posted to an account on the account servicer's books. Usage: Booking date is the expected booking date, unless the status is booked, in which case it is the actual booking date. All dates in the JSON payloads are represented in ISO 8601 date-time format.  All date-time fields in responses must include the timezone. An example is below: 2017-04-05T10:43:07+00:00\n","type":"string","format":"date-time"},"BuildingName":{"description":"Name of a referenced building.","type":"string","minLength":1,"maxLength":140},"BuildingNumber":{"description":"Number that identifies the position of a building on a street.","type":"string","minLength":1,"maxLength":16},"CareOf":{"description":"The 'care of' address is used whenever sending mail to a person or organisation who does not actually live or work at the address. They will receive the mail for the individual.","type":"string","example":"Jane Smith","minLength":1,"maxLength":140},"CreationDateTime":{"description":"Date and time at which the resource was created. All dates in the JSON payloads are represented in ISO 8601 date-time format.  All date-time fields in responses must include the timezone. An example is below: 2017-04-05T10:43:07+00:00\n","type":"string","format":"date-time"},"DebtorReference":{"description":"A reference value provided by the PSU to the PISP while setting up the scheduled payment.","type":"string","minLength":1,"maxLength":35},"Description_0":{"description":"Specifies the description of the account type.","type":"string","minLength":1,"maxLength":35},"Description_3":{"description":"Description to describe the purpose of the code","type":"string","minLength":1,"maxLength":350},"DirectDebitId":{"description":"A unique and immutable identifier used to identify the direct debit resource. This identifier has no meaning to the account owner.","type":"string","minLength":1,"maxLength":40},"DistrictName":{"description":"Number that of the regional area, known as a district, which forms part of an address","type":"string","minLength":1,"maxLength":140},"EmailAddress":{"description":"Address for electronic mail (e-mail).","type":"string","minLength":1,"maxLength":256},"Floor":{"description":"Number that identifies the level within a building","type":"string","example":"11","minLength":1,"maxLength":70},"FullLegalName":{"description":"Specifies a character string with a maximum length of 350 characters.","type":"string","minLength":1,"maxLength":350},"ISODateTime":{"description":"All dates in the JSON payloads are represented in ISO 8601 date-time format.  All date-time fields in responses must include the timezone. An example is below: 2017-04-05T10:43:07+00:00\n","type":"string","format":"date-time"},"Identification_0":{"description":"Identification assigned by an institution to identify an account. This identification is known by the account owner.","type":"string","minLength":1,"maxLength":256},"Identification_1":{"description":"Unique and unambiguous identification of the servicing institution.","type":"string","minLength":1,"maxLength":35},"Identification_2":{"description":"Unique and unambiguous identification of a financial institution or a branch of a financial institution.","type":"string","minLength":1,"maxLength":35},"Identification_3":{"description":"Identification of the organisation issuing the invoice, when it is different from the creditor or ultimate creditor","type":"string","example":"80200112344562","minLength":1,"maxLength":256},"Identification_4":{"description":"dentification of the party to whom an invoice is issued, when it is different from the debtor or ultimate debtor.","type":"string","example":"80200112344562","minLength":1,"maxLength":256},"LastPaymentDateTime":{"description":"The date on which the last (most recent) payment for a Standing Order schedule was made. All dates in the JSON payloads are represented in ISO 8601 date-time format.  All date-time fields in responses must include the timezone. An example is below: 2017-04-05T10:43:07+00:00\n","type":"string","format":"date-time"},"LEI":{"description":"Legal entity identification as an alternate identification for a party. Legal Entity Identifier is a code allocated to a party as described in ISO 17442 Financial Services - Legal Entity Identifier (LEI).","type":"string","example":"IZ9Q00LZEVUKWCQY6X15","minLength":1,"maxLength":20,"pattern":"^[A-Z0-9]{18,18}[0-9]{2,2}$"},"Links":{"description":"Links relevant to the payload","type":"object","additionalProperties":false,"required":["Self"],"properties":{"Self":{"type":"string","format":"uri"},"First":{"type":"string","format":"uri"},"Prev":{"type":"string","format":"uri"},"Next":{"type":"string","format":"uri"},"Last":{"type":"string","format":"uri"}}},"MaturityDate":{"description":"Maturity date of the account. All dates in the JSON payloads are represented in ISO 8601 date-time format.  All date-time fields in responses must include the timezone. An example is below: 2017-04-05T10:43:07+00:00\n","type":"string","format":"date-time"},"Meta":{"title":"MetaData","description":"Meta Data relevant to the payload","type":"object","additionalProperties":false,"properties":{"TotalPages":{"type":"integer","format":"int32"},"FirstAvailableDateTime":{"$ref":"#/components/schemas/ISODateTime"},"LastAvailableDateTime":{"$ref":"#/components/schemas/ISODateTime"}}},"Name_0":{"description":"The account name is the name or names of the account owner(s) represented at an account level, as displayed by the ASPSP's online channels. Note, the account name is not the product name or the nickname of the account.\n","type":"string","minLength":1,"maxLength":350},"Name_1":{"description":"Name by which an agent is known and which is usually used to identify that agent.","type":"string","minLength":1,"maxLength":140},"Name_2":{"description":"Name of Service User.","type":"string","minLength":1,"maxLength":70},"Name_3":{"description":"Name by which a party is known and which is usually used to identify that party.","type":"string","minLength":1,"maxLength":350},"Name_4":{"description":"Long name associated with the code","type":"string","minLength":1,"maxLength":70},"NextPaymentDateTime":{"description":"The date on which the next payment for a Standing Order schedule will be made. All dates in the JSON payloads are represented in ISO 8601 date-time format.  All date-time fields in responses must include the timezone. An example is below: 2017-04-05T10:43:07+00:00\n","type":"string","format":"date-time"},"Nickname":{"description":"The nickname of the account, assigned by the account owner in order to provide an additional means of identification of the account.","type":"string","minLength":1,"maxLength":70},"NumberOfPayments":{"description":"Number of the payments that will be made in completing this frequency sequence including any executed since the sequence start date.","type":"string","minLength":1,"maxLength":35},"Number_0":{"description":"Indicates whether the advertised overdraft rate is guaranteed to be offered to a borrower by the bank e.g. if it's part of a government scheme, or whether the rate may vary dependent on the applicant's circumstances.","type":"integer"},"Number_1":{"description":"fee/charges are captured dependent on the number of occurrences rather than capped at a particular amount","type":"integer"},"OBAccount6":{"description":"Unambiguous identification of the account to which credit and debit entries are made. The following fields are optional only for accounts that are switched:\n  * Currency\n  * AccountType\n  * AccountSubType\nFor all other accounts, the fields must be populated by the ASPSP.\n","type":"object","additionalProperties":false,"required":["AccountId"],"properties":{"AccountId":{"$ref":"#/components/schemas/AccountId"},"Status":{"$ref":"#/components/schemas/OBInternalAccountStatus1Code"},"StatusUpdateDateTime":{"$ref":"#/components/schemas/StatusUpdateDateTime"},"Currency":{"$ref":"#/components/schemas/ActiveOrHistoricCurrencyCode_0"},"AccountCategory":{"$ref":"#/components/schemas/OBInternalAccountType1Code"},"AccountTypeCode":{"$ref":"#/components/schemas/OBExternalAccountSubType1Code"},"Description":{"$ref":"#/components/schemas/Description_0"},"Nickname":{"$ref":"#/components/schemas/Nickname"},"OpeningDate":{"$ref":"#/components/schemas/OpeningDate"},"MaturityDate":{"$ref":"#/components/schemas/MaturityDate"},"SwitchStatus":{"$ref":"#/components/schemas/OBInternalSwitchStatusCode"},"Account":{"type":"array","items":{"type":"object","description":"Provides the details to identify an account.","required":["SchemeName","Identification"],"properties":{"SchemeName":{"$ref":"#/components/schemas/OBInternalAccountIdentification4Code"},"Identification":{"$ref":"#/components/schemas/Identification_0"},"Name":{"$ref":"#/components/schemas/Name_0"},"LEI":{"$ref":"#/components/schemas/LEI"},"SecondaryIdentification":{"$ref":"#/components/schemas/SecondaryIdentification"}}}},"StatementFrequencyAndFormat":{"$ref":"#/components/schemas/StatementFrequencyAndFormat"},"Servicer":{"$ref":"#/components/schemas/OBBranchAndFinancialInstitutionIdentification5_0"}}},"OBInternalAccountStatus1Code":{"description":"Specifies the status of account resource in code form.","type":"string","enum":["Deleted","Disabled","Enabled","Pending","ProForma"]},"OBActiveCurrencyAndAmount_SimpleType":{"description":"A number of monetary units specified in an active currency where the unit of currency is explicit and compliant with ISO 4217.","type":"string","pattern":"^\\d{1,13}$|^\\d{1,13}\\.\\d{1,5}$"},"OBActiveOrHistoricCurrencyAndAmount_0":{"description":"The amount of the most recent direct debit collection.","type":"object","required":["Amount","Currency"],"properties":{"Amount":{"$ref":"#/components/schemas/OBActiveCurrencyAndAmount_SimpleType"},"Currency":{"$ref":"#/components/schemas/ActiveOrHistoricCurrencyCode_1"}}},"OBActiveOrHistoricCurrencyAndAmount_1":{"description":"Amount of money to be moved between the debtor and creditor, before deduction of charges, expressed in the currency as ordered by the initiating party. Usage: This amount has to be transported unchanged through the transaction chain.\n","type":"object","required":["Amount","Currency"],"properties":{"Amount":{"$ref":"#/components/schemas/OBActiveCurrencyAndAmount_SimpleType"},"Currency":{"$ref":"#/components/schemas/ActiveOrHistoricCurrencyCode_1"}}},"OBActiveOrHistoricCurrencyAndAmount_10":{"description":"Transaction charges to be paid by the charge bearer.","type":"object","required":["Amount","Currency"],"properties":{"Amount":{"$ref":"#/components/schemas/OBActiveCurrencyAndAmount_SimpleType"},"Currency":{"$ref":"#/components/schemas/ActiveOrHistoricCurrencyCode_1"}}},"OBActiveOrHistoricCurrencyAndAmount_11":{"description":"The amo

# --- truncated at 32 KB (233 KB total) ---
# Full source: https://raw.githubusercontent.com/api-evangelist/danske-bank-uk/refs/heads/main/openapi/danske-bank-uk-account-transaction-openapi.json