Responses are generated using AI and may contain mistakes.
Nova release: Agenda de recebíveis no Dashboard — Veja no Dashboard quanto você tem a receber em cada dia dos próximos 90 dias, com a nova Agenda de recebíveis em Financeiro e no detalhe do recebedor. Ver release notes
Crie cobranças com cartão voucher (vale-refeição e vale-alimentação) através da API SDK da Malga em Node.js ou PHP, com payload completo.
Crie cobranças com voucher e comece a transacionar com Malga.
Vouchers funcionam de forma similar aos cartões de crédito na Malga, dessa forma você tem acesso às funcionalidades de tokenização e armazenamento dos seus cartões.Lembre-se que para gerenciar e armazenar dados de cartões diretamente no seu servidor é necessário o certificado PCI-DSS.
Caso sua empresa não tenha o certificado, utilize a tokenização de cartão para a criação de cobranças com voucher.
{"docsConfig":{"theme":"mint","$schema":"https://mintlify.com/docs.json","name":"Malga","description":"Documentação da Malga: API REST, SDKs, métodos de pagamento, provedores e referência OpenAPI para orquestração de pagamentos.","colors":{"primary":"#2FAC9B","light":"#39BFAD","dark":"#257C70"},"logo":{"light":"https://mintcdn.com/malga/vYWnjE_PEfqgCqeH/logo/light.svg?fit=max\u0026auto=format\u0026n=vYWnjE_PEfqgCqeH\u0026q=85\u0026s=60c63b525307d9a355741f58c18f3420","dark":"https://mintcdn.com/malga/Hsm6lJPRMWAJPkG-/logo/wordmark-white.svg?fit=max\u0026auto=format\u0026n=Hsm6lJPRMWAJPkG-\u0026q=85\u0026s=ea50ce46c10489c67470715f235e1bf0","href":"https://docs.malga.io"},"favicon":"https://mintcdn.com/malga/vYWnjE_PEfqgCqeH/logo/malga.svg?fit=max\u0026auto=format\u0026n=vYWnjE_PEfqgCqeH\u0026q=85\u0026s=d532b4d127383a206703b91b519fd67a","api":{"openapi":["api-reference/api-spec.yaml"],"playground":{"display":"interactive"},"examples":{"languages":["curl","javascript","go"],"prefill":true}},"navbar":{"primary":{"type":"button","label":"Quero testar","href":"https://malga.io/contato"}},"footer":{"socials":{"youtube":"https://www.youtube.com/@gomalga","linkedin":"https://www.linkedin.com/company/gomalga","instagram":"https://www.instagram.com/gomalga"},"links":[{"header":"Produto","items":[{"label":"Dashboard","href":"https://dashboard.malga.io/"},{"label":"Status","href":"https://status.malga.io/"}]},{"header":"Documentação","items":[{"label":"Introdução","href":"/documentations/welcome/introduction"},{"label":"Primeiros passos","href":"/documentations/welcome/primeiros-passos"},{"label":"Referência da API","href":"/api-reference/about-apis"},{"label":"SDKs","href":"/sdks/intro-sdk"},{"label":"Release Notes","href":"/release-notes/releases"}]},{"header":"Empresa","items":[{"label":"Site Malga","href":"https://malga.io"},{"label":"Contato","href":"https://malga.io/contato"}]}]},"search":{"prompt":"Pesquise ou pergunte algo..."},"seo":{"metatags":{"og:site_name":"Malga Docs","og:locale":"pt_BR"},"organization":{"name":"Malga","url":"https://malga.io","logo":"https://docs.malga.io/logo/light.svg","sameAs":["https://www.youtube.com/@gomalga","https://www.linkedin.com/company/gomalga/","https://www.instagram.com/gomalga"]},"indexing":"navigable"},"fonts":{"family":"Inter"},"integrations":{"amplitude":{"apiKey":"f26848c73ccd2e9606c95dac0cf0e765"},"ga4":{"measurementId":"G-RBZL7T96QN"},"hotjar":{"hjid":"2305294","hjsv":"6"}},"banner":{"content":"Nova release: **Agenda de recebíveis no Dashboard** — Veja no Dashboard quanto você tem a receber em cada dia dos próximos 90 dias, com a nova Agenda de recebíveis em Financeiro e no detalhe do recebedor. [Ver release notes](/release-notes/2026-10-29-Release-Notes)","dismissible":true},"contextual":{"options":["copy","view","chatgpt","claude"],"display":"header"},"thumbnails":{"appearance":"dark","background":"https://mintcdn.com/malga/Hsm6lJPRMWAJPkG-/images/og-background.png?fit=max\u0026auto=format\u0026n=Hsm6lJPRMWAJPkG-\u0026q=85\u0026s=0acfaa17c5dd44e8c7d07b15292eed66","fonts":{"family":"Inter"}},"markdown":{"instructions":["Responda em português brasileiro, na segunda pessoa (\"você\"), com base na documentação Malga.","Não invente endpoints, parâmetros, status codes ou comportamentos de API. Se não estiver na docs, diga que não encontrou e indique a página mais próxima.","Use os headers X-Client-Id e X-Api-Key nos exemplos de autenticação.","Motor de Assinaturas refere-se a /v1/subscriptions* (cycles, trial, retentativas, webhooks subscription.*). Não chame de \"motor de recorrência\".","Recorrência (provedor) é paymentMethod.recurrence em POST /v1/charges (initial / subsequent / unscheduled), distinto do Motor de Assinaturas.","Sandbox é ambiente de testes e não afeta produção."]},"styling":{"latex":false},"navigation":{"global":{"anchors":[{"anchor":"Dashboard","icon":"table-layout","href":"https://dashboard.malga.io/"},{"anchor":"YouTube","icon":"youtube","href":"https://www.youtube.com/@gomalga"},{"anchor":"Status Page","icon":"signal-strong","href":"https://status.malga.io/"}]},"pages":[]}},"deployment":{"deploymentMetadataValue":{"subdomain":"malga","hasAudioNarration":false,"actualSubdomain":"malga","customDomains":["docs.malga.io"],"gitSource":{"type":"github","owner":"plughacker","repo":"malga-docs","deployBranch":"main","contentDirectory":"","isPrivate":false,"mountPath":"","label":""},"chroma":{"liveDeploymentHistoryId":"6aeba86a63b9909d288df39a","collectionId":"2239eec7-89de-4e1f-9bdc-e1225af63faa","schemaVersion":"v3","latestBuiltDeploymentHistoryId":"6aeba86a63b9909d288df39a"},"feedback":{"thumbs":true,"agentFeedback":true},"entitlements":{"AI_CHAT":{"status":"ENABLED"},"REMOVE_BRANDING":{"status":"DISABLED"},"CONTEXTUAL_FEEDBACK":{"status":"DISABLED"},"CODE_SNIPPET_FEEDBACK":{"status":"DISABLED"},"WEB_MCP":{"status":"ENABLED"},"NARRATION":{"status":"ENABLED"}},"buildId":"6aeba86a63b9909d288df39a","clientVersion":"0.0.4071","searchFilterCounts":[{"language":"default","tag":"Documentação","count":186},{"language":"default","tag":"Release Notes","count":176},{"language":"default","tag":"Referência da API","count":105},{"language":"default","tag":"SDKs","count":66},{"language":"default","tag":"Conexões","count":49},{"language":"default","tag":"Guias","count":47},{"language":"default","tag":"API SDKs","count":46},{"language":"default","tag":"Analytics","count":39},{"language":"default","tag":"Analytics API","count":39},{"language":"default","tag":"Serviços adicionais","count":38}]},"assistantConfig":{"enableStarterQuestions":false},"basePath":"","hasChatPermissions":true,"hasWebMcpPermissions":true,"toggles":[],"googleFontsInlined":false},"customCss":[{"filePath":"styles.css","content":".card a:not(.card){border-bottom:1.5px solid #C3F4EF;;font-weight:600}.card a:not(.card):hover{border-bottom:2px solid #C3F4EF;;}html:not(.dark) .card a:not(.card){color:var(--tw-prose-links);min-width:1em!important}:root{--malgreen-200: #BAE7C9;--malgreen-300: #38BFAD;--malgreen-400: #2FAC9B;--malblack-100: #666666;--malblack-200: #4D4D4D;--malblack-300: #333333;--malblack-400: #1A1A1A;--malwhite-100: #FFFFFF;--malwhite-200: #F9F9F9;--malwhite-300: #F1F1F1;--malwhite-500: #CBCBCB;--malred-200: #FFA4B3;--malinfo-100: #E1EEF4;--malinfo-300: #3C8DDD;--malinfo-400: #1e61b6;--malsuccess-100: #e4f2e8;--malsuccess-200: #bae7c9;--malsuccess-300: #00ae42;--malsuccess-400: #009033;--malsuccess-500: #00601B;--malwarning-100: #FFF8E6;--malwarning-200: #F9DF8D;--malwarning-300: #FFA400;--malwarning-400: #F0941A;--malwarning-500: #D47129;--malerror-100: #ffd2dc;--post-bg: #3C8DDD;--get-bg: #009033;--patch-bg: #F0941B;--delete-bg: #D12E2d}html:not(.dark) .text-gray-900,html:not(.dark) .text-gray-800,html:not(.dark) .text-gray-700{color:var(--malblack-400)}.text-primary{color:var(--malgreen-400)}.prose :where(h1,h2,h3,h4,h5,h6):not(:where([class~=not-prose] *)){color:var(--malblack-400)}.prose :where(h1,h2,h3,h4,h5,h6):where([class=dark] *):not(:where([class~=not-prose] *)){color:var(--malwhite-200)}.prose :where(thead th):not(:where([class~=not-prose] *)){color:var(--malblack-100)}:is(.dark .prose :where(thead th):not(:where([class~=not-prose] *))){color:var(--malwhite-500)}:is(.dark .prose :is(h1,h2,h3,h4,h5,h6)){color:var(--malwhite-200)}html:not(.dark) .text-gray-600{color:var(--malblack-200)}html:not(.dark) .text-gray-500{color:var(--malblack-100)}.text-gray-200{color:var(--malwhite-200)}.text-gray-400{color:var(--malwhite-500)}.z-10{color:var(--malgreen-300)}.prose{color:var(--malblack-100)}:is(.dark .prose){color:var(--malwhite-500)}:is(.dark .dark\\:text-gray-200){color:var(--malwhite-200)}:is(.dark .dark\\:text-gray-400){color:var(--malwhite-500)}:is(.dark .dark\\:text-primary-light){--tw-text-opacity: 1;color:var(--malgreen-300)}:is(.dark #topbar-cta-button .dark\\:bg-primary-light\\/10){background-color:var(--malgreen-400)}#navbar .text-gray-600{color:var(--malblack-100)}#sidebar li .text-gray-600{color:var(--malblack-100)}#sidebar li .text-gray-700{color:var(--malblack-100)}#sidebar li .bg-primary\\/10{background-color:rgba(47, 172, 155, 0.1);color:var(--malgreen-400)}:is(.dark #sidebar li .text-gray-600){color:var(--malwhite-500)!important}:is(.dark #sidebar .dark\\:text-gray-200){color:var(--malwhite-300)}:is(.dark #sidebar li .text-gray-700){color:var(--malwhite-500)!important}:is(.dark #navbar .dark\\:text-gray-400){color:var(--malwhite-500)!important}:is(.dark #navbar .dark\\:text-primary-light){color:var(--malwhite-100)}:is(.dark #table-of-contents .text-primary){color:var(--malgreen-400)}.card .text-gray-600{color:var(--malblack-100)}:is(.dark .card .dark\\:text-gray-400){color:var(--malwhite-500)}:is(.dark .card h2){color:var(--malwhite-200)}.method-nav-pill{width:2.5rem;flex-shrink:0;display:inline-flex;align-items:center;justify-content:center}.method-nav-pill>span{display:inline-flex;align-items:center;justify-content:center;width:100%;box-sizing:border-box;text-align:center}.bg-\\[\\#3064E3\\]{background-color:var(--malinfo-400);color:var(--malwhite-100)}:is(.dark .bg-\\[\\#3064E3\\]){background-color:var(--malinfo-300)}.text-white{color:var(--malwhite-100)}:is(.dark .dark\\:bg-blue-400\\/20){color:var(--malinfo-300)}html:not(.dark) .bg-blue-400\\/20{background-color:var(--malinfo-100);color:var(--malinfo-400)}html:not(.dark) .bg-green-400\\/20{background-color:var(--malsuccess-100);color:var(--get-bg)}:is(.dark .dark\\:text-green-400){color:var(--malsuccess-300)}html:not(.dark) .bg-orange-400\\/20{background-color:var(--malwarning-100);color:var(--patch-bg)}:is(.dark .dark\\:text-orange-400){color:var(--malwarning-300)}html:not(.dark) .bg-red-400\\/20{background-color:var(--malerror-100);color:var(--delete-bg)}:is(.dark .dark\\:text-red-400){color:var(--malred-200)}:is(.dark .dark\\:bg-primary-light){background-color:var(--malgreen-400)}.stroke-gray-400{stroke:var(--malgreen-400)}:is(.dark svg.text-emerald-600){color:var(--malsuccess-200)}:is(.dark .dark\\:text-emerald-200){color:var(--malsuccess-200)}:is(.dark .dark\\:text-amber-200){color:var(--malwarning-200)}:is(.dark svg.text-amber-400){stroke:var(--malwarning-300)}.malga-icon-box .malga-icon[id=\"sodexo\"],.malga-icon-box .malga-icon[id=\"visa\"],.malga-icon-box .malga-icon[id=\"master\"],.malga-icon-box .malga-icon[id=\"amex\"],.malga-icon-box .malga-icon[id=\"dinners\"],.malga-icon-box .malga-icon[id=\"discover\"],.malga-icon-box .malga-icon[id=\"jcb\"],.malga-icon-box .malga-icon[id=\"vr\"],.malga-icon-box .malga-icon[id=\"elo\"]{width:55px!important;height:55px!important}.prose tbody tr:nth-child(odd){background-color:var(--malwhite-200)}:is(.dark .prose tbody tr:nth-child(odd)){background-color:var(--malblack-400)}td:is(:first-child){padding-left:8px}td:is(:last-child){padding-right:8px}td{vertical-align:middle!important}td[align=\"center\"]{text-align:center;vertical-align:middle!important}td[align=\"left\"]{text-align:left;vertical-align:middle!important}td[align=\"right\"]{text-align:right;vertical-align:middle!important}td>span{height:36px!important}th{white-space:nowrap}:is(.dark .prose :where(.malga-check-badge):not(:where([class~=not-prose] *))){background-color:var(--malblack-300)}.malga-check-badge{height:fit-content;white-space:nowrap}.check-icon>p{margin:0!important}.table-legend>p{font-size:12px;margin:0}.mx-1{margin:0 1em}.prose :where(img.table-flow-view){margin-top:0em;margin-bottom:0em;margin-inline:auto}.providers-matrix{--providers-matrix-sticky-bg: rgb(var(--background-light, 255 255 255));--providers-matrix-fade: rgb(var(--background-light, 255 255 255));--providers-matrix-sticky-shadow: rgb(0 0 0 / 0.06);margin-bottom:1.5rem;max-width:100%;min-width:0;box-sizing:border-box}:is(.dark .providers-matrix){--providers-matrix-sticky-bg: rgb(var(--background-dark, 10 13 14));--providers-matrix-fade: rgb(var(--background-dark, 10 13 14));--providers-matrix-sticky-shadow: rgb(0 0 0 / 0.45)}.providers-matrix-top-scroll{position:sticky;top:7.5rem;z-index:5;overflow-x:auto;overflow-y:hidden;width:100%;max-width:100%;min-width:0;box-sizing:border-box;margin-top:0.25rem;margin-bottom:1rem;min-height:12px;background:transparent;border:0;border-radius:0;scrollbar-width:thin;scrollbar-color:var(--malblack-100) transparent}.providers-matrix-top-scroll[data-overflow-x=\"false\"]{display:none}:is(.dark .providers-matrix-top-scroll){scrollbar-color:var(--malblack-100) transparent}.providers-matrix-top-scroll-inner{height:1px;pointer-events:none}.providers-matrix-viewport{position:relative;width:100%;max-width:100%;min-width:0}.providers-matrix-viewport::after{content:\"\";position:absolute;top:0;bottom:8px;right:0;width:1.25rem;z-index:4;pointer-events:none;opacity:0;transition:opacity 120ms ease;background:linear-gradient(to left, var(--providers-matrix-fade), transparent)}.providers-matrix-viewport[data-overflow-right=\"true\"]::after{opacity:1}.providers-matrix-scroll{overflow-x:auto;overflow-y:hidden;width:100%;max-width:100%;min-width:0;box-sizing:border-box;border:0;border-radius:0;background:transparent;scrollbar-width:thin;scrollbar-color:var(--malblack-100) transparent}.providers-matrix-top-scroll::-webkit-scrollbar,.providers-matrix-scroll::-webkit-scrollbar{height:8px}.providers-matrix-top-scroll::-webkit-scrollbar-track,.providers-matrix-scroll::-webkit-scrollbar-track{background:transparent}.providers-matrix-top-scroll::-webkit-scrollbar-thumb,.providers-matrix-scroll::-webkit-scrollbar-thumb{background:var(--malblack-100);border-radius:999px}.providers-matrix-top-scroll::-webkit-scrollbar-thumb:hover,.providers-matrix-scroll::-webkit-scrollbar-thumb:hover{background:var(--malgreen-300)}.providers-matrix-scroll table{margin-top:0!important;margin-bottom:0!important;width:max-content!important;min-width:0!important;max-width:none!important;background:transparent;display:table!important;overflow:visible!important}.providers-matrix-scroll th,.providers-matrix-scroll td{min-width:0!important}.providers-matrix-scroll[data-overflow-x=\"true\"]{overflow-x:scroll}.providers-matrix-scroll th:first-child,.providers-matrix-scroll td:first-child{position:sticky;left:0;z-index:2;min-width:11rem!important;background-color:var(--providers-matrix-sticky-bg);box-shadow:4px 0 8px -6px var(--providers-matrix-sticky-shadow)}.providers-matrix-scroll tbody tr:nth-child(odd) td:first-child{background-color:var(--malwhite-200)}:is(.dark .providers-matrix-scroll tbody tr:nth-child(odd) td:first-child){background-color:var(--malblack-400)}.providers-matrix-scroll thead th:first-child{z-index:3}"}],"page":{"pagePath":"sdks/api-sdks/docs/charges/create-charge-voucher","slug":"/sdks/api-sdks/docs/charges/create-charge-voucher","pageMetadata":{"title":"Criar cobrança com voucher","description":"Crie cobranças com cartão voucher (vale-refeição e vale-alimentação) através da API SDK da Malga em Node.js ou PHP, com payload completo.","href":"/sdks/api-sdks/docs/charges/create-charge-voucher"},"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: \"Crie cobranças com cartão voucher (vale-refeição e vale-alimentação) através da API SDK da Malga em Node.js ou PHP, com payload completo.\"\n });\n}\nfunction MDXContent(props = {}) {\n const {wrapper: MDXLayout} = {\n ..._provideComponents(),\n ...props.components\n };\n return MDXLayout ? _jsx(MDXLayout, {\n ...props,\n children: _jsx(_createMdxContent, {\n ...props\n })\n }) : _createMdxContent(props);\n}\nreturn {\n default: MDXContent\n};\n","frontmatter":{},"scope":{}},"pageType":"default","mdx":{"mdxSource":{"compiledSource":"\"use strict\";const{Fragment:_Fragment,jsx:_jsx,jsxs:_jsxs}=arguments[0];const{useMDXComponents:_provideComponents}=arguments[0];function _createMdxContent(props){const _components={code:`code`,p:`p`,pre:`pre`,span:`span`,..._provideComponents(),...props.components},{CodeBlock,Expandable,Heading,Info,ParamField,Tab,Tabs}=_components;if(!CodeBlock)_missingMdxReference(`CodeBlock`,true);if(!Expandable)_missingMdxReference(`Expandable`,true);if(!Heading)_missingMdxReference(`Heading`,true);if(!Info)_missingMdxReference(`Info`,true);if(!ParamField)_missingMdxReference(`ParamField`,true);if(!Tab)_missingMdxReference(`Tab`,true);if(!Tabs)_missingMdxReference(`Tabs`,true);return _jsxs(_Fragment,{children:[_jsx(_components.p,{children:`Crie cobranças com voucher e comece a transacionar com Malga.`}),`\n`,_jsxs(Info,{children:[_jsx(_components.p,{children:`Vouchers funcionam de forma similar aos cartões de crédito na Malga, dessa forma você tem acesso às funcionalidades de tokenização e armazenamento dos seus cartões.`}),_jsx(_components.p,{children:`Lembre-se que para gerenciar e armazenar dados de cartões diretamente no seu servidor é necessário o certificado PCI-DSS.\nCaso sua empresa não tenha o certificado, utilize a tokenização de cartão para a criação de cobranças com voucher.`})]}),`\n`,_jsx(Heading,{level:`3`,id:`método`,children:`Método`}),`\n`,_jsx(Tabs,{children:_jsx(Tab,{title:`Node.js`,id:`node-js`,children:_jsx(CodeBlock,{filename:``,numberOfLines:`21`,language:`typescript`,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:`typescript`,children:_jsxs(_components.code,{language:`typescript`,numberOfLines:`21`,children:[_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#CF222E`,\"--shiki-dark\":`#C586C0`},children:`import`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:` { `}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#9CDCFE`},children:`Malga`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:` } `}),_jsx(_components.span,{style:{color:`#CF222E`,\"--shiki-dark\":`#C586C0`},children:`from`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` 'malga'`})]}),`\n`,_jsx(_components.span,{className:`line`}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#CF222E`,\"--shiki-dark\":`#569CD6`},children:`const`}),_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-dark\":`#4FC1FF`},children:` malga`}),_jsx(_components.span,{style:{color:`#CF222E`,\"--shiki-dark\":`#D4D4D4`},children:` =`}),_jsx(_components.span,{style:{color:`#CF222E`,\"--shiki-dark\":`#569CD6`},children:` new`}),_jsx(_components.span,{style:{color:`#8250DF`,\"--shiki-dark\":`#DCDCAA`},children:` Malga`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`({`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#9CDCFE`},children:` apiKey:`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` '8468a624-68c1-49a3-b9f1-a22455053a38'`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`,`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#9CDCFE`},children:` clientId:`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` 'ebb9c69c-4ad6-49fd-a565-a35cb4c967b3'`}),_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`}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#CF222E`,\"--shiki-dark\":`#C586C0`},children:`await`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#9CDCFE`},children:` malga`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`.`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#9CDCFE`},children:`charges`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`.`}),_jsx(_components.span,{style:{color:`#8250DF`,\"--shiki-dark\":`#DCDCAA`},children:`create`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`({`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#9CDCFE`},children:` merchantId:`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` '2ed73b94-175a-438d-ae73-d11902492b75'`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`,`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#9CDCFE`},children:` customerId:`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` 'e43a18fa-bb72-4c8d-afb2-382e195ab8a5'`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`,`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#9CDCFE`},children:` amount:`}),_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:`#1F2328`,\"--shiki-dark\":`#9CDCFE`},children:` paymentMethod:`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:` {`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#9CDCFE`},children:` type:`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` 'voucher'`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`,`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#9CDCFE`},children:` card:`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:` {`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#9CDCFE`},children:` holderName:`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` 'João da Silva'`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`,`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#9CDCFE`},children:` number:`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` '5453881028277600'`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`,`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#9CDCFE`},children:` cvv:`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` '170'`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`,`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#9CDCFE`},children:` expirationDate:`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` '10/2030'`}),_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`]})})})})}),`\n`,_jsx(Tabs,{children:_jsx(Tab,{title:`Response`,id:`response`,children:_jsx(CodeBlock,{filename:``,numberOfLines:`45`,language:`typescript`,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:`typescript`,children:_jsxs(_components.code,{language:`typescript`,numberOfLines:`45`,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:`#953800`,\"--shiki-dark\":`#C8C8C8`},children:`\tid`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`'2f97378a-f174-4865-9d14-6ffc10fb34f0'`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`,`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#953800`,\"--shiki-dark\":`#C8C8C8`},children:`\tclientId`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`'ebb9c69c-4ad6-49fd-a565-a35cb4c967b3'`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`,`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#953800`,\"--shiki-dark\":`#C8C8C8`},children:`\tmerchantId`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`'2ed73b94-175a-438d-ae73-d11902492b75'`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`,`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#953800`,\"--shiki-dark\":`#C8C8C8`},children:`\tdescription`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-dark\":`#569CD6`},children:`null`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`,`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#953800`,\"--shiki-dark\":`#C8C8C8`},children:`\torderId`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-dark\":`#569CD6`},children:`null`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`,`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#953800`,\"--shiki-dark\":`#C8C8C8`},children:`\tproviderReferenceKey`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-dark\":`#569CD6`},children:`null`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`,`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#953800`,\"--shiki-dark\":`#C8C8C8`},children:`\tcreatedAt`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`'2023-12-31T18:19:44.993Z'`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`,`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#953800`,\"--shiki-dark\":`#C8C8C8`},children:`\tamount`}),_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:`#953800`,\"--shiki-dark\":`#C8C8C8`},children:`\toriginalAmount`}),_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:`#953800`,\"--shiki-dark\":`#C8C8C8`},children:`\tcurrency`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`'BRL'`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`,`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#953800`,\"--shiki-dark\":`#C8C8C8`},children:`\tstatementDescriptor`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-dark\":`#569CD6`},children:`null`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`,`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#953800`,\"--shiki-dark\":`#C8C8C8`},children:`\tcapture`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-dark\":`#569CD6`},children:`false`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`,`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#953800`,\"--shiki-dark\":`#C8C8C8`},children:`\tisDispute`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-dark\":`#569CD6`},children:`false`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`,`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#953800`,\"--shiki-dark\":`#C8C8C8`},children:`\tstatus`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`'authorized'`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`,`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#953800`,\"--shiki-dark\":`#C8C8C8`},children:`\tpaymentMethod`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: {`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#953800`,\"--shiki-dark\":`#C8C8C8`},children:`\t\tpaymentType`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`'voucher'`}),_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:`\t},`})}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#953800`,\"--shiki-dark\":`#C8C8C8`},children:`\tpaymentSource`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: {`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#953800`,\"--shiki-dark\":`#C8C8C8`},children:`\t\tsourceType`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`'card'`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`,`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#953800`,\"--shiki-dark\":`#C8C8C8`},children:`\t\tcardId`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`'5ee96a69-9ddf-4052-b454-f2421b547924'`}),_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:`\t},`})}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#953800`,\"--shiki-dark\":`#C8C8C8`},children:`\ttransactionRequests`}),_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:`\t\t{`})}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#9CDCFE`},children:`\t\t\tid:`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` '25de917a-f977-4054-bed3-e94ed377896a'`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`,`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#9CDCFE`},children:`\t\t\tcreatedAt:`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` '2023-12-31T18:19:45.013Z'`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`,`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#9CDCFE`},children:`\t\t\tupdatedAt:`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` '2023-12-31T18:19:45.044Z'`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`,`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#9CDCFE`},children:`\t\t\tidempotencyKey:`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` '86fde739-7506-48f6-a070-9eca62054415'`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`,`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#9CDCFE`},children:`\t\t\tproviderId:`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` 'db46b9d6-daa1-4eae-ba90-15b6d3216a93'`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`,`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#9CDCFE`},children:`\t\t\tproviderType:`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` 'SANDBOX'`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`,`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#9CDCFE`},children:`\t\t\ttransactionId:`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` '12023934-42e4-4062-b4f3-f7218c694c15'`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`,`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#9CDCFE`},children:`\t\t\tamount:`}),_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:`#1F2328`,\"--shiki-dark\":`#9CDCFE`},children:`\t\t\tauthorizationCode:`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` '123123'`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`,`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#9CDCFE`},children:`\t\t\tauthorizationNsu:`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` '123123'`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`,`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#9CDCFE`},children:`\t\t\trequestStatus:`}),_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:`#1F2328`,\"--shiki-dark\":`#9CDCFE`},children:`\t\t\trequestType:`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` 'pre_authorization'`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`,`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#9CDCFE`},children:`\t\t\tresponseTs:`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` '11ms'`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`,`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#9CDCFE`},children:`\t\t\tproviderAuthorization:`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:` {`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#9CDCFE`},children:`\t\t\t\tnetworkAuthorizationCode:`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` '123123'`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`,`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#9CDCFE`},children:`\t\t\t\tnetworkResponseCode:`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` '123123'`}),_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:`\t\t\t}`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`\t\t}`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`\t],`})}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#953800`,\"--shiki-dark\":`#C8C8C8`},children:`\tappInfo`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-dark\":`#569CD6`},children:`null`})]}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`}`})}),`\n`]})})})})}),`\n`,_jsx(Heading,{level:`3`,id:`parâmetros`,children:`Parâmetros`}),`\n`,_jsx(_components.p,{children:`Lista de todos os parâmetros suportados pelo método.`}),`\n`,_jsx(ParamField,{path:`merchantId`,type:`uuid`,required:true,id:`param-merchant-id`,children:_jsx(_components.p,{children:`ID do Merchant que será usado na cobrança`})}),`\n`,_jsx(ParamField,{path:`amount`,type:`number`,required:true,id:`param-amount`,children:_jsx(_components.p,{children:`Valor da cobrança em centavos`})}),`\n`,_jsxs(ParamField,{path:`paymentMethod`,type:`object`,required:true,id:`param-payment-method`,children:[_jsx(_components.p,{children:`Dados do pagamento com voucher`}),_jsxs(Expandable,{title:`Parâmetros do paymentMethod`,children:[_jsxs(ParamField,{path:`type`,type:`string`,required:true,id:`param-type`,children:[_jsx(_components.p,{children:`Método de pagamento que será utilizado na cobrança`}),_jsx(`br`,{}),_jsxs(_components.p,{children:[`Com voucher sempre será `,_jsx(`code`,{children:`voucher`})]})]}),_jsxs(ParamField,{path:`card`,type:`object`,required:true,id:`param-card`,children:[_jsx(_components.p,{children:`Dados do cartão`}),_jsxs(Expandable,{title:`Parâmetros do card`,children:[_jsx(ParamField,{path:`holderName`,type:`string`,required:true,id:`param-holder-name`,children:_jsx(_components.p,{children:`Nome do portador do cartão`})}),_jsx(ParamField,{path:`number`,type:`string`,required:true,id:`param-number`,children:_jsx(_components.p,{children:`Número do cartão`})}),_jsx(ParamField,{path:`cvv`,type:`string`,required:true,id:`param-cvv`,children:_jsx(_components.p,{children:`Código de segurança do cartão`})}),_jsx(ParamField,{path:`expirationDate`,type:`string`,required:true,id:`param-expiration-date`,children:_jsx(_components.p,{children:`Data de validade do cartão`})}),_jsxs(ParamField,{path:`zeroDollar`,type:`object`,id:`param-zero-dollar`,children:[_jsx(_components.p,{children:`Dados da validação de cartão com Zero Dollar`}),_jsxs(Expandable,{title:`Parâmetros do zeroDollar`,children:[_jsx(ParamField,{path:`merchantId`,type:`uuid`,id:`param-merchant-id-1`,children:_jsx(_components.p,{children:`ID do Merchant com pelo menos um provedor com suporte ao Zero Dollar`})}),_jsx(ParamField,{path:`cvvCheck`,type:`boolean`,id:`param-cvv-check`,children:_jsx(_components.p,{children:`Valide o CVV do cartão no momento da criação`})})]})]})]})]}),_jsxs(ParamField,{path:`items`,type:`array`,id:`param-items`,children:[_jsx(_components.p,{children:`Dados dos produtos do pedido`}),_jsxs(Expandable,{title:`Parâmetros do items`,children:[_jsx(ParamField,{path:`id`,type:`string`,required:true,id:`param-id`,children:_jsx(_components.p,{children:`Identificador único do produto`})}),_jsx(ParamField,{path:`title`,type:`string`,required:true,id:`param-title`,children:_jsx(_components.p,{children:`Nome do produto`})}),_jsx(ParamField,{path:`unitPrice`,type:`number`,required:true,id:`param-unit-price`,children:_jsx(_components.p,{children:`Preço do produto`})}),_jsx(ParamField,{path:`quantity`,type:`number`,required:true,id:`param-quantity`,children:_jsx(_components.p,{children:`Quantidade do produto`})})]})]}),_jsx(ParamField,{path:`linkCardToCustomer`,type:`boolean`,id:`param-link-card-to-customer`,children:_jsx(_components.p,{children:`Vincula o cartão automaticamente com o customer`})})]})]}),`\n`,_jsx(ParamField,{path:`orderId`,type:`string`,id:`param-order-id`,children:_jsx(_components.p,{children:`Identificador único da cobrança do lado do cliente para conciliação futura`})}),`\n`,_jsx(ParamField,{path:`providerReferenceKey`,type:`string`,id:`param-provider-reference-key`,children:_jsx(_components.p,{children:`Identificador único da cobrança do lado do cliente utilizado para referenciar a cobrança do lado do provedor`})}),`\n`,_jsx(ParamField,{path:`description`,type:`string`,id:`param-description`,children:_jsx(_components.p,{children:`Descrição da cobrança`})}),`\n`,_jsx(ParamField,{path:`statementDescriptor`,type:`string`,id:`param-statement-descriptor`,children:_jsx(_components.p,{children:`Descrição da cobrança que irá aparecer na fatura do cartão`})}),`\n`,_jsx(ParamField,{path:`currency`,type:`string`,id:`param-currency`,children:_jsx(_components.p,{children:`Moeda que será usada para a cobrança`})}),`\n`,_jsx(ParamField,{path:`customerId`,type:`uuid`,id:`param-customer-id`,children:_jsx(_components.p,{children:`ID do Customer que será usado na cobrança`})}),`\n`,_jsxs(ParamField,{path:`customer`,type:`object`,id:`param-customer`,children:[_jsx(_components.p,{children:`Dados do cliente para criação e vinculação automática à cobrança`}),_jsxs(Expandable,{title:`Parâmetros do customer`,children:[_jsx(ParamField,{path:`name`,type:`string`,required:true,id:`param-name`,children:_jsx(_components.p,{children:`Nome do cliente`})}),_jsx(ParamField,{path:`email`,type:`string`,required:true,id:`param-email`,children:_jsx(_components.p,{children:`E-mail do cliente`})}),_jsx(ParamField,{path:`phoneNumber`,type:`string`,required:true,id:`param-phone-number`,children:_jsx(_components.p,{children:`Telefone do cliente`})}),_jsxs(ParamField,{path:`document`,type:`object`,id:`param-document`,children:[_jsx(_components.p,{children:`Dados do documento do cliente`}),_jsxs(Expandable,{title:`Parâmetros do document`,children:[_jsx(ParamField,{path:`type`,type:`string`,required:true,id:`param-type-1`,children:_jsx(_components.p,{children:`Tipo do documento`})}),_jsx(ParamField,{path:`number`,type:`string`,required:true,id:`param-number-1`,children:_jsx(_components.p,{children:`Número do documento`})}),_jsx(ParamField,{path:`country`,type:`string`,id:`param-country`,children:_jsx(_components.p,{children:`País do documento`})})]})]}),_jsxs(ParamField,{path:`address`,type:`object`,id:`param-address`,children:[_jsx(_components.p,{children:`Dados do endereço do cliente`}),_jsxs(Expandable,{title:`Parâmetros do address`,children:[_jsx(ParamField,{path:`city`,type:`string`,required:true,id:`param-city`,children:_jsx(_components.p,{children:`Cidade`})}),_jsx(ParamField,{path:`country`,type:`string`,required:true,id:`param-country-1`,children:_jsx(_components.p,{children:`País`})}),_jsx(ParamField,{path:`district`,type:`string`,required:true,id:`param-district`,children:_jsx(_components.p,{children:`Bairro`})}),_jsx(ParamField,{path:`state`,type:`string`,required:true,id:`param-state`,children:_jsx(_components.p,{children:`Estado`})}),_jsx(ParamField,{path:`street`,type:`string`,required:true,id:`param-street`,children:_jsx(_components.p,{children:`Nome da rua, avenida ou travessa`})}),_jsx(ParamField,{path:`streetNumber`,type:`string`,required:true,id:`param-street-number`,children:_jsx(_components.p,{children:`Número da rua`})}),_jsx(ParamField,{path:`zipCode`,type:`string`,required:true,id:`param-zip-code`,children:_jsx(_components.p,{children:`Código postal`})}),_jsx(ParamField,{path:`complement`,type:`string`,id:`param-complement`,children:_jsx(_components.p,{children:`Complemento onde se localiza o endereço, caso exista`})})]})]})]})]}),`\n`,_jsxs(ParamField,{path:`splitRules`,type:`array`,id:`param-split-rules`,children:[_jsx(_components.p,{children:`Dados para utilização da funcionalidade de Split`}),_jsxs(Expandable,{title:`Parâmetros do splitRules`,children:[_jsx(ParamField,{path:`sellerId`,type:`uuid`,required:true,id:`param-seller-id`,children:_jsx(_components.p,{children:`ID do Recebedor`})}),_jsx(ParamField,{path:`processingFee`,type:`boolean`,required:true,id:`param-processing-fee`,children:_jsx(_components.p,{children:`Indica se o recebedor vinculado à regra será cobrado pelas taxas da transação`})}),_jsx(ParamField,{path:`liable`,type:`boolean`,required:true,id:`param-liable`,children:_jsx(_components.p,{children:`Indica se o recebedor atrelado assumirá os riscos de chargeback da transação`})}),_jsx(ParamField,{path:`percentage`,type:`number`,id:`param-percentage`,children:_jsx(_components.p,{children:`Porcentagem do valor da transação que será enviada ao recebedor`})}),_jsx(ParamField,{path:`amount`,type:`number`,id:`param-amount-1`,children:_jsx(_components.p,{children:`Valor que será enviado ao recebedor`})}),_jsxs(ParamField,{path:`fares`,type:`object`,id:`param-fares`,children:[_jsx(_components.p,{children:`Informações sobre as taxas que serão cobradas do recebedor, apenas para sellers com provedor Braspag`}),_jsxs(Expandable,{title:`Parâmetros do fares`,children:[_jsx(ParamField,{path:`mdr`,type:`number`,required:true,id:`param-mdr`,children:_jsx(_components.p,{children:`Indica o percentual a ser descontado do valor de uma transação, definido por produto (crédito/débito/boleto), bandeira e faixa de parcelamento`})}),_jsx(ParamField,{path:`fee`,type:`number`,required:true,id:`param-fee`,children:_jsx(_components.p,{children:`Indica valor em centavos a ser cobrado por transação capturada. É descontado no momento da “montagem” da agenda financeira`})})]})]})]})]}),`\n`,_jsxs(ParamField,{path:`paymentFlow`,type:`object`,id:`param-payment-flow`,children:[_jsx(_components.p,{children:`Dados adicionais para uso em condicionais dos Fluxos Inteligentes`}),_jsx(Expandable,{title:`Parâmetros do paymentFlow`,children:_jsx(ParamField,{path:`metadata`,type:`object`,id:`param-metadata`,children:_jsx(_components.p,{children:`Dados adicionais da cobrança enviados na criação da mesma`})})})]}),`\n`,_jsxs(ParamField,{path:`appInfo`,type:`object`,id:`param-app-info`,children:[_jsx(_components.p,{children:`Dados para a rastreabilidade da cobrança`}),_jsxs(Expandable,{title:`Parâmetros do appInfo`,children:[_jsxs(ParamField,{path:`device`,type:`object`,id:`param-device`,children:[_jsx(_components.p,{children:`Dados sobre o dispositivo`}),_jsxs(Expandable,{title:`Parâmetros do device`,children:[_jsx(ParamField,{path:`name`,type:`string`,required:true,id:`param-name-1`,children:_jsx(_components.p,{children:`Nome do sistema operacional`})}),_jsx(ParamField,{path:`version`,type:`string`,required:true,id:`param-version`,children:_jsx(_components.p,{children:`Versão do sistema operacional`})})]})]}),_jsxs(ParamField,{path:`system`,type:`object`,id:`param-system`,children:[_jsx(_components.p,{children:`Dados sobre o sistema proprietário de captura do merchant`}),_jsxs(Expandable,{title:`Parâmetros do system`,children:[_jsx(ParamField,{path:`name`,type:`string`,required:true,id:`param-name-2`,children:_jsx(_components.p,{children:`Nome da empresa e/ou plataforma`})}),_jsx(ParamField,{path:`version`,type:`string`,required:true,id:`param-version-1`,children:_jsx(_components.p,{children:`Versão do software da plataforma`})})]})]})]})]})]})}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":"Criar cobrança com voucher","description":"Crie cobranças com cartão voucher (vale-refeição e vale-alimentação) através da API SDK da Malga em Node.js ou PHP, com payload completo.","href":"/sdks/api-sdks/docs/charges/create-charge-voucher"}}},"mdxSourceWithNoJs":null},"mdxExtracts":{"tableOfContents":[{"title":"Método","slug":"método","depth":3,"children":[]},{"title":"Parâmetros","slug":"parâmetros","depth":3,"children":[]}],"codeExamples":{}},"jsLinks":["/_mintlify/custom/malga/e062f6bdf470a4a7/scripts/generate-providers/generate-providers-docs.js","/_mintlify/custom/malga/1d6eb6c3defb1781/scripts/generate-providers/generate-providers-table.js","/_mintlify/custom/malga/511878d47a4717b9/scripts/generate-providers/index.js","/_mintlify/custom/malga/07cc1cd1c4f6158b/scripts/generate-providers/update-mint-file.js","/_mintlify/custom/malga/4789795b14062ad2/scripts/generate-providers/utils.js","/_mintlify/custom/malga/f193bde54c02ce17/script.js"],"subdomain":"malga","siteName":"Malga","title":"Criar cobrança com voucher - Malga","relatedPagesConfig":{"enabled":true,"limit":4,"mode":"automatic"},"navMaps":{"firstHrefInVersion":{},"firstHrefInLanguage":{}},"lastModified":"2026-10-23T14:51:14.734Z","originalFileLocation":"sdks/api-sdks/docs/charges/create-charge-voucher.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=\"Crie cobranças com cartão voucher (vale-refeição e vale-alimentação) através da API SDK da Malga em Node.js ou PHP, com payload completo.\">\u003cmeta data-mint-head name=\"application-name\" content=\"Malga\">\u003cmeta data-mint-head name=\"generator\" content=\"Mintlify\">\u003clink data-mint-head rel=\"icon\" type=\"image/png\" sizes=\"192x192\" href=\"/mintlify-assets/_mintlify/favicons/malga/FRGYPTtLcTku4cpj/_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/malga/FRGYPTtLcTku4cpj/_generated/favicon/apple-touch-icon.png\">\u003clink data-mint-head rel=\"icon\" type=\"image/png\" sizes=\"16x16\" href=\"/mintlify-assets/_mintlify/favicons/malga/FRGYPTtLcTku4cpj/_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/malga/FRGYPTtLcTku4cpj/_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/malga/FRGYPTtLcTku4cpj/_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/malga/FRGYPTtLcTku4cpj/_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/malga/FRGYPTtLcTku4cpj/_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/malga/FRGYPTtLcTku4cpj/_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/malga/FRGYPTtLcTku4cpj/_generated/favicon-dark/favicon.ico\" media=\"(prefers-color-scheme: dark)\">\u003cmeta data-mint-head property=\"og:title\" content=\"Criar cobrança com voucher - Malga\">\u003cmeta data-mint-head property=\"og:description\" content=\"Crie cobranças com cartão voucher (vale-refeição e vale-alimentação) através da API SDK da Malga em Node.js ou PHP, com payload completo.\">\u003cmeta data-mint-head property=\"og:site_name\" content=\"Malga Docs\">\u003cmeta data-mint-head property=\"og:url\" content=\"https://docs.malga.io/sdks/api-sdks/docs/charges/create-charge-voucher\">\u003cmeta data-mint-head property=\"og:type\" content=\"website\">\u003cmeta data-mint-head property=\"og:image\" content=\"https://malga.mintlify.app/_mintlify/api/og/v2?division=Charges\u0026amp;title=Criar+cobran%C3%A7a+com+voucher\u0026amp;description=Crie+cobran%C3%A7as+com+cart%C3%A3o+voucher+%28vale-refei%C3%A7%C3%A3o+e+vale-alimenta%C3%A7%C3%A3o%29+atrav%C3%A9s+da+API+SDK+da+Malga+em+Node.js+ou+PHP%2C+com+payload+completo.\u0026amp;theme=0a64d774e3bd06ffb7acdfa7\u0026amp;signature=bcbf929e3ba7b09b91435a9d67b22f6e3b744a660efb5f41d9d88dfea79121d3\">\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=\"Criar cobrança com voucher - Malga\">\u003cmeta data-mint-head name=\"twitter:description\" content=\"Crie cobranças com cartão voucher (vale-refeição e vale-alimentação) através da API SDK da Malga em Node.js ou PHP, com payload completo.\">\u003cmeta data-mint-head name=\"twitter:image\" content=\"https://malga.mintlify.app/_mintlify/api/og/v2?division=Charges\u0026amp;title=Criar+cobran%C3%A7a+com+voucher\u0026amp;description=Crie+cobran%C3%A7as+com+cart%C3%A3o+voucher+%28vale-refei%C3%A7%C3%A3o+e+vale-alimenta%C3%A7%C3%A3o%29+atrav%C3%A9s+da+API+SDK+da+Malga+em+Node.js+ou+PHP%2C+com+payload+completo.\u0026amp;theme=0a64d774e3bd06ffb7acdfa7\u0026amp;signature=bcbf929e3ba7b09b91435a9d67b22f6e3b744a660efb5f41d9d88dfea79121d3\">\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/malga/FRGYPTtLcTku4cpj/_generated/favicon/browserconfig.xml\">\u003cmeta data-mint-head name=\"apple-mobile-web-app-title\" content=\"Malga\">\u003cmeta data-mint-head name=\"msapplication-TileColor\" content=\"#2FAC9B\">\u003cmeta data-mint-head name=\"og:locale\" content=\"pt_BR\">\u003clink data-mint-head rel=\"canonical\" href=\"https://docs.malga.io/sdks/api-sdks/docs/charges/create-charge-voucher\">\u003clink data-mint-head rel=\"alternate\" type=\"application/xml\" href=\"/sitemap.xml\">\u003clink data-mint-head rel=\"alternate\" type=\"text/markdown\" href=\"/sdks/api-sdks/docs/charges/create-charge-voucher.md\">\u003cscript data-mint-head type=\"application/ld+json\">{\"@context\":\"https://schema.org\",\"@graph\":[{\"@type\":\"Organization\",\"@id\":\"https://malga.io/#organization\",\"name\":\"Malga\",\"url\":\"https://malga.io\",\"logo\":{\"@type\":\"ImageObject\",\"url\":\"https://docs.malga.io/logo/light.svg\"},\"sameAs\":[\"https://www.youtube.com/@gomalga\",\"https://www.linkedin.com/company/gomalga/\",\"https://www.instagram.com/gomalga\"]},{\"@type\":\"WebSite\",\"@id\":\"https://docs.malga.io#website\",\"name\":\"Malga\",\"url\":\"https://docs.malga.io\",\"publisher\":{\"@id\":\"https://malga.io/#organization\"}},{\"@type\":\"WebPage\",\"@id\":\"https://docs.malga.io/sdks/api-sdks/docs/charges/create-charge-voucher#webpage\",\"url\":\"https://docs.malga.io/sdks/api-sdks/docs/charges/create-charge-voucher\",\"name\":\"Criar cobrança com voucher\",\"description\":\"Crie cobranças com cartão voucher (vale-refeição e vale-alimentação) através da API SDK da Malga em Node.js ou PHP, com payload completo.\",\"dateModified\":\"2026-10-23T14:51:14.734Z\",\"isPartOf\":{\"@id\":\"https://docs.malga.io#website\"},\"breadcrumb\":{\"@id\":\"https://docs.malga.io/sdks/api-sdks/docs/charges/create-charge-voucher#breadcrumb\"}},{\"@type\":\"BreadcrumbList\",\"@id\":\"https://docs.malga.io/sdks/api-sdks/docs/charges/create-charge-voucher#breadcrumb\",\"itemListElement\":[{\"@type\":\"ListItem\",\"position\":1,\"name\":\"API SDKs\",\"item\":\"https://docs.malga.io/sdks/api-sdks/introduction\"},{\"@type\":\"ListItem\",\"position\":2,\"name\":\"Documentação\",\"item\":\"https://docs.malga.io/sdks/api-sdks/docs/intro\"},{\"@type\":\"ListItem\",\"position\":3,\"name\":\"Charges\",\"item\":\"https://docs.malga.io/sdks/api-sdks/docs/charges/create-charge-credit\"},{\"@type\":\"ListItem\",\"position\":4,\"name\":\"Criar cobrança com voucher\",\"item\":\"https://docs.malga.io/sdks/api-sdks/docs/charges/create-charge-voucher\"}]},{\"@type\":[\"Article\",\"TechArticle\"],\"@id\":\"https://docs.malga.io/sdks/api-sdks/docs/charges/create-charge-voucher#article\",\"headline\":\"Criar cobrança com voucher\",\"name\":\"Criar cobrança com voucher\",\"description\":\"Crie cobranças com cartão voucher (vale-refeição e vale-alimentação) através da API SDK da Malga em Node.js ou PHP, com payload completo.\",\"url\":\"https://docs.malga.io/sdks/api-sdks/docs/charges/create-charge-voucher\",\"mainEntityOfPage\":{\"@id\":\"https://docs.malga.io/sdks/api-sdks/docs/charges/create-charge-voucher#webpage\"},\"dateModified\":\"2026-10-23T14:51:14.734Z\",\"publisher\":{\"@id\":\"https://malga.io/#organization\"},\"isPartOf\":{\"@id\":\"https://docs.malga.io#website\"}}]}\u003c/script>\u003cscript data-mint-head type=\"application/ld+json\">{\"@context\":\"https://schema.org\",\"@type\":\"WebSite\",\"name\":\"Malga\",\"creator\":{\"@type\":\"Organization\",\"name\":\"Mintlify\",\"url\":\"https://mintlify.com\"}}\u003c/script>","siteName":"Malga","nav":{"global":{"anchors":[{"anchor":"Dashboard","icon":"table-layout","href":"https://dashboard.malga.io/"},{"anchor":"YouTube","icon":"youtube","href":"https://www.youtube.com/@gomalga"},{"anchor":"Status Page","icon":"signal-strong","href":"https://status.malga.io/"}]},"tabs":[{"tab":"Documentação","pages":[{"title":"Documentação","href":"/documentations/welcome/introduction"}]},{"tab":"SDKs","groups":[{"group":"Tokenization SDK","pages":[{"title":"Começando em SDK de Tokenização v2 com Hosted Fields","sidebarTitle":"Introdução","href":"/sdks/tokenization/v2/intro"},{"title":"Getting Started","sidebarTitle":"Getting Started","href":"/sdks/tokenization/v2/quickstart"},{"title":"Configuração","sidebarTitle":"Configuração","href":"/sdks/tokenization/v2/configuration"},{"title":"Tokenizando mais de um cartão","sidebarTitle":"Múltiplos cartões","href":"/sdks/tokenization/v2/multiple-cards"},{"title":"Estilizando os campos","sidebarTitle":"Estilos","href":"/sdks/tokenization/v2/styles"},{"title":"Utilizando os eventos","sidebarTitle":"Eventos","href":"/sdks/tokenization/v2/events"},{"title":"Exemplos de Tokenização","url":"https://github.com/plughacker/malga-tokenization/tree/main/examples/v2","href":"/sdks/tokenization/v2/examples"},{"group":"v1 (deprecated)","pages":[{"title":"Começando em SDK de Tokenização","sidebarTitle":"Introdução","href":"/sdks/tokenization/v1/intro"},{"title":"Getting Started","sidebarTitle":"Getting Started","href":"/sdks/tokenization/v1/quickstart"},{"title":"Exemplos de Tokenização","url":"https://github.com/plughacker/malga-tokenization/tree/main/examples/v1","href":"/sdks/tokenization/v1/examples"}]}]},{"group":"API SDKs","pages":[{"title":"Iniciando em Malga API SDKs","sidebarTitle":"Introdução","href":"/sdks/api-sdks/introduction"},{"group":"Getting started","pages":[{"title":"Node.js","href":"/sdks/api-sdks/quickstart/nodejs/intro"},{"title":"Express","href":"/sdks/api-sdks/quickstart/nodejs/express"}]},{"group":"Documentação","pages":[{"title":"Entendendo o Malga API SDK: configuração e uso","sidebarTitle":"Introdução","href":"/sdks/api-sdks/docs/intro"},{"group":"Auth","pages":[{"title":"Criar chave pública","href":"/sdks/api-sdks/docs/auth/create-public-key"}]},{"group":"Charges","pages":[{"title":"Criar cobrança com cartão de crédito","href":"/sdks/api-sdks/docs/charges/create-charge-credit"},{"title":"Criar cobrança com boleto","href":"/sdks/api-sdks/docs/charges/create-charge-boleto"},{"title":"Criar cobrança com Drip","href":"/sdks/api-sdks/docs/charges/create-charge-drip"},{"title":"Criar cobrança com NuPay","href":"/sdks/api-sdks/docs/charges/create-charge-nupay"},{"title":"Criar cobrança com Pix","href":"/sdks/api-sdks/docs/charges/create-charge-pix"},{"title":"Criar cobrança com cartão armazenado","href":"/sdks/api-sdks/docs/charges/create-charge-saved-card"},{"title":"Criar cobrança com session","href":"/sdks/api-sdks/docs/charges/create-charge-session"},{"title":"Criar cobrança com cartão tokenizado","description":"Crie cobranças com cartão tokenizado pela API SDK da Malga em Node.js ou PHP, processando os dados sensíveis com segurança via tokenId.","href":"/sdks/api-sdks/docs/charges/create-charge-tokenized-card"},{"title":"Criar cobrança com voucher","href":"/sdks/api-sdks/docs/charges/create-charge-voucher"},{"title":"Capturar cobrança","description":"Capture cobranças pré-autorizadas em cartão de crédito de forma total ou parcial via API SDK da Malga em Node.js ou PHP, com payload completo.","href":"/sdks/api-sdks/docs/charges/capture-charge"},{"title":"Buscar cobrança","href":"/sdks/api-sdks/docs/charges/find-charge"},{"title":"Listar as cobranças","href":"/sdks/api-sdks/docs/charges/list-charges"},{"title":"Estornar cobrança","href":"/sdks/api-sdks/docs/charges/refund-charge"}]},{"group":"Cards","pages":[{"title":"Criar cartão","href":"/sdks/api-sdks/docs/cards/create-card"},{"title":"Buscar cartão","href":"/sdks/api-sdks/docs/cards/find-card"},{"title":"Listar os cartões","href":"/sdks/api-sdks/docs/cards/list-cards"},{"title":"Tokenização de cartão","href":"/sdks/api-sdks/docs/cards/tokenization-card"},{"title":"Tokenização de CVV","href":"/sdks/api-sdks/docs/cards/tokenization-cvv"}]},{"group":"Customers","pages":[{"title":"Criar cliente","href":"/sdks/api-sdks/docs/customers/create-customer"},{"title":"Buscar cliente","href":"/sdks/api-sdks/docs/customers/find-customer"},{"title":"Vincular cartão","href":"/sdks/api-sdks/docs/customers/link-card-customer"},{"title":"Listar cartões vinculados","href":"/sdks/api-sdks/docs/customers/list-cards-customer"},{"title":"Listar clientes","href":"/sdks/api-sdks/docs/customers/list-customers"},{"title":"Remover cliente","href":"/sdks/api-sdks/docs/customers/remove-customer"},{"title":"Atualizar cliente","href":"/sdks/api-sdks/docs/customers/update-customer"}]},{"group":"Sandbox","pages":[{"title":"Alterar status do antifraude","href":"/sdks/api-sdks/docs/sandbox/change-antifraud-status"},{"title":"Alterar status da cobrança","href":"/sdks/api-sdks/docs/sandbox/change-charge-status"},{"title":"Gerar cartão","href":"/sdks/api-sdks/docs/sandbox/generate-card"}]},{"group":"Sellers","pages":[{"title":"Criar recebedores","href":"/sdks/api-sdks/docs/sellers/create-seller"},{"title":"Buscar recebedor","href":"/sdks/api-sdks/docs/sellers/find-seller"},{"title":"Listar recebedores","href":"/sdks/api-sdks/docs/sellers/list-sellers"},{"title":"Remover recebedor","href":"/sdks/api-sdks/docs/sellers/remove-seller"},{"title":"Atualizar recebedor","href":"/sdks/api-sdks/docs/sellers/update-seller"}]},{"group":"Sessions","pages":[{"title":"Criar sessão","href":"/sdks/api-sdks/docs/sessions/create-session"},{"title":"Buscar sessão","href":"/sdks/api-sdks/docs/sessions/find-session"},{"title":"Listar sessões","href":"/sdks/api-sdks/docs/sessions/list-sessions"},{"title":"Cancelar sessão","href":"/sdks/api-sdks/docs/sessions/cancel-session"},{"title":"Desabilitar sessão","href":"/sdks/api-sdks/docs/sessions/disable-session"},{"title":"Habilitar sessão","href":"/sdks/api-sdks/docs/sessions/enable-session"}]},{"group":"Webhooks","pages":[{"title":"Verificar assinatura do evento","href":"/sdks/api-sdks/docs/webhooks/verify-event"}]}]},{"title":"Exemplos API SDKs","url":"https://github.com/plughacker/malga-node/tree/main/examples","href":"/sdks/api-sdks/examples"}]},{"group":"UI SDKs","pages":[{"title":"Começando em UI SDK's","sidebarTitle":"Introdução","href":"/sdks/intro-sdk"},{"group":"Checkout","pages":[{"title":"Checkout SDK em Javascript","sidebarTitle":"SDK JS","href":"/sdks/malga-checkout/js"},{"title":"SDK Angular.js","href":"/sdks/malga-checkout/angular"},{"title":"Malga Checkout SDK para React.js","sidebarTitle":"SDK React.js","href":"/sdks/malga-checkout/react"},{"title":"SDK Vue.js","href":"/sdks/malga-checkout/vue"}]},{"group":"Checkout Full","pages":[{"title":"Checkout Full SDK em Javascript","sidebarTitle":"SDK JS","href":"/sdks/malga-checkout-full/js"},{"title":"SDK Angular.js","href":"/sdks/malga-checkout-full/angular"},{"title":"SDK React.js","href":"/sdks/malga-checkout-full/react"},{"title":"SDK Vue.js","href":"/sdks/malga-checkout-full/vue"}]}]},{"group":"Plugins","pages":[{"title":"Conector Malga para lojas VTEX","sidebarTitle":"Conector VTEX","href":"/sdks/plugins/vtex-connector"}]}]},{"tab":"Referência da API","pages":[{"title":"Referência da API","href":"/api-reference/about-apis"}]},{"tab":"Analytics","pages":[{"title":"Analytics","href":"/analytics/intro"}]},{"tab":"Release Notes","pages":[{"title":"Release Notes","href":"/release-notes/2026-10-29-Release-Notes"}]}]},"basePath":"","title":"Criar cobrança com voucher - Malga","buildId":"dpl_GZsjphRpnhWkstV12jxWNcMHFyox","deploymentId":"dpl_GZsjphRpnhWkstV12jxWNcMHFyox","dynamics":["10e4515597"],"chunks":["BannerMarkdown-B2eHeXx_.js","dist-Dt1IougW.js","lib-DuNMoZ05.js","lib-B8HbPgcC.js","clsx-DptzKFCt.js","html-void-elements-mCSPHezU.js","katex-YMM-FMeD.js","marked.esm-CZWythHk.js"]}