Deactivates a static virtual account, preventing it from receiving any further payments. Once deactivated, the account number can no longer be credited and any incoming transfers to it will be rejected or returned. Use this when a customer’s account is closed, when rotating account numbers for security reasons, or when a static account is no longer needed.
{"docsConfig":{"theme":"willow","$schema":"https://mintlify.com/docs.json","name":"Spotflow Documentation","colors":{"primary":"#1326FD","light":"#6FA0FF","dark":"#0D0D0D"},"logo":{"light":"https://mintcdn.com/spotflow/Vs8lqXSKtRcxNxWi/logo/logo-light.png?fit=max\u0026auto=format\u0026n=Vs8lqXSKtRcxNxWi\u0026q=85\u0026s=c8589002b00f65092427267762f5ecce","dark":"https://mintcdn.com/spotflow/Vs8lqXSKtRcxNxWi/logo/logo-dark.png?fit=max\u0026auto=format\u0026n=Vs8lqXSKtRcxNxWi\u0026q=85\u0026s=1be38df1dbce6660b32295863b41265b"},"favicon":"https://mintcdn.com/spotflow/nE3IE_y_v6YYpUhl/favicon.svg?fit=max\u0026auto=format\u0026n=nE3IE_y_v6YYpUhl\u0026q=85\u0026s=e793de3f9421c80c5496cbf72b00755b","api":{"playground":{"display":"interactive"}},"background":{"decoration":"grid","color":{"light":"#ffffff","dark":"#0D0D0D"}},"navbar":{"links":[{"icon":"slack","href":"https://join.slack.com/t/spotflowdevel-cki6990/shared_invite/zt-3g5nposk7-0ZeocaWKq4YxxqhIdQ9Y_g","label":"Community"}],"primary":{"type":"button","label":"Get Started","href":"https://app.spotflow.co/"}},"footer":{"socials":{"x":"https://x.com/spotflow_one","linkedin":"https://www.linkedin.com/company/sptflw","website":"https://spotflow.one","slack":"https://join.slack.com/t/spotflowdevel-cki6990/shared_invite/zt-3g5nposk7-0ZeocaWKq4YxxqhIdQ9Y_g","github":"https://github.com/Spotflow-One"}},"fonts":{"family":"IBM Plex Sans"},"contextual":{"options":["copy","view","chatgpt","claude","perplexity","cursor"],"display":"header"},"styling":{"latex":false},"navigation":{"pages":[]}},"deployment":{"deploymentMetadataValue":{"subdomain":"spotflow","hasAudioNarration":false,"actualSubdomain":"spotflow","customDomains":["docs.spotflow.one"],"gitSource":{"type":"github","owner":"spotflow-one","repo":"new-spotflow-docs","deployBranch":"main","contentDirectory":"","isPrivate":true,"mountPath":"","label":""},"entitlements":{},"buildId":"6af467a1ab305b91f7ccb1a0","clientVersion":"0.0.4117","searchFilterCounts":[{"language":"default","tag":"API Reference","count":51},{"language":"default","tag":"Developer Resources","count":26},{"language":"default","tag":"Documentation","count":21},{"language":"default","tag":"Features","count":13},{"language":"default","tag":"Subscription Plans","count":7},{"language":"default","tag":"Subscriptions","count":7},{"language":"default","tag":"Bulk Disbursements","count":6},{"language":"default","tag":"Contributions","count":6},{"language":"default","tag":"Payment Collections","count":5},{"language":"default","tag":"Tax Configuration","count":5}]},"assistantConfig":{},"basePath":"","hasChatPermissions":false,"hasWebMcpPermissions":false,"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":"llms-txt-v2","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":"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}],"googleFontsInlined":true},"customCss":[{"filePath":"styles.css","content":".welcome-page .card-group{margin:3rem auto 8rem;max-width:70rem;padding-left:1.25rem;padding-right:1.25rem}.welcome-page .card-group .card{padding:1rem}.welcome-hero{display:flex;flex-direction:column;align-items:center;justify-content:center;min-height:20vh;text-align:center;margin-top:3rem;margin-bottom:2.5rem}.welcome-hero h1{font-size:2.5rem;font-weight:700;margin-bottom:1rem;line-height:1.2;color:#fff}.welcome-hero p{font-size:1.25rem;max-width:600px;margin:0 auto}.welcome-hero h1{color:rgb(41 42 37 / 1)}.dark .welcome-hero h1{color:rgb(255 255 255 / 1)}.welcome-hero p{color:rgb(83 85 79 / 1)}.dark .welcome-hero p{color:rgb(162 164 158 / 1)}.color{color:red!important}"}],"page":{"pagePath":"api-reference/static-account/deactivate-account","slug":"/api-reference/static-account/deactivate-account","pageMetadata":{"openapi":"openapi.json DELETE /accounts/{id}/deactivate","title":"Deactivate Spotflow Static Virtual Accounts","description":"Deactivates a static virtual account, preventing it from receiving any further payments. Once deactivated, the account number can no longer be credited and any incoming transfers to it will be rejected or returned. Use this when a customer's account is closed, when rotating account numbers for security reasons, or when a static account is no longer needed.","href":"/api-reference/static-account/deactivate-account"},"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: \"Deactivates a static virtual account, preventing it from receiving any further payments. Once deactivated, the account number can no longer be credited and any incoming transfers to it will be rejected or returned. Use this when a customer’s account is closed, when rotating account numbers for security reasons, or when a static account is no longer needed.\"\n });\n}\nfunction MDXContent(props = {}) {\n const {wrapper: MDXLayout} = {\n ..._provideComponents(),\n ...props.components\n };\n return MDXLayout ? _jsx(MDXLayout, {\n ...props,\n children: _jsx(_createMdxContent, {\n ...props\n })\n }) : _createMdxContent(props);\n}\nreturn {\n default: MDXContent\n};\n","frontmatter":{},"scope":{}},"pageType":"default","mdx":{"mdxSource":{"compiledSource":"\"use strict\";const{Fragment:_Fragment,jsx:_jsx}=arguments[0];const{useMDXComponents:_provideComponents}=arguments[0];function _createMdxContent(props){return _jsx(_Fragment,{})}function MDXContent(props={}){const{wrapper:MDXLayout}={..._provideComponents(),...props.components};return MDXLayout?_jsx(MDXLayout,{...props,children:_jsx(_createMdxContent,{...props})}):_createMdxContent(props)}return{default:MDXContent}","frontmatter":{},"scope":{"config":{},"pageMetadata":{"openapi":"openapi.json DELETE /accounts/{id}/deactivate","title":"Deactivate Spotflow Static Virtual Accounts","description":"Deactivates a static virtual account, preventing it from receiving any further payments. Once deactivated, the account number can no longer be credited and any incoming transfers to it will be rejected or returned. Use this when a customer's account is closed, when rotating account numbers for security reasons, or when a static account is no longer needed.","href":"/api-reference/static-account/deactivate-account"}}},"mdxSourceWithNoJs":null},"mdxExtracts":{"tableOfContents":[],"codeExamples":{}},"jsLinks":[],"openApiReferenceData":{"operation":{"description":"Deactivates a static virtual account, preventing it from receiving any further payments. Once deactivated, the account number can no longer be credited and any incoming transfers to it will be rejected or returned. Use this when a customer's account is closed, when rotating account numbers for security reasons, or when a static account is no longer needed.","operationId":"DeactivateStaticVirtualAccount","parameters":["8f9128d2-3184-4f93-bc27-ec40a2964848"],"responses":{"200":"423cab2b-5f6b-4404-ab6a-bf8c21e7b9ad","400":"f9bfa12c-cff0-4f14-a57a-7b311f9c9c9d","401":"df573243-92a7-4b66-9840-cca6a8545e6f","404":"3c9a19d9-e897-4ec7-8e62-a9f2590ebddf"},"method":"delete","type":"path","servers":["cec10f5c-50a5-4f72-ac29-cac6bd35a873"],"security":["17d3d204-5003-491f-ba90-1096440b5c68"],"path":"/accounts/{id}/deactivate","baseUrlOptions":["https://api.spotflow.co/api/v1"],"title":"","codeSamples":[],"requiredOnlyExamples":false,"requestExampleType":"generated","responseExampleType":"generated"},"dependencies":{"parameters":{"8f9128d2-3184-4f93-bc27-ec40a2964848":{"name":"id","in":"path","required":true,"description":"The unique identifier of the static virtual account to deactivate.","schema":{"type":"string","format":"uuid","example":"65122475-eef0-47e6-8c47-ac461e0a080d","isRequired":true,"description":"The unique identifier of the static virtual account to deactivate.","uniqueKey":"","typeLabel":"string\u003cuuid>"}}},"responses":{"423cab2b-5f6b-4404-ab6a-bf8c21e7b9ad":{"description":"The static virtual account has been deactivated.","content":{"application/json":{"schema":{"type":"object","properties":{"id":{"type":"string","format":"uuid","example":"65122475-eef0-47e6-8c47-ac461e0a080d","uniqueKey":"id","typeLabel":"string\u003cuuid>"},"parentAccountId":{"type":"string","format":"uuid","example":"0863bce7-2202-4f9a-8546-06fcbf7203e0","uniqueKey":"parentAccountId","typeLabel":"string\u003cuuid>"},"autoSweep":{"type":"boolean","example":false,"uniqueKey":"autoSweep","typeLabel":"boolean"},"currency":{"type":"string","example":"NGN","uniqueKey":"currency","typeLabel":"string"},"mode":{"type":"string","enum":["test","live"],"example":"live","uniqueKey":"mode","typeLabel":"enum\u003cstring>"},"accountTag":{"type":"string","example":"sub-account","uniqueKey":"accountTag","typeLabel":"string"},"status":{"type":"string","example":"inactive","description":"Reflects the account's current state after deactivation.","uniqueKey":"status","typeLabel":"string"},"createdAt":{"type":"string","format":"date-time","example":"2026-08-06T09:59:21.074471Z","uniqueKey":"createdAt","typeLabel":"string\u003cdate-time>"},"updatedAt":{"type":"string","format":"date-time","example":"2026-08-14T09:52:22.830371Z","uniqueKey":"updatedAt","typeLabel":"string\u003cdate-time>"},"accountDetails":{"type":"object","properties":{"provider":{"type":"string","example":"AELLA","uniqueKey":"accountDetails.provider","typeLabel":"string"},"accountName":{"type":"string","example":"SP/pord","uniqueKey":"accountDetails.accountName","typeLabel":"string"},"accountNumber":{"type":"string","example":"0217222147","uniqueKey":"accountDetails.accountNumber","typeLabel":"string"},"bankName":{"type":"string","example":"Aella Microfinance Bank","uniqueKey":"accountDetails.bankName","typeLabel":"string"},"default":{"type":"boolean","example":true,"uniqueKey":"accountDetails.default","typeLabel":"boolean"},"depositAddresses":{"type":"array","items":{"type":"string","uniqueKey":"accountDetails.depositAddresses.items.[INDEX]","typeLabel":"string"},"uniqueKey":"accountDetails.depositAddresses","typeLabel":"string[]"},"countryCode":{"type":"string","example":"NG","uniqueKey":"accountDetails.countryCode","typeLabel":"string"}},"uniqueKey":"accountDetails","typeLabel":"object"},"virtualAccounts":{"type":"array","items":{"type":"object","properties":{"provider":{"type":"string","example":"AELLA","uniqueKey":"virtualAccounts.items.[INDEX].provider","typeLabel":"string"},"accountName":{"type":"string","example":"SP/pord","uniqueKey":"virtualAccounts.items.[INDEX].accountName","typeLabel":"string"},"accountNumber":{"type":"string","example":"0217222147","uniqueKey":"virtualAccounts.items.[INDEX].accountNumber","typeLabel":"string"},"bankName":{"type":"string","example":"Aella Microfinance Bank","uniqueKey":"virtualAccounts.items.[INDEX].bankName","typeLabel":"string"},"default":{"type":"boolean","example":true,"uniqueKey":"virtualAccounts.items.[INDEX].default","typeLabel":"boolean"},"depositAddresses":{"type":"array","items":{"type":"string","uniqueKey":"virtualAccounts.items.[INDEX].depositAddresses.items.[INDEX]","typeLabel":"string"},"uniqueKey":"virtualAccounts.items.[INDEX].depositAddresses","typeLabel":"string[]"},"countryCode":{"type":"string","example":"NG","uniqueKey":"virtualAccounts.items.[INDEX].countryCode","typeLabel":"string"}},"uniqueKey":"virtualAccounts.items.[INDEX]","typeLabel":"object"},"uniqueKey":"virtualAccounts","typeLabel":"object[]"}},"uniqueKey":"","typeLabel":"object"},"examples":{"Example":{"title":"Example","value":{"id":"65122475-eef0-47e6-8c47-ac461e0a080d","parentAccountId":"0863bce7-2202-4f9a-8546-06fcbf7203e0","autoSweep":false,"currency":"NGN","mode":"live","accountTag":"sub-account","status":"inactive","createdAt":"2026-08-06T09:59:21.074471Z","updatedAt":"2026-08-14T09:52:22.830371Z","accountDetails":{"provider":"AELLA","accountName":"SP/pord","accountNumber":"0217222147","bankName":"Aella Microfinance Bank","default":true,"depositAddresses":["\u003cstring>"],"countryCode":"NG"},"virtualAccounts":[{"provider":"AELLA","accountName":"SP/pord","accountNumber":"0217222147","bankName":"Aella Microfinance Bank","default":true,"depositAddresses":["\u003cstring>"],"countryCode":"NG"}]}}},"exampleType":"generated"}},"exampleType":"generated"},"f9bfa12c-cff0-4f14-a57a-7b311f9c9c9d":{"description":"Bad Request - The account could not be deactivated (e.g. already inactive).","content":{"application/json":{"schema":{"type":"object","properties":{"error":{"type":"string","example":"Missing Parameter","uniqueKey":"error","typeLabel":"string"},"message":{"type":"string","example":"missing_parameter","uniqueKey":"message","typeLabel":"string"},"status":{"type":"integer","format":"float","example":400,"uniqueKey":"status","typeLabel":"integer\u003cfloat>"}},"uniqueKey":"","typeLabel":"object"},"examples":{"Example":{"title":"Example","value":{"error":"Missing Parameter","message":"missing_parameter","status":400}}},"exampleType":"generated"}},"exampleType":"generated"},"df573243-92a7-4b66-9840-cca6a8545e6f":{"description":"Unauthorized - Invalid or missing authentication token.","content":{"application/json":{"schema":{"type":"object","properties":{"error":{"type":"string","example":"Unauthorized","uniqueKey":"error","typeLabel":"string"},"message":{"type":"string","example":"invalid_credentials","uniqueKey":"message","typeLabel":"string"},"status":{"type":"integer","format":"float","example":401,"uniqueKey":"status","typeLabel":"integer\u003cfloat>"}},"uniqueKey":"","typeLabel":"object"},"examples":{"Example":{"title":"Example","value":{"error":"Unauthorized","message":"invalid_credentials","status":401}}},"exampleType":"generated"}},"exampleType":"generated"},"3c9a19d9-e897-4ec7-8e62-a9f2590ebddf":{"description":"Not Found - No static virtual account found for the given ID.","content":{"application/json":{"schema":{"$ref":"e8949bff-402a-4e34-908d-5c621a75ab9e"}}},"exampleType":"generated"}},"security":{"17d3d204-5003-491f-ba90-1096440b5c68":{"bearerAuth":{"type":"http","scheme":"bearer","scopes":[]}}},"servers":{"cec10f5c-50a5-4f72-ac29-cac6bd35a873":{"description":"Production server","url":"https://api.spotflow.co/api/v1"}},"processedSecurityOptions":[{"schemes":[{"scheme":{"type":"http","scheme":"bearer","scopes":[]},"schema":{"title":"Bearer Auth","type":"string","isRequired":true,"description":"Bearer authentication header of the form `Bearer \u003ctoken>`, where `\u003ctoken>` is your auth token.","format":"bearer","typeLabel":"string\u003cbearer>","deprecated":false},"schemeName":"bearerAuth","name":"Authorization"}],"title":"bearerAuth"}]},"originalFileLocation":"openapi.json"},"subdomain":"spotflow","siteName":"Spotflow Documentation","title":"Deactivate Spotflow Static Virtual Accounts - Spotflow Documentation","navMaps":{"firstHrefInVersion":{},"firstHrefInLanguage":{}},"lastModified":"2026-08-14T10:17:34.637Z","originalFileLocation":"api-reference/static-account/deactivate-account.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=\"Deactivates a static virtual account, preventing it from receiving any further payments. Once deactivated, the account number can no longer be credited and any incoming transfers to it will be rejected or returned. Use this when a customer\u0026#x27;s account is closed, when rotating account numbers for security reasons, or when a static account is no longer needed.\">\u003cmeta data-mint-head name=\"application-name\" content=\"Spotflow Documentation\">\u003cmeta data-mint-head name=\"generator\" content=\"Mintlify\">\u003clink data-mint-head rel=\"icon\" type=\"image/png\" sizes=\"192x192\" href=\"/mintlify-assets/_mintlify/favicons/spotflow/valL1ybBLFV-Bj3r/_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/spotflow/valL1ybBLFV-Bj3r/_generated/favicon/apple-touch-icon.png\">\u003clink data-mint-head rel=\"icon\" type=\"image/png\" sizes=\"16x16\" href=\"/mintlify-assets/_mintlify/favicons/spotflow/valL1ybBLFV-Bj3r/_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/spotflow/valL1ybBLFV-Bj3r/_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/spotflow/valL1ybBLFV-Bj3r/_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/spotflow/valL1ybBLFV-Bj3r/_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/spotflow/valL1ybBLFV-Bj3r/_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/spotflow/valL1ybBLFV-Bj3r/_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/spotflow/valL1ybBLFV-Bj3r/_generated/favicon-dark/favicon.ico\" media=\"(prefers-color-scheme: dark)\">\u003cmeta data-mint-head property=\"og:title\" content=\"Deactivate Spotflow Static Virtual Accounts - Spotflow Documentation\">\u003cmeta data-mint-head property=\"og:description\" content=\"Deactivates a static virtual account, preventing it from receiving any further payments. Once deactivated, the account number can no longer be credited and any incoming transfers to it will be rejected or returned. Use this when a customer\u0026#x27;s account is closed, when rotating account numbers for security reasons, or when a static account is no longer needed.\">\u003cmeta data-mint-head property=\"og:site_name\" content=\"Spotflow Documentation\">\u003cmeta data-mint-head property=\"og:url\" content=\"https://docs.spotflow.one/api-reference/static-account/deactivate-account\">\u003cmeta data-mint-head property=\"og:type\" content=\"website\">\u003cmeta data-mint-head property=\"og:image\" content=\"https://spotflow.mintlify.site/_mintlify/api/og/v2?division=Spotflow+Static+Virtual+Accounts\u0026amp;title=Deactivate+Spotflow+Static+Virtual+Accounts\u0026amp;description=Deactivates+a+static+virtual+account%2C+preventing+it+from+receiving+any+further+payments.+Once+deactivated%2C+the+account+number+can+no+longer+be+credited+and+any+\u0026amp;theme=dc90988de83580f9a2df160f\u0026amp;signature=22d1a1b897fe1f771626e3ae783f67ab0199b28fdd5cf4c97daf6ac1fa72039e\">\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=\"Deactivate Spotflow Static Virtual Accounts - Spotflow Documentation\">\u003cmeta data-mint-head name=\"twitter:description\" content=\"Deactivates a static virtual account, preventing it from receiving any further payments. Once deactivated, the account number can no longer be credited and any incoming transfers to it will be rejected or returned. Use this when a customer\u0026#x27;s account is closed, when rotating account numbers for security reasons, or when a static account is no longer needed.\">\u003cmeta data-mint-head name=\"twitter:image\" content=\"https://spotflow.mintlify.site/_mintlify/api/og/v2?division=Spotflow+Static+Virtual+Accounts\u0026amp;title=Deactivate+Spotflow+Static+Virtual+Accounts\u0026amp;description=Deactivates+a+static+virtual+account%2C+preventing+it+from+receiving+any+further+payments.+Once+deactivated%2C+the+account+number+can+no+longer+be+credited+and+any+\u0026amp;theme=dc90988de83580f9a2df160f\u0026amp;signature=22d1a1b897fe1f771626e3ae783f67ab0199b28fdd5cf4c97daf6ac1fa72039e\">\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/spotflow/valL1ybBLFV-Bj3r/_generated/favicon/browserconfig.xml\">\u003cmeta data-mint-head name=\"apple-mobile-web-app-title\" content=\"Spotflow Documentation\">\u003cmeta data-mint-head name=\"msapplication-TileColor\" content=\"#1326FD\">\u003clink data-mint-head rel=\"canonical\" href=\"https://docs.spotflow.one/api-reference/static-account/deactivate-account\">\u003clink data-mint-head rel=\"alternate\" type=\"application/xml\" href=\"/sitemap.xml\">\u003clink data-mint-head rel=\"alternate\" type=\"text/markdown\" href=\"/api-reference/static-account/deactivate-account.md\">\u003cscript data-mint-head type=\"application/ld+json\">{\"@context\":\"https://schema.org\",\"@graph\":[{\"@type\":\"Organization\",\"@id\":\"https://docs.spotflow.one/#organization\",\"name\":\"Spotflow Documentation\",\"url\":\"https://docs.spotflow.one\",\"logo\":{\"@type\":\"ImageObject\",\"url\":\"https://mintcdn.com/spotflow/Vs8lqXSKtRcxNxWi/logo/logo-light.png?fit=max\u0026auto=format\u0026n=Vs8lqXSKtRcxNxWi\u0026q=85\u0026s=c8589002b00f65092427267762f5ecce\"}},{\"@type\":\"WebSite\",\"@id\":\"https://docs.spotflow.one#website\",\"name\":\"Spotflow Documentation\",\"url\":\"https://docs.spotflow.one\",\"publisher\":{\"@id\":\"https://docs.spotflow.one/#organization\"}},{\"@type\":\"WebPage\",\"@id\":\"https://docs.spotflow.one/api-reference/static-account/deactivate-account#webpage\",\"url\":\"https://docs.spotflow.one/api-reference/static-account/deactivate-account\",\"name\":\"Deactivate Spotflow Static Virtual Accounts\",\"description\":\"Deactivates a static virtual account, preventing it from receiving any further payments. Once deactivated, the account number can no longer be credited and any incoming transfers to it will be rejected or returned. Use this when a customer's account is closed, when rotating account numbers for security reasons, or when a static account is no longer needed.\",\"dateModified\":\"2026-08-14T10:17:34.637Z\",\"isPartOf\":{\"@id\":\"https://docs.spotflow.one#website\"},\"breadcrumb\":{\"@id\":\"https://docs.spotflow.one/api-reference/static-account/deactivate-account#breadcrumb\"}},{\"@type\":\"BreadcrumbList\",\"@id\":\"https://docs.spotflow.one/api-reference/static-account/deactivate-account#breadcrumb\",\"itemListElement\":[{\"@type\":\"ListItem\",\"position\":1,\"name\":\"Spotflow Static Virtual Accounts\",\"item\":\"https://docs.spotflow.one/api-reference/static-account/list-spotflow-account\"},{\"@type\":\"ListItem\",\"position\":2,\"name\":\"Deactivate Spotflow Static Virtual Accounts\",\"item\":\"https://docs.spotflow.one/api-reference/static-account/deactivate-account\"}]},{\"@type\":[\"TechArticle\",\"APIReference\"],\"@id\":\"https://docs.spotflow.one/api-reference/static-account/deactivate-account#apireference\",\"headline\":\"Deactivate Spotflow Static Virtual Accounts\",\"name\":\"Deactivate Spotflow Static Virtual Accounts\",\"description\":\"Deactivates a static virtual account, preventing it from receiving any further payments. Once deactivated, the account number can no longer be credited and any incoming transfers to it will be rejected or returned. Use this when a customer's account is closed, when rotating account numbers for security reasons, or when a static account is no longer needed.\",\"url\":\"https://docs.spotflow.one/api-reference/static-account/deactivate-account\",\"mainEntityOfPage\":{\"@id\":\"https://docs.spotflow.one/api-reference/static-account/deactivate-account#webpage\"},\"dateModified\":\"2026-08-14T10:17:34.637Z\",\"publisher\":{\"@id\":\"https://docs.spotflow.one/#organization\"},\"isPartOf\":{\"@id\":\"https://docs.spotflow.one#website\"}}]}\u003c/script>\u003cscript data-mint-head type=\"application/ld+json\">{\"@context\":\"https://schema.org\",\"@type\":\"WebSite\",\"name\":\"Spotflow Documentation\",\"publisher\":{\"@type\":\"Organization\",\"name\":\"Spotflow Documentation\"},\"provider\":{\"@type\":\"Organization\",\"name\":\"Mintlify\",\"url\":\"https://mintlify.com\"}}\u003c/script>","agentPointerHref":"/api-reference/static-account/deactivate-account.md","siteName":"Spotflow Documentation","nav":{"global":null,"tabs":[{"tab":"Documentation","icon":"scroll","pages":[{"title":"Documentation","href":"/introduction"}]},{"tab":"Developer Resources","icon":"code-simple","pages":[{"title":"Developer Resources","href":"/developer-resources/introduction"}]},{"tab":"API Reference","icon":"code-branch","groups":[{"group":"API Reference","icon":"history","pages":[{"title":"Introduction","sidebarTitle":"Introduction","icon":"scroll","href":"/api-reference/introduction"},{"title":"Authentication","icon":"lock","href":"/api-reference/authentication"},{"title":"Error Codes","icon":"radiation","href":"/api-reference/error-codes"},{"title":"Rate Limits","icon":"hotjar","href":"/api-reference/rate-limits"}]},{"group":"Payment Collections","icon":"money-bill","pages":[{"openapi":"post /payments/initialize","title":"Initialize Payment","sidebarTitle":"Initialize Payment","href":"/api-reference/payments/initialize-collection"},{"openapi":"post /payments/authorize","title":"Authorize Payment","sidebarTitle":"Authorize Payment","href":"/api-reference/payments/authorize-collection"},{"openapi":"get /payments/{payment-id}","title":"Get Payment","sidebarTitle":"Get Payment","href":"/api-reference/payments/fetch-collection"},{"openapi":"get /payments","title":"List Payments","sidebarTitle":"List Payments","href":"/api-reference/payments/list-collection"},{"openapi":"get /payments/verify","title":"Verify Payment","sidebarTitle":"Verify Payment","href":"/api-reference/payments/verify-collection"}]},{"group":"Tax Configuration","icon":"wrench","pages":[{"openapi":"openapi.json GET /merchant/tax-status","title":"Check Tax Activation Status","href":"/api-reference/tax-collections-configuration/get-tax-status"},{"openapi":"openapi.json GET /tax-configurations","title":"Get Tax Settings by Country/Region","href":"/api-reference/tax-collections-configuration/get-tax-region"},{"openapi":"openapi.json POST /tax-configurations","title":"Create a New Tax Setting","href":"/api-reference/tax-collections-configuration/create-tax"},{"openapi":"openapi.json PUT /tax-configurations/{id}","title":"Edit Tax Details","href":"/api-reference/tax-collections-configuration/update-tax"},{"openapi":"openapi.json PUT /tax-configurations/{id}/status","title":"Start or Stop Charging a Tax","href":"/api-reference/tax-collections-configuration/toggle-tax-status"}]},{"group":"Subscription Plans","icon":"receipt","pages":[{"openapi":"openapi.json POST /plans/{plan-id}/activate","title":"Activate Plan","href":"/api-reference/subscription-plans/activate-plan"},{"openapi":"openapi.json POST /plans/{plan-id}/cancel","title":"Cancel Plan","href":"/api-reference/subscription-plans/cancel-plan"},{"openapi":"openapi.json POST /bulk-plans","title":"Create Bulk Plans","href":"/api-reference/subscription-plans/create-bulk-plan"},{"openapi":"openapi.json POST /plans","title":"Create Single Plan","href":"/api-reference/subscription-plans/create-single-plan"},{"openapi":"openapi.json GET /plans","title":"Get All Plans","href":"/api-reference/subscription-plans/fetch-plan"},{"openapi":"openapi.json GET /plans/{plan-id}","title":"Get Single Plan","href":"/api-reference/subscription-plans/list-single-plan"},{"openapi":"openapi.json POST /plans/{plan-id}","title":"Update Plan","href":"/api-reference/subscription-plans/update-plan"}]},{"group":"Subscriptions","icon":"repeat","pages":[{"openapi":"openapi.json GET /subscriptions","title":"Get All Subscriptions","href":"/api-reference/subscriptions/list-subscriptions"},{"openapi":"openapi.json GET /subscriptions/{subscription-id}/payment-method","title":"Get A Subscription Payment Method","href":"/api-reference/subscriptions/get-subscription-payment-method"},{"openapi":"openapi.json GET /plans/{plan-id}/subscriptions","title":"Subscriptions by plan","href":"/api-reference/subscriptions/subscription-by-plan"},{"openapi":"openapi.json GET /subscriptions/{subscription-id}","title":"Get Subscriptions Details","href":"/api-reference/subscriptions/subscription-details"},{"openapi":"openapi.json POST /subscriptions/{subscription-id}/activate","title":"Activate Subscription","href":"/api-reference/subscriptions/subscription-activate"},{"openapi":"openapi.json POST /subscriptions/{subscription-id}/cancel","title":"Cancel Subscription","sidebarTitle":"Cancel Subscription","href":"/api-reference/subscriptions/subscription-cancel"},{"openapi":"openapi.json PUT /subscriptions/{subscription-id}/payment-method","title":"Update A Subscription Payment Method","href":"/api-reference/subscriptions/update-subscription-payment-method"}]},{"group":"Spotflow Static Virtual Accounts","icon":"wallet","pages":[{"openapi":"openapi.json GET /accounts","title":"Get All Spotflow Static Virtual Accounts","href":"/api-reference/static-account/list-spotflow-account"},{"openapi":"openapi.json GET /accounts/{id}","title":"Get Spotflow Static Virtual Account By ID","sidebarTitle":"Get Static Account By ID","description":"Get details of your created static account by its ID. You can get this in either NGN or GHS.","href":"/api-reference/static-account/spotflow-account-id"},{"openapi":"openapi.json DELETE /accounts/{id}/deactivate","title":"Deactivate Spotflow Static Virtual Accounts","href":"/api-reference/static-account/deactivate-account"},{"openapi":"openapi.json POST /accounts","title":"Create Spotflow Static Virtual Accounts","description":"Static virtual accounts (formerly called sub-accounts) are created through the API and also seen via the merchant dashboard UI as the virtual accounts page. They serve a unique purpose to act as a pocket of money where funds can sit in. Importantly, static virtual accounts do not require BVNs upon creation.","href":"/api-reference/static-account/create-account"}]},{"group":"Dynamic Virtual Accounts","icon":"vault","pages":[{"openapi":"openapi.json POST /virtual-accounts/temporary","title":"Create Dynamic Virtual Account","href":"/api-reference/dynamic-accounts/create-dynamic-account"},{"openapi":"openapi.json GET /virtual-accounts/{id}","title":"Get Dynamic Virtual Account by ID","href":"/api-reference/dynamic-accounts/dynamic-account-id"},{"openapi":"openapi.json GET /virtual-accounts","title":"Get All Dynamic Virtual Accounts","href":"/api-reference/dynamic-accounts/list-dynamic-account"}]},{"group":"Balances","icon":"equals","pages":[{"openapi":"openapi.json GET /balances","title":"Get Main Spotflow Account Balance","href":"/api-reference/balances/main-account-balance"},{"openapi":"openapi.json GET /balances/accounts/{accountNumber}/balance","title":"Get Spotflow Accounts Balance","href":"/api-reference/balances/account-balance"}]},{"group":"Single Disbursements","icon":"paper-plane","pages":[{"openapi":"openapi.json POST /transfers","title":"Create Single Bank Disbursement","sidebarTitle":"Create Single Disbursement","href":"/api-reference/transfer-api/create-single-transfer"},{"openapi":"openapi.json GET /transfers/banks/{currency}","title":"Get All Banks","href":"/api-reference/transfer-api/list-banks"},{"openapi":"openapi.json GET /transfers/resolve-account","title":"Resolve Bank Account","href":"/api-reference/transfer-api/transfer-resolve-account"},{"openapi":"openapi.json GET /transfers/reference/{reference}","title":"Get Transfer By Reference","href":"/api-reference/transfer-api/transfer-by-reference"}]},{"group":"Bulk Disbursements","icon":"money-check","pages":[{"openapi":"openapi.json POST /transfers/bulk","title":"Create Bulk Disbursement","href":"/api-reference/transfer-api/create-bulk-transfer"},{"openapi":"openapi.json GET /transfers/bulk/{id}","title":"Get Bulk Disbursement By ID","href":"/api-reference/transfer-api/bulk-transfer-id"},{"openapi":"openapi.json GET /transfers/bulk/categories","title":"Get Bulk Disbursement By Its Categories","sidebarTitle":"Get Bulk Disbursement by Categories","href":"/api-reference/transfer-api/bulk-transfer-categories"},{"openapi":"openapi.json GET /transfers/bulk","title":"Get All Bulk Disbursements","href":"/api-reference/transfer-api/bulk-transfers"},{"openapi":"openapi.json GET /transfers/bulk/{id}/transfers","title":"Get Bulk Disbursements By ID","href":"/api-reference/transfer-api/bulk-transfers-by-id"},{"openapi":"openapi.json POST /transfers/bulk/validate","title":"Validate Bulk Disbursements File","sidebarTitle":"Validate Bulk Disbursements","href":"/api-reference/transfer-api/validate-bulk-transfer"}]}]},{"tab":"Changelog","icon":"tags","pages":[{"title":"Changelog","href":"/changelog/introduction"}]},{"tab":"Contributions","icon":"people-group","pages":[{"title":"Contributions","href":"/contributions/overview"}]}]},"basePath":"","title":"Deactivate Spotflow Static Virtual Accounts - Spotflow Documentation","buildId":"dpl_41S5Z2jG9QnfDRwN1KZrLdBwj7DM","deploymentId":"dpl_41S5Z2jG9QnfDRwN1KZrLdBwj7DM","dynamics":["c2aa737661","2b790eda92","b0f84f53ff","a9bb46feb3"],"chunks":["OpenApiReferenceProvider-DDP9JXtj.js","utils-8yQyvEtx.js","cloneDeep-izs3Hzxb.js","_Uint8Array-BVIqJ90l.js","isObjectLike-C8vmzPEN.js","isArray-Dcu1dQ5t.js","utils-CBCFR8Sn.js","toString-BX-iyh8G.js","isSymbol-CSH9U2Gm.js","addUniqueKeysToSchema-rQaXkUHa.js","snippetPresets-J5KpBTgV.js","style-to-object-BY3JEAdk.js","v4-DIgz8zy6.js","conditional-requirements-CFM0id0Q.js","ApiExamples-BVxVH4Cj.js","isEqual-BfaiBbcl.js","usePlaygroundInputsStore-BxdQ2vIi.js","shallow-BjV2tFiD.js","getApiPlaygroundDisplay-C_55tL4O.js","CodeSnippet-C0JpiCOC.js","CodeSnippets-w9Ps7djG.js","Page-DTNSD-0M.js","getPastedJson-BDfB-H8d.js","icon-g-kUkkO9.js","MethodPill-v4l6fq0h.js","DuplicateIcon-CvLo-CfU.js","createIcon-165clrrV.js","DynamicMarkdown-D3RQ-fEj.js","SectionHeading-vvo-3yLf.js","axios-vUo_bRtp.js","Markdown-CMT1uFWQ.js","clsx-C8f2yC9R.js","lib-DuNMoZ05.js","lib-B8HbPgcC.js","html-void-elements-mCSPHezU.js","dist-CI2D8R2Y.js","katex-YMM-FMeD.js","marked.esm-CZWythHk.js","AssistantPageLink-k78Wrw_e.js"]}