action nbg_get_accounts_account_id_transactions { label: "Get Transactions" description: "Get Transactions by Account ID" provider: nbg method: GET path: "/accounts/{accountId}/transactions" encoding: json input: { type: "object" properties: { accountId: { type: "string" description: "AccountId" } fromBookingDateTime: { type: "string" format: "date-time" description: "The UTC ISO 8601 Date Time to filter transactions FROM NB Time component is optional - set to 00:00:00 for just Date. If the Date Time contains a timezone, the ASPSP must ignore the timezone component." } "sandbox-id": { type: "string" } toBookingDateTime: { type: "string" format: "date-time" description: "The UTC ISO 8601 Date Time to filter transactions TO NB Time component is optional - set to 00:00:00 for just Date. If the Date Time contains a timezone, the ASPSP must ignore the timezone component." } "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: { Transaction: { type: "array" description: "Provides further details on an entry in the report." items: { type: "object" description: "Provides further details on an entry in the report." required: ["AccountId", "Amount", "BookingDateTime", "CreditDebitIndicator", "Status"] 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 } Balance: { type: "object" description: "Set of elements used to define the balance as a numerical representation of the net increases and decreases in an account after a transaction entry is applied to the account." required: ["Amount", "CreditDebitIndicator", "Type"] 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 } CreditDebitIndicator: { type: "string" enum: ["Credit", "Debit"] } Type: { type: "string" enum: ["ClosingAvailable", "ClosingBooked", "ClosingCleared", "Expected", "ForwardAvailable", "Information", "InterimAvailable", "InterimBooked", "InterimCleared", "OpeningAvailable", "OpeningBooked", "OpeningCleared", "PreviouslyClosedBooked"] } } additionalProperties: false } BookingDateTime: { type: "string" format: "date-time" description: "Date and time when a transaction entry is posted to an account on the account servicer's books. \nUsage: 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. \nAll date-time fields in responses must include the timezone.An example is below: \n2017-04-05T10:43:07+00:00" } CreditDebitIndicator: { type: "string" enum: ["Credit", "Debit"] } CreditorAccount: { type: "object" description: "Unambiguous identification of the account of the creditor, in the case of a debit transaction." 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." } } additionalProperties: false } DebtorAccount: { type: "object" description: "Unambiguous identification of the account of the creditor, in the case of a debit transaction." 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." } } additionalProperties: false } ProprietaryBankTransactionCode: { type: "object" description: "Set of elements to fully identify a proprietary bank transaction code." required: ["Code"] properties: { Code: { type: "string" description: "Proprietary bank transaction code to identify the underlying transaction." } Issuer: { type: "string" description: "Identification of the issuer of the proprietary bank transaction code." } } additionalProperties: false } Status: { type: "string" enum: ["Booked", "Pending"] } TransactionInformation: { type: "string" description: "Further details of the transaction. \nThis is the transaction narrative, which is unstructured text." } TransactionReference: { type: "string" description: "Unique reference for the transaction. This reference is optionally populated, and may as an example be the FPID in the Faster Payments context." } ValueDateTime: { type: "string" format: "date-time" description: "Date and time at which assets become available to the account owner in case of a credit entry, or cease to be available to the account owner in case of a debit transaction entry. \nUsage: If transaction entry status is pending and value date is present, then the value date refers to an expected/requested value date. \nFor transaction entries subject to availability/float and for which availability information is provided, the value date must not be used.In this case the availability component identifies the number of availability days.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" } } 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 } }