Create a policy and submit it for approval. Active immediately unless a governing policy still
needs endorsements, in which case status is PENDING_APPROVAL and action is present.
Client-supplied key that deduplicates retried requests. Reusing a key returns the original result instead of repeating the action.
Api-Signature
string
required
A hex-encoded Ed25519 signature of timestamp_epoch_seconds + uppercase(http_method) + request_path + request_body.
Pattern: ^[0-9A-Fa-f]{128,160}$
Api-Timestamp
integer<int64>
required
Current timestamp, represented as unix epoch seconds
Body
application/json
name
string
required
Human-readable policy name.
target
Policy Target · object
required
Which resources and action types this policy governs.
Show child attributes
requiredActions
Required Action Node · object
required
What a matching change must satisfy — approvals, deny or allow today, with room for other
requirement types alongside them later — as a boolean tree, plus optional settings governing
the action opened when the tree isn't already satisfied. settings belongs on this root object
only, not on nodes inside the tree.
A tree that resolves to deny refuses the change with 403 and opens no action, so settings has
nothing to govern in that case. A tree of exactly {"allow": true} lets the change through with
nothing further required, so settings has nothing to govern there either.
Show child attributes
description
string
Optional human-readable explanation of what this policy is for.
conditions
Condition Node · object
When present, this policy only applies to changes matching this boolean tree. Omit for a policy
that applies to every change matching target.
Only the transaction action types (WITHDRAWAL, DEPOSIT) may carry one. Every condition is
about a change's asset and value, and the other action types have neither, so a condition on
one of them could never match.
Show child attributes
Response
Change accepted
data
Policy Change Accepted · object
required
Show child attributes
Was this page helpful?
{"docsConfig":{"theme":"mint","$schema":"https://mintlify.com/docs.json","name":"Anchorage Digital","colors":{"primary":"#5580F6","light":"#5580F6","dark":"#5580F6"},"logo":{"light":"https://mintcdn.com/deployment-4/ikVMLMsizDmk_7Sw/knowledge-base/images/logo-lockup-dark.svg?fit=max\u0026auto=format\u0026n=ikVMLMsizDmk_7Sw\u0026q=85\u0026s=87028c6755f355e278de66991913b91c","dark":"https://mintcdn.com/deployment-4/ikVMLMsizDmk_7Sw/knowledge-base/images/logo-lockup-light.svg?fit=max\u0026auto=format\u0026n=ikVMLMsizDmk_7Sw\u0026q=85\u0026s=1b56e9a2511c5c765bb60eb80f10491d","href":"/"},"favicon":{"light":"https://mintcdn.com/deployment-4/GSah06OFrRxxO1iB/knowledge-base/favicon-symbol.svg?fit=max\u0026auto=format\u0026n=GSah06OFrRxxO1iB\u0026q=85\u0026s=dbc56a4b9970aa0cc3b83e27e2063715","dark":"https://mintcdn.com/deployment-4/GSah06OFrRxxO1iB/knowledge-base/favicon-symbol.svg?fit=max\u0026auto=format\u0026n=GSah06OFrRxxO1iB\u0026q=85\u0026s=dbc56a4b9970aa0cc3b83e27e2063715"},"api":{"playground":{"display":"interactive"},"examples":{"languages":["curl","python","javascript"]}},"appearance":{"default":"system"},"background":{"color":{"light":"#F4F5F5","dark":"#000"}},"navbar":{"links":[{"href":"/knowledge-base/login","label":"Log in"},{"href":"https://www.anchorage.com","label":"Anchorage.com"},{"href":"https://www.anchorage.com/get-in-touch","label":"Contact"}]},"footer":{"socials":{"x":"https://x.com/Anchorage","linkedin":"https://www.linkedin.com/company/anchorage","youtube":"https://www.youtube.com/c/AnchorageDigital"}},"styling":{"eyebrows":"breadcrumbs","latex":true},"errors":{"404":{"redirect":true,"title":"Oops, something went wrong","description":"The content you're looking for is missing. Contact Anchorage Digital for support."}},"contextual":{"options":["claude","mcp","add-mcp","copy","view","assistant","chatgpt","perplexity","grok","aistudio","devin","windsurf","cursor","vscode","devin-mcp"],"display":"header"},"navigation":{"pages":[]}},"deployment":{"deploymentMetadataValue":{"subdomain":"deployment-4","hasAudioNarration":false,"actualSubdomain":"deployment-4","customDomains":["docs.anchorage.com"],"gitSource":{"_id":"6ad7fa92692c7c940ff17a2f","type":"github","owner":"anchorlabsinc","repo":"knowledge-base","deployBranch":"main","contentDirectory":"","isPrivate":true,"mountPath":"knowledge-base","label":""},"feedback":{"agentFeedback":true,"contextualFeedback":{"allowEmail":true},"thumbs":true},"entitlements":{"AI_CHAT":{"status":"ENABLED"},"REMOVE_BRANDING":{"status":"ENABLED"},"CONTEXTUAL_FEEDBACK":{"status":"ENABLED"},"CODE_SNIPPET_FEEDBACK":{"status":"ENABLED"},"WEB_MCP":{"status":"ENABLED"},"NARRATION":{"status":"ENABLED"}},"buildId":"6b00a34d53e410d2fbe5d3fc","clientVersion":"0.0.4270","searchFilterCounts":[{"language":"default","tag":"Anchorage Digital","count":384},{"language":"default","tag":"API reference","count":349},{"language":"default","tag":"v2","count":267},{"language":"default","tag":"Porto","count":249},{"language":"default","tag":"User guides","count":168},{"language":"default","tag":"Developer guides","count":106},{"language":"default","tag":"Trading","count":85},{"language":"default","tag":"Move money","count":84},{"language":"default","tag":"Platform","count":68},{"language":"default","tag":"v4","count":61}],"searchSettings":{"isFiltersEnabled":true}},"assistantConfig":{"enableAskAiButton":false,"enableStarterQuestions":false,"enableContextualStarterQuestions":false,"enableAskAiSearchBar":true},"basePath":"","hasChatPermissions":true,"hasWebMcpPermissions":true,"toggles":[{"name":"kill-isr","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"custom-rbac-roles","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"agent-mintlify-slack","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"agent-integrations-settings","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"rbac-expansion","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"automations-pr-grouping","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"custom-prefix","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"analytics-v7","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"user-flows-analytics","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"no-publish-flow","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"workos-onboarding","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"snapshot-serving-live","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"stripTemperatureMiddleware","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"support-platform-pylon-zendesk","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"snapshot-serving","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"instant-rollback","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"granular-notifications-server","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"granular-notifications","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"automations-fable","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"fixed-ai-action-pricing","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"site-roles","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"automation-resolve-merge-conflict","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"scoped-publishing","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"mintql","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"page-level-analytics","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"editor-version-history-v2","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"billing-page-v2","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"full-page-search","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"workspace-projects","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"assistant-v5","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"fork-pr-previews","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"revalidation-jwt","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"workos-sso-scim","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"hobby-abuse-scan","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"dashboard-inbox","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"workos-signup","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"turbopuffer-dual-write","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"workos-enabled","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"approve-review-flow","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"editor-metadata","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"sso-setup-deadline-banner","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"turbopuffer-serve","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"live-agents","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"starter-pricing","enabled":true,"variant":{"name":"control","enabled":true,"payload":{"type":"string","value":"control"},"feature_enabled":true},"impressionData":false},{"name":"llms-txt-v2","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"wildcard-email-auth","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false}],"googleFontsInlined":false},"customCss":[{"filePath":"knowledge-base/custom.css","href":"/_mintlify/custom/deployment-4/3851477207c6fc6b/knowledge-base/custom.css"}]}
{"page":{"pagePath":"knowledge-base/api-reference/v4/policies/define-a-policy","slug":"/knowledge-base/api-reference/v4/policies/define-a-policy","pageMetadata":{"title":"Define a policy","description":"Create a policy and submit it for approval. Active immediately unless a governing policy still\nneeds endorsements, in which case `status` is `PENDING_APPROVAL` and `action` is present.","deprecated":null,"version":null,"openapi":"/knowledge-base/openapi/v4.yaml post /policies","href":"/knowledge-base/api-reference/v4/policies/define-a-policy","autogeneratedByOpenApi":true},"description":{"compiledSource":"\"use strict\";\nconst {jsx: _jsx, jsxs: _jsxs} = arguments[0];\nconst {useMDXComponents: _provideComponents} = arguments[0];\nfunction _createMdxContent(props) {\n const _components = {\n code: \"code\",\n p: \"p\",\n ..._provideComponents(),\n ...props.components\n };\n return _jsxs(_components.p, {\n children: [\"Create a policy and submit it for approval. Active immediately unless a governing policy still\\nneeds endorsements, in which case \", _jsx(_components.code, {\n children: \"status\"\n }), \" is \", _jsx(_components.code, {\n children: \"PENDING_APPROVAL\"\n }), \" and \", _jsx(_components.code, {\n children: \"action\"\n }), \" is present.\"]\n });\n}\nfunction MDXContent(props = {}) {\n const {wrapper: MDXLayout} = {\n ..._provideComponents(),\n ...props.components\n };\n return MDXLayout ? _jsx(MDXLayout, {\n ...props,\n children: _jsx(_createMdxContent, {\n ...props\n })\n }) : _createMdxContent(props);\n}\nreturn {\n default: MDXContent\n};\n","frontmatter":{},"scope":{}},"pageType":"default","mdx":{"mdxSource":{"compiledSource":"\"use strict\";const{Fragment:_Fragment,jsx:_jsx}=arguments[0];const{useMDXComponents:_provideComponents}=arguments[0];function _createMdxContent(props){return _jsx(_Fragment,{})}function MDXContent(props={}){const{wrapper:MDXLayout}={..._provideComponents(),...props.components};return MDXLayout?_jsx(MDXLayout,{...props,children:_jsx(_createMdxContent,{...props})}):_createMdxContent(props)}return{default:MDXContent}","frontmatter":{},"scope":{"config":{},"pageMetadata":{"title":"Define a policy","description":"Create a policy and submit it for approval. Active immediately unless a governing policy still\nneeds endorsements, in which case `status` is `PENDING_APPROVAL` and `action` is present.","deprecated":null,"version":null,"openapi":"/knowledge-base/openapi/v4.yaml post /policies","href":"/knowledge-base/api-reference/v4/policies/define-a-policy","autogeneratedByOpenApi":true}}},"mdxSourceWithNoJs":null},"mdxExtracts":{"tableOfContents":[],"codeExamples":{}},"jsLinks":[],"openApiReferenceData":{"operation":{"summary":"Define a policy","description":"Create a policy and submit it for approval. Active immediately unless a governing policy still\nneeds endorsements, in which case `status` is `PENDING_APPROVAL` and `action` is present.","operationId":"createPolicy","tags":["Policies"],"parameters":["3831f8a4-4328-47d9-8c99-b2188d013ab9","1fba8e33-168a-4699-b8a4-3f293c9904df","35ab52bc-bab6-48f4-a9a9-f7f4a588539c"],"requestBody":"1ef79aa7-b47f-4c22-b206-3517ce5e83fe","responses":{"202":"1e83674c-1aa9-45ec-8df9-fce019dd0df9","400":"11f7672c-2050-4cb6-9b50-c43fbcaa99c4","401":"48bc7d82-2110-497d-aea2-e7823861880d","403":"4410857e-e238-4d6e-9716-cb0210791885","429":"43a8a182-d97e-460f-b8f0-0036194ab470","500":"1acc0d04-fa1a-4be5-b73d-2877c9b1c555"},"method":"post","type":"path","servers":["5987e378-6a0f-4e8d-8aa1-927add821f2f"],"security":["5c20c00e-303d-410a-8164-9447333641bf"],"path":"/policies","baseUrlOptions":["https://api.anchorage-staging.com/v4"],"title":"Define a policy","codeSamples":[],"requestExampleLanguages":["bash","python","javascript"],"requiredOnlyExamples":false,"requestExampleType":"generated","responseExampleType":"generated"},"dependencies":{"parameters":{"3831f8a4-4328-47d9-8c99-b2188d013ab9":{"name":"Idempotency-Key","in":"header","schema":{"type":"string","isRequired":true,"description":"Client-supplied key that deduplicates retried requests. Reusing a key returns the original result instead of repeating the action.","uniqueKey":"","typeLabel":"string"},"required":true,"description":"Client-supplied key that deduplicates retried requests. Reusing a key returns the original result instead of repeating the action."},"1fba8e33-168a-4699-b8a4-3f293c9904df":{"name":"Api-Signature","in":"header","required":true,"schema":{"type":"string","pattern":"^[0-9A-Fa-f]{128,160}$","isRequired":true,"description":"A hex-encoded Ed25519 signature of `timestamp_epoch_seconds + uppercase(http_method) + request_path + request_body`.","uniqueKey":"","typeLabel":"string"},"description":"A hex-encoded Ed25519 signature of `timestamp_epoch_seconds + uppercase(http_method) + request_path + request_body`."},"35ab52bc-bab6-48f4-a9a9-f7f4a588539c":{"name":"Api-Timestamp","in":"header","required":true,"schema":{"type":"integer","format":"int64","isRequired":true,"description":"Current timestamp, represented as unix epoch seconds","uniqueKey":"","typeLabel":"integer\u003cint64>"},"description":"Current timestamp, represented as unix epoch seconds"}},"requestBody":{"required":true,"content":{"application/json":{"schema":{"title":"Policy Create Request","type":"object","required":["name","target","requiredActions"],"properties":{"name":{"type":"string","description":"Human-readable policy name.","isRequired":true,"uniqueKey":"name","typeLabel":"string"},"target":{"title":"Policy Target","type":"object","required":["resourceType","resourceIds","actionTypes"],"description":"Which resources and action types this policy governs.","properties":{"resourceType":{"type":"string","title":"Resource Type","description":"The family of action types this policy governs, and the namespace resourceIds refer to (root account ids for a creation action type).","enum":["ACCOUNT","POLICY","KEY","APPROVAL_GROUP"],"isRequired":true,"uniqueKey":"target.resourceType","typeLabel":"enum\u003cstring>"},"resourceIds":{"type":"array","items":{"pattern":"^[0-9a-f]{8}-[0-9a-f]{4}-[0-9a-f]{4}-[0-9a-f]{4}-[0-9a-f]{12}$","description":"A UUID in canonical lowercase hyphenated form.","type":"string","format":"uuid","example":"3486b413-93d3-4447-afce-2b9c9dc34a32","uniqueKey":"target.resourceIds.items.[INDEX]","typeLabel":"string\u003cuuid>"},"minItems":1,"description":"The resources this policy applies to, in canonical lowercase hyphenated UUID form. A single policy\ncan target more than one resource at once. For the creation action types `POLICY_CREATE`,\n`KEY_REGISTER`, and `KEY_GROUP_CREATE`, which have no pre-existing resource to scope against, list\nthe root account ids the policy governs: a policy on a root account governs creations anywhere\nbeneath it. At least one id is always required.","isRequired":true,"uniqueKey":"target.resourceIds","typeLabel":"string\u003cuuid>[]"},"actionTypes":{"type":"array","items":{"title":"Action Type","type":"string","enum":["WITHDRAWAL","DEPOSIT","TRUSTED_DESTINATION_ADD","TRUSTED_DESTINATION_REMOVE","POLICY_CREATE","POLICY_ARCHIVE","KEY_REGISTER","KEY_ARCHIVE","KEY_GROUP_CREATE","KEY_GROUP_ARCHIVE"],"uniqueKey":"target.actionTypes.items.[INDEX]","typeLabel":"enum\u003cstring>"},"minItems":1,"description":"The action types this policy governs.","isRequired":true,"uniqueKey":"target.actionTypes","typeLabel":"enum\u003cstring>[]"}},"isRequired":true,"uniqueKey":"target","typeLabel":"Policy Target · object"},"requiredActions":{"type":"object","title":"Required Action Node","description":"What a matching change must satisfy — approvals, deny or allow today, with room for other\nrequirement types alongside them later — as a boolean tree, plus optional settings governing\nthe action opened when the tree isn't already satisfied. settings belongs on this root object\nonly, not on nodes inside the tree.\n\nA tree that resolves to deny refuses the change with 403 and opens no action, so settings has\nnothing to govern in that case. A tree of exactly {\"allow\": true} lets the change through with\nnothing further required, so settings has nothing to govern there either.","minProperties":1,"properties":{"description":{"type":"string","description":"Optional label for this branch.","uniqueKey":"requiredActions.description","typeLabel":"string"},"allOf":{"type":"array","items":{"$circularRef":"1427c664-91a4-4558-884b-9a6122c97ddf"},"minItems":1,"description":"Every child node must be satisfied.","uniqueKey":"requiredActions.allOf","typeLabel":"array"},"anyOf":{"type":"array","items":{"$circularRef":"1427c664-91a4-4558-884b-9a6122c97ddf"},"minItems":1,"description":"At least one child node must be satisfied.","uniqueKey":"requiredActions.anyOf","typeLabel":"array"},"approvals":{"title":"Approval Node","type":"object","minProperties":1,"description":"A node in the approvals boolean tree. A leaf node carries approvalGroupId and count. A composition node\ninstead carries allOf and/or anyOf. Any kind of node may carry description, a human-readable\nlabel for that branch.\n\nThere is no not at any depth of this tree, and a node carrying one is rejected. \"Must not be endorsed\nby this group\" is satisfied by inaction and falsified by a signature: it would hold until the named\ngroup actually signs and then become permanently unsatisfiable, which inverts what collecting\nendorsements means.\n\nAn empty node is rejected, as is a count of zero. An approval requirement that nothing can satisfy is\nnot expressible here — use the deny leaf on RequiredActionNode to refuse a change on purpose.","properties":{"description":{"type":"string","description":"Optional label for this branch.","uniqueKey":"requiredActions.approvals.description","typeLabel":"string"},"approvalGroupId":{"description":"Leaf only — the approval group required to endorse.","type":"string","format":"uuid","example":"3486b413-93d3-4447-afce-2b9c9dc34a32","uniqueKey":"requiredActions.approvals.approvalGroupId","typeLabel":"string\u003cuuid>"},"count":{"type":"integer","minimum":1,"description":"Leaf only — number of endorsements required from approvalGroupId. At least 1.","uniqueKey":"requiredActions.approvals.count","typeLabel":"integer"},"allOf":{"type":"array","items":{"$circularRef":"fb38f7b9-4f8e-45b4-98fa-ed5d197b9715"},"minItems":1,"description":"Composition only — every child node must be satisfied.","uniqueKey":"requiredActions.approvals.allOf","typeLabel":"array"},"anyOf":{"type":"array","items":{"$circularRef":"fb38f7b9-4f8e-45b4-98fa-ed5d197b9715"},"minItems":1,"description":"Composition only — at least one child node must be satisfied.","uniqueKey":"requiredActions.approvals.anyOf","typeLabel":"array"}},"uniqueKey":"requiredActions.approvals","typeLabel":"Approval Node · object"},"deny":{"type":"boolean","description":"Leaf only — a requirement that no endorsement can ever meet. A change matching this policy's\ntarget and conditions is refused outright: the submitting endpoint returns 403 and no action is\nopened, so there is nothing to endorse and nothing to wait out. Scope the refusal with\nconditions — a policy whose conditions match only BTC and whose requiredActions is\n{\"deny\": true} blocks BTC and leaves every other asset alone.\n\nOnly true is accepted. {\"deny\": false} is rejected on submission: it reads as \"do not deny\" but\nstates no requirement at all. To let a change through, write {\"allow\": true}.\n\nA deny cannot be bought off elsewhere. Every policy governing a change must be satisfied, so\none denying policy refuses it no matter what another policy's allow or approvals would have\npermitted. To carve out an exception, narrow the denying policy's conditions rather than adding\na second policy to override it.","uniqueKey":"requiredActions.deny","typeLabel":"boolean"},"allow":{"type":"boolean","description":"Leaf only, and the whole tree: a requiredActions of exactly {\"allow\": true}. The engine denies\nby default, and this is how a policy lets the changes matching its target and conditions\nthrough with nothing further required. A typical first policy targets the root account with\nthe action types an organization uses; narrower deny policies then carve out what must not\nhappen, and a deny always wins over an allow governing the same change.\n\nOnly true is accepted, and only at the root: under allOf the leaf would be a no-op sibling,\nunder anyOf it would make every sibling requirement optional. A policy that means to allow\nsays only that.","uniqueKey":"requiredActions.allow","typeLabel":"boolean"},"settings":{"title":"Required Action Settings","type":"object","description":"Settings for the action this policy opens when its requiredActions tree isn't already satisfied.\nApplies to the action as a whole, so it lives on the root requiredActions object rather than on any\nnode inside the tree.","properties":{"expiresIn":{"type":"string","format":"duration","default":"P14D","description":"How long an action opened by this policy stays open before it is marked EXPIRED, as an ISO 8601\nduration. Measured from the action's submittedAt. Omit for the default of 14 days (P14D). When more\nthan one policy governs the same change, the shortest expiresIn among them applies.","uniqueKey":"requiredActions.settings.expiresIn","typeLabel":"string\u003cduration>"}},"uniqueKey":"requiredActions.settings","typeLabel":"Required Action Settings · object"}},"isRequired":true,"uniqueKey":"requiredActions","typeLabel":"Required Action Node · object"},"description":{"type":"string","description":"Optional human-readable explanation of what this policy is for.","uniqueKey":"description","typeLabel":"string"},"conditions":{"type":"object","title":"Condition Node","description":"When present, this policy only applies to changes matching this boolean tree. Omit for a policy\nthat applies to every change matching target.\n\nOnly the transaction action types (`WITHDRAWAL`, `DEPOSIT`) may carry one. Every condition is\nabout a change's asset and value, and the other action types have neither, so a condition on\none of them could never match.","minProperties":1,"properties":{"description":{"type":"string","description":"Optional label for this branch.","uniqueKey":"conditions.description","typeLabel":"string"},"allOf":{"type":"array","items":{"$circularRef":"29da91a2-c53b-431a-aaa7-d1693ea4affc"},"minItems":1,"description":"Every child node must be satisfied.","uniqueKey":"conditions.allOf","typeLabel":"array"},"anyOf":{"type":"array","items":{"$circularRef":"29da91a2-c53b-431a-aaa7-d1693ea4affc"},"minItems":1,"description":"At least one child node must be satisfied.","uniqueKey":"conditions.anyOf","typeLabel":"array"},"not":{"description":"The child node must NOT be satisfied. It may not contain an amount or cumulativeAmount at any depth.","uniqueKey":"conditions.not","typeLabel":"any"},"assetType":{"type":"string","title":"Policy Asset Type","description":"The asset this leaf matches. An amount or cumulativeAmount on the same node counts only changes in this asset. Omit to apply to every asset.","example":"BTC","uniqueKey":"conditions.assetType","typeLabel":"string"},"amount":{"oneOf":[{"type":"object","title":"Inclusive Floor","description":"Checks a change's own notional value against a floor, written as exactly one of minInclusive or\nminExclusive. There is no upper bound: to cap a value, write a deny policy whose floor is the cap. The\nasset is the assetType on the same condition node.","required":["minInclusive"],"properties":{"minInclusive":{"type":"string","pattern":"^\\d+(\\.\\d+)?$","description":"Inclusive lower bound on the notional value, as a positive decimal number encoded as a string.","isRequired":true,"uniqueKey":"conditions.amount.oneOf.0.minInclusive","typeLabel":"string"}},"uniqueKey":"conditions.amount.oneOf.0","typeLabel":"Inclusive Floor · object"},{"type":"object","title":"Exclusive Floor","description":"Checks a change's own notional value against a floor, written as exactly one of minInclusive or\nminExclusive. There is no upper bound: to cap a value, write a deny policy whose floor is the cap. The\nasset is the assetType on the same condition node.","required":["minExclusive"],"properties":{"minExclusive":{"type":"string","pattern":"^\\d+(\\.\\d+)?$","description":"Exclusive lower bound on the notional value, as a positive decimal number encoded as a string.","isRequired":true,"uniqueKey":"conditions.amount.oneOf.1.minExclusive","typeLabel":"string"}},"uniqueKey":"conditions.amount.oneOf.1","typeLabel":"Exclusive Floor · object"}],"uniqueKey":"conditions.amount","typeLabel":"Inclusive Floor · object | Exclusive Floor · object"},"cumulativeAmount":{"title":"Cumulative Amount Condition","type":"object","required":["value","period"],"description":"Checks notional value summed over a rolling window, not just this one change.","properties":{"value":{"type":"string","pattern":"^\\d+(\\.\\d+)?$","description":"The cumulative notional value threshold over the rolling window, as a positive decimal number encoded as a string.","isRequired":true,"uniqueKey":"conditions.cumulativeAmount.value","typeLabel":"string"},"period":{"type":"string","format":"duration","description":"The rolling window over which value is evaluated, as an ISO 8601 duration.","isRequired":true,"uniqueKey":"conditions.cumulativeAmount.period","typeLabel":"string\u003cduration>"}},"uniqueKey":"conditions.cumulativeAmount","typeLabel":"Cumulative Amount Condition · object"}},"uniqueKey":"conditions","typeLabel":"Condition Node · object"}},"uniqueKey":"","typeLabel":"Policy Create Request · object"},"examples":{"Example":{"title":"Example","value":{"name":"\u003cstring>","target":{"resourceIds":["3486b413-93d3-4447-afce-2b9c9dc34a32"],"actionTypes":[]},"requiredActions":{"description":"\u003cstring>","allOf":"\u003carray>","anyOf":"\u003carray>","approvals":{"description":"\u003cstring>","approvalGroupId":"3486b413-93d3-4447-afce-2b9c9dc34a32","count":2,"allOf":"\u003carray>","anyOf":"\u003carray>"},"deny":true,"allow":true,"settings":{"expiresIn":"P14D"}},"description":"\u003cstring>","conditions":{"description":"\u003cstring>","allOf":"\u003carray>","anyOf":"\u003carray>","not":"\u003cunknown>","assetType":"BTC","amount":{"minInclusive":"\u003cstring>"}}}}},"exampleType":"generated"}},"exampleType":"generated"},"responses":{"1e83674c-1aa9-45ec-8df9-fce019dd0df9":{"description":"Change accepted","content":{"application/json":{"schema":{"title":"Policy Change Accepted Response","type":"object","required":["data"],"properties":{"data":{"title":"Policy Change Accepted","type":"object","properties":{"id":{"type":"string","format":"uuid","example":"3486b413-93d3-4447-afce-2b9c9dc34a32","uniqueKey":"data.id","typeLabel":"string\u003cuuid>"},"status":{"title":"Policy Status","type":"string","enum":["PENDING_APPROVAL","ACTIVE","ARCHIVED"],"uniqueKey":"data.status","typeLabel":"enum\u003cstring>"},"action":{"title":"Action Reference","type":"object","required":["id"],"description":"A pointer to the action opened for this change. Present only when policy evaluation found every\nother requirement already satisfied except one: it still needs more endorsements. Absent means the\nchange applied immediately with no policy blocking it.","properties":{"id":{"description":"The action's id in the Endorsements surface.","type":"string","format":"uuid","example":"3486b413-93d3-4447-afce-2b9c9dc34a32","isRequired":true,"uniqueKey":"data.action.id","typeLabel":"string\u003cuuid>"},"reason":{"type":"string","description":"Optional human-readable explanation of why endorsement is needed.","uniqueKey":"data.action.reason","typeLabel":"string"}},"uniqueKey":"data.action","typeLabel":"Action Reference · object"},"createdAt":{"type":"string","format":"date-time","example":"2019-01-02T12:34:56.000Z","uniqueKey":"data.createdAt","typeLabel":"string\u003cdate-time>"}},"isRequired":true,"uniqueKey":"data","typeLabel":"Policy Change Accepted · object"}},"uniqueKey":"","typeLabel":"Policy Change Accepted Response · object"},"examples":{"Example":{"title":"Example","value":{"data":{"id":"3486b413-93d3-4447-afce-2b9c9dc34a32","status":"PENDING_APPROVAL","action":{"id":"3486b413-93d3-4447-afce-2b9c9dc34a32","reason":"\u003cstring>"},"createdAt":"2019-01-02T12:34:56.000Z"}}}},"exampleType":"generated"}},"exampleType":"generated"},"11f7672c-2050-4cb6-9b50-c43fbcaa99c4":{"description":"Bad Request","content":{"application/json":{"schema":{"title":"ErrorDetails","type":"object","properties":{"message":{"description":"A human-readable message providing more details about the error.","example":"Missing required field 'amount'.","type":"string","isRequired":true,"uniqueKey":"message","typeLabel":"string"}},"required":["message"],"uniqueKey":"","typeLabel":"ErrorDetails · object"},"examples":{"Example":{"title":"Example","value":{"message":"Missing required field 'amount'."}}},"exampleType":"generated"}},"exampleType":"generated"},"48bc7d82-2110-497d-aea2-e7823861880d":{"description":"Unauthenticated","content":{"application/json":{"schema":{"title":"ErrorDetails","type":"object","properties":{"message":{"description":"A human-readable message providing more details about the error.","example":"Missing required field 'amount'.","type":"string","isRequired":true,"uniqueKey":"message","typeLabel":"string"}},"required":["message"],"uniqueKey":"","typeLabel":"ErrorDetails · object"},"examples":{"Example":{"title":"Example","value":{"message":"Missing required field 'amount'."}}},"exampleType":"generated"}},"exampleType":"generated"},"4410857e-e238-4d6e-9716-cb0210791885":{"description":"Forbidden","content":{"application/json":{"schema":{"title":"ErrorDetails","type":"object","properties":{"message":{"description":"A human-readable message providing more details about the error.","example":"Missing required field 'amount'.","type":"string","isRequired":true,"uniqueKey":"message","typeLabel":"string"}},"required":["message"],"uniqueKey":"","typeLabel":"ErrorDetails · object"},"examples":{"Example":{"title":"Example","value":{"message":"Missing required field 'amount'."}}},"exampleType":"generated"}},"exampleType":"generated"},"43a8a182-d97e-460f-b8f0-0036194ab470":{"description":"Too Many Requests","content":{"application/json":{"schema":{"title":"ErrorDetails","type":"object","properties":{"message":{"description":"A human-readable message providing more details about the error.","example":"Missing required field 'amount'.","type":"string","isRequired":true,"uniqueKey":"message","typeLabel":"string"}},"required":["message"],"uniqueKey":"","typeLabel":"ErrorDetails · object"},"examples":{"Example":{"title":"Example","value":{"message":"Missing required field 'amount'."}}},"exampleType":"generated"}},"exampleType":"generated"},"1acc0d04-fa1a-4be5-b73d-2877c9b1c555":{"description":"Internal Server Error","content":{"application/json":{"schema":{"title":"ErrorDetails","type":"object","properties":{"message":{"description":"A human-readable message providing more details about the error.","example":"Missing required field 'amount'.","type":"string","isRequired":true,"uniqueKey":"message","typeLabel":"string"}},"required":["message"],"uniqueKey":"","typeLabel":"ErrorDetails · object"},"examples":{"Example":{"title":"Example","value":{"message":"Missing required field 'amount'."}}},"exampleType":"generated"}},"exampleType":"generated"}},"security":{"5c20c00e-303d-410a-8164-9447333641bf":{"Api-Access-Key":{"type":"apiKey","name":"Api-Access-Key","in":"header","description":"An API key associated with a security role","scopes":[],"schemeName":"Api-Access-Key"}}},"servers":{"5987e378-6a0f-4e8d-8aa1-927add821f2f":{"url":"https://api.anchorage-staging.com/v4"}},"schemas":{"1427c664-91a4-4558-884b-9a6122c97ddf":{"title":"Required Action Node","type":"object","minProperties":1,"description":"A node in the requiredActions boolean tree. A composition node carries allOf and/or anyOf. A leaf\nnode instead carries approvals — an ApprovalNode boolean tree — or deny, or allow. The shape leaves\nroom for future requirement types alongside them.\n\nThe engine denies by default: a change that no active policy governs is refused. A change goes\nthrough only when a policy governing it says so — an allow leaf, or an approvals tree the received\nendorsements satisfy — and no governing policy denies it. The exceptions are the policy routes\nthemselves: creating or archiving a policy that no policy governs is allowed, so an organization\ncan write its first policies.\n\nThere is no not at this level, and a node carrying one is rejected: negating a requirement inverts\nwhat a change must satisfy, which is never what a policy author means. The approvals tree below has\nno not either — see ApprovalNode. The schema itself stays open so future requirement types can be\nadded without breaking clients that validate responses, so the rejection is enforced on submission\nrather than by shape.\n\nAn empty node is rejected. To refuse a change outright, say so with deny; to let it through, say so\nwith allow; never by omission.","properties":{"description":{"type":"string","description":"Optional label for this branch."},"allOf":{"type":"array","items":{"$circularRef":"1427c664-91a4-4558-884b-9a6122c97ddf"},"minItems":1,"description":"Every child node must be satisfied."},"anyOf":{"type":"array","items":{"$circularRef":"1427c664-91a4-4558-884b-9a6122c97ddf"},"minItems":1,"description":"At least one child node must be satisfied."},"approvals":{"title":"Approval Node","type":"object","minProperties":1,"description":"A node in the approvals boolean tree. A leaf node carries approvalGroupId and count. A composition node\ninstead carries allOf and/or anyOf. Any kind of node may carry description, a human-readable\nlabel for that branch.\n\nThere is no not at any depth of this tree, and a node carrying one is rejected. \"Must not be endorsed\nby this group\" is satisfied by inaction and falsified by a signature: it would hold until the named\ngroup actually signs and then become permanently unsatisfiable, which inverts what collecting\nendorsements means.\n\nAn empty node is rejected, as is a count of zero. An approval requirement that nothing can satisfy is\nnot expressible here — use the deny leaf on RequiredActionNode to refuse a change on purpose.","properties":{"description":{"type":"string","description":"Optional label for this branch."},"approvalGroupId":{"description":"Leaf only — the approval group required to endorse.","type":"string","format":"uuid","example":"3486b413-93d3-4447-afce-2b9c9dc34a32"},"count":{"type":"integer","minimum":1,"description":"Leaf only — number of endorsements required from approvalGroupId. At least 1."},"allOf":{"type":"array","items":{"$circularRef":"fb38f7b9-4f8e-45b4-98fa-ed5d197b9715"},"minItems":1,"description":"Composition only — every child node must be satisfied."},"anyOf":{"type":"array","items":{"$circularRef":"fb38f7b9-4f8e-45b4-98fa-ed5d197b9715"},"minItems":1,"description":"Composition only — at least one child node must be satisfied."}}},"deny":{"type":"boolean","description":"Leaf only — a requirement that no endorsement can ever meet. A change matching this policy's\ntarget and conditions is refused outright: the submitting endpoint returns 403 and no action is\nopened, so there is nothing to endorse and nothing to wait out. Scope the refusal with\nconditions — a policy whose conditions match only BTC and whose requiredActions is\n{\"deny\": true} blocks BTC and leaves every other asset alone.\n\nOnly true is accepted. {\"deny\": false} is rejected on submission: it reads as \"do not deny\" but\nstates no requirement at all. To let a change through, write {\"allow\": true}.\n\nA deny cannot be bought off elsewhere. Every policy governing a change must be satisfied, so\none denying policy refuses it no matter what another policy's allow or approvals would have\npermitted. To carve out an exception, narrow the denying policy's conditions rather than adding\na second policy to override it."},"allow":{"type":"boolean","description":"Leaf only, and the whole tree: a requiredActions of exactly {\"allow\": true}. The engine denies\nby default, and this is how a policy lets the changes matching its target and conditions\nthrough with nothing further required. A typical first policy targets the root account with\nthe action types an organization uses; narrower deny policies then carve out what must not\nhappen, and a deny always wins over an allow governing the same change.\n\nOnly true is accepted, and only at the root: under allOf the leaf would be a no-op sibling,\nunder anyOf it would make every sibling requirement optional. A policy that means to allow\nsays only that."}}},"fb38f7b9-4f8e-45b4-98fa-ed5d197b9715":{"title":"Approval Node","type":"object","minProperties":1,"description":"A node in the approvals boolean tree. A leaf node carries approvalGroupId and count. A composition node\ninstead carries allOf and/or anyOf. Any kind of node may carry description, a human-readable\nlabel for that branch.\n\nThere is no not at any depth of this tree, and a node carrying one is rejected. \"Must not be endorsed\nby this group\" is satisfied by inaction and falsified by a signature: it would hold until the named\ngroup actually signs and then become permanently unsatisfiable, which inverts what collecting\nendorsements means.\n\nAn empty node is rejected, as is a count of zero. An approval requirement that nothing can satisfy is\nnot expressible here — use the deny leaf on RequiredActionNode to refuse a change on purpose.","properties":{"description":{"type":"string","description":"Optional label for this branch."},"approvalGroupId":{"description":"Leaf only — the approval group required to endorse.","type":"string","format":"uuid","example":"3486b413-93d3-4447-afce-2b9c9dc34a32"},"count":{"type":"integer","minimum":1,"description":"Leaf only — number of endorsements required from approvalGroupId. At least 1."},"allOf":{"type":"array","items":{"$circularRef":"fb38f7b9-4f8e-45b4-98fa-ed5d197b9715"},"minItems":1,"description":"Composition only — every child node must be satisfied."},"anyOf":{"type":"array","items":{"$circularRef":"fb38f7b9-4f8e-45b4-98fa-ed5d197b9715"},"minItems":1,"description":"Composition only — at least one child node must be satisfied."}}},"29da91a2-c53b-431a-aaa7-d1693ea4affc":{"title":"Condition Node","type":"object","minProperties":1,"description":"A node in the conditions boolean tree. A composition node carries exactly one of allOf, anyOf or not —\nallOf/anyOf are arrays of child ConditionNodes, not is a single child ConditionNode that must NOT be\nsatisfied. A leaf node instead carries one or more of assetType / amount / cumulativeAmount, which\nare ANDed together when more than one is present on the same node. Any kind of node may carry\ndescription, a human-readable label for that branch.\n\nAn empty node is rejected. Omit conditions entirely for a policy that applies to every change matching\ntarget.","properties":{"description":{"type":"string","description":"Optional label for this branch."},"allOf":{"type":"array","items":{"$circularRef":"29da91a2-c53b-431a-aaa7-d1693ea4affc"},"minItems":1,"description":"Every child node must be satisfied."},"anyOf":{"type":"array","items":{"$circularRef":"29da91a2-c53b-431a-aaa7-d1693ea4affc"},"minItems":1,"description":"At least one child node must be satisfied."},"not":{"description":"The child node must NOT be satisfied. It may not contain an amount or cumulativeAmount at any depth."},"assetType":{"type":"string","title":"Policy Asset Type","description":"The asset this leaf matches. An amount or cumulativeAmount on the same node counts only changes in this asset. Omit to apply to every asset.","example":"BTC"},"amount":{"oneOf":[{"type":"object","title":"Inclusive Floor","description":"Checks a change's own notional value against a floor, written as exactly one of minInclusive or\nminExclusive. There is no upper bound: to cap a value, write a deny policy whose floor is the cap. The\nasset is the assetType on the same condition node.","required":["minInclusive"],"properties":{"minInclusive":{"type":"string","pattern":"^\\d+(\\.\\d+)?$","description":"Inclusive lower bound on the notional value, as a positive decimal number encoded as a string.","isRequired":true}}},{"type":"object","title":"Exclusive Floor","description":"Checks a change's own notional value against a floor, written as exactly one of minInclusive or\nminExclusive. There is no upper bound: to cap a value, write a deny policy whose floor is the cap. The\nasset is the assetType on the same condition node.","required":["minExclusive"],"properties":{"minExclusive":{"type":"string","pattern":"^\\d+(\\.\\d+)?$","description":"Exclusive lower bound on the notional value, as a positive decimal number encoded as a string.","isRequired":true}}}]},"cumulativeAmount":{"title":"Cumulative Amount Condition","type":"object","required":["value","period"],"description":"Checks notional value summed over a rolling window, not just this one change.","properties":{"value":{"type":"string","pattern":"^\\d+(\\.\\d+)?$","description":"The cumulative notional value threshold over the rolling window, as a positive decimal number encoded as a string.","isRequired":true},"period":{"type":"string","format":"duration","description":"The rolling window over which value is evaluated, as an ISO 8601 duration.","isRequired":true}}}}}},"processedSecurityOptions":[{"schemes":[{"scheme":{"type":"apiKey","name":"Api-Access-Key","in":"header","description":"An API key associated with a security role","scopes":[],"schemeName":"Api-Access-Key"},"schema":{"title":"Api-Access-Key","type":"string","description":"An API key associated with a security role","isRequired":true,"typeLabel":"string","deprecated":false},"schemeName":"Api-Access-Key","name":"Api-Access-Key"}],"title":"Api-Access-Key"}]},"originalFileLocation":"knowledge-base/openapi/v4.yaml"},"subdomain":"deployment-4","siteName":"Anchorage Digital","title":"Define a policy - Anchorage Digital","relatedPagesConfig":{"enabled":true,"limit":5,"mode":"automatic"},"navMaps":{"firstHrefInVersion":{},"firstHrefInLanguage":{},"searchTabScopes":[{"product":"Anchorage Digital","tab":"User guides"},{"product":"Anchorage Digital","tab":"Developer guides"},{"product":"Anchorage Digital","tab":"API reference"},{"product":"Anchorage Digital","tab":"Build with AI"},{"product":"Porto","tab":"User guides"},{"product":"Porto","tab":"Developer guides"},{"product":"Porto","tab":"API reference"},{"product":"Porto","tab":"Build with AI"},{"product":"Agentic Banking","tab":"Guides"},{"product":"Agentic Banking","tab":"Changelog"}]},"lastModified":"2026-11-12T19:01:03.333Z","originalFileLocation":"knowledge-base/api-reference/v4/policies/define-a-policy.mdx"},"headHtml":"\u003cscript data-mint-head>(function(){var d=document.documentElement,p=null;if(!p){try{p=localStorage.getItem(\"isDarkMode\")}catch(e){}if(p==='true')p='dark';else if(p==='false')p='light';if(p!=='light'\u0026\u0026p!=='dark'\u0026\u0026p!=='system')p=\"system\"}var r=p==='system'?(matchMedia(\"(prefers-color-scheme: dark)\").matches?'dark':'light'):p;d.classList.remove(r==='dark'?'light':'dark');d.classList.add(r);d.setAttribute(\"data-theme-preference\",p)})();\u003c/script>\u003cmeta data-mint-head name=\"description\" content=\"Create a policy and submit it for approval. Active immediately unless a governing policy still needs endorsements, in which case status is PENDING_APPROVAL and action is present.\">\u003cmeta data-mint-head name=\"application-name\" content=\"Anchorage Digital\">\u003cmeta data-mint-head name=\"generator\" content=\"Mintlify\">\u003clink data-mint-head rel=\"apple-touch-icon\" type=\"image/svg+xml\" sizes=\"180x180\" href=\"https://mintcdn.com/deployment-4/GSah06OFrRxxO1iB/knowledge-base/favicon-symbol.svg?fit=max\u0026amp;auto=format\u0026amp;n=GSah06OFrRxxO1iB\u0026amp;q=85\u0026amp;s=dbc56a4b9970aa0cc3b83e27e2063715\">\u003clink data-mint-head rel=\"icon\" type=\"image/svg+xml\" sizes=\"32x32\" href=\"https://mintcdn.com/deployment-4/GSah06OFrRxxO1iB/knowledge-base/favicon-symbol.svg?fit=max\u0026amp;auto=format\u0026amp;n=GSah06OFrRxxO1iB\u0026amp;q=85\u0026amp;s=dbc56a4b9970aa0cc3b83e27e2063715\" media=\"(prefers-color-scheme: light)\">\u003clink data-mint-head rel=\"icon\" type=\"image/svg+xml\" sizes=\"16x16\" href=\"https://mintcdn.com/deployment-4/GSah06OFrRxxO1iB/knowledge-base/favicon-symbol.svg?fit=max\u0026amp;auto=format\u0026amp;n=GSah06OFrRxxO1iB\u0026amp;q=85\u0026amp;s=dbc56a4b9970aa0cc3b83e27e2063715\" media=\"(prefers-color-scheme: light)\">\u003clink data-mint-head rel=\"shortcut icon\" type=\"image/svg+xml\" href=\"https://mintcdn.com/deployment-4/GSah06OFrRxxO1iB/knowledge-base/favicon-symbol.svg?fit=max\u0026amp;auto=format\u0026amp;n=GSah06OFrRxxO1iB\u0026amp;q=85\u0026amp;s=dbc56a4b9970aa0cc3b83e27e2063715\" media=\"(prefers-color-scheme: light)\">\u003clink data-mint-head rel=\"icon\" type=\"image/svg+xml\" sizes=\"32x32\" href=\"https://mintcdn.com/deployment-4/GSah06OFrRxxO1iB/knowledge-base/favicon-symbol.svg?fit=max\u0026amp;auto=format\u0026amp;n=GSah06OFrRxxO1iB\u0026amp;q=85\u0026amp;s=dbc56a4b9970aa0cc3b83e27e2063715\" media=\"(prefers-color-scheme: dark)\">\u003clink data-mint-head rel=\"icon\" type=\"image/svg+xml\" sizes=\"16x16\" href=\"https://mintcdn.com/deployment-4/GSah06OFrRxxO1iB/knowledge-base/favicon-symbol.svg?fit=max\u0026amp;auto=format\u0026amp;n=GSah06OFrRxxO1iB\u0026amp;q=85\u0026amp;s=dbc56a4b9970aa0cc3b83e27e2063715\" media=\"(prefers-color-scheme: dark)\">\u003clink data-mint-head rel=\"shortcut icon\" type=\"image/svg+xml\" href=\"https://mintcdn.com/deployment-4/GSah06OFrRxxO1iB/knowledge-base/favicon-symbol.svg?fit=max\u0026amp;auto=format\u0026amp;n=GSah06OFrRxxO1iB\u0026amp;q=85\u0026amp;s=dbc56a4b9970aa0cc3b83e27e2063715\" media=\"(prefers-color-scheme: dark)\">\u003cmeta data-mint-head property=\"og:title\" content=\"Define a policy - Anchorage Digital\">\u003cmeta data-mint-head property=\"og:description\" content=\"Create a policy and submit it for approval. Active immediately unless a governing policy still needs endorsements, in which case status is PENDING_APPROVAL and action is present.\">\u003cmeta data-mint-head property=\"og:site_name\" content=\"Anchorage Digital\">\u003cmeta data-mint-head property=\"og:url\" content=\"https://docs.anchorage.com/knowledge-base/api-reference/v4/policies/define-a-policy\">\u003cmeta data-mint-head property=\"og:type\" content=\"website\">\u003cmeta data-mint-head property=\"og:image\" content=\"https://deployment-4.mintlify.site/_mintlify/api/og/v2?division=Policies\u0026amp;title=Define+a+policy\u0026amp;description=Create+a+policy+and+submit+it+for+approval.+Active+immediately+unless+a+governing+policy+still%0Aneeds+endorsements%2C+in+which+case+%60status%60+is+%60PENDING_APPROVAL%60+\u0026amp;theme=813001ef3ccb97d387d13daf\u0026amp;signature=f23110c211e8609e455c48469a07f925d2e2936b880c81df2cf1f9457e708370\">\u003cmeta data-mint-head property=\"og:image:width\" content=\"1200\">\u003cmeta data-mint-head property=\"og:image:height\" content=\"630\">\u003cmeta data-mint-head name=\"twitter:card\" content=\"summary_large_image\">\u003cmeta data-mint-head name=\"twitter:title\" content=\"Define a policy - Anchorage Digital\">\u003cmeta data-mint-head name=\"twitter:description\" content=\"Create a policy and submit it for approval. Active immediately unless a governing policy still needs endorsements, in which case status is PENDING_APPROVAL and action is present.\">\u003cmeta data-mint-head name=\"twitter:image\" content=\"https://deployment-4.mintlify.site/_mintlify/api/og/v2?division=Policies\u0026amp;title=Define+a+policy\u0026amp;description=Create+a+policy+and+submit+it+for+approval.+Active+immediately+unless+a+governing+policy+still%0Aneeds+endorsements%2C+in+which+case+%60status%60+is+%60PENDING_APPROVAL%60+\u0026amp;theme=813001ef3ccb97d387d13daf\u0026amp;signature=f23110c211e8609e455c48469a07f925d2e2936b880c81df2cf1f9457e708370\">\u003cmeta data-mint-head name=\"twitter:image:width\" content=\"1200\">\u003cmeta data-mint-head name=\"twitter:image:height\" content=\"630\">\u003cmeta data-mint-head name=\"msapplication-config\" content=\"https://mintlify.s3.us-west-1.amazonaws.com/deployment-4/_generated/favicon/browserconfig.xml?v=3\">\u003cmeta data-mint-head name=\"apple-mobile-web-app-title\" content=\"Anchorage Digital\">\u003cmeta data-mint-head name=\"msapplication-TileColor\" content=\"#5580F6\">\u003clink data-mint-head rel=\"canonical\" href=\"https://docs.anchorage.com/knowledge-base/api-reference/v4/policies/define-a-policy\">\u003clink data-mint-head rel=\"alternate\" type=\"application/xml\" href=\"/sitemap.xml\">\u003clink data-mint-head rel=\"alternate\" type=\"text/markdown\" href=\"/knowledge-base/api-reference/v4/policies/define-a-policy.md\">\u003cscript data-mint-head type=\"application/ld+json\">{\"@context\":\"https://schema.org\",\"@graph\":[{\"@type\":\"Organization\",\"@id\":\"https://docs.anchorage.com/#organization\",\"name\":\"Anchorage Digital\",\"url\":\"https://docs.anchorage.com\",\"logo\":{\"@type\":\"ImageObject\",\"url\":\"https://mintcdn.com/deployment-4/ikVMLMsizDmk_7Sw/knowledge-base/images/logo-lockup-dark.svg?fit=max\u0026auto=format\u0026n=ikVMLMsizDmk_7Sw\u0026q=85\u0026s=87028c6755f355e278de66991913b91c\"}},{\"@type\":\"WebSite\",\"@id\":\"https://docs.anchorage.com#website\",\"name\":\"Anchorage Digital\",\"url\":\"https://docs.anchorage.com\",\"publisher\":{\"@id\":\"https://docs.anchorage.com/#organization\"}},{\"@type\":\"WebPage\",\"@id\":\"https://docs.anchorage.com/knowledge-base/api-reference/v4/policies/define-a-policy#webpage\",\"url\":\"https://docs.anchorage.com/knowledge-base/api-reference/v4/policies/define-a-policy\",\"name\":\"Define a policy\",\"description\":\"Create a policy and submit it for approval. Active immediately unless a governing policy still needs endorsements, in which case status is PENDING_APPROVAL and action is present.\",\"dateModified\":\"2026-11-12T19:01:03.333Z\",\"isPartOf\":{\"@id\":\"https://docs.anchorage.com#website\"},\"breadcrumb\":{\"@id\":\"https://docs.anchorage.com/knowledge-base/api-reference/v4/policies/define-a-policy#breadcrumb\"}},{\"@type\":\"BreadcrumbList\",\"@id\":\"https://docs.anchorage.com/knowledge-base/api-reference/v4/policies/define-a-policy#breadcrumb\",\"itemListElement\":[{\"@type\":\"ListItem\",\"position\":1,\"name\":\"Anchorage Digital\",\"item\":\"https://docs.anchorage.com\"},{\"@type\":\"ListItem\",\"position\":2,\"name\":\"Define a policy\",\"item\":\"https://docs.anchorage.com/knowledge-base/api-reference/v4/policies/define-a-policy\"}]},{\"@type\":[\"TechArticle\",\"APIReference\"],\"@id\":\"https://docs.anchorage.com/knowledge-base/api-reference/v4/policies/define-a-policy#apireference\",\"headline\":\"Define a policy\",\"name\":\"Define a policy\",\"description\":\"Create a policy and submit it for approval. Active immediately unless a governing policy still needs endorsements, in which case status is PENDING_APPROVAL and action is present.\",\"url\":\"https://docs.anchorage.com/knowledge-base/api-reference/v4/policies/define-a-policy\",\"mainEntityOfPage\":{\"@id\":\"https://docs.anchorage.com/knowledge-base/api-reference/v4/policies/define-a-policy#webpage\"},\"dateModified\":\"2026-11-12T19:01:03.333Z\",\"publisher\":{\"@id\":\"https://docs.anchorage.com/#organization\"},\"isPartOf\":{\"@id\":\"https://docs.anchorage.com#website\"}}]}\u003c/script>","agentPointerHref":"/knowledge-base/api-reference/v4/policies/define-a-policy.md","siteName":"Anchorage Digital","nav":{"global":null,"products":[{"product":"Home","icon":"house","pages":[{"title":"Home","href":"/knowledge-base"}]},{"product":"Anchorage Digital","icon":"https://mintlify.s3.us-west-1.amazonaws.com/deployment-4/knowledge-base/images/icons/anchorage.svg","tabs":[{"tab":"User guides","pages":[{"title":"User guides","href":"/knowledge-base/platform/users/overview"}]},{"tab":"Developer guides","pages":[{"title":"Developer guides","href":"/knowledge-base/platform/developers/setting-up"}]},{"tab":"API reference","menu":[{"item":"v2","pages":[{"title":"v2","href":"/knowledge-base/api-reference/introduction"}]},{"item":"v3","hidden":true,"pages":[{"title":"v3","href":"/knowledge-base/api-reference/v3/introduction"}]},{"item":"v4","groups":[{"group":"Overview","public":true,"icon":"book-open","pages":[{"title":"API reference","href":"/knowledge-base/api-reference/v4/introduction"},{"title":"API deprecation policy","href":"/knowledge-base/api-reference/v4/api-deprecation-policy"}]},{"group":"Accounts","public":true,"icon":"building","pages":[{"title":"List accounts","deprecated":null,"version":null,"openapi":"/knowledge-base/openapi/v4.yaml get /accounts","href":"/knowledge-base/api-reference/v4/accounts/list-accounts"},{"title":"Create accounts","deprecated":null,"version":null,"openapi":"/knowledge-base/openapi/v4.yaml post /accounts","href":"/knowledge-base/api-reference/v4/accounts/create-accounts"},{"title":"Get an account","deprecated":null,"version":null,"openapi":"/knowledge-base/openapi/v4.yaml get /accounts/{accountId}","href":"/knowledge-base/api-reference/v4/accounts/get-an-account"},{"title":"Freeze accounts","deprecated":null,"version":null,"openapi":"/knowledge-base/openapi/v4.yaml post /accounts/freeze","href":"/knowledge-base/api-reference/v4/accounts/freeze-accounts"},{"title":"Unfreeze accounts","deprecated":null,"version":null,"openapi":"/knowledge-base/openapi/v4.yaml post /accounts/unfreeze","href":"/knowledge-base/api-reference/v4/accounts/unfreeze-accounts"},{"title":"Close accounts","deprecated":null,"version":null,"openapi":"/knowledge-base/openapi/v4.yaml post /accounts/close","href":"/knowledge-base/api-reference/v4/accounts/close-accounts"}]},{"group":"Asset types","public":true,"icon":"coins","pages":[{"title":"List Asset Types","deprecated":null,"version":null,"openapi":"/knowledge-base/openapi/v4.yaml get /asset-types","href":"/knowledge-base/api-reference/v4/asset-types/list-asset-types"}]},{"group":"Balances","public":true,"icon":"scale-balanced","pages":[{"title":"List balances","deprecated":null,"version":null,"openapi":"/knowledge-base/openapi/v4.yaml get /accounts/{accountId}/balances","href":"/knowledge-base/api-reference/v4/balances/list-balances"}]},{"group":"Transactions","public":true,"icon":"list-check","pages":[{"title":"List all transactions","deprecated":null,"version":null,"openapi":"/knowledge-base/openapi/v4.yaml get /accounts/{accountId}/transactions","href":"/knowledge-base/api-reference/v4/transactions/list-all-transactions"}]},{"group":"Deposit instructions","public":true,"icon":"arrow-down-to-bracket","pages":[{"title":"Get deposit instructions for an account","deprecated":null,"version":null,"openapi":"/knowledge-base/openapi/v4.yaml get /accounts/{accountId}/deposit-instructions/{assetType}","href":"/knowledge-base/api-reference/v4/deposit-instructions/get-deposit-instructions-for-an-account"}]},{"group":"Deposit attributions","public":true,"icon":"fingerprint","pages":[{"title":"List deposit attributions","deprecated":null,"version":null,"openapi":"/knowledge-base/openapi/v4.yaml get /deposit-attributions/attributions","href":"/knowledge-base/api-reference/v4/deposit-attributions/list-deposit-attributions"},{"title":"Attribute a deposit","deprecated":null,"version":null,"openapi":"/knowledge-base/openapi/v4.yaml patch /deposit-attributions/{depositTransactionId}","href":"/knowledge-base/api-reference/v4/deposit-attributions/attribute-a-deposit"},{"title":"Attribute a deposit as spam","deprecated":null,"version":null,"openapi":"/knowledge-base/openapi/v4.yaml post /deposit-attributions/{depositTransactionId}/spam","href":"/knowledge-base/api-reference/v4/deposit-attributions/attribute-a-deposit-as-spam"}]},{"group":"Trusted destinations","public":true,"icon":"badge-check","pages":[{"title":"List destinations","deprecated":null,"version":null,"openapi":"/knowledge-base/openapi/v4.yaml get /accounts/{accountId}/destinations","href":"/knowledge-base/api-reference/v4/trusted-destinations/list-destinations"},{"title":"Create a destination","deprecated":null,"version":null,"openapi":"/knowledge-base/openapi/v4.yaml post /accounts/{accountId}/destinations","href":"/knowledge-base/api-reference/v4/trusted-destinations/create-a-destination"},{"title":"Get destination","deprecated":null,"version":null,"openapi":"/knowledge-base/openapi/v4.yaml get /accounts/{accountId}/destinations/{destinationId}","href":"/knowledge-base/api-reference/v4/trusted-destinations/get-destination"}]},{"group":"Orders and allocations","public":true,"icon":"chart-line","pages":[{"title":"Place an order","deprecated":null,"version":null,"openapi":"/knowledge-base/openapi/v4.yaml post /accounts/{accountId}/orders","href":"/knowledge-base/api-reference/v4/orders-\u0026-allocations/place-an-order"},{"title":"List orders","deprecated":null,"version":null,"openapi":"/knowledge-base/openapi/v4.yaml get /accounts/{accountId}/orders","href":"/knowledge-base/api-reference/v4/orders-\u0026-allocations/list-orders"},{"title":"Get an order","deprecated":null,"version":null,"openapi":"/knowledge-base/openapi/v4.yaml get /accounts/{accountId}/orders/{orderId}","href":"/knowledge-base/api-reference/v4/orders-\u0026-allocations/get-an-order"},{"title":"Cancel an order","deprecated":null,"version":null,"openapi":"/knowledge-base/openapi/v4.yaml post /accounts/{accountId}/orders/{orderId}/cancel","href":"/knowledge-base/api-reference/v4/orders-\u0026-allocations/cancel-an-order"},{"title":"List allocations","deprecated":null,"version":null,"openapi":"/knowledge-base/openapi/v4.yaml get /accounts/{accountId}/allocations","href":"/knowledge-base/api-reference/v4/orders-\u0026-allocations/list-allocations"}]},{"group":"Withdrawals","public":true,"icon":"money-bill-transfer","pages":[{"title":"Create withdrawals","deprecated":null,"version":null,"openapi":"/knowledge-base/openapi/v4.yaml post /accounts/{accountId}/withdrawals","href":"/knowledge-base/api-reference/v4/withdrawals/create-withdrawals"},{"title":"List withdrawals","deprecated":null,"version":null,"openapi":"/knowledge-base/openapi/v4.yaml get /accounts/{accountId}/withdrawals","href":"/knowledge-base/api-reference/v4/withdrawals/list-withdrawals"},{"title":"Get a withdrawal","deprecated":null,"version":null,"openapi":"/knowledge-base/openapi/v4.yaml get /accounts/{accountId}/withdrawals/{withdrawalId}","href":"/knowledge-base/api-reference/v4/withdrawals/get-a-withdrawal"},{"title":"Cancel a withdrawal","deprecated":null,"version":null,"openapi":"/knowledge-base/openapi/v4.yaml post /accounts/{accountId}/withdrawals/{withdrawalId}/cancel","href":"/knowledge-base/api-reference/v4/withdrawals/cancel-a-withdrawal"}]},{"group":"Approval keys","public":true,"icon":"key","pages":[{"title":"Register an approval key","deprecated":null,"version":null,"openapi":"/knowledge-base/openapi/v4.yaml post /approvers/keys","href":"/knowledge-base/api-reference/v4/approval-groups/register-an-approval-key"},{"title":"List approval keys","deprecated":null,"version":null,"openapi":"/knowledge-base/openapi/v4.yaml get /approvers/keys","href":"/knowledge-base/api-reference/v4/approval-groups/list-approval-keys"},{"title":"Get an approval key","deprecated":null,"version":null,"openapi":"/knowledge-base/openapi/v4.yaml get /approvers/keys/{keyId}","href":"/knowledge-base/api-reference/v4/approval-groups/get-an-approval-key"},{"title":"Archive an approval key","description":"Archive an approval key of the caller's organization. The caller's key must hold\n`MANAGE_IAAS_POLICY_ENGINE`. Archiving takes effect immediately and is not submitted for approval.\nThe key is never deleted: it is served as `ARCHIVED`, with its archive time, from then on.\n\nThe call is idempotent. Archiving a key that is already `ARCHIVED` answers 202 again, with its\noriginal archive time. A key of another organization is not found.","deprecated":null,"version":null,"openapi":"/knowledge-base/openapi/v4.yaml delete /approvers/keys/{keyId}","href":"/knowledge-base/api-reference/v4/approval-groups/archive-an-approval-key"}]},{"group":"Policies","public":true,"icon":"shield-check","pages":[{"title":"Define a policy","deprecated":null,"version":null,"openapi":"/knowledge-base/openapi/v4.yaml post /policies","href":"/knowledge-base/api-reference/v4/policies/define-a-policy"},{"title":"Resolve applicable policies","description":"Resolves the policies that apply to one resource: every policy whose target names `resourceId`,\nplus — when `resourceType` is `ACCOUNT` — every policy naming one of its parent accounts up to the\nroot, since a root-level policy governs each account beneath it. The `chain` in the response lists\nexactly the account ids that were matched, nearest first.\n\nBoth `resourceType` and `resourceId` are required. `resourceType` selects the family of policies\n(the `resourceType` they were created with) and `resourceId` is matched against their `resourceIds`.\nFor every family other than `ACCOUNT` the id is the resource's own id, except for policies governing\na creation action type (`POLICY_CREATE`, `KEY_REGISTER`, `KEY_GROUP_CREATE`): those are created with\nthe root account ids they govern as `resourceIds`, so they are resolved by passing their family as\n`resourceType` (`POLICY`, `KEY`, or `APPROVAL_GROUP`) and a root account id as `resourceId`. The\naccount chain is expanded only for `resourceType=ACCOUNT`.\n\nOnly `ACTIVE` policies are returned unless `status` says otherwise. Results are ordered newest\nfirst by `createdAt`, then by `id`, so a page walk with `after` is deterministic.","deprecated":null,"version":null,"openapi":"/knowledge-base/openapi/v4.yaml get /policies","href":"/knowledge-base/api-reference/v4/policies/resolve-applicable-policies"},{"title":"Get a policy","deprecated":null,"version":null,"openapi":"/knowledge-base/openapi/v4.yaml get /policies/{policyId}","href":"/knowledge-base/api-reference/v4/policies/get-a-policy"},{"title":"Archive a policy","deprecated":null,"version":null,"openapi":"/knowledge-base/openapi/v4.yaml delete /policies/{policyId}","href":"/knowledge-base/api-reference/v4/policies/archive-a-policy"}]},{"group":"Approval groups","public":true,"icon":"users","tag":"UNDER CONSTRUCTION","pages":[{"title":"Create an approval group","deprecated":null,"version":null,"openapi":"/knowledge-base/openapi/v4.yaml post /approvers/approval-groups","href":"/knowledge-base/api-reference/v4/approval-groups/create-an-approval-group"},{"title":"List approval groups","deprecated":null,"version":null,"openapi":"/knowledge-base/openapi/v4.yaml get /approvers/approval-groups","href":"/knowledge-base/api-reference/v4/approval-groups/list-approval-groups"},{"title":"Get an approval group","deprecated":null,"version":null,"openapi":"/knowledge-base/openapi/v4.yaml get /approvers/approval-groups/{approvalGroupId}","href":"/knowledge-base/api-reference/v4/approval-groups/get-an-approval-group"},{"title":"Archive an approval group","deprecated":null,"version":null,"openapi":"/knowledge-base/openapi/v4.yaml delete /approvers/approval-groups/{approvalGroupId}","href":"/knowledge-base/api-reference/v4/approval-groups/archive-an-approval-group"}]},{"group":"Endorsements","public":true,"icon":"signature","tag":"UNDER CONSTRUCTION","pages":[{"title":"List actions awaiting endorsement","deprecated":null,"version":null,"openapi":"/knowledge-base/openapi/v4.yaml get /endorsements/actions","href":"/knowledge-base/api-reference/v4/endorsements/list-actions-awaiting-endorsement"},{"title":"Get an action","deprecated":null,"version":null,"openapi":"/knowledge-base/openapi/v4.yaml get /endorsements/actions/{actionId}","href":"/knowledge-base/api-reference/v4/endorsements/get-an-action"},{"title":"Endorse an action","deprecated":null,"version":null,"openapi":"/knowledge-base/openapi/v4.yaml post /endorsements/actions/{actionId}/endorse","href":"/knowledge-base/api-reference/v4/endorsements/endorse-an-action"},{"title":"Reject an action","deprecated":null,"version":null,"openapi":"/knowledge-base/openapi/v4.yaml post /endorsements/actions/{actionId}/reject","href":"/knowledge-base/api-reference/v4/endorsements/reject-an-action"}]},{"group":"Compliance profiles","public":true,"icon":"file-shield","tag":"UNDER CONSTRUCTION","pages":[{"title":"List compliance profiles","deprecated":null,"version":null,"openapi":"/knowledge-base/openapi/v4.yaml get /compliance-profiles","href":"/knowledge-base/api-reference/v4/compliance-profiles/list-compliance-profiles"},{"title":"Create compliance profiles","deprecated":null,"version":null,"openapi":"/knowledge-base/openapi/v4.yaml post /compliance-profiles","href":"/knowledge-base/api-reference/v4/compliance-profiles/create-compliance-profiles"},{"title":"Get a compliance profile","deprecated":null,"version":null,"openapi":"/knowledge-base/openapi/v4.yaml get /compliance-profiles/{profileId}","href":"/knowledge-base/api-reference/v4/compliance-profiles/get-a-compliance-profile"},{"title":"Update a compliance profile","deprecated":null,"version":null,"openapi":"/knowledge-base/openapi/v4.yaml patch /compliance-profiles/{profileId}","href":"/knowledge-base/api-reference/v4/compliance-profiles/update-a-compliance-profile"}]},{"group":"Customers","public":true,"icon":"user-plus","tag":"UNDER CONSTRUCTION","pages":[{"title":"List customers","deprecated":null,"version":null,"openapi":"/knowledge-base/openapi/v4.yaml get /customers","href":"/knowledge-base/api-reference/v4/customers/list-customers"},{"title":"Create customers","deprecated":null,"version":null,"openapi":"/knowledge-base/openapi/v4.yaml post /customers","href":"/knowledge-base/api-reference/v4/customers/create-customers"},{"title":"Get customer","deprecated":null,"version":null,"openapi":"/knowledge-base/openapi/v4.yaml get /customers/{customerId}","href":"/knowledge-base/api-reference/v4/customers/get-customer"},{"title":"Update customer","deprecated":null,"version":null,"openapi":"/knowledge-base/openapi/v4.yaml patch /customers/{customerId}","href":"/knowledge-base/api-reference/v4/customers/update-customer"},{"title":"List customer documents","deprecated":null,"version":null,"openapi":"/knowledge-base/openapi/v4.yaml get /customers/{customerId}/documents","href":"/knowledge-base/api-reference/v4/customers/list-customer-documents"}]},{"group":"Account maintenance","public":true,"icon":"file-invoice-dollar","tag":"UNDER CONSTRUCTION","pages":[{"title":"Update an account","deprecated":null,"version":null,"openapi":"/knowledge-base/openapi/v4.yaml patch /accounts/{accountId}","href":"/knowledge-base/api-reference/v4/accounts/update-an-account"},{"title":"Get account beneficiaries","deprecated":null,"version":null,"openapi":"/knowledge-base/openapi/v4.yaml get /accounts/{accountId}/beneficiaries","href":"/knowledge-base/api-reference/v4/accounts/get-account-beneficiaries"},{"title":"Update account beneficiaries","deprecated":null,"version":null,"openapi":"/knowledge-base/openapi/v4.yaml patch /accounts/{accountId}/beneficiaries","href":"/knowledge-base/api-reference/v4/accounts/update-account-beneficiaries"},{"title":"Get account fee configurations","deprecated":null,"version":null,"openapi":"/knowledge-base/openapi/v4.yaml get /accounts/{accountId}/fee-configs","href":"/knowledge-base/api-reference/v4/accounts/get-account-fee-configurations"},{"title":"Update account fee configurations","deprecated":null,"version":null,"openapi":"/knowledge-base/openapi/v4.yaml patch /accounts/{accountId}/fee-configs","href":"/knowledge-base/api-reference/v4/accounts/update-account-fee-configurations"},{"title":"Update interest enrollment","deprecated":null,"version":null,"openapi":"/knowledge-base/openapi/v4.yaml patch /accounts/{accountId}/interest-enrollment","href":"/knowledge-base/api-reference/v4/accounts/update-interest-enrollment"}]},{"group":"Funding allocations","public":true,"icon":"arrows-split-up-and-left","tag":"UNDER CONSTRUCTION","pages":[{"title":"Fetches a set of filtered transactions allocations","deprecated":null,"version":null,"openapi":"/knowledge-base/openapi/v4.yaml get /accounts/{accountId}/transactions/allocations","href":"/knowledge-base/api-reference/v4/transactions/fetches-a-set-of-filtered-transactions-allocations"},{"title":"Create new allocations","deprecated":null,"version":null,"openapi":"/knowledge-base/openapi/v4.yaml post /accounts/{accountId}/transactions/allocations","href":"/knowledge-base/api-reference/v4/transactions/create-new-allocations"}]},{"group":"Destination removal","public":true,"icon":"trash","tag":"UNDER CONSTRUCTION","pages":[{"title":"Delete destination","deprecated":null,"version":null,"openapi":"/knowledge-base/openapi/v4.yaml delete /accounts/{accountId}/destinations/{destinationId}","href":"/knowledge-base/api-reference/v4/trusted-destinations/delete-destination"}]}]}]},{"tab":"Build with AI","pages":[{"title":"Build with AI","href":"/knowledge-base/build-with-ai/overview"}]}]},{"product":"Porto","icon":"https://mintlify.s3.us-west-1.amazonaws.com/deployment-4/knowledge-base/images/icons/porto.svg","color":{"light":"#ac96ff","dark":"#ac96ff"},"pages":[{"title":"Porto","href":"/knowledge-base/porto/overview"}]},{"product":"Anchorage Digital Wealth (For Advisors)","icon":"building-columns","color":{"light":"#C9A227","dark":"#C9A227"},"hidden":true,"pages":[{"title":"Anchorage Digital Wealth (For Advisors)","href":"/knowledge-base/adw/overview"}]},{"product":"Trading","icon":"chart-line","hidden":true,"pages":[{"title":"Trading","href":"/knowledge-base/a1-trading/developer-guide/overview"}]},{"product":"Agentic Banking","icon":"robot","pages":[{"title":"Agentic Banking","href":"/agentic-banking/overview"}]}]},"basePath":"","title":"Define a policy - Anchorage Digital","deploymentId":"dpl_DyXGnKeCjZyA3sUdfMJ7FjkdBefg","buildId":"dpl_DyXGnKeCjZyA3sUdfMJ7FjkdBefg","dynamics":["c2aa737661","2b790eda92","b0f84f53ff","a9bb46feb3"],"chunks":["OpenApiReferenceProvider-CiUHMMOm.js","snippetPresets-BgfXU7Bw.js","utils-DWvOwgy_.js","style-to-object-BY3JEAdk.js","utils-BN7RXSMJ.js","v4-DIgz8zy6.js","addUniqueKeysToSchema-CFw8bq89.js","conditional-requirements-CFM0id0Q.js","cloneDeep-CAwdfOU2.js","_Uint8Array-BJr8e-ZL.js","isObject-FP1Yky1u.js","ApiExamples-XX0UgMZK.js","usePlaygroundInputsStore-DXDFSa1V.js","shallow-CdX5aREi.js","isEqual-CoOaxexF.js","CodeSnippets-Cg2wpzWm.js","CodeSnippet-D_HwgQO_.js","getApiPlaygroundDisplay-CmCoerhe.js","Page-CVJ-f_k1.js","DynamicMarkdown-CQM9Bhbv.js","SectionHeading-DpbrP8nQ.js","icon-BPCgijHy.js","MethodPill-GQ8DuY0c.js","getPastedJson-Cb5mT31m.js","Check2Icon-a7bUI6e8.js","axios-CsQoIw0U.js","Markdown-CX2QY19L.js","AssistantPageLink-CY3bFglh.js","dist-Dl6_zDnT.js","lib-DMeTj1gb.js","lib-B8HbPgcC.js","katex-Dbtb6Wk7.js","html-void-elements-mCSPHezU.js","marked.esm-CZWythHk.js"]}