Magidoc

Credit
Object

This represents a Credit transaction

Fields

#

id

Non-null

legacyId

Non-null

uuid

Non-null

group

Non-null

type

Non-null

description

amount

Non-null

amountInHostCurrency

Non-null

hostCurrencyFxRate

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

netAmount

Non-null

netAmountInHostCurrency

Non-null

taxAmount

Non-null

taxInfo

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

platformFee

Non-null

hostFee

Non-null

paymentProcessorFee

Non-null

Payment Processor Fee (usually in host currency)

account

The account on the main side of the transaction (CREDIT -> recipient, DEBIT -> sender)

oppositeAccount

The account on the opposite side of the transaction (CREDIT -> sender, DEBIT -> recipient)

fromAccount

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

toAccount

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

giftCardEmitterAccount

Account that emitted the gift card used for this transaction (if any)

createdAt

updatedAt

expense

order

isRefunded

isRefund

isDisputed

isInReview

paymentMethod

payoutMethod

permissions

Non-null

The permissions given to current logged in user for this transaction

isOrderRejected

Non-null

refundTransaction

oppositeTransaction

The opposite transaction (CREDIT -> DEBIT, DEBIT -> CREDIT)

relatedTransactions

Non-null

merchantId

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

balanceInHostCurrency

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

invoiceTemplate

Interfaces

#

Also implements Transaction .