SET Crypto API Suite · Wallets and balances
A self-custody wallet's payments
GET/v1/wallets/{id}/payments
A self-custody wallet's payments, newest first, at most 100, as SET last stored them.
Path parameters
idstringrequired- The self-custody wallet's id,
swl_…. Not one of your self-custody wallets, it answers404 wallet_unknown.
Notes
- Self-custody wallets are switched on per deployment; until then
503 self_custody_disabled. CheckGET /v1/capabilities(features.selfCustodyWallets). - Needs the
readscope. Any account type. - A custodial wallet has no
/paymentspath. - No paging (
hasMoreis alwaysfalse) and no filters. - The list does not re-read the provider and carries no
signingPayload: read one payment withGET /v1/wallets/{id}/payments/{payment}for its current state and fresh bytes to sign. - Self-custody payments reach
confirmedonly for USDC on Base today; elsewhere they stop atexecuted. - The example was made with a sandbox key: its
basewallet is on Base Sepolia. - 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
503 self_custody_disabled404 wallet_unknown