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 · Assets and policy

Set your asset policy

POST/v1/asset_policy

Key scope: write

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. Event asset_policy.updated.

Headers

Idempotency-Key string
Optional. The same key and body run once; a replay answers with Idempotent-Replayed: true. Kept 24 hours.

Body

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

Notes

  • A call for an asset the policy does not take answers 403 asset_not_allowed, before any provider call.
  • A multichain (chain: "evm") address is refused while a list or the date applies.
  • 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 api_key_required
  • 401 api_key_invalid
  • 401 api_key_wrong_mode
  • 401 api_key_expired
  • 403 scope_missing
  • 403 platform_api_paused
  • 429 rate_limited
  • 503 api_disabled

All codes: Errors.