Skip to main content
POST
cURL

Authorizations

x-api-key
string
header
required

Body

application/json

Details of the commit request.

tx_id
string
required

The transaction id of any action (trade/deposit/withdraw)

Response

Successful commit response.

status
enum<string>
required

The result of the commit operation to determine the state of the transaction and balance. If the status is rejected, a deposit transaction has failed initial compliance or risk screening, and can notify that funds will be refunded to the user’s wallet after extended screening is completed.

Available options:
pending,
completed,
failed,
expired,
rejected
action_type
enum<string>
required

The type of action that was committed. Indicates whether the operation was a deposit, withdrawal, or trade.

Available options:
deposit,
withdraw,
trade
already_processed
boolean
required

Indicates whether the given transaction ID (tx_id) was already processed before this commit attempt.

vanish_fee
string<int64>
required

The fee amount charged by Vanish, expressed in lamports.

tx_fee
string<int64>
required

The transaction fee amount, expressed in lamports.

balance_changes
object[]

A list of token balance changes that resulted from the committed action. Empty if the commit failed or was already processed.

screening_eta_seconds
integer

Optional. If provided, the estimated time, in seconds, required to screen the commit.