Skip to main content

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
categories(
first: UInt
categorySet: TransactionCategorySet = consumer
): [TransactionCategorization]!
date: Date!
bankAccount: BankAccount!
}

Fields

id ● ID! non-null scalar

amount ● Money! non-null scalar

Positive values represent an inflow into the account. Conversely negative values represent money leaving the account.

runningBalance ● Money scalar

Remaining balance after this transaction is applied to the account

description ● String! non-null scalar

The description of the transaction as it appears in the user's statement

reference ● String scalar

The reference (if available) as it appears on the counterparty's statement

category ● TransactionCategorization object

The category of the transaction and its associated probability

categorySet ● TransactionCategorySet enum

categories ● [TransactionCategorization]! non-null object

A list of possible categorizations and their associated probabilities

first ● UInt scalar
categorySet ● TransactionCategorySet enum

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.

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.