SET Crypto API Suite · Assets and policy
Set your asset policy
POST/v1/asset_policy
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-Keystring- Optional. The same key and body run once; a replay answers with
Idempotent-Replayed: true. Kept 24 hours.
Body
allowedstring[] | null- Asset ids from
GET /v1/assets, ornullfor every asset. requirePermittedIssuerFromstring | null- A date,
YYYY-MM-DD(UTC), ornullfor 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_invalid400 allowed_invalid400 require_permitted_issuer_from_invalid401 api_key_required401 api_key_invalid401 api_key_wrong_mode401 api_key_expired403 scope_missing403 platform_api_paused429 rate_limited503 api_disabled