action nbg_get_accounts_account_id { label: "Get Accounts" description: "Get Accounts by Account ID" provider: nbg method: GET path: "/accounts/{accountId}" encoding: json input: { type: "object" properties: { accountId: { type: "string" description: "AccountId" } "sandbox-id": { type: "string" } "x-customer-user-agent": { type: "string" } "x-fapi-auth-date": { type: "string" } "x-fapi-customer-ip-address": { type: "string" } "x-fapi-interaction-id": { type: "string" } } required: ["accountId", "sandbox-id"] additionalProperties: false } output: { type: "object" required: ["Data"] properties: { Data: { type: "object" properties: { Account: { type: "array" description: "Unambiguous identification of the account to which credit and debit entries are made." items: { type: "object" description: "Unambiguous identification of the account to which credit and debit entries are made." required: ["AccountId", "AccountSubType", "AccountType", "Currency"] properties: { Account: { type: "array" description: "Provides the details to identify an account." items: { type: "object" required: ["Identification", "SchemeName"] properties: { Identification: { type: "string" description: "Identification assigned by an institution to identify an account. This identification is known by the account owner." } Name: { type: "string" 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. \nNote, the account name is not the product name or the nickname of the account." } SchemeName: { type: "string" description: "Name of the identification scheme, in a coded form as published in an external list." } SecondaryIdentification: { type: "string" description: "This is secondary identification of the account, as assigned by the account servicing institution. \nThis can be used by building societies to additionally identify accounts with a roll number(in addition to a sort code and account number combination)." } } additionalProperties: false } } AccountId: { type: "string" description: "A unique and immutable identifier used to identify the account resource. This identifier has no meaning to the account owner." } AccountSubType: { type: "string" enum: ["ChargeCard", "CreditCard", "CurrentAccount", "EMoney", "Loan", "Mortgage", "PrePaidCard", "Savings"] } AccountType: { type: "string" enum: ["Business", "Personal"] } Currency: { type: "string" 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." } Description: { type: "string" description: "Specifies the description of the account type." } Nickname: { type: "string" description: "The nickname of the account, assigned by the account owner in order to provide an additional means of identification of the account." } OpeningDate: { type: "string" format: "date-time" description: "Date on which the account and related basic services are effectively operational for the account owner.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" } Servicer: { type: "object" required: ["Identification", "SchemeName"] properties: { Identification: { type: "string" description: "Unique and unambiguous identification of the servicing institution." } SchemeName: { type: "string" description: "Name of the identification scheme, in a coded form as published in an external list." } } additionalProperties: false } } additionalProperties: false } } } additionalProperties: false } Links: { type: "object" description: "Links relevant to the payload" required: ["Self"] properties: { First: { type: "string" } Last: { type: "string" } Next: { type: "string" } Prev: { type: "string" } Self: { type: "string" } } additionalProperties: false } Meta: { type: "object" description: "Meta Data relevant to the payload" properties: { FirstAvailableDateTime: { type: "string" description: "All dates in the JSON payloads are represented in ISO 8601 date-time format. \nAll date-time fields in responses must include the timezone.An example is below: \n2017-04-05T10:43:07+00:00" } LastAvailableDateTime: { type: "string" description: "All dates in the JSON payloads are represented in ISO 8601 date-time format. \nAll date-time fields in responses must include the timezone.An example is below: \n2017-04-05T10:43:07+00:00" } TotalPages: { type: "integer" format: "int32" } } additionalProperties: false } } additionalProperties: false } }