action nbg_get_accounts_account_id_balances { label: "Get Balances" description: "Get Balances by Account ID" provider: nbg method: GET path: "/accounts/{accountId}/balances" 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", "Links", "Meta"] properties: { Data: { type: "object" required: ["Balance"] properties: { Balance: { type: "array" description: "Set of elements used to define the balance details." items: { type: "object" description: "Set of elements used to define the balance details." required: ["AccountId", "Amount", "CreditDebitIndicator", "DateTime", "Type"] properties: { AccountId: { type: "string" description: "A unique and immutable identifier used to identify the account resource. This identifier has no meaning to the account owner." } Amount: { type: "object" required: ["Amount", "Currency"] properties: { Amount: { type: "string" description: "A number of monetary units specified in an active currency where the unit of currency is explicit and compliant with ISO 4217." } Currency: { type: "string" 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\"." } } additionalProperties: false } CreditDebitIndicator: { type: "string" enum: ["Credit", "Debit"] } CreditLine: { type: "array" description: "Set of elements used to provide details on the credit line." items: { type: "object" required: ["Included"] properties: { Amount: { type: "object" required: ["Amount", "Currency"] properties: { Amount: { type: "string" description: "A number of monetary units specified in an active currency where the unit of currency is explicit and compliant with ISO 4217." } Currency: { type: "string" 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\"." } } additionalProperties: false } Included: { type: "boolean" description: "Indicates whether or not the credit line is included in the balance of the account. \nUsage: If not present, credit line is not included in the balance amount of the account." } Type: { type: "string" enum: ["Available", "Credit", "Emergency", "Pre-Agreed", "Temporary"] } } additionalProperties: false } } DateTime: { type: "string" format: "date-time" description: "Indicates the date (and time) of the balance.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" } Type: { type: "string" enum: ["ClosingAvailable", "ClosingBooked", "ClosingCleared", "Expected", "ForwardAvailable", "Information", "InterimAvailable", "InterimBooked", "InterimCleared", "OpeningAvailable", "OpeningBooked", "OpeningCleared", "PreviouslyClosedBooked"] } } 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 } }