Transaction
A transfer of money from one account to another.
This type requires the following scope:
[transactions]
type Transaction implements Node {
id: ID!
amount: Money!
runningBalance: Money
description: String!
reference: String
category(
categorySet: TransactionCategorySet = consumer
): TransactionCategorization @deprecated
categories(
first: UInt
categorySet: TransactionCategorySet = consumer
): [TransactionCategorization]! @deprecated
date: Date!
bankAccount: BankAccount!
}
Fields
Transaction.id ● ID! non-null scalar
Transaction.amount ● Money! non-null scalar
Positive values represent an inflow into the account. Conversely negative values represent money leaving the account.
Transaction.runningBalance ● Money scalar
Remaining balance after this transaction is applied to the account
Transaction.description ● String! non-null scalar
The description of the transaction as it appears in the user's statement
Transaction.reference ● String scalar
The reference (if available) as it appears on the counterparty's statement
Transaction.category ● TransactionCategorization deprecated object
The category of the transaction and its associated probability
Transaction.category.categorySet ● TransactionCategorySet enum
Transaction.categories ● [TransactionCategorization]! deprecated non-null object
A list of possible categorizations and their associated probabilities
Transaction.categories.first ● UInt scalar
Transaction.categories.categorySet ● TransactionCategorySet enum
Transaction.date ● Date! non-null scalar
The date at which the transaction occurred. The granularity of the transaction date will largely be at the day level, however if a given bank has more accurate times available, this will be included in the transaction date.
Transaction.bankAccount ● BankAccount! non-null object
The bank account in which the transaction occurred
Interfaces
Node interface
An abstract datatype that has a locally unique identifier, allowing a given node to be later queried by id using the node(id: ID!) query.