Transactions

Overview

The Transaction API allows merchants to perform various actions on purchases. It is designed to handle post-checkout actions such as captures, refunds, and voids. Purchases represent the Affirm loans that are issued to the end-user. You can interact with transactions via the Transactions API in order to change the state of that transaction, update metadata, or retrieve details.

Supported operations

You can use the Transaction API endpoints to perform the following operations:

Manage purchases

  • CapturePurchase: Captures or settles the funds for a purchase after an order has been fulfilled
  • UpdatePurchase: Updates a purchase with new order information.
  • RefundPurchase: Refunds the full or partial amount for a purchase.
  • VoidPurchase: Permanently cancels an authorized loan

Retrieve purchases