Basic Auth header with your app ID as the username and your app secret as the password.
Headers
privy-app-id
string
required
ID of your Privy app.
privy-request-expiry
string
Request expiry. Value is a Unix timestamp in milliseconds representing the deadline by which the request must be processed.
Path Parameters
wallet_id
string
required
ID of the wallet.
Body
application/json
Request body for updating a wallet. owner and owner_id are mutually exclusive.
display_name
string | null
A human-readable label for the wallet. Set to null to clear.
Maximum string length: 100
external_id
string
A customer-provided identifier for mapping to external systems. URL-safe characters only ([a-zA-Z0-9_-]), max 64 chars. Write-once: cannot be changed once set.
Maximum string length: 64
Pattern: ^[a-zA-Z0-9_-]+$
policy_ids
string<cuid2>[]
New policy IDs to enforce on the wallet. Currently, only one policy is supported per wallet.
Maximum array length: 1
A unique identifier for a policy.
Required string length: 24
additional_signers
AdditionalSignerItemInput · object[]
Additional signers for the wallet.
Show child attributes
owner
OwnerInputUser · object
New owner of the wallet. Cannot be used together with owner_id. Set to null to clear the existing owner.
OwnerInputUser
OwnerInputPublicKey
Show child attributes
owner_id
string<cuid2> | null
New key quorum ID to set as the owner of the wallet. Cannot be used together with owner. Set to null to clear the existing owner.
Response
200 - application/json
Created wallet update intent.
Response for a wallet intent
intent_id
string
required
Unique ID for the intent
created_by_display_name
string
required
Display name of the user who created the intent
created_at
number
required
Unix timestamp when the intent was created
resource_id
string
required
ID of the resource being modified (wallet_id, policy_id, etc)
authorization_details
IntentAuthorization · object[]
required
Detailed authorization information including key quorum members, thresholds, and signature status
Show child attributes
status
enum<string>
required
Current status of an intent.
Available options:
pending,
processing,
executed,
failed,
expired,
rejected,
dismissed
custom_expiry
boolean
required
Whether this intent has a custom expiry time set by the client. If false, the intent expires after a default duration.
expires_at
number
required
Unix timestamp when the intent expires
intent_type
enum<string>
required
Available options:
WALLET
request_details
object
required
The original wallet update request that would be sent to the wallet endpoint
Show child attributes
created_by_id
string
ID of the user who created the intent. If undefined, the intent was created using the app secret
rejected_at
number
Unix timestamp when the intent was rejected, present when status is 'rejected'
dismissed_at
number
Unix timestamp when the intent was dismissed, present when status is 'dismissed'
dismissal_reason
string
Human-readable reason for dismissal, present when status is 'dismissed'
current_resource_data
Wallet · object
Current state of the wallet before any changes. If undefined, the resource was deleted and no longer exists
Result of wallet update execution (only present if status is 'executed' or 'failed')
Show child attributes
Was this page helpful?
{"docsConfig":{"theme":"mint","$schema":"https://mintlify.com/docs.json","name":"Privy Docs","colors":{"primary":"#010110","light":"#FFFFFF"},"logo":{"light":"https://mintcdn.com/privy-c2af3412/Ih_Fo3QYM486gzWq/logo/privy-logo-light.png?fit=max\u0026auto=format\u0026n=Ih_Fo3QYM486gzWq\u0026q=85\u0026s=bd297b680ace8a13db4d9ce977f93180","dark":"https://mintcdn.com/privy-c2af3412/Ih_Fo3QYM486gzWq/logo/privy-logo-dark.png?fit=max\u0026auto=format\u0026n=Ih_Fo3QYM486gzWq\u0026q=85\u0026s=24d83970695ab19a1803a2eb00dbea4e"},"favicon":"https://mintcdn.com/privy-c2af3412/YByWVKlFbSpnpSJG/favicon.png?fit=max\u0026auto=format\u0026n=YByWVKlFbSpnpSJG\u0026q=85\u0026s=ee4038168ea586e5f72041e5e2a1f5c8","api":{"openapi":{"source":"https://api.staging.privy.io/v1/openapi.json"},"playground":{"display":"interactive"},"examples":{"languages":["curl","java","javascript","php","go"]},"mdx":{"server":"https://api.privy.io"}},"background":{"color":{"light":"#FFFFFF","dark":"#010110"}},"navbar":{"links":[{"href":"https://demo.privy.io","label":"Demo"},{"href":"https://privy.io/slack","label":"Support"}],"primary":{"type":"button","label":"Dashboard","href":"https://dashboard.privy.io"}},"seo":{"metatags":{"og:type":"website","og:site_name":"Privy Docs","og:image":"https://assets.privy.io/docs-og.png","twitter:title":"Privy Docs","twitter:card":"summary_large_image","twitter:image":"https://assets.privy.io/docs-og.png"},"organization":{"id":"https://www.privy.io/#organization","name":"Privy","url":"https://www.privy.io","logo":"https://assets.privy.io/docs-og.png","sameAs":["https://x.com/privy_io","https://github.com/privy-io"]}},"styling":{"codeblocks":"system","latex":true},"integrations":{"gtm":{"tagId":"GTM-WV9MVTB3"}},"contextual":{"options":["claude","chatgpt","cursor","vscode","mcp","copy","view"],"display":"header"},"navigation":{"pages":[]}},"deployment":{"deploymentMetadataValue":{"subdomain":"privy-c2af3412","hasAudioNarration":false,"actualSubdomain":"privy-c2af3412","customDomains":["docs.privy.io"],"gitSource":{"type":"github","owner":"privy-io","repo":"docs","deployBranch":"main","contentDirectory":"","isPrivate":true,"mountPath":"","label":""},"feedback":{"issues":true,"thumbs":true,"edits":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":"6b00d764501217c953df3b34","clientVersion":"0.0.4271","searchFilterCounts":[{"language":"default","tag":"Wallets","count":299},{"language":"default","tag":"API reference","count":257},{"language":"default","tag":"Identity","count":144},{"language":"default","tag":"Recipes","count":138},{"language":"default","tag":"All recipes","count":137},{"language":"default","tag":"Signatures and transactions","count":93},{"language":"default","tag":"Financial flows","count":90},{"language":"default","tag":"Users","count":89},{"language":"default","tag":"Basics","count":87},{"language":"default","tag":"Controls","count":77}]},"assistantConfig":{},"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":"treatment","enabled":true,"payload":{"type":"string","value":"treatment"},"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":"style.css","href":"/_mintlify/custom/privy-c2af3412/1055025e6880191b/style.css"}]}
{"page":{"pagePath":"api-reference/intents/update-wallet","slug":"/api-reference/intents/update-wallet","pageMetadata":{"title":"Update wallet","og:title":"Update wallet via intent – API reference","openapi":"patch /v1/intents/wallets/{wallet_id}","description":"Create an intent to update a wallet. The intent must be authorized by the wallet owner before it can be executed.","href":"/api-reference/intents/update-wallet"},"description":{"compiledSource":"\"use strict\";\nconst {jsx: _jsx} = arguments[0];\nconst {useMDXComponents: _provideComponents} = arguments[0];\nfunction _createMdxContent(props) {\n const _components = {\n p: \"p\",\n ..._provideComponents(),\n ...props.components\n };\n return _jsx(_components.p, {\n children: \"Create an intent to update a wallet. The intent must be authorized by the wallet owner before it can be executed.\"\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":{"codeStyling":"system","config":{},"pageMetadata":{"title":"Update wallet","og:title":"Update wallet via intent – API reference","openapi":"patch /v1/intents/wallets/{wallet_id}","description":"Create an intent to update a wallet. The intent must be authorized by the wallet owner before it can be executed.","href":"/api-reference/intents/update-wallet"}}},"mdxSourceWithNoJs":null},"mdxExtracts":{"tableOfContents":[],"codeExamples":{}},"jsLinks":["/_mintlify/custom/privy-c2af3412/9a6cfa36ced76db0/welcome.js","/_mintlify/custom/privy-c2af3412/1af79d46bd64cd8b/fullstory.js","/_mintlify/custom/privy-c2af3412/e4d91321024fde21/recipes/recipes-search.js","/_mintlify/custom/privy-c2af3412/d31c5451398ab22c/check-links.js"],"openApiReferenceData":{"operation":{"tags":["Intents"],"operationId":"createWalletUpdateIntent","summary":"Create wallet update intent","description":"Create an intent to update a wallet. The intent must be authorized by the wallet owner before it can be executed.","security":["399a8129-e3c5-447f-acb9-44b55e847110"],"parameters":["0001e1a3-49a5-4d68-91ac-cce3aaa48b84","4dd98b25-1b56-4a92-880e-2139ab674da0","4b6d058e-2e03-48d4-a38c-67de7badf517"],"requestBody":"03736797-976d-47f3-9612-cb1c904e20ad","responses":{"200":"23231b7e-694a-46d3-ba70-83d306bd825a"},"method":"patch","type":"path","servers":["a0b377e2-c683-4532-8935-7e348c735b96"],"path":"/v1/intents/wallets/{wallet_id}","baseUrlOptions":["https://api.privy.io"],"title":"Create wallet update intent","codeSamples":[],"requestExampleLanguages":["bash","java","javascript","php","go"],"requiredOnlyExamples":false,"requestExampleType":"generated","responseExampleType":"generated"},"dependencies":{"parameters":{"0001e1a3-49a5-4d68-91ac-cce3aaa48b84":{"schema":{"type":"string","description":"ID of the wallet.","isRequired":true,"uniqueKey":"","typeLabel":"string"},"required":true,"description":"ID of the wallet.","name":"wallet_id","in":"path"},"4dd98b25-1b56-4a92-880e-2139ab674da0":{"schema":{"type":"string","description":"ID of your Privy app.","isRequired":true,"uniqueKey":"","typeLabel":"string"},"required":true,"description":"ID of your Privy app.","name":"privy-app-id","in":"header"},"4b6d058e-2e03-48d4-a38c-67de7badf517":{"schema":{"type":"string","description":"Request expiry. Value is a Unix timestamp in milliseconds representing the deadline by which the request must be processed.","isRequired":false,"uniqueKey":"","typeLabel":"string"},"required":false,"description":"Request expiry. Value is a Unix timestamp in milliseconds representing the deadline by which the request must be processed.","name":"privy-request-expiry","in":"header"}},"requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","properties":{"display_name":{"oneOf":[{"type":"string","maxLength":100,"description":"A human-readable label for the wallet. Set to null to clear.","uniqueKey":"display_name.oneOf.0","typeLabel":"string"},{"type":"null","maxLength":100,"description":"A human-readable label for the wallet. Set to null to clear.","uniqueKey":"display_name.oneOf.1","typeLabel":"null"}],"uniqueKey":"display_name","typeLabel":"string | null"},"external_id":{"type":"string","maxLength":64,"pattern":"^[a-zA-Z0-9_-]+$","description":"A customer-provided identifier for mapping to external systems. URL-safe characters only ([a-zA-Z0-9_-]), max 64 chars. Write-once: cannot be changed once set.","uniqueKey":"external_id","typeLabel":"string"},"policy_ids":{"type":"array","items":{"type":"string","minLength":24,"maxLength":24,"format":"cuid2","title":"PolicyId","description":"A unique identifier for a policy.","x-stainless-model":"shared.policy_id","uniqueKey":"policy_ids.items.[INDEX]","typeLabel":"string\u003ccuid2>"},"title":"PolicyInput","description":"New policy IDs to enforce on the wallet. Currently, only one policy is supported per wallet.","maxItems":1,"x-stainless-model":"wallets.policy_input","uniqueKey":"policy_ids","typeLabel":"string\u003ccuid2>[]"},"additional_signers":{"type":"array","items":{"type":"object","properties":{"signer_id":{"type":"string","format":"cuid2","title":"KeyQuorumId","description":"A unique identifier for a key quorum.","x-stainless-model":"shared.key_quorum_id","isRequired":true,"uniqueKey":"additional_signers.items.[INDEX].signer_id","typeLabel":"string\u003ccuid2>"},"override_policy_ids":{"type":"array","items":{"type":"string","minLength":24,"maxLength":24,"format":"cuid2","title":"PolicyId","description":"A unique identifier for a policy.","x-stainless-model":"shared.policy_id","uniqueKey":"additional_signers.items.[INDEX].override_policy_ids.items.[INDEX]","typeLabel":"string\u003ccuid2>"},"maxItems":1,"title":"PolicyInput","description":"An optional list of up to one policy ID to enforce on the wallet.","x-stainless-model":"wallets.policy_input","uniqueKey":"additional_signers.items.[INDEX].override_policy_ids","typeLabel":"string\u003ccuid2>[]"}},"required":["signer_id"],"additionalProperties":false,"title":"AdditionalSignerItemInput","description":"A single additional signer for a wallet, with an optional policy override.","x-stainless-model":"wallets.additional_signer_item_input","uniqueKey":"additional_signers.items.[INDEX]","typeLabel":"AdditionalSignerItemInput · object"},"title":"AdditionalSignerInput","description":"Additional signers for the wallet.","x-stainless-model":"wallets.additional_signer_input","uniqueKey":"additional_signers","typeLabel":"AdditionalSignerItemInput · object[]"},"owner":{"oneOf":[{"type":"object","title":"OwnerInputUser","description":"New owner of the wallet. Cannot be used together with `owner_id`. Set to `null` to clear the existing owner.","required":["user_id"],"x-stainless-model":"shared.owner_input","properties":{"user_id":{"type":"string","isRequired":true,"uniqueKey":"owner.oneOf.0.user_id","typeLabel":"string"}},"additionalProperties":false,"uniqueKey":"owner.oneOf.0","typeLabel":"OwnerInputUser · object"},{"type":"object","title":"OwnerInputPublicKey","description":"New owner of the wallet. Cannot be used together with `owner_id`. Set to `null` to clear the existing owner.","required":["public_key"],"x-stainless-model":"shared.owner_input","properties":{"public_key":{"type":"string","title":"P256PublicKey","description":"A P-256 (secp256r1) public key.","x-stainless-model":"shared.p_256_public_key","isRequired":true,"uniqueKey":"owner.oneOf.1.public_key","typeLabel":"string"}},"additionalProperties":false,"uniqueKey":"owner.oneOf.1","typeLabel":"OwnerInputPublicKey · object"},{"type":"null","title":"OwnerInput","description":"New owner of the wallet. Cannot be used together with `owner_id`. Set to `null` to clear the existing owner.","x-stainless-model":"shared.owner_input","uniqueKey":"owner.oneOf.2","typeLabel":"null"}],"uniqueKey":"owner","typeLabel":"OwnerInputUser · object | OwnerInputPublicKey · object | null"},"owner_id":{"oneOf":[{"type":"string","title":"OwnerIdInput","description":"New key quorum ID to set as the owner of the wallet. Cannot be used together with `owner`. Set to `null` to clear the existing owner.","format":"cuid2","x-stainless-model":"shared.owner_id_input","uniqueKey":"owner_id.oneOf.0","typeLabel":"string\u003ccuid2>"},{"type":"null","title":"OwnerIdInput","description":"New key quorum ID to set as the owner of the wallet. Cannot be used together with `owner`. Set to `null` to clear the existing owner.","format":"cuid2","x-stainless-model":"shared.owner_id_input","uniqueKey":"owner_id.oneOf.1","typeLabel":"null"}],"uniqueKey":"owner_id","typeLabel":"string\u003ccuid2> | null"}},"additionalProperties":false,"title":"WalletUpdateRequestBody","description":"Request body for updating a wallet. `owner` and `owner_id` are mutually exclusive.","x-stainless-model":"wallets.wallet_update_request_body","uniqueKey":"","typeLabel":"WalletUpdateRequestBody · object"},"examples":{"Example":{"title":"Example","value":{"display_name":"\u003cstring>","external_id":"\u003cstring>","policy_ids":["\u003cstring>"],"additional_signers":[{"signer_id":"\u003cstring>","override_policy_ids":["\u003cstring>"]}],"owner":{"user_id":"\u003cstring>"},"owner_id":"\u003cstring>"}}},"exampleType":"generated"}},"exampleType":"generated"},"responses":{"23231b7e-694a-46d3-ba70-83d306bd825a":{"description":"Created wallet update intent.","content":{"application/json":{"schema":{"type":"object","title":"WalletIntentResponse","description":"Response for a wallet intent","required":["intent_type","request_details","intent_id","created_by_display_name","created_at","resource_id","authorization_details","status","custom_expiry","expires_at"],"x-stainless-model":"intents.wallet_intent_response","properties":{"intent_id":{"type":"string","description":"Unique ID for the intent","isRequired":true,"uniqueKey":"intent_id","typeLabel":"string"},"created_by_display_name":{"type":"string","description":"Display name of the user who created the intent","isRequired":true,"uniqueKey":"created_by_display_name","typeLabel":"string"},"created_at":{"type":"number","description":"Unix timestamp when the intent was created","isRequired":true,"uniqueKey":"created_at","typeLabel":"number"},"resource_id":{"type":"string","description":"ID of the resource being modified (wallet_id, policy_id, etc)","isRequired":true,"uniqueKey":"resource_id","typeLabel":"string"},"authorization_details":{"type":"array","items":{"type":"object","properties":{"members":{"type":"array","items":{"oneOf":[{"type":"object","title":"IntentAuthorizationUserMember","description":"A user member of an intent authorization quorum.","required":["type","user_id","signed_at"],"x-stainless-model":"intents.intent_authorization_member","properties":{"type":{"type":"string","enum":["user"],"isRequired":true,"uniqueKey":"authorization_details.items.[INDEX].members.items.[INDEX].oneOf.0.type","typeLabel":"enum\u003cstring>"},"user_id":{"type":"string","description":"User ID of the key quorum member","isRequired":true,"uniqueKey":"authorization_details.items.[INDEX].members.items.[INDEX].oneOf.0.user_id","typeLabel":"string"},"signed_at":{"oneOf":[{"type":"number","description":"Unix timestamp when this member signed, or null if not yet signed.","isRequired":true,"uniqueKey":"authorization_details.items.[INDEX].members.items.[INDEX].oneOf.0.signed_at.oneOf.0","typeLabel":"number"},{"type":"null","description":"Unix timestamp when this member signed, or null if not yet signed.","isRequired":true,"uniqueKey":"authorization_details.items.[INDEX].members.items.[INDEX].oneOf.0.signed_at.oneOf.1","typeLabel":"null"}],"isRequired":true,"uniqueKey":"authorization_details.items.[INDEX].members.items.[INDEX].oneOf.0.signed_at","typeLabel":"number | null"}},"uniqueKey":"authorization_details.items.[INDEX].members.items.[INDEX].oneOf.0","typeLabel":"IntentAuthorizationUserMember · object"},{"type":"object","title":"IntentAuthorizationKeyMember","description":"A key member of an intent authorization quorum.","required":["type","public_key","signed_at"],"x-stainless-model":"intents.intent_authorization_member","properties":{"type":{"type":"string","enum":["key"],"isRequired":true,"uniqueKey":"authorization_details.items.[INDEX].members.items.[INDEX].oneOf.1.type","typeLabel":"enum\u003cstring>"},"public_key":{"type":"string","description":"Public key of the key quorum member","isRequired":true,"uniqueKey":"authorization_details.items.[INDEX].members.items.[INDEX].oneOf.1.public_key","typeLabel":"string"},"signed_at":{"oneOf":[{"type":"number","description":"Unix timestamp when this member signed, or null if not yet signed.","isRequired":true,"uniqueKey":"authorization_details.items.[INDEX].members.items.[INDEX].oneOf.1.signed_at.oneOf.0","typeLabel":"number"},{"type":"null","description":"Unix timestamp when this member signed, or null if not yet signed.","isRequired":true,"uniqueKey":"authorization_details.items.[INDEX].members.items.[INDEX].oneOf.1.signed_at.oneOf.1","typeLabel":"null"}],"isRequired":true,"uniqueKey":"authorization_details.items.[INDEX].members.items.[INDEX].oneOf.1.signed_at","typeLabel":"number | null"}},"uniqueKey":"authorization_details.items.[INDEX].members.items.[INDEX].oneOf.1","typeLabel":"IntentAuthorizationKeyMember · object"},{"type":"object","title":"IntentAuthorizationKeyQuorum","description":"A nested key quorum member of an intent authorization quorum.","required":["type","key_quorum_id","threshold_met","threshold","members"],"x-stainless-model":"intents.intent_authorization_member","properties":{"type":{"type":"string","enum":["key_quorum"],"isRequired":true,"uniqueKey":"authorization_details.items.[INDEX].members.items.[INDEX].oneOf.2.type","typeLabel":"enum\u003cstring>"},"key_quorum_id":{"type":"string","description":"ID of the child key quorum member","isRequired":true,"uniqueKey":"authorization_details.items.[INDEX].members.items.[INDEX].oneOf.2.key_quorum_id","typeLabel":"string"},"threshold_met":{"type":"boolean","description":"Whether this child key quorum has met its signature threshold","isRequired":true,"uniqueKey":"authorization_details.items.[INDEX].members.items.[INDEX].oneOf.2.threshold_met","typeLabel":"boolean"},"threshold":{"type":"number","description":"Number of signatures required from this child quorum","isRequired":true,"uniqueKey":"authorization_details.items.[INDEX].members.items.[INDEX].oneOf.2.threshold","typeLabel":"number"},"members":{"type":"array","items":{"oneOf":[{"type":"object","title":"IntentAuthorizationUserMember","description":"A user member of an intent authorization quorum.","required":["type","user_id","signed_at"],"x-stainless-model":"intents.intent_authorization_key_quorum_member","properties":{"type":{"type":"string","enum":["user"],"isRequired":true,"uniqueKey":"authorization_details.items.[INDEX].members.items.[INDEX].oneOf.2.members.items.[INDEX].oneOf.0.type","typeLabel":"enum\u003cstring>"},"user_id":{"type":"string","description":"User ID of the key quorum member","isRequired":true,"uniqueKey":"authorization_details.items.[INDEX].members.items.[INDEX].oneOf.2.members.items.[INDEX].oneOf.0.user_id","typeLabel":"string"},"signed_at":{"oneOf":[{"type":"number","description":"Unix timestamp when this member signed, or null if not yet signed.","isRequired":true,"uniqueKey":"authorization_details.items.[INDEX].members.items.[INDEX].oneOf.2.members.items.[INDEX].oneOf.0.signed_at.oneOf.0","typeLabel":"number"},{"type":"null","description":"Unix timestamp when this member signed, or null if not yet signed.","isRequired":true,"uniqueKey":"authorization_details.items.[INDEX].members.items.[INDEX].oneOf.2.members.items.[INDEX].oneOf.0.signed_at.oneOf.1","typeLabel":"null"}],"isRequired":true,"uniqueKey":"authorization_details.items.[INDEX].members.items.[INDEX].oneOf.2.members.items.[INDEX].oneOf.0.signed_at","typeLabel":"number | null"}},"uniqueKey":"authorization_details.items.[INDEX].members.items.[INDEX].oneOf.2.members.items.[INDEX].oneOf.0","typeLabel":"IntentAuthorizationUserMember · object"},{"type":"object","title":"IntentAuthorizationKeyMember","description":"A key member of an intent authorization quorum.","required":["type","public_key","signed_at"],"x-stainless-model":"intents.intent_authorization_key_quorum_member","properties":{"type":{"type":"string","enum":["key"],"isRequired":true,"uniqueKey":"authorization_details.items.[INDEX].members.items.[INDEX].oneOf.2.members.items.[INDEX].oneOf.1.type","typeLabel":"enum\u003cstring>"},"public_key":{"type":"string","description":"Public key of the key quorum member","isRequired":true,"uniqueKey":"authorization_details.items.[INDEX].members.items.[INDEX].oneOf.2.members.items.[INDEX].oneOf.1.public_key","typeLabel":"string"},"signed_at":{"oneOf":[{"type":"number","description":"Unix timestamp when this member signed, or null if not yet signed.","isRequired":true,"uniqueKey":"authorization_details.items.[INDEX].members.items.[INDEX].oneOf.2.members.items.[INDEX].oneOf.1.signed_at.oneOf.0","typeLabel":"number"},{"type":"null","description":"Unix timestamp when this member signed, or null if not yet signed.","isRequired":true,"uniqueKey":"authorization_details.items.[INDEX].members.items.[INDEX].oneOf.2.members.items.[INDEX].oneOf.1.signed_at.oneOf.1","typeLabel":"null"}],"isRequired":true,"uniqueKey":"authorization_details.items.[INDEX].members.items.[INDEX].oneOf.2.members.items.[INDEX].oneOf.1.signed_at","typeLabel":"number | null"}},"uniqueKey":"authorization_details.items.[INDEX].members.items.[INDEX].oneOf.2.members.items.[INDEX].oneOf.1","typeLabel":"IntentAuthorizationKeyMember · object"}],"uniqueKey":"authorization_details.items.[INDEX].members.items.[INDEX].oneOf.2.members.items.[INDEX]","typeLabel":"IntentAuthorizationUserMember · object | IntentAuthorizationKeyMember · object"},"description":"Members of this child quorum","isRequired":true,"uniqueKey":"authorization_details.items.[INDEX].members.items.[INDEX].oneOf.2.members","typeLabel":"(IntentAuthorizationUserMember · object | IntentAuthorizationKeyMember · object)[]"},"display_name":{"type":"string","description":"Display name for the child key quorum (if any)","uniqueKey":"authorization_details.items.[INDEX].members.items.[INDEX].oneOf.2.display_name","typeLabel":"string"}},"uniqueKey":"authorization_details.items.[INDEX].members.items.[INDEX].oneOf.2","typeLabel":"IntentAuthorizationKeyQuorum · object"}],"uniqueKey":"authorization_details.items.[INDEX].members.items.[INDEX]","typeLabel":"IntentAuthorizationUserMember · object | IntentAuthorizationKeyMember · object | IntentAuthorizationKeyQuorum · object"},"description":"Members in this authorization quorum","isRequired":true,"uniqueKey":"authorization_details.items.[INDEX].members","typeLabel":"(IntentAuthorizationUserMember · object | IntentAuthorizationKeyMember · object | IntentAuthorizationKeyQuorum · object)[]"},"threshold":{"type":"number","description":"Number of signatures required to satisfy this quorum","isRequired":true,"uniqueKey":"authorization_details.items.[INDEX].threshold","typeLabel":"number"},"display_name":{"type":"string","description":"Display name of the key quorum","uniqueKey":"authorization_details.items.[INDEX].display_name","typeLabel":"string"}},"required":["members","threshold"],"title":"IntentAuthorization","description":"Authorization quorum for an intent","x-stainless-model":"intents.intent_authorization","uniqueKey":"authorization_details.items.[INDEX]","typeLabel":"IntentAuthorization · object"},"description":"Detailed authorization information including key quorum members, thresholds, and signature status","isRequired":true,"uniqueKey":"authorization_details","typeLabel":"IntentAuthorization · object[]"},"status":{"type":"string","enum":["pending","processing","executed","failed","expired","rejected","dismissed"],"title":"IntentStatus","description":"Current status of an intent.","x-stainless-model":"intents.intent_status","isRequired":true,"uniqueKey":"status","typeLabel":"enum\u003cstring>"},"custom_expiry":{"type":"boolean","description":"Whether this intent has a custom expiry time set by the client. If false, the intent expires after a default duration.","isRequired":true,"uniqueKey":"custom_expiry","typeLabel":"boolean"},"expires_at":{"type":"number","description":"Unix timestamp when the intent expires","isRequired":true,"uniqueKey":"expires_at","typeLabel":"number"},"intent_type":{"type":"string","enum":["WALLET"],"isRequired":true,"uniqueKey":"intent_type","typeLabel":"enum\u003cstring>"},"request_details":{"type":"object","properties":{"method":{"type":"string","enum":["PATCH"],"isRequired":true,"uniqueKey":"request_details.method","typeLabel":"enum\u003cstring>"},"url":{"type":"string","isRequired":true,"uniqueKey":"request_details.url","typeLabel":"string"},"body":{"type":"object","properties":{"display_name":{"oneOf":[{"type":"string","maxLength":100,"description":"A human-readable label for the wallet. Set to null to clear.","uniqueKey":"request_details.body.display_name.oneOf.0","typeLabel":"string"},{"type":"null","maxLength":100,"description":"A human-readable label for the wallet. Set to null to clear.","uniqueKey":"request_details.body.display_name.oneOf.1","typeLabel":"null"}],"uniqueKey":"request_details.body.display_name","typeLabel":"string | null"},"external_id":{"type":"string","maxLength":64,"pattern":"^[a-zA-Z0-9_-]+$","description":"A customer-provided identifier for mapping to external systems. URL-safe characters only ([a-zA-Z0-9_-]), max 64 chars. Write-once: cannot be changed once set.","uniqueKey":"request_details.body.external_id","typeLabel":"string"},"policy_ids":{"type":"array","items":{"type":"string","minLength":24,"maxLength":24,"format":"cuid2","title":"PolicyId","description":"A unique identifier for a policy.","x-stainless-model":"shared.policy_id","uniqueKey":"request_details.body.policy_ids.items.[INDEX]","typeLabel":"string\u003ccuid2>"},"title":"PolicyInput","description":"New policy IDs to enforce on the wallet. Currently, only one policy is supported per wallet.","maxItems":1,"x-stainless-model":"wallets.policy_input","uniqueKey":"request_details.body.policy_ids","typeLabel":"string\u003ccuid2>[]"},"additional_signers":{"type":"array","items":{"type":"object","properties":{"signer_id":{"type":"string","format":"cuid2","title":"KeyQuorumId","description":"A unique identifier for a key quorum.","x-stainless-model":"shared.key_quorum_id","isRequired":true,"uniqueKey":"request_details.body.additional_signers.items.[INDEX].signer_id","typeLabel":"string\u003ccuid2>"},"override_policy_ids":{"type":"array","items":{"type":"string","minLength":24,"maxLength":24,"format":"cuid2","title":"PolicyId","description":"A unique identifier for a policy.","x-stainless-model":"shared.policy_id","uniqueKey":"request_details.body.additional_signers.items.[INDEX].override_policy_ids.items.[INDEX]","typeLabel":"string\u003ccuid2>"},"maxItems":1,"title":"PolicyInput","description":"An optional list of up to one policy ID to enforce on the wallet.","x-stainless-model":"wallets.policy_input","uniqueKey":"request_details.body.additional_signers.items.[INDEX].override_policy_ids","typeLabel":"string\u003ccuid2>[]"}},"required":["signer_id"],"additionalProperties":false,"title":"AdditionalSignerItemInput","description":"A single additional signer for a wallet, with an optional policy override.","x-stainless-model":"wallets.additional_signer_item_input","uniqueKey":"request_details.body.additional_signers.items.[INDEX]","typeLabel":"AdditionalSignerItemInput · object"},"title":"AdditionalSignerInput","description":"Additional signers for the wallet.","x-stainless-model":"wallets.additional_signer_input","uniqueKey":"request_details.body.additional_signers","typeLabel":"AdditionalSignerItemInput · object[]"},"owner":{"oneOf":[{"type":"object","title":"OwnerInputUser","description":"New owner of the wallet. Cannot be used together with `owner_id`. Set to `null` to clear the existing owner.","required":["user_id"],"x-stainless-model":"shared.owner_input","properties":{"user_id":{"type":"string","isRequired":true,"uniqueKey":"request_details.body.owner.oneOf.0.user_id","typeLabel":"string"}},"additionalProperties":false,"uniqueKey":"request_details.body.owner.oneOf.0","typeLabel":"OwnerInputUser · object"},{"type":"object","title":"OwnerInputPublicKey","description":"New owner of the wallet. Cannot be used together with `owner_id`. Set to `null` to clear the existing owner.","required":["public_key"],"x-stainless-model":"shared.owner_input","properties":{"public_key":{"type":"string","title":"P256PublicKey","description":"A P-256 (secp256r1) public key.","x-stainless-model":"shared.p_256_public_key","isRequired":true,"uniqueKey":"request_details.body.owner.oneOf.1.public_key","typeLabel":"string"}},"additionalProperties":false,"uniqueKey":"request_details.body.owner.oneOf.1","typeLabel":"OwnerInputPublicKey · object"},{"type":"null","title":"OwnerInput","description":"New owner of the wallet. Cannot be used together with `owner_id`. Set to `null` to clear the existing owner.","x-stainless-model":"shared.owner_input","uniqueKey":"request_details.body.owner.oneOf.2","typeLabel":"null"}],"uniqueKey":"request_details.body.owner","typeLabel":"OwnerInputUser · object | OwnerInputPublicKey · object | null"},"owner_id":{"oneOf":[{"type":"string","title":"OwnerIdInput","description":"New key quorum ID to set as the owner of the wallet. Cannot be used together with `owner`. Set to `null` to clear the existing owner.","format":"cuid2","x-stainless-model":"shared.owner_id_input","uniqueKey":"request_details.body.owner_id.oneOf.0","typeLabel":"string\u003ccuid2>"},{"type":"null","title":"OwnerIdInput","description":"New key quorum ID to set as the owner of the wallet. Cannot be used together with `owner`. Set to `null` to clear the existing owner.","format":"cuid2","x-stainless-model":"shared.owner_id_input","uniqueKey":"request_details.body.owner_id.oneOf.1","typeLabel":"null"}],"uniqueKey":"request_details.body.owner_id","typeLabel":"string\u003ccuid2> | null"}},"additionalProperties":false,"title":"WalletUpdateRequestBody","description":"Request body for updating a wallet. `owner` and `owner_id` are mutually exclusive.","x-stainless-model":"wallets.wallet_update_request_body","isRequired":true,"uniqueKey":"request_details.body","typeLabel":"WalletUpdateRequestBody · object"}},"required":["method","url","body"],"description":"The original wallet update request that would be sent to the wallet endpoint","isRequired":true,"uniqueKey":"request_details","typeLabel":"object"},"created_by_id":{"type":"string","description":"ID of the user who created the intent. If undefined, the intent was created using the app secret","uniqueKey":"created_by_id","typeLabel":"string"},"rejected_at":{"type":"number","description":"Unix timestamp when the intent was rejected, present when status is 'rejected'","uniqueKey":"rejected_at","typeLabel":"number"},"dismissed_at":{"type":"number","description":"Unix timestamp when the intent was dismissed, present when status is 'dismissed'","uniqueKey":"dismissed_at","typeLabel":"number"},"dismissal_reason":{"type":"string","description":"Human-readable reason for dismissal, present when status is 'dismissed'","uniqueKey":"dismissal_reason","typeLabel":"string"},"current_resource_data":{"type":"object","title":"Wallet","description":"Current state of the wallet before any changes. If undefined, the resource was deleted and no longer exists","required":["id","address","created_at","chain_type","policy_ids","owner_id","additional_signers","exported_at","imported_at"],"x-stainless-model":"wallets.wallet","example":{"id":"id2tptkqrxd39qo9j423etij","address":"0xF1DBff66C993EE895C8cb176c30b07A559d76496","display_name":"Treasury","external_id":"my-order-123","chain_type":"ethereum","policy_ids":[],"additional_signers":[],"owner_id":"rkiz0ivz254drv1xw982v3jq","parent_wallet_id":null,"entity":{"id":"jorpjo4rfxj62nx1itt8y1zt","type":"user"},"created_at":1741834854578,"exported_at":null,"imported_at":null,"archived_at":null},"properties":{"id":{"type":"string","description":"Unique ID of the wallet. This will be the primary identifier when using the wallet in the future.","isRequired":true,"uniqueKey":"current_resource_data.id","typeLabel":"string"},"address":{"type":"string","description":"Address of the wallet.","isRequired":true,"uniqueKey":"current_resource_data.address","typeLabel":"string"},"created_at":{"type":"number","description":"Unix timestamp of when the wallet was created in milliseconds.","isRequired":true,"uniqueKey":"current_resource_data.created_at","typeLabel":"number"},"chain_type":{"type":"string","enum":["ethereum","solana","cosmos","stellar","sui","aptos","movement","tron","bitcoin-segwit","bitcoin-taproot","pearl","near","ton","starknet","xrpl","canton","spark"],"title":"WalletChainType","description":"The wallet chain types.","x-stainless-model":"wallets.wallet_chain_type","isRequired":true,"uniqueKey":"current_resource_data.chain_type","typeLabel":"enum\u003cstring>"},"policy_ids":{"type":"array","items":{"type":"string","uniqueKey":"current_resource_data.policy_ids.items.[INDEX]","typeLabel":"string"},"description":"List of policy IDs for policies that are enforced on the wallet.","isRequired":true,"uniqueKey":"current_resource_data.policy_ids","typeLabel":"string[]"},"owner_id":{"oneOf":[{"type":"string","format":"cuid2","description":"The key quorum ID of the owner of the wallet.","isRequired":true,"uniqueKey":"current_resource_data.owner_id.oneOf.0","typeLabel":"string\u003ccuid2>"},{"type":"null","format":"cuid2","description":"The key quorum ID of the owner of the wallet.","isRequired":true,"uniqueKey":"current_resource_data.owner_id.oneOf.1","typeLabel":"null"}],"isRequired":true,"uniqueKey":"current_resource_data.owner_id","typeLabel":"string\u003ccuid2> | null"},"additional_signers":{"type":"array","items":{"type":"object","properties":{"signer_id":{"type":"string","format":"cuid2","title":"KeyQuorumId","description":"A unique identifier for a key quorum.","x-stainless-model":"shared.key_quorum_id","isRequired":true,"uniqueKey":"current_resource_data.additional_signers.items.[INDEX].signer_id","typeLabel":"string\u003ccuid2>"},"override_policy_ids":{"type":"array","items":{"type":"string","minLength":24,"maxLength":24,"format":"cuid2","title":"PolicyId","description":"A unique identifier for a policy.","x-stainless-model":"shared.policy_id","uniqueKey":"current_resource_data.additional_signers.items.[INDEX].override_policy_ids.items.[INDEX]","typeLabel":"string\u003ccuid2>"},"maxItems":1,"title":"PolicyInput","description":"An optional list of up to one policy ID to enforce on the wallet.","x-stainless-model":"wallets.policy_input","uniqueKey":"current_resource_data.additional_signers.items.[INDEX].override_policy_ids","typeLabel":"string\u003ccuid2>[]"}},"required":["signer_id"],"additionalProperties":false,"title":"WalletAdditionalSignerItem","description":"A single additional signer on a wallet, with an optional policy override.","x-stainless-model":"wallets.wallet_additional_signer_item","uniqueKey":"current_resource_data.additional_signers.items.[INDEX]","typeLabel":"WalletAdditionalSignerItem · object"},"title":"WalletAdditionalSigner","description":"Additional signers for the wallet.","x-stainless-model":"wallets.wallet_additional_signer","isRequired":true,"uniqueKey":"current_resource_data.additional_signers","typeLabel":"WalletAdditionalSignerItem · object[]"},"exported_at":{"oneOf":[{"type":"number","description":"Unix timestamp of when the wallet was exported in milliseconds, if the wallet was exported.","isRequired":true,"uniqueKey":"current_resource_data.exported_at.oneOf.0","typeLabel":"number"},{"type":"null","description":"Unix timestamp of when the wallet was exported in milliseconds, if the wallet was exported.","isRequired":true,"uniqueKey":"current_resource_data.exported_at.oneOf.1","typeLabel":"null"}],"isRequired":true,"uniqueKey":"current_resource_data.exported_at","typeLabel":"number | null"},"imported_at":{"oneOf":[{"type":"number","description":"Unix timestamp of when the wallet was imported in milliseconds, if the wallet was imported.","isRequired":true,"uniqueKey":"current_resource_data.imported_at.oneOf.0","typeLabel":"number"},{"type":"null","description":"Unix timestamp of when the wallet was imported in milliseconds, if the wallet was imported.","isRequired":true,"uniqueKey":"current_resource_data.imported_at.oneOf.1","typeLabel":"null"}],"isRequired":true,"uniqueKey":"current_resource_data.imported_at","typeLabel":"number | null"},"display_name":{"type":"string","description":"A human-readable label for the wallet.","uniqueKey":"current_resource_data.display_name","typeLabel":"string"},"external_id":{"type":"string","maxLength":64,"pattern":"^[a-zA-Z0-9_-]+$","description":"A customer-provided identifier for mapping to external systems. URL-safe characters only ([a-zA-Z0-9_-]), max 64 chars. Write-once: cannot be changed once set.","uniqueKey":"current_resource_data.external_id","typeLabel":"string"},"public_key":{"type":"string","description":"The compressed, raw public key for the wallet along the chain cryptographic curve.","uniqueKey":"current_resource_data.public_key","typeLabel":"string"},"parent_wallet_id":{"oneOf":[{"type":"string","description":"ID of the HD root wallet this wallet was derived from, or null if it was not derived from another wallet.","uniqueKey":"current_resource_data.parent_wallet_id.oneOf.0","typeLabel":"string"},{"type":"null","description":"ID of the HD root wallet this wallet was derived from, or null if it was not derived from another wallet.","uniqueKey":"current_resource_data.parent_wallet_id.oneOf.1","typeLabel":"null"}],"uniqueKey":"current_resource_data.parent_wallet_id","typeLabel":"string | null"},"entity":{"oneOf":[{"type":"object","title":"WalletEntity","description":"The entity the wallet is attributed to.","required":["id","type"],"x-stainless-model":"wallets.wallet_entity","example":{"id":"jorpjo4rfxj62nx1itt8y1zt","type":"user"},"properties":{"id":{"type":"string","minLength":1,"title":"EntityId","description":"A Privy entity ID.","example":"jorpjo4rfxj62nx1itt8y1zt","x-stainless-model":"wallets.entity_id","isRequired":true,"uniqueKey":"current_resource_data.entity.oneOf.0.id","typeLabel":"string"},"type":{"type":"string","enum":["user","organization"],"title":"WalletEntityType","description":"The type of entity a wallet is attributed to.","example":"user","x-stainless-model":"wallets.wallet_entity_type","isRequired":true,"uniqueKey":"current_resource_data.entity.oneOf.0.type","typeLabel":"enum\u003cstring>"}},"additionalProperties":false,"uniqueKey":"current_resource_data.entity.oneOf.0","typeLabel":"WalletEntity · object"},{"type":"null","description":"The entity the wallet is attributed to.","uniqueKey":"current_resource_data.entity.oneOf.1","typeLabel":"null"}],"uniqueKey":"current_resource_data.entity","typeLabel":"WalletEntity · object | null"},"authorization_threshold":{"type":"number","description":"The number of keys that must sign for an action to be valid.","uniqueKey":"current_resource_data.authorization_threshold","typeLabel":"number"},"automations":{"type":"array","items":{"type":"object","properties":{"id":{"type":"string","description":"ID of the automation.","isRequired":true,"uniqueKey":"current_resource_data.automations.items.[INDEX].id","typeLabel":"string"},"enabled":{"type":"boolean","description":"Whether this attachment is currently active — true only if both the attachment and the underlying automation are enabled.","isRequired":true,"uniqueKey":"current_resource_data.automations.items.[INDEX].enabled","typeLabel":"boolean"}},"required":["id","enabled"],"additionalProperties":false,"title":"AttachedWalletAutomation","description":"A summary of an automation attached to a wallet.","example":{"id":"id2tptkqrxd39qo9j423etij","enabled":true},"x-stainless-model":"wallets.attached_wallet_automation","uniqueKey":"current_resource_data.automations.items.[INDEX]","typeLabel":"AttachedWalletAutomation · object"},"description":"Automations attached to the wallet, including disabled ones.","uniqueKey":"current_resource_data.automations","typeLabel":"AttachedWalletAutomation · object[]"},"archived_at":{"oneOf":[{"type":"number","default":null,"description":"Unix timestamp of when the wallet was archived in milliseconds, or null if the wallet is active.","uniqueKey":"current_resource_data.archived_at.oneOf.0","typeLabel":"number"},{"type":"null","default":null,"description":"Unix timestamp of when the wallet was archived in milliseconds, or null if the wallet is active.","uniqueKey":"current_resource_data.archived_at.oneOf.1","typeLabel":"null"}],"uniqueKey":"current_resource_data.archived_at","typeLabel":"number | null"},"chain":{"type":"string","title":"CustodialWalletChain","description":"The chain of this wallet, only present for custodial wallets.","enum":["base","solana","tempo"],"x-stainless-model":"wallets.custodial_wallet_chain","example":"tempo","uniqueKey":"current_resource_data.chain","typeLabel":"enum\u003cstring>"},"custody":{"type":"object","properties":{"provider":{"type":"string","description":"The custodian responsible for the wallet.","isRequired":true,"uniqueKey":"current_resource_data.custody.provider","typeLabel":"string"},"provider_user_id":{"type":"string","description":"The resource ID of the beneficiary of the custodial wallet.","isRequired":true,"uniqueKey":"current_resource_data.custody.provider_user_id","typeLabel":"string"}},"required":["provider","provider_user_id"],"title":"WalletCustodian","description":"Information about the custodian managing this wallet.","x-stainless-model":"wallets.wallet_custodian","uniqueKey":"current_resource_data.custody","typeLabel":"WalletCustodian · object"}},"uniqueKey":"current_resource_data","typeLabel":"Wallet · object"},"action_result":{"type":"object","title":"BaseActionResult","description":"Result of wallet update execution (only present if status is 'executed' or 'failed')","required":["response_body","prior_state","status_code","executed_at"],"x-stainless-model":"intents.base_action_result","properties":{"status_code":{"type":"number","description":"HTTP status code from the action execution","isRequired":true,"uniqueKey":"action_result.status_code","typeLabel":"number"},"executed_at":{"type":"number","description":"Unix timestamp when the action was executed","isRequired":true,"uniqueKey":"action_result.executed_at","typeLabel":"number"},"response_body":{"type":"object","properties":{"id":{"type":"string","description":"Unique ID of the wallet. This will be the primary identifier when using the wallet in the future.","isRequired":true,"uniqueKey":"action_result.response_body.id","typeLabel":"string"},"address":{"type":"string","description":"Address of the wallet.","isRequired":true,"uniqueKey":"action_result.response_body.address","typeLabel":"string"},"created_at":{"type":"number","description":"Unix timestamp of when the wallet was created in milliseconds.","isRequired":true,"uniqueKey":"action_result.response_body.created_at","typeLabel":"number"},"chain_type":{"type":"string","enum":["ethereum","solana","cosmos","stellar","sui","aptos","movement","tron","bitcoin-segwit","bitcoin-taproot","pearl","near","ton","starknet","xrpl","canton","spark"],"title":"WalletChainType","description":"The wallet chain types.","x-stainless-model":"wallets.wallet_chain_type","isRequired":true,"uniqueKey":"action_result.response_body.chain_type","typeLabel":"enum\u003cstring>"},"policy_ids":{"type":"array","items":{"type":"string","uniqueKey":"action_result.response_body.policy_ids.items.[INDEX]","typeLabel":"string"},"description":"List of policy IDs for policies that are enforced on the wallet.","isRequired":true,"uniqueKey":"action_result.response_body.policy_ids","typeLabel":"string[]"},"owner_id":{"oneOf":[{"type":"string","format":"cuid2","description":"The key quorum ID of the owner of the wallet.","isRequired":true,"uniqueKey":"action_result.response_body.owner_id.oneOf.0","typeLabel":"string\u003ccuid2>"},{"type":"null","format":"cuid2","description":"The key quorum ID of the owner of the wallet.","isRequired":true,"uniqueKey":"action_result.response_body.owner_id.oneOf.1","typeLabel":"null"}],"isRequired":true,"uniqueKey":"action_result.response_body.owner_id","typeLabel":"string\u003ccuid2> | null"},"additional_signers":{"type":"array","items":{"type":"object","properties":{"signer_id":{"type":"string","format":"cuid2","title":"KeyQuorumId","description":"A unique identifier for a key quorum.","x-stainless-model":"shared.key_quorum_id","isRequired":true,"uniqueKey":"action_result.response_body.additional_signers.items.[INDEX].signer_id","typeLabel":"string\u003ccuid2>"},"override_policy_ids":{"type":"array","items":{"type":"string","minLength":24,"maxLength":24,"format":"cuid2","title":"PolicyId","description":"A unique identifier for a policy.","x-stainless-model":"shared.policy_id","uniqueKey":"action_result.response_body.additional_signers.items.[INDEX].override_policy_ids.items.[INDEX]","typeLabel":"string\u003ccuid2>"},"maxItems":1,"title":"PolicyInput","description":"An optional list of up to one policy ID to enforce on the wallet.","x-stainless-model":"wallets.policy_input","uniqueKey":"action_result.response_body.additional_signers.items.[INDEX].override_policy_ids","typeLabel":"string\u003ccuid2>[]"}},"required":["signer_id"],"additionalProperties":false,"title":"WalletAdditionalSignerItem","description":"A single additional signer on a wallet, with an optional policy override.","x-stainless-model":"wallets.wallet_additional_signer_item","uniqueKey":"action_result.response_body.additional_signers.items.[INDEX]","typeLabel":"WalletAdditionalSignerItem · object"},"title":"WalletAdditionalSigner","description":"Additional signers for the wallet.","x-stainless-model":"wallets.wallet_additional_signer","isRequired":true,"uniqueKey":"action_result.response_body.additional_signers","typeLabel":"WalletAdditionalSignerItem · object[]"},"exported_at":{"oneOf":[{"type":"number","description":"Unix timestamp of when the wallet was exported in milliseconds, if the wallet was exported.","isRequired":true,"uniqueKey":"action_result.response_body.exported_at.oneOf.0","typeLabel":"number"},{"type":"null","description":"Unix timestamp of when the wallet was exported in milliseconds, if the wallet was exported.","isRequired":true,"uniqueKey":"action_result.response_body.exported_at.oneOf.1","typeLabel":"null"}],"isRequired":true,"uniqueKey":"action_result.response_body.exported_at","typeLabel":"number | null"},"imported_at":{"oneOf":[{"type":"number","description":"Unix timestamp of when the wallet was imported in milliseconds, if the wallet was imported.","isRequired":true,"uniqueKey":"action_result.response_body.imported_at.oneOf.0","typeLabel":"number"},{"type":"null","description":"Unix timestamp of when the wallet was imported in milliseconds, if the wallet was imported.","isRequired":true,"uniqueKey":"action_result.response_body.imported_at.oneOf.1","typeLabel":"null"}],"isRequired":true,"uniqueKey":"action_result.response_body.imported_at","typeLabel":"number | null"},"display_name":{"type":"string","description":"A human-readable label for the wallet.","uniqueKey":"action_result.response_body.display_name","typeLabel":"string"},"external_id":{"type":"string","maxLength":64,"pattern":"^[a-zA-Z0-9_-]+$","description":"A customer-provided identifier for mapping to external systems. URL-safe characters only ([a-zA-Z0-9_-]), max 64 chars. Write-once: cannot be changed once set.","uniqueKey":"action_result.response_body.external_id","typeLabel":"string"},"public_key":{"type":"string","description":"The compressed, raw public key for the wallet along the chain cryptographic curve.","uniqueKey":"action_result.response_body.public_key","typeLabel":"string"},"parent_wallet_id":{"oneOf":[{"type":"string","description":"ID of the HD root wallet this wallet was derived from, or null if it was not derived from another wallet.","uniqueKey":"action_result.response_body.parent_wallet_id.oneOf.0","typeLabel":"string"},{"type":"null","description":"ID of the HD root wallet this wallet was derived from, or null if it was not derived from another wallet.","uniqueKey":"action_result.response_body.parent_wallet_id.oneOf.1","typeLabel":"null"}],"uniqueKey":"action_result.response_body.parent_wallet_id","typeLabel":"string | null"},"entity":{"oneOf":[{"type":"object","title":"WalletEntity","description":"The entity the wallet is attributed to.","required":["id","type"],"x-stainless-model":"wallets.wallet_entity","example":{"id":"jorpjo4rfxj62nx1itt8y1zt","type":"user"},"properties":{"id":{"type":"string","minLength":1,"title":"EntityId","description":"A Privy entity ID.","example":"jorpjo4rfxj62nx1itt8y1zt","x-stainless-model":"wallets.entity_id","isRequired":true,"uniqueKey":"action_result.response_body.entity.oneOf.0.id","typeLabel":"string"},"type":{"type":"string","enum":["user","organization"],"title":"WalletEntityType","description":"The type of entity a wallet is attributed to.","example":"user","x-stainless-model":"wallets.wallet_entity_type","isRequired":true,"uniqueKey":"action_result.response_body.entity.oneOf.0.type","typeLabel":"enum\u003cstring>"}},"additionalProperties":false,"uniqueKey":"action_result.response_body.entity.oneOf.0","typeLabel":"WalletEntity · object"},{"type":"null","description":"The entity the wallet is attributed to.","uniqueKey":"action_result.response_body.entity.oneOf.1","typeLabel":"null"}],"uniqueKey":"action_result.response_body.entity","typeLabel":"WalletEntity · object | null"},"authorization_threshold":{"type":"number","description":"The number of keys that must sign for an action to be valid.","uniqueKey":"action_result.response_body.authorization_threshold","typeLabel":"number"},"automations":{"type":"array","items":{"type":"object","properties":{"id":{"type":"string","description":"ID of the automation.","isRequired":true,"uniqueKey":"action_result.response_body.automations.items.[INDEX].id","typeLabel":"string"},"enabled":{"type":"boolean","description":"Whether this attachment is currently active — true only if both the attachment and the underlying automation are enabled.","isRequired":true,"uniqueKey":"action_result.response_body.automations.items.[INDEX].enabled","typeLabel":"boolean"}},"required":["id","enabled"],"additionalProperties":false,"title":"AttachedWalletAutomation","description":"A summary of an automation attached to a wallet.","example":{"id":"id2tptkqrxd39qo9j423etij","enabled":true},"x-stainless-model":"wallets.attached_wallet_automation","uniqueKey":"action_result.response_body.automations.items.[INDEX]","typeLabel":"AttachedWalletAutomation · object"},"description":"Automations attached to the wallet, including disabled ones.","uniqueKey":"action_result.response_body.automations","typeLabel":"AttachedWalletAutomation · object[]"},"archived_at":{"oneOf":[{"type":"number","default":null,"description":"Unix timestamp of when the wallet was archived in milliseconds, or null if the wallet is active.","uniqueKey":"action_result.response_body.archived_at.oneOf.0","typeLabel":"number"},{"type":"null","default":null,"description":"Unix timestamp of when the wallet was archived in milliseconds, or null if the wallet is active.","uniqueKey":"action_result.response_body.archived_at.oneOf.1","typeLabel":"null"}],"uniqueKey":"action_result.response_body.archived_at","typeLabel":"number | null"},"chain":{"type":"string","title":"CustodialWalletChain","description":"The chain of this wallet, only present for custodial wallets.","enum":["base","solana","tempo"],"x-stainless-model":"wallets.custodial_wallet_chain","example":"tempo","uniqueKey":"action_result.response_body.chain","typeLabel":"enum\u003cstring>"},"custody":{"type":"object","properties":{"provider":{"type":"string","description":"The custodian responsible for the wallet.","isRequired":true,"uniqueKey":"action_result.response_body.custody.provider","typeLabel":"string"},"provider_user_id":{"type":"string","description":"The resource ID of the beneficiary of the custodial wallet.","isRequired":true,"uniqueKey":"action_result.response_body.custody.provider_user_id","typeLabel":"string"}},"required":["provider","provider_user_id"],"title":"WalletCustodian","description":"Information about the custodian managing this wallet.","x-stainless-model":"wallets.wallet_custodian","uniqueKey":"action_result.response_body.custody","typeLabel":"WalletCustodian · object"}},"required":["id","address","created_at","chain_type","policy_ids","owner_id","additional_signers","exported_at","imported_at"],"title":"Wallet","description":"A wallet managed by Privy's wallet infrastructure.","example":{"id":"id2tptkqrxd39qo9j423etij","address":"0xF1DBff66C993EE895C8cb176c30b07A559d76496","display_name":"Treasury","external_id":"my-order-123","chain_type":"ethereum","policy_ids":[],"additional_signers":[],"owner_id":"rkiz0ivz254drv1xw982v3jq","parent_wallet_id":null,"entity":{"id":"jorpjo4rfxj62nx1itt8y1zt","type":"user"},"created_at":1741834854578,"exported_at":null,"imported_at":null,"archived_at":null},"x-stainless-model":"wallets.wallet","isRequired":true,"uniqueKey":"action_result.response_body","typeLabel":"Wallet · object"},"prior_state":{"type":"object","title":"Wallet","description":"State of the wallet immediately before execution","required":["id","address","created_at","chain_type","policy_ids","owner_id","additional_signers","exported_at","imported_at"],"x-stainless-model":"wallets.wallet","example":{"id":"id2tptkqrxd39qo9j423etij","address":"0xF1DBff66C993EE895C8cb176c30b07A559d76496","display_name":"Treasury","external_id":"my-order-123","chain_type":"ethereum","policy_ids":[],"additional_signers":[],"owner_id":"rkiz0ivz254drv1xw982v3jq","parent_wallet_id":null,"entity":{"id":"jorpjo4rfxj62nx1itt8y1zt","type":"user"},"created_at":1741834854578,"exported_at":null,"imported_at":null,"archived_at":null},"properties":{"id":{"type":"string","description":"Unique ID of the wallet. This will be the primary identifier when using the wallet in the future.","isRequired":true,"uniqueKey":"action_result.prior_state.id","typeLabel":"string"},"address":{"type":"string","description":"Address of the wallet.","isRequired":true,"uniqueKey":"action_result.prior_state.address","typeLabel":"string"},"created_at":{"type":"number","description":"Unix timestamp of when the wallet was created in milliseconds.","isRequired":true,"uniqueKey":"action_result.prior_state.created_at","typeLabel":"number"},"chain_type":{"type":"string","enum":["ethereum","solana","cosmos","stellar","sui","aptos","movement","tron","bitcoin-segwit","bitcoin-taproot","pearl","near","ton","starknet","xrpl","canton","spark"],"title":"WalletChainType","description":"The wallet chain types.","x-stainless-model":"wallets.wallet_chain_type","isRequired":true,"uniqueKey":"action_result.prior_state.chain_type","typeLabel":"enum\u003cstring>"},"policy_ids":{"type":"array","items":{"type":"string","uniqueKey":"action_result.prior_state.policy_ids.items.[INDEX]","typeLabel":"string"},"description":"List of policy IDs for policies that are enforced on the wallet.","isRequired":true,"uniqueKey":"action_result.prior_state.policy_ids","typeLabel":"string[]"},"owner_id":{"oneOf":[{"type":"string","format":"cuid2","description":"The key quorum ID of the owner of the wallet.","isRequired":true,"uniqueKey":"action_result.prior_state.owner_id.oneOf.0","typeLabel":"string\u003ccuid2>"},{"type":"null","format":"cuid2","description":"The key quorum ID of the owner of the wallet.","isRequired":true,"uniqueKey":"action_result.prior_state.owner_id.oneOf.1","typeLabel":"null"}],"isRequired":true,"uniqueKey":"action_result.prior_state.owner_id","typeLabel":"string\u003ccuid2> | null"},"additional_signers":{"type":"array","items":{"type":"object","properties":{"signer_id":{"type":"string","format":"cuid2","title":"KeyQuorumId","description":"A unique identifier for a key quorum.","x-stainless-model":"shared.key_quorum_id","isRequired":true,"uniqueKey":"action_result.prior_state.additional_signers.items.[INDEX].signer_id","typeLabel":"string\u003ccuid2>"},"override_policy_ids":{"type":"array","items":{"type":"string","minLength":24,"maxLength":24,"format":"cuid2","title":"PolicyId","description":"A unique identifier for a policy.","x-stainless-model":"shared.policy_id","uniqueKey":"action_result.prior_state.additional_signers.items.[INDEX].override_policy_ids.items.[INDEX]","typeLabel":"string\u003ccuid2>"},"maxItems":1,"title":"PolicyInput","description":"An optional list of up to one policy ID to enforce on the wallet.","x-stainless-model":"wallets.policy_input","uniqueKey":"action_result.prior_state.additional_signers.items.[INDEX].override_policy_ids","typeLabel":"string\u003ccuid2>[]"}},"required":["signer_id"],"additionalProperties":false,"title":"WalletAdditionalSignerItem","description":"A single additional signer on a wallet, with an optional policy override.","x-stainless-model":"wallets.wallet_additional_signer_item","uniqueKey":"action_result.prior_state.additional_signers.items.[INDEX]","typeLabel":"WalletAdditionalSignerItem · object"},"title":"WalletAdditionalSigner","description":"Additional signers for the wallet.","x-stainless-model":"wallets.wallet_additional_signer","isRequired":true,"uniqueKey":"action_result.prior_state.additional_signers","typeLabel":"WalletAdditionalSignerItem · object[]"},"exported_at":{"oneOf":[{"type":"number","description":"Unix timestamp of when the wallet was exported in milliseconds, if the wallet was exported.","isRequired":true,"uniqueKey":"action_result.prior_state.exported_at.oneOf.0","typeLabel":"number"},{"type":"null","description":"Unix timestamp of when the wallet was exported in milliseconds, if the wallet was exported.","isRequired":true,"uniqueKey":"action_result.prior_state.exported_at.oneOf.1","typeLabel":"null"}],"isRequired":true,"uniqueKey":"action_result.prior_state.exported_at","typeLabel":"number | null"},"imported_at":{"oneOf":[{"type":"number","description":"Unix timestamp of when the wallet was imported in milliseconds, if the wallet was imported.","isRequired":true,"uniqueKey":"action_result.prior_state.imported_at.oneOf.0","typeLabel":"number"},{"type":"null","description":"Unix timestamp of when the wallet was imported in milliseconds, if the wallet was imported.","isRequired":true,"uniqueKey":"action_result.prior_state.imported_at.oneOf.1","typeLabel":"null"}],"isRequired":true,"uniqueKey":"action_result.prior_state.imported_at","typeLabel":"number | null"},"display_name":{"type":"string","description":"A human-readable label for the wallet.","uniqueKey":"action_result.prior_state.display_name","typeLabel":"string"},"external_id":{"type":"string","maxLength":64,"pattern":"^[a-zA-Z0-9_-]+$","description":"A customer-provided identifier for mapping to external systems. URL-safe characters only ([a-zA-Z0-9_-]), max 64 chars. Write-once: cannot be changed once set.","uniqueKey":"action_result.prior_state.external_id","typeLabel":"string"},"public_key":{"type":"string","description":"The compressed, raw public key for the wallet along the chain cryptographic curve.","uniqueKey":"action_result.prior_state.public_key","typeLabel":"string"},"parent_wallet_id":{"oneOf":[{"type":"string","description":"ID of the HD root wallet this wallet was derived from, or null if it was not derived from another wallet.","uniqueKey":"action_result.prior_state.parent_wallet_id.oneOf.0","typeLabel":"string"},{"type":"null","description":"ID of the HD root wallet this wallet was derived from, or null if it was not derived from another wallet.","uniqueKey":"action_result.prior_state.parent_wallet_id.oneOf.1","typeLabel":"null"}],"uniqueKey":"action_result.prior_state.parent_wallet_id","typeLabel":"string | null"},"entity":{"oneOf":[{"type":"object","title":"WalletEntity","description":"The entity the wallet is attributed to.","required":["id","type"],"x-stainless-model":"wallets.wallet_entity","example":{"id":"jorpjo4rfxj62nx1itt8y1zt","type":"user"},"properties":{"id":{"type":"string","minLength":1,"title":"EntityId","description":"A Privy entity ID.","example":"jorpjo4rfxj62nx1itt8y1zt","x-stainless-model":"wallets.entity_id","isRequired":true,"uniqueKey":"action_result.prior_state.entity.oneOf.0.id","typeLabel":"string"},"type":{"type":"string","enum":["user","organization"],"title":"WalletEntityType","description":"The type of entity a wallet is attributed to.","example":"user","x-stainless-model":"wallets.wallet_entity_type","isRequired":true,"uniqueKey":"action_result.prior_state.entity.oneOf.0.type","typeLabel":"enum\u003cstring>"}},"additionalProperties":false,"uniqueKey":"action_result.prior_state.entity.oneOf.0","typeLabel":"WalletEntity · object"},{"type":"null","description":"The entity the wallet is attributed to.","uniqueKey":"action_result.prior_state.entity.oneOf.1","typeLabel":"null"}],"uniqueKey":"action_result.prior_state.entity","typeLabel":"WalletEntity · object | null"},"authorization_threshold":{"type":"number","description":"The number of keys that must sign for an action to be valid.","uniqueKey":"action_result.prior_state.authorization_threshold","typeLabel":"number"},"automations":{"type":"array","items":{"type":"object","properties":{"id":{"type":"string","description":"ID of the automation.","isRequired":true,"uniqueKey":"action_result.prior_state.automations.items.[INDEX].id","typeLabel":"string"},"enabled":{"type":"boolean","description":"Whether this attachment is currently active — true only if both the attachment and the underlying automation are enabled.","isRequired":true,"uniqueKey":"action_result.prior_state.automations.items.[INDEX].enabled","typeLabel":"boolean"}},"required":["id","enabled"],"additionalProperties":false,"title":"AttachedWalletAutomation","description":"A summary of an automation attached to a wallet.","example":{"id":"id2tptkqrxd39qo9j423etij","enabled":true},"x-stainless-model":"wallets.attached_wallet_automation","uniqueKey":"action_result.prior_state.automations.items.[INDEX]","typeLabel":"AttachedWalletAutomation · object"},"description":"Automations attached to the wallet, including disabled ones.","uniqueKey":"action_result.prior_state.automations","typeLabel":"AttachedWalletAutomation · object[]"},"archived_at":{"oneOf":[{"type":"number","default":null,"description":"Unix timestamp of when the wallet was archived in milliseconds, or null if the wallet is active.","uniqueKey":"action_result.prior_state.archived_at.oneOf.0","typeLabel":"number"},{"type":"null","default":null,"description":"Unix timestamp of when the wallet was archived in milliseconds, or null if the wallet is active.","uniqueKey":"action_result.prior_state.archived_at.oneOf.1","typeLabel":"null"}],"uniqueKey":"action_result.prior_state.archived_at","typeLabel":"number | null"},"chain":{"type":"string","title":"CustodialWalletChain","description":"The chain of this wallet, only present for custodial wallets.","enum":["base","solana","tempo"],"x-stainless-model":"wallets.custodial_wallet_chain","example":"tempo","uniqueKey":"action_result.prior_state.chain","typeLabel":"enum\u003cstring>"},"custody":{"type":"object","properties":{"provider":{"type":"string","description":"The custodian responsible for the wallet.","isRequired":true,"uniqueKey":"action_result.prior_state.custody.provider","typeLabel":"string"},"provider_user_id":{"type":"string","description":"The resource ID of the beneficiary of the custodial wallet.","isRequired":true,"uniqueKey":"action_result.prior_state.custody.provider_user_id","typeLabel":"string"}},"required":["provider","provider_user_id"],"title":"WalletCustodian","description":"Information about the custodian managing this wallet.","x-stainless-model":"wallets.wallet_custodian","uniqueKey":"action_result.prior_state.custody","typeLabel":"WalletCustodian · object"}},"isRequired":true,"uniqueKey":"action_result.prior_state","typeLabel":"Wallet · object"},"authorized_by_display_name":{"type":"string","description":"Display name of the key quorum that authorized execution","uniqueKey":"action_result.authorized_by_display_name","typeLabel":"string"},"authorized_by_id":{"type":"string","description":"ID of the key quorum that authorized execution","uniqueKey":"action_result.authorized_by_id","typeLabel":"string"}},"uniqueKey":"action_result","typeLabel":"BaseActionResult · object"}},"uniqueKey":"","typeLabel":"WalletIntentResponse · object"},"examples":{"Example":{"title":"Example","value":{"intent_id":"\u003cstring>","created_by_display_name":"\u003cstring>","created_at":123,"resource_id":"\u003cstring>","authorization_details":[{"members":[{"type":"user","user_id":"\u003cstring>","signed_at":123}],"threshold":123,"display_name":"\u003cstring>"}],"status":"pending","custom_expiry":true,"expires_at":123,"intent_type":"WALLET","request_details":{"method":"PATCH","url":"\u003cstring>","body":{"display_name":"\u003cstring>","external_id":"\u003cstring>","policy_ids":["\u003cstring>"],"additional_signers":[{"signer_id":"\u003cstring>","override_policy_ids":["\u003cstring>"]}],"owner":{"user_id":"\u003cstring>"},"owner_id":"\u003cstring>"}},"created_by_id":"\u003cstring>","rejected_at":123,"dismissed_at":123,"dismissal_reason":"\u003cstring>","current_resource_data":{"id":"id2tptkqrxd39qo9j423etij","address":"0xF1DBff66C993EE895C8cb176c30b07A559d76496","display_name":"Treasury","external_id":"my-order-123","chain_type":"ethereum","policy_ids":[],"additional_signers":[],"owner_id":"rkiz0ivz254drv1xw982v3jq","parent_wallet_id":null,"entity":{"id":"jorpjo4rfxj62nx1itt8y1zt","type":"user"},"created_at":1741834854578,"exported_at":null,"imported_at":null,"archived_at":null},"action_result":{"status_code":123,"executed_at":123,"response_body":{"id":"id2tptkqrxd39qo9j423etij","address":"0xF1DBff66C993EE895C8cb176c30b07A559d76496","display_name":"Treasury","external_id":"my-order-123","chain_type":"ethereum","policy_ids":[],"additional_signers":[],"owner_id":"rkiz0ivz254drv1xw982v3jq","parent_wallet_id":null,"entity":{"id":"jorpjo4rfxj62nx1itt8y1zt","type":"user"},"created_at":1741834854578,"exported_at":null,"imported_at":null,"archived_at":null},"prior_state":{"id":"id2tptkqrxd39qo9j423etij","address":"0xF1DBff66C993EE895C8cb176c30b07A559d76496","display_name":"Treasury","external_id":"my-order-123","chain_type":"ethereum","policy_ids":[],"additional_signers":[],"owner_id":"rkiz0ivz254drv1xw982v3jq","parent_wallet_id":null,"entity":{"id":"jorpjo4rfxj62nx1itt8y1zt","type":"user"},"created_at":1741834854578,"exported_at":null,"imported_at":null,"archived_at":null},"authorized_by_display_name":"\u003cstring>","authorized_by_id":"\u003cstring>"}}}},"exampleType":"generated"}},"exampleType":"generated"}},"security":{"399a8129-e3c5-447f-acb9-44b55e847110":{"appSecretAuth":{"type":"http","scheme":"basic","description":"Basic Auth header with your app ID as the username and your app secret as the password.","scopes":[],"schemeName":"appSecretAuth"}}},"servers":{"a0b377e2-c683-4532-8935-7e348c735b96":{"url":"https://api.privy.io"}},"processedSecurityOptions":[{"schemes":[{"scheme":{"type":"http","scheme":"basic","description":"Basic Auth header with your app ID as the username and your app secret as the password.","scopes":[],"schemeName":"appSecretAuth"},"schema":{"title":"Basic Auth","type":"object","description":"Basic Auth header with your app ID as the username and your app secret as the password.","isRequired":true,"properties":{"username":{"type":"string","uniqueKey":"username","isRequired":true,"typeLabel":"string","deprecated":false},"password":{"type":"string","uniqueKey":"password","isRequired":true,"typeLabel":"string","deprecated":false}},"additionalProperties":false,"deprecated":false},"schemeName":"appSecretAuth","name":"Authorization"}],"title":"appSecretAuth"}]},"originalFileLocation":"https://api.staging.privy.io/v1/openapi.json"},"subdomain":"privy-c2af3412","siteName":"Privy Docs","title":"Update wallet via intent – API reference","navMaps":{"firstHrefInVersion":{},"firstHrefInLanguage":{}},"lastModified":"2026-03-10T22:33:04.284Z","originalFileLocation":"api-reference/intents/update-wallet.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 an intent to update a wallet. The intent must be authorized by the wallet owner before it can be executed.\">\u003cmeta data-mint-head name=\"application-name\" content=\"Privy Docs\">\u003cmeta data-mint-head name=\"generator\" content=\"Mintlify\">\u003clink data-mint-head rel=\"icon\" type=\"image/png\" sizes=\"192x192\" href=\"/mintlify-assets/_mintlify/favicons/privy-c2af3412/bJgmnaRQwH8sO8y5/_generated/favicon/android-chrome-192x192.png\" media=\"(prefers-color-scheme: light)\">\u003clink data-mint-head rel=\"apple-touch-icon\" type=\"image/png\" sizes=\"180x180\" href=\"/mintlify-assets/_mintlify/favicons/privy-c2af3412/bJgmnaRQwH8sO8y5/_generated/favicon/apple-touch-icon.png\">\u003clink data-mint-head rel=\"icon\" type=\"image/png\" sizes=\"16x16\" href=\"/mintlify-assets/_mintlify/favicons/privy-c2af3412/bJgmnaRQwH8sO8y5/_generated/favicon/favicon-16x16.png\" media=\"(prefers-color-scheme: light)\">\u003clink data-mint-head rel=\"icon\" type=\"image/png\" sizes=\"32x32\" href=\"/mintlify-assets/_mintlify/favicons/privy-c2af3412/bJgmnaRQwH8sO8y5/_generated/favicon/favicon-32x32.png\" media=\"(prefers-color-scheme: light)\">\u003clink data-mint-head rel=\"shortcut icon\" type=\"image/x-icon\" href=\"/mintlify-assets/_mintlify/favicons/privy-c2af3412/bJgmnaRQwH8sO8y5/_generated/favicon/favicon.ico\" media=\"(prefers-color-scheme: light)\">\u003clink data-mint-head rel=\"icon\" type=\"image/png\" sizes=\"192x192\" href=\"/mintlify-assets/_mintlify/favicons/privy-c2af3412/bJgmnaRQwH8sO8y5/_generated/favicon-dark/android-chrome-192x192.png\" media=\"(prefers-color-scheme: dark)\">\u003clink data-mint-head rel=\"icon\" type=\"image/png\" sizes=\"16x16\" href=\"/mintlify-assets/_mintlify/favicons/privy-c2af3412/bJgmnaRQwH8sO8y5/_generated/favicon-dark/favicon-16x16.png\" media=\"(prefers-color-scheme: dark)\">\u003clink data-mint-head rel=\"icon\" type=\"image/png\" sizes=\"32x32\" href=\"/mintlify-assets/_mintlify/favicons/privy-c2af3412/bJgmnaRQwH8sO8y5/_generated/favicon-dark/favicon-32x32.png\" media=\"(prefers-color-scheme: dark)\">\u003clink data-mint-head rel=\"shortcut icon\" type=\"image/x-icon\" href=\"/mintlify-assets/_mintlify/favicons/privy-c2af3412/bJgmnaRQwH8sO8y5/_generated/favicon-dark/favicon.ico\" media=\"(prefers-color-scheme: dark)\">\u003cmeta data-mint-head property=\"og:title\" content=\"Update wallet via intent – API reference\">\u003cmeta data-mint-head property=\"og:description\" content=\"Create an intent to update a wallet. The intent must be authorized by the wallet owner before it can be executed.\">\u003cmeta data-mint-head property=\"og:site_name\" content=\"Privy Docs\">\u003cmeta data-mint-head property=\"og:url\" content=\"https://docs.privy.io/api-reference/intents/update-wallet\">\u003cmeta data-mint-head property=\"og:type\" content=\"website\">\u003cmeta data-mint-head property=\"og:image\" content=\"https://assets.privy.io/docs-og.png\">\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=\"Privy Docs\">\u003cmeta data-mint-head name=\"twitter:description\" content=\"Create an intent to update a wallet. The intent must be authorized by the wallet owner before it can be executed.\">\u003cmeta data-mint-head name=\"twitter:image\" content=\"https://assets.privy.io/docs-og.png\">\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=\"/mintlify-assets/_mintlify/favicons/privy-c2af3412/bJgmnaRQwH8sO8y5/_generated/favicon/browserconfig.xml\">\u003cmeta data-mint-head name=\"apple-mobile-web-app-title\" content=\"Privy Docs\">\u003cmeta data-mint-head name=\"msapplication-TileColor\" content=\"#010110\">\u003clink data-mint-head rel=\"canonical\" href=\"https://docs.privy.io/api-reference/intents/update-wallet\">\u003clink data-mint-head rel=\"alternate\" type=\"application/xml\" href=\"/sitemap.xml\">\u003clink data-mint-head rel=\"alternate\" type=\"text/markdown\" href=\"/api-reference/intents/update-wallet.md\">\u003cscript data-mint-head type=\"application/ld+json\">{\"@context\":\"https://schema.org\",\"@graph\":[{\"@type\":\"Organization\",\"@id\":\"https://www.privy.io/#organization\",\"name\":\"Privy\",\"url\":\"https://www.privy.io\",\"logo\":{\"@type\":\"ImageObject\",\"url\":\"https://assets.privy.io/docs-og.png\"},\"sameAs\":[\"https://x.com/privy_io\",\"https://github.com/privy-io\"]},{\"@type\":\"WebSite\",\"@id\":\"https://docs.privy.io#website\",\"name\":\"Privy Docs\",\"url\":\"https://docs.privy.io\",\"publisher\":{\"@id\":\"https://www.privy.io/#organization\"}},{\"@type\":\"WebPage\",\"@id\":\"https://docs.privy.io/api-reference/intents/update-wallet#webpage\",\"url\":\"https://docs.privy.io/api-reference/intents/update-wallet\",\"name\":\"Update wallet\",\"description\":\"Create an intent to update a wallet. The intent must be authorized by the wallet owner before it can be executed.\",\"dateModified\":\"2026-03-10T22:33:04.284Z\",\"isPartOf\":{\"@id\":\"https://docs.privy.io#website\"},\"breadcrumb\":{\"@id\":\"https://docs.privy.io/api-reference/intents/update-wallet#breadcrumb\"}},{\"@type\":\"BreadcrumbList\",\"@id\":\"https://docs.privy.io/api-reference/intents/update-wallet#breadcrumb\",\"itemListElement\":[{\"@type\":\"ListItem\",\"position\":1,\"name\":\"Intents\",\"item\":\"https://docs.privy.io/api-reference/intents/get\"},{\"@type\":\"ListItem\",\"position\":2,\"name\":\"Update wallet\",\"item\":\"https://docs.privy.io/api-reference/intents/update-wallet\"}]},{\"@type\":[\"TechArticle\",\"APIReference\"],\"@id\":\"https://docs.privy.io/api-reference/intents/update-wallet#apireference\",\"headline\":\"Update wallet\",\"name\":\"Update wallet\",\"description\":\"Create an intent to update a wallet. The intent must be authorized by the wallet owner before it can be executed.\",\"url\":\"https://docs.privy.io/api-reference/intents/update-wallet\",\"mainEntityOfPage\":{\"@id\":\"https://docs.privy.io/api-reference/intents/update-wallet#webpage\"},\"image\":\"https://assets.privy.io/docs-og.png\",\"dateModified\":\"2026-03-10T22:33:04.284Z\",\"publisher\":{\"@id\":\"https://www.privy.io/#organization\"},\"isPartOf\":{\"@id\":\"https://docs.privy.io#website\"}}]}\u003c/script>","agentPointerHref":"/api-reference/intents/update-wallet.md","siteName":"Privy Docs","nav":{"global":null,"tabs":[{"tab":"Basics","pages":[{"title":"Basics","href":"/basics/get-started/about"}]},{"tab":"Wallets","menu":[{"item":"Overview","pages":[{"title":"Overview","href":"/wallets/overview"}]},{"item":"Embedded wallets","pages":[{"title":"Embedded wallets","href":"/wallets/overview/embedded"}]},{"item":"Agent wallets","pages":[{"title":"Agent wallets","href":"/agent-wallets/overview"}]},{"item":"Organization wallets","pages":[{"title":"Organization wallets","href":"/organizations/overview"}]},{"item":"External wallets","pages":[{"title":"External wallets","href":"/wallets/connectors/overview"}]},{"item":"Signatures and transactions","pages":[{"title":"Signatures and transactions","href":"/wallets/signatures-and-transactions"}]},{"item":"Balances and webhooks","pages":[{"title":"Balances and webhooks","href":"/wallets/gas-and-asset-management/assets/overview"}]},{"item":"Gas and fee management","pages":[{"title":"Gas and fee management","href":"/wallets/gas-and-asset-management/gas/overview"}]}],"pages":[{"title":"Wallets","href":"/wallets/overview"}]},{"tab":"Financial flows","menu":[{"item":"Overview","pages":[{"title":"Overview","href":"/financial-flows/overview"}]},{"item":"Deposits","pages":[{"title":"Deposits","href":"/financial-flows/deposits/overview"}]},{"item":"Payouts","pages":[{"title":"Payouts","href":"/financial-flows/payouts/overview"}]},{"item":"Earn","pages":[{"title":"Earn","href":"/wallets/actions/earn/overview"}]},{"item":"Cards","pages":[{"title":"Cards","href":"/financial-flows/cards/overview"}]},{"item":"Trade","pages":[{"title":"Trade","href":"/wallets/actions/swap/overview"}]},{"item":"Monetization","pages":[{"title":"Monetization","href":"/financial-flows/monetization"}]},{"item":"Treasury management","pages":[{"title":"Treasury management","href":"/treasury-management/overview"}]},{"item":"Private transactions","pages":[{"title":"Private transactions","href":"/financial-flows/private-transactions"}]}],"pages":[{"title":"Financial flows","href":"/financial-flows/overview"}]},{"tab":"Controls and policies","menu":[{"item":"Controls","pages":[{"title":"Controls","href":"/controls/overview"}]},{"item":"Policies","pages":[{"title":"Policies","href":"/controls/policies/overview"}]},{"item":"Manual approvals","pages":[{"title":"Manual approvals","href":"/controls/dashboard/overview"}]}],"pages":[{"title":"Controls and policies","href":"/controls/overview"}]},{"tab":"Identity","menu":[{"item":"Authentication","pages":[{"title":"Authentication","href":"/authentication/overview"}]},{"item":"Users","pages":[{"title":"Users","href":"/user-management/users/overview"}]},{"item":"KYC and KYB","pages":[{"title":"KYC and KYB","href":"/kyc-kyb/overview"}]}],"pages":[{"title":"Identity","href":"/authentication/overview"}]},{"tab":"Security","pages":[{"title":"Security","href":"/security/overview"}]},{"tab":"Recipes","pages":[{"title":"Recipes","href":"/recipes/overview"}]},{"tab":"API reference","groups":[{"group":"Basics","pages":[{"title":"Introduction","href":"/api-reference/introduction"},{"title":"Authorization signatures","href":"/api-reference/authorization-signatures"},{"title":"Idempotency keys","href":"/api-reference/idempotency-keys"},{"title":"Request expiry","href":"/api-reference/request-expiry"},{"title":"Webhooks overview","sidebarTitle":"Webhooks","href":"/api-reference/webhooks/overview"},{"title":"Privy labs APIs","sidebarTitle":"Privy labs","href":"/api-reference/labs/overview"}]},{"group":"Wallets","pages":[{"group":"Wallets","pages":[{"title":"Create wallet","openapi":"post /v1/wallets","href":"/api-reference/wallets/create"},{"title":"Create wallets in batch","openapi":"post /v1/wallets/batch","href":"/api-reference/wallets/batch-create"},{"title":"Create custodial wallets","openapi":"post /v1/custodial_wallets","href":"/api-reference/wallets/custodial-wallets"},{"title":"Get wallet","openapi":"get /v1/wallets/{wallet_id}","href":"/api-reference/wallets/get"},{"title":"Get wallets","openapi":"get /v1/wallets","href":"/api-reference/wallets/get-all"},{"title":"Get wallet by address","openapi":"post /v1/wallets/address","href":"/api-reference/wallets/get-by-address"},{"title":"Update wallet","openapi":"patch /v1/wallets/{wallet_id}","href":"/api-reference/wallets/update"},{"title":"Assign wallet entity","openapi":"post /v1/wallets/{wallet_id}/entity","href":"/api-reference/wallets/entity"},{"title":"Archive wallet","openapi":"post /v1/wallets/{wallet_id}/archive","href":"/api-reference/wallets/archive"},{"title":"Get balance","openapi":"get /v1/wallets/{wallet_id}/balance","href":"/api-reference/wallets/get-balance"},{"title":"Get transactions","openapi":"get /v1/wallets/{wallet_id}/transactions","href":"/api-reference/wallets/get-transactions"},{"title":"Export wallet","openapi":"post /v1/wallets/{wallet_id}/export","href":"/api-reference/wallets/export"},{"group":"Import wallet","pages":[{"title":"Initialize import","openapi":"post /v1/wallets/import/init","href":"/api-reference/wallets/import/init"},{"title":"Submit import","openapi":"post /v1/wallets/import/submit","href":"/api-reference/wallets/import/submit"}]},{"title":"Authenticate","openapi":"post /v1/wallets/authenticate","href":"/api-reference/wallets/authenticate"},{"group":"Webhooks","pages":[{"openapi":"webhook wallet.archived","title":"Wallet archived","href":"/api-reference/webhooks/wallet/archived"},{"openapi":"webhook wallet.restored","title":"Wallet restored","href":"/api-reference/webhooks/wallet/restored"},{"openapi":"webhook wallet.funds_deposited","title":"Funds deposited","href":"/api-reference/webhooks/wallet/funds_deposited"},{"openapi":"webhook wallet.funds_withdrawn","title":"Funds withdrawn","href":"/api-reference/webhooks/wallet/funds_withdrawn"},{"openapi":"webhook wallet.private_key_export","title":"Private key export","href":"/api-reference/webhooks/wallet/private_key_export"},{"openapi":"webhook wallet.recovered","title":"Wallet recovered","href":"/api-reference/webhooks/wallet/recovered"},{"openapi":"webhook wallet.recovery_setup","title":"Wallet recovery setup","href":"/api-reference/webhooks/wallet/recovery_setup"}]}]},{"group":"Signatures and transactions","pages":[{"group":"Ethereum","pages":[{"title":"eth_sendTransaction","api":"post /v1/wallets/{wallet_id}/rpc","href":"/api-reference/wallets/ethereum/eth-send-transaction"},{"title":"wallet_sendCalls","api":"post /v1/wallets/{wallet_id}/rpc","href":"/api-reference/wallets/ethereum/wallet-send-calls"},{"title":"personal_sign","api":"post /v1/wallets/{wallet_id}/rpc","href":"/api-reference/wallets/ethereum/personal-sign"},{"title":"eth_signTransaction","api":"post /v1/wallets/{wallet_id}/rpc","href":"/api-reference/wallets/ethereum/eth-sign-transaction"},{"title":"eth_signTypedData_v4","api":"post /v1/wallets/{wallet_id}/rpc","href":"/api-reference/wallets/ethereum/eth-signtypeddata-v4"},{"title":"eth_signUserOperation","api":"post /v1/wallets/{wallet_id}/rpc","href":"/api-reference/wallets/ethereum/eth-sign-user-operation"},{"title":"eth_sign7702Authorization","api":"post /v1/wallets/{wallet_id}/rpc","href":"/api-reference/wallets/ethereum/eth-sign-7702-authorization"},{"title":"secp256k1_sign","api":"post /v1/wallets/{wallet_id}/rpc","href":"/api-reference/wallets/ethereum/secp256k1-sign"}]},{"group":"Solana","pages":[{"title":"signMessage","api":"post /v1/wallets/{wallet_id}/rpc","href":"/api-reference/wallets/solana/sign-message"},{"title":"signTransaction","api":"post /v1/wallets/{wallet_id}/rpc","href":"/api-reference/wallets/solana/sign-transaction"},{"title":"signAndSendTransaction","api":"post /v1/wallets/{wallet_id}/rpc","href":"/api-reference/wallets/solana/sign-and-send-transaction"}]},{"group":"Tempo","pages":[{"title":"eth_sendTransaction","api":"post /v1/wallets/{wallet_id}/rpc","href":"/api-reference/wallets/tempo/eth-send-transaction"},{"title":"eth_signTransaction","api":"post /v1/wallets/{wallet_id}/rpc","href":"/api-reference/wallets/tempo/eth-sign-transaction"}]},{"group":"Tron","pages":[{"title":"tron_sendTransaction","href":"/api-reference/wallets/tron/tron-send-transaction"},{"title":"tron_signTransaction","href":"/api-reference/wallets/tron/tron-sign-transaction"}]},{"group":"Spark BTC","pages":[{"title":"getBalance","api":"post /v1/wallets/{wallet_id}/rpc","href":"/api-reference/wallets/spark/get-balance"},{"title":"transfer","api":"post /v1/wallets/{wallet_id}/rpc","href":"/api-reference/wallets/spark/transfer"},{"title":"transferTokens","api":"post /v1/wallets/{wallet_id}/rpc","href":"/api-reference/wallets/spark/transfer-tokens"},{"title":"getStaticDepositAddress","api":"post /v1/wallets/{wallet_id}/rpc","href":"/api-reference/wallets/spark/get-static-deposit-address"},{"title":"claimStaticDeposit","api":"post /v1/wallets/{wallet_id}/rpc","href":"/api-reference/wallets/spark/claim-static-deposit"},{"title":"getClaimStaticDepositQuote","api":"post /v1/wallets/{wallet_id}/rpc","href":"/api-reference/wallets/spark/get-static-deposit-quote"},{"title":"createLightningInvoice","api":"post /v1/wallets/{wallet_id}/rpc","href":"/api-reference/wallets/spark/create-lightning-invoice"},{"title":"payLightningInvoice","api":"post /v1/wallets/{wallet_id}/rpc","href":"/api-reference/wallets/spark/pay-lightning-invoice"},{"title":"signMessageWithIdentityKey","api":"post /v1/wallets/{wallet_id}/rpc","href":"/api-reference/wallets/spark/sign-message-with-identity-key"},{"title":"getWithdrawalFeeQuote","api":"post /v1/wallets/{wallet_id}/rpc","href":"/api-reference/wallets/spark/get-withdrawal-fee-quote"},{"title":"withdraw","api":"post /v1/wallets/{wallet_id}/rpc","href":"/api-reference/wallets/spark/withdraw"}]},{"group":"Other chains","pages":[{"title":"Raw sign","openapi":"post /v1/wallets/{wallet_id}/raw_sign","href":"/api-reference/wallets/raw-sign"}]},{"group":"Transactions","pages":[{"title":"Get transaction","openapi":"get /v1/transactions/{transaction_id}","href":"/api-reference/transactions/get"},{"title":"Get transaction by external ID","openapi":"get /v1/transactions","href":"/api-reference/transactions/external-id"},{"title":"Get gas spend","openapi":"get /v1/apps/gas_spend","href":"/api-reference/transactions/gas-spend"},{"group":"Webhooks","pages":[{"openapi":"webhook transaction.broadcasted","title":"Transaction broadcasted","href":"/api-reference/webhooks/transaction/broadcasted"},{"openapi":"webhook transaction.confirmed","title":"Transaction confirmed","href":"/api-reference/webhooks/transaction/confirmed"},{"openapi":"webhook transaction.execution_reverted","title":"Transaction execution reverted","href":"/api-reference/webhooks/transaction/execution_reverted"},{"openapi":"webhook transaction.failed","title":"Transaction failed","href":"/api-reference/webhooks/transaction/failed"},{"openapi":"webhook transaction.provider_error","title":"Transaction provider error","href":"/api-reference/webhooks/transaction/provider_error"},{"openapi":"webhook transaction.replaced","title":"Transaction replaced","href":"/api-reference/webhooks/transaction/replaced"},{"openapi":"webhook transaction.still_pending","title":"Transaction still pending","href":"/api-reference/webhooks/transaction/still_pending"},{"openapi":"webhook user_operation.completed","title":"User operation completed","href":"/api-reference/webhooks/user-operation/completed"}]}]}]},{"group":"Deposits","pages":[{"group":"Fiat","pages":[{"title":"Create fiat deposit account","openapi":"post /v1/wallets/{wallet_id}/deposit_accounts/fiat","href":"/api-reference/fiat/deposit-accounts/create"},{"title":"List fiat deposit accounts","openapi":"get /v1/wallets/{wallet_id}/deposit_accounts/fiat","href":"/api-reference/fiat/deposit-accounts/list"},{"title":"Get fiat deposit account","openapi":"get /v1/wallets/{wallet_id}/deposit_accounts/fiat/{deposit_account_id}","href":"/api-reference/fiat/deposit-accounts/get"},{"title":"Update fiat deposit account","openapi":"patch /v1/wallets/{wallet_id}/deposit_accounts/fiat/{deposit_account_id}","href":"/api-reference/fiat/deposit-accounts/update"},{"group":"Webhooks","pages":[{"openapi":"webhook wallet.deposit_account.deposit_started","title":"Deposit started","href":"/api-reference/webhooks/deposit-account/deposit_started"},{"openapi":"webhook wallet.deposit_account.deposit_completed","title":"Deposit completed","href":"/api-reference/webhooks/deposit-account/deposit_completed"},{"openapi":"webhook wallet.deposit_account.deposit_failed","title":"Deposit failed","href":"/api-reference/webhooks/deposit-account/deposit_failed"}]}]},{"group":"Crypto","pages":[{"title":"Create crypto deposit account","openapi":"post /v1/wallets/{wallet_id}/deposit_accounts/crypto","href":"/api-reference/crypto-deposits/create"},{"title":"Quote crypto deposit account","openapi":"post /v1/deposit_accounts/crypto/quote","href":"/api-reference/crypto-deposits/quote"},{"title":"Get crypto deposit account order","openapi":"get /v1/wallets/{wallet_id}/deposit_accounts/crypto/orders/{order_id}","href":"/api-reference/crypto-deposits/get-order"},{"title":"Get next crypto deposit account order","openapi":"get /v1/wallets/{wallet_id}/deposit_accounts/crypto/next_order","href":"/api-reference/crypto-deposits/get-next-order"}]}]},{"group":"Payouts","pages":[{"group":"Fiat","pages":[{"title":"Create a payout","openapi":"post /v1/wallets/{wallet_id}/payout/fiat","href":"/api-reference/wallets/payout/create"},{"group":"External fiat accounts","pages":[{"group":"For users","pages":[{"title":"Create external fiat account","openapi":"post /v1/users/{user_id}/external_fiat_accounts","href":"/api-reference/fiat/external-fiat-accounts/create"},{"title":"List external fiat accounts","openapi":"get /v1/users/{user_id}/external_fiat_accounts","href":"/api-reference/fiat/external-fiat-accounts/list"},{"title":"Get external fiat account","openapi":"get /v1/users/{user_id}/external_fiat_accounts/{account_id}","href":"/api-reference/fiat/external-fiat-accounts/get"},{"title":"Delete external fiat account","openapi":"delete /v1/users/{user_id}/external_fiat_accounts/{account_id}","href":"/api-reference/fiat/external-fiat-accounts/delete"}]},{"group":"For organizations","pages":[{"title":"Create external fiat account","openapi":"post /v1/organizations/{organization_id}/external_fiat_accounts","href":"/api-reference/fiat/external-fiat-accounts/organizations/create"},{"title":"List external fiat accounts","openapi":"get /v1/organizations/{organization_id}/external_fiat_accounts","href":"/api-reference/fiat/external-fiat-accounts/organizations/list"},{"title":"Get external fiat account","openapi":"get /v1/organizations/{organization_id}/external_fiat_accounts/{account_id}","href":"/api-reference/fiat/external-fiat-accounts/organizations/get"},{"title":"Delete external fiat account","openapi":"delete /v1/organizations/{organization_id}/external_fiat_accounts/{account_id}","href":"/api-reference/fiat/external-fiat-accounts/organizations/delete"}]}]},{"group":"Webhooks","pages":[{"openapi":"webhook wallet_action.payout.created","title":"Payout created","href":"/api-reference/webhooks/wallet-action/payout/created"},{"openapi":"webhook wallet_action.payout.succeeded","title":"Payout succeeded","href":"/api-reference/webhooks/wallet-action/payout/succeeded"},{"openapi":"webhook wallet_action.payout.failed","title":"Payout failed","href":"/api-reference/webhooks/wallet-action/payout/failed"},{"openapi":"webhook wallet_action.payout.rejected","title":"Payout rejected","href":"/api-reference/webhooks/wallet-action/payout/rejected"}]}]},{"group":"Crypto","pages":[{"title":"Transfer","openapi":"post /v1/wallets/{wallet_id}/transfer","href":"/api-reference/wallets/transfer/index"},{"title":"Quote transfer fees","openapi":"post /v1/wallets/{wallet_id}/transfer/quote","href":"/api-reference/wallets/transfer/quote"},{"group":"Webhooks","pages":[{"openapi":"webhook wallet_action.transfer.created","title":"Transfer created","href":"/api-reference/webhooks/wallet-action/transfer/created"},{"openapi":"webhook wallet_action.transfer.succeeded","title":"Transfer succeeded","href":"/api-reference/webhooks/wallet-action/transfer/succeeded"},{"openapi":"webhook wallet_action.transfer.failed","title":"Transfer failed","href":"/api-reference/webhooks/wallet-action/transfer/failed"},{"openapi":"webhook wallet_action.transfer.rejected","title":"Transfer rejected","href":"/api-reference/webhooks/wallet-action/transfer/rejected"}]}]}]},{"group":"Swaps","pages":[{"title":"Get swap quote","openapi":"post /v1/wallets/{wallet_id}/swap/quote","href":"/api-reference/wallets/swap/quote"},{"title":"Swap tokens","openapi":"post /v1/wallets/{wallet_id}/swap","href":"/api-reference/wallets/swap/tokens"},{"group":"Webhooks","pages":[{"openapi":"webhook wallet_action.swap.created","title":"Swap created","href":"/api-reference/webhooks/wallet-action/swap/created"},{"openapi":"webhook wallet_action.swap.succeeded","title":"Swap succeeded","href":"/api-reference/webhooks/wallet-action/swap/succeeded"},{"openapi":"webhook wallet_action.swap.failed","title":"Swap failed","href":"/api-reference/webhooks/wallet-action/swap/failed"},{"openapi":"webhook wallet_action.swap.rejected","title":"Swap rejected","href":"/api-reference/webhooks/wallet-action/swap/rejected"}]}]},{"group":"Earn","pages":[{"title":"Deposit into vault","openapi":"post /v1/wallets/{wallet_id}/earn/ethereum/deposit","href":"/api-reference/wallets/earn/deposit"},{"title":"Withdraw from vault","openapi":"post /v1/wallets/{wallet_id}/earn/ethereum/withdraw","href":"/api-reference/wallets/earn/withdraw"},{"title":"Claim reward incentives","openapi":"post /v1/wallets/{wallet_id}/earn/ethereum/incentive/claim","href":"/api-reference/wallets/earn/incentive-claim"},{"title":"Get incentive rewards","openapi":"get /v1/wallets/{wallet_id}/earn/ethereum/incentive/claim","href":"/api-reference/wallets/earn/get-incentive-rewards"},{"title":"Get Ethereum vault details","openapi":"get /v1/earn/ethereum/vaults/{vault_id}","href":"/api-reference/wallets/earn/get-vault-details"},{"title":"Get Ethereum vault position","openapi":"get /v1/wallets/{wallet_id}/earn/ethereum/vaults","href":"/api-reference/wallets/earn/get-position"},{"title":"Earn fee collect","openapi":"post /v1/wallets/{wallet_id}/earn/ethereum/fees/collect","href":"/api-reference/wallets/earn/fees-collect"},{"group":"Webhooks","pages":[{"group":"Earn deposits","pages":[{"openapi":"webhook wallet_action.earn_deposit.created","title":"Earn deposit created","href":"/api-reference/webhooks/wallet-action/earn-deposit/created"},{"title":"Earn deposit succeeded","openapi":"webhook wallet_action.earn_deposit.succeeded","href":"/api-reference/webhooks/wallet-action/earn-deposit/succeeded"},{"title":"Earn deposit failed","openapi":"webhook wallet_action.earn_deposit.failed","href":"/api-reference/webhooks/wallet-action/earn-deposit/failed"},{"title":"Earn deposit rejected","openapi":"webhook wallet_action.earn_deposit.rejected","href":"/api-reference/webhooks/wallet-action/earn-deposit/rejected"}]},{"group":"Earn withdrawals","pages":[{"title":"Earn withdraw created","openapi":"webhook wallet_action.earn_withdraw.created","href":"/api-reference/webhooks/wallet-action/earn-withdraw/created"},{"title":"Earn withdraw succeeded","openapi":"webhook wallet_action.earn_withdraw.succeeded","href":"/api-reference/webhooks/wallet-action/earn-withdraw/succeeded"},{"title":"Earn withdraw failed","openapi":"webhook wallet_action.earn_withdraw.failed","href":"/api-reference/webhooks/wallet-action/earn-withdraw/failed"},{"title":"Earn withdraw rejected","openapi":"webhook wallet_action.earn_withdraw.rejected","href":"/api-reference/webhooks/wallet-action/earn-withdraw/rejected"}]},{"group":"Earn incentive claims","pages":[{"title":"Earn reward incentive claim created","openapi":"webhook wallet_action.earn_incentive_claim.created","href":"/api-reference/webhooks/wallet-action/earn-incentive-claim/created"},{"title":"Earn reward incentive claim succeeded","openapi":"webhook wallet_action.earn_incentive_claim.succeeded","href":"/api-reference/webhooks/wallet-action/earn-incentive-claim/succeeded"},{"title":"Earn reward incentive claim failed","openapi":"webhook wallet_action.earn_incentive_claim.failed","href":"/api-reference/webhooks/wallet-action/earn-incentive-claim/failed"},{"title":"Earn reward incentive claim rejected","openapi":"webhook wallet_action.earn_incentive_claim.rejected","href":"/api-reference/webhooks/wallet-action/earn-incentive-claim/rejected"}]},{"group":"Earn fee collections","pages":[{"title":"Earn fee collect created","openapi":"webhook wallet_action.earn_fee_collect.created","href":"/api-reference/webhooks/wallet-action/earn-fee-collect/created"},{"title":"Earn fee collect succeeded","openapi":"webhook wallet_action.earn_fee_collect.succeeded","href":"/api-reference/webhooks/wallet-action/earn-fee-collect/succeeded"},{"title":"Earn fee collect failed","openapi":"webhook wallet_action.earn_fee_collect.failed","href":"/api-reference/webhooks/wallet-action/earn-fee-collect/failed"},{"title":"Earn fee collect rejected","openapi":"webhook wallet_action.earn_fee_collect.rejected","href":"/api-reference/webhooks/wallet-action/earn-fee-collect/rejected"}]}]}]},{"group":"Wallet actions","pages":[{"title":"Get wallet action","openapi":"get /v1/wallets/{wallet_id}/actions/{action_id}","href":"/api-reference/wallets/actions/get"},{"title":"Get wallet action by external ID","openapi":"get /v1/actions","href":"/api-reference/wallets/actions/external-id"},{"title":"List all wallet actions","openapi":"get /v1/wallets/{wallet_id}/actions","href":"/api-reference/wallets/actions/list"}]}]},{"group":"Controls","pages":[{"group":"Key quorums","pages":[{"title":"Create key quorum","openapi":"post /v1/key_quorums","href":"/api-reference/key-quorums/create"},{"title":"Get key quorums","openapi":"get /v1/key_quorums","href":"/api-reference/key-quorums/get-all"},{"title":"Get key quorum","openapi":"get /v1/key_quorums/{key_quorum_id}","href":"/api-reference/key-quorums/get"},{"title":"Update key quorum","openapi":"patch /v1/key_quorums/{key_quorum_id}","href":"/api-reference/key-quorums/update"},{"title":"Delete key quorum","openapi":"delete /v1/key_quorums/{key_quorum_id}","href":"/api-reference/key-quorums/delete"}]},{"group":"Policies","pages":[{"title":"Create policy","openapi":"post /v1/policies","href":"/api-reference/policies/create"},{"title":"Get policies","openapi":"get /v1/policies","href":"/api-reference/policies/get-all"},{"title":"Get policy","openapi":"get /v1/policies/{policy_id}","href":"/api-reference/policies/get"},{"title":"Update policy","openapi":"patch /v1/policies/{policy_id}","href":"/api-reference/policies/update"},{"title":"Delete policy","openapi":"delete /v1/policies/{policy_id}","href":"/api-reference/policies/delete"},{"group":"Rules","pages":[{"title":"Add a rule to a policy","openapi":"post /v1/policies/{policy_id}/rules","href":"/api-reference/policies/rules/create"},{"title":"Get a rule from a policy","openapi":"get /v1/policies/{policy_id}/rules/{rule_id}","href":"/api-reference/policies/rules/get"},{"title":"Update a rule in a policy","openapi":"patch /v1/policies/{policy_id}/rules/{rule_id}","href":"/api-reference/policies/rules/update"},{"title":"Delete a rule from a policy","openapi":"delete /v1/policies/{policy_id}/rules/{rule_id}","href":"/api-reference/policies/rules/delete"}]}]},{"group":"Condition sets","pages":[{"title":"Create condition set","openapi":"post /v1/condition_sets","href":"/api-reference/condition-sets/create"},{"title":"Get condition sets","openapi":"get /v1/condition_sets","href":"/api-reference/condition-sets/get-all"},{"title":"Get condition set","openapi":"get /v1/condition_sets/{condition_set_id}","href":"/api-reference/condition-sets/get"},{"title":"Update condition set","openapi":"patch /v1/condition_sets/{condition_set_id}","href":"/api-reference/condition-sets/update"},{"title":"Delete condition set","openapi":"delete /v1/condition_sets/{condition_set_id}","href":"/api-reference/condition-sets/delete"},{"group":"Condition set items","pages":[{"title":"Add items to a condition set","openapi":"post /v1/condition_sets/{condition_set_id}/condition_set_items","href":"/api-reference/condition-sets/condition-set-items/create"},{"title":"Get an item from a condition set","openapi":"get /v1/condition_sets/{condition_set_id}/condition_set_items/{condition_set_item_id}","href":"/api-reference/condition-sets/condition-set-items/get"},{"title":"Get all items from a condition set","openapi":"get /v1/condition_sets/{condition_set_id}/condition_set_items","href":"/api-reference/condition-sets/condition-set-items/get-all"},{"title":"Update items in a condition set","openapi":"put /v1/condition_sets/{condition_set_id}/condition_set_items","href":"/api-reference/condition-sets/condition-set-items/update"},{"title":"Delete an item from a condition set","openapi":"delete /v1/condition_sets/{condition_set_id}/condition_set_items/{condition_set_item_id}","href":"/api-reference/condition-sets/condition-set-items/delete"}]}]},{"group":"Aggregations","pages":[{"title":"Create aggregation","openapi":"post /v1/aggregations","href":"/api-reference/aggregations/create"},{"title":"Get aggregation","openapi":"get /v1/aggregations/{aggregation_id}","href":"/api-reference/aggregations/get"},{"title":"Delete aggregation","openapi":"delete /v1/aggregations/{aggregation_id}","href":"/api-reference/aggregations/delete"}]},{"group":"Wallet automations","pages":[{"title":"Create wallet automation","openapi":"post /v1/wallet_automations","href":"/api-reference/wallet-automations/create"},{"title":"List wallet automations","openapi":"get /v1/wallet_automations","href":"/api-reference/wallet-automations/list"},{"title":"Get wallet automation","openapi":"get /v1/wallet_automations/{automation_id}","href":"/api-reference/wallet-automations/get"},{"title":"Update wallet automation","openapi":"patch /v1/wallet_automations/{automation_id}","href":"/api-reference/wallet-automations/update"},{"title":"Delete wallet automation","openapi":"delete /v1/wallet_automations/{automation_id}","href":"/api-reference/wallet-automations/delete"},{"group":"Wallet attachments","pages":[{"title":"Attach wallet automations","openapi":"post /v1/wallets/{wallet_id}/automations/attach","href":"/api-reference/wallet-automations/attach"},{"title":"Detach wallet automations","openapi":"post /v1/wallets/{wallet_id}/automations/detach","href":"/api-reference/wallet-automations/detach"}]},{"title":"List wallet automation executions","openapi":"get /v1/wallet_automations/executions","href":"/api-reference/wallet-automations/list-executions"},{"title":"Reindex wallet automations","openapi":"post /v1/wallet_automations/reindex","href":"/api-reference/wallet-automations/reindex"},{"group":"Webhooks","pages":[{"openapi":"webhook wallet_automation.submitted","title":"Wallet automation submitted","href":"/api-reference/webhooks/wallet-automation/submitted"}]}]}]},{"group":"Identity","pages":[{"group":"Users","pages":[{"title":"Create user","openapi":"post /v1/users","playground":"interactive","href":"/api-reference/users/create"},{"group":"Get user","pages":[{"title":"Get user by ID","openapi":"get /v1/users/{user_id}","href":"/api-reference/users/get"},{"group":"Linked accounts","pages":[{"title":"Get user by wallet address","openapi":"post /v1/users/wallet/address","href":"/api-reference/users/get-by-wallet-address"},{"title":"Get user by smart wallet address","openapi":"post /v1/users/smart_wallet/address","href":"/api-reference/users/get-by-smart-wallet-address"},{"title":"Get user by custom auth ID","openapi":"post /v1/users/custom_auth/id","href":"/api-reference/users/get-by-custom-auth"},{"title":"Get user by email address","openapi":"post /v1/users/email/address","href":"/api-reference/users/get-by-email-address"},{"title":"Get user by phone number","openapi":"post /v1/users/phone/number","href":"/api-reference/users/get-by-phone-number"},{"title":"Get user by Discord username","openapi":"post /v1/users/discord/username","href":"/api-reference/users/get-by-discord-username"},{"title":"Get user by GitHub username","openapi":"post /v1/users/github/username","href":"/api-reference/users/get-by-github-username"},{"title":"Get user by Instagram username","openapi":"post /v1/users/instagram/username","href":"/api-reference/users/get-by-instagram-username"},{"title":"Get user by Twitter username","openapi":"post /v1/users/twitter/username","href":"/api-reference/users/get-by-twitter-username"},{"title":"Get user by Twitter subject","openapi":"post /v1/users/twitter/subject","href":"/api-reference/users/get-by-twitter-subject"},{"title":"Get user by Telegram username","openapi":"post /v1/users/telegram/username","href":"/api-reference/users/get-by-telegram-username"},{"title":"Get user by Telegram user ID","openapi":"post /v1/users/telegram/telegram_user_id","href":"/api-reference/users/get-by-telegram-user-id"},{"title":"Get user by Farcaster ID","openapi":"post /v1/users/farcaster/fid","href":"/api-reference/users/get-by-farcaster-id"},{"title":"Get user by Spotify subject","openapi":"post /v1/users/spotify/subject","href":"/api-reference/users/get-by-spotify-subject"},{"title":"Get user by Twitch username","openapi":"post /v1/users/twitch/username","href":"/api-reference/users/get-by-twitch-username"}]}]},{"title":"Get users","openapi":"get /v1/users","playground":"interactive","href":"/api-reference/users/get-all"},{"title":"Search users","openapi":"post /v1/users/search","href":"/api-reference/users/search"},{"title":"Refresh Twitter account","api":"post /v1/users/twitter/refresh","href":"/api-reference/users/refresh-twitter-account"},{"title":"Delete user","openapi":"delete /v1/users/{user_id}","href":"/api-reference/users/delete"},{"title":"Freeze user","openapi":"post /v1/users/{user_id}/freeze","href":"/api-reference/users/freeze"},{"title":"Unfreeze user","openapi":"delete /v1/users/{user_id}/freeze","href":"/api-reference/users/unfreeze"},{"title":"Revoke sessions","openapi":"post /v1/users/{user_id}/sessions/revoke","href":"/api-reference/users/revoke-sessions"},{"title":"Add custom metadata","openapi":"post /v1/users/{user_id}/custom_metadata","href":"/api-reference/users/custom-metadata/create"},{"title":"Update custom metadata","openapi":"patch /v1/users/{user_id}/custom_metadata","href":"/api-reference/users/custom-metadata/update"},{"title":"Pregenerate wallets","openapi":"post /v1/users/{user_id}/wallets","href":"/api-reference/users/pregenerate-wallets"},{"group":"MFA","pages":[{"group":"SMS","pages":[{"title":"Start SMS MFA enrollment","openapi":"post /v1/users/{user_id}/mfa/sms/enrollment/init","href":"/api-reference/users/mfa/sms/enrollment/init"},{"title":"Complete SMS MFA enrollment","openapi":"post /v1/users/{user_id}/mfa/sms/enrollment/verify","href":"/api-reference/users/mfa/sms/enrollment/verify"},{"title":"Start SMS MFA verification","openapi":"post /v1/users/{user_id}/mfa/sms/verification/init","href":"/api-reference/users/mfa/sms/verification/init"},{"title":"Complete SMS MFA verification","openapi":"post /v1/users/{user_id}/mfa/sms/verification/verify","href":"/api-reference/users/mfa/sms/verification/verify"}]},{"group":"TOTP","pages":[{"title":"Start TOTP MFA enrollment","openapi":"post /v1/users/{user_id}/mfa/totp/enrollment/init","href":"/api-reference/users/mfa/totp/enrollment/init"},{"title":"Complete TOTP MFA enrollment","openapi":"post /v1/users/{user_id}/mfa/totp/enrollment/verify","href":"/api-reference/users/mfa/totp/enrollment/verify"},{"title":"Complete TOTP MFA verification","openapi":"post /v1/users/{user_id}/mfa/totp/verification/verify","href":"/api-reference/users/mfa/totp/verification/verify"}]},{"group":"Passkey","pages":[{"title":"Start passkey MFA enrollment","openapi":"post /v1/users/{user_id}/mfa/passkey/enrollment/init","href":"/api-reference/users/mfa/passkey/enrollment/init"},{"title":"Complete passkey MFA enrollment","openapi":"post /v1/users/{user_id}/mfa/passkey/enrollment/verify","href":"/api-reference/users/mfa/passkey/enrollment/verify"},{"title":"Start passkey MFA verification","openapi":"post /v1/users/{user_id}/mfa/passkey/verification/init","href":"/api-reference/users/mfa/passkey/verification/init"},{"title":"Complete passkey MFA verification","openapi":"post /v1/users/{user_id}/mfa/passkey/verification/verify","href":"/api-reference/users/mfa/passkey/verification/verify"}]},{"group":"Email","pages":[{"title":"Start email MFA enrollment","openapi":"post /v1/users/{user_id}/mfa/email/enrollment/init","href":"/api-reference/users/mfa/email/enrollment/init"},{"title":"Complete email MFA enrollment","openapi":"post /v1/users/{user_id}/mfa/email/enrollment/verify","href":"/api-reference/users/mfa/email/enrollment/verify"},{"title":"Start email MFA verification","openapi":"post /v1/users/{user_id}/mfa/email/verification/init","href":"/api-reference/users/mfa/email/verification/init"},{"title":"Complete email MFA verification","openapi":"post /v1/users/{user_id}/mfa/email/verification/verify","href":"/api-reference/users/mfa/email/verification/verify"}]}]},{"group":"Allowlist","pages":[{"title":"List allowlist entries","openapi":"get /v1/apps/{app_id}/allowlist","href":"/api-reference/apps/list-allowlist"},{"title":"Add to allowlist","openapi":"post /v1/apps/{app_id}/allowlist","href":"/api-reference/apps/add-to-allowlist"},{"title":"Remove from allowlist","openapi":"delete /v1/apps/{app_id}/allowlist","href":"/api-reference/apps/remove-from-allowlist"}]},{"group":"Webhooks","pages":[{"openapi":"webhook user.authenticated","title":"User authenticated","href":"/api-reference/webhooks/user/authenticated"},{"openapi":"webhook user.created","title":"User created","href":"/api-reference/webhooks/user/created"},{"openapi":"webhook user.deleted","title":"User deleted","href":"/api-reference/webhooks/user/deleted"},{"openapi":"webhook user.linked_account","title":"User linked account","href":"/api-reference/webhooks/user/linked_account"},{"openapi":"webhook user.transferred_account","title":"User transferred account","href":"/api-reference/webhooks/user/transferred_account"},{"openapi":"webhook user.unlinked_account","title":"User unlinked account","href":"/api-reference/webhooks/user/unlinked_account"},{"openapi":"webhook user.updated_account","title":"User updated account","href":"/api-reference/webhooks/user/updated_account"},{"openapi":"webhook user.wallet_created","title":"User wallet created","href":"/api-reference/webhooks/user/wallet_created"},{"openapi":"webhook mfa.disabled","title":"MFA disabled","href":"/api-reference/webhooks/mfa/disabled"},{"openapi":"webhook mfa.enabled","title":"MFA enabled","href":"/api-reference/webhooks/mfa/enabled"}]},{"group":"KYC","pages":[{"title":"Get KYC status","openapi":"get /v1/users/{user_id}/kyc","href":"/api-reference/fiat/kyc-server/get"},{"title":"Initiate KYC terms of service","openapi":"post /v1/users/{user_id}/kyc/tos","href":"/api-reference/fiat/kyc-server/tos"},{"title":"Initiate KYC verification","openapi":"post /v1/users/{user_id}/kyc/links","href":"/api-reference/fiat/kyc-server/links"},{"title":"Submit KYC data","openapi":"post /v1/users/{user_id}/kyc/submit","href":"/api-reference/fiat/kyc-server/submit"},{"openapi":"webhook user.kyc.updated","title":"User KYC updated","href":"/api-reference/webhooks/user/kyc_updated"}]}]},{"group":"Organizations","pages":[{"title":"Create organization","openapi":"post /v1/organizations","href":"/api-reference/organizations/create"},{"title":"List organizations","openapi":"get /v1/organizations","href":"/api-reference/organizations/get-all"},{"title":"Get organization","openapi":"get /v1/organizations/{organization_id}","href":"/api-reference/organizations/get"},{"title":"Update organization","openapi":"patch /v1/organizations/{organization_id}","href":"/api-reference/organizations/update"},{"title":"Delete organization","openapi":"delete /v1/organizations/{organization_id}","href":"/api-reference/organizations/delete"},{"group":"KYB","pages":[{"title":"Get KYB status","openapi":"get /v1/organizations/{organization_id}/kyb","href":"/api-reference/fiat/kyb/get"},{"title":"Initiate KYB terms of service","openapi":"post /v1/organizations/{organization_id}/kyb/tos","href":"/api-reference/fiat/kyb/tos"},{"title":"Initiate KYB verification","openapi":"post /v1/organizations/{organization_id}/kyb/links","href":"/api-reference/fiat/kyb/links"},{"title":"Submit KYB data","openapi":"post /v1/organizations/{organization_id}/kyb/submit","href":"/api-reference/fiat/kyb/submit"},{"openapi":"webhook organization.kyb.updated","title":"Organization KYB updated","href":"/api-reference/webhooks/organization/kyb_updated"}]}]}]},{"group":"Intents","pages":[{"group":"Usage","pages":[{"title":"Get intent","openapi":"get /v1/intents/{intent_id}","href":"/api-reference/intents/get"},{"title":"List intents","openapi":"get /v1/intents","href":"/api-reference/intents/list"},{"title":"Create RPC transaction","openapi":"post /v1/intents/wallets/{wallet_id}/rpc","href":"/api-reference/intents/rpc"},{"title":"Create transfer action","openapi":"post /v1/intents/wallets/{wallet_id}/transfer","href":"/api-reference/intents/transfer"},{"title":"Authorize intent","openapi":"post /v1/intents/{intent_id}/authorize","href":"/api-reference/intents/authorize"},{"title":"Reject intent","openapi":"post /v1/intents/{intent_id}/reject","description":"Reject a pending intent, preventing it from being executed. Can be called by the intent creator (via user token) or with the app secret.","href":"/api-reference/intents/reject"}]},{"group":"Resource update intents","pages":[{"title":"Update wallet","openapi":"patch /v1/intents/wallets/{wallet_id}","href":"/api-reference/intents/update-wallet"},{"title":"Update key quorum","openapi":"patch /v1/intents/key_quorums/{key_quorum_id}","description":"Create an intent to update a key quorum. The intent must be authorized by the key quorum members before it can be executed.","href":"/api-reference/intents/update-key-quorum"},{"title":"Update policy","openapi":"patch /v1/intents/policies/{policy_id}","href":"/api-reference/intents/update-policy"},{"title":"Create rule","openapi":"post /v1/intents/policies/{policy_id}/rules","href":"/api-reference/intents/create-rule"},{"title":"Update policy rule","openapi":"patch /v1/intents/policies/{policy_id}/rules/{rule_id}","href":"/api-reference/intents/update-rule"},{"title":"Delete rule","openapi":"delete /v1/intents/policies/{policy_id}/rules/{rule_id}","href":"/api-reference/intents/delete-rule"},{"title":"Add items to a condition set","openapi":"post /v1/intents/condition_sets/{condition_set_id}/condition_set_items","href":"/api-reference/intents/add-condition-set-items"},{"title":"Replace items in a condition set","openapi":"put /v1/intents/condition_sets/{condition_set_id}/condition_set_items","href":"/api-reference/intents/replace-condition-set-items"},{"title":"Delete condition set items","openapi":"delete /v1/intents/condition_sets/{condition_set_id}","href":"/api-reference/intents/delete-condition-set-items"}]},{"group":"Webhooks","pages":[{"openapi":"webhook intent.created","title":"Intent created","href":"/api-reference/webhooks/intents/created"},{"openapi":"webhook intent.authorized","title":"Intent authorized","href":"/api-reference/webhooks/intents/authorized"},{"openapi":"webhook intent.rejected","title":"Intent rejected","href":"/api-reference/webhooks/intents/rejected"},{"openapi":"webhook intent.executed","title":"Intent executed","href":"/api-reference/webhooks/intents/executed"},{"openapi":"webhook intent.failed","title":"Intent failed","href":"/api-reference/webhooks/intents/failed"}]}]},{"group":"Credit usage","pages":[{"group":"Webhooks","pages":[{"openapi":"webhook usage.gas_sponsorship.recorded","title":"Gas sponsorship charge recorded","href":"/api-reference/webhooks/usage/gas_sponsorship_recorded"},{"openapi":"webhook usage.swap_provider_fee.recorded","title":"Swap provider fee charge recorded","href":"/api-reference/webhooks/usage/swap_provider_fee_recorded"}]}]},{"group":"Labs","pages":[{"group":"Swaps","pages":[{"title":"Advanced swap (Solana)","openapi":"post /v1/wallets/{wallet_id}/experimental/solana/advanced-swap","href":"/api-reference/labs/advanced-swap"}]}]}]}]},"basePath":"","title":"Update wallet via intent – API reference","deploymentId":"dpl_Em2U4NQQ2N2DE3HPbPUJVZLnAtvc","buildId":"dpl_Em2U4NQQ2N2DE3HPbPUJVZLnAtvc","dynamics":["c2aa737661","2b790eda92","b0f84f53ff","a9bb46feb3"],"chunks":["OpenApiReferenceProvider-_HcdDqS2.js","snippetPresets-CXnm-WO6.js","utils-Dg59J__o.js","style-to-object-BY3JEAdk.js","utils-D8TRpdk7.js","v4-DIgz8zy6.js","addUniqueKeysToSchema-B6QaxWc5.js","conditional-requirements-CFM0id0Q.js","cloneDeep-DeMZ-lcM.js","_Uint8Array-BjA2mcVW.js","isObject-FP1Yky1u.js","ApiExamples-cjPyMv63.js","usePlaygroundInputsStore-D7BWoaw4.js","shallow-Z1ceDNSG.js","isEqual-BObTuQrO.js","CodeSnippets-D1UZ1AE-.js","CodeSnippet-B373COAT.js","getApiPlaygroundDisplay-CfL-UuDS.js","Page-DuqezyvM.js","DynamicMarkdown-5yMTCLas.js","SectionHeading-BxT1HYfP.js","icon-DYJTTD3g.js","MethodPill-4AyycJeu.js","getPastedJson-Bp3WV6cN.js","Check2Icon-PhZu6Gry.js","axios-CsQoIw0U.js","Markdown-Dy9a8hT8.js","AssistantPageLink-87tSPwGm.js","dist-CXMB3QQU.js","lib-DMeTj1gb.js","lib-B8HbPgcC.js","katex-Dbtb6Wk7.js","html-void-elements-mCSPHezU.js","marked.esm-CZWythHk.js"]}