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 complete different Actions on individual transactions, which are identified by a unique, random ID.
This REST API is based on Transactions 1.0
GET v1/transactions - Returns a list of transactions.
POST v1/transactions - Authorizes a transaction.
GET v1/transactions/events - Retrieves a list of transaction events.
GET v1/transactions/id - Retrieves transaction data.
POST v1/transactions/id - Updates a transaction by specifiying the values of the parameters passed.
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/void - Voids a transaction
GET v1/settlements/events - Lists settlement events by merchant.
GET v1/settlements/daily - Lists settlement event summaries by merchant.