Requires login. Returns the vouchers sold by the shop’s terminals, paginated.
The default order is by voucher id (descending), which is the stock order, not the sale order. To list the latest sales first, send "field": "usedAt", "order": "descend".
Printed by one of these terminals, e.g. [88] or 88. Only the shop’s own terminals are kept; others are ignored. Empty or missing: all terminals of the shop.
{"docsConfig":{"theme":"mint","$schema":"https://mintlify.com/docs.json","name":"TuniMobile Integration API","description":"Sell TuniMobile recharge vouchers (Tunisie Telecom, Orange, Ooredoo) from your own application.","colors":{"primary":"#16A34A","light":"#07C983","dark":"#15803D"},"favicon":"https://mintcdn.com/tuni-mobile/Z828WuxAtlYeXtz_/favicon.svg?fit=max\u0026auto=format\u0026n=Z828WuxAtlYeXtz_\u0026q=85\u0026s=751b3784f11581568ccef74e925f1179","api":{"playground":{"display":"none"},"mdx":{"server":["https://apitest.tunimobile.com/v1","https://api.tunimobile.com/v1"]}},"navbar":{"primary":{"type":"button","label":"TuniMobile","href":"https://tunimobile.com"}},"contextual":{"options":["copy","view","chatgpt","claude","perplexity","mcp","cursor","vscode"],"display":"header"},"styling":{"latex":false},"navigation":{"pages":[]}},"deployment":{"deploymentMetadataValue":{"subdomain":"tuni-mobile","hasAudioNarration":false,"actualSubdomain":"tuni-mobile","customDomains":["docs.tunimobile.com"],"gitSource":{"type":"artifacts","owner":"prod","repo":"6ae21fe4ea96bbaeeb8784af","deployBranch":"main","contentDirectory":"","isPrivate":true,"mountPath":"","label":"","_id":"6ae21ffba70829123067bb16"},"chroma":{"latestBuiltDeploymentHistoryId":"6ae22000a70829123067bb6d","collectionId":"05866f62-ca31-443e-b395-f9b61dfd0860","liveDeploymentHistoryId":"6ae22000a70829123067bb6d","schemaVersion":"v3"},"entitlements":{"AI_CHAT":{"status":"ENABLED"},"WEB_MCP":{"status":"ENABLED"},"NARRATION":{"status":"ENABLED"}},"buildId":"6ae2394a0ef2a112dc97d4d0","clientVersion":"0.0.4005","searchFilterCounts":[{"language":"default","tag":"Getting Started","count":2}]},"assistantConfig":{"enableAskAiButton":false,"enableStarterQuestions":false,"enableContextualStarterQuestions":false,"enableAskAiSearchBar":true},"basePath":"","hasChatPermissions":true,"hasWebMcpPermissions":true,"toggles":[{"name":"kill-isr","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"agent-mintlify-slack","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"editor-v7-file-tree","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":"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":"pause-universal-search-reconcile","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":"per-site-search-delta","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":"editor-private-page-search","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":"editor-nav-generations","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":"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":"byok-sep-25","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":"editor-agent-model-picker","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"billing-updated-9-15","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":"workos-enabled","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false}],"googleFontsInlined":false},"customCss":[],"page":{"pagePath":"api/vouchers/history","slug":"/api/vouchers/history","pageMetadata":{"title":"List the voucher history","sidebarTitle":"History","description":"Paginated list of vouchers sold by the shop's terminals.","api":"POST /vouchers","href":"/api/vouchers/history"},"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: \"Paginated list of vouchers sold by the shop’s terminals.\"\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={a:`a`,code:`code`,p:`p`,..._provideComponents(),...props.components},{Expandable,Heading,Note,ParamField,ResponseField,Tip}=_components;if(!Expandable)_missingMdxReference(`Expandable`,true);if(!Heading)_missingMdxReference(`Heading`,true);if(!Note)_missingMdxReference(`Note`,true);if(!ParamField)_missingMdxReference(`ParamField`,true);if(!ResponseField)_missingMdxReference(`ResponseField`,true);if(!Tip)_missingMdxReference(`Tip`,true);return _jsxs(_Fragment,{children:[_jsx(_components.p,{children:`Requires login. Returns the vouchers sold by the shop’s terminals, paginated.`}),`\n`,_jsx(Tip,{children:_jsxs(_components.p,{children:[`The default order is by voucher `,_jsx(_components.code,{children:`id`}),` (descending), which is the stock order, not the sale order. To list the latest sales first, send `,_jsx(_components.code,{children:`\"field\": \"usedAt\", \"order\": \"descend\"`}),`.`]})}),`\n`,_jsx(Heading,{level:`2`,id:`body`,children:`Body`}),`\n`,_jsx(ParamField,{body:`pagination`,type:`object`,required:true,id:`param-pagination`,children:_jsxs(Expandable,{title:`properties`,children:[_jsx(ParamField,{body:`current`,type:`integer`,required:true,id:`param-current`,children:_jsxs(_components.p,{children:[`Page number, starting at `,_jsx(_components.code,{children:`1`}),`.`]})}),_jsx(ParamField,{body:`pageSize`,type:`integer`,required:true,id:`param-page-size`,children:_jsxs(_components.p,{children:[`Items per page: `,_jsx(_components.code,{children:`10`}),`, `,_jsx(_components.code,{children:`25`}),`, `,_jsx(_components.code,{children:`50`}),`, `,_jsx(_components.code,{children:`100`}),`, `,_jsx(_components.code,{children:`500`}),` or `,_jsx(_components.code,{children:`1000`}),`.`]})})]})}),`\n`,_jsx(ParamField,{body:`field`,type:`string`,default:`id`,id:`param-field`,children:_jsxs(_components.p,{children:[`Sort field: `,_jsx(_components.code,{children:`id`}),`, `,_jsx(_components.code,{children:`usedAt`}),`, `,_jsx(_components.code,{children:`updatedAt`}),`, `,_jsx(_components.code,{children:`createdAt`}),`, `,_jsx(_components.code,{children:`value`}),`, `,_jsx(_components.code,{children:`operator`}),`, `,_jsx(_components.code,{children:`status`}),`.`]})}),`\n`,_jsx(ParamField,{body:`order`,type:`string`,default:`descend`,id:`param-order`,children:_jsxs(_components.p,{children:[_jsx(_components.code,{children:`ascend`}),` or `,_jsx(_components.code,{children:`descend`}),`. Only used together with `,_jsx(_components.code,{children:`field`}),`.`]})}),`\n`,_jsx(ParamField,{body:`search`,type:`string`,id:`param-search`,children:_jsxs(_components.p,{children:[`Part of a recharge code (`,_jsx(_components.code,{children:`cartNumber`}),`).`]})}),`\n`,_jsxs(ParamField,{body:`filters`,type:`object`,id:`param-filters`,children:[_jsx(_components.p,{children:`All keys are optional; values are arrays.`}),_jsxs(Expandable,{title:`properties`,children:[_jsx(ParamField,{body:`operator`,type:`string[]`,id:`param-operator`,children:_jsxs(_components.p,{children:[`One of the operators, e.g. `,_jsx(_components.code,{children:`[\"orange\", \"tt\"]`}),`.`]})}),_jsx(ParamField,{body:`value`,type:`number[]`,id:`param-value`,children:_jsxs(_components.p,{children:[`One of the values, e.g. `,_jsx(_components.code,{children:`[5]`}),`.`]})}),_jsx(ParamField,{body:`status`,type:`string[]`,id:`param-status`,children:_jsxs(_components.p,{children:[`One of the `,_jsx(_components.a,{href:`/reference/voucher-statuses`,children:`statuses`}),`, e.g. `,_jsx(_components.code,{children:`[\"printed\", \"confirmed\"]`}),`.`]})}),_jsx(ParamField,{body:`serieNumber`,type:`string[]`,id:`param-serie-number`,children:_jsxs(_components.p,{children:[`Serial number contains the text, e.g. `,_jsx(_components.code,{children:`[\"00123\"]`}),`.`]})}),_jsx(ParamField,{body:`terminalId`,type:`integer[] | integer`,id:`param-terminal-id`,children:_jsxs(_components.p,{children:[`Printed by one of these terminals, e.g. `,_jsx(_components.code,{children:`[88]`}),` or `,_jsx(_components.code,{children:`88`}),`. Only the shop’s own terminals are kept; others are ignored. Empty or missing: all terminals of the shop.`]})}),_jsx(ParamField,{body:`usedAt`,type:`string[]`,id:`param-used-at`,children:_jsxs(_components.p,{children:[`Sold between the two dates, e.g. `,_jsx(_components.code,{children:`[\"2026-10-01 00:00:00\", \"2026-10-31 23:59:59\"]`}),`.`]})}),_jsx(ParamField,{body:`updatedAt`,type:`string[]`,id:`param-updated-at`,children:_jsx(_components.p,{children:`Last update between the two dates.`})})]})]}),`\n`,_jsx(Heading,{level:`2`,id:`response`,children:`Response`}),`\n`,_jsx(ResponseField,{name:`info`,type:`object`,id:`param-info`,children:_jsxs(_components.p,{children:[`Pagination info: `,_jsx(_components.code,{children:`total`}),`, `,_jsx(_components.code,{children:`current`}),`, `,_jsx(_components.code,{children:`pageSize`}),`, `,_jsx(_components.code,{children:`pageSizeOptions`}),`, `,_jsx(_components.code,{children:`totalPage`}),`.`]})}),`\n`,_jsx(ResponseField,{name:`results`,type:`object[]`,id:`param-results`,children:_jsxs(Expandable,{title:`properties`,children:[_jsx(ResponseField,{name:`id`,type:`integer`,id:`param-id`,children:`Voucher id.`}),_jsxs(ResponseField,{name:`status`,type:`string`,id:`param-status-1`,children:[_jsx(_components.a,{href:`/reference/voucher-statuses`,children:`Voucher status`}),`.`]}),_jsx(ResponseField,{name:`serieNumber`,type:`string`,id:`param-serie-number-1`,children:`Serial number.`}),_jsx(ResponseField,{name:`operator`,type:`string`,id:`param-operator-1`,children:`Operator.`}),_jsx(ResponseField,{name:`value`,type:`number`,id:`param-value-1`,children:`Face value in TND.`}),_jsx(ResponseField,{name:`usedAt`,type:`string`,id:`param-used-at-1`,children:`Sale date.`}),_jsx(ResponseField,{name:`usedBy`,type:`integer`,id:`param-used-by`,children:`Id of the terminal that printed the voucher.`}),_jsx(ResponseField,{name:`batchId`,type:`integer`,id:`param-batch-id`,children:`Internal stock batch id.`}),_jsx(ResponseField,{name:`expireAt`,type:`string`,id:`param-expire-at`,children:`Expiry date.`}),_jsx(ResponseField,{name:`createdAt`,type:`string`,id:`param-created-at`,children:`Stock entry date.`}),_jsx(ResponseField,{name:`updatedAt`,type:`string`,id:`param-updated-at-1`,children:`Last update.`})]})}),`\n`,_jsx(Note,{children:_jsxs(_components.p,{children:[`The list does not return the recharge code (`,_jsx(_components.code,{children:`cartNumber`}),`). To print a ticket again, use `,_jsx(_components.a,{href:`/api/vouchers/reprint`,children:`reprint`}),` or `,_jsx(_components.a,{href:`/api/vouchers/duplicate`,children:`duplicate`}),`.`]})})]})}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":"List the voucher history","sidebarTitle":"History","description":"Paginated list of vouchers sold by the shop's terminals.","api":"POST /vouchers","href":"/api/vouchers/history"}}},"mdxSourceWithNoJs":{"compiledSource":"\"use strict\";const{Fragment:_Fragment,jsx:_jsx,jsxs:_jsxs}=arguments[0];const{useMDXComponents:_provideComponents}=arguments[0];function _createMdxContent(props){const _components={a:`a`,code:`code`,p:`p`,pre:`pre`,span:`span`,..._provideComponents(),...props.components},{CodeBlock,Expandable,Heading,Note,ParamField,RequestExample,ResponseExample,ResponseField,Tip}=_components;if(!CodeBlock)_missingMdxReference(`CodeBlock`,true);if(!Expandable)_missingMdxReference(`Expandable`,true);if(!Heading)_missingMdxReference(`Heading`,true);if(!Note)_missingMdxReference(`Note`,true);if(!ParamField)_missingMdxReference(`ParamField`,true);if(!RequestExample)_missingMdxReference(`RequestExample`,true);if(!ResponseExample)_missingMdxReference(`ResponseExample`,true);if(!ResponseField)_missingMdxReference(`ResponseField`,true);if(!Tip)_missingMdxReference(`Tip`,true);return _jsxs(_Fragment,{children:[_jsx(_components.p,{children:`Requires login. Returns the vouchers sold by the shop’s terminals, paginated.`}),`\n`,_jsx(Tip,{children:_jsxs(_components.p,{children:[`The default order is by voucher `,_jsx(_components.code,{children:`id`}),` (descending), which is the stock order, not the sale order. To list the latest sales first, send `,_jsx(_components.code,{children:`\"field\": \"usedAt\", \"order\": \"descend\"`}),`.`]})}),`\n`,_jsx(Heading,{level:`2`,id:`body`,children:`Body`}),`\n`,_jsx(ParamField,{body:`pagination`,type:`object`,required:true,id:`param-pagination`,children:_jsxs(Expandable,{title:`properties`,children:[_jsx(ParamField,{body:`current`,type:`integer`,required:true,id:`param-current`,children:_jsxs(_components.p,{children:[`Page number, starting at `,_jsx(_components.code,{children:`1`}),`.`]})}),_jsx(ParamField,{body:`pageSize`,type:`integer`,required:true,id:`param-page-size`,children:_jsxs(_components.p,{children:[`Items per page: `,_jsx(_components.code,{children:`10`}),`, `,_jsx(_components.code,{children:`25`}),`, `,_jsx(_components.code,{children:`50`}),`, `,_jsx(_components.code,{children:`100`}),`, `,_jsx(_components.code,{children:`500`}),` or `,_jsx(_components.code,{children:`1000`}),`.`]})})]})}),`\n`,_jsx(ParamField,{body:`field`,type:`string`,default:`id`,id:`param-field`,children:_jsxs(_components.p,{children:[`Sort field: `,_jsx(_components.code,{children:`id`}),`, `,_jsx(_components.code,{children:`usedAt`}),`, `,_jsx(_components.code,{children:`updatedAt`}),`, `,_jsx(_components.code,{children:`createdAt`}),`, `,_jsx(_components.code,{children:`value`}),`, `,_jsx(_components.code,{children:`operator`}),`, `,_jsx(_components.code,{children:`status`}),`.`]})}),`\n`,_jsx(ParamField,{body:`order`,type:`string`,default:`descend`,id:`param-order`,children:_jsxs(_components.p,{children:[_jsx(_components.code,{children:`ascend`}),` or `,_jsx(_components.code,{children:`descend`}),`. Only used together with `,_jsx(_components.code,{children:`field`}),`.`]})}),`\n`,_jsx(ParamField,{body:`search`,type:`string`,id:`param-search`,children:_jsxs(_components.p,{children:[`Part of a recharge code (`,_jsx(_components.code,{children:`cartNumber`}),`).`]})}),`\n`,_jsxs(ParamField,{body:`filters`,type:`object`,id:`param-filters`,children:[_jsx(_components.p,{children:`All keys are optional; values are arrays.`}),_jsxs(Expandable,{title:`properties`,children:[_jsx(ParamField,{body:`operator`,type:`string[]`,id:`param-operator`,children:_jsxs(_components.p,{children:[`One of the operators, e.g. `,_jsx(_components.code,{children:`[\"orange\", \"tt\"]`}),`.`]})}),_jsx(ParamField,{body:`value`,type:`number[]`,id:`param-value`,children:_jsxs(_components.p,{children:[`One of the values, e.g. `,_jsx(_components.code,{children:`[5]`}),`.`]})}),_jsx(ParamField,{body:`status`,type:`string[]`,id:`param-status`,children:_jsxs(_components.p,{children:[`One of the `,_jsx(_components.a,{href:`/reference/voucher-statuses`,children:`statuses`}),`, e.g. `,_jsx(_components.code,{children:`[\"printed\", \"confirmed\"]`}),`.`]})}),_jsx(ParamField,{body:`serieNumber`,type:`string[]`,id:`param-serie-number`,children:_jsxs(_components.p,{children:[`Serial number contains the text, e.g. `,_jsx(_components.code,{children:`[\"00123\"]`}),`.`]})}),_jsx(ParamField,{body:`terminalId`,type:`integer[] | integer`,id:`param-terminal-id`,children:_jsxs(_components.p,{children:[`Printed by one of these terminals, e.g. `,_jsx(_components.code,{children:`[88]`}),` or `,_jsx(_components.code,{children:`88`}),`. Only the shop’s own terminals are kept; others are ignored. Empty or missing: all terminals of the shop.`]})}),_jsx(ParamField,{body:`usedAt`,type:`string[]`,id:`param-used-at`,children:_jsxs(_components.p,{children:[`Sold between the two dates, e.g. `,_jsx(_components.code,{children:`[\"2026-10-01 00:00:00\", \"2026-10-31 23:59:59\"]`}),`.`]})}),_jsx(ParamField,{body:`updatedAt`,type:`string[]`,id:`param-updated-at`,children:_jsx(_components.p,{children:`Last update between the two dates.`})})]})]}),`\n`,_jsx(Heading,{level:`2`,id:`response`,children:`Response`}),`\n`,_jsx(ResponseField,{name:`info`,type:`object`,id:`param-info`,children:_jsxs(_components.p,{children:[`Pagination info: `,_jsx(_components.code,{children:`total`}),`, `,_jsx(_components.code,{children:`current`}),`, `,_jsx(_components.code,{children:`pageSize`}),`, `,_jsx(_components.code,{children:`pageSizeOptions`}),`, `,_jsx(_components.code,{children:`totalPage`}),`.`]})}),`\n`,_jsx(ResponseField,{name:`results`,type:`object[]`,id:`param-results`,children:_jsxs(Expandable,{title:`properties`,children:[_jsx(ResponseField,{name:`id`,type:`integer`,id:`param-id`,children:`Voucher id.`}),_jsxs(ResponseField,{name:`status`,type:`string`,id:`param-status-1`,children:[_jsx(_components.a,{href:`/reference/voucher-statuses`,children:`Voucher status`}),`.`]}),_jsx(ResponseField,{name:`serieNumber`,type:`string`,id:`param-serie-number-1`,children:`Serial number.`}),_jsx(ResponseField,{name:`operator`,type:`string`,id:`param-operator-1`,children:`Operator.`}),_jsx(ResponseField,{name:`value`,type:`number`,id:`param-value-1`,children:`Face value in TND.`}),_jsx(ResponseField,{name:`usedAt`,type:`string`,id:`param-used-at-1`,children:`Sale date.`}),_jsx(ResponseField,{name:`usedBy`,type:`integer`,id:`param-used-by`,children:`Id of the terminal that printed the voucher.`}),_jsx(ResponseField,{name:`batchId`,type:`integer`,id:`param-batch-id`,children:`Internal stock batch id.`}),_jsx(ResponseField,{name:`expireAt`,type:`string`,id:`param-expire-at`,children:`Expiry date.`}),_jsx(ResponseField,{name:`createdAt`,type:`string`,id:`param-created-at`,children:`Stock entry date.`}),_jsx(ResponseField,{name:`updatedAt`,type:`string`,id:`param-updated-at-1`,children:`Last update.`})]})}),`\n`,_jsx(Note,{children:_jsxs(_components.p,{children:[`The list does not return the recharge code (`,_jsx(_components.code,{children:`cartNumber`}),`). To print a ticket again, use `,_jsx(_components.a,{href:`/api/vouchers/reprint`,children:`reprint`}),` or `,_jsx(_components.a,{href:`/api/vouchers/duplicate`,children:`duplicate`}),`.`]})}),`\n`,_jsx(RequestExample,{children:_jsx(CodeBlock,{filename:`cURL`,numberOfLines:`13`,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:`13`,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:` -b`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` cookies.txt`}),_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-dark\":`#569CD6`},children:` -c`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` cookies.txt`}),_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:` \"Content-Type: application/json\"`}),_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:` -d`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` '{`})]}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` \"pagination\": { \"current\": 1, \"pageSize\": 25 },`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` \"field\": \"usedAt\",`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` \"order\": \"descend\",`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` \"filters\": {`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` \"operator\": [\"orange\"],`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` \"status\": [\"printed\", \"confirmed\"],`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` \"usedAt\": [\"2026-10-01 00:00:00\", \"2026-10-31 23:59:59\"]`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` }`})}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` }'`}),_jsx(_components.span,{style:{color:`#CF222E`,\"--shiki-dark\":`#D7BA7D`},children:` \\\\`})]}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` https://apitest.tunimobile.com/v1/vouchers`})}),`\n`]})})})}),`\n`,_jsx(ResponseExample,{children:_jsx(CodeBlock,{filename:`200`,numberOfLines:`29`,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:`29`,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:` \"status\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"success\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`,`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#9CDCFE`},children:` \"code\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-dark\":`#B5CEA8`},children:`200`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`,`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#9CDCFE`},children:` \"message\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"OK\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`,`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#9CDCFE`},children:` \"data\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: {`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#9CDCFE`},children:` \"info\"`}),_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:`134`}),_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:` \"current\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-dark\":`#B5CEA8`},children:`1`}),_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:` \"pageSize\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-dark\":`#B5CEA8`},children:`25`}),_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:` \"pageSizeOptions\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: [`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"10\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`, `}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"25\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`, `}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"50\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`, `}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"100\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`, `}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"500\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`, `}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"1000\"`}),_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:` \"totalPage\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-dark\":`#B5CEA8`},children:`6`})]}),`\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:` \"results\"`}),_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:` \"id\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-dark\":`#B5CEA8`},children:`987654`}),_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:` \"status\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"confirmed\"`}),_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:` \"createdAt\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"2026-09-02T08:00:00+01:00\"`}),_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:` \"updatedAt\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"2026-10-28T10:15:09+01:00\"`}),_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:` \"usedAt\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"2026-10-28T10:15:03+01:00\"`}),_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:` \"serieNumber\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"0012345678\"`}),_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:` \"value\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-dark\":`#B5CEA8`},children:`5`}),_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:` \"operator\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"orange\"`}),_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:` \"expireAt\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"2027-06-30T00:00:00+01:00\"`}),_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:` \"batchId\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-dark\":`#B5CEA8`},children:`12`}),_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:` \"usedBy\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-dark\":`#B5CEA8`},children:`88`})]}),`\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(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`}`})}),`\n`]})})})})]})}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":"List the voucher history","sidebarTitle":"History","description":"Paginated list of vouchers sold by the shop's terminals.","api":"POST /vouchers","href":"/api/vouchers/history"}}}},"mdxExtracts":{"tableOfContents":[{"title":"Body","slug":"body","depth":2,"children":[]},{"title":"Response","slug":"response","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=\"13\">\u003cspan class=\"line\">\u003cspan style=\"color:#953800;--shiki-dark:#DCDCAA\">curl\u003c/span>\u003cspan style=\"color:#0550AE;--shiki-dark:#569CD6\"> -b\u003c/span>\u003cspan style=\"color:#0A3069;--shiki-dark:#CE9178\"> cookies.txt\u003c/span>\u003cspan style=\"color:#0550AE;--shiki-dark:#569CD6\"> -c\u003c/span>\u003cspan style=\"color:#0A3069;--shiki-dark:#CE9178\"> cookies.txt\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\"> \"Content-Type: application/json\"\u003c/span>\u003cspan style=\"color:#CF222E;--shiki-dark:#D7BA7D\"> \\\u003c/span>\u003c/span>\n\u003cspan class=\"line\">\u003cspan style=\"color:#0550AE;--shiki-dark:#569CD6\"> -d\u003c/span>\u003cspan style=\"color:#0A3069;--shiki-dark:#CE9178\"> '{\u003c/span>\u003c/span>\n\u003cspan class=\"line\">\u003cspan style=\"color:#0A3069;--shiki-dark:#CE9178\"> \"pagination\": { \"current\": 1, \"pageSize\": 25 },\u003c/span>\u003c/span>\n\u003cspan class=\"line\">\u003cspan style=\"color:#0A3069;--shiki-dark:#CE9178\"> \"field\": \"usedAt\",\u003c/span>\u003c/span>\n\u003cspan class=\"line\">\u003cspan style=\"color:#0A3069;--shiki-dark:#CE9178\"> \"order\": \"descend\",\u003c/span>\u003c/span>\n\u003cspan class=\"line\">\u003cspan style=\"color:#0A3069;--shiki-dark:#CE9178\"> \"filters\": {\u003c/span>\u003c/span>\n\u003cspan class=\"line\">\u003cspan style=\"color:#0A3069;--shiki-dark:#CE9178\"> \"operator\": [\"orange\"],\u003c/span>\u003c/span>\n\u003cspan class=\"line\">\u003cspan style=\"color:#0A3069;--shiki-dark:#CE9178\"> \"status\": [\"printed\", \"confirmed\"],\u003c/span>\u003c/span>\n\u003cspan class=\"line\">\u003cspan style=\"color:#0A3069;--shiki-dark:#CE9178\"> \"usedAt\": [\"2026-10-01 00:00:00\", \"2026-10-31 23:59:59\"]\u003c/span>\u003c/span>\n\u003cspan class=\"line\">\u003cspan style=\"color:#0A3069;--shiki-dark:#CE9178\"> }\u003c/span>\u003c/span>\n\u003cspan class=\"line\">\u003cspan style=\"color:#0A3069;--shiki-dark:#CE9178\"> }'\u003c/span>\u003cspan style=\"color:#CF222E;--shiki-dark:#D7BA7D\"> \\\u003c/span>\u003c/span>\n\u003cspan class=\"line\">\u003cspan style=\"color:#0A3069;--shiki-dark:#CE9178\"> https://apitest.tunimobile.com/v1/vouchers\u003c/span>\u003c/span>\n\u003c/code>\u003c/pre>"}],"attributes":[]},"response":{"type":"ResponseExample","children":[{"filename":"200","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=\"29\">\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\"> \"status\"\u003c/span>\u003cspan style=\"color:#1F2328;--shiki-dark:#D4D4D4\">: \u003c/span>\u003cspan style=\"color:#0A3069;--shiki-dark:#CE9178\">\"success\"\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:#0550AE;--shiki-dark:#B5CEA8\">200\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\">\"OK\"\u003c/span>\u003cspan style=\"color:#1F2328;--shiki-dark:#D4D4D4\">,\u003c/span>\u003c/span>\n\u003cspan class=\"line\">\u003cspan style=\"color:#116329;--shiki-dark:#9CDCFE\"> \"data\"\u003c/span>\u003cspan style=\"color:#1F2328;--shiki-dark:#D4D4D4\">: {\u003c/span>\u003c/span>\n\u003cspan class=\"line\">\u003cspan style=\"color:#116329;--shiki-dark:#9CDCFE\"> \"info\"\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\">134\u003c/span>\u003cspan style=\"color:#1F2328;--shiki-dark:#D4D4D4\">,\u003c/span>\u003c/span>\n\u003cspan class=\"line\">\u003cspan style=\"color:#116329;--shiki-dark:#9CDCFE\"> \"current\"\u003c/span>\u003cspan style=\"color:#1F2328;--shiki-dark:#D4D4D4\">: \u003c/span>\u003cspan style=\"color:#0550AE;--shiki-dark:#B5CEA8\">1\u003c/span>\u003cspan style=\"color:#1F2328;--shiki-dark:#D4D4D4\">,\u003c/span>\u003c/span>\n\u003cspan class=\"line\">\u003cspan style=\"color:#116329;--shiki-dark:#9CDCFE\"> \"pageSize\"\u003c/span>\u003cspan style=\"color:#1F2328;--shiki-dark:#D4D4D4\">: \u003c/span>\u003cspan style=\"color:#0550AE;--shiki-dark:#B5CEA8\">25\u003c/span>\u003cspan style=\"color:#1F2328;--shiki-dark:#D4D4D4\">,\u003c/span>\u003c/span>\n\u003cspan class=\"line\">\u003cspan style=\"color:#116329;--shiki-dark:#9CDCFE\"> \"pageSizeOptions\"\u003c/span>\u003cspan style=\"color:#1F2328;--shiki-dark:#D4D4D4\">: [\u003c/span>\u003cspan style=\"color:#0A3069;--shiki-dark:#CE9178\">\"10\"\u003c/span>\u003cspan style=\"color:#1F2328;--shiki-dark:#D4D4D4\">, \u003c/span>\u003cspan style=\"color:#0A3069;--shiki-dark:#CE9178\">\"25\"\u003c/span>\u003cspan style=\"color:#1F2328;--shiki-dark:#D4D4D4\">, \u003c/span>\u003cspan style=\"color:#0A3069;--shiki-dark:#CE9178\">\"50\"\u003c/span>\u003cspan style=\"color:#1F2328;--shiki-dark:#D4D4D4\">, \u003c/span>\u003cspan style=\"color:#0A3069;--shiki-dark:#CE9178\">\"100\"\u003c/span>\u003cspan style=\"color:#1F2328;--shiki-dark:#D4D4D4\">, \u003c/span>\u003cspan style=\"color:#0A3069;--shiki-dark:#CE9178\">\"500\"\u003c/span>\u003cspan style=\"color:#1F2328;--shiki-dark:#D4D4D4\">, \u003c/span>\u003cspan style=\"color:#0A3069;--shiki-dark:#CE9178\">\"1000\"\u003c/span>\u003cspan style=\"color:#1F2328;--shiki-dark:#D4D4D4\">],\u003c/span>\u003c/span>\n\u003cspan class=\"line\">\u003cspan style=\"color:#116329;--shiki-dark:#9CDCFE\"> \"totalPage\"\u003c/span>\u003cspan style=\"color:#1F2328;--shiki-dark:#D4D4D4\">: \u003c/span>\u003cspan style=\"color:#0550AE;--shiki-dark:#B5CEA8\">6\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\"> \"results\"\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\"> \"id\"\u003c/span>\u003cspan style=\"color:#1F2328;--shiki-dark:#D4D4D4\">: \u003c/span>\u003cspan style=\"color:#0550AE;--shiki-dark:#B5CEA8\">987654\u003c/span>\u003cspan style=\"color:#1F2328;--shiki-dark:#D4D4D4\">,\u003c/span>\u003c/span>\n\u003cspan class=\"line\">\u003cspan style=\"color:#116329;--shiki-dark:#9CDCFE\"> \"status\"\u003c/span>\u003cspan style=\"color:#1F2328;--shiki-dark:#D4D4D4\">: \u003c/span>\u003cspan style=\"color:#0A3069;--shiki-dark:#CE9178\">\"confirmed\"\u003c/span>\u003cspan style=\"color:#1F2328;--shiki-dark:#D4D4D4\">,\u003c/span>\u003c/span>\n\u003cspan class=\"line\">\u003cspan style=\"color:#116329;--shiki-dark:#9CDCFE\"> \"createdAt\"\u003c/span>\u003cspan style=\"color:#1F2328;--shiki-dark:#D4D4D4\">: \u003c/span>\u003cspan style=\"color:#0A3069;--shiki-dark:#CE9178\">\"2026-09-02T08:00:00+01:00\"\u003c/span>\u003cspan style=\"color:#1F2328;--shiki-dark:#D4D4D4\">,\u003c/span>\u003c/span>\n\u003cspan class=\"line\">\u003cspan style=\"color:#116329;--shiki-dark:#9CDCFE\"> \"updatedAt\"\u003c/span>\u003cspan style=\"color:#1F2328;--shiki-dark:#D4D4D4\">: \u003c/span>\u003cspan style=\"color:#0A3069;--shiki-dark:#CE9178\">\"2026-10-28T10:15:09+01:00\"\u003c/span>\u003cspan style=\"color:#1F2328;--shiki-dark:#D4D4D4\">,\u003c/span>\u003c/span>\n\u003cspan class=\"line\">\u003cspan style=\"color:#116329;--shiki-dark:#9CDCFE\"> \"usedAt\"\u003c/span>\u003cspan style=\"color:#1F2328;--shiki-dark:#D4D4D4\">: \u003c/span>\u003cspan style=\"color:#0A3069;--shiki-dark:#CE9178\">\"2026-10-28T10:15:03+01:00\"\u003c/span>\u003cspan style=\"color:#1F2328;--shiki-dark:#D4D4D4\">,\u003c/span>\u003c/span>\n\u003cspan class=\"line\">\u003cspan style=\"color:#116329;--shiki-dark:#9CDCFE\"> \"serieNumber\"\u003c/span>\u003cspan style=\"color:#1F2328;--shiki-dark:#D4D4D4\">: \u003c/span>\u003cspan style=\"color:#0A3069;--shiki-dark:#CE9178\">\"0012345678\"\u003c/span>\u003cspan style=\"color:#1F2328;--shiki-dark:#D4D4D4\">,\u003c/span>\u003c/span>\n\u003cspan class=\"line\">\u003cspan style=\"color:#116329;--shiki-dark:#9CDCFE\"> \"value\"\u003c/span>\u003cspan style=\"color:#1F2328;--shiki-dark:#D4D4D4\">: \u003c/span>\u003cspan style=\"color:#0550AE;--shiki-dark:#B5CEA8\">5\u003c/span>\u003cspan style=\"color:#1F2328;--shiki-dark:#D4D4D4\">,\u003c/span>\u003c/span>\n\u003cspan class=\"line\">\u003cspan style=\"color:#116329;--shiki-dark:#9CDCFE\"> \"operator\"\u003c/span>\u003cspan style=\"color:#1F2328;--shiki-dark:#D4D4D4\">: \u003c/span>\u003cspan style=\"color:#0A3069;--shiki-dark:#CE9178\">\"orange\"\u003c/span>\u003cspan style=\"color:#1F2328;--shiki-dark:#D4D4D4\">,\u003c/span>\u003c/span>\n\u003cspan class=\"line\">\u003cspan style=\"color:#116329;--shiki-dark:#9CDCFE\"> \"expireAt\"\u003c/span>\u003cspan style=\"color:#1F2328;--shiki-dark:#D4D4D4\">: \u003c/span>\u003cspan style=\"color:#0A3069;--shiki-dark:#CE9178\">\"2027-06-30T00:00:00+01:00\"\u003c/span>\u003cspan style=\"color:#1F2328;--shiki-dark:#D4D4D4\">,\u003c/span>\u003c/span>\n\u003cspan class=\"line\">\u003cspan style=\"color:#116329;--shiki-dark:#9CDCFE\"> \"batchId\"\u003c/span>\u003cspan style=\"color:#1F2328;--shiki-dark:#D4D4D4\">: \u003c/span>\u003cspan style=\"color:#0550AE;--shiki-dark:#B5CEA8\">12\u003c/span>\u003cspan style=\"color:#1F2328;--shiki-dark:#D4D4D4\">,\u003c/span>\u003c/span>\n\u003cspan class=\"line\">\u003cspan style=\"color:#116329;--shiki-dark:#9CDCFE\"> \"usedBy\"\u003c/span>\u003cspan style=\"color:#1F2328;--shiki-dark:#D4D4D4\">: \u003c/span>\u003cspan style=\"color:#0550AE;--shiki-dark:#B5CEA8\">88\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\u003cspan class=\"line\">\u003cspan style=\"color:#1F2328;--shiki-dark:#D4D4D4\">}\u003c/span>\u003c/span>\n\u003c/code>\u003c/pre>"}],"attributes":[]}},"endpoint":{"title":"List the voucher history","path":"/vouchers","servers":[{"url":"https://apitest.tunimobile.com/v1"},{"url":"https://api.tunimobile.com/v1"}],"method":"post","request":{"security":[],"parameters":{"query":{},"header":{},"cookie":{},"path":{}},"body":{"application/json":{"schemaArray":[{"type":"object","properties":{"pagination":[{"type":"object","properties":{"current":[{"type":"integer","description":"Page number, starting at `1` .","required":true}],"pageSize":[{"type":"integer","description":"Items per page: `10` , `25` , `50` , `100` , `500` or `1000` .","required":true}]},"required":true}],"field":[{"type":"string","description":"Sort field: `id` , `usedAt` , `updatedAt` , `createdAt` , `value` , `operator` , `status` ."}],"order":[{"type":"string","description":"`ascend` or `descend` . Only used together with `field` ."}],"search":[{"type":"string","description":"Part of a recharge code ( `cartNumber` )."}],"filters":[{"type":"object","properties":{"operator":[{"type":"array","items":[{"type":"string"}],"description":"One of the operators, e.g. `[\"orange\", \"tt\"]` ."}],"value":[{"type":"array","items":[{"type":"number"}],"description":"One of the values, e.g. `[5]` ."}],"status":[{"type":"array","items":[{"type":"string"}],"description":"One of the statuses , e.g. `[\"printed\", \"confirmed\"]` ."}],"serieNumber":[{"type":"array","items":[{"type":"string"}],"description":"Serial number contains the text, e.g. `[\"00123\"]` ."}],"terminalId":[{"type":"array","items":[{"type":"integer"}],"description":"Printed by one of these terminals, e.g. `[88]` or `88` . Only the shop’s own terminals are kept; others are ignored. Empty or missing: all terminals of the shop."}],"usedAt":[{"type":"array","items":[{"type":"string"}],"description":"Sold between the two dates, e.g. `[\"2026-10-01 00:00:00\", \"2026-10-31 23:59:59\"]` ."}],"updatedAt":[{"type":"array","items":[{"type":"string"}],"description":"Last update between the two dates."}]},"description":"All keys are optional; values are arrays."}]}}],"examples":{"example":{"value":{"pagination":{"current":123,"pageSize":123},"field":"\u003cstring>","order":"\u003cstring>","search":"\u003cstring>","filters":{"operator":["\u003cstring>"],"value":[123],"status":["\u003cstring>"],"serieNumber":["\u003cstring>"],"terminalId":[123],"usedAt":["\u003cstring>"],"updatedAt":["\u003cstring>"]}}}}}}},"response":{"200":{"application/json":{"schemaArray":[{"type":"object","properties":{"info":[{"type":"object","properties":{},"description":"Pagination info: `total` , `current` , `pageSize` , `pageSizeOptions` , `totalPage` ."}],"results":[{"type":"array","items":[{"type":"object","properties":{"id":[{"type":"integer","description":"Voucher id."}],"status":[{"type":"string","description":"Voucher status ."}],"serieNumber":[{"type":"string","description":"Serial number."}],"operator":[{"type":"string","description":"Operator."}],"value":[{"type":"number","description":"Face value in TND."}],"usedAt":[{"type":"string","description":"Sale date."}],"usedBy":[{"type":"integer","description":"Id of the terminal that printed the voucher."}],"batchId":[{"type":"integer","description":"Internal stock batch id."}],"expireAt":[{"type":"string","description":"Expiry date."}],"createdAt":[{"type":"string","description":"Stock entry date."}],"updatedAt":[{"type":"string","description":"Last update."}]}}]}]}}],"examples":{"example":{"value":{"info":{},"results":[{"id":123,"status":"\u003cstring>","serieNumber":"\u003cstring>","operator":"\u003cstring>","value":123,"usedAt":"\u003cstring>","usedBy":123,"batchId":123,"expireAt":"\u003cstring>","createdAt":"\u003cstring>","updatedAt":"\u003cstring>"}]}}}}}},"deprecated":false}},"jsLinks":[],"subdomain":"tuni-mobile","siteName":"TuniMobile Integration API","title":"List the voucher history - TuniMobile Integration API","navMaps":{"firstHrefInVersion":{},"firstHrefInLanguage":{}},"lastModified":"2026-10-28T18:05:07.032Z","originalFileLocation":"api/vouchers/history.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=\"Paginated list of vouchers sold by the shop\u0026#x27;s terminals.\">\u003cmeta data-mint-head name=\"application-name\" content=\"TuniMobile Integration API\">\u003cmeta data-mint-head name=\"generator\" content=\"Mintlify\">\u003clink data-mint-head rel=\"icon\" type=\"image/png\" sizes=\"192x192\" href=\"/mintlify-assets/_mintlify/favicons/tuni-mobile/hk79GHUBoQsFCvCv/_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/tuni-mobile/hk79GHUBoQsFCvCv/_generated/favicon/apple-touch-icon.png\">\u003clink data-mint-head rel=\"icon\" type=\"image/png\" sizes=\"16x16\" href=\"/mintlify-assets/_mintlify/favicons/tuni-mobile/hk79GHUBoQsFCvCv/_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/tuni-mobile/hk79GHUBoQsFCvCv/_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/tuni-mobile/hk79GHUBoQsFCvCv/_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/tuni-mobile/hk79GHUBoQsFCvCv/_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/tuni-mobile/hk79GHUBoQsFCvCv/_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/tuni-mobile/hk79GHUBoQsFCvCv/_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/tuni-mobile/hk79GHUBoQsFCvCv/_generated/favicon-dark/favicon.ico\" media=\"(prefers-color-scheme: dark)\">\u003cmeta data-mint-head property=\"og:title\" content=\"List the voucher history - TuniMobile Integration API\">\u003cmeta data-mint-head property=\"og:description\" content=\"Paginated list of vouchers sold by the shop\u0026#x27;s terminals.\">\u003cmeta data-mint-head property=\"og:site_name\" content=\"TuniMobile Integration API\">\u003cmeta data-mint-head property=\"og:url\" content=\"https://docs.tunimobile.com/api/vouchers/history\">\u003cmeta data-mint-head property=\"og:type\" content=\"website\">\u003cmeta data-mint-head property=\"og:image\" content=\"https://tuni-mobile.mintlify.app/_mintlify/api/og/v2?division=Vouchers\u0026amp;title=List+the+voucher+history\u0026amp;description=Paginated+list+of+vouchers+sold+by+the+shop%27s+terminals.\u0026amp;theme=df44427d4ddbca4dea795833\u0026amp;signature=1d4ebc1ac25425bd80f08464964d2b7560626bb5f1d59bf9e0fd8b2db7a27cbb\">\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=\"List the voucher history - TuniMobile Integration API\">\u003cmeta data-mint-head name=\"twitter:description\" content=\"Paginated list of vouchers sold by the shop\u0026#x27;s terminals.\">\u003cmeta data-mint-head name=\"twitter:image\" content=\"https://tuni-mobile.mintlify.app/_mintlify/api/og/v2?division=Vouchers\u0026amp;title=List+the+voucher+history\u0026amp;description=Paginated+list+of+vouchers+sold+by+the+shop%27s+terminals.\u0026amp;theme=df44427d4ddbca4dea795833\u0026amp;signature=1d4ebc1ac25425bd80f08464964d2b7560626bb5f1d59bf9e0fd8b2db7a27cbb\">\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/tuni-mobile/hk79GHUBoQsFCvCv/_generated/favicon/browserconfig.xml\">\u003cmeta data-mint-head name=\"apple-mobile-web-app-title\" content=\"TuniMobile Integration API\">\u003cmeta data-mint-head name=\"msapplication-TileColor\" content=\"#16A34A\">\u003clink data-mint-head rel=\"canonical\" href=\"https://docs.tunimobile.com/api/vouchers/history\">\u003clink data-mint-head rel=\"alternate\" type=\"application/xml\" href=\"/sitemap.xml\">\u003clink data-mint-head rel=\"alternate\" type=\"text/markdown\" href=\"/api/vouchers/history.md\">\u003cscript data-mint-head type=\"application/ld+json\">{\"@context\":\"https://schema.org\",\"@graph\":[{\"@type\":\"Organization\",\"@id\":\"https://docs.tunimobile.com/#organization\",\"name\":\"TuniMobile Integration API\",\"url\":\"https://docs.tunimobile.com\"},{\"@type\":\"WebSite\",\"@id\":\"https://docs.tunimobile.com#website\",\"name\":\"TuniMobile Integration API\",\"url\":\"https://docs.tunimobile.com\",\"publisher\":{\"@id\":\"https://docs.tunimobile.com/#organization\"}},{\"@type\":\"WebPage\",\"@id\":\"https://docs.tunimobile.com/api/vouchers/history#webpage\",\"url\":\"https://docs.tunimobile.com/api/vouchers/history\",\"name\":\"List the voucher history\",\"description\":\"Paginated list of vouchers sold by the shop's terminals.\",\"dateModified\":\"2026-10-28T18:05:07.032Z\",\"isPartOf\":{\"@id\":\"https://docs.tunimobile.com#website\"},\"breadcrumb\":{\"@id\":\"https://docs.tunimobile.com/api/vouchers/history#breadcrumb\"}},{\"@type\":\"BreadcrumbList\",\"@id\":\"https://docs.tunimobile.com/api/vouchers/history#breadcrumb\",\"itemListElement\":[{\"@type\":\"ListItem\",\"position\":1,\"name\":\"Vouchers\",\"item\":\"https://docs.tunimobile.com/api/vouchers/generate\"},{\"@type\":\"ListItem\",\"position\":2,\"name\":\"List the voucher history\",\"item\":\"https://docs.tunimobile.com/api/vouchers/history\"}]},{\"@type\":[\"TechArticle\",\"APIReference\"],\"@id\":\"https://docs.tunimobile.com/api/vouchers/history#apireference\",\"headline\":\"List the voucher history\",\"name\":\"List the voucher history\",\"description\":\"Paginated list of vouchers sold by the shop's terminals.\",\"url\":\"https://docs.tunimobile.com/api/vouchers/history\",\"mainEntityOfPage\":{\"@id\":\"https://docs.tunimobile.com/api/vouchers/history#webpage\"},\"dateModified\":\"2026-10-28T18:05:07.032Z\",\"publisher\":{\"@id\":\"https://docs.tunimobile.com/#organization\"},\"isPartOf\":{\"@id\":\"https://docs.tunimobile.com#website\"}}]}\u003c/script>\u003cscript data-mint-head type=\"application/ld+json\">{\"@context\":\"https://schema.org\",\"@type\":\"WebSite\",\"name\":\"TuniMobile Integration API\",\"creator\":{\"@type\":\"Organization\",\"name\":\"Mintlify\",\"url\":\"https://mintlify.com\"}}\u003c/script>","siteName":"TuniMobile Integration API","nav":{"global":null,"pages":[{"group":"Getting Started","pages":[{"title":"Introduction","icon":"house","href":"/index"},{"title":"Quickstart","icon":"rocket","href":"/quickstart"}]},{"group":"Basics","pages":[{"title":"Requests and responses","icon":"arrow-right-arrow-left","href":"/basics/requests-and-responses"},{"title":"Authentication","icon":"key","href":"/basics/authentication"},{"title":"Terminal API key","icon":"mobile","href":"/basics/terminal-api-key"}]},{"group":"Authentication","pages":[{"title":"Log in","api":"POST /login_check","href":"/api/auth/login"},{"title":"Refresh the session","api":"POST /token/refresh","href":"/api/auth/refresh"},{"title":"Log out","api":"GET /user/logout","href":"/api/auth/logout"}]},{"group":"Account","pages":[{"title":"Get the profile","api":"POST /user/do_action","href":"/api/account/profile"},{"title":"Get the balance","api":"POST /user/do_action","href":"/api/account/balance"}]},{"group":"Terminal","pages":[{"title":"Register / check the terminal","api":"POST /terminal/do_action","href":"/api/terminal/register"}]},{"group":"Vouchers","pages":[{"title":"Generate a voucher","sidebarTitle":"Generate (printVoucher)","api":"POST /voucher/do_action","href":"/api/vouchers/generate"},{"title":"Confirm a printed voucher","sidebarTitle":"Confirm (confirmVoucher)","api":"POST /voucher/do_action","href":"/api/vouchers/confirm"},{"title":"Reprint an unconfirmed voucher","sidebarTitle":"Reprint (reprintVoucher)","api":"POST /voucher/do_action","href":"/api/vouchers/reprint"},{"title":"Print a duplicate of a confirmed voucher","sidebarTitle":"Duplicate (duplicateVoucher)","api":"POST /voucher/do_action","href":"/api/vouchers/duplicate"},{"title":"Confirm a reprint or duplicate","sidebarTitle":"Confirm reprint (confirmReprintVoucher)","description":"Mark a voucher as confirmed after a reprint or duplicate was printed.","api":"POST /voucher/do_action","href":"/api/vouchers/confirm-reprint"},{"title":"List the voucher history","sidebarTitle":"History","api":"POST /vouchers","href":"/api/vouchers/history"}]},{"group":"Sales sessions","pages":[{"title":"Open / close a sales session","sidebarTitle":"Close and open session","description":"Close the terminal's current session, get its summary, and open a new one.","api":"POST /session/","href":"/api/sessions/rotate"}]},{"group":"Reference","pages":[{"title":"Voucher statuses","icon":"list-check","href":"/reference/voucher-statuses"},{"title":"Errors","icon":"triangle-exclamation","href":"/reference/errors"}]}]},"title":"List the voucher history - TuniMobile Integration API","buildId":"dpl_48qhjNLiu9iJQQSZJz9Fa2ihBbPH","deploymentId":"dpl_48qhjNLiu9iJQQSZJz9Fa2ihBbPH","dynamics":["c2aa737661","2b790eda92","b0f84f53ff"],"chunks":["OpenApiReferenceProvider-rBlzXElK.js","utils-AjnlCZis.js","cloneDeep-izs3Hzxb.js","_Uint8Array-BVIqJ90l.js","isObjectLike-C8vmzPEN.js","isArray-Dcu1dQ5t.js","utils-swvqTHUt.js","toString-BX-iyh8G.js","isSymbol-CSH9U2Gm.js","addUniqueKeysToSchema-CG9fqVU0.js","snippetPresets-CQaUsst6.js","style-to-object-BY3JEAdk.js","v4-DIgz8zy6.js","ApiExamples-DAdT3l54.js","isEqual-BfaiBbcl.js","usePlaygroundInputsStore-B1x8JMQI.js","shallow-D3oUTT8_.js","getApiPlaygroundDisplay-CXVJ98Sz.js","CodeSnippet-HbTSvyGs.js","CodeSnippets-DvgXFP0T.js","Page-C2raW8UD.js","getPastedJson-CfDE0eLj.js","icon-DBPqa2DN.js","MethodPill-86CHHFOO.js","DuplicateIcon-B5BXvyBd.js","createIcon-C_r05QJX.js","DynamicMarkdown-Cp6hhEk1.js","SectionHeading-RZjzOLoo.js","axios-vUo_bRtp.js"]}