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 · With a Direct Deposit key

Set your asset policy

POST/api/partner/asset_policy

Key scope: partner key

Sets which assets your business takes. From requirePermittedIssuerFrom on, an asset whose issuer.status is not permitted or foreign_registered is refused too. Send either field or both; a field left out stays as it is.

Body

allowed string[] | null
Asset ids from GET /api/partner/assets, or null for every asset.
requirePermittedIssuerFrom string | null
A date, YYYY-MM-DD (UTC), or null for no such rule.

Notes

  • A payout to an asset the policy does not take is refused with 403 asset_not_allowed.
  • No date is set for you by default: nothing changes on 2027-01-18 unless you set one.

Errors

  • 400 body_invalid
  • 400 allowed_invalid
  • 400 require_permitted_issuer_from_invalid
  • 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.