Frontend | Backend | Api

Invoices\Models\Api\Transaction

Transaction

Property Description Returns
currency Gets the currency of the transaction (from its invoice). Currency
amountAsMoney Gets the amount as a Money object. Represents the raw transaction amount. Money
capturedAmountAsMoney Gets the captured amount as a Money object. Represents the total captured by this transaction and its children, minus any amounts that were subsequently refunded. Money
authorizedAmountAsMoney Gets the authorized amount as a Money object. Represents the total authorized by this transaction and its children, minus any amounts that were subsequently voided or captured. Money
voidedAmountAsMoney Gets the voided amount as a Money object. Represents the total voided by this transaction and its children. Money
refundedAmountAsMoney Gets the refunded amount as a Money object. Represents the total refunded by this transaction and its children. Money
errorMessage Get the error message from the transaction data if it exists. string
id int
externalId string
type string
status string
amount string
data array
created Date the record was created. DateTime
invoice Invoice
parent Transaction
children Collection (Transaction)