Skip to content
SETSimple Easy Transactions
SET DocsSET Crypto API Suite and SET API referenceCurrent as of 2026-11-21 · wallet release 7d8a79fb
Browse: SET Crypto API Suite

SET Crypto API Suite · Convert

Payments waiting on a pending trade

GET/v1/pending_trades

Key scope: read · Success: 200

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/capabilities retiredAssets). 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.

No parameters.

Notes

  • Expanded routes are switched on per deployment; until then 403 expanded_routes_off. Check GET /v1/capabilities (features.expandedRoutes).
  • Needs the read scope. Any account type.
  • Only trades in state pending are listed. There is no paging: the answer has no hasMore or nextCreatedBefore.
  • With no pending trade, data is empty; after a trade is executed it leaves the list.
  • payment is the Cash-Out payment's id; amount and currency are the provider's figures for the held payment; rate is always current_market.
  • Trades appear after SET's scheduled pass, which runs every 10 minutes; since is when SET first saw the trade.
  • A payment can wait on a trade only through a chain evm, currency any Cash-Out Address.
  • Events for a trade: cash_out_payment.trade_pending, then cash_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

All codes: Errors.