Magidoc

transactions
Query

Arguments

#

account

Reference of the account(s) assigned to the main side of the transaction (CREDIT -> recipient, DEBIT -> sender)

limit = 100

Non-null

The number of results to fetch (default 10, max 1000)

offset

Non-null

The offset to use to fetch

type

The transaction type (DEBIT or CREDIT)

paymentMethodType

The payment method types. Can include null for transactions without a payment method

fromAccount

Reference of the account assigned to the other side of the transaction (CREDIT -> sender, DEBIT -> recipient). Avoid, favor account instead.

host

Reference of the host accounting the transaction

orderBy = { "field": "CREATED_AT", "direction": "DESC" }

Non-null

The order of results

dateFrom

Only return transactions that were created after this date

dateTo

Only return transactions that were created before this date

searchTerm

The term to search

hasExpense

Only return transactions with an Expense attached

expense

Only return transactions with this Expense attached

expenseType

Only return transactions that have an Expense of one of these expense types attached

hasOrder

Only return transactions with an Order attached

order

Only return transactions for this order.

includeHost = true

Non-null

Used when filtering with the host argument to determine whether to include transactions on the fiscal host account (and children)

includeRegularTransactions = true

Non-null

Whether to include regular transactions from the account (turn false if you only want Incognito or Gift Card transactions)

includeIncognitoTransactions

Non-null

If the account is a user and this field is true, contributions from the incognito profile will be included too (admins only)

includeChildrenTransactions

Non-null

Whether to include transactions from children (Events and Projects)

includeGiftCardTransactions

Non-null

Whether to include transactions from Gift Cards issued by the account.

includeDebts

Non-null

Whether to include debt transactions

kind

To filter by transaction kind

group

The transactions group to filter by

Response

#

Returns TransactionCollection !.

Example

#