affirm · Schema

Affirm Transaction

Represents an Affirm payment transaction, capturing the full lifecycle from authorization through capture, refund, and void. Transactions are created by exchanging a checkout token via the Transactions API after a customer completes the Affirm checkout flow.

Properties

Name Type Description
id string A unique identifier representing the transaction, assigned by Affirm upon authorization.
checkout_id string A unique identifier referencing the Checkout object that originated this transaction.
order_id string Identifies the order within the merchant's order management system, used for reconciliation.
status string Current lifecycle state of the transaction.
amount integer The original amount financed to the customer, expressed in the smallest currency unit (e.g., cents for USD).
amount_refunded integer The cumulative amount refunded to the customer from this transaction, in the smallest currency unit.
currency string The ISO 4217 currency code for this transaction.
created string The timestamp when the transaction was created, in RFC 3339 format.
authorization_expiration string The timestamp after which the transaction authorization expires and can no longer be captured, in RFC 3339 format.
provider_id integer A unique identifier of the financing provider for this transaction.
remove_tax boolean Indicates whether tax was paid by the financing provider. Applicable to Affirm Connect integrations only.
events array Array of TransactionEvent objects documenting the full history of actions taken on this transaction.
token string A JWT signing the JSON response body. When PII is included in the response, this token is also encrypted.
View JSON Schema on GitHub