Transaction
Interface

Transaction interface shared by all kind of transactions (Debit, Credit)

Fields

#

account

amount

Non-null

amountInHostCurrency

Non-null

balanceInHostCurrency

The balance after the Transaction has run. Only for financially active accounts.

createdAt

description

expense

fromAccount

The sender of a transaction (on CREDIT = oppositeAccount, DEBIT = account)

giftCardEmitterAccount

group

Non-null

hostCurrencyFxRate

Exchange rate between the currency of the transaction and the currency of the host (transaction.amount * transaction.hostCurrencyFxRate = transaction.amountInHostCurrency)

hostFee

id

Non-null

invoiceTemplate

isDisputed

isInReview

isOrderRejected

Non-null

isRefund

isRefunded

legacyId

Non-null

merchantId

Merchant id related to the Transaction (Stripe, PayPal, Wise, Privacy)

netAmount

Non-null

netAmountInHostCurrency

Non-null

oppositeAccount

order

paymentMethod

paymentProcessorFee

payoutMethod

platformFee

Non-null

refundTransaction

relatedTransactions

Non-null

taxAmount

Non-null

taxInfo

If taxAmount is set, this field will contain more info about the tax

toAccount

The recipient of a transaction (on CREDIT = account, DEBIT = oppositeAccount)

type

Non-null

updatedAt

uuid

Non-null

Implementations

#

Implemented by Credit , Debit .

Usages

#

References

#

  • Field transactions from Order