Previous topic

Team Registration

Next topic

User

This Page

Transaction

class fattmerchant.models.transaction.Transaction(data)

Transaction model class

id = None

Id of the transaction

invoice_id = None

Invoice id of the transaction

reference_id = None

Reference id of the transaction

recurring_transaction_id = None

Recurring transaction id of the transaction

auth_id = None

Auth id of the transaction

type = None

The transaction type

source = None

Optional field to track the source of a transaction made outside of Omni

is_merchant_present = None

Whether the merchant was present when the transaction was created

merchant_id = None

Merchant id of the transaction

user_id = None

User id of the transaction

customer_id = None

Customer id of the transaction

payment_method_id = None

Payment method id of the transaction

is_manual = None

Whether the transaction was created manually or not

success = None

Whether the transaction was successful or not

message = None

Error message of an unsuccesful transaction

meta = None

Any meta data of the transaction

total = None

Total of the transaction

method = None

The payment method type for the transaction

pre_auth = None

Whether the transaction is a pre authorization transaction

is_captured = None

Whether the pre auth transaction is captured or not

last_four = None

Last for numbers of the payment method for the transaction

interchange_code = None

Interchange classification

interchange_fee = None

Fees associated with transaction

batch_id = None

(Not used)

batched_at = None

When the transaction was batched

emv_response = None

Response from card present emv transactions

avs_response = None

Response from address verification system

cvv_response = None

Response from card verification

pos_entry = None

Additional details from point of sale system

pos_salesperson = None

Additional details from point of sale system

receipt_email_at = None

When the reciept email was sent

receipt_sms_at = None

When the reciept text was sent

settled_at = None

When the transaction was settled

created_at = None

When the transaction was created

updated_at = None

When the transaction was updated

source_ip = None

Where the transaction was made

gateway_id = None

Gateway id of the transaction

issuer_auth_code = None

Authorization code from the gateway for the transaction

total_refunded = None

Total amount that was refunded of the transaction

is_refundable = None

Whether the transaction is refundable or not

is_voided = None

Whether the transaction was voided or not

is_voidable = None

Whether the transaction is voidable or not

schedule_id = None

Id of the associated schedule for this transaction

child_captures = None

Any child transaction captures if the transaction is a pre auth

parent_auth = None

The parent transaction if this transaction is a capture

gateway_name = None

Gateway name for the transaction

response = None

Optional JSON field to store the gateway response

is_settling = None

Whether the transaction is settling or not

customer = None

The customer for the transaction

files = None

Any files that are linked to the transaction

payment_method = None

Payment method for the transaction

user = None

User for the transaction

merchant = None

Merchant for the transaction