affirm · Schema

TransactionEvent

Represents a single event in the lifecycle of a transaction, such as an authorization, capture, refund, or void.

Properties

Name Type Description
id string A unique identifier for the transaction event.
type string The type of transaction event.
amount integer The amount associated with this event in the smallest currency unit.
currency string The ISO 4217 currency code for this event.
fee integer The fee charged by Affirm for this event in the smallest currency unit.
created string The time when this event was created, in RFC 3339 format.
reference_id string An external reference identifier associated with this event.
metadata object Additional key-value metadata associated with this event for merchant tracking purposes.
View JSON Schema on GitHub