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 · Wallets and balances

One payment, re-read from the provider

GET/v1/wallets/{id}/payments/{payment}

Key scope: read · Success: 200

One self-custody wallet payment. Each read re-reads the transfer at the provider; while the payment waits for signatures, intent.signingPayload holds fresh bytes to sign.

Path parameters

id stringrequired
The self-custody wallet's id, swl_….
payment stringrequired
The payment's id, swp_….

Notes

  • Self-custody wallets are switched on per deployment; until then 503 self_custody_disabled. Check GET /v1/capabilities (features.selfCustodyWallets).
  • Needs the read scope. Any account type.
  • A payment id that is not this wallet's, or a wallet id that is not yours, answers 404 payment_unknown.
  • Each read while the payment waits answers new bytes with a new timestamp (the read's own time). Sign them promptly: POST …/signatures refuses a timestamp more than 5 minutes old with 410 signature_expired.
  • States: awaiting_signature, processing, executed, confirmed; or failed, rejected, expired or dismissed, with failureCode.
  • Once the owners have signed, intent carries no signingPayload and txHash holds the transaction.
  • confirmed is set by SET's scheduled pass when it reads the transfer on chain. Self-custody payments reach confirmed only for USDC on Base today; elsewhere they stop at executed.
  • The example was made with a sandbox key: its base wallet 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_disabled
  • 404 payment_unknown

All codes: Errors.