When you initiate an Affirm checkout request, you define a success callback which will hit our
Transactions endpoint and create a
Transaction object. You can retrieve and refund individual transactions as well as read all transactions. Transactions are identified by a unique, random ID.
POST v1/transactions - Authorizes a transaction.
POST v1/transactions/id/void - Voids a transaction
POST v1/transactions/id/capture - Captures a transaction and initiates transfer of funds to a merchant.
POST v1/transactions/id/refund - Fully or partially refund a transaction.
POST v1/transactions/id - Updates a transaction by specifiying the values of the parameters passed.
GET v1/transactions/id - Retrieves transaction data.
GET v1/transactions - Returns a list of transactions.
GET v1/transactions/events - Retrieves a list of transaction events.