Transactions are a crucial part of the flow in Capa, this will guide you on the listing of the transaction and the cancel of the transaction when a user needs to make this action.
To get a list of the userβs transactions use the List User Transactions Endpoint. The endpoint has multiple ways in which it can be filtered, by type of transaction, transaction id, user id and it can be listed in order.
To get the information of a single transaction the List User Transactions Endpoint can be used and filtered by transaction id so you only receive the specific information of that transaction
Use the Cancel User Off Ramp Transaction Endpoint when a Off Ramp wants to be cancelledOnly when an Off Ramp is in PENDING or in CRYPTO_NOT_RECEIVED status it can be canceled