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 Direct Deposit API

SET Direct Deposit API · Compliance

Restrict a payee or a wallet

POST/api/partner/restrictions

Key scope: partner key · Success: 201

Restricts one of your payees or a wallet, for your business alone. Every money path then answers 403 restricted for it: a restricted payee is given no address to pay, and its payments are not recorded.

Headers

Idempotency-Key string
Optional.

Body

subject objectrequired
{kind: "payee", id: "pye_…"} or {kind: "wallet", chain, address}.

Errors

  • 400 body_invalid
  • 400 subject_invalid
  • 404 restriction_subject_unknown
  • 401 partner_key_required
  • 401 partner_key_invalid
  • 401 api_key_expired
  • 403 scope_missing
  • 403 ip_not_allowed
  • 403 merchant_no_direct_deposit
  • 429 rate_limited
  • 503 direct_deposit_disabled

All codes: Errors.