Use the POST/v2/base/file/upload endpoint to upload documents to VelaFi. This endpoint supports KYC/KYB identity verification files as well as invoice documents for merchant accounts. The request must be sent as multipart/form-data. You can upload up to five files in a single request; each file must be between 10 KB and 3 MB and in one of the supported formats. The response returns a temporary signed URL for each uploaded file so you can verify the upload succeeded before referencing the file in subsequent API calls.
This endpoint requires authorization. Include your X-BH-TOKEN header on every request. Requests without a valid token will be rejected.
Relative storage path for the file (e.g., "100001/00000000-0000-0000-0000-000000000001.jpg"). Use this value when referencing the file in subsequent API calls, for example the document fields (govIdFrontUrl, govIdBackUrl, certificateOfIncorporationDocumentUrl, taxIdentificationDocumentUrl) of a Pix - Woovi channel activation.
Temporary pre-signed URL you can use to verify the file was uploaded correctly. This URL expires 30 minutes after the upload and should not be stored permanently.
Store the fileUrl field from the response — this is the permanent relative path you reference in KYC/KYB submission requests. The tempFileUrl is a short-lived signed URL for verification only and will expire.
{"docsConfig":{"theme":"luma","$schema":"https://mintlify.com/docs.json","name":"VelaFi","colors":{"primary":"#169f3f","light":"#040404","dark":"#88fa9b"},"logo":{"light":"https://mintcdn.com/vela-fi/kEiS0W9mzAeRFvm2/logo/light.svg?fit=max\u0026auto=format\u0026n=kEiS0W9mzAeRFvm2\u0026q=85\u0026s=3369d850da98cb834dddcd64c977c11f","dark":"https://mintcdn.com/vela-fi/kEiS0W9mzAeRFvm2/logo/dark.svg?fit=max\u0026auto=format\u0026n=kEiS0W9mzAeRFvm2\u0026q=85\u0026s=9770c7da4d30cb382b253680e64870ed"},"favicon":{"light":"https://mintcdn.com/vela-fi/XH9g8nudshhASCqT/favicon.svg?fit=max\u0026auto=format\u0026n=XH9g8nudshhASCqT\u0026q=85\u0026s=cf3c616ff2233c52dc591e9975563199","dark":"https://mintcdn.com/vela-fi/XH9g8nudshhASCqT/favicon-dark.svg?fit=max\u0026auto=format\u0026n=XH9g8nudshhASCqT\u0026q=85\u0026s=1371f9989873a608a201b7fbcfddb0c0"},"api":{"playground":{"display":"interactive","proxy":true},"examples":{"languages":["curl","python","javascript","java"]},"mdx":{"auth":{"method":"key","name":"X-BH-TOKEN"},"server":"https://api-test.velafi.com"}},"navbar":{"primary":{"type":"button","label":"Sign Up","href":"https://www.velafi.com/signup"}},"styling":{"latex":false},"navigation":{"languages":[{"language":"en","href":""},{"language":"cn","href":"cn"},{"language":"es","href":"es"}]}},"deployment":{"deploymentMetadataValue":{"subdomain":"vela-fi","hasAudioNarration":false,"actualSubdomain":"vela-fi","customDomains":["docs.velafi.com"],"gitSource":{"type":"github","owner":"velafi-tech","repo":"docs","deployBranch":"main","contentDirectory":"","isPrivate":false,"mountPath":"","label":""},"chroma":{"latestBuiltDeploymentHistoryId":"6aeab1a18dbebd24c08c0aa1","collectionId":"fadc3c54-2265-4b31-ac50-4c4ebdd534a1","liveDeploymentHistoryId":"6aeab1a18dbebd24c08c0aa1","schemaVersion":"v3"},"feedback":{"edits":true,"issues":true,"thumbs":true},"entitlements":{"AI_CHAT":{"status":"ENABLED"},"WEB_MCP":{"status":"ENABLED"},"NARRATION":{"status":"ENABLED"}},"buildId":"6aeab1a18dbebd24c08c0aa1","clientVersion":"0.0.4074","searchFilterCounts":[{"language":"en","tag":"API Reference","count":70},{"language":"cn","tag":"API 参考","count":70},{"language":"es","tag":"Referencia de API","count":70},{"language":"en","tag":"Documentation","count":20},{"language":"cn","tag":"文档","count":20},{"language":"es","tag":"Documentación","count":20},{"language":"en","tag":"Merchants","count":19},{"language":"cn","tag":"商户","count":19},{"language":"es","tag":"Comercios","count":19},{"language":"en","tag":"Configuration","count":11},{"language":"en","tag":"Webhooks","count":11},{"language":"cn","tag":"配置","count":11},{"language":"cn","tag":"Webhooks","count":11},{"language":"es","tag":"Configuración","count":11},{"language":"es","tag":"Webhooks","count":11},{"language":"en","tag":"Beneficiaries","count":9},{"language":"en","tag":"Guides","count":9},{"language":"cn","tag":"收款人","count":9},{"language":"cn","tag":"指南","count":9},{"language":"es","tag":"Beneficiarios","count":9},{"language":"es","tag":"Guías","count":9},{"language":"en","tag":"Crypto Wallet","count":7},{"language":"en","tag":"Orders","count":7},{"language":"cn","tag":"加密钱包","count":7},{"language":"cn","tag":"订单","count":7},{"language":"es","tag":"Billetera cripto","count":7},{"language":"es","tag":"Órdenes","count":7},{"language":"en","tag":"Core Concepts","count":6},{"language":"cn","tag":"核心概念","count":6},{"language":"es","tag":"Conceptos clave","count":6}]},"assistantConfig":{"enableAskAiButton":false,"enableStarterQuestions":false,"enableContextualStarterQuestions":false,"enableAskAiSearchBar":true},"basePath":"","hasChatPermissions":true,"hasWebMcpPermissions":true,"toggles":[{"name":"kill-isr","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"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":"vite-origin","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":"sso-setup-deadline-banner","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"turbopuffer-serve","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"live-agents","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"comment-mode","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false}],"googleFontsInlined":false},"customCss":[],"page":{"pagePath":"api-reference/basic-configuration/upload-file","slug":"/api-reference/basic-configuration/upload-file","pageMetadata":{"title":"Upload a File","sidebarTitle":"Upload File","description":"Upload KYC/KYB identity documents or invoice files to VelaFi. Supports up to 5 files per request in JPG, PNG, JPEG, or PDF format.","api":"POST /v2/base/file/upload","contentType":"multipart/form-data","href":"/api-reference/basic-configuration/upload-file"},"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: \"Upload KYC/KYB identity documents or invoice files to VelaFi. Supports up to 5 files per request in JPG, PNG, JPEG, or PDF format.\"\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,jsxs:_jsxs}=arguments[0];const{useMDXComponents:_provideComponents}=arguments[0];function _createMdxContent(props){const _components={code:`code`,p:`p`,pre:`pre`,span:`span`,strong:`strong`,tbody:`tbody`,td:`td`,th:`th`,thead:`thead`,tr:`tr`,..._provideComponents(),...props.components},{CodeBlock,CodeGroup,Expandable,Heading,Note,ParamField,ResponseField,Table,Warning}=_components;if(!CodeBlock)_missingMdxReference(`CodeBlock`,true);if(!CodeGroup)_missingMdxReference(`CodeGroup`,true);if(!Expandable)_missingMdxReference(`Expandable`,true);if(!Heading)_missingMdxReference(`Heading`,true);if(!Note)_missingMdxReference(`Note`,true);if(!ParamField)_missingMdxReference(`ParamField`,true);if(!ResponseField)_missingMdxReference(`ResponseField`,true);if(!Table)_missingMdxReference(`Table`,true);if(!Warning)_missingMdxReference(`Warning`,true);return _jsxs(_Fragment,{children:[_jsxs(_components.p,{children:[`Use the `,_jsx(_components.strong,{children:`POST`}),` `,_jsx(_components.code,{children:`/v2/base/file/upload`}),` endpoint to upload documents to VelaFi. This endpoint supports KYC/KYB identity verification files as well as invoice documents for merchant accounts. The request must be sent as `,_jsx(_components.code,{children:`multipart/form-data`}),`. You can upload up to five files in a single request; each file must be between 10 KB and 3 MB and in one of the supported formats. The response returns a temporary signed URL for each uploaded file so you can verify the upload succeeded before referencing the file in subsequent API calls.`]}),`\n`,_jsx(Warning,{children:_jsxs(_components.p,{children:[`This endpoint requires authorization. Include your `,_jsx(_components.code,{children:`X-BH-TOKEN`}),` header on every request. Requests without a valid token will be rejected.`]})}),`\n`,_jsx(Heading,{level:`2`,id:`request`,children:`Request`}),`\n`,_jsx(CodeBlock,{filename:``,numberOfLines:`2`,language:`text`,children:_jsx(_components.pre,{className:`shiki shiki-themes github-light-default dark-plus`,style:{backgroundColor:`#ffffff`,\"--shiki-dark-bg\":`#0B0C0E`,color:`#1f2328`,\"--shiki-dark\":`#D4D4D4`},language:`text`,children:_jsxs(_components.code,{language:`text`,numberOfLines:`2`,children:[_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{children:`POST /v2/base/file/upload`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{})})]})})}),`\n`,_jsx(Heading,{level:`3`,id:`headers`,children:`Headers`}),`\n`,_jsxs(Table,{children:[_jsx(_components.thead,{children:_jsxs(_components.tr,{children:[_jsx(_components.th,{children:`Header`}),_jsx(_components.th,{children:`Value`}),_jsx(_components.th,{children:`Required`})]})}),_jsxs(_components.tbody,{children:[_jsxs(_components.tr,{children:[_jsx(_components.td,{children:_jsx(_components.code,{children:`X-BH-TOKEN`})}),_jsxs(_components.td,{children:[`Your token from `,_jsx(_components.code,{children:`GET /v2/token/generate`})]}),_jsx(_components.td,{children:`✓`})]}),_jsxs(_components.tr,{children:[_jsx(_components.td,{children:_jsx(_components.code,{children:`Content-Type`})}),_jsx(_components.td,{children:_jsx(_components.code,{children:`multipart/form-data`})}),_jsx(_components.td,{children:`✓`})]})]})]}),`\n`,_jsx(Heading,{level:`3`,id:`body-parameters`,children:`Body Parameters`}),`\n`,_jsx(ParamField,{body:`businessType`,type:`string`,required:true,id:`param-business-type`,children:_jsxs(_components.p,{children:[`The type of business document being uploaded. Currently fixed to `,_jsx(_components.code,{children:`FIAT_ACCOUNT`}),`.`]})}),`\n`,_jsx(ParamField,{body:`files`,type:`file`,required:true,id:`param-files`,children:_jsxs(_components.p,{children:[`One or more files to upload. Maximum `,_jsx(_components.strong,{children:`5 files`}),` per request. Each file must be between `,_jsx(_components.strong,{children:`10 KB and 3 MB`}),`. Supported formats: `,_jsx(_components.code,{children:`jpg`}),`, `,_jsx(_components.code,{children:`jpeg`}),`, `,_jsx(_components.code,{children:`png`}),`, `,_jsx(_components.code,{children:`pdf`}),`.`]})}),`\n`,_jsx(Heading,{level:`2`,id:`response-fields`,children:`Response Fields`}),`\n`,_jsx(ResponseField,{name:`code`,type:`number`,id:`param-code`,children:_jsxs(_components.p,{children:[`HTTP-style status code. `,_jsx(_components.code,{children:`200`}),` indicates success.`]})}),`\n`,_jsx(ResponseField,{name:`msg`,type:`string`,id:`param-msg`,children:_jsxs(_components.p,{children:[`Human-readable status message, e.g. `,_jsx(_components.code,{children:`\"SUCCESS\"`}),`.`]})}),`\n`,_jsxs(ResponseField,{name:`data`,type:`array`,id:`param-data`,children:[_jsx(_components.p,{children:`Array of uploaded file objects, one entry per file.`}),_jsxs(Expandable,{title:`data[]`,children:[_jsx(ResponseField,{name:`fileName`,type:`string`,id:`param-file-name`,children:_jsxs(_components.p,{children:[`Original filename as provided in the upload (e.g., `,_jsx(_components.code,{children:`\"id-front.jpg\"`}),`).`]})}),_jsx(ResponseField,{name:`fileType`,type:`string`,id:`param-file-type`,children:_jsxs(_components.p,{children:[`File extension of the uploaded document (e.g., `,_jsx(_components.code,{children:`\"jpg\"`}),`, `,_jsx(_components.code,{children:`\"pdf\"`}),`).`]})}),_jsx(ResponseField,{name:`fileUrl`,type:`string`,id:`param-file-url`,children:_jsxs(_components.p,{children:[`Relative storage path for the file (e.g., `,_jsx(_components.code,{children:`\"100001/00000000-0000-0000-0000-000000000001.jpg\"`}),`). Use this value when referencing the file in subsequent API calls, for example the document fields (`,_jsx(_components.code,{children:`govIdFrontUrl`}),`, `,_jsx(_components.code,{children:`govIdBackUrl`}),`, `,_jsx(_components.code,{children:`certificateOfIncorporationDocumentUrl`}),`, `,_jsx(_components.code,{children:`taxIdentificationDocumentUrl`}),`) of a `,_jsx(_components.code,{children:`Pix - Woovi`}),` channel activation.`]})}),_jsx(ResponseField,{name:`tempFileUrl`,type:`string`,id:`param-temp-file-url`,children:_jsx(_components.p,{children:`Temporary pre-signed URL you can use to verify the file was uploaded correctly. This URL expires 30 minutes after the upload and should not be stored permanently.`})})]})]}),`\n`,_jsx(Heading,{level:`2`,id:`example`,children:`Example`}),`\n`,_jsxs(CodeGroup,{children:[_jsx(CodeBlock,{filename:`cURL — single file`,numberOfLines:`6`,language:`shellscript`,children:_jsx(_components.pre,{className:`shiki shiki-themes github-light-default dark-plus`,style:{backgroundColor:`#ffffff`,\"--shiki-dark-bg\":`#0B0C0E`,color:`#1f2328`,\"--shiki-dark\":`#D4D4D4`},language:`shellscript`,children:_jsxs(_components.code,{language:`shellscript`,numberOfLines:`6`,children:[_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#953800`,\"--shiki-dark\":`#DCDCAA`},children:`curl`}),_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-dark\":`#569CD6`},children:` --request`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` POST`}),_jsx(_components.span,{style:{color:`#CF222E`,\"--shiki-dark\":`#D7BA7D`},children:` \\\\`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-dark\":`#569CD6`},children:` --url`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` 'https://api.velafi.com/v2/base/file/upload'`}),_jsx(_components.span,{style:{color:`#CF222E`,\"--shiki-dark\":`#D7BA7D`},children:` \\\\`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-dark\":`#569CD6`},children:` --header`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` 'X-BH-TOKEN: YOUR_TOKEN'`}),_jsx(_components.span,{style:{color:`#CF222E`,\"--shiki-dark\":`#D7BA7D`},children:` \\\\`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-dark\":`#569CD6`},children:` --header`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` 'Content-Type: multipart/form-data'`}),_jsx(_components.span,{style:{color:`#CF222E`,\"--shiki-dark\":`#D7BA7D`},children:` \\\\`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-dark\":`#569CD6`},children:` --form`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` 'businessType=FIAT_ACCOUNT'`}),_jsx(_components.span,{style:{color:`#CF222E`,\"--shiki-dark\":`#D7BA7D`},children:` \\\\`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-dark\":`#569CD6`},children:` --form`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` 'files=@/path/to/id-front.jpg'`})]}),`\n`]})})}),_jsx(CodeBlock,{filename:`cURL — multiple files`,numberOfLines:`7`,language:`shellscript`,children:_jsx(_components.pre,{className:`shiki shiki-themes github-light-default dark-plus`,style:{backgroundColor:`#ffffff`,\"--shiki-dark-bg\":`#0B0C0E`,color:`#1f2328`,\"--shiki-dark\":`#D4D4D4`},language:`shellscript`,children:_jsxs(_components.code,{language:`shellscript`,numberOfLines:`7`,children:[_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#953800`,\"--shiki-dark\":`#DCDCAA`},children:`curl`}),_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-dark\":`#569CD6`},children:` --request`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` POST`}),_jsx(_components.span,{style:{color:`#CF222E`,\"--shiki-dark\":`#D7BA7D`},children:` \\\\`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-dark\":`#569CD6`},children:` --url`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` 'https://api.velafi.com/v2/base/file/upload'`}),_jsx(_components.span,{style:{color:`#CF222E`,\"--shiki-dark\":`#D7BA7D`},children:` \\\\`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-dark\":`#569CD6`},children:` --header`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` 'X-BH-TOKEN: YOUR_TOKEN'`}),_jsx(_components.span,{style:{color:`#CF222E`,\"--shiki-dark\":`#D7BA7D`},children:` \\\\`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-dark\":`#569CD6`},children:` --header`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` 'Content-Type: multipart/form-data'`}),_jsx(_components.span,{style:{color:`#CF222E`,\"--shiki-dark\":`#D7BA7D`},children:` \\\\`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-dark\":`#569CD6`},children:` --form`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` 'businessType=FIAT_ACCOUNT'`}),_jsx(_components.span,{style:{color:`#CF222E`,\"--shiki-dark\":`#D7BA7D`},children:` \\\\`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-dark\":`#569CD6`},children:` --form`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` 'files=@/path/to/id-front.jpg'`}),_jsx(_components.span,{style:{color:`#CF222E`,\"--shiki-dark\":`#D7BA7D`},children:` \\\\`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-dark\":`#569CD6`},children:` --form`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` 'files=@/path/to/id-back.jpg'`})]}),`\n`]})})})]}),`\n`,_jsx(Heading,{level:`3`,id:`response`,children:`Response`}),`\n`,_jsx(CodeBlock,{filename:``,numberOfLines:`12`,language:`json`,children:_jsx(_components.pre,{className:`shiki shiki-themes github-light-default dark-plus`,style:{backgroundColor:`#ffffff`,\"--shiki-dark-bg\":`#0B0C0E`,color:`#1f2328`,\"--shiki-dark\":`#D4D4D4`},language:`json`,children:_jsxs(_components.code,{language:`json`,numberOfLines:`12`,children:[_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`{`})}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#9CDCFE`},children:` \"code\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-dark\":`#B5CEA8`},children:`200`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`,`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#9CDCFE`},children:` \"msg\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"SUCCESS\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`,`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#9CDCFE`},children:` \"data\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: [`})]}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:` {`})}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#9CDCFE`},children:` \"fileName\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"id-front.jpg\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`,`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#9CDCFE`},children:` \"fileType\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"jpg\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`,`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#9CDCFE`},children:` \"fileUrl\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"100001/00000000-0000-0000-0000-000000000001.jpg\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`,`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#9CDCFE`},children:` \"tempFileUrl\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"https://example-bucket.s3.amazonaws.com/00000000-0000-0000-0000-000000000001.jpg?X-Amz-Signature=...\"`})]}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:` }`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:` ]`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`}`})}),`\n`]})})}),`\n`,_jsx(Note,{children:_jsxs(_components.p,{children:[`Store the `,_jsx(_components.code,{children:`fileUrl`}),` field from the response — this is the permanent relative path you reference in KYC/KYB submission requests. The `,_jsx(_components.code,{children:`tempFileUrl`}),` is a short-lived signed URL for verification only and will expire.`]})})]})}function MDXContent(props={}){const{wrapper:MDXLayout}={..._provideComponents(),...props.components};return MDXLayout?_jsx(MDXLayout,{...props,children:_jsx(_createMdxContent,{...props})}):_createMdxContent(props)}return{default:MDXContent};function _missingMdxReference(id,component){throw new Error(`Expected `+(component?`component`:`object`)+\" `\"+id+\"` to be defined: you likely forgot to import, pass, or provide it.\")}","frontmatter":{},"scope":{"config":{},"pageMetadata":{"title":"Upload a File","sidebarTitle":"Upload File","description":"Upload KYC/KYB identity documents or invoice files to VelaFi. Supports up to 5 files per request in JPG, PNG, JPEG, or PDF format.","api":"POST /v2/base/file/upload","contentType":"multipart/form-data","href":"/api-reference/basic-configuration/upload-file"}}},"mdxSourceWithNoJs":null},"mdxExtracts":{"tableOfContents":[{"title":"Request","slug":"request","depth":2,"children":[{"title":"Headers","slug":"headers","depth":3,"children":[]},{"title":"Body Parameters","slug":"body-parameters","depth":3,"children":[]}]},{"title":"Response Fields","slug":"response-fields","depth":2,"children":[]},{"title":"Example","slug":"example","depth":2,"children":[{"title":"Response","slug":"response","depth":3,"children":[]}]}],"codeExamples":{},"endpoint":{"title":"Upload a File","path":"/v2/base/file/upload","servers":[{"url":"https://api-test.velafi.com"}],"method":"post","request":{"security":[{"title":"API Key Auth","parameters":{"header":{"X-BH-TOKEN":{"type":"apiKey"}},"query":{},"cookie":{}}}],"parameters":{"query":{},"header":{},"cookie":{},"path":{}},"body":{"multipart/form-data":{"schemaArray":[{"type":"object","properties":{"businessType":[{"type":"string","description":"The type of business document being uploaded. Currently fixed to `FIAT_ACCOUNT` .","required":true}],"files":[{"type":"file","description":"One or more files to upload. Maximum 5 files per request. Each file must be between 10 KB and 3 MB . Supported formats: `jpg` , `jpeg` , `png` , `pdf` .","required":true}]}}],"examples":{"example":{"value":{"businessType":"\u003cstring>"}}}}}},"response":{"200":{"application/json":{"schemaArray":[{"type":"object","properties":{"code":[{"type":"number","description":"HTTP-style status code. `200` indicates success."}],"msg":[{"type":"string","description":"Human-readable status message, e.g. `\"SUCCESS\"` ."}],"data":[{"type":"array","items":[{"type":"object","properties":{"fileName":[{"type":"string","description":"Original filename as provided in the upload (e.g., `\"id-front.jpg\"` )."}],"fileType":[{"type":"string","description":"File extension of the uploaded document (e.g., `\"jpg\"` , `\"pdf\"` )."}],"fileUrl":[{"type":"string","description":"Relative storage path for the file (e.g., `\"100001/00000000-0000-0000-0000-000000000001.jpg\"` ). Use this value when referencing the file in subsequent API calls, for example the document fields ( `govIdFrontUrl` , `govIdBackUrl` , `certificateOfIncorporationDocumentUrl` , `taxIdentificationDocumentUrl` ) of a `Pix - Woovi` channel activation."}],"tempFileUrl":[{"type":"string","description":"Temporary pre-signed URL you can use to verify the file was uploaded correctly. This URL expires 30 minutes after the upload and should not be stored permanently."}]}}],"description":"Array of uploaded file objects, one entry per file."}]}}],"examples":{"example":{"value":{"code":123,"msg":"\u003cstring>","data":[{"fileName":"\u003cstring>","fileType":"\u003cstring>","fileUrl":"\u003cstring>","tempFileUrl":"\u003cstring>"}]}}}}}},"deprecated":false}},"jsLinks":[],"subdomain":"vela-fi","siteName":"VelaFi","title":"Upload a File - VelaFi","relatedPagesConfig":{"enabled":true,"limit":5,"mode":"automatic"},"navMaps":{"firstHrefInVersion":{},"firstHrefInLanguage":{"en":{"href":"/api-reference/basic-configuration/upload-file","matchLevel":0},"cn":{"href":"/cn/api-reference/basic-configuration/upload-file","matchLevel":1},"es":{"href":"/es/api-reference/basic-configuration/upload-file","matchLevel":1}}},"lastModified":"2026-11-04T03:18:45.350Z","originalFileLocation":"api-reference/basic-configuration/upload-file.mdx","locale":"en"},"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=\"Upload KYC/KYB identity documents or invoice files to VelaFi. Supports up to 5 files per request in JPG, PNG, JPEG, or PDF format.\">\u003cmeta data-mint-head name=\"application-name\" content=\"VelaFi\">\u003cmeta data-mint-head name=\"generator\" content=\"Mintlify\">\u003clink data-mint-head rel=\"icon\" type=\"image/png\" sizes=\"192x192\" href=\"/mintlify-assets/_mintlify/favicons/vela-fi/FXnTM7SlGCRLFghR/_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/vela-fi/FXnTM7SlGCRLFghR/_generated/favicon/apple-touch-icon.png\">\u003clink data-mint-head rel=\"icon\" type=\"image/png\" sizes=\"16x16\" href=\"/mintlify-assets/_mintlify/favicons/vela-fi/FXnTM7SlGCRLFghR/_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/vela-fi/FXnTM7SlGCRLFghR/_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/vela-fi/FXnTM7SlGCRLFghR/_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/vela-fi/FXnTM7SlGCRLFghR/_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/vela-fi/FXnTM7SlGCRLFghR/_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/vela-fi/FXnTM7SlGCRLFghR/_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/vela-fi/FXnTM7SlGCRLFghR/_generated/favicon-dark/favicon.ico\" media=\"(prefers-color-scheme: dark)\">\u003cmeta data-mint-head property=\"og:title\" content=\"Upload a File - VelaFi\">\u003cmeta data-mint-head property=\"og:description\" content=\"Upload KYC/KYB identity documents or invoice files to VelaFi. Supports up to 5 files per request in JPG, PNG, JPEG, or PDF format.\">\u003cmeta data-mint-head property=\"og:site_name\" content=\"VelaFi\">\u003cmeta data-mint-head property=\"og:url\" content=\"https://docs.velafi.com/api-reference/basic-configuration/upload-file\">\u003cmeta data-mint-head property=\"og:type\" content=\"website\">\u003cmeta data-mint-head property=\"og:image\" content=\"https://vela-fi.mintlify.site/_mintlify/api/og/v2?division=Configuration\u0026amp;title=Upload+a+File\u0026amp;description=Upload+KYC%2FKYB+identity+documents+or+invoice+files+to+VelaFi.+Supports+up+to+5+files+per+request+in+JPG%2C+PNG%2C+JPEG%2C+or+PDF+format.\u0026amp;theme=d88b59e71e5970c6ea7086ed\u0026amp;signature=cf2031422ef8ef15b1ad89365416718f96eb2e48501fc79881211ca4335f7245\">\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=\"Upload a File - VelaFi\">\u003cmeta data-mint-head name=\"twitter:description\" content=\"Upload KYC/KYB identity documents or invoice files to VelaFi. Supports up to 5 files per request in JPG, PNG, JPEG, or PDF format.\">\u003cmeta data-mint-head name=\"twitter:image\" content=\"https://vela-fi.mintlify.site/_mintlify/api/og/v2?division=Configuration\u0026amp;title=Upload+a+File\u0026amp;description=Upload+KYC%2FKYB+identity+documents+or+invoice+files+to+VelaFi.+Supports+up+to+5+files+per+request+in+JPG%2C+PNG%2C+JPEG%2C+or+PDF+format.\u0026amp;theme=d88b59e71e5970c6ea7086ed\u0026amp;signature=cf2031422ef8ef15b1ad89365416718f96eb2e48501fc79881211ca4335f7245\">\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/vela-fi/FXnTM7SlGCRLFghR/_generated/favicon/browserconfig.xml\">\u003cmeta data-mint-head name=\"apple-mobile-web-app-title\" content=\"VelaFi\">\u003cmeta data-mint-head name=\"msapplication-TileColor\" content=\"#169f3f\">\u003clink data-mint-head rel=\"canonical\" href=\"https://docs.velafi.com/api-reference/basic-configuration/upload-file\">\u003clink data-mint-head rel=\"alternate\" type=\"application/xml\" href=\"/sitemap.xml\">\u003clink data-mint-head rel=\"alternate\" type=\"text/markdown\" href=\"/api-reference/basic-configuration/upload-file.md\">\u003clink data-mint-head rel=\"alternate\" hreflang=\"en\" href=\"https://docs.velafi.com/api-reference/basic-configuration/upload-file\">\u003clink data-mint-head rel=\"alternate\" hreflang=\"zh\" href=\"https://docs.velafi.com/cn/api-reference/basic-configuration/upload-file\">\u003clink data-mint-head rel=\"alternate\" hreflang=\"es\" href=\"https://docs.velafi.com/es/api-reference/basic-configuration/upload-file\">\u003clink data-mint-head rel=\"alternate\" hreflang=\"x-default\" href=\"https://docs.velafi.com/api-reference/basic-configuration/upload-file\">\u003cscript data-mint-head type=\"application/ld+json\">{\"@context\":\"https://schema.org\",\"@graph\":[{\"@type\":\"Organization\",\"@id\":\"https://docs.velafi.com/#organization\",\"name\":\"VelaFi\",\"url\":\"https://docs.velafi.com\",\"logo\":{\"@type\":\"ImageObject\",\"url\":\"https://mintcdn.com/vela-fi/kEiS0W9mzAeRFvm2/logo/light.svg?fit=max\u0026auto=format\u0026n=kEiS0W9mzAeRFvm2\u0026q=85\u0026s=3369d850da98cb834dddcd64c977c11f\"}},{\"@type\":\"WebSite\",\"@id\":\"https://docs.velafi.com#website\",\"name\":\"VelaFi\",\"url\":\"https://docs.velafi.com\",\"publisher\":{\"@id\":\"https://docs.velafi.com/#organization\"}},{\"@type\":\"WebPage\",\"@id\":\"https://docs.velafi.com/api-reference/basic-configuration/upload-file#webpage\",\"url\":\"https://docs.velafi.com/api-reference/basic-configuration/upload-file\",\"name\":\"Upload a File\",\"description\":\"Upload KYC/KYB identity documents or invoice files to VelaFi. Supports up to 5 files per request in JPG, PNG, JPEG, or PDF format.\",\"dateModified\":\"2026-11-04T03:18:45.350Z\",\"isPartOf\":{\"@id\":\"https://docs.velafi.com#website\"},\"breadcrumb\":{\"@id\":\"https://docs.velafi.com/api-reference/basic-configuration/upload-file#breadcrumb\"}},{\"@type\":\"BreadcrumbList\",\"@id\":\"https://docs.velafi.com/api-reference/basic-configuration/upload-file#breadcrumb\",\"itemListElement\":[{\"@type\":\"ListItem\",\"position\":1,\"name\":\"Configuration\",\"item\":\"https://docs.velafi.com/api-reference/basic-configuration/api-endpoint\"},{\"@type\":\"ListItem\",\"position\":2,\"name\":\"Upload a File\",\"item\":\"https://docs.velafi.com/api-reference/basic-configuration/upload-file\"}]},{\"@type\":[\"TechArticle\",\"APIReference\"],\"@id\":\"https://docs.velafi.com/api-reference/basic-configuration/upload-file#apireference\",\"headline\":\"Upload a File\",\"name\":\"Upload a File\",\"description\":\"Upload KYC/KYB identity documents or invoice files to VelaFi. Supports up to 5 files per request in JPG, PNG, JPEG, or PDF format.\",\"url\":\"https://docs.velafi.com/api-reference/basic-configuration/upload-file\",\"mainEntityOfPage\":{\"@id\":\"https://docs.velafi.com/api-reference/basic-configuration/upload-file#webpage\"},\"dateModified\":\"2026-11-04T03:18:45.350Z\",\"publisher\":{\"@id\":\"https://docs.velafi.com/#organization\"},\"isPartOf\":{\"@id\":\"https://docs.velafi.com#website\"}}]}\u003c/script>\u003cscript data-mint-head type=\"application/ld+json\">{\"@context\":\"https://schema.org\",\"@type\":\"WebSite\",\"name\":\"VelaFi\",\"creator\":{\"@type\":\"Organization\",\"name\":\"Mintlify\",\"url\":\"https://mintlify.com\"}}\u003c/script>","siteName":"VelaFi","nav":{"global":null,"languages":[{"language":"en","tabs":[{"tab":"Documentation","pages":[{"title":"Documentation","href":""}]},{"tab":"API Reference","groups":[{"group":"Overview","pages":[{"title":"API Overview","sidebarTitle":"Overview","href":"/api-reference/overview"},{"title":"Authentication","sidebarTitle":"Authentication","href":"/api-reference/authentication"},{"title":"Generate a Token","sidebarTitle":"Generate Token","api":"GET /v2/token/generate","playground":"none","href":"/api-reference/generate-token"}]},{"group":"Account","pages":[{"title":"Get Account Details","sidebarTitle":"Get Account Details","api":"GET /v2/user/account","href":"/api-reference/account/get-account-details"}]},{"group":"Configuration","pages":[{"title":"Base URLs","sidebarTitle":"API Endpoint","href":"/api-reference/basic-configuration/api-endpoint"},{"title":"List Countries","sidebarTitle":"List Countries","api":"GET /v2/base/countrys","href":"/api-reference/basic-configuration/get-list-of-countries"},{"title":"List Fiat Currencies","sidebarTitle":"List Fiat Currencies","api":"GET /v2/base/fiats","href":"/api-reference/basic-configuration/get-list-of-fiat-currencies"},{"title":"List Cryptocurrencies","sidebarTitle":"List Crypto Currencies","api":"GET /v2/base/cryptos","href":"/api-reference/basic-configuration/get-list-of-crypto-currencies"},{"title":"List Fiat→Crypto Pairs","sidebarTitle":"Fiat/Crypto Pairs","api":"GET /v2/base/buy/symbols","href":"/api-reference/basic-configuration/get-fiat-crypto-pairs"},{"title":"List Crypto→Fiat Pairs","sidebarTitle":"Crypto/Fiat Pairs","api":"GET /v2/base/sell/symbols","href":"/api-reference/basic-configuration/get-crypto-fiat-pairs"},{"title":"List Fiat→Fiat Pairs","sidebarTitle":"Fiat/Fiat Pairs","api":"GET /v2/base/fiat/symbols","href":"/api-reference/basic-configuration/get-fiat-fiat-pairs"},{"title":"List Fiat→Crypto Payment Methods","sidebarTitle":"Fiat→Crypto Methods","api":"GET /v2/base/buy/payments","href":"/api-reference/basic-configuration/get-fiat-crypto-payment-methods"},{"title":"List Crypto→Fiat Payment Methods","sidebarTitle":"Crypto→Fiat Methods","api":"GET /v2/base/sell/payments","href":"/api-reference/basic-configuration/get-crypto-fiat-payment-methods"},{"title":"List Fiat→Fiat Payment Methods","sidebarTitle":"Fiat/Fiat Methods","description":"Retrieve payment methods for a fiat-to-fiat global payment corridor, including separate method lists for the sending and receiving currencies.","api":"GET /v2/base/fiat/payments","href":"/api-reference/basic-configuration/get-fiat-fiat-payment-methods"},{"title":"Upload a File","sidebarTitle":"Upload File","api":"POST /v2/base/file/upload","href":"/api-reference/basic-configuration/upload-file"}]},{"group":"Merchants","pages":[{"title":"Create a Merchant","sidebarTitle":"Create Merchant","description":"Register a new individual or business merchant under VelaFi's compliance framework and receive a unique KYC/KYB verification link.","api":"POST /v2/merchants","href":"/api-reference/merchant/create-merchant"},{"title":"List Merchants","sidebarTitle":"List Merchants","api":"GET /v2/merchants","href":"/api-reference/merchant/get-a-list-of-merchants"},{"title":"Activate an Individual Merchant Account","sidebarTitle":"Activate Individual","api":"POST /v2/merchant/accounts","href":"/api-reference/merchant/activate-merchant-account-for-individual"},{"title":"Activate a Business Merchant Account","sidebarTitle":"Activate Business","api":"POST /v2/merchant/accounts","href":"/api-reference/merchant/activate-merchant-account-for-business"},{"title":"Create Virtual Accounts","sidebarTitle":"Create Virtual Accounts","api":"POST /v2/merchant/virtual/accounts","href":"/api-reference/merchant/create-multiple-virtual-account"},{"title":"List Merchant Accounts","sidebarTitle":"Merchant Accounts","api":"GET /v2/merchant/accounts","href":"/api-reference/merchant/get-a-list-of-merchant-accounts"},{"title":"Request a Limit Upgrade","sidebarTitle":"Upgrade Limit","api":"POST /v2/upgrade/limits","href":"/api-reference/merchant/upgrade-merchant-limit"},{"title":"Get Pending Fund Account","sidebarTitle":"Pending Fund Account","api":"GET /v2/merchant/addfunds","href":"/api-reference/merchant/get-pending-fund-account"},{"title":"List Virtual Accounts","sidebarTitle":"List Virtual Accounts","api":"GET /v2/merchant/virtual/addfunds","href":"/api-reference/merchant/get-multiple-virtual-account"},{"title":"Claim Pending Funds","sidebarTitle":"Claim Pending Fund","api":"POST /v2/merchant/claimfunds","href":"/api-reference/merchant/claim-pending-fund"},{"title":"Get Transfer Fee","sidebarTitle":"Transfer Fee","api":"GET /v2/merchant/transfer_fee","href":"/api-reference/merchant/get-transfer-pending-funds-fee"},{"title":"Transfer Pending Funds","sidebarTitle":"Transfer Funds","api":"POST /v2/merchant/transfer","href":"/api-reference/merchant/transfer-pending-funds"},{"title":"List Funding Records","sidebarTitle":"Funding Records","api":"GET /v2/merchant/funding/records","href":"/api-reference/merchant/retrieve-funding-records"},{"title":"List Fiat Flows","sidebarTitle":"Fiat Flow","api":"GET /v2/merchant/fiat/flows","href":"/api-reference/merchant/get-a-list-merchant-fiat-flow"},{"title":"Get Crypto Balance","sidebarTitle":"Crypto Balance","api":"GET /v2/assets/account/assets","href":"/api-reference/merchant/get-crypto-assets-balance"},{"title":"Get Crypto Deposit Address","sidebarTitle":"Deposit Address","api":"GET /v2/assets/depositAddress","href":"/api-reference/merchant/get-crypto-deposit-address"},{"title":"Create a Crypto Transfer","sidebarTitle":"Crypto Transfer","api":"POST /v2/assets/internalTransfer","href":"/api-reference/merchant/crypto-transfer"},{"title":"List Crypto Transfers","sidebarTitle":"Crypto Transfer History","api":"GET /v2/assets/internalTransferOrders","href":"/api-reference/merchant/query-crypto-transfers"},{"title":"Get Woovi Liveness URL","sidebarTitle":"Woovi Liveness","api":"POST /v2/merchant/woovi/liveness","href":"/api-reference/merchant/get-woovi-liveness-url"}]},{"group":"Crypto Wallet","pages":[{"api":"GET /v2/assets/withdrawQuota","title":"Get Withdrawal Quota","sidebarTitle":"Withdrawal Quota","href":"/api-reference/crypto-wallet/get-withdrawal-quota"},{"api":"POST /v2/assets/withdraw","title":"Create a Crypto Withdrawal","sidebarTitle":"Create Crypto Withdrawal","href":"/api-reference/crypto-wallet/create-crypto-withdrawal"},{"api":"GET /v2/assets/depositOrders","title":"List Crypto Deposits","sidebarTitle":"Crypto Deposit History","href":"/api-reference/crypto-wallet/get-crypto-deposit-history"},{"api":"GET /v2/assets/withdrawalOrders","title":"List Crypto Withdrawals","sidebarTitle":"Crypto Withdrawal History","href":"/api-reference/crypto-wallet/get-crypto-withdrawal-history"},{"api":"POST /v2/user/whitelistAddress","title":"Add a Whitelist Address","sidebarTitle":"Add Whitelist Address","href":"/api-reference/crypto-wallet/add-whitelist-address"},{"api":"GET /v2/user/whitelistAddress","title":"List Whitelist Addresses","sidebarTitle":"List Whitelist Addresses","href":"/api-reference/crypto-wallet/get-whitelist-addresses"},{"api":"DELETE /v2/user/whitelistAddress/{addressId}","title":"Delete a Whitelist Address","sidebarTitle":"Delete Whitelist Address","href":"/api-reference/crypto-wallet/delete-whitelist-address"}]},{"group":"Beneficiaries","pages":[{"api":"GET /v2/payments/support/templates","title":"List Supported Payment Methods","sidebarTitle":"Supported Payment Methods","href":"/api-reference/beneficiary/get-supported-payment-methods"},{"title":"Get Payment Templates","sidebarTitle":"Payment Templates","api":"GET /v2/payments/templates","href":"/api-reference/beneficiary/get-payment-templates"},{"title":"Get Template Metadata","sidebarTitle":"Template Metadata","api":"GET /v2/payments/templates/metamessage","href":"/api-reference/beneficiary/get-payment-templates-metamessage"},{"title":"Add a Beneficiary","sidebarTitle":"Add Beneficiary","api":"POST /v2/payments","href":"/api-reference/beneficiary/add-beneficiary"},{"title":"List Beneficiaries","sidebarTitle":"Get Beneficiaries","api":"GET /v2/payments","href":"/api-reference/beneficiary/get-beneficiary"},{"title":"Delete a Beneficiary","sidebarTitle":"Delete Beneficiary","href":"/api-reference/beneficiary/delete-beneficiary"},{"title":"Set the Refund Account","sidebarTitle":"Set Refund Account","api":"POST /v2/payments/refund_account","href":"/api-reference/beneficiary/set-refund-account"},{"api":"GET /v2/merchant/check/alias","title":"Check an Alias (ARS)","sidebarTitle":"Check Alias (ARS)","href":"/api-reference/beneficiary/check-alias"},{"api":"GET /v2/merchant/check/cvu","title":"Check a CVU/CBU (ARS)","sidebarTitle":"Check CVU (ARS)","href":"/api-reference/beneficiary/check-cvu"}]},{"group":"Quotes","pages":[{"title":"Get a Crypto/Fiat Quote","sidebarTitle":"Crypto/Fiat Quote","api":"GET /v2/user/crypto-quote","href":"/api-reference/quote/get-user-quote-for-crypto-fiat"},{"title":"Get a Fiat/Fiat Quote","sidebarTitle":"Fiat/Fiat Quote","api":"GET /v2/user/fiat-quote","href":"/api-reference/quote/get-user-quote-for-fiat-fiat"}]},{"group":"Orders","pages":[{"title":"Create an On-Ramp Order","sidebarTitle":"Fiat→Crypto Order","api":"POST /v2/order/fiat_to_crypto","href":"/api-reference/order/create-a-fiat-to-crypto-order"},{"title":"Create an Off-Ramp Order","sidebarTitle":"Crypto→Fiat Order","api":"POST /v2/order/crypto_to_fiat","href":"/api-reference/order/create-a-crypto-to-fiat-order"},{"title":"Create a Global Payment Order","sidebarTitle":"Fiat→Fiat Order","api":"POST /v2/order/fiat_to_fiat","href":"/api-reference/order/create-a-fiat-to-fiat-order"},{"title":"Confirm an Order","sidebarTitle":"Confirm Order","api":"POST /v2/order/confirm","href":"/api-reference/order/confirm-a-specific-order"},{"title":"Get an Order","sidebarTitle":"Get Order","api":"GET /v2/order/detail","href":"/api-reference/order/retrieve-a-specific-order"},{"title":"List Orders","sidebarTitle":"List Orders","api":"GET /v2/orders","href":"/api-reference/order/retrieve-a-list-of-orders"},{"title":"Upload Order Documents","sidebarTitle":"Upload Documents","api":"POST /v2/order/invoice","href":"/api-reference/order/upload-invoice-documents-for-a-specific-order"}]},{"group":"Webhooks","pages":[{"title":"Webhook Setup","sidebarTitle":"Webhook Setup","href":"/api-reference/webhooks/webhook-setup"},{"title":"Create a Webhook","sidebarTitle":"Create Webhook","api":"POST /v2/webhook","href":"/api-reference/webhooks/create-webhook-endpoints"},{"title":"List Webhooks","sidebarTitle":"Get Webhooks","api":"GET /v2/webhooks","href":"/api-reference/webhooks/get-webhook-endpoints"},{"title":"Update a Webhook","sidebarTitle":"Update Webhook","href":"/api-reference/webhooks/update-a-webhook"},{"title":"Delete a Webhook","sidebarTitle":"Delete Webhook","href":"/api-reference/webhooks/delete-a-webhook"},{"title":"Order Event","sidebarTitle":"Order Event","href":"/api-reference/webhooks/fiat-crypto-order-message-push"},{"title":"Global Payment Event","sidebarTitle":"Global Payment Event","href":"/api-reference/webhooks/fiat-fiat-order-message-push"},{"title":"Funding Event","sidebarTitle":"Funding Event","href":"/api-reference/webhooks/funding-records-message-push"},{"title":"Stablecoin Payment Event","sidebarTitle":"Stablecoin Payment Event","href":"/api-reference/webhooks/stablecoin-payment-order-message-push"},{"title":"On-Ramp Withdrawal Event","sidebarTitle":"On-Ramp Withdrawal Event","href":"/api-reference/webhooks/on-ramp-withdraw-message-push"},{"title":"Crypto Withdrawal Event","sidebarTitle":"Crypto Withdrawal Event","href":"/api-reference/webhooks/crypto-withdraw-message-push"}]}]},{"tab":"Changelog","pages":[{"title":"Changelog","href":"/docs/changelog"}]}]},{"language":"cn","pages":[{"title":"cn","href":"/cn/api-reference/basic-configuration/upload-file"}]},{"language":"es","pages":[{"title":"es","href":"/es/api-reference/basic-configuration/upload-file"}]}]},"basePath":"","title":"Upload a File - VelaFi","buildId":"dpl_BLQvU86QFwq3AhPofSTw6q8dGWKm","deploymentId":"dpl_BLQvU86QFwq3AhPofSTw6q8dGWKm","dynamics":["c2aa737661","b0f84f53ff","2b790eda92"],"chunks":["OpenApiReferenceProvider-Myd8dsju.js","utils-C2HkQgW0.js","cloneDeep-izs3Hzxb.js","_Uint8Array-BVIqJ90l.js","isObjectLike-C8vmzPEN.js","isArray-Dcu1dQ5t.js","utils-8rSppmTv.js","toString-BX-iyh8G.js","isSymbol-CSH9U2Gm.js","addUniqueKeysToSchema-B6MjiCFm.js","snippetPresets-DwrSAONL.js","style-to-object-BY3JEAdk.js","v4-DIgz8zy6.js","Page-CxAy5y67.js","ApiExamples-1-a5UQKQ.js","isEqual-BfaiBbcl.js","usePlaygroundInputsStore-C541m7wZ.js","shallow-CWELCZ77.js","getApiPlaygroundDisplay-CTo5Zn03.js","CodeSnippet-D--dzvnl.js","CodeSnippets-DM3cXEDh.js","getPastedJson-C-VECgcL.js","icon-BPq2-Mg3.js","MethodPill-D9J5cUHd.js","DuplicateIcon-BqHaxUnD.js","createIcon-CIbcZHp9.js","DynamicMarkdown-BKiHAm_d.js","SectionHeading-DstQXt3H.js","axios-vUo_bRtp.js"]}