AttributeData typeDescription
amountintegerThe total value of the transaction, including tax and shipping.
The value is non-negative and is represented in the smallest currency unit, such as cents instead of dollars.

If the type is capture, this field represents the amount captured.

If the type is refund, this field represents the amount refunded, including the fee that was refunded.
createdstringThe time when the transaction event was created. The value is formatted in RFC 3339 (i.e. 2019-01-01T00:00:00Z).
currencystringThe local currency of the transaction with its being a valid subset of the ISO 4217 currency code.
feeintegerThe merchant fee.

This field only exists when the value of type is capture.
fee_refundedintegerPortion of the refunded amount that is subtracted from the merchant fee.

This field only exists when the value of type is refund.
idstringA unique identifier representing the transaction. It is either a 12 or 16 alphanumeric character string, depending on if it represents an Affirm loan or a lease. It is equivalent to the checkout_token sent to the user_confirmation_url.
order_idstringA unique identifier representing the order the transaction is associated with. A maximum of 128 characters.
reference_idstringA unique identifier of the event.
typestringThe type of event. Valid values are:

    "amount": 6100,
    "created": "2019-01-01T00:00:00Z",
    "currency": "USD",
    "fee": 600,
    "id": "A1B2C3D4E5F6G7H8",
    "order_id": "JKLM4321",
    "reference_id": "6dH0LrrgUaMD7Llc",
    "type": "capture"