SET Crypto API Suite · Convert
Payments waiting on a pending trade
GET/v1/pending_trades
Each of your Cash-Out payments the provider holds with a trade awaiting execution, oldest first, at most 100, with since when and its amount. Execute one with POST /v1/cash_out_payments/{id}/execute_trade.
Deprecated Retired on 2026-11-18, with the asset it served (
GET /v1/capabilitiesretiredAssets). Kept only for a payment already waiting at the provider; nothing new creates one. No switch turns it off: its refusals are the ones listed on this page.
Notes
- Expanded routes are switched on per deployment; until then
403 expanded_routes_off. CheckGET /v1/capabilities(features.expandedRoutes). - Needs the
readscope. Any account type. - Only trades in state
pendingare listed. There is no paging: the answer has nohasMoreornextCreatedBefore. - With no pending trade,
datais empty; after a trade is executed it leaves the list. paymentis the Cash-Out payment's id;amountandcurrencyare the provider's figures for the held payment;rateis alwayscurrent_market.- Trades appear after SET's scheduled pass, which runs every 10 minutes;
sinceis when SET first saw the trade. - A payment can wait on a trade only through a chain
evm, currencyanyCash-Out Address. - Events for a trade:
cash_out_payment.trade_pending, thencash_out_payment.trade_executed. - The sandbox does not simulate a pending trade: the example's trade was supplied in the provider's form.
- This example is a recorded run of SET's own code (wallet release
e9b03447) with a sandbox key; ids and times are that run's.
Errors
403 expanded_routes_off