Transaction
TYPETransactions are a data object that can represent a payment, failed or successful, or a refund.
Fields
account_code
Customer defined account code for the transaction.
ach_return_details
The details of the ACH return if any.
additional_purchase_data
The additional purchase data.
authorization_id
The authorization id for the transaction.
avs_status
The AVS status for the transaction.
Values
NO_MATCHPOSTAL_CODE_AND_STREET_MATCHPOSTAL_CODE_MATCHSTREET_MATCHUNKNOWN
currency
The type of currency for the transaction.
device_id
-
dispute_status
The status of the dispute if any.
Values
INQUIRYLOSTPENDINGWON
failure_reasons
List of strings, if any, detailing the reason a transaction failed. See Failure Codes for a complete list of failure codes and descriptions.
fee_mode
The fee mode on the transaction.
Values
CUSTOM_FEEINTERCHANGEMERCHANT_FEESERVICE_FEE
fees
The amount of the fees charged for the transaction.
flag_for_review
A status indiciator for any transactions that are in review. When a transaction is in review the funds will not settle to the merchant until resolved.
Values
EXCEEDS_AUTHEXCEEDS_FEE_LIMITEXCEEDS_THRESHOLDPOTENTIAL_DUPLICATE
gross_amount
The total amount of the transaction.
invoice
The invoice object for the transaction if any.
is_settled
Whether the transaction has been settled.
merchant
The merchant object of the merchant the transaction belongs to.
merchant_uid
The Pay Theory unique identifier for the merchant the transaction is for.
metadata
Custom defined JSON object to be stored with the transaction.
net_amount
The total amount of the transaction after fees.
parent_id
The Pay Theory unique identifier for the parent transaction if any.
payment_method
The payment method used to make the transaction.
processor
-
recurring
The recurring payment that the transaction belongs to if any.
reference
Customer defined reference for the transaction.
refund_reason
The reason for the refund if any.
refund_voidable
Whether the refund can be voided.
refunded_amount
The amount of the transaction that has been refunded if any.
sale_id
The sale id for the transaction if any.
settlement_batch
The unique settlement batch number the transaction belongs to if settled.
splits
An array of split objects associated with this transaction, if any.
status
The status of the transaction.
Values
CANCELEDFAILEDPARTIALLY_REFUNDEDPENDINGREFUNDEDRETURNEDSETTLEDSUCCEEDEDVOIDED
timezone
The timezone the transaction was made in.
transaction_date
The date the transaction was made.
transaction_id
The Pay Theory unique identifier for the transaction.
transaction_type
The type of transfer that was made.
Values
ACH_RETURNDEBITFAILUREREVERSAL
updated_row_at
The date and time the transaction was last updated.