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 API

SET Crypto API Suite · Wallets and balances

Accept ownership of a self-custody wallet

POST/v1/wallets/{id}/acceptance

Key scope: approve · Success: 200

An owner named in owners.members accepts ownership of a self-custody wallet. After the last owner accepts, SET creates the wallet at the provider, owned by the owners, and reads it back.

Path parameters

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

Headers

Idempotency-Key string
Any unique string, so a retry runs once. See Idempotency.

Notes

  • A person accepts in the SET Console; a key gets 403 acceptance_needs_a_person.
  • Self-custody wallets are switched on per deployment; until then 503 self_custody_disabled. Check GET /v1/capabilities (features.selfCustodyWallets).
  • Each owner signs in to the SET Console as themselves and accepts there. Any API key, even with the approve scope, answers 403 acceptance_needs_a_person, before the wallet id is checked.
  • A signed-in member not named as an owner answers 403 not_an_owner; a signed-in viewer answers 403 role_required.
  • Answers 200. While other owners have not accepted, the wallet stays pending_acceptance with address null.
  • When the last owner accepts, SET creates the owners' key quorum, the policy and the wallet at the provider and reads them back: state active, the address shown, policy.readBack matches. A read-back that differs answers state frozen and no address.
  • Public keys in owners.publicKeys (the business's server keys) never accept; only the people named in owners.members do.
  • A repeat by the same owner answers 200 and creates nothing more.
  • Until the wallet is active, a payment from it answers 409 wallet_not_active.
  • 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 scope_missing
  • 503 self_custody_disabled
  • 403 acceptance_needs_a_person
  • 404 wallet_unknown
  • 403 not_an_owner
  • 503 provider_unavailable
  • 502 provider_refused

All codes: Errors.