{"docsConfig":{"theme":"linden","$schema":"https://mintlify.com/docs.json","name":"OLIVE Payment Platform","colors":{"primary":"#6F5DFD","light":"#A394FF","dark":"#3DADF7"},"logo":{"light":"https://mintcdn.com/olive/1iuKbSYkEo7vmLTo/logo/olive-light.svg?fit=max\u0026auto=format\u0026n=1iuKbSYkEo7vmLTo\u0026q=85\u0026s=d0f1e93ddbf892380723c1fab82cf84e","dark":"https://mintcdn.com/olive/1iuKbSYkEo7vmLTo/logo/olive-dark.svg?fit=max\u0026auto=format\u0026n=1iuKbSYkEo7vmLTo\u0026q=85\u0026s=8bcb01bdad6ee038a6d7378d13f715ef"},"favicon":"https://mintcdn.com/olive/1iuKbSYkEo7vmLTo/favicon.svg?fit=max\u0026auto=format\u0026n=1iuKbSYkEo7vmLTo\u0026q=85\u0026s=4b2b4012f18e95a2eb49b02469a215cd","api":{"playground":{"display":"interactive","proxy":true},"examples":{"defaults":"required","languages":["bash","javascript","python"]},"mdx":{"auth":{"method":"bearer"},"server":"https://olive-gateway-a6ba.onrender.com"}},"styling":{"latex":false},"background":{"color":{"light":"#fbfaff","dark":"#0e0d12"}},"navigation":{"pages":[]}},"deployment":{"deploymentMetadataValue":{"subdomain":"olive","hasAudioNarration":false,"actualSubdomain":"olive","customDomains":["docs.vultlocal.com"],"gitSource":{"type":"github","owner":"emmanuelkeifala","repo":"olive","deployBranch":"feat/whatsapp-flows","contentDirectory":"mintlify-docs","isPrivate":true,"mountPath":"","label":""},"chroma":{"liveDeploymentHistoryId":"6a5150575ad1d54384fcd3cb","collectionId":"433c0f23-ef02-4195-b462-b2b42a601d34","schemaVersion":"v3"},"entitlements":{},"buildId":"6ae944863891c038938b2a4b:success","clientVersion":"0.0.4074","searchFilterCounts":[{"language":"default","tag":"API Reference","count":186},{"language":"default","tag":"Documentation","count":26},{"language":"default","tag":"Subscribers","count":21},{"language":"default","tag":"Processors","count":19},{"language":"default","tag":"Agents","count":18},{"language":"default","tag":"Cards","count":17},{"language":"default","tag":"Admin","count":16},{"language":"default","tag":"Wallet","count":14},{"language":"default","tag":"POS","count":13},{"language":"default","tag":"Compliance","count":10}]},"assistantConfig":{"enableAskAiButton":false,"enableStarterQuestions":false,"enableAskAiSearchBar":true},"basePath":"","hasChatPermissions":false,"hasWebMcpPermissions":false,"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/cards/upload","slug":"/api-reference/cards/upload","pageMetadata":{"title":"Upload Cards CSV","description":"Bulk upload NFC cards via CSV file","openapi":"olive-openapi.json POST /cards/upload-csv","icon":"upload","href":"/api-reference/cards/upload"},"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: \"Bulk upload NFC cards via CSV file\"\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`,hr:`hr`,li:`li`,p:`p`,pre:`pre`,span:`span`,tbody:`tbody`,td:`td`,th:`th`,thead:`thead`,tr:`tr`,ul:`ul`,..._provideComponents(),...props.components},{Accordion,AccordionGroup,Card,CardGroup,CodeBlock,Heading,Info,ParamField,ResponseField,Table,Warning}=_components;if(!Accordion)_missingMdxReference(`Accordion`,true);if(!AccordionGroup)_missingMdxReference(`AccordionGroup`,true);if(!Card)_missingMdxReference(`Card`,true);if(!CardGroup)_missingMdxReference(`CardGroup`,true);if(!CodeBlock)_missingMdxReference(`CodeBlock`,true);if(!Heading)_missingMdxReference(`Heading`,true);if(!Info)_missingMdxReference(`Info`,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:[_jsx(Info,{children:_jsx(_components.p,{children:`Admin endpoint for bulk importing NFC cards into the system. Cards are created with status “Unassigned”.`})}),`\n`,_jsx(Heading,{level:`2`,id:`request`,children:`Request`}),`\n`,_jsx(ParamField,{header:`Authorization`,type:`string`,required:true,id:`param-authorization`,children:_jsxs(_components.p,{children:[_jsx(_components.code,{children:`Bearer olive_live_xxx`}),` or `,_jsx(_components.code,{children:`Bearer eyJ...`}),` (JWT)`]})}),`\n`,_jsx(ParamField,{header:`Content-Type`,type:`string`,required:true,id:`param-content-type`,children:_jsx(_components.p,{children:_jsx(_components.code,{children:`multipart/form-data`})})}),`\n`,_jsx(Heading,{level:`3`,id:`form-data`,children:`Form Data`}),`\n`,_jsx(ParamField,{body:`file`,type:`file`,required:true,id:`param-file`,children:_jsx(_components.p,{children:`CSV file with card data`})}),`\n`,_jsx(_components.hr,{}),`\n`,_jsx(Heading,{level:`2`,id:`csv-format`,children:`CSV Format`}),`\n`,_jsx(CodeBlock,{filename:``,numberOfLines:`4`,language:`csv`,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:`csv`,children:_jsxs(_components.code,{language:`csv`,numberOfLines:`4`,children:[_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`Serial No.,`}),_jsx(_components.span,{style:{color:`#CF222E`,\"--shiki-dark\":`#569CD6`},children:`MAC Address`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`OLIV0001,`}),_jsx(_components.span,{style:{color:`#CF222E`,\"--shiki-dark\":`#569CD6`},children:`AA:BB:CC:DD:EE:01`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`OLIV0002,`}),_jsx(_components.span,{style:{color:`#CF222E`,\"--shiki-dark\":`#569CD6`},children:`AA:BB:CC:DD:EE:02`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`OLIV0003,`}),_jsx(_components.span,{style:{color:`#CF222E`,\"--shiki-dark\":`#569CD6`},children:`AA:BB:CC:DD:EE:03`})]}),`\n`]})})}),`\n`,_jsx(Heading,{level:`3`,id:`column-requirements`,children:`Column Requirements`}),`\n`,_jsxs(Table,{children:[_jsx(_components.thead,{children:_jsxs(_components.tr,{children:[_jsx(_components.th,{children:`Column`}),_jsx(_components.th,{children:`Format`}),_jsx(_components.th,{children:`Required`})]})}),_jsxs(_components.tbody,{children:[_jsxs(_components.tr,{children:[_jsx(_components.td,{children:`Serial No.`}),_jsxs(_components.td,{children:[`Alphanumeric (e.g., `,_jsx(_components.code,{children:`OLIV0001`}),`)`]}),_jsx(_components.td,{children:`Yes`})]}),_jsxs(_components.tr,{children:[_jsx(_components.td,{children:`MAC Address`}),_jsxs(_components.td,{children:[`6-octet (`,_jsx(_components.code,{children:`AA:BB:CC:DD:EE:FF`}),`) or 7-octet`]}),_jsx(_components.td,{children:`Yes`})]})]})]}),`\n`,_jsx(Info,{children:_jsxs(_components.p,{children:[`MAC addresses can use colons (`,_jsx(_components.code,{children:`:`}),`) or hyphens (`,_jsx(_components.code,{children:`-`}),`) as separators.`]})}),`\n`,_jsx(_components.hr,{}),`\n`,_jsx(Heading,{level:`2`,id:`response`,children:`Response`}),`\n`,_jsx(ResponseField,{name:`success`,type:`boolean`,id:`param-success`,children:_jsx(_components.p,{children:`Whether upload succeeded`})}),`\n`,_jsx(ResponseField,{name:`message`,type:`string`,id:`param-message`,children:_jsx(_components.p,{children:`Summary message`})}),`\n`,_jsx(ResponseField,{name:`total`,type:`integer`,id:`param-total`,children:_jsx(_components.p,{children:`Total rows in CSV`})}),`\n`,_jsx(ResponseField,{name:`created`,type:`integer`,id:`param-created`,children:_jsx(_components.p,{children:`Successfully created cards`})}),`\n`,_jsx(ResponseField,{name:`errors`,type:`array`,id:`param-errors`,children:_jsx(_components.p,{children:`List of rows with errors`})}),`\n`,_jsx(_components.hr,{}),`\n`,_jsx(Heading,{level:`2`,id:`examples`,children:`Examples`}),`\n`,`\n`,`\n`,_jsx(_components.hr,{}),`\n`,_jsx(Heading,{level:`2`,id:`validation-rules`,children:`Validation Rules`}),`\n`,_jsxs(CardGroup,{cols:2,children:[_jsx(Card,{title:`Serial Number`,icon:`hash`,children:_jsxs(_components.ul,{children:[`\n`,_jsx(_components.li,{children:`Must be unique in system`}),`\n`,_jsx(_components.li,{children:`Alphanumeric characters`}),`\n`,_jsx(_components.li,{children:`No special characters`}),`\n`]})}),_jsx(Card,{title:`MAC Address`,icon:`wifi`,children:_jsxs(_components.ul,{children:[`\n`,_jsx(_components.li,{children:`Valid hex octets`}),`\n`,_jsx(_components.li,{children:`6 or 7 octets supported`}),`\n`,_jsx(_components.li,{children:`Colons or hyphens allowed`}),`\n`]})})]}),`\n`,_jsx(_components.hr,{}),`\n`,_jsx(Heading,{level:`2`,id:`best-practices`,children:`Best Practices`}),`\n`,_jsxs(AccordionGroup,{children:[_jsx(Accordion,{title:`File Size`,icon:`file`,id:`file-size`,children:_jsxs(_components.ul,{children:[`\n`,_jsx(_components.li,{children:`Keep files under 10,000 rows for best performance`}),`\n`,_jsx(_components.li,{children:`Split larger imports into batches`}),`\n`]})}),_jsx(Accordion,{title:`Error Handling`,icon:`alert-triangle`,id:`error-handling`,children:_jsxs(_components.ul,{children:[`\n`,_jsx(_components.li,{children:`Review errors array after upload`}),`\n`,_jsx(_components.li,{children:`Fix invalid rows and re-upload`}),`\n`,_jsx(_components.li,{children:`Valid rows are still created even if some fail`}),`\n`]})}),_jsx(Accordion,{title:`Duplicate Detection`,icon:`copy`,id:`duplicate-detection`,children:_jsxs(_components.ul,{children:[`\n`,_jsx(_components.li,{children:`Serial numbers must be unique`}),`\n`,_jsx(_components.li,{children:`Duplicates in CSV are rejected`}),`\n`,_jsx(_components.li,{children:`Existing cards in system are skipped`}),`\n`]})})]}),`\n`,_jsx(_components.hr,{}),`\n`,_jsx(Heading,{level:`2`,id:`permissions`,children:`Permissions`}),`\n`,_jsx(Warning,{children:_jsxs(_components.p,{children:[`Only users with `,_jsx(_components.code,{children:`system_admin`}),` role can upload cards.`]})}),`\n`,_jsx(_components.hr,{}),`\n`,_jsx(Heading,{level:`2`,id:`errors`,children:`Errors`}),`\n`,_jsxs(Table,{children:[_jsx(_components.thead,{children:_jsxs(_components.tr,{children:[_jsx(_components.th,{children:`Status`}),_jsx(_components.th,{children:`Code`}),_jsx(_components.th,{children:`Description`})]})}),_jsxs(_components.tbody,{children:[_jsxs(_components.tr,{children:[_jsx(_components.td,{\"data-numeric\":`true`,children:`400`}),_jsx(_components.td,{children:_jsx(_components.code,{children:`INVALID_CSV`})}),_jsx(_components.td,{children:`CSV format or structure error`})]}),_jsxs(_components.tr,{children:[_jsx(_components.td,{\"data-numeric\":`true`,children:`400`}),_jsx(_components.td,{children:_jsx(_components.code,{children:`MISSING_FILE`})}),_jsx(_components.td,{children:`No file uploaded`})]}),_jsxs(_components.tr,{children:[_jsx(_components.td,{\"data-numeric\":`true`,children:`401`}),_jsx(_components.td,{children:_jsx(_components.code,{children:`UNAUTHORIZED`})}),_jsx(_components.td,{children:`Invalid API key`})]}),_jsxs(_components.tr,{children:[_jsx(_components.td,{\"data-numeric\":`true`,children:`403`}),_jsx(_components.td,{children:_jsx(_components.code,{children:`FORBIDDEN`})}),_jsx(_components.td,{children:`Not authorized to upload`})]}),_jsxs(_components.tr,{children:[_jsx(_components.td,{\"data-numeric\":`true`,children:`413`}),_jsx(_components.td,{children:_jsx(_components.code,{children:`FILE_TOO_LARGE`})}),_jsx(_components.td,{children:`File exceeds size limit`})]}),_jsxs(_components.tr,{children:[_jsx(_components.td,{\"data-numeric\":`true`,children:`500`}),_jsx(_components.td,{children:_jsx(_components.code,{children:`INTERNAL_ERROR`})}),_jsx(_components.td,{children:`Server error`})]})]})]})]})}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 Cards CSV","description":"Bulk upload NFC cards via CSV file","openapi":"olive-openapi.json POST /cards/upload-csv","icon":"upload","href":"/api-reference/cards/upload"}}},"mdxSourceWithNoJs":{"compiledSource":"\"use strict\";const{Fragment:_Fragment,jsx:_jsx,jsxs:_jsxs}=arguments[0];const{useMDXComponents:_provideComponents}=arguments[0];function _createMdxContent(props){const _components={code:`code`,hr:`hr`,li:`li`,p:`p`,pre:`pre`,span:`span`,tbody:`tbody`,td:`td`,th:`th`,thead:`thead`,tr:`tr`,ul:`ul`,..._provideComponents(),...props.components},{Accordion,AccordionGroup,Card,CardGroup,CodeBlock,Heading,Info,ParamField,RequestExample,ResponseExample,ResponseField,Table,Warning}=_components;if(!Accordion)_missingMdxReference(`Accordion`,true);if(!AccordionGroup)_missingMdxReference(`AccordionGroup`,true);if(!Card)_missingMdxReference(`Card`,true);if(!CardGroup)_missingMdxReference(`CardGroup`,true);if(!CodeBlock)_missingMdxReference(`CodeBlock`,true);if(!Heading)_missingMdxReference(`Heading`,true);if(!Info)_missingMdxReference(`Info`,true);if(!ParamField)_missingMdxReference(`ParamField`,true);if(!RequestExample)_missingMdxReference(`RequestExample`,true);if(!ResponseExample)_missingMdxReference(`ResponseExample`,true);if(!ResponseField)_missingMdxReference(`ResponseField`,true);if(!Table)_missingMdxReference(`Table`,true);if(!Warning)_missingMdxReference(`Warning`,true);return _jsxs(_Fragment,{children:[_jsx(Info,{children:_jsx(_components.p,{children:`Admin endpoint for bulk importing NFC cards into the system. Cards are created with status “Unassigned”.`})}),`\n`,_jsx(Heading,{level:`2`,id:`request`,children:`Request`}),`\n`,_jsx(ParamField,{header:`Authorization`,type:`string`,required:true,id:`param-authorization`,children:_jsxs(_components.p,{children:[_jsx(_components.code,{children:`Bearer olive_live_xxx`}),` or `,_jsx(_components.code,{children:`Bearer eyJ...`}),` (JWT)`]})}),`\n`,_jsx(ParamField,{header:`Content-Type`,type:`string`,required:true,id:`param-content-type`,children:_jsx(_components.p,{children:_jsx(_components.code,{children:`multipart/form-data`})})}),`\n`,_jsx(Heading,{level:`3`,id:`form-data`,children:`Form Data`}),`\n`,_jsx(ParamField,{body:`file`,type:`file`,required:true,id:`param-file`,children:_jsx(_components.p,{children:`CSV file with card data`})}),`\n`,_jsx(_components.hr,{}),`\n`,_jsx(Heading,{level:`2`,id:`csv-format`,children:`CSV Format`}),`\n`,_jsx(CodeBlock,{filename:``,numberOfLines:`4`,language:`csv`,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:`csv`,children:_jsxs(_components.code,{language:`csv`,numberOfLines:`4`,children:[_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`Serial No.,`}),_jsx(_components.span,{style:{color:`#CF222E`,\"--shiki-dark\":`#569CD6`},children:`MAC Address`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`OLIV0001,`}),_jsx(_components.span,{style:{color:`#CF222E`,\"--shiki-dark\":`#569CD6`},children:`AA:BB:CC:DD:EE:01`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`OLIV0002,`}),_jsx(_components.span,{style:{color:`#CF222E`,\"--shiki-dark\":`#569CD6`},children:`AA:BB:CC:DD:EE:02`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`OLIV0003,`}),_jsx(_components.span,{style:{color:`#CF222E`,\"--shiki-dark\":`#569CD6`},children:`AA:BB:CC:DD:EE:03`})]}),`\n`]})})}),`\n`,_jsx(Heading,{level:`3`,id:`column-requirements`,children:`Column Requirements`}),`\n`,_jsxs(Table,{children:[_jsx(_components.thead,{children:_jsxs(_components.tr,{children:[_jsx(_components.th,{children:`Column`}),_jsx(_components.th,{children:`Format`}),_jsx(_components.th,{children:`Required`})]})}),_jsxs(_components.tbody,{children:[_jsxs(_components.tr,{children:[_jsx(_components.td,{children:`Serial No.`}),_jsxs(_components.td,{children:[`Alphanumeric (e.g., `,_jsx(_components.code,{children:`OLIV0001`}),`)`]}),_jsx(_components.td,{children:`Yes`})]}),_jsxs(_components.tr,{children:[_jsx(_components.td,{children:`MAC Address`}),_jsxs(_components.td,{children:[`6-octet (`,_jsx(_components.code,{children:`AA:BB:CC:DD:EE:FF`}),`) or 7-octet`]}),_jsx(_components.td,{children:`Yes`})]})]})]}),`\n`,_jsx(Info,{children:_jsxs(_components.p,{children:[`MAC addresses can use colons (`,_jsx(_components.code,{children:`:`}),`) or hyphens (`,_jsx(_components.code,{children:`-`}),`) as separators.`]})}),`\n`,_jsx(_components.hr,{}),`\n`,_jsx(Heading,{level:`2`,id:`response`,children:`Response`}),`\n`,_jsx(ResponseField,{name:`success`,type:`boolean`,id:`param-success`,children:_jsx(_components.p,{children:`Whether upload succeeded`})}),`\n`,_jsx(ResponseField,{name:`message`,type:`string`,id:`param-message`,children:_jsx(_components.p,{children:`Summary message`})}),`\n`,_jsx(ResponseField,{name:`total`,type:`integer`,id:`param-total`,children:_jsx(_components.p,{children:`Total rows in CSV`})}),`\n`,_jsx(ResponseField,{name:`created`,type:`integer`,id:`param-created`,children:_jsx(_components.p,{children:`Successfully created cards`})}),`\n`,_jsx(ResponseField,{name:`errors`,type:`array`,id:`param-errors`,children:_jsx(_components.p,{children:`List of rows with errors`})}),`\n`,_jsx(_components.hr,{}),`\n`,_jsx(Heading,{level:`2`,id:`examples`,children:`Examples`}),`\n`,_jsx(RequestExample,{children:_jsx(CodeBlock,{filename:`cURL`,numberOfLines:`3`,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:`3`,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:` -X`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` POST`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` \"https://demo.api.vultlocal.com/api/v1/cards/upload-csv\"`}),_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:` -H`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` \"Authorization: Bearer olive_live_xxx\"`}),_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:` -F`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` \"file=@cards.csv\"`})]}),`\n`]})})})}),`\n`,_jsxs(ResponseExample,{children:[_jsx(CodeBlock,{filename:`200 Success`,numberOfLines:`18`,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:`18`,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:` \"success\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-dark\":`#569CD6`},children:`true`}),_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:` \"message\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"Cards uploaded successfully\"`}),_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:` \"total\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-dark\":`#B5CEA8`},children:`100`}),_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:` \"created\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-dark\":`#B5CEA8`},children:`98`}),_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:` \"errors\"`}),_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:` \"row\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-dark\":`#B5CEA8`},children:`15`}),_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:` \"serial\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"OLIV0015\"`}),_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:` \"error\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"Duplicate serial number\"`})]}),`\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`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#9CDCFE`},children:` \"row\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-dark\":`#B5CEA8`},children:`42`}),_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:` \"serial\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"OLIV0042\"`}),_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:` \"error\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"Invalid MAC address format\"`})]}),`\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`]})})}),_jsx(CodeBlock,{filename:`400 Invalid File`,numberOfLines:`5`,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:`5`,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:` \"error\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"Invalid CSV format\"`}),_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:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"INVALID_CSV\"`}),_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:` \"details\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"Missing required column: MAC Address\"`})]}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`}`})}),`\n`]})})})]}),`\n`,_jsx(_components.hr,{}),`\n`,_jsx(Heading,{level:`2`,id:`validation-rules`,children:`Validation Rules`}),`\n`,_jsxs(CardGroup,{cols:2,children:[_jsx(Card,{title:`Serial Number`,icon:`hash`,children:_jsxs(_components.ul,{children:[`\n`,_jsx(_components.li,{children:`Must be unique in system`}),`\n`,_jsx(_components.li,{children:`Alphanumeric characters`}),`\n`,_jsx(_components.li,{children:`No special characters`}),`\n`]})}),_jsx(Card,{title:`MAC Address`,icon:`wifi`,children:_jsxs(_components.ul,{children:[`\n`,_jsx(_components.li,{children:`Valid hex octets`}),`\n`,_jsx(_components.li,{children:`6 or 7 octets supported`}),`\n`,_jsx(_components.li,{children:`Colons or hyphens allowed`}),`\n`]})})]}),`\n`,_jsx(_components.hr,{}),`\n`,_jsx(Heading,{level:`2`,id:`best-practices`,children:`Best Practices`}),`\n`,_jsxs(AccordionGroup,{children:[_jsx(Accordion,{title:`File Size`,icon:`file`,id:`file-size`,children:_jsxs(_components.ul,{children:[`\n`,_jsx(_components.li,{children:`Keep files under 10,000 rows for best performance`}),`\n`,_jsx(_components.li,{children:`Split larger imports into batches`}),`\n`]})}),_jsx(Accordion,{title:`Error Handling`,icon:`alert-triangle`,id:`error-handling`,children:_jsxs(_components.ul,{children:[`\n`,_jsx(_components.li,{children:`Review errors array after upload`}),`\n`,_jsx(_components.li,{children:`Fix invalid rows and re-upload`}),`\n`,_jsx(_components.li,{children:`Valid rows are still created even if some fail`}),`\n`]})}),_jsx(Accordion,{title:`Duplicate Detection`,icon:`copy`,id:`duplicate-detection`,children:_jsxs(_components.ul,{children:[`\n`,_jsx(_components.li,{children:`Serial numbers must be unique`}),`\n`,_jsx(_components.li,{children:`Duplicates in CSV are rejected`}),`\n`,_jsx(_components.li,{children:`Existing cards in system are skipped`}),`\n`]})})]}),`\n`,_jsx(_components.hr,{}),`\n`,_jsx(Heading,{level:`2`,id:`permissions`,children:`Permissions`}),`\n`,_jsx(Warning,{children:_jsxs(_components.p,{children:[`Only users with `,_jsx(_components.code,{children:`system_admin`}),` role can upload cards.`]})}),`\n`,_jsx(_components.hr,{}),`\n`,_jsx(Heading,{level:`2`,id:`errors`,children:`Errors`}),`\n`,_jsxs(Table,{children:[_jsx(_components.thead,{children:_jsxs(_components.tr,{children:[_jsx(_components.th,{children:`Status`}),_jsx(_components.th,{children:`Code`}),_jsx(_components.th,{children:`Description`})]})}),_jsxs(_components.tbody,{children:[_jsxs(_components.tr,{children:[_jsx(_components.td,{\"data-numeric\":`true`,children:`400`}),_jsx(_components.td,{children:_jsx(_components.code,{children:`INVALID_CSV`})}),_jsx(_components.td,{children:`CSV format or structure error`})]}),_jsxs(_components.tr,{children:[_jsx(_components.td,{\"data-numeric\":`true`,children:`400`}),_jsx(_components.td,{children:_jsx(_components.code,{children:`MISSING_FILE`})}),_jsx(_components.td,{children:`No file uploaded`})]}),_jsxs(_components.tr,{children:[_jsx(_components.td,{\"data-numeric\":`true`,children:`401`}),_jsx(_components.td,{children:_jsx(_components.code,{children:`UNAUTHORIZED`})}),_jsx(_components.td,{children:`Invalid API key`})]}),_jsxs(_components.tr,{children:[_jsx(_components.td,{\"data-numeric\":`true`,children:`403`}),_jsx(_components.td,{children:_jsx(_components.code,{children:`FORBIDDEN`})}),_jsx(_components.td,{children:`Not authorized to upload`})]}),_jsxs(_components.tr,{children:[_jsx(_components.td,{\"data-numeric\":`true`,children:`413`}),_jsx(_components.td,{children:_jsx(_components.code,{children:`FILE_TOO_LARGE`})}),_jsx(_components.td,{children:`File exceeds size limit`})]}),_jsxs(_components.tr,{children:[_jsx(_components.td,{\"data-numeric\":`true`,children:`500`}),_jsx(_components.td,{children:_jsx(_components.code,{children:`INTERNAL_ERROR`})}),_jsx(_components.td,{children:`Server error`})]})]})]})]})}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 Cards CSV","description":"Bulk upload NFC cards via CSV file","openapi":"olive-openapi.json POST /cards/upload-csv","icon":"upload","href":"/api-reference/cards/upload"}}}},"mdxExtracts":{"tableOfContents":[{"title":"Request","slug":"request","depth":2,"children":[{"title":"Form Data","slug":"form-data","depth":3,"children":[]}]},{"title":"CSV Format","slug":"csv-format","depth":2,"children":[{"title":"Column Requirements","slug":"column-requirements","depth":3,"children":[]}]},{"title":"Response","slug":"response","depth":2,"children":[]},{"title":"Examples","slug":"examples","depth":2,"children":[]},{"title":"Validation Rules","slug":"validation-rules","depth":2,"children":[]},{"title":"Best Practices","slug":"best-practices","depth":2,"children":[]},{"title":"Permissions","slug":"permissions","depth":2,"children":[]},{"title":"Errors","slug":"errors","depth":2,"children":[]}],"codeExamples":{"request":{"type":"RequestExample","children":[{"filename":"cURL","html":"\u003cpre class=\"shiki shiki-themes github-light-default dark-plus\" style=\"background-color:#ffffff;--shiki-dark-bg:#0B0C0E;color:#1f2328;--shiki-dark:#D4D4D4\" language=\"shellscript\">\u003ccode language=\"shellscript\" numberOfLines=\"3\">\u003cspan class=\"line\">\u003cspan style=\"color:#953800;--shiki-dark:#DCDCAA\">curl\u003c/span>\u003cspan style=\"color:#0550AE;--shiki-dark:#569CD6\"> -X\u003c/span>\u003cspan style=\"color:#0A3069;--shiki-dark:#CE9178\"> POST\u003c/span>\u003cspan style=\"color:#0A3069;--shiki-dark:#CE9178\"> \"https://demo.api.vultlocal.com/api/v1/cards/upload-csv\"\u003c/span>\u003cspan style=\"color:#CF222E;--shiki-dark:#D7BA7D\"> \\\u003c/span>\u003c/span>\n\u003cspan class=\"line\">\u003cspan style=\"color:#0550AE;--shiki-dark:#569CD6\"> -H\u003c/span>\u003cspan style=\"color:#0A3069;--shiki-dark:#CE9178\"> \"Authorization: Bearer olive_live_xxx\"\u003c/span>\u003cspan style=\"color:#CF222E;--shiki-dark:#D7BA7D\"> \\\u003c/span>\u003c/span>\n\u003cspan class=\"line\">\u003cspan style=\"color:#0550AE;--shiki-dark:#569CD6\"> -F\u003c/span>\u003cspan style=\"color:#0A3069;--shiki-dark:#CE9178\"> \"file=@cards.csv\"\u003c/span>\u003c/span>\n\u003c/code>\u003c/pre>"}],"attributes":[]},"response":{"type":"ResponseExample","children":[{"filename":"200 Success","html":"\u003cpre class=\"shiki shiki-themes github-light-default dark-plus\" style=\"background-color:#ffffff;--shiki-dark-bg:#0B0C0E;color:#1f2328;--shiki-dark:#D4D4D4\" language=\"json\">\u003ccode language=\"json\" numberOfLines=\"18\">\u003cspan class=\"line\">\u003cspan style=\"color:#1F2328;--shiki-dark:#D4D4D4\">{\u003c/span>\u003c/span>\n\u003cspan class=\"line\">\u003cspan style=\"color:#116329;--shiki-dark:#9CDCFE\"> \"success\"\u003c/span>\u003cspan style=\"color:#1F2328;--shiki-dark:#D4D4D4\">: \u003c/span>\u003cspan style=\"color:#0550AE;--shiki-dark:#569CD6\">true\u003c/span>\u003cspan style=\"color:#1F2328;--shiki-dark:#D4D4D4\">,\u003c/span>\u003c/span>\n\u003cspan class=\"line\">\u003cspan style=\"color:#116329;--shiki-dark:#9CDCFE\"> \"message\"\u003c/span>\u003cspan style=\"color:#1F2328;--shiki-dark:#D4D4D4\">: \u003c/span>\u003cspan style=\"color:#0A3069;--shiki-dark:#CE9178\">\"Cards uploaded successfully\"\u003c/span>\u003cspan style=\"color:#1F2328;--shiki-dark:#D4D4D4\">,\u003c/span>\u003c/span>\n\u003cspan class=\"line\">\u003cspan style=\"color:#116329;--shiki-dark:#9CDCFE\"> \"total\"\u003c/span>\u003cspan style=\"color:#1F2328;--shiki-dark:#D4D4D4\">: \u003c/span>\u003cspan style=\"color:#0550AE;--shiki-dark:#B5CEA8\">100\u003c/span>\u003cspan style=\"color:#1F2328;--shiki-dark:#D4D4D4\">,\u003c/span>\u003c/span>\n\u003cspan class=\"line\">\u003cspan style=\"color:#116329;--shiki-dark:#9CDCFE\"> \"created\"\u003c/span>\u003cspan style=\"color:#1F2328;--shiki-dark:#D4D4D4\">: \u003c/span>\u003cspan style=\"color:#0550AE;--shiki-dark:#B5CEA8\">98\u003c/span>\u003cspan style=\"color:#1F2328;--shiki-dark:#D4D4D4\">,\u003c/span>\u003c/span>\n\u003cspan class=\"line\">\u003cspan style=\"color:#116329;--shiki-dark:#9CDCFE\"> \"errors\"\u003c/span>\u003cspan style=\"color:#1F2328;--shiki-dark:#D4D4D4\">: [\u003c/span>\u003c/span>\n\u003cspan class=\"line\">\u003cspan style=\"color:#1F2328;--shiki-dark:#D4D4D4\"> {\u003c/span>\u003c/span>\n\u003cspan class=\"line\">\u003cspan style=\"color:#116329;--shiki-dark:#9CDCFE\"> \"row\"\u003c/span>\u003cspan style=\"color:#1F2328;--shiki-dark:#D4D4D4\">: \u003c/span>\u003cspan style=\"color:#0550AE;--shiki-dark:#B5CEA8\">15\u003c/span>\u003cspan style=\"color:#1F2328;--shiki-dark:#D4D4D4\">,\u003c/span>\u003c/span>\n\u003cspan class=\"line\">\u003cspan style=\"color:#116329;--shiki-dark:#9CDCFE\"> \"serial\"\u003c/span>\u003cspan style=\"color:#1F2328;--shiki-dark:#D4D4D4\">: \u003c/span>\u003cspan style=\"color:#0A3069;--shiki-dark:#CE9178\">\"OLIV0015\"\u003c/span>\u003cspan style=\"color:#1F2328;--shiki-dark:#D4D4D4\">,\u003c/span>\u003c/span>\n\u003cspan class=\"line\">\u003cspan style=\"color:#116329;--shiki-dark:#9CDCFE\"> \"error\"\u003c/span>\u003cspan style=\"color:#1F2328;--shiki-dark:#D4D4D4\">: \u003c/span>\u003cspan style=\"color:#0A3069;--shiki-dark:#CE9178\">\"Duplicate serial number\"\u003c/span>\u003c/span>\n\u003cspan class=\"line\">\u003cspan style=\"color:#1F2328;--shiki-dark:#D4D4D4\"> },\u003c/span>\u003c/span>\n\u003cspan class=\"line\">\u003cspan style=\"color:#1F2328;--shiki-dark:#D4D4D4\"> {\u003c/span>\u003c/span>\n\u003cspan class=\"line\">\u003cspan style=\"color:#116329;--shiki-dark:#9CDCFE\"> \"row\"\u003c/span>\u003cspan style=\"color:#1F2328;--shiki-dark:#D4D4D4\">: \u003c/span>\u003cspan style=\"color:#0550AE;--shiki-dark:#B5CEA8\">42\u003c/span>\u003cspan style=\"color:#1F2328;--shiki-dark:#D4D4D4\">,\u003c/span>\u003c/span>\n\u003cspan class=\"line\">\u003cspan style=\"color:#116329;--shiki-dark:#9CDCFE\"> \"serial\"\u003c/span>\u003cspan style=\"color:#1F2328;--shiki-dark:#D4D4D4\">: \u003c/span>\u003cspan style=\"color:#0A3069;--shiki-dark:#CE9178\">\"OLIV0042\"\u003c/span>\u003cspan style=\"color:#1F2328;--shiki-dark:#D4D4D4\">,\u003c/span>\u003c/span>\n\u003cspan class=\"line\">\u003cspan style=\"color:#116329;--shiki-dark:#9CDCFE\"> \"error\"\u003c/span>\u003cspan style=\"color:#1F2328;--shiki-dark:#D4D4D4\">: \u003c/span>\u003cspan style=\"color:#0A3069;--shiki-dark:#CE9178\">\"Invalid MAC address format\"\u003c/span>\u003c/span>\n\u003cspan class=\"line\">\u003cspan style=\"color:#1F2328;--shiki-dark:#D4D4D4\"> }\u003c/span>\u003c/span>\n\u003cspan class=\"line\">\u003cspan style=\"color:#1F2328;--shiki-dark:#D4D4D4\"> ]\u003c/span>\u003c/span>\n\u003cspan class=\"line\">\u003cspan style=\"color:#1F2328;--shiki-dark:#D4D4D4\">}\u003c/span>\u003c/span>\n\u003c/code>\u003c/pre>"},{"filename":"400 Invalid File","html":"\u003cpre class=\"shiki shiki-themes github-light-default dark-plus\" style=\"background-color:#ffffff;--shiki-dark-bg:#0B0C0E;color:#1f2328;--shiki-dark:#D4D4D4\" language=\"json\">\u003ccode language=\"json\" numberOfLines=\"5\">\u003cspan class=\"line\">\u003cspan style=\"color:#1F2328;--shiki-dark:#D4D4D4\">{\u003c/span>\u003c/span>\n\u003cspan class=\"line\">\u003cspan style=\"color:#116329;--shiki-dark:#9CDCFE\"> \"error\"\u003c/span>\u003cspan style=\"color:#1F2328;--shiki-dark:#D4D4D4\">: \u003c/span>\u003cspan style=\"color:#0A3069;--shiki-dark:#CE9178\">\"Invalid CSV format\"\u003c/span>\u003cspan style=\"color:#1F2328;--shiki-dark:#D4D4D4\">,\u003c/span>\u003c/span>\n\u003cspan class=\"line\">\u003cspan style=\"color:#116329;--shiki-dark:#9CDCFE\"> \"code\"\u003c/span>\u003cspan style=\"color:#1F2328;--shiki-dark:#D4D4D4\">: \u003c/span>\u003cspan style=\"color:#0A3069;--shiki-dark:#CE9178\">\"INVALID_CSV\"\u003c/span>\u003cspan style=\"color:#1F2328;--shiki-dark:#D4D4D4\">,\u003c/span>\u003c/span>\n\u003cspan class=\"line\">\u003cspan style=\"color:#116329;--shiki-dark:#9CDCFE\"> \"details\"\u003c/span>\u003cspan style=\"color:#1F2328;--shiki-dark:#D4D4D4\">: \u003c/span>\u003cspan style=\"color:#0A3069;--shiki-dark:#CE9178\">\"Missing required column: MAC Address\"\u003c/span>\u003c/span>\n\u003cspan class=\"line\">\u003cspan style=\"color:#1F2328;--shiki-dark:#D4D4D4\">}\u003c/span>\u003c/span>\n\u003c/code>\u003c/pre>"}],"attributes":[]}}},"jsLinks":[],"openApiReferenceData":{"operation":{"security":["a682e56d-10a7-4d16-9098-f1e4a0b6f016","900ba848-201c-4709-ace2-4f2582befe27"],"description":"Bulk upload NFC cards via CSV file","tags":["Cards"],"summary":"Upload NFC cards via CSV file","requestBody":"8b018d87-3e65-4c7a-b25d-61c35700f1ce","responses":{"200":"e0699edd-ff2d-4f9e-a9f3-59035b10ac63","400":"1c2d0033-51ae-4343-bdf7-8030cfe0bb7f","500":"ea7c8745-b8ae-4d40-a4b8-66ce76948bde"},"method":"post","type":"path","servers":["34832a8a-5a7a-4b59-8d4c-6a2d6e618cd3"],"path":"/cards/upload-csv","baseUrlOptions":["https://olive-gateway-a6ba.onrender.com/api/v1"],"title":"Upload NFC cards via CSV file","codeSamples":[],"requestExampleLanguages":["bash","javascript","python"],"requiredOnlyExamples":true,"requestExamples":[{"dropdown":false,"language":"shellscript","code":{"type":"pre","key":null,"ref":null,"props":{"className":"shiki shiki-themes github-light-default dark-plus","style":{"backgroundColor":"#ffffff","--shiki-dark-bg":"#0B0C0E","color":"#1f2328","--shiki-dark":"#D4D4D4"},"language":"shellscript","children":{"type":"code","key":null,"ref":null,"props":{"language":"shellscript","numberOfLines":"3","children":[{"type":"span","key":"0","ref":null,"props":{"className":"line","children":[{"type":"span","key":"0","ref":null,"props":{"style":{"color":"#953800","--shiki-dark":"#DCDCAA"},"children":"curl"}},{"type":"span","key":"1","ref":null,"props":{"style":{"color":"#0550AE","--shiki-dark":"#569CD6"},"children":" -X"}},{"type":"span","key":"2","ref":null,"props":{"style":{"color":"#0A3069","--shiki-dark":"#CE9178"},"children":" POST"}},{"type":"span","key":"3","ref":null,"props":{"style":{"color":"#0A3069","--shiki-dark":"#CE9178"},"children":" \"https://demo.api.vultlocal.com/api/v1/cards/upload-csv\""}},{"type":"span","key":"4","ref":null,"props":{"style":{"color":"#CF222E","--shiki-dark":"#D7BA7D"},"children":" \\"}}]}},"\n",{"type":"span","key":"2","ref":null,"props":{"className":"line","children":[{"type":"span","key":"0","ref":null,"props":{"style":{"color":"#0550AE","--shiki-dark":"#569CD6"},"children":" -H"}},{"type":"span","key":"1","ref":null,"props":{"style":{"color":"#0A3069","--shiki-dark":"#CE9178"},"children":" \"Authorization: Bearer olive_live_xxx\""}},{"type":"span","key":"2","ref":null,"props":{"style":{"color":"#CF222E","--shiki-dark":"#D7BA7D"},"children":" \\"}}]}},"\n",{"type":"span","key":"4","ref":null,"props":{"className":"line","children":[{"type":"span","key":"0","ref":null,"props":{"style":{"color":"#0550AE","--shiki-dark":"#569CD6"},"children":" -F"}},{"type":"span","key":"1","ref":null,"props":{"style":{"color":"#0A3069","--shiki-dark":"#CE9178"},"children":" \"file=@cards.csv\""}}]}},"\n"]}}}},"filename":"cURL"}],"requestExampleType":"mdx","responseExamples":[{"dropdown":false,"language":"json","code":{"type":"pre","key":null,"ref":null,"props":{"className":"shiki shiki-themes github-light-default dark-plus","style":{"backgroundColor":"#ffffff","--shiki-dark-bg":"#0B0C0E","color":"#1f2328","--shiki-dark":"#D4D4D4"},"language":"json","children":{"type":"code","key":null,"ref":null,"props":{"language":"json","numberOfLines":"18","children":[{"type":"span","key":"0","ref":null,"props":{"className":"line","children":{"type":"span","key":null,"ref":null,"props":{"style":{"color":"#1F2328","--shiki-dark":"#D4D4D4"},"children":"{"}}}},"\n",{"type":"span","key":"2","ref":null,"props":{"className":"line","children":[{"type":"span","key":"0","ref":null,"props":{"style":{"color":"#116329","--shiki-dark":"#9CDCFE"},"children":" \"success\""}},{"type":"span","key":"1","ref":null,"props":{"style":{"color":"#1F2328","--shiki-dark":"#D4D4D4"},"children":": "}},{"type":"span","key":"2","ref":null,"props":{"style":{"color":"#0550AE","--shiki-dark":"#569CD6"},"children":"true"}},{"type":"span","key":"3","ref":null,"props":{"style":{"color":"#1F2328","--shiki-dark":"#D4D4D4"},"children":","}}]}},"\n",{"type":"span","key":"4","ref":null,"props":{"className":"line","children":[{"type":"span","key":"0","ref":null,"props":{"style":{"color":"#116329","--shiki-dark":"#9CDCFE"},"children":" \"message\""}},{"type":"span","key":"1","ref":null,"props":{"style":{"color":"#1F2328","--shiki-dark":"#D4D4D4"},"children":": "}},{"type":"span","key":"2","ref":null,"props":{"style":{"color":"#0A3069","--shiki-dark":"#CE9178"},"children":"\"Cards uploaded successfully\""}},{"type":"span","key":"3","ref":null,"props":{"style":{"color":"#1F2328","--shiki-dark":"#D4D4D4"},"children":","}}]}},"\n",{"type":"span","key":"6","ref":null,"props":{"className":"line","children":[{"type":"span","key":"0","ref":null,"props":{"style":{"color":"#116329","--shiki-dark":"#9CDCFE"},"children":" \"total\""}},{"type":"span","key":"1","ref":null,"props":{"style":{"color":"#1F2328","--shiki-dark":"#D4D4D4"},"children":": "}},{"type":"span","key":"2","ref":null,"props":{"style":{"color":"#0550AE","--shiki-dark":"#B5CEA8"},"children":"100"}},{"type":"span","key":"3","ref":null,"props":{"style":{"color":"#1F2328","--shiki-dark":"#D4D4D4"},"children":","}}]}},"\n",{"type":"span","key":"8","ref":null,"props":{"className":"line","children":[{"type":"span","key":"0","ref":null,"props":{"style":{"color":"#116329","--shiki-dark":"#9CDCFE"},"children":" \"created\""}},{"type":"span","key":"1","ref":null,"props":{"style":{"color":"#1F2328","--shiki-dark":"#D4D4D4"},"children":": "}},{"type":"span","key":"2","ref":null,"props":{"style":{"color":"#0550AE","--shiki-dark":"#B5CEA8"},"children":"98"}},{"type":"span","key":"3","ref":null,"props":{"style":{"color":"#1F2328","--shiki-dark":"#D4D4D4"},"children":","}}]}},"\n",{"type":"span","key":"10","ref":null,"props":{"className":"line","children":[{"type":"span","key":"0","ref":null,"props":{"style":{"color":"#116329","--shiki-dark":"#9CDCFE"},"children":" \"errors\""}},{"type":"span","key":"1","ref":null,"props":{"style":{"color":"#1F2328","--shiki-dark":"#D4D4D4"},"children":": ["}}]}},"\n",{"type":"span","key":"12","ref":null,"props":{"className":"line","children":{"type":"span","key":null,"ref":null,"props":{"style":{"color":"#1F2328","--shiki-dark":"#D4D4D4"},"children":" {"}}}},"\n",{"type":"span","key":"14","ref":null,"props":{"className":"line","children":[{"type":"span","key":"0","ref":null,"props":{"style":{"color":"#116329","--shiki-dark":"#9CDCFE"},"children":" \"row\""}},{"type":"span","key":"1","ref":null,"props":{"style":{"color":"#1F2328","--shiki-dark":"#D4D4D4"},"children":": "}},{"type":"span","key":"2","ref":null,"props":{"style":{"color":"#0550AE","--shiki-dark":"#B5CEA8"},"children":"15"}},{"type":"span","key":"3","ref":null,"props":{"style":{"color":"#1F2328","--shiki-dark":"#D4D4D4"},"children":","}}]}},"\n",{"type":"span","key":"16","ref":null,"props":{"className":"line","children":[{"type":"span","key":"0","ref":null,"props":{"style":{"color":"#116329","--shiki-dark":"#9CDCFE"},"children":" \"serial\""}},{"type":"span","key":"1","ref":null,"props":{"style":{"color":"#1F2328","--shiki-dark":"#D4D4D4"},"children":": "}},{"type":"span","key":"2","ref":null,"props":{"style":{"color":"#0A3069","--shiki-dark":"#CE9178"},"children":"\"OLIV0015\""}},{"type":"span","key":"3","ref":null,"props":{"style":{"color":"#1F2328","--shiki-dark":"#D4D4D4"},"children":","}}]}},"\n",{"type":"span","key":"18","ref":null,"props":{"className":"line","children":[{"type":"span","key":"0","ref":null,"props":{"style":{"color":"#116329","--shiki-dark":"#9CDCFE"},"children":" \"error\""}},{"type":"span","key":"1","ref":null,"props":{"style":{"color":"#1F2328","--shiki-dark":"#D4D4D4"},"children":": "}},{"type":"span","key":"2","ref":null,"props":{"style":{"color":"#0A3069","--shiki-dark":"#CE9178"},"children":"\"Duplicate serial number\""}}]}},"\n",{"type":"span","key":"20","ref":null,"props":{"className":"line","children":{"type":"span","key":null,"ref":null,"props":{"style":{"color":"#1F2328","--shiki-dark":"#D4D4D4"},"children":" },"}}}},"\n",{"type":"span","key":"22","ref":null,"props":{"className":"line","children":{"type":"span","key":null,"ref":null,"props":{"style":{"color":"#1F2328","--shiki-dark":"#D4D4D4"},"children":" {"}}}},"\n",{"type":"span","key":"24","ref":null,"props":{"className":"line","children":[{"type":"span","key":"0","ref":null,"props":{"style":{"color":"#116329","--shiki-dark":"#9CDCFE"},"children":" \"row\""}},{"type":"span","key":"1","ref":null,"props":{"style":{"color":"#1F2328","--shiki-dark":"#D4D4D4"},"children":": "}},{"type":"span","key":"2","ref":null,"props":{"style":{"color":"#0550AE","--shiki-dark":"#B5CEA8"},"children":"42"}},{"type":"span","key":"3","ref":null,"props":{"style":{"color":"#1F2328","--shiki-dark":"#D4D4D4"},"children":","}}]}},"\n",{"type":"span","key":"26","ref":null,"props":{"className":"line","children":[{"type":"span","key":"0","ref":null,"props":{"style":{"color":"#116329","--shiki-dark":"#9CDCFE"},"children":" \"serial\""}},{"type":"span","key":"1","ref":null,"props":{"style":{"color":"#1F2328","--shiki-dark":"#D4D4D4"},"children":": "}},{"type":"span","key":"2","ref":null,"props":{"style":{"color":"#0A3069","--shiki-dark":"#CE9178"},"children":"\"OLIV0042\""}},{"type":"span","key":"3","ref":null,"props":{"style":{"color":"#1F2328","--shiki-dark":"#D4D4D4"},"children":","}}]}},"\n",{"type":"span","key":"28","ref":null,"props":{"className":"line","children":[{"type":"span","key":"0","ref":null,"props":{"style":{"color":"#116329","--shiki-dark":"#9CDCFE"},"children":" \"error\""}},{"type":"span","key":"1","ref":null,"props":{"style":{"color":"#1F2328","--shiki-dark":"#D4D4D4"},"children":": "}},{"type":"span","key":"2","ref":null,"props":{"style":{"color":"#0A3069","--shiki-dark":"#CE9178"},"children":"\"Invalid MAC address format\""}}]}},"\n",{"type":"span","key":"30","ref":null,"props":{"className":"line","children":{"type":"span","key":null,"ref":null,"props":{"style":{"color":"#1F2328","--shiki-dark":"#D4D4D4"},"children":" }"}}}},"\n",{"type":"span","key":"32","ref":null,"props":{"className":"line","children":{"type":"span","key":null,"ref":null,"props":{"style":{"color":"#1F2328","--shiki-dark":"#D4D4D4"},"children":" ]"}}}},"\n",{"type":"span","key":"34","ref":null,"props":{"className":"line","children":{"type":"span","key":null,"ref":null,"props":{"style":{"color":"#1F2328","--shiki-dark":"#D4D4D4"},"children":"}"}}}},"\n"]}}}},"filename":"200 Success"},{"dropdown":false,"language":"json","code":{"type":"pre","key":null,"ref":null,"props":{"className":"shiki shiki-themes github-light-default dark-plus","style":{"backgroundColor":"#ffffff","--shiki-dark-bg":"#0B0C0E","color":"#1f2328","--shiki-dark":"#D4D4D4"},"language":"json","children":{"type":"code","key":null,"ref":null,"props":{"language":"json","numberOfLines":"5","children":[{"type":"span","key":"0","ref":null,"props":{"className":"line","children":{"type":"span","key":null,"ref":null,"props":{"style":{"color":"#1F2328","--shiki-dark":"#D4D4D4"},"children":"{"}}}},"\n",{"type":"span","key":"2","ref":null,"props":{"className":"line","children":[{"type":"span","key":"0","ref":null,"props":{"style":{"color":"#116329","--shiki-dark":"#9CDCFE"},"children":" \"error\""}},{"type":"span","key":"1","ref":null,"props":{"style":{"color":"#1F2328","--shiki-dark":"#D4D4D4"},"children":": "}},{"type":"span","key":"2","ref":null,"props":{"style":{"color":"#0A3069","--shiki-dark":"#CE9178"},"children":"\"Invalid CSV format\""}},{"type":"span","key":"3","ref":null,"props":{"style":{"color":"#1F2328","--shiki-dark":"#D4D4D4"},"children":","}}]}},"\n",{"type":"span","key":"4","ref":null,"props":{"className":"line","children":[{"type":"span","key":"0","ref":null,"props":{"style":{"color":"#116329","--shiki-dark":"#9CDCFE"},"children":" \"code\""}},{"type":"span","key":"1","ref":null,"props":{"style":{"color":"#1F2328","--shiki-dark":"#D4D4D4"},"children":": "}},{"type":"span","key":"2","ref":null,"props":{"style":{"color":"#0A3069","--shiki-dark":"#CE9178"},"children":"\"INVALID_CSV\""}},{"type":"span","key":"3","ref":null,"props":{"style":{"color":"#1F2328","--shiki-dark":"#D4D4D4"},"children":","}}]}},"\n",{"type":"span","key":"6","ref":null,"props":{"className":"line","children":[{"type":"span","key":"0","ref":null,"props":{"style":{"color":"#116329","--shiki-dark":"#9CDCFE"},"children":" \"details\""}},{"type":"span","key":"1","ref":null,"props":{"style":{"color":"#1F2328","--shiki-dark":"#D4D4D4"},"children":": "}},{"type":"span","key":"2","ref":null,"props":{"style":{"color":"#0A3069","--shiki-dark":"#CE9178"},"children":"\"Missing required column: MAC Address\""}}]}},"\n",{"type":"span","key":"8","ref":null,"props":{"className":"line","children":{"type":"span","key":null,"ref":null,"props":{"style":{"color":"#1F2328","--shiki-dark":"#D4D4D4"},"children":"}"}}}},"\n"]}}}},"filename":"400 Invalid File"}],"responseExampleType":"mdx"},"dependencies":{"parameters":{},"requestBody":{"content":{"multipart/form-data":{"schema":{"type":"object","properties":{"file":{"description":"CSV file with columns: serial_number, mac_address","type":"string","format":"binary","isRequired":true,"uniqueKey":"file","typeLabel":"file"},"batch_id":{"description":"Batch identifier","type":"string","isRequired":true,"uniqueKey":"batch_id","typeLabel":"string"}},"required":["file","batch_id"],"uniqueKey":"","typeLabel":"object"},"examples":{"Example":{"title":"Example","value":{"file":"\u003cstring>","batch_id":"\u003cstring>"}}},"exampleType":"generated"}},"required":true,"exampleType":"generated"},"responses":{"e0699edd-ff2d-4f9e-a9f3-59035b10ac63":{"description":"Upload successful with error log if any","content":{"application/json":{"schema":{"type":"object","additionalProperties":true,"uniqueKey":"","typeLabel":"object"},"examples":{"Example":{"title":"Example","value":{}}},"exampleType":"generated"}},"exampleType":"generated"},"1c2d0033-51ae-4343-bdf7-8030cfe0bb7f":{"description":"Invalid CSV format","content":{"application/json":{"schema":{"type":"object","additionalProperties":true,"uniqueKey":"","typeLabel":"object"},"examples":{"Example":{"title":"Example","value":{}}},"exampleType":"generated"}},"exampleType":"generated"},"ea7c8745-b8ae-4d40-a4b8-66ce76948bde":{"description":"Internal server error","content":{"application/json":{"schema":{"type":"object","additionalProperties":true,"uniqueKey":"","typeLabel":"object"},"examples":{"Example":{"title":"Example","value":{}}},"exampleType":"generated"}},"exampleType":"generated"}},"security":{"a682e56d-10a7-4d16-9098-f1e4a0b6f016":{"ApiKeyAuth":{"description":"API Key for third-party integrations (WhatsApp, Smart PAY, VULT). Format: 'Bearer olive_live_xxxxxxxxxxxxx'","type":"apiKey","name":"Authorization","in":"header","scopes":[]}},"900ba848-201c-4709-ace2-4f2582befe27":{"BearerAuth":{"description":"JWT token from admin login for administrative operations. Format: 'Bearer eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9...'","type":"apiKey","name":"Authorization","in":"header","scopes":[]}}},"servers":{"34832a8a-5a7a-4b59-8d4c-6a2d6e618cd3":{"url":"https://olive-gateway-a6ba.onrender.com/api/v1"}},"processedSecurityOptions":[{"schemes":[{"scheme":{"description":"API Key for third-party integrations (WhatsApp, Smart PAY, VULT). Format: 'Bearer olive_live_xxxxxxxxxxxxx'","type":"apiKey","name":"Authorization","in":"header","scopes":[]},"schema":{"title":"Authorization","type":"string","description":"API Key for third-party integrations (WhatsApp, Smart PAY, VULT). Format: 'Bearer olive_live_xxxxxxxxxxxxx'","isRequired":true,"typeLabel":"string","deprecated":false},"schemeName":"ApiKeyAuth","name":"Authorization"}],"title":"ApiKeyAuth"},{"schemes":[{"scheme":{"description":"JWT token from admin login for administrative operations. Format: 'Bearer eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9...'","type":"apiKey","name":"Authorization","in":"header","scopes":[]},"schema":{"title":"Authorization","type":"string","description":"JWT token from admin login for administrative operations. Format: 'Bearer eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9...'","isRequired":true,"typeLabel":"string","deprecated":false},"schemeName":"BearerAuth","name":"Authorization"}],"title":"BearerAuth"}]},"originalFileLocation":"olive-openapi.json"},"subdomain":"olive","siteName":"OLIVE Payment Platform","title":"Upload Cards CSV - OLIVE Payment Platform","navMaps":{"firstHrefInVersion":{},"firstHrefInLanguage":{}},"lastModified":"2026-03-14T22:40:04.783Z","originalFileLocation":"api-reference/cards/upload.mdx"},"headHtml":"\u003cscript data-mint-head>(function(){var d=document.documentElement,p=null;if(!p){try{p=localStorage.getItem(\"isDarkMode\")}catch(e){}if(p==='true')p='dark';else if(p==='false')p='light';if(p!=='light'\u0026\u0026p!=='dark'\u0026\u0026p!=='system')p=\"system\"}var r=p==='system'?(matchMedia(\"(prefers-color-scheme: dark)\").matches?'dark':'light'):p;d.classList.remove(r==='dark'?'light':'dark');d.classList.add(r);d.setAttribute(\"data-theme-preference\",p)})();\u003c/script>\u003cmeta data-mint-head name=\"description\" content=\"Bulk upload NFC cards via CSV file\">\u003cmeta data-mint-head name=\"application-name\" content=\"OLIVE Payment Platform\">\u003cmeta data-mint-head name=\"generator\" content=\"Mintlify\">\u003clink data-mint-head rel=\"icon\" type=\"image/png\" sizes=\"192x192\" href=\"/mintlify-assets/_mintlify/favicons/olive/ADWK2cMtJAyUnWoz/_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/olive/ADWK2cMtJAyUnWoz/_generated/favicon/apple-touch-icon.png\">\u003clink data-mint-head rel=\"icon\" type=\"image/png\" sizes=\"16x16\" href=\"/mintlify-assets/_mintlify/favicons/olive/ADWK2cMtJAyUnWoz/_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/olive/ADWK2cMtJAyUnWoz/_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/olive/ADWK2cMtJAyUnWoz/_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/olive/ADWK2cMtJAyUnWoz/_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/olive/ADWK2cMtJAyUnWoz/_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/olive/ADWK2cMtJAyUnWoz/_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/olive/ADWK2cMtJAyUnWoz/_generated/favicon-dark/favicon.ico\" media=\"(prefers-color-scheme: dark)\">\u003cmeta data-mint-head property=\"og:title\" content=\"Upload Cards CSV - OLIVE Payment Platform\">\u003cmeta data-mint-head property=\"og:description\" content=\"Bulk upload NFC cards via CSV file\">\u003cmeta data-mint-head property=\"og:site_name\" content=\"OLIVE Payment Platform\">\u003cmeta data-mint-head property=\"og:url\" content=\"https://docs.vultlocal.com/api-reference/cards/upload\">\u003cmeta data-mint-head property=\"og:type\" content=\"website\">\u003cmeta data-mint-head property=\"og:image\" content=\"https://olive.mintlify.site/_mintlify/api/og/v2?division=Cards\u0026amp;title=Upload+Cards+CSV\u0026amp;description=Bulk+upload+NFC+cards+via+CSV+file\u0026amp;theme=9da5d5d8c336512590df91e0\u0026amp;signature=374be09114db5c4306348c3deb9da0d931ee463d4439d43fda87919992c8d032\">\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 Cards CSV - OLIVE Payment Platform\">\u003cmeta data-mint-head name=\"twitter:description\" content=\"Bulk upload NFC cards via CSV file\">\u003cmeta data-mint-head name=\"twitter:image\" content=\"https://olive.mintlify.site/_mintlify/api/og/v2?division=Cards\u0026amp;title=Upload+Cards+CSV\u0026amp;description=Bulk+upload+NFC+cards+via+CSV+file\u0026amp;theme=9da5d5d8c336512590df91e0\u0026amp;signature=374be09114db5c4306348c3deb9da0d931ee463d4439d43fda87919992c8d032\">\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/olive/ADWK2cMtJAyUnWoz/_generated/favicon/browserconfig.xml\">\u003cmeta data-mint-head name=\"apple-mobile-web-app-title\" content=\"OLIVE Payment Platform\">\u003cmeta data-mint-head name=\"msapplication-TileColor\" content=\"#6F5DFD\">\u003clink data-mint-head rel=\"canonical\" href=\"https://docs.vultlocal.com/api-reference/cards/upload\">\u003clink data-mint-head rel=\"alternate\" type=\"application/xml\" href=\"/sitemap.xml\">\u003clink data-mint-head rel=\"alternate\" type=\"text/markdown\" href=\"/api-reference/cards/upload.md\">\u003cscript data-mint-head type=\"application/ld+json\">{\"@context\":\"https://schema.org\",\"@graph\":[{\"@type\":\"Organization\",\"@id\":\"https://docs.vultlocal.com/#organization\",\"name\":\"OLIVE Payment Platform\",\"url\":\"https://docs.vultlocal.com\",\"logo\":{\"@type\":\"ImageObject\",\"url\":\"https://mintcdn.com/olive/1iuKbSYkEo7vmLTo/logo/olive-light.svg?fit=max\u0026auto=format\u0026n=1iuKbSYkEo7vmLTo\u0026q=85\u0026s=d0f1e93ddbf892380723c1fab82cf84e\"}},{\"@type\":\"WebSite\",\"@id\":\"https://docs.vultlocal.com#website\",\"name\":\"OLIVE Payment Platform\",\"url\":\"https://docs.vultlocal.com\",\"publisher\":{\"@id\":\"https://docs.vultlocal.com/#organization\"}},{\"@type\":\"WebPage\",\"@id\":\"https://docs.vultlocal.com/api-reference/cards/upload#webpage\",\"url\":\"https://docs.vultlocal.com/api-reference/cards/upload\",\"name\":\"Upload Cards CSV\",\"description\":\"Bulk upload NFC cards via CSV file\",\"dateModified\":\"2026-03-14T22:40:04.783Z\",\"isPartOf\":{\"@id\":\"https://docs.vultlocal.com#website\"},\"breadcrumb\":{\"@id\":\"https://docs.vultlocal.com/api-reference/cards/upload#breadcrumb\"}},{\"@type\":\"BreadcrumbList\",\"@id\":\"https://docs.vultlocal.com/api-reference/cards/upload#breadcrumb\",\"itemListElement\":[{\"@type\":\"ListItem\",\"position\":1,\"name\":\"Cards\",\"item\":\"https://docs.vultlocal.com/api-reference/cards/overview\"},{\"@type\":\"ListItem\",\"position\":2,\"name\":\"Upload Cards CSV\",\"item\":\"https://docs.vultlocal.com/api-reference/cards/upload\"}]},{\"@type\":[\"TechArticle\",\"APIReference\"],\"@id\":\"https://docs.vultlocal.com/api-reference/cards/upload#apireference\",\"headline\":\"Upload Cards CSV\",\"name\":\"Upload Cards CSV\",\"description\":\"Bulk upload NFC cards via CSV file\",\"url\":\"https://docs.vultlocal.com/api-reference/cards/upload\",\"mainEntityOfPage\":{\"@id\":\"https://docs.vultlocal.com/api-reference/cards/upload#webpage\"},\"dateModified\":\"2026-03-14T22:40:04.783Z\",\"publisher\":{\"@id\":\"https://docs.vultlocal.com/#organization\"},\"isPartOf\":{\"@id\":\"https://docs.vultlocal.com#website\"}}]}\u003c/script>\u003cscript data-mint-head type=\"application/ld+json\">{\"@context\":\"https://schema.org\",\"@type\":\"WebSite\",\"name\":\"OLIVE Payment Platform\",\"creator\":{\"@type\":\"Organization\",\"name\":\"Mintlify\",\"url\":\"https://mintlify.com\"}}\u003c/script>","siteName":"OLIVE Payment Platform","nav":{"global":null,"tabs":[{"tab":"Documentation","pages":[{"title":"Documentation","href":"/introduction"}]},{"tab":"API Reference","groups":[{"group":"Overview","pages":[{"title":"API Reference","icon":"code","href":"/api-reference/overview"},{"title":"Authentication","href":"/api-reference/authentication"}]},{"group":"Agent-TS","pages":[{"title":"Agent-TS API","href":"/api-reference/agent-ts/endpoints"},{"title":"Agent-TS Tools","href":"/api-reference/agent-ts/tools"}]},{"group":"Subscribers","pages":[{"title":"Subscribers","icon":"users","href":"/api-reference/subscribers/overview"},{"title":"Register Subscriber","openapi":"olive-openapi.json POST /subscribers","icon":"user-plus","href":"/api-reference/subscribers/register"},{"title":"Lookup Subscriber","openapi":"olive-openapi.json GET /subscribers/lookup","icon":"search","href":"/api-reference/subscribers/lookup"},{"title":"Get Subscriber","openapi":"olive-openapi.json GET /subscribers/{id}","icon":"user","href":"/api-reference/subscribers/get"},{"title":"List Subscribers","openapi":"olive-openapi.json GET /subscribers","icon":"users","href":"/api-reference/subscribers/list"},{"title":"Update Subscriber","openapi":"olive-openapi.json PUT /subscribers/{id}","icon":"user-pen","href":"/api-reference/subscribers/update"},{"title":"Block Subscriber","openapi":"olive-openapi.json POST /subscribers/{id}/block","icon":"ban","href":"/api-reference/subscribers/block"},{"title":"Unblock Subscriber","openapi":"olive-openapi.json POST /subscribers/{id}/unblock","icon":"check-circle","href":"/api-reference/subscribers/unblock"},{"title":"Verify PIN","openapi":"olive-openapi.json POST /subscribers/{id}/verify-pin","icon":"lock-keyhole","href":"/api-reference/subscribers/verify-pin"},{"title":"Change PIN","openapi":"olive-openapi.json POST /subscribers/{id}/change-pin","icon":"key","href":"/api-reference/subscribers/change-pin"},{"title":"Subscriber Cards","openapi":"olive-openapi.json GET /subscribers/{id}/cards","icon":"credit-card","href":"/api-reference/subscribers/cards"}]},{"group":"Cards","pages":[{"title":"Cards","icon":"credit-card","href":"/api-reference/cards/overview"},{"title":"Link Card","openapi":"olive-openapi.json POST /cards/link","icon":"link","href":"/api-reference/cards/link"},{"title":"Create Child Card","openapi":"olive-openapi.json POST /cards/child","icon":"plus","href":"/api-reference/cards/child"},{"title":"Get Card","openapi":"olive-openapi.json GET /cards/{serial}","icon":"search","href":"/api-reference/cards/get"},{"title":"List Cards","openapi":"olive-openapi.json GET /cards","icon":"list","href":"/api-reference/cards/list"},{"title":"Block Card","openapi":"olive-openapi.json POST /cards/{serial}/block","icon":"ban","href":"/api-reference/cards/block"},{"title":"Unblock Card","description":"Restore a blocked NFC card","openapi":"olive-openapi.json POST /cards/{serial}/unblock","icon":"check-circle","href":"/api-reference/cards/unblock"},{"title":"Upload Cards CSV","openapi":"olive-openapi.json POST /cards/upload-csv","icon":"upload","href":"/api-reference/cards/upload"}]},{"group":"Wallet","pages":[{"title":"Wallet","description":"Core financial operations - balances, transfers, and transactions","icon":"wallet","href":"/api-reference/wallet/overview"},{"title":"Get Balance","openapi":"olive-openapi.json POST /wallet/balance/{subscriber_id}","icon":"wallet","href":"/api-reference/wallet/balance"},{"title":"Transaction History","openapi":"olive-openapi.json POST /wallet/transactions/{subscriber_id}","icon":"history","href":"/api-reference/wallet/transactions"},{"title":"P2P Transfer","openapi":"olive-openapi.json POST /wallet/transfer-p2p","icon":"arrow-right","href":"/api-reference/wallet/transfer-p2p"},{"title":"Internal Transfer","openapi":"olive-openapi.json POST /wallet/transfer","icon":"repeat","href":"/api-reference/wallet/transfer"},{"title":"Fund from VULT","openapi":"olive-openapi.json POST /wallet/fund-from-vult","icon":"plus-circle","href":"/api-reference/wallet/fund"},{"title":"Account Statement","openapi":"olive-openapi.json POST /wallet/account-statement","icon":"file-text","href":"/api-reference/wallet/statement"}]},{"group":"Agents","pages":[{"title":"Agents","icon":"building-2","href":"/api-reference/agents/overview"},{"title":"Register Agent","openapi":"olive-openapi.json POST /agents","icon":"plus","href":"/api-reference/agents/register"},{"title":"Get Agent","openapi":"olive-openapi.json GET /agents/{id}","icon":"user","href":"/api-reference/agents/get"},{"title":"List Agents","openapi":"olive-openapi.json GET /agents","icon":"list","href":"/api-reference/agents/list"},{"title":"Lookup Agent","openapi":"olive-openapi.json GET /agents/lookup","icon":"search","href":"/api-reference/agents/lookup"},{"title":"Fund Agent","openapi":"olive-openapi.json POST /agents/{id}/fund","icon":"plus-circle","href":"/api-reference/agents/fund"},{"title":"Agent Cash-In","openapi":"olive-openapi.json POST /agents/cashin","icon":"circle-plus","href":"/api-reference/agents/cashin"},{"title":"Transfer Float","openapi":"olive-openapi.json POST /agents/transfer","icon":"arrow-right","href":"/api-reference/agents/transfer"},{"title":"Get Agent Balance","openapi":"olive-openapi.json GET /agents/{id}/balance","icon":"wallet","href":"/api-reference/agents/balance"}]},{"group":"POS","pages":[{"title":"POS Terminal","icon":"calculator","href":"/api-reference/pos/overview"},{"title":"Process Payment","openapi":"olive-openapi.json POST /pos/payment","playground":"simple","icon":"credit-card","href":"/api-reference/pos/payment"},{"title":"Verify Card","openapi":"olive-openapi.json POST /pos/verify-card","playground":"simple","icon":"check-circle","href":"/api-reference/pos/verify-card"},{"title":"Refund Payment","openapi":"olive-openapi.json POST /pos/refund","playground":"simple","icon":"undo","href":"/api-reference/pos/refund"},{"title":"Lookup Card","openapi":"olive-openapi.json POST /pos/lookup-card","playground":"simple","icon":"info","href":"/api-reference/pos/lookup-card"}]},{"group":"Payment","pages":[{"title":"Payment API","icon":"credit-card","href":"/api-reference/payment/overview"},{"title":"Filtering","href":"/api-reference/payment/filtering"},{"title":"Process Payment","openapi":"olive-openapi.json POST /payment","playground":"simple","icon":"credit-card","href":"/api-reference/payment/payment"},{"title":"Verify Card","openapi":"olive-openapi.json POST /payment/verify-card","playground":"simple","icon":"check-circle","href":"/api-reference/payment/verify-card"},{"title":"Refund Payment","openapi":"olive-openapi.json POST /payment/refund","playground":"simple","icon":"undo","href":"/api-reference/payment/refund"},{"title":"Lookup Card","openapi":"olive-openapi.json POST /payment/lookup-card","playground":"simple","icon":"info","href":"/api-reference/payment/lookup-card"},{"title":"Verify Account","openapi":"olive-openapi.json POST /payment/verify-account","playground":"simple","icon":"badge-check","href":"/api-reference/payment/verify-account"}]},{"group":"Compliance","pages":[{"title":"Compliance","icon":"shield-check","href":"/api-reference/compliance/overview"},{"title":"Check Compliance","openapi":"olive-openapi.json POST /compliance/check","icon":"check-circle","href":"/api-reference/compliance/check"},{"title":"List Alerts","openapi":"olive-openapi.json GET /compliance/alerts","icon":"bell","href":"/api-reference/compliance/alerts"},{"title":"Create Alert","openapi":"olive-openapi.json POST /compliance/alerts","icon":"plus","href":"/api-reference/compliance/create-alert"},{"title":"Resolve Alert","openapi":"olive-openapi.json PUT /compliance/alerts/{id}","icon":"check","href":"/api-reference/compliance/resolve-alert"},{"title":"Monitoring Rules","openapi":"olive-openapi.json GET /compliance/rules","icon":"eye","href":"/api-reference/compliance/rules"},{"title":"Account Rules","openapi":"olive-openapi.json GET /account-rules","icon":"sliders","href":"/api-reference/compliance/account-rules"}]},{"group":"Admin","pages":[{"title":"Admin Login","openapi":"olive-openapi.json POST /admin/login","icon":"door-open","href":"/api-reference/admin/login"},{"title":"Refresh Token","openapi":"olive-openapi.json POST /admin/refresh","icon":"rotate","href":"/api-reference/admin/refresh"},{"title":"Logout","openapi":"olive-openapi.json POST /admin/logout","icon":"arrow-left-from-line","href":"/api-reference/admin/logout"},{"title":"Current User","openapi":"olive-openapi.json GET /admin/me","icon":"user","href":"/api-reference/admin/me"},{"title":"Create User","openapi":"olive-openapi.json POST /admin/users","icon":"user-plus","href":"/api-reference/admin/users"},{"title":"API Keys","openapi":"olive-openapi.json POST /api-keys","icon":"key","href":"/api-reference/admin/api-keys"},{"title":"Audit Logs","openapi":"olive-openapi.json GET /audit/logs","icon":"scroll","href":"/api-reference/admin/audit-logs"}]},{"group":"Webhooks","pages":[{"title":"Webhooks","icon":"webhook","href":"/api-reference/webhooks/overview"},{"title":"VULT Webhook","openapi":"olive-openapi.json POST /webhooks/vult/cashin","playground":"simple","icon":"credit-card","href":"/api-reference/webhooks/vult"},{"title":"WhatsApp Webhook","openapi":"olive-openapi.json POST /external/whatsapp","icon":"comment","href":"/api-reference/webhooks/whatsapp"}]},{"group":"Fees","pages":[{"title":"Fee Settings","icon":"coins","href":"/api-reference/fees/overview"},{"title":"List Fees","openapi":"olive-openapi.json GET /fee-settings","icon":"list","href":"/api-reference/fees/list"},{"title":"Get Fee Setting","openapi":"olive-openapi.json GET /fee-settings/{transaction_type}/{party_type}","icon":"search","href":"/api-reference/fees/get"},{"title":"Update Fee Setting","openapi":"olive-openapi.json PUT /fee-settings","icon":"pencil","href":"/api-reference/fees/update"},{"title":"Delete Fee Setting","openapi":"olive-openapi.json DELETE /fee-settings/{transaction_type}/{party_type}","icon":"trash","href":"/api-reference/fees/delete"}]},{"group":"PEP Access","pages":[{"title":"PEP Access Control","icon":"user-shield","href":"/api-reference/pep/overview"},{"title":"Request PEP Access","openapi":"olive-openapi.json POST /pep/request-access","icon":"key","href":"/api-reference/pep/request-access"},{"title":"Verify PEP Access","openapi":"olive-openapi.json POST /pep/verify-access","icon":"check-circle","href":"/api-reference/pep/verify-access"}]},{"group":"Partner API","pages":[{"title":"Partner API","icon":"handshake","href":"/api-reference/partner/overview"},{"title":"Account Status","openapi":"olive-openapi.json POST /partner/account-status","playground":"simple","icon":"user-check","href":"/api-reference/partner/account-status"},{"title":"Transaction History","openapi":"olive-openapi.json POST /partner/transaction-history","playground":"simple","icon":"history","href":"/api-reference/partner/transaction-history"},{"title":"Cash In","openapi":"olive-openapi.json POST /partner/cashin","playground":"simple","icon":"plus-circle","href":"/api-reference/partner/cashin"}]},{"group":"Processors","pages":[{"title":"Processors","icon":"cpu","href":"/api-reference/processors/overview"},{"title":"Create Processor","openapi":"olive-openapi.json POST /processors","icon":"plus","href":"/api-reference/processors/create"},{"title":"Get Processor","openapi":"olive-openapi.json GET /processors/{id}","icon":"search","href":"/api-reference/processors/get"},{"title":"List Processors","openapi":"olive-openapi.json GET /processors","icon":"list","href":"/api-reference/processors/list"},{"title":"Suspend Processor","openapi":"olive-openapi.json POST /processors/{id}/suspend","icon":"pause","href":"/api-reference/processors/suspend"},{"title":"Processor Transfer","openapi":"olive-openapi.json POST /processors/{id}/transfer","icon":"arrow-right","href":"/api-reference/processors/transfer"},{"title":"Processor Transactions","openapi":"olive-openapi.json GET /processors/{id}/transactions","icon":"history","href":"/api-reference/processors/transactions"},{"title":"Create Reclaim Request","openapi":"olive-openapi.json POST /processors/{id}/reclaim","icon":"undo","href":"/api-reference/processors/reclaim"}]},{"group":"Suspicious Transactions","pages":[{"title":"Suspicious Transactions","icon":"shield-alert","href":"/api-reference/suspicious-transactions/overview"},{"title":"List Suspicious Transactions","openapi":"olive-openapi.json GET /transactions/suspicious","href":"/api-reference/suspicious-transactions/list"},{"title":"Suspicious Transactions Summary","openapi":"olive-openapi.json GET /transactions/suspicious/summary","href":"/api-reference/suspicious-transactions/summary"}]},{"group":"Account Rules","pages":[{"title":"List all account rules","deprecated":null,"version":null,"openapi":"/olive-openapi.json get /account-rules","href":"/api-reference/account-rules/list-all-account-rules"},{"title":"Create account rules for KYC level","deprecated":null,"version":null,"openapi":"/olive-openapi.json post /account-rules","href":"/api-reference/account-rules/create-account-rules-for-kyc-level"},{"title":"Update account rules","deprecated":null,"version":null,"openapi":"/olive-openapi.json put /account-rules/{id}","href":"/api-reference/account-rules/update-account-rules"},{"title":"Get account rules for KYC level","deprecated":null,"version":null,"openapi":"/olive-openapi.json get /account-rules/{kyc_level}","href":"/api-reference/account-rules/get-account-rules-for-kyc-level"}]},{"group":"Admin","pages":[{"title":"Change user password","deprecated":null,"version":null,"openapi":"/olive-openapi.json post /admin/change-password","href":"/api-reference/admin/change-user-password"},{"title":"User login (Admin or Processor)","deprecated":null,"version":null,"openapi":"/olive-openapi.json post /admin/login","href":"/api-reference/admin/user-login-admin-or-processor"},{"title":"Logout and revoke refresh token","deprecated":null,"version":null,"openapi":"/olive-openapi.json post /admin/logout","href":"/api-reference/admin/logout-and-revoke-refresh-token"},{"title":"Get current logged-in user details","deprecated":null,"version":null,"openapi":"/olive-openapi.json get /admin/me","href":"/api-reference/admin/get-current-logged-in-user-details"},{"title":"Refresh access token","deprecated":null,"version":null,"openapi":"/olive-openapi.json post /admin/refresh","href":"/api-reference/admin/refresh-access-token"},{"title":"List all transactions (Admin)","deprecated":null,"version":null,"openapi":"/olive-openapi.json get /admin/transactions","href":"/api-reference/admin/list-all-transactions-admin"},{"title":"List all system users","deprecated":null,"version":null,"openapi":"/olive-openapi.json get /admin/users","href":"/api-reference/admin/list-all-system-users"},{"title":"Create a new system user","deprecated":null,"version":null,"openapi":"/olive-openapi.json post /admin/users","href":"/api-reference/admin/create-a-new-system-user"},{"title":"Update user status","deprecated":null,"version":null,"openapi":"/olive-openapi.json put /admin/users/{id}/status","href":"/api-reference/admin/update-user-status"},{"title":"Audit Logs","openapi":"olive-openapi.json GET /audit/logs","icon":"scroll","href":"/api-reference/admin/audit-logs"}]},{"group":"Agents","pages":[{"title":"List all agents","deprecated":null,"version":null,"openapi":"/olive-openapi.json get /agents","href":"/api-reference/agents/list-all-agents"},{"title":"Register a new agent","deprecated":null,"version":null,"openapi":"/olive-openapi.json post /agents","href":"/api-reference/agents/register-a-new-agent"},{"title":"Agent cash-in transaction","deprecated":null,"version":null,"openapi":"/olive-openapi.json post /agents/cashin","href":"/api-reference/agents/agent-cash-in-transaction"},{"title":"Lookup agent by phone number","deprecated":null,"version":null,"openapi":"/olive-openapi.json get /agents/lookup","href":"/api-reference/agents/lookup-agent-by-phone-number"},{"title":"Transfer float to sub-agent","deprecated":null,"version":null,"openapi":"/olive-openapi.json post /agents/transfer","href":"/api-reference/agents/transfer-float-to-sub-agent"},{"title":"Get agent details","deprecated":null,"version":null,"openapi":"/olive-openapi.json get /agents/{id}","href":"/api-reference/agents/get-agent-details"},{"title":"Get agent balance","deprecated":null,"version":null,"openapi":"/olive-openapi.json get /agents/{id}/balance","href":"/api-reference/agents/get-agent-balance"},{"title":"Change agent PIN","deprecated":null,"version":null,"openapi":"/olive-openapi.json post /agents/{id}/change-pin","href":"/api-reference/agents/change-agent-pin"},{"title":"Fund agent account","deprecated":null,"version":null,"openapi":"/olive-openapi.json post /agents/{id}/fund","href":"/api-reference/agents/fund-agent-account"}]},{"group":"API Keys","pages":[{"title":"List all API keys","deprecated":null,"version":null,"openapi":"/olive-openapi.json get /api-keys","href":"/api-reference/api-keys/list-all-api-keys"},{"title":"Create a new API key","deprecated":null,"version":null,"openapi":"/olive-openapi.json post /api-keys","href":"/api-reference/api-keys/create-a-new-api-key"},{"title":"Get predefined scope templates","deprecated":null,"version":null,"openapi":"/olive-openapi.json get /api-keys/scopes","href":"/api-reference/api-keys/get-predefined-scope-templates"},{"title":"Get API key details","deprecated":null,"version":null,"openapi":"/olive-openapi.json get /api-keys/{id}","href":"/api-reference/api-keys/get-api-key-details"},{"title":"Revoke an API key","deprecated":null,"version":null,"openapi":"/olive-openapi.json post /api-keys/{id}/revoke","href":"/api-reference/api-keys/revoke-an-api-key"},{"title":"Get API key usage statistics","deprecated":null,"version":null,"openapi":"/olive-openapi.json get /api-keys/{id}/stats","href":"/api-reference/api-keys/get-api-key-usage-statistics"}]},{"group":"Subscribers","pages":[{"title":"Create new subscriber (public endpoint)","deprecated":null,"version":null,"openapi":"/olive-openapi.json post /api/v1/public/subscribers","href":"/api-reference/subscribers/create-new-subscriber-public-endpoint"},{"title":"List all subscribers","deprecated":null,"version":null,"openapi":"/olive-openapi.json get /subscribers","href":"/api-reference/subscribers/list-all-subscribers"},{"title":"Register a new subscriber","deprecated":null,"version":null,"openapi":"/olive-openapi.json post /subscribers","href":"/api-reference/subscribers/register-a-new-subscriber"},{"title":"Get subscriber by phone number","deprecated":null,"version":null,"openapi":"/olive-openapi.json get /subscribers/lookup","href":"/api-reference/subscribers/get-subscriber-by-phone-number"},{"title":"Get subscriber details","deprecated":null,"version":null,"openapi":"/olive-openapi.json get /subscribers/{id}","href":"/api-reference/subscribers/get-subscriber-details"},{"title":"Update subscriber details","deprecated":null,"version":null,"openapi":"/olive-openapi.json put /subscribers/{id}","href":"/api-reference/subscribers/update-subscriber-details"},{"title":"Block a subscriber","deprecated":null,"version":null,"openapi":"/olive-openapi.json post /subscribers/{id}/block","href":"/api-reference/subscribers/block-a-subscriber"},{"title":"Change subscriber PIN","deprecated":null,"version":null,"openapi":"/olive-openapi.json post /subscribers/{id}/change-pin","href":"/api-reference/subscribers/change-subscriber-pin"},{"title":"Unblock a subscriber","deprecated":null,"version":null,"openapi":"/olive-openapi.json post /subscribers/{id}/unblock","href":"/api-reference/subscribers/unblock-a-subscriber"},{"title":"Verify subscriber PIN","deprecated":null,"version":null,"openapi":"/olive-openapi.json post /subscribers/{id}/verify-pin","href":"/api-reference/subscribers/verify-subscriber-pin"}]},{"group":"Cards","pages":[{"title":"List all cards","deprecated":null,"version":null,"openapi":"/olive-openapi.json get /cards","href":"/api-reference/cards/list-all-cards"},{"title":"Create child card","deprecated":null,"version":null,"openapi":"/olive-openapi.json post /cards/child","href":"/api-reference/cards/create-child-card"},{"title":"Change child card PIN","deprecated":null,"version":null,"openapi":"/olive-openapi.json post /cards/child/change-pin","href":"/api-reference/cards/change-child-card-pin"},{"title":"Link parent card to subscriber","deprecated":null,"version":null,"openapi":"/olive-openapi.json post /cards/link","href":"/api-reference/cards/link-parent-card-to-subscriber"},{"title":"Upload NFC cards via CSV file","deprecated":null,"version":null,"openapi":"/olive-openapi.json post /cards/upload-csv","href":"/api-reference/cards/upload-nfc-cards-via-csv-file"},{"title":"Get card details","deprecated":null,"version":null,"openapi":"/olive-openapi.json get /cards/{serial}","href":"/api-reference/cards/get-card-details"},{"title":"Block a card","deprecated":null,"version":null,"openapi":"/olive-openapi.json post /cards/{serial}/block","href":"/api-reference/cards/block-a-card"},{"title":"Unblock a card","deprecated":null,"version":null,"openapi":"/olive-openapi.json post /cards/{serial}/unblock","href":"/api-reference/cards/unblock-a-card"},{"title":"List subscriber cards","deprecated":null,"version":null,"openapi":"/olive-openapi.json get /subscribers/{id}/cards","href":"/api-reference/cards/list-subscriber-cards"}]},{"group":"Compliance Alerts","pages":[{"title":"List compliance alerts","deprecated":null,"version":null,"openapi":"/olive-openapi.json get /compliance/alerts","href":"/api-reference/compliance-alerts/list-compliance-alerts"},{"title":"Create a compliance alert","deprecated":null,"version":null,"openapi":"/olive-openapi.json post /compliance/alerts","href":"/api-reference/compliance-alerts/create-a-compliance-alert"},{"title":"Get compliance alert by ID","deprecated":null,"version":null,"openapi":"/olive-openapi.json get /compliance/alerts/{id}","href":"/api-reference/compliance-alerts/get-compliance-alert-by-id"},{"title":"Update compliance alert status","deprecated":null,"version":null,"openapi":"/olive-openapi.json put /compliance/alerts/{id}","href":"/api-reference/compliance-alerts/update-compliance-alert-status"},{"title":"Resolve a compliance alert","deprecated":null,"version":null,"openapi":"/olive-openapi.json post /compliance/alerts/{id}/resolve","href":"/api-reference/compliance-alerts/resolve-a-compliance-alert"}]},{"group":"Monitoring Rules","pages":[{"title":"List all monitoring rules","deprecated":null,"version":null,"openapi":"/olive-openapi.json get /compliance/rules","href":"/api-reference/monitoring-rules/list-all-monitoring-rules"},{"title":"Create a new monitoring rule","deprecated":null,"version":null,"openapi":"/olive-openapi.json post /compliance/rules","href":"/api-reference/monitoring-rules/create-a-new-monitoring-rule"},{"title":"Get a monitoring rule by ID","deprecated":null,"version":null,"openapi":"/olive-openapi.json get /compliance/rules/{id}","href":"/api-reference/monitoring-rules/get-a-monitoring-rule-by-id"},{"title":"Update a monitoring rule","deprecated":null,"version":null,"openapi":"/olive-openapi.json put /compliance/rules/{id}","href":"/api-reference/monitoring-rules/update-a-monitoring-rule"},{"title":"Delete a monitoring rule","deprecated":null,"version":null,"openapi":"/olive-openapi.json delete /compliance/rules/{id}","href":"/api-reference/monitoring-rules/delete-a-monitoring-rule"}]},{"group":"Fee Settings","pages":[{"title":"List all fee settings","deprecated":null,"version":null,"openapi":"/olive-openapi.json get /fee-settings","href":"/api-reference/fee-settings/list-all-fee-settings"},{"title":"Update or create fee settings","deprecated":null,"version":null,"openapi":"/olive-openapi.json put /fee-settings","href":"/api-reference/fee-settings/update-or-create-fee-settings"},{"title":"Get fee settings for specific transaction and party","deprecated":null,"version":null,"openapi":"/olive-openapi.json get /fee-settings/{transaction_type}/{party_type}","href":"/api-reference/fee-settings/get-fee-settings-for-specific-transaction-and-party"},{"title":"Delete fee settings","deprecated":null,"version":null,"openapi":"/olive-openapi.json delete /fee-settings/{transaction_type}/{party_type}","href":"/api-reference/fee-settings/delete-fee-settings"}]},{"group":"PEP Access","pages":[{"title":"Request OTP for PEP account access","deprecated":null,"version":null,"openapi":"/olive-openapi.json post /pep/request-access","href":"/api-reference/pep-access/request-otp-for-pep-account-access"},{"title":"Verify OTP for PEP account access","deprecated":null,"version":null,"openapi":"/olive-openapi.json post /pep/verify-access","href":"/api-reference/pep-access/verify-otp-for-pep-account-access"}]},{"group":"POS","pages":[{"title":"Lookup card information","deprecated":null,"version":null,"openapi":"/olive-openapi.json post /pos/lookup-card","href":"/api-reference/pos/lookup-card-information"},{"title":"Process POS payment","deprecated":null,"version":null,"openapi":"/olive-openapi.json post /pos/payment","href":"/api-reference/pos/process-pos-payment"},{"title":"Refund POS payment","deprecated":null,"version":null,"openapi":"/olive-openapi.json post /pos/refund","href":"/api-reference/pos/refund-pos-payment"},{"title":"Verify NFC card","deprecated":null,"version":null,"openapi":"/olive-openapi.json post /pos/verify-card","href":"/api-reference/pos/verify-nfc-card"},{"title":"Lookup card information","deprecated":null,"version":null,"openapi":"/olive-openapi.json post /payment/lookup-card","href":"/api-reference/pos/lookup-card-information-1"},{"title":"Refund POS payment","deprecated":null,"version":null,"openapi":"/olive-openapi.json post /payment/refund","href":"/api-reference/pos/refund-pos-payment-1"},{"title":"Verify if account ID exists","deprecated":null,"version":null,"openapi":"/olive-openapi.json post /payment/verify-account","href":"/api-reference/pos/verify-if-account-id-exists"},{"title":"Verify NFC card","deprecated":null,"version":null,"openapi":"/olive-openapi.json post /payment/verify-card","href":"/api-reference/pos/verify-nfc-card-1"}]},{"group":"Payment","pages":[{"title":"Process in-app payment","deprecated":null,"version":null,"openapi":"/olive-openapi.json post /payment","href":"/api-reference/payment/process-in-app-payment"}]},{"group":"Processors","pages":[{"title":"List all processors","deprecated":null,"version":null,"openapi":"/olive-openapi.json get /processors","href":"/api-reference/processors/list-all-processors"},{"title":"Create new payment processor","deprecated":null,"version":null,"openapi":"/olive-openapi.json post /processors","href":"/api-reference/processors/create-new-payment-processor"},{"title":"Get processor details","deprecated":null,"version":null,"openapi":"/olive-openapi.json get /processors/{id}","href":"/api-reference/processors/get-processor-details"},{"title":"Update processor details","deprecated":null,"version":null,"openapi":"/olive-openapi.json put /processors/{id}","href":"/api-reference/processors/update-processor-details"},{"title":"Get processor API credentials","deprecated":null,"version":null,"openapi":"/olive-openapi.json get /processors/{id}/api-credentials","href":"/api-reference/processors/get-processor-api-credentials"},{"title":"Create reclaim request","deprecated":null,"version":null,"openapi":"/olive-openapi.json post /processors/{id}/reclaim","href":"/api-reference/processors/create-reclaim-request"},{"title":"Suspend a processor","deprecated":null,"version":null,"openapi":"/olive-openapi.json post /processors/{id}/suspend","href":"/api-reference/processors/suspend-a-processor"},{"title":"Get processor transaction history","deprecated":null,"version":null,"openapi":"/olive-openapi.json get /processors/{id}/transactions","href":"/api-reference/processors/get-processor-transaction-history"},{"title":"Transfer funds from processor to account","deprecated":null,"version":null,"openapi":"/olive-openapi.json post /processors/{id}/transfer","href":"/api-reference/processors/transfer-funds-from-processor-to-account"},{"title":"List reclaim requests","deprecated":null,"version":null,"openapi":"/olive-openapi.json get /reclaim-requests","href":"/api-reference/processors/list-reclaim-requests"},{"title":"Review reclaim request (Admin only)","deprecated":null,"version":null,"openapi":"/olive-openapi.json post /reclaim-requests/{id}/review","href":"/api-reference/processors/review-reclaim-request-admin-only"}]},{"group":"Compliance","pages":[{"title":"Get suspicious transactions","deprecated":null,"version":null,"openapi":"/olive-openapi.json get /transactions/suspicious","href":"/api-reference/compliance/get-suspicious-transactions"},{"title":"Get suspicious transactions summary","deprecated":null,"version":null,"openapi":"/olive-openapi.json get /transactions/suspicious/summary","href":"/api-reference/compliance/get-suspicious-transactions-summary"},{"title":"Check Compliance","deprecated":null,"version":null,"openapi":"/olive-openapi.json post /compliance/check","href":"/api-reference/compliance/check-compliance"}]},{"group":"Wallet","pages":[{"title":"Request account statement (PDF only)","deprecated":null,"version":null,"openapi":"/olive-openapi.json post /wallet/account-statement","href":"/api-reference/wallet/request-account-statement-pdf-only"},{"title":"Get wallet balance","deprecated":null,"version":null,"openapi":"/olive-openapi.json post /wallet/balance/{subscriber_id}","href":"/api-reference/wallet/get-wallet-balance"},{"title":"Fund OLIVE wallet from VULT","deprecated":null,"version":null,"openapi":"/olive-openapi.json post /wallet/fund-from-vult","href":"/api-reference/wallet/fund-olive-wallet-from-vult"},{"title":"Get transaction history","deprecated":null,"version":null,"openapi":"/olive-openapi.json post /wallet/transactions/{subscriber_id}","href":"/api-reference/wallet/get-transaction-history"},{"title":"Peer-to-peer transfer","deprecated":null,"version":null,"openapi":"/olive-openapi.json post /wallet/transfer-p2p","href":"/api-reference/wallet/peer-to-peer-transfer"},{"title":"Transfer from OLIVE to VULT wallet","deprecated":null,"version":null,"openapi":"/olive-openapi.json post /wallet/transfer-to-vult","href":"/api-reference/wallet/transfer-from-olive-to-vult-wallet"},{"title":"Internal Transfer","deprecated":null,"version":null,"openapi":"/olive-openapi.json post /wallet/transfer","href":"/api-reference/wallet/internal-transfer"}]},{"group":"Webhooks","pages":[{"title":"Vult cash-in webhook","deprecated":null,"version":null,"openapi":"/olive-openapi.json post /webhooks/vult/cashin","href":"/api-reference/webhooks/vult-cash-in-webhook"},{"title":"WhatsApp Webhook","deprecated":null,"version":null,"openapi":"/olive-openapi.json post /external/whatsapp","href":"/api-reference/webhooks/whatsapp-webhook"}]},{"group":"Partner","pages":[{"title":"Account Status","openapi":"olive-openapi.json POST /partner/account-status","playground":"simple","icon":"user-check","href":"/api-reference/partner/account-status"},{"title":"Cash In","deprecated":null,"version":null,"openapi":"/olive-openapi.json post /partner/cashin","href":"/api-reference/partner/cash-in"},{"title":"Transaction History","openapi":"olive-openapi.json POST /partner/transaction-history","playground":"simple","icon":"history","href":"/api-reference/partner/transaction-history"}]}]},{"tab":"Guides","pages":[{"title":"Guides","href":"/guides/quickstart"}]}]},"basePath":"","title":"Upload Cards CSV - OLIVE Payment Platform","buildId":"dpl_BLQvU86QFwq3AhPofSTw6q8dGWKm","deploymentId":"dpl_BLQvU86QFwq3AhPofSTw6q8dGWKm","dynamics":["c2aa737661","2b790eda92","b0f84f53ff","a9bb46feb3"],"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","ApiExamples-1-a5UQKQ.js","isEqual-BfaiBbcl.js","usePlaygroundInputsStore-C541m7wZ.js","shallow-CWELCZ77.js","getApiPlaygroundDisplay-CTo5Zn03.js","CodeSnippet-D--dzvnl.js","CodeSnippets-DM3cXEDh.js","Page-CxAy5y67.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","Markdown-CpxgzsKA.js","clsx-C5EfhVm0.js","lib-DuNMoZ05.js","lib-B8HbPgcC.js","html-void-elements-mCSPHezU.js","dist-CJ9Oly2E.js","katex-YMM-FMeD.js","marked.esm-CZWythHk.js","AssistantPageLink-Mk6P3qvh.js"]}