Prepare Sell Transaction
POST/transactions/sell/prepare
This endpoint calculates and validates the required inputs for a sell transaction, including accurate pricing estimates, fees, and limits.
Use the endpoint to pre-validate a crypto-to-fiat sell by generating a FormSessionID, retrieving real-time price/fee/limit estimates, computing the required CryptoAuthorizedAmount, and validating payout-form inputs.
This enables the subsequent Create Sell call to execute deterministically within your slippage, balance, and compliance constraints, with no funds being removed at this stage.
Follow the step-by-step guides:
Request
Responses
- 200
- 400
- 401
- 402
- 500
Sell request data
Bad request
Client is not authorized to perform this action
Payment required. The response Type is InsufficientBalance when the account balance is below the requested amount.
Internal server error