๐ฐ Transactions
Overview
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.
List Transactions
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.
Transaction Detail
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
Cancel Transaction
Cancel On Ramp
Use the Cancel User On Ramp Transaction Endpoint when an On Ramp wants to be cancelled
Only when an On Ramp is in PENDING status it can be canceled
Cancel Off Ramp
Use the Cancel User Off Ramp Transaction Endpoint when a Off Ramp wants to be cancelled
Only when an Off Ramp is in PENDING or in CRYPTO_NOT_RECEIVED status it can be canceled
Updated 2 months ago