Legal-entity-scoped keys are pinned to a single legal entity.
Minted via the dashboard under a specific entity; every request
acts on that entity.
User-scoped keys are pinned to a user and span every legal
entity that user has access to. Every request made with a
user-scoped key (except GET /legal-entity, which lists the
legal entities the user can access) must include an
x-legal-entity header naming the legal entity the request is
operating on. Requests without the header are rejected with
400. The authenticated user must have an active permission
role on the supplied legal entity, otherwise the request is
rejected with 403.
Body
application/json
accountId
string
required
The account ID the virtual account should be created under.
name
string
required
The name of the virtual account
commissionDetails
VirtualAccountCommissionDetails · object
Specifies how much of the virtual account's incoming funds should be diverted to the primary account
VirtualAccountCommissionDetails
VirtualAccountCommissionDetails
Hide child attributes
commissionDetails.type
enum<string>
required
The type of the commission rule. A type of flat_fee will take a flat fee from the virtual account and transfer it to the primary account
with the frequency of the collection defined as monthly or yearly.
Available options:
flatFee
commissionDetails.amount
Money · object
required
The amount of money to be diverted from the virtual account if the type of rule is flat_fee.
Hide child attributes
commissionDetails.amount.amountCents
integer
required
The amount in cents
commissionDetails.frequency
enum<string>
required
The frequency from the start date that the rule will be applied. E.g. a start date of November 26, 2024 with a frequency of "monthly"
will have the rule applied on December 26, 2024. If the frequency was "yearly", the rule would be applied again on November 26, 2025.
Available options:
monthly,
yearly
commissionDetails.startDate
string<date-time>
The date that the rule will begin to take effect.
Response
OK
virtualAccount
VirtualAccountModel · object
required
The virtual account object
Hide child attributes
virtualAccount.id
string
required
The ID of the virtual account.
virtualAccount.name
string
required
The name of the virtual account.
virtualAccount.accountId
string
required
The account ID of the Slash account the virtual account is associated with.
virtualAccount.accountType
enum<string>
required
The account type of the virtual account. Since virtual accounts and Slash accounts exist at the same hierarchy level,
an account type of 'primary' means it is the main Slash account, while an account type of 'default' means it is a virtual account
under the main account.
Available options:
default,
primary
virtualAccount.accountNumber
string
The account number of the virtual account.
virtualAccount.routingNumber
string
The routing number of the virtual account.
virtualAccount.closedAt
string
The date the virtual account was closed; will be null if account was never closed.
commissionRule
VirtualAccountCommissionRule · object
The virtual account commission rule object
Hide child attributes
commissionRule.id
string
required
The ID of the commission rule
commissionRule.virtualAccountId
string
required
The ID of the virtual account the commission rule is applied to
commissionRule.commissionDetails
VirtualAccountCommissionDetails · object
required
Describes details of the commission rule.
VirtualAccountCommissionDetails
VirtualAccountCommissionDetails
Hide child attributes
commissionRule.commissionDetails.type
enum<string>
required
The type of the commission rule. A type of flat_fee will take a flat fee from the virtual account and transfer it to the primary account
with the frequency of the collection defined as monthly or yearly.
Available options:
flatFee
commissionRule.commissionDetails.amount
Money · object
required
The amount of money to be diverted from the virtual account if the type of rule is flat_fee.
The frequency from the start date that the rule will be applied. E.g. a start date of November 26, 2024 with a frequency of "monthly"
will have the rule applied on December 26, 2024. If the frequency was "yearly", the rule would be applied again on November 26, 2025.
{"docsConfig":{"theme":"maple","$schema":"https://mintlify.com/docs.json","name":"Slash","colors":{"primary":"#8a6f08","light":"#e5a90a","dark":"#ad8c0c"},"logo":{"light":"https://mintcdn.com/slash-9da6c7e7/fQTvKgvPM9Xc8XFC/favicon.png?fit=max\u0026auto=format\u0026n=fQTvKgvPM9Xc8XFC\u0026q=85\u0026s=6670ecb53c5fa3879ea6f632793b7d24","dark":"https://mintcdn.com/slash-9da6c7e7/fQTvKgvPM9Xc8XFC/favicon.png?fit=max\u0026auto=format\u0026n=fQTvKgvPM9Xc8XFC\u0026q=85\u0026s=6670ecb53c5fa3879ea6f632793b7d24"},"favicon":"https://mintcdn.com/slash-9da6c7e7/fQTvKgvPM9Xc8XFC/favicon.png?fit=max\u0026auto=format\u0026n=fQTvKgvPM9Xc8XFC\u0026q=85\u0026s=6670ecb53c5fa3879ea6f632793b7d24","api":{"openapi":["https://api.slash.com/openapi","openapi-v2.json"],"params":{"expanded":"all"},"examples":{"defaults":"all","languages":["curl","javascript","python","go"],"prefill":true,"autogenerate":true}},"navbar":{"links":[{"href":"mailto:support@joinslash.com","label":"Support"},{"href":"https://www.slash.com/sales-inquiry?utm_source=docs\u0026utm_medium=navbar\u0026utm_campaign=docs_cta","label":"Get Started"}],"primary":{"type":"button","label":"Dashboard","href":"https://app.slash.com"}},"fonts":{"family":"Inter"},"contextual":{"options":["copy","view","chatgpt","claude","cursor","mcp"],"display":"header"},"styling":{"latex":false},"navigation":{"pages":[]}},"deployment":{"deploymentMetadataValue":{"subdomain":"slash-9da6c7e7","hasAudioNarration":false,"actualSubdomain":"slash-9da6c7e7","customDomains":["docs.slash.com"],"gitSource":{"type":"github","owner":"slashfi","repo":"slash","deployBranch":"main","contentDirectory":"packages/api-specs/server-api-v2/src/publicApi","isPrivate":true,"mountPath":"","label":""},"entitlements":{"AI_CHAT":{"status":"ENABLED"},"WEB_MCP":{"status":"ENABLED"},"NARRATION":{"status":"ENABLED"}},"buildId":"6b05252141bc7974263e5fce","clientVersion":"0.0.4344","searchFilterCounts":[{"language":"default","tag":"API Reference","count":269},{"language":"default","tag":"Guides","count":52},{"language":"default","tag":"Money movement","count":52},{"language":"default","tag":"Cards","count":45},{"language":"default","tag":"Invoicing","count":34},{"language":"default","tag":"Accounting","count":28},{"language":"default","tag":"Transfers","count":23},{"language":"default","tag":"Entities","count":22},{"language":"default","tag":"Payment Processing","count":19},{"language":"default","tag":"Bill pay","count":17}]},"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":"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":"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":"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":"turbopuffer-dual-write","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":"turbopuffer-serve","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"live-agents","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"starter-pricing","enabled":true,"variant":{"name":"control","enabled":true,"payload":{"type":"string","value":"control"},"feature_enabled":true},"impressionData":false},{"name":"llms-txt-v2","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"wildcard-email-auth","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false}],"starterQuestions":[],"googleFontsInlined":false},"customCss":[{"filePath":"style.css","content":"/* cyrillic-ext */\n@font-face {\n font-family: 'IBM Plex Mono';\n font-style: normal;\n font-weight: 400;\n font-display: swap;\n src: url(/_mintlify/assets/fonts/google/s/ibmplexmono/v23/-F63fjptAgt5VM-kVkqdyU8n1iIq129k.woff2) format('woff2');\n unicode-range: U+0460-052F, U+1C80-1C8A, U+20B4, U+2DE0-2DFF, U+A640-A69F, U+FE2E-FE2F;\n}\n/* cyrillic */\n@font-face {\n font-family: 'IBM Plex Mono';\n font-style: normal;\n font-weight: 400;\n font-display: swap;\n src: url(/_mintlify/assets/fonts/google/s/ibmplexmono/v23/-F63fjptAgt5VM-kVkqdyU8n1isq129k.woff2) format('woff2');\n unicode-range: U+0301, U+0400-045F, U+0490-0491, U+04B0-04B1, U+2116;\n}\n/* symbols2 */\n@font-face {\n font-family: 'IBM Plex Mono';\n font-style: normal;\n font-weight: 400;\n font-display: swap;\n src: url(/_mintlify/assets/fonts/google/s/ibmplexmono/v23/-F63fjptAgt5VM-kVkqdyU8n1pUL8lJdhg.woff2) format('woff2');\n unicode-range: U+2000-2001, U+2004-2008, U+200A, U+23B8-23BD, U+2500-259F;\n}\n/* vietnamese */\n@font-face {\n font-family: 'IBM Plex Mono';\n font-style: normal;\n font-weight: 400;\n font-display: swap;\n src: url(/_mintlify/assets/fonts/google/s/ibmplexmono/v23/-F63fjptAgt5VM-kVkqdyU8n1iAq129k.woff2) format('woff2');\n unicode-range: U+0102-0103, U+0110-0111, U+0128-0129, U+0168-0169, U+01A0-01A1, U+01AF-01B0, U+0300-0301, U+0303-0304, U+0308-0309, U+0323, U+0329, U+1EA0-1EF9, U+20AB;\n}\n/* latin-ext */\n@font-face {\n font-family: 'IBM Plex Mono';\n font-style: normal;\n font-weight: 400;\n font-display: swap;\n src: url(/_mintlify/assets/fonts/google/s/ibmplexmono/v23/-F63fjptAgt5VM-kVkqdyU8n1iEq129k.woff2) format('woff2');\n unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C4, U+2113, U+2C60-2C7F, U+A720-A7FF;\n}\n/* latin */\n@font-face {\n font-family: 'IBM Plex Mono';\n font-style: normal;\n font-weight: 400;\n font-display: swap;\n src: url(/_mintlify/assets/fonts/google/s/ibmplexmono/v23/-F63fjptAgt5VM-kVkqdyU8n1i8q1w.woff2) format('woff2');\n unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;\n}\n/* cyrillic-ext */\n@font-face {\n font-family: 'IBM Plex Mono';\n font-style: normal;\n font-weight: 500;\n font-display: swap;\n src: url(/_mintlify/assets/fonts/google/s/ibmplexmono/v23/-F6qfjptAgt5VM-kVkqdyU8n3twJwl1FgtIU.woff2) format('woff2');\n unicode-range: U+0460-052F, U+1C80-1C8A, U+20B4, U+2DE0-2DFF, U+A640-A69F, U+FE2E-FE2F;\n}\n/* cyrillic */\n@font-face {\n font-family: 'IBM Plex Mono';\n font-style: normal;\n font-weight: 500;\n font-display: swap;\n src: url(/_mintlify/assets/fonts/google/s/ibmplexmono/v23/-F6qfjptAgt5VM-kVkqdyU8n3twJwlRFgtIU.woff2) format('woff2');\n unicode-range: U+0301, U+0400-045F, U+0490-0491, U+04B0-04B1, U+2116;\n}\n/* symbols2 */\n@font-face {\n font-family: 'IBM Plex Mono';\n font-style: normal;\n font-weight: 500;\n font-display: swap;\n src: url(/_mintlify/assets/fonts/google/s/ibmplexmono/v23/-F6qfjptAgt5VM-kVkqdyU8n3twJwupkp-8tFQ.woff2) format('woff2');\n unicode-range: U+2000-2001, U+2004-2008, U+200A, U+23B8-23BD, U+2500-259F;\n}\n/* vietnamese */\n@font-face {\n font-family: 'IBM Plex Mono';\n font-style: normal;\n font-weight: 500;\n font-display: swap;\n src: url(/_mintlify/assets/fonts/google/s/ibmplexmono/v23/-F6qfjptAgt5VM-kVkqdyU8n3twJwl9FgtIU.woff2) format('woff2');\n unicode-range: U+0102-0103, U+0110-0111, U+0128-0129, U+0168-0169, U+01A0-01A1, U+01AF-01B0, U+0300-0301, U+0303-0304, U+0308-0309, U+0323, U+0329, U+1EA0-1EF9, U+20AB;\n}\n/* latin-ext */\n@font-face {\n font-family: 'IBM Plex Mono';\n font-style: normal;\n font-weight: 500;\n font-display: swap;\n src: url(/_mintlify/assets/fonts/google/s/ibmplexmono/v23/-F6qfjptAgt5VM-kVkqdyU8n3twJwl5FgtIU.woff2) format('woff2');\n unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C4, U+2113, U+2C60-2C7F, U+A720-A7FF;\n}\n/* latin */\n@font-face {\n font-family: 'IBM Plex Mono';\n font-style: normal;\n font-weight: 500;\n font-display: swap;\n src: url(/_mintlify/assets/fonts/google/s/ibmplexmono/v23/-F6qfjptAgt5VM-kVkqdyU8n3twJwlBFgg.woff2) format('woff2');\n unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;\n}\n/* cyrillic-ext */\n@font-face {\n font-family: 'IBM Plex Mono';\n font-style: normal;\n font-weight: 600;\n font-display: swap;\n src: url(/_mintlify/assets/fonts/google/s/ibmplexmono/v23/-F6qfjptAgt5VM-kVkqdyU8n3vAOwl1FgtIU.woff2) format('woff2');\n unicode-range: U+0460-052F, U+1C80-1C8A, U+20B4, U+2DE0-2DFF, U+A640-A69F, U+FE2E-FE2F;\n}\n/* cyrillic */\n@font-face {\n font-family: 'IBM Plex Mono';\n font-style: normal;\n font-weight: 600;\n font-display: swap;\n src: url(/_mintlify/assets/fonts/google/s/ibmplexmono/v23/-F6qfjptAgt5VM-kVkqdyU8n3vAOwlRFgtIU.woff2) format('woff2');\n unicode-range: U+0301, U+0400-045F, U+0490-0491, U+04B0-04B1, U+2116;\n}\n/* symbols2 */\n@font-face {\n font-family: 'IBM Plex Mono';\n font-style: normal;\n font-weight: 600;\n font-display: swap;\n src: url(/_mintlify/assets/fonts/google/s/ibmplexmono/v23/-F6qfjptAgt5VM-kVkqdyU8n3vAOwupkp-8tFQ.woff2) format('woff2');\n unicode-range: U+2000-2001, U+2004-2008, U+200A, U+23B8-23BD, U+2500-259F;\n}\n/* vietnamese */\n@font-face {\n font-family: 'IBM Plex Mono';\n font-style: normal;\n font-weight: 600;\n font-display: swap;\n src: url(/_mintlify/assets/fonts/google/s/ibmplexmono/v23/-F6qfjptAgt5VM-kVkqdyU8n3vAOwl9FgtIU.woff2) format('woff2');\n unicode-range: U+0102-0103, U+0110-0111, U+0128-0129, U+0168-0169, U+01A0-01A1, U+01AF-01B0, U+0300-0301, U+0303-0304, U+0308-0309, U+0323, U+0329, U+1EA0-1EF9, U+20AB;\n}\n/* latin-ext */\n@font-face {\n font-family: 'IBM Plex Mono';\n font-style: normal;\n font-weight: 600;\n font-display: swap;\n src: url(/_mintlify/assets/fonts/google/s/ibmplexmono/v23/-F6qfjptAgt5VM-kVkqdyU8n3vAOwl5FgtIU.woff2) format('woff2');\n unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C4, U+2113, U+2C60-2C7F, U+A720-A7FF;\n}\n/* latin */\n@font-face {\n font-family: 'IBM Plex Mono';\n font-style: normal;\n font-weight: 600;\n font-display: swap;\n src: url(/_mintlify/assets/fonts/google/s/ibmplexmono/v23/-F6qfjptAgt5VM-kVkqdyU8n3vAOwlBFgg.woff2) format('woff2');\n unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;\n}\n:root{--slash-text: #24231f;--slash-muted: #716f67;--slash-gold: #8a6f08;--slash-sheet: #ffffff;--slash-chrome: #f7f7f4;--slash-surface: rgba(255, 255, 255, 0.86);--slash-control: #ffffff;--slash-hover: rgba(28, 28, 24, 0.04);--slash-hairline: rgba(28, 28, 24, 0.07);--slash-hairline-strong: rgba(28, 28, 24, 0.11);--slash-inline-code-border: rgba(28, 28, 24, 0.16);--slash-inline-code-bg: rgba(28, 28, 24, 0.045);--slash-hook-tint: rgba(139, 92, 246, 0.2);--slash-hook-ink: #6d28d9;--slash-hook-solid: #7c3aed;--slash-radius-inline: 4px;--slash-radius-chip: 6px;--slash-radius-control: 8px;--slash-radius-surface: 12px;--slash-radius-dialog: 16px;--slash-inset-surface: calc(\n var(--slash-radius-surface) -\n var(--slash-radius-control)\n );--slash-inset-dialog: calc(\n var(--slash-radius-dialog) -\n var(--slash-radius-control)\n );--slash-type-caps: 0.72rem;--slash-type-caption: 0.78rem;--slash-type-small: 0.8125rem;--slash-type-label: 0.875rem;--slash-weight-medium: 550;--slash-weight-strong: 600;--slash-weight-heading: 650;--slash-ease-fast: 120ms ease;--slash-ease: 150ms ease;--slash-lift:\n 0 1px 1px rgba(20, 18, 10, 0.03), 0 1px 3px rgba(20, 18, 10, 0.05);--slash-raise:\n 0 1px 2px rgba(20, 18, 10, 0.04), 0 10px 28px -14px rgba(20, 18, 10, 0.16);--slash-control-shadow:\n 0 0 0 1px rgba(28, 28, 24, 0.08), 0 1px 2px rgba(20, 18, 10, 0.06),\n 0 4px 10px -4px rgba(20, 18, 10, 0.12);--slash-control-shadow-active:\n 0 0 0 1px rgba(28, 28, 24, 0.1), 0 1px 2px rgba(20, 18, 10, 0.07),\n 0 6px 14px -6px rgba(20, 18, 10, 0.16);--slash-popover-shadow:\n 0 0 0 1px rgba(28, 28, 24, 0.08), 0 2px 4px rgba(20, 18, 10, 0.04),\n 0 12px 28px -8px rgba(20, 18, 10, 0.16);--slash-dialog-shadow:\n 0 0 0 1px rgba(28, 28, 24, 0.08), 0 4px 8px rgba(20, 18, 10, 0.04),\n 0 24px 56px -12px rgba(20, 18, 10, 0.22)}.dark{--slash-text: #f1efe8;--slash-muted: #aaa69a;--slash-gold: #dfb725;--slash-sheet: #1a1a17;--slash-chrome: #131311;--slash-surface: rgba(27, 27, 24, 0.86);--slash-control: #23231f;--slash-hover: rgba(255, 255, 255, 0.05);--slash-hairline: rgba(255, 255, 255, 0.07);--slash-hairline-strong: rgba(255, 255, 255, 0.12);--slash-inline-code-border: rgba(255, 255, 255, 0.18);--slash-inline-code-bg: rgba(255, 255, 255, 0.075);--slash-hook-ink: #c4b5fd;--slash-lift: 0 1px 2px rgba(0, 0, 0, 0.35);--slash-raise:\n 0 1px 2px rgba(0, 0, 0, 0.4), 0 10px 28px -14px rgba(0, 0, 0, 0.7);--slash-control-shadow:\n inset 0 1px 0 rgba(255, 255, 255, 0.05),\n 0 0 0 1px rgba(255, 255, 255, 0.07), 0 1px 2px rgba(0, 0, 0, 0.5),\n 0 4px 12px -4px rgba(0, 0, 0, 0.6);--slash-control-shadow-active:\n inset 0 1px 0 rgba(255, 255, 255, 0.06),\n 0 0 0 1px rgba(255, 255, 255, 0.09), 0 1px 2px rgba(0, 0, 0, 0.5),\n 0 6px 16px -6px rgba(0, 0, 0, 0.7);--slash-popover-shadow:\n inset 0 1px 0 rgba(255, 255, 255, 0.05),\n 0 0 0 1px rgba(255, 255, 255, 0.08), 0 2px 4px rgba(0, 0, 0, 0.4),\n 0 12px 28px -8px rgba(0, 0, 0, 0.7);--slash-dialog-shadow:\n inset 0 1px 0 rgba(255, 255, 255, 0.06),\n 0 0 0 1px rgba(255, 255, 255, 0.08), 0 4px 8px rgba(0, 0, 0, 0.4),\n 0 24px 56px -12px rgba(0, 0, 0, 0.8)}code,pre,pre *,kbd,samp,.font-mono{font-family:\"IBM Plex Mono\", ui-monospace, SFMono-Regular, Menlo, monospace}:is(#content-area,[data-testid=\"api-playground-modal\"]) code:not(pre code){padding:0.08em 0.28em;border:1px solid var(--slash-inline-code-border);border-radius:var(--slash-radius-inline);background:var(--slash-inline-code-bg);box-decoration-break:clone;-webkit-box-decoration-break:clone;font-size:0.86em;font-weight:500;letter-spacing:-0.015em;box-shadow:none}#content-area :is(h1,h2,h3){letter-spacing:-0.025em}#content-area h1{font-weight:var(--slash-weight-heading)}#content-area table th{color:var(--slash-muted);font-size:var(--slash-type-caps);font-weight:var(--slash-weight-strong);letter-spacing:0.04em;text-transform:uppercase}#sidebar{background-color:var(--slash-chrome);border-right-color:var(--slash-hairline)}#header{padding-bottom:1.75rem;border-bottom:1px solid var(--slash-hairline)}#navbar{background-color:color-mix(in srgb, var(--slash-sheet) 82%, transparent);border-bottom:1px solid var(--slash-hairline);backdrop-filter:saturate(1.4) blur(12px)}#table-of-contents a{border-left-color:transparent}.code-block,.code-group,[data-testid=\"code-group-select\"],.card,.callout,.accordion-group,#content-area table,.mermaid{border:1px solid var(--slash-hairline-strong);border-radius:var(--slash-radius-surface);box-shadow:var(--slash-lift)}.card:hover{box-shadow:var(--slash-raise)}#sidebar-content .sidebar-group a.border-primary,:is(#search-bar-entry,#assistant-entry),#page-context-menu,html[data-theme-preference] [data-theme-preference-switch]>.theme-preference-switch-option[data-theme-preference-value][aria-pressed=\"true\"]{background-color:var(--slash-control)}#sidebar-content .sidebar-group a.border-primary,:is(#search-bar-entry,#assistant-entry),#page-context-menu,#sidebar>ul button[aria-haspopup=\"menu\"],html[data-theme-preference] [data-theme-preference-switch]>.theme-preference-switch-option[data-theme-preference-value][aria-pressed=\"true\"]{box-shadow:var(--slash-control-shadow)}#sidebar>ul button[aria-haspopup=\"menu\"]:is(:hover,[aria-expanded=\"true\"]),#page-context-menu:has([aria-expanded=\"true\"]){box-shadow:var(--slash-control-shadow-active)}#sidebar-content .sidebar-group :is(a,button):not(.border-primary):hover,#sidebar>ul a:hover,#page-context-menu>button:is(:hover,[aria-expanded=\"true\"]){background-color:var(--slash-hover)}#sidebar-content .sidebar-group :is(a,button),#sidebar>ul a,#page-context-menu>button{transition:background-color var(--slash-ease-fast),\n color var(--slash-ease-fast)}#sidebar>ul button[aria-haspopup=\"menu\"],#page-context-menu{transition:box-shadow var(--slash-ease)}.sidebar-group-header{color:var(--slash-text);font-size:var(--slash-type-small);font-weight:var(--slash-weight-strong);letter-spacing:-0.01em}.sidebar-group-header svg{color:var(--slash-muted)}#sidebar-content .sidebar-group :is(a,button){width:100%;margin-left:0;border-left-width:0;border-radius:var(--slash-radius-control)}#sidebar-content .sidebar-group :is(li+li,li>ul){margin-top:2px}#sidebar-content .sidebar-group a.border-primary{color:var(--slash-text);font-weight:var(--slash-weight-medium);text-shadow:none}#sidebar>ul{background-color:transparent;border-top-color:var(--slash-hairline)}#sidebar>ul a{border-radius:var(--slash-radius-control);color:var(--slash-muted)}#sidebar>ul a:hover{color:var(--slash-text)}#sidebar>ul button[aria-haspopup=\"menu\"]{margin-top:0.5rem;padding-left:1rem;background-image:linear-gradient(var(--slash-control), var(--slash-control));color:var(--slash-text)}:is(#search-bar-entry,#assistant-entry){border-radius:var(--slash-radius-control)}:is(div[data-radix-menu-content],[data-base-ui-portal] [role=\"menu\"]){padding:var(--slash-inset-surface);border:0;border-radius:var(--slash-radius-surface);background-color:var(--slash-control);box-shadow:var(--slash-popover-shadow)}:is(div[data-radix-menu-content],[data-base-ui-portal] [role=\"menu\"]) [role^=\"menuitem\"]{border-radius:var(--slash-radius-control);outline-color:transparent!important}:is(div[data-radix-menu-content],[data-base-ui-portal] [role=\"menu\"]) [role^=\"menuitem\"][data-highlighted]{background-color:var(--slash-hover)}:is(div[data-radix-menu-content],[data-base-ui-portal] [role=\"menu\"])[data-align=\"start\"] [role^=\"menuitem\"]{padding-left:calc(1rem - var(--slash-inset-surface))}[data-component-part=\"search-modal\"]{border-radius:var(--slash-radius-dialog);background-color:var(--slash-control);box-shadow:var(--slash-dialog-shadow)}[data-component-part=\"search-modal\"] [data-component-part=\"search-header\"]{padding:var(--slash-inset-dialog) var(--slash-inset-dialog) 0}[data-component-part=\"search-modal\"]:has([data-component-part=\"search-footer\"]) [data-component-part=\"search-header\"]{border-bottom:1px solid var(--slash-hairline)}[data-component-part=\"search-modal\"] [data-component-part=\"search-input-container\"]{padding-left:0;border:0;border-radius:var(--slash-radius-control);background-color:transparent}[data-component-part=\"search-modal\"] [data-component-part=\"search-input-container\"]>svg{left:0.5rem}[data-component-part=\"search-modal\"] [data-component-part=\"search-input\"]{padding-left:2rem}[data-component-part=\"search-modal\"] [data-component-part=\"search-list\"]{padding:var(--slash-inset-dialog);padding-bottom:0}[data-component-part=\"search-modal\"] :is([data-component-part=\"search-ask-ai-button\"],[data-component-part=\"search-item\"],[data-component-part=\"search-ask-ai-item\"]){border-radius:var(--slash-radius-control)}[data-component-part=\"search-modal\"] :is([data-component-part=\"search-item\"],[data-component-part=\"search-ask-ai-item\"])[data-highlighted]{background-color:var(--slash-hover)}[data-component-part=\"search-modal\"] [data-component-part=\"search-item\"]>div{border-radius:var(--slash-radius-chip)}[data-component-part=\"search-modal\"] [data-component-part=\"search-group-label\"]{padding-inline:0.5rem}[data-component-part=\"search-modal\"] [data-component-part=\"search-footer\"]{margin-inline:var(--slash-inset-dialog);padding-left:0.5rem;border-top-color:var(--slash-hairline)}[data-testid=\"api-playground-modal\"]{border-radius:var(--slash-radius-dialog)}#content-area table{overflow:hidden}[data-component-part=\"code-block-root\"]{border-radius:calc(var(--slash-radius-surface) - 3px)}.code-block>[data-component-part=\"code-block-root\"]{border-radius:calc(var(--slash-radius-surface) - 1px)}.callout:is([data-callout-type=\"note\"],[data-callout-type=\"info\"]){background-color:var(--slash-chrome);border-color:var(--slash-hairline-strong)}#content-area .field{border-bottom-color:var(--slash-hairline)}#content-area [data-component-part=\"field-name\"]{color:var(--slash-text)}.mermaid{overflow-x:auto;scrollbar-gutter:stable;margin:1.5rem 0 2rem;padding:1.25rem;background:var(--slash-surface)}.mermaid svg[aria-roledescription=\"sequence\"]{min-width:860px}.mermaid svg[aria-roledescription=\"flowchart-v2\"]{min-width:0;max-width:100%;height:auto}details>[data-component-part=\"accordion-button\"]:hover{background-color:transparent}#content-area details>[data-component-part=\"accordion-button\"]{gap:0.5rem;padding:0.625rem 0.875rem}#content-area [data-component-part=\"accordion-caret-right\"]{align-self:flex-start;width:0.75rem;height:0.75rem;margin:0.25rem 0 0;color:var(--slash-muted)}#content-area [data-component-part=\"accordion-caret-right\"]>svg{display:none}#content-area [data-component-part=\"accordion-caret-right\"]::before{content:\"\";display:block;width:100%;height:100%;background-color:currentColor;mask:url(\"data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 18 18' fill='none' stroke='black' stroke-width='1.75' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M6.75 3.75 12 9l-5.25 5.25'/%3E%3C/svg%3E\")\n center / contain no-repeat;transition:transform var(--slash-ease)}#content-area [aria-expanded=\"true\"]>[data-component-part=\"accordion-caret-right\"]::before{transform:rotate(90deg)}#content-area [data-component-part=\"accordion-title\"]{color:var(--slash-text);font-size:var(--slash-type-label);font-weight:var(--slash-weight-medium);line-height:1.25rem;letter-spacing:-0.01em}#content-area [data-component-part=\"accordion-description\"]{color:var(--slash-muted);font-size:var(--slash-type-caption);line-height:1.15rem}#content-area details>[data-component-part=\"accordion-content\"]{margin-inline:0;padding:0 0.875rem 0.75rem;font-size:var(--slash-type-small);line-height:1.25rem}#content-area .webhook-event-catalog [data-component-part=\"accordion-content\"],#content-area .mcp-tool-catalog [data-component-part=\"accordion-content\"]{padding-block:0.875rem}#content-area a.mcp-connect-button{display:inline-flex;align-items:center;gap:0.5rem;margin:0.25rem 0.25rem 0;padding:0.5rem 0.875rem;border:0;border-radius:var(--slash-radius-control);background-color:var(--slash-control);box-shadow:var(--slash-control-shadow);color:var(--slash-text);font-size:var(--slash-type-label);font-weight:var(--slash-weight-medium);line-height:1.25rem;text-decoration:none;transition:box-shadow var(--slash-ease)}#content-area a.mcp-connect-button>svg{width:1rem;height:1rem;flex:none}#content-area a.mcp-connect-button:hover{box-shadow:var(--slash-control-shadow-active)}#content-area .mcp-tool-catalog th:first-child{width:45%}.webhook-event-details{align-items:start;gap:1.25rem}.webhook-event-details>*{min-width:0}.method-pill{border-radius:var(--slash-radius-chip)}#page-context-menu{width:fit-content;border-radius:var(--slash-radius-control)}#page-context-menu>button{border-color:transparent;background-color:transparent;color:var(--slash-text)}#page-context-menu-button{border-radius:var(--slash-radius-control) 0 0 var(--slash-radius-control)}#page-context-menu>[aria-haspopup=\"menu\"]{border-radius:0 var(--slash-radius-control) var(--slash-radius-control) 0;box-shadow:inset 1px 0 0 var(--slash-hairline-strong);color:var(--slash-muted)}#page-context-menu>button:is(:hover,[aria-expanded=\"true\"]){color:var(--slash-text)}[data-theme-preference-switch]{width:auto;gap:2px;padding:2px;border:0;border-radius:var(--slash-radius-control);background-color:var(--slash-hover);box-shadow:inset 0 0 0 1px var(--slash-hairline)}[data-theme-preference-switch]>.theme-preference-switch-option{height:100%;width:auto;aspect-ratio:1;border-radius:calc(var(--slash-radius-control) - 2px);color:var(--slash-muted);transition:background-color var(--slash-ease),\n box-shadow var(--slash-ease),\n color var(--slash-ease)}[data-theme-preference-switch]>.theme-preference-switch-option:hover{color:var(--slash-text)}html[data-theme-preference] [data-theme-preference-switch]>.theme-preference-switch-option[data-theme-preference-value][aria-pressed=\"true\"]{color:var(--slash-text)}#pagination,#footer,.chat-assistant-floating-input{display:none}[role=\"menu\"] [role=\"menuitem\"]:has(>.rounded-md.border){align-items:center;gap:0.5rem}[role=\"menu\"] [role=\"menuitem\"]>.rounded-md.border{margin-top:0;border-color:transparent;border-radius:var(--slash-radius-chip);background-color:var(--slash-chrome);box-shadow:inset 0 0 0 1px var(--slash-hairline);color:var(--slash-muted)}[role=\"menu\"] [role=\"menuitem\"]:has(>.rounded-md.border)>div:last-child>:first-child{color:var(--slash-text)}[role=\"menu\"] [role=\"menuitem\"]:has(>.rounded-md.border)>div:last-child>:last-child{color:var(--slash-muted)}div:has(>div>#chat-assistant-textarea){border-color:var(--slash-hairline-strong);border-radius:var(--slash-radius-surface);background-color:var(--slash-control);box-shadow:var(--slash-lift)}div:has(>div>#chat-assistant-textarea):focus-within{border-color:var(--slash-gold)}#headlessui-portal-root .shadow-search{border-radius:var(--slash-radius-dialog)}[data-testid=\"api-playground-modal\"] .rounded-2xl{border-radius:var(--slash-radius-surface)}[data-testid=\"api-playground-modal\"] .rounded-t-2xl{border-top-left-radius:var(--slash-radius-surface);border-top-right-radius:var(--slash-radius-surface)}.frame,.frame>.border{border-radius:var(--slash-radius-surface)}.frame>.relative{border-radius:calc(var(--slash-radius-surface) - 8px)}#api-playground-2-operation-page div:has(>div>.tryit-button){padding:calc(var(--slash-inset-surface) - 1px);border-radius:var(--slash-radius-surface)}.tryit-button,div:has(>.method-pill),.code-group [class*=\"rounded-[10px]\"]{border-radius:var(--slash-radius-control)}#api-playground-2-operation-page div:has(>div>.tryit-button) div:has(>.method-pill){border-color:transparent}#sidebar-content a[href*=\"/webhooks/\"] .method-nav-pill>span,[data-method=\"hook\"][class*=\"bg-blue-400/20\"]{background-color:var(--slash-hook-tint);color:var(--slash-hook-ink)}#sidebar-content a[href*=\"/webhooks/\"].border-primary .method-nav-pill>span,[data-method=\"hook\"][class*=\"text-[#FFFFFF]\"]{background-color:var(--slash-hook-solid);color:#ffffff}"}]}
{"page":{"pagePath":"api-reference/virtual-account-post","slug":"/api-reference/virtual-account-post","pageMetadata":{"title":"Create virtual account","openapi":"post /virtual-account","description":null,"href":"/api-reference/virtual-account-post"},"pageType":"default","mdx":{"mdxSource":{"compiledSource":"\"use strict\";const{Fragment:_Fragment,jsx:_jsx}=arguments[0];const{useMDXComponents:_provideComponents}=arguments[0];function _createMdxContent(props){return _jsx(_Fragment,{})}function MDXContent(props={}){const{wrapper:MDXLayout}={..._provideComponents(),...props.components};return MDXLayout?_jsx(MDXLayout,{...props,children:_jsx(_createMdxContent,{...props})}):_createMdxContent(props)}return{default:MDXContent}","frontmatter":{},"scope":{"config":{},"pageMetadata":{"title":"Create virtual account","openapi":"post /virtual-account","description":null,"href":"/api-reference/virtual-account-post"}}},"mdxSourceWithNoJs":null},"mdxExtracts":{"tableOfContents":[],"codeExamples":{}},"jsLinks":["/_mintlify/custom/slash-9da6c7e7/83b6eff69ed8220d/scripts/build.js","/_mintlify/custom/slash-9da6c7e7/ea21b70a7b3e1be7/scripts/check.js","/_mintlify/custom/slash-9da6c7e7/378d9c63be22bfe7/scripts/generate-webhook-event-schema.js","/_mintlify/custom/slash-9da6c7e7/6ed240c9ac8b3e96/webhook-event-switcher.js","/_mintlify/custom/slash-9da6c7e7/198eb44fb20c3d16/hook-badge.js","/_mintlify/custom/slash-9da6c7e7/6dcb3de6dc61dda5/scripts/generate-purpose-code-docs.js"],"openApiReferenceData":{"operation":{"summary":"Create a virtual account","tags":[],"requestBody":"76768dcc-6736-43f7-9d66-956c4d8cd86d","responses":{"201":"5418b1a6-e16d-460a-bb9d-f94310d005fc","401":"9e1d9f3f-993f-4534-bfed-b2dcb03eb134","403":"9aa274bb-77f1-4553-a7ac-69af1e365189","429":"7a84a295-2d67-4634-b865-44152fb413d8","500":"eba97eeb-fa47-48c3-9ec9-9b737e8e2b6a"},"security":["fb580f73-91e0-4aab-a9d5-a0dfe8c5b827","d48181f8-7c6f-4d7f-869e-980f206d8fbc"],"method":"post","type":"path","servers":["0d8c15d0-0007-4a2c-a3fd-d79f22ff4431"],"path":"/virtual-account","baseUrlOptions":["https://api.slash.com"],"title":"Create a virtual account","description":"","codeSamples":[],"requestExampleLanguages":["bash","javascript","python","go"],"requiredOnlyExamples":false,"requestExampleType":"generated","responseExampleType":"generated","prefillPlaygroundWithExample":true,"prefillPlaygroundExamples":[{"body.accountId":"\u003cstring>","body.name":"\u003cstring>","body.commissionDetails.oneOf.0.type":"flatFee","body.commissionDetails.oneOf.0.amount.amountCents":123,"body.commissionDetails.oneOf.0.startDate":"2023-11-07T05:31:56Z"}]},"dependencies":{"parameters":{},"requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","properties":{"accountId":{"type":"string","description":"The account ID the virtual account should be created under.","isRequired":true,"uniqueKey":"accountId","typeLabel":"string"},"name":{"type":"string","description":"The name of the virtual account","isRequired":true,"uniqueKey":"name","typeLabel":"string"},"commissionDetails":{"oneOf":[{"type":"object","title":"VirtualAccountCommissionDetails","description":"Specifies how much of the virtual account's incoming funds should be diverted to the primary account","required":["type","frequency","amount"],"x-entrypoint":{"virtualPath":"schemas/VirtualAccountCommissionDetails","sourcePath":"schemas/VirtualAccountCommissionDetails.yaml","title":"VirtualAccountCommissionDetails","origin":"./src/publicApi"},"properties":{"type":{"type":"string","enum":["flatFee"],"description":"The type of the commission rule. A type of flat_fee will take a flat fee from the virtual account and transfer it to the primary account\nwith the frequency of the collection defined as monthly or yearly.\n","isRequired":true,"uniqueKey":"commissionDetails.oneOf.0.type","typeLabel":"enum\u003cstring>"},"amount":{"type":"object","description":"The amount of money to be diverted from the virtual account if the type of rule is flat_fee.","properties":{"amountCents":{"type":"integer","description":"The amount in cents","isRequired":true,"uniqueKey":"commissionDetails.oneOf.0.amount.amountCents","typeLabel":"integer"}},"required":["amountCents"],"x-entrypoint":{"virtualPath":"schemas/Money","sourcePath":"schemas/Money.yaml","title":"Money","origin":"./src/publicApi"},"title":"Money","isRequired":true,"uniqueKey":"commissionDetails.oneOf.0.amount","typeLabel":"Money · object"},"frequency":{"type":"string","enum":["monthly","yearly"],"description":"The frequency from the start date that the rule will be applied. E.g. a start date of November 26, 2024 with a frequency of \"monthly\"\nwill have the rule applied on December 26, 2024. If the frequency was \"yearly\", the rule would be applied again on November 26, 2025.\n","isRequired":true,"uniqueKey":"commissionDetails.oneOf.0.frequency","typeLabel":"enum\u003cstring>"},"startDate":{"type":"string","format":"date-time","description":"The date that the rule will begin to take effect.","uniqueKey":"commissionDetails.oneOf.0.startDate","typeLabel":"string\u003cdate-time>"}},"uniqueKey":"commissionDetails.oneOf.0","typeLabel":"VirtualAccountCommissionDetails · object"},{"type":"object","title":"VirtualAccountCommissionDetails","description":"Specifies how much of the virtual account's incoming funds should be diverted to the primary account","required":["type","takeRate"],"x-entrypoint":{"virtualPath":"schemas/VirtualAccountCommissionDetails","sourcePath":"schemas/VirtualAccountCommissionDetails.yaml","title":"VirtualAccountCommissionDetails","origin":"./src/publicApi"},"properties":{"type":{"type":"string","enum":["takeRate"],"description":"The type of the commission rule. A type of take_rate will take a percent of the virtual account's funds and divert them to\nthe primary account.\n","isRequired":true,"uniqueKey":"commissionDetails.oneOf.1.type","typeLabel":"enum\u003cstring>"},"takeRate":{"type":"number","description":"The percentage of funds to divert from the virtual account to the primary account.","isRequired":true,"uniqueKey":"commissionDetails.oneOf.1.takeRate","typeLabel":"number"}},"uniqueKey":"commissionDetails.oneOf.1","typeLabel":"VirtualAccountCommissionDetails · object"}],"uniqueKey":"commissionDetails","typeLabel":"VirtualAccountCommissionDetails · object"}},"required":["name","accountId"],"uniqueKey":"","typeLabel":"object"},"examples":{"Example":{"title":"Example","value":{"accountId":"\u003cstring>","name":"\u003cstring>","commissionDetails":{"type":"flatFee","amount":{"amountCents":123},"startDate":"2023-11-07T05:31:56Z"}}}},"exampleType":"generated"}},"exampleType":"generated"},"responses":{"5418b1a6-e16d-460a-bb9d-f94310d005fc":{"description":"OK","content":{"application/json":{"schema":{"type":"object","properties":{"virtualAccount":{"type":"object","properties":{"id":{"type":"string","description":"The ID of the virtual account.","isRequired":true,"uniqueKey":"virtualAccount.id","typeLabel":"string"},"name":{"type":"string","description":"The name of the virtual account.","isRequired":true,"uniqueKey":"virtualAccount.name","typeLabel":"string"},"accountId":{"type":"string","description":"The account ID of the Slash account the virtual account is associated with.","isRequired":true,"uniqueKey":"virtualAccount.accountId","typeLabel":"string"},"accountType":{"type":"string","enum":["default","primary"],"description":"The account type of the virtual account. Since virtual accounts and Slash accounts exist at the same hierarchy level,\nan account type of 'primary' means it is the main Slash account, while an account type of 'default' means it is a virtual account\nunder the main account.\n","isRequired":true,"uniqueKey":"virtualAccount.accountType","typeLabel":"enum\u003cstring>"},"accountNumber":{"type":"string","description":"The account number of the virtual account.","uniqueKey":"virtualAccount.accountNumber","typeLabel":"string"},"routingNumber":{"type":"string","description":"The routing number of the virtual account.","uniqueKey":"virtualAccount.routingNumber","typeLabel":"string"},"closedAt":{"type":"string","description":"The date the virtual account was closed; will be null if account was never closed.","uniqueKey":"virtualAccount.closedAt","typeLabel":"string"}},"description":"The virtual account object","required":["id","name","accountId","accountType"],"x-entrypoint":{"virtualPath":"schemas/VirtualAccountModel","sourcePath":"schemas/VirtualAccountModel.yaml","title":"VirtualAccountModel","origin":"./src/publicApi"},"title":"VirtualAccountModel","isRequired":true,"uniqueKey":"virtualAccount","typeLabel":"VirtualAccountModel · object"},"commissionRule":{"type":"object","properties":{"id":{"type":"string","description":"The ID of the commission rule","isRequired":true,"uniqueKey":"commissionRule.id","typeLabel":"string"},"virtualAccountId":{"type":"string","description":"The ID of the virtual account the commission rule is applied to","isRequired":true,"uniqueKey":"commissionRule.virtualAccountId","typeLabel":"string"},"commissionDetails":{"oneOf":[{"type":"object","title":"VirtualAccountCommissionDetails","description":"Describes details of the commission rule.","required":["type","frequency","amount"],"x-entrypoint":{"virtualPath":"schemas/VirtualAccountCommissionDetails","sourcePath":"schemas/VirtualAccountCommissionDetails.yaml","title":"VirtualAccountCommissionDetails","origin":"./src/publicApi"},"properties":{"type":{"type":"string","enum":["flatFee"],"description":"The type of the commission rule. A type of flat_fee will take a flat fee from the virtual account and transfer it to the primary account\nwith the frequency of the collection defined as monthly or yearly.\n","isRequired":true,"uniqueKey":"commissionRule.commissionDetails.oneOf.0.type","typeLabel":"enum\u003cstring>"},"amount":{"type":"object","description":"The amount of money to be diverted from the virtual account if the type of rule is flat_fee.","properties":{"amountCents":{"type":"integer","description":"The amount in cents","isRequired":true,"uniqueKey":"commissionRule.commissionDetails.oneOf.0.amount.amountCents","typeLabel":"integer"}},"required":["amountCents"],"x-entrypoint":{"virtualPath":"schemas/Money","sourcePath":"schemas/Money.yaml","title":"Money","origin":"./src/publicApi"},"title":"Money","isRequired":true,"uniqueKey":"commissionRule.commissionDetails.oneOf.0.amount","typeLabel":"Money · object"},"frequency":{"type":"string","enum":["monthly","yearly"],"description":"The frequency from the start date that the rule will be applied. E.g. a start date of November 26, 2024 with a frequency of \"monthly\"\nwill have the rule applied on December 26, 2024. If the frequency was \"yearly\", the rule would be applied again on November 26, 2025.\n","isRequired":true,"uniqueKey":"commissionRule.commissionDetails.oneOf.0.frequency","typeLabel":"enum\u003cstring>"},"startDate":{"type":"string","format":"date-time","description":"The date that the rule will begin to take effect.","uniqueKey":"commissionRule.commissionDetails.oneOf.0.startDate","typeLabel":"string\u003cdate-time>"}},"isRequired":true,"uniqueKey":"commissionRule.commissionDetails.oneOf.0","typeLabel":"VirtualAccountCommissionDetails · object"},{"type":"object","title":"VirtualAccountCommissionDetails","description":"Describes details of the commission rule.","required":["type","takeRate"],"x-entrypoint":{"virtualPath":"schemas/VirtualAccountCommissionDetails","sourcePath":"schemas/VirtualAccountCommissionDetails.yaml","title":"VirtualAccountCommissionDetails","origin":"./src/publicApi"},"properties":{"type":{"type":"string","enum":["takeRate"],"description":"The type of the commission rule. A type of take_rate will take a percent of the virtual account's funds and divert them to\nthe primary account.\n","isRequired":true,"uniqueKey":"commissionRule.commissionDetails.oneOf.1.type","typeLabel":"enum\u003cstring>"},"takeRate":{"type":"number","description":"The percentage of funds to divert from the virtual account to the primary account.","isRequired":true,"uniqueKey":"commissionRule.commissionDetails.oneOf.1.takeRate","typeLabel":"number"}},"isRequired":true,"uniqueKey":"commissionRule.commissionDetails.oneOf.1","typeLabel":"VirtualAccountCommissionDetails · object"}],"isRequired":true,"uniqueKey":"commissionRule.commissionDetails","typeLabel":"VirtualAccountCommissionDetails · object"}},"description":"The virtual account commission rule object","required":["id","virtualAccountId","commissionDetails"],"x-entrypoint":{"virtualPath":"schemas/VirtualAccountCommissionRule","sourcePath":"schemas/VirtualAccountCommissionRule.yaml","title":"VirtualAccountCommissionRule","origin":"./src/publicApi"},"title":"VirtualAccountCommissionRule","uniqueKey":"commissionRule","typeLabel":"VirtualAccountCommissionRule · object"}},"required":["virtualAccount"],"uniqueKey":"","typeLabel":"object"},"examples":{"Example":{"title":"Example","value":{"virtualAccount":{"id":"\u003cstring>","name":"\u003cstring>","accountId":"\u003cstring>","accountType":"default","accountNumber":"\u003cstring>","routingNumber":"\u003cstring>","closedAt":"\u003cstring>"},"commissionRule":{"id":"\u003cstring>","virtualAccountId":"\u003cstring>","commissionDetails":{"type":"flatFee","amount":{"amountCents":123},"frequency":"monthly","startDate":"2023-11-07T05:31:56Z"}}}}},"exampleType":"generated"}},"exampleType":"generated"},"9e1d9f3f-993f-4534-bfed-b2dcb03eb134":{"description":"Unauthorized","content":{"application/json":{"schema":{"type":"object","properties":{"message":{"type":"string","isRequired":true,"uniqueKey":"message","typeLabel":"string"},"name":{"type":"string","isRequired":true,"uniqueKey":"name","typeLabel":"string"},"identifier":{"type":"string","isRequired":true,"uniqueKey":"identifier","typeLabel":"string"},"rawStatus":{"type":"number","isRequired":true,"uniqueKey":"rawStatus","typeLabel":"number"},"meta":{"type":"object","additionalProperties":true,"uniqueKey":"meta","typeLabel":"object"}},"required":["message","name","identifier","rawStatus"],"x-entrypoint":{"origin":"./src/publicApi","sourcePath":"./src/publicApi/main.yaml","title":"Error","virtualPath":"components/Error"},"title":"Error","uniqueKey":"","typeLabel":"Error · object"},"examples":{"Example":{"title":"Example","value":{"message":"\u003cstring>","name":"\u003cstring>","identifier":"\u003cstring>","rawStatus":123,"meta":{}}}},"exampleType":"generated"}},"exampleType":"generated"},"9aa274bb-77f1-4553-a7ac-69af1e365189":{"description":"Forbidden","content":{"application/json":{"schema":{"type":"object","properties":{"message":{"type":"string","isRequired":true,"uniqueKey":"message","typeLabel":"string"},"name":{"type":"string","isRequired":true,"uniqueKey":"name","typeLabel":"string"},"identifier":{"type":"string","isRequired":true,"uniqueKey":"identifier","typeLabel":"string"},"rawStatus":{"type":"number","isRequired":true,"uniqueKey":"rawStatus","typeLabel":"number"},"meta":{"type":"object","additionalProperties":true,"uniqueKey":"meta","typeLabel":"object"}},"required":["message","name","identifier","rawStatus"],"x-entrypoint":{"origin":"./src/publicApi","sourcePath":"./src/publicApi/main.yaml","title":"Error","virtualPath":"components/Error"},"title":"Error","uniqueKey":"","typeLabel":"Error · object"},"examples":{"Example":{"title":"Example","value":{"message":"\u003cstring>","name":"\u003cstring>","identifier":"\u003cstring>","rawStatus":123,"meta":{}}}},"exampleType":"generated"}},"exampleType":"generated"},"7a84a295-2d67-4634-b865-44152fb413d8":{"description":"TooManyRequests","content":{"application/json":{"schema":{"type":"object","properties":{"message":{"type":"string","isRequired":true,"uniqueKey":"message","typeLabel":"string"},"name":{"type":"string","isRequired":true,"uniqueKey":"name","typeLabel":"string"},"identifier":{"type":"string","isRequired":true,"uniqueKey":"identifier","typeLabel":"string"},"rawStatus":{"type":"number","isRequired":true,"uniqueKey":"rawStatus","typeLabel":"number"},"meta":{"type":"object","additionalProperties":true,"uniqueKey":"meta","typeLabel":"object"}},"required":["message","name","identifier","rawStatus"],"x-entrypoint":{"origin":"./src/publicApi","sourcePath":"./src/publicApi/main.yaml","title":"Error","virtualPath":"components/Error"},"title":"Error","uniqueKey":"","typeLabel":"Error · object"},"examples":{"Example":{"title":"Example","value":{"message":"\u003cstring>","name":"\u003cstring>","identifier":"\u003cstring>","rawStatus":123,"meta":{}}}},"exampleType":"generated"}},"exampleType":"generated"},"eba97eeb-fa47-48c3-9ec9-9b737e8e2b6a":{"description":"Internal Error","content":{"application/json":{"schema":{"type":"object","properties":{"message":{"type":"string","isRequired":true,"uniqueKey":"message","typeLabel":"string"},"name":{"type":"string","isRequired":true,"uniqueKey":"name","typeLabel":"string"},"identifier":{"type":"string","isRequired":true,"uniqueKey":"identifier","typeLabel":"string"},"rawStatus":{"type":"number","isRequired":true,"uniqueKey":"rawStatus","typeLabel":"number"},"meta":{"type":"object","additionalProperties":true,"uniqueKey":"meta","typeLabel":"object"}},"required":["message","name","identifier","rawStatus"],"x-entrypoint":{"origin":"./src/publicApi","sourcePath":"./src/publicApi/main.yaml","title":"Error","virtualPath":"components/Error"},"title":"Error","uniqueKey":"","typeLabel":"Error · object"},"examples":{"Example":{"title":"Example","value":{"message":"\u003cstring>","name":"\u003cstring>","identifier":"\u003cstring>","rawStatus":123,"meta":{}}}},"exampleType":"generated"}},"exampleType":"generated"}},"security":{"fb580f73-91e0-4aab-a9d5-a0dfe8c5b827":{"api_key":{"type":"apiKey","description":"API key authentication for public API requests.\n\nKeys come in two flavors:\n\n- *Legal-entity-scoped keys* are pinned to a single legal entity.\n Minted via the dashboard under a specific entity; every request\n acts on that entity.\n- *User-scoped keys* are pinned to a user and span every legal\n entity that user has access to. Every request made with a\n user-scoped key (except `GET /legal-entity`, which lists the\n legal entities the user can access) must include an\n `x-legal-entity` header naming the legal entity the request is\n operating on. Requests without the header are rejected with\n `400`. The authenticated user must have an active permission\n role on the supplied legal entity, otherwise the request is\n rejected with `403`.\n","name":"X-API-Key","in":"header","scopes":[],"schemeName":"api_key"}},"d48181f8-7c6f-4d7f-869e-980f206d8fbc":{"bearer":{"type":"http","scheme":"bearer","scopes":[],"schemeName":"bearer"}}},"servers":{"0d8c15d0-0007-4a2c-a3fd-d79f22ff4431":{"url":"https://api.slash.com","description":"production"}},"processedSecurityOptions":[{"schemes":[{"scheme":{"type":"apiKey","description":"API key authentication for public API requests.\n\nKeys come in two flavors:\n\n- *Legal-entity-scoped keys* are pinned to a single legal entity.\n Minted via the dashboard under a specific entity; every request\n acts on that entity.\n- *User-scoped keys* are pinned to a user and span every legal\n entity that user has access to. Every request made with a\n user-scoped key (except `GET /legal-entity`, which lists the\n legal entities the user can access) must include an\n `x-legal-entity` header naming the legal entity the request is\n operating on. Requests without the header are rejected with\n `400`. The authenticated user must have an active permission\n role on the supplied legal entity, otherwise the request is\n rejected with `403`.\n","name":"X-API-Key","in":"header","scopes":[],"schemeName":"api_key"},"schema":{"title":"X-API-Key","type":"string","description":"API key authentication for public API requests.\n\nKeys come in two flavors:\n\n- *Legal-entity-scoped keys* are pinned to a single legal entity.\n Minted via the dashboard under a specific entity; every request\n acts on that entity.\n- *User-scoped keys* are pinned to a user and span every legal\n entity that user has access to. Every request made with a\n user-scoped key (except `GET /legal-entity`, which lists the\n legal entities the user can access) must include an\n `x-legal-entity` header naming the legal entity the request is\n operating on. Requests without the header are rejected with\n `400`. The authenticated user must have an active permission\n role on the supplied legal entity, otherwise the request is\n rejected with `403`.\n","isRequired":true,"typeLabel":"string","deprecated":false},"schemeName":"api_key","name":"X-API-Key"}],"title":"api_key"},{"schemes":[{"scheme":{"type":"http","scheme":"bearer","scopes":[],"schemeName":"bearer"},"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":"bearer","name":"Authorization"}],"title":"bearer"}]},"originalFileLocation":"https://api.slash.com/openapi"},"subdomain":"slash-9da6c7e7","siteName":"Slash","title":"Create virtual account - Slash","contextualStarterQuestions":[],"navMaps":{"firstHrefInVersion":{"v1":{"href":"/api-reference/virtual-account-post","matchLevel":0},"v2":{"href":"/api-reference/list-accounts","matchLevel":4}},"firstHrefInLanguage":{}},"lastModified":"2026-11-10T20:30:41.220Z","originalFileLocation":"api-reference/virtual-account-post.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=\"application-name\" content=\"Slash\">\u003cmeta data-mint-head name=\"generator\" content=\"Mintlify\">\u003clink data-mint-head rel=\"icon\" type=\"image/png\" sizes=\"192x192\" href=\"/mintlify-assets/_mintlify/favicons/slash-9da6c7e7/-R_wQfBZwJFsLHel/_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/slash-9da6c7e7/-R_wQfBZwJFsLHel/_generated/favicon/apple-touch-icon.png\">\u003clink data-mint-head rel=\"icon\" type=\"image/png\" sizes=\"16x16\" href=\"/mintlify-assets/_mintlify/favicons/slash-9da6c7e7/-R_wQfBZwJFsLHel/_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/slash-9da6c7e7/-R_wQfBZwJFsLHel/_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/slash-9da6c7e7/-R_wQfBZwJFsLHel/_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/slash-9da6c7e7/-R_wQfBZwJFsLHel/_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/slash-9da6c7e7/-R_wQfBZwJFsLHel/_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/slash-9da6c7e7/-R_wQfBZwJFsLHel/_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/slash-9da6c7e7/-R_wQfBZwJFsLHel/_generated/favicon-dark/favicon.ico\" media=\"(prefers-color-scheme: dark)\">\u003cmeta data-mint-head property=\"og:title\" content=\"Create virtual account - Slash\">\u003cmeta data-mint-head property=\"og:site_name\" content=\"Slash\">\u003cmeta data-mint-head property=\"og:url\" content=\"https://docs.slash.com/api-reference/virtual-account-post\">\u003cmeta data-mint-head property=\"og:type\" content=\"website\">\u003cmeta data-mint-head property=\"og:image\" content=\"https://slash-9da6c7e7.mintlify.site/_mintlify/api/og/v2?division=Virtual+Account\u0026amp;title=Create+virtual+account\u0026amp;theme=3a89b37ab968bff34948531e\u0026amp;signature=aa3a6fcd28ee16fde07ab6ce47203afeb2bef09218ea63fd118bafa30aab5999\">\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=\"Create virtual account - Slash\">\u003cmeta data-mint-head name=\"twitter:image\" content=\"https://slash-9da6c7e7.mintlify.site/_mintlify/api/og/v2?division=Virtual+Account\u0026amp;title=Create+virtual+account\u0026amp;theme=3a89b37ab968bff34948531e\u0026amp;signature=aa3a6fcd28ee16fde07ab6ce47203afeb2bef09218ea63fd118bafa30aab5999\">\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/slash-9da6c7e7/-R_wQfBZwJFsLHel/_generated/favicon/browserconfig.xml\">\u003cmeta data-mint-head name=\"apple-mobile-web-app-title\" content=\"Slash\">\u003cmeta data-mint-head name=\"msapplication-TileColor\" content=\"#8a6f08\">\u003clink data-mint-head rel=\"canonical\" href=\"https://docs.slash.com/api-reference/virtual-account-post\">\u003clink data-mint-head rel=\"alternate\" type=\"application/xml\" href=\"/sitemap.xml\">\u003clink data-mint-head rel=\"alternate\" type=\"text/markdown\" href=\"/api-reference/virtual-account-post.md\">\u003cscript data-mint-head type=\"application/ld+json\">{\"@context\":\"https://schema.org\",\"@graph\":[{\"@type\":\"Organization\",\"@id\":\"https://docs.slash.com/#organization\",\"name\":\"Slash\",\"url\":\"https://docs.slash.com\",\"logo\":{\"@type\":\"ImageObject\",\"url\":\"https://mintcdn.com/slash-9da6c7e7/fQTvKgvPM9Xc8XFC/favicon.png?fit=max\u0026auto=format\u0026n=fQTvKgvPM9Xc8XFC\u0026q=85\u0026s=6670ecb53c5fa3879ea6f632793b7d24\"}},{\"@type\":\"WebSite\",\"@id\":\"https://docs.slash.com#website\",\"name\":\"Slash\",\"url\":\"https://docs.slash.com\",\"publisher\":{\"@id\":\"https://docs.slash.com/#organization\"}},{\"@type\":\"WebPage\",\"@id\":\"https://docs.slash.com/api-reference/virtual-account-post#webpage\",\"url\":\"https://docs.slash.com/api-reference/virtual-account-post\",\"name\":\"Create virtual account\",\"dateModified\":\"2026-11-10T20:30:41.220Z\",\"isPartOf\":{\"@id\":\"https://docs.slash.com#website\"},\"breadcrumb\":{\"@id\":\"https://docs.slash.com/api-reference/virtual-account-post#breadcrumb\"}},{\"@type\":\"BreadcrumbList\",\"@id\":\"https://docs.slash.com/api-reference/virtual-account-post#breadcrumb\",\"itemListElement\":[{\"@type\":\"ListItem\",\"position\":1,\"name\":\"Virtual Account\",\"item\":\"https://docs.slash.com/api-reference/virtual-account-get\"},{\"@type\":\"ListItem\",\"position\":2,\"name\":\"Create virtual account\",\"item\":\"https://docs.slash.com/api-reference/virtual-account-post\"}]},{\"@type\":[\"TechArticle\",\"APIReference\"],\"@id\":\"https://docs.slash.com/api-reference/virtual-account-post#apireference\",\"headline\":\"Create virtual account\",\"name\":\"Create virtual account\",\"url\":\"https://docs.slash.com/api-reference/virtual-account-post\",\"mainEntityOfPage\":{\"@id\":\"https://docs.slash.com/api-reference/virtual-account-post#webpage\"},\"dateModified\":\"2026-11-10T20:30:41.220Z\",\"publisher\":{\"@id\":\"https://docs.slash.com/#organization\"},\"isPartOf\":{\"@id\":\"https://docs.slash.com#website\"}}]}\u003c/script>\u003cscript data-mint-head type=\"application/ld+json\">{\"@context\":\"https://schema.org\",\"@type\":\"WebSite\",\"name\":\"Slash\",\"publisher\":{\"@type\":\"Organization\",\"name\":\"Slash\"},\"provider\":{\"@type\":\"Organization\",\"name\":\"Mintlify\",\"url\":\"https://mintlify.com\"}}\u003c/script>","agentPointerHref":"/api-reference/virtual-account-post.md","siteName":"Slash","nav":{"global":null,"versions":[{"version":"v1","tag":"Deprecated","anchors":[{"anchor":"API Reference","icon":{"style":"regular","name":"square-terminal"},"groups":[{"group":"Overview","pages":[{"title":"Getting Started","href":"/introduction"},{"title":"SDKs","href":"/docs/sdks"},{"group":"MCP","root":{"title":"MCP Server","sidebarTitle":"Overview","href":"/docs/mcp"},"pages":[{"title":"MCP Server","sidebarTitle":"Overview","href":"/docs/mcp"},{"title":"MCP Tools","sidebarTitle":"Tools","mode":"wide","href":"/docs/mcp-tools"}]},{"title":"Message Level Encryption (MLE)","href":"/docs/message-level-encryption"},{"title":"Changelog","href":"/changelog"}]},{"group":"Entities","pages":[{"title":"Legal Entity","href":"/api-reference/schema-legalEntity"},{"title":"Account","href":"/api-reference/schema-account"},{"title":"Virtual Account","href":"/api-reference/schema-virtualAccount"},{"title":"Balance","href":"/api-reference/schema-balance"},{"title":"Card","href":"/api-reference/schema-card"},{"title":"Cardholder","href":"/api-reference/schema-cardholder"},{"title":"Card Modifier","href":"/api-reference/schema-card-modifier"},{"title":"Transaction","href":"/api-reference/schema-transaction"},{"title":"Spending Constraint","href":"/api-reference/schema-spendingConstraint"},{"title":"Card Group","href":"/api-reference/schema-card-group"},{"title":"Webhook","href":"/api-reference/schema-webhook"},{"title":"Webhook Event","href":"/api-reference/schema-webhook-event"},{"title":"Card Group Utilization","href":"/api-reference/schema-card-group-utilization"},{"title":"Authorization Webhook","href":"/api-reference/schema-authorization-webhook"},{"title":"Authorization Request Event","href":"/api-reference/schema-authorization-request-event"},{"title":"Authorization Webhook Response","href":"/api-reference/schema-authorization-webhook-response"},{"title":"Invoice","href":"/api-reference/schema-invoice"},{"title":"Invoice Series","href":"/api-reference/schema-invoice-series"},{"title":"Contact","href":"/api-reference/schema-contact"},{"title":"Customer","href":"/api-reference/schema-customer"}]},{"group":"Legal Entity","pages":[{"title":"List legal entities","openapi":"get /legal-entity","href":"/api-reference/legal-entity-get"}]},{"group":"Account","pages":[{"title":"List accounts","openapi":"get /account","href":"/api-reference/account-get"},{"title":"Get account","openapi":"get /account/{accountId}","href":"/api-reference/account-get-by-id"},{"title":"List account balances","openapi":"get /account/{accountId}/balance","href":"/api-reference/account-balance-get"}]},{"group":"Account Authorization Webhooks","pages":[{"title":"Authorization Webhook Overview","href":"/api-reference/authorization-webhook-overview"},{"title":"Get account authorization webhook","openapi":"get /account/{accountId}/authorization-webhook","href":"/api-reference/account-authorization-webhook-get"},{"title":"Set account authorization webhook","openapi":"put /account/{accountId}/authorization-webhook","href":"/api-reference/account-authorization-webhook-put"},{"title":"Partially update account authorization webhook","openapi":"patch /account/{accountId}/authorization-webhook","href":"/api-reference/account-authorization-webhook-patch"}]},{"group":"Virtual Account","pages":[{"title":"List virtual accounts","openapi":"get /virtual-account","description":"Retrieve a list of virtual accounts under an account.\nThe virtual accounts are returned in an array, with each item representing a virtual account under that account.\n\nThe primary account will also be returned as a virtual account, with an account type of 'primary' while actual subaccounts\nunder the primary account will have an account type of 'default'.\n","href":"/api-reference/virtual-account-get"},{"title":"Create virtual account","openapi":"post /virtual-account","href":"/api-reference/virtual-account-post"},{"title":"Get virtual account","openapi":"get /virtual-account/{virtualAccountId}","description":"Retrieve a single virtual account by its ID.\n","href":"/api-reference/virtual-account-get-by-id"},{"title":"Update virtual account","openapi":"patch /virtual-account/{virtualAccountId}","href":"/api-reference/virtual-account-update"}]},{"group":"Transaction","pages":[{"title":"List transactions","openapi":"get /transaction","href":"/api-reference/transaction-get"},{"title":"Get transaction aggregations","openapi":"get /transaction/aggregation","href":"/api-reference/transaction-aggregation-get"},{"title":"Get transaction","openapi":"get /transaction/{transactionId}","href":"/api-reference/transaction-get-by-id"},{"title":"Get transaction fee details","openapi":"get /transaction/{transactionId}/fee-details","href":"/api-reference/transaction-get-fee-details"},{"title":"Add or update a note for a transaction","openapi":"patch /transaction/{transactionId}/note","href":"/api-reference/transaction-note-patch"}]},{"group":"Transfer Money","pages":[{"title":"Create virtual account transfer","openapi":"post /transfer/virtual-account","href":"/api-reference/transfer-virtual-account-post"},{"title":"Create book transfer","openapi":"post /transfers/book-transfer","href":"/api-reference/book-transfer-post"},{"title":"Get Crypto offramp addresses","openapi":"post /crypto/offramp","href":"/api-reference/transfer-crypto-offramp"}]},{"group":"Card","pages":[{"title":"List cards","openapi":"get /card","href":"/api-reference/card-get"},{"title":"Retrieve card","openapi":"get /card/{cardId}","href":"/api-reference/card-get-by-id"},{"title":"Create card","openapi":"post /card","href":"/api-reference/card-post"},{"title":"Update card","openapi":"patch /card/{cardId}","href":"/api-reference/card-patch"},{"title":"Get card utilization","openapi":"get /card/{cardId}/utilization","href":"/api-reference/card-utilization-get"},{"title":"Apply a partial update to a card's spending constraint","openapi":"patch /card/{cardId}/spending-constraint","href":"/api-reference/card-spending-constraint-patch"},{"title":"Replace a card's spending constraint","openapi":"put /card/{cardId}/spending-constraint","href":"/api-reference/card-spending-constraint-put"},{"title":"Get card modifiers","openapi":"get /card/{cardId}/modifier","href":"/api-reference/card-modifier-get"},{"title":"Set card modifier","openapi":"put /card/{cardId}/modifier","href":"/api-reference/card-modifier-put"},{"title":"List all card products","openapi":"get /card-product","href":"/api-reference/card-product-get"},{"title":"List cardholders","openapi":"get /cardholder","href":"/api-reference/cardholder-get"}]},{"group":"Card Group","pages":[{"title":"List card groups","openapi":"get /card-group","href":"/api-reference/card-group-get"},{"title":"Create card group","openapi":"post /card-group","href":"/api-reference/card-group-post"},{"title":"Get card group","openapi":"get /card-group/{cardGroupId}","href":"/api-reference/card-group-get-by-id"},{"title":"Update card group","openapi":"patch /card-group/{cardGroupId}","href":"/api-reference/card-group-patch"},{"title":"Apply a partial update to a card group's spending constraint","openapi":"patch /card-group/{cardGroupId}/spending-constraint","href":"/api-reference/card-group-spending-constraint-patch"},{"title":"Replace a card group's spending constraint","openapi":"put /card-group/{cardGroupId}/spending-constraint","href":"/api-reference/card-group-spending-constraint-put"},{"title":"Get card group utilization","openapi":"get /card-group/{cardGroupId}/utilization","href":"/api-reference/card-group-utilization-get"}]},{"group":"Invoice","pages":[{"title":"List invoices","openapi":"get /invoice","href":"/api-reference/invoice-get"},{"title":"Create invoice","openapi":"post /invoice","href":"/api-reference/invoice-post"},{"title":"Get invoice","openapi":"get /invoice/{invoiceId}","href":"/api-reference/invoice-get-by-id"},{"title":"Get invoice payment details","openapi":"get /invoice/{invoiceId}/payment-details","href":"/api-reference/invoice-payment-details-get"},{"title":"Update invoice","openapi":"patch /invoice/{invoiceId}","href":"/api-reference/invoice-patch"},{"title":"Void invoice","openapi":"post /invoice/{invoiceId}/void","href":"/api-reference/invoice-void-post"},{"title":"Reconcile invoice","openapi":"post /invoice/{invoiceId}/reconcile","href":"/api-reference/invoice-reconcile-post"},{"title":"Unreconcile invoice","openapi":"post /invoice/{invoiceId}/unreconcile","href":"/api-reference/invoice-unreconcile-post"},{"title":"Get invoice settings","openapi":"get /invoice/settings","href":"/api-reference/invoice-settings-get"},{"title":"Update invoice settings","openapi":"put /invoice/settings","href":"/api-reference/invoice-settings-put"},{"title":"Upload invoice logo","openapi":"post /invoice/settings/logo","href":"/api-reference/invoice-settings-logo-post"},{"title":"Validate invoice number","openapi":"get /invoice/validate-number","href":"/api-reference/invoice-validate-number-get"}]},{"group":"Invoice Series","pages":[{"title":"List invoice series","openapi":"get /invoice/series","href":"/api-reference/invoice-series-get"},{"title":"Create invoice series","openapi":"post /invoice/series","href":"/api-reference/invoice-series-post"},{"title":"Get invoice series","openapi":"get /invoice/series/{invoiceSeriesId}","href":"/api-reference/invoice-series-get-by-id"},{"title":"Update invoice series","openapi":"patch /invoice/series/{invoiceSeriesId}","href":"/api-reference/invoice-series-patch"},{"title":"Cancel invoice series","openapi":"post /invoice/series/{invoiceSeriesId}/cancel","href":"/api-reference/invoice-series-cancel-post"},{"title":"Skip next in series","openapi":"post /invoice/series/{invoiceSeriesId}/skip-next","href":"/api-reference/invoice-series-skip-next-post"}]},{"group":"Expense Report","pages":[{"title":"List expense reports","openapi":"get /expense-report","href":"/api-reference/expense-report-get"},{"title":"Create expense report","openapi":"post /expense-report","href":"/api-reference/expense-report-post"},{"title":"Get expense report","openapi":"get /expense-report/{expenseReportId}","href":"/api-reference/expense-report-get-by-id"},{"title":"Update expense report","openapi":"patch /expense-report/{expenseReportId}","href":"/api-reference/expense-report-patch"},{"title":"Approve expense report","openapi":"post /expense-report/{expenseReportId}/approve","href":"/api-reference/expense-report-approve-post"},{"title":"Reject expense report","openapi":"post /expense-report/{expenseReportId}/reject","href":"/api-reference/expense-report-reject-post"},{"title":"Upload receipt","openapi":"post /expense-report/receipt","href":"/api-reference/expense-report-receipt-post"},{"title":"Bulk action expense reports","openapi":"patch /expense-report/bulk-action","href":"/api-reference/expense-report-bulk-action-patch"},{"title":"Get reimbursement sources","openapi":"get /expense-report/reimbursement-sources","href":"/api-reference/expense-report-reimbursement-sources-get"}]},{"group":"Customer","pages":[{"title":"List customers","openapi":"get /customer","href":"/api-reference/customer-get"},{"title":"Create customer","openapi":"post /customer","href":"/api-reference/customer-post"},{"title":"Get customer","openapi":"get /customer/{customerId}","href":"/api-reference/customer-get-by-id"},{"title":"Update customer","openapi":"patch /customer/{customerId}","href":"/api-reference/customer-patch"},{"title":"Check ACH debit recurring status","openapi":"get /customer/{customerId}/ach-debit-recurring","href":"/api-reference/customer-ach-debit-recurring-get"}]},{"group":"Contact","pages":[{"title":"List contacts","openapi":"get /contact","href":"/api-reference/contact-get"},{"title":"Create contact","openapi":"post /contact","href":"/api-reference/contact-post"},{"title":"Get contact","openapi":"get /contact/{contactId}","href":"/api-reference/contact-get-by-id"},{"title":"Update contact","openapi":"patch /contact/{contactId}","href":"/api-reference/contact-patch"},{"title":"Check ACH debit recurring status","openapi":"get /contact/{contactId}/ach-debit-recurring","href":"/api-reference/contact-ach-debit-recurring-get"}]},{"group":"Merchant","pages":[{"title":"List merchants","openapi":"get /merchant","href":"/api-reference/merchant-get"},{"title":"Get merchant","openapi":"get /merchant/{merchantId}","href":"/api-reference/merchant-get-by-id"},{"title":"List merchant categories","openapi":"get /merchant-category","href":"/api-reference/merchant-category-get"}]},{"group":"Webhooks","pages":[{"title":"Overview","href":"/api-reference/webhook-overview"},{"title":"List webhooks","openapi":"get /webhook","href":"/api-reference/webhook-get"},{"title":"Get webhook","openapi":"get /webhook/{webhookId}","href":"/api-reference/webhook-get-by-id"},{"title":"Create webhook","openapi":"post /webhook","href":"/api-reference/webhook-post"},{"title":"Update webhook","openapi":"patch /webhook/{webhookId}","href":"/api-reference/webhook-patch"}]},{"group":"Agent Requests","pages":[{"title":"Agent Requests","href":"/docs/agent-requests"},{"title":"List agent requests","openapi":"get /agent-request","href":"/api-reference/agent-request-get"},{"title":"Get agent request","openapi":"get /agent-request/{agentRequestId}","href":"/api-reference/agent-request-get-by-id"}]},{"group":"Tokens","pages":[{"title":"Get Token Prices","openapi":"get /tokens/prices","href":"/api-reference/tokens-prices-get"}]}]},{"anchor":"Payment Processing","icon":{"style":"regular","name":"credit-card"},"pages":[{"title":"Payment Processing","href":"/docs/payments/quickstart"}]},{"anchor":"Partner Program","icon":"handshake","hidden":true,"pages":[{"title":"Partner Program","href":"/docs/partner-program/overview"}]}]},{"version":"v2","default":true,"pages":[{"title":"v2","href":"/api-reference/list-accounts"}]}]},"basePath":"","title":"Create virtual account - Slash","deploymentId":"dpl_EwfxjeKENdVkfzdag8rM6mKzcTUJ","buildId":"dpl_EwfxjeKENdVkfzdag8rM6mKzcTUJ","dynamics":["c2aa737661","b0f84f53ff","a9bb46feb3","2b790eda92"],"chunks":["OpenApiReferenceProvider-B8kPdtB2.js","snippetPresets-C-p1aFQ1.js","utils-B9NnUZSZ.js","style-to-object-BY3JEAdk.js","utils-DFxl7cW2.js","v4-DIgz8zy6.js","addTypeLabelsToSchema-bSr9h7OB.js","conditional-requirements-CFM0id0Q.js","cloneDeep-Bw4Gcy_r.js","_Uint8Array-C68x8Gny.js","isObject-FP1Yky1u.js","Page-CeZ_ZB5X.js","api-description-markdown-DiOdv5rp.js","DynamicMarkdown-B_9ywLDq.js","CodeSnippet-6Cemznl-.js","use-playground-group-access-Cyy8SXp5.js","SectionHeading-Cc2r-uqU.js","ApiExamples-BXsp8PHs.js","usePlaygroundInputsStore-BlAOLmIF.js","shallow-C2F02mqa.js","isEqual-C8iG4q2G.js","CodeSnippets-45lHR04X.js","MethodPill-Df3Tcu4c.js","getPastedJson-B3vrV0wE.js","Check2Icon-YQhSFafd.js","axios-CsQoIw0U.js","Markdown-0RkHcMOI.js","AssistantPageLink-DeJZCj9t.js","dist-DVqS175j.js","lib-DMeTj1gb.js","lib-B8HbPgcC.js","katex-Dbtb6Wk7.js","html-void-elements-mCSPHezU.js","marked.esm-CZWythHk.js"]}