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
Implemente um receiver de webhooks da Malga resiliente usando filas de mensagens AWS SQS para evitar timeouts e garantir processamento assíncrono.
Um erro comum ao integrar webhooks é colocar regras de negócio diretamente no endpoint que recebe os eventos. Isso aumenta o risco de timeouts e falhas de processamento, fazendo com que a Malga interprete a entrega como malsucedida e inicie reentregas desnecessárias.A abordagem recomendada é separar o recebimento do processamento: o endpoint apenas valida e enfileira o evento, e um worker separado consome a fila e executa a lógica de negócio.
O worker consome as mensagens da fila e executa as regras de negócio. Se o processamento falhar, a mensagem é retentada automaticamente pela fila e, após o número máximo de tentativas, encaminhada para a DLQ (Dead Letter Queue), garantindo que nenhum evento seja perdido silenciosamente.
DLQ nativa, fácil integração com outros serviços AWS
Google Cloud Pub/Sub
Gerenciado (cloud)
Suporte a múltiplos subscribers, retenção configurável
Azure Service Bus
Gerenciado (cloud)
Suporte a filas e tópicos, DLQ nativa
RabbitMQ
Self-hosted / gerenciado
Flexível, amplamente adotado, suporte a DLQ via dead-letter exchange
Redis (BullMQ / Sidekiq)
Self-hosted / gerenciado
Simples de operar, ideal para quem já usa Redis na stack
Was this page helpful?
{"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":""},"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":"6aee17dbc4d3884ebadf32e7","clientVersion":"0.0.4088","searchFilterCounts":[{"language":"default","tag":"Documentação","count":190},{"language":"default","tag":"Release Notes","count":176},{"language":"default","tag":"Referência da API","count":107},{"language":"default","tag":"SDKs","count":66},{"language":"default","tag":"Conexões","count":53},{"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":"documentations/webhooks/webhook-receiver-aws-sqs","slug":"/documentations/webhooks/webhook-receiver-aws-sqs","pageMetadata":{"title":"Recebendo webhooks com filas de mensagens","sidebarTitle":"Receiver com fila de mensagens","description":"Implemente um receiver de webhooks da Malga resiliente usando filas de mensagens AWS SQS para evitar timeouts e garantir processamento assíncrono.","href":"/documentations/webhooks/webhook-receiver-aws-sqs"},"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: \"Implemente um receiver de webhooks da Malga resiliente usando filas de mensagens AWS SQS para evitar timeouts e garantir processamento assíncrono.\"\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`,li:`li`,ol:`ol`,p:`p`,pre:`pre`,span:`span`,strong:`strong`,tbody:`tbody`,td:`td`,th:`th`,thead:`thead`,tr:`tr`,..._provideComponents(),...props.components},{CodeBlock,Heading,Table}=_components;if(!CodeBlock)_missingMdxReference(`CodeBlock`,true);if(!Heading)_missingMdxReference(`Heading`,true);if(!Table)_missingMdxReference(`Table`,true);return _jsxs(_Fragment,{children:[_jsx(_components.p,{children:`Um erro comum ao integrar webhooks é colocar regras de negócio diretamente no endpoint que recebe os eventos. Isso aumenta o risco de timeouts e falhas de processamento, fazendo com que a Malga interprete a entrega como malsucedida e inicie reentregas desnecessárias.`}),`\n`,_jsxs(_components.p,{children:[`A abordagem recomendada é separar o `,_jsx(_components.strong,{children:`recebimento`}),` do `,_jsx(_components.strong,{children:`processamento`}),`: o endpoint apenas valida e enfileira o evento, e um worker separado consome a fila e executa a lógica de negócio.`]}),`\n`,_jsx(Heading,{level:`2`,id:`arquitetura`,children:`Arquitetura`}),`\n`,_jsx(CodeBlock,{filename:``,numberOfLines:`4`,language:`text`,children:_jsx(_components.pre,{className:`shiki shiki-themes github-light-default dark-plus`,style:{backgroundColor:`#ffffff`,\"--shiki-dark-bg\":`#0B0C0E`,color:`#1f2328`,\"--shiki-dark\":`#D4D4D4`},language:`text`,children:_jsxs(_components.code,{language:`text`,numberOfLines:`4`,children:[_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{children:`Malga → seu endpoint (receiver) → fila → worker → sua lógica de negócio`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{children:` ↓ (em caso de falha)`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{children:` DLQ`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{})})]})})}),`\n`,_jsx(_components.p,{children:`O receiver deve:`}),`\n`,_jsxs(_components.ol,{children:[`\n`,_jsxs(_components.li,{children:[`Receber o `,_jsx(_components.code,{children:`POST`}),` da Malga`]}),`\n`,_jsxs(_components.li,{children:[`Verificar a assinatura do evento (veja `,_jsx(_components.a,{href:`/documentations/webhooks/webhook1-1#seguran%C3%A7a-webhook`,children:`Segurança Webhook`}),`)`]}),`\n`,_jsx(_components.li,{children:`Enfileirar o payload`}),`\n`,_jsxs(_components.li,{children:[`Retornar `,_jsx(_components.code,{children:`HTTP 200`}),` imediatamente`]}),`\n`]}),`\n`,_jsxs(_components.p,{children:[`O worker consome as mensagens da fila e executa as regras de negócio. Se o processamento falhar, a mensagem é retentada automaticamente pela fila e, após o número máximo de tentativas, encaminhada para a `,_jsx(_components.strong,{children:`DLQ (Dead Letter Queue)`}),`, garantindo que nenhum evento seja perdido silenciosamente.`]}),`\n`,_jsx(Heading,{level:`2`,id:`opções-de-fila`,children:`Opções de fila`}),`\n`,_jsxs(Table,{children:[_jsx(_components.thead,{children:_jsxs(_components.tr,{children:[_jsx(_components.th,{children:`Serviço`}),_jsx(_components.th,{children:`Tipo`}),_jsx(_components.th,{children:`Observações`})]})}),_jsxs(_components.tbody,{children:[_jsxs(_components.tr,{children:[_jsx(_components.td,{children:_jsx(_components.strong,{children:`AWS SQS`})}),_jsx(_components.td,{children:`Gerenciado (cloud)`}),_jsx(_components.td,{children:`DLQ nativa, fácil integração com outros serviços AWS`})]}),_jsxs(_components.tr,{children:[_jsx(_components.td,{children:_jsx(_components.strong,{children:`Google Cloud Pub/Sub`})}),_jsx(_components.td,{children:`Gerenciado (cloud)`}),_jsx(_components.td,{children:`Suporte a múltiplos subscribers, retenção configurável`})]}),_jsxs(_components.tr,{children:[_jsx(_components.td,{children:_jsx(_components.strong,{children:`Azure Service Bus`})}),_jsx(_components.td,{children:`Gerenciado (cloud)`}),_jsx(_components.td,{children:`Suporte a filas e tópicos, DLQ nativa`})]}),_jsxs(_components.tr,{children:[_jsx(_components.td,{children:_jsx(_components.strong,{children:`RabbitMQ`})}),_jsx(_components.td,{children:`Self-hosted / gerenciado`}),_jsx(_components.td,{children:`Flexível, amplamente adotado, suporte a DLQ via dead-letter exchange`})]}),_jsxs(_components.tr,{children:[_jsx(_components.td,{children:_jsx(_components.strong,{children:`Redis (BullMQ / Sidekiq)`})}),_jsx(_components.td,{children:`Self-hosted / gerenciado`}),_jsx(_components.td,{children:`Simples de operar, ideal para quem já usa Redis na stack`})]})]})]})]})}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":"Recebendo webhooks com filas de mensagens","sidebarTitle":"Receiver com fila de mensagens","description":"Implemente um receiver de webhooks da Malga resiliente usando filas de mensagens AWS SQS para evitar timeouts e garantir processamento assíncrono.","href":"/documentations/webhooks/webhook-receiver-aws-sqs"}}},"mdxSourceWithNoJs":null},"mdxExtracts":{"tableOfContents":[{"title":"Arquitetura","slug":"arquitetura","depth":2,"children":[]},{"title":"Opções de fila","slug":"opções-de-fila","depth":2,"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":"Recebendo webhooks com filas de mensagens - Malga","relatedPagesConfig":{"enabled":true,"limit":4,"mode":"automatic"},"navMaps":{"firstHrefInVersion":{},"firstHrefInLanguage":{}},"lastModified":"2026-07-10T15:30:12.573Z","originalFileLocation":"documentations/webhooks/webhook-receiver-aws-sqs.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=\"Implemente um receiver de webhooks da Malga resiliente usando filas de mensagens AWS SQS para evitar timeouts e garantir processamento assíncrono.\">\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=\"Recebendo webhooks com filas de mensagens - Malga\">\u003cmeta data-mint-head property=\"og:description\" content=\"Implemente um receiver de webhooks da Malga resiliente usando filas de mensagens AWS SQS para evitar timeouts e garantir processamento assíncrono.\">\u003cmeta data-mint-head property=\"og:site_name\" content=\"Malga Docs\">\u003cmeta data-mint-head property=\"og:url\" content=\"https://docs.malga.io/documentations/webhooks/webhook-receiver-aws-sqs\">\u003cmeta data-mint-head property=\"og:type\" content=\"website\">\u003cmeta data-mint-head property=\"og:image\" content=\"https://malga.mintlify.site/_mintlify/api/og/v2?division=Webhooks\u0026amp;title=Recebendo+webhooks+com+filas+de+mensagens\u0026amp;description=Implemente+um+receiver+de+webhooks+da+Malga+resiliente+usando+filas+de+mensagens+AWS+SQS+para+evitar+timeouts+e+garantir+processamento+ass%C3%ADncrono.\u0026amp;theme=0a64d774e3bd06ffb7acdfa7\u0026amp;signature=8f4666b174eecd4271fd300c50730b4ac59f1e293748c2acbae91e3f77dec431\">\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=\"Recebendo webhooks com filas de mensagens - Malga\">\u003cmeta data-mint-head name=\"twitter:description\" content=\"Implemente um receiver de webhooks da Malga resiliente usando filas de mensagens AWS SQS para evitar timeouts e garantir processamento assíncrono.\">\u003cmeta data-mint-head name=\"twitter:image\" content=\"https://malga.mintlify.site/_mintlify/api/og/v2?division=Webhooks\u0026amp;title=Recebendo+webhooks+com+filas+de+mensagens\u0026amp;description=Implemente+um+receiver+de+webhooks+da+Malga+resiliente+usando+filas+de+mensagens+AWS+SQS+para+evitar+timeouts+e+garantir+processamento+ass%C3%ADncrono.\u0026amp;theme=0a64d774e3bd06ffb7acdfa7\u0026amp;signature=8f4666b174eecd4271fd300c50730b4ac59f1e293748c2acbae91e3f77dec431\">\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/documentations/webhooks/webhook-receiver-aws-sqs\">\u003clink data-mint-head rel=\"alternate\" type=\"application/xml\" href=\"/sitemap.xml\">\u003clink data-mint-head rel=\"alternate\" type=\"text/markdown\" href=\"/documentations/webhooks/webhook-receiver-aws-sqs.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/documentations/webhooks/webhook-receiver-aws-sqs#webpage\",\"url\":\"https://docs.malga.io/documentations/webhooks/webhook-receiver-aws-sqs\",\"name\":\"Recebendo webhooks com filas de mensagens\",\"description\":\"Implemente um receiver de webhooks da Malga resiliente usando filas de mensagens AWS SQS para evitar timeouts e garantir processamento assíncrono.\",\"dateModified\":\"2026-07-10T15:30:12.573Z\",\"isPartOf\":{\"@id\":\"https://docs.malga.io#website\"},\"breadcrumb\":{\"@id\":\"https://docs.malga.io/documentations/webhooks/webhook-receiver-aws-sqs#breadcrumb\"}},{\"@type\":\"BreadcrumbList\",\"@id\":\"https://docs.malga.io/documentations/webhooks/webhook-receiver-aws-sqs#breadcrumb\",\"itemListElement\":[{\"@type\":\"ListItem\",\"position\":1,\"name\":\"Guias\",\"item\":\"https://docs.malga.io/documentations/more/idempotency\"},{\"@type\":\"ListItem\",\"position\":2,\"name\":\"Webhooks\",\"item\":\"https://docs.malga.io/documentations/webhooks/webhook1-1\"},{\"@type\":\"ListItem\",\"position\":3,\"name\":\"Recebendo webhooks com filas de mensagens\",\"item\":\"https://docs.malga.io/documentations/webhooks/webhook-receiver-aws-sqs\"}]},{\"@type\":[\"Article\",\"TechArticle\"],\"@id\":\"https://docs.malga.io/documentations/webhooks/webhook-receiver-aws-sqs#article\",\"headline\":\"Recebendo webhooks com filas de mensagens\",\"name\":\"Recebendo webhooks com filas de mensagens\",\"description\":\"Implemente um receiver de webhooks da Malga resiliente usando filas de mensagens AWS SQS para evitar timeouts e garantir processamento assíncrono.\",\"url\":\"https://docs.malga.io/documentations/webhooks/webhook-receiver-aws-sqs\",\"mainEntityOfPage\":{\"@id\":\"https://docs.malga.io/documentations/webhooks/webhook-receiver-aws-sqs#webpage\"},\"dateModified\":\"2026-07-10T15:30:12.573Z\",\"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","groups":[{"group":"Comece na Malga","pages":[{"group":"Introdução","pages":[{"title":"Sobre a Malga","href":"/documentations/welcome/introduction"},{"title":"Sobre o produto","href":"/documentations/welcome/about-the-product"}]},{"title":"Primeiros passos","href":"/documentations/welcome/primeiros-passos"},{"title":"Autentique-se com a Malga","sidebarTitle":"Autenticação","href":"/documentations/welcome/authentication"},{"group":"Teste sua integração","pages":[{"title":"Guia de teste","href":"/documentations/welcome/testing"},{"group":"Tratamento de erros","pages":[{"title":"Tratamento de erros na integração","sidebarTitle":"Visão geral","href":"/documentations/welcome/errors"},{"title":"Erros da API de Charges","sidebarTitle":"Charges","href":"/documentations/welcome/errors-charges"},{"title":"Erros da API de Purchases","sidebarTitle":"Purchases","href":"/documentations/welcome/errors-purchases"},{"title":"Erros recebidos por webhook","sidebarTitle":"Webhooks","href":"/documentations/welcome/errors-webhooks"}]}]},{"title":"Ativando sua conta","href":"/documentations/welcome/activating-account"}]},{"group":"Conexões","pages":[{"group":"Métodos de pagamento","pages":[{"title":"Começando em meios de pagamento","sidebarTitle":"Introdução","href":"/documentations/payment-methods/intro"},{"title":"Pagamentos com cartão de crédito na Malga","sidebarTitle":"Cartão de crédito","href":"/documentations/payment-methods/credit-card"},{"title":"Múltiplos cartões","href":"/documentations/payment-methods/multiple-cards"},{"title":"Pagamentos com boleto bancário na Malga","sidebarTitle":"Boleto","href":"/documentations/payment-methods/boleto"},{"title":"Pagamentos instantâneos com Pix na Malga","sidebarTitle":"Pix","href":"/documentations/payment-methods/pix"},{"title":"NuPay","href":"/documentations/payment-methods/nupay"},{"title":"PicPay","href":"/documentations/payment-methods/picpay"},{"title":"Drip","href":"/documentations/payment-methods/drip"},{"title":"Voucher","href":"/documentations/payment-methods/voucher"},{"group":"Click to Pay","pages":[{"title":"Começando em Click to Pay","sidebarTitle":"Introdução","href":"/documentations/payment-methods/click-to-pay/intro"},{"title":"Link de Pagamento com Click to Pay","sidebarTitle":"Link de Pagamento","href":"/documentations/payment-methods/click-to-pay/link-de-pagamento"},{"title":"Integração via API de Cobranças com Click to Pay","sidebarTitle":"Integração via API de Cobranças","href":"/documentations/payment-methods/click-to-pay/integracao-api-charges"}]},{"group":"Apple Pay","pages":[{"title":"Começando em ApplePay","sidebarTitle":"Introdução","href":"/documentations/payment-methods/apple-pay/intro"},{"title":"Guia de integração","href":"/documentations/payment-methods/apple-pay/getting-started"},{"title":"Configuração de certificados","href":"/documentations/payment-methods/apple-pay/certificates-setup"}]},{"group":"Google Pay","pages":[{"title":"Começando em Google Pay","sidebarTitle":"Introdução","href":"/documentations/payment-methods/google-pay/intro"},{"title":"Guia de integração","href":"/documentations/payment-methods/google-pay/getting-started"},{"title":"Configurando o Google Pay","sidebarTitle":"Configuração do lojista","href":"/documentations/payment-methods/google-pay/configurando-google-pay"},{"title":"Google Pay™ integration with Malga","sidebarTitle":"Google Pay™ Integration (English)","href":"/documentations/payment-methods/google-pay/en/google-pay-integration"}]}]},{"group":"Provedores de pagamento","pages":[{"title":"Métodos de pagamento suportados por provedor","sidebarTitle":"Introdução","href":"/documentations/type-tables/payment-methods-by-providers"},{"title":"Sandbox","href":"/documentations/providers/sandbox"},{"title":"Adyen","href":"/documentations/providers/adyen"},{"title":"Banrisul","href":"/documentations/providers/banrisul"},{"title":"Barte","href":"/documentations/providers/barte"},{"title":"Banco do Brasil","href":"/documentations/providers/banco-do-brasil"},{"title":"Bolt","href":"/documentations/providers/bolt"},{"title":"Braintree","href":"/documentations/providers/braintree"},{"title":"Braspag","tag":"BETA","href":"/documentations/providers/braspag"},{"title":"BS2","href":"/documentations/providers/bs2"},{"title":"Cielo","href":"/documentations/providers/cielo"},{"title":"Drip","href":"/documentations/providers/drip"},{"title":"Getnet SEP","href":"/documentations/providers/getnet-sep"},{"title":"Itaú","href":"/documentations/providers/itau"},{"title":"Klap","href":"/documentations/providers/klap"},{"title":"Malga","href":"/documentations/providers/malga"},{"title":"MapInvest","href":"/documentations/providers/mapinvest"},{"title":"Mercado Pago","href":"/documentations/providers/mercado-pago"},{"title":"NuPay","href":"/documentations/providers/nupay"},{"title":"Pagar.me v5","href":"/documentations/providers/pagarme-v5"},{"title":"PagSeguro","href":"/documentations/providers/pagseguro"},{"title":"PicPay","href":"/documentations/providers/picpay"},{"title":"PayPal","href":"/documentations/providers/paypal"},{"title":"Rede","href":"/documentations/providers/rede"},{"title":"SafraPay","href":"/documentations/providers/safrapay"},{"title":"Stripe","href":"/documentations/providers/stripe"},{"title":"VR","href":"/documentations/providers/vr"},{"title":"WorldPay","href":"/documentations/providers/worldpay"},{"title":"Zoop","href":"/documentations/providers/zoop"}]},{"group":"Provedores de antifraude","pages":[{"title":"Provedores de antifraude suportados pela Malga","sidebarTitle":"Introdução","href":"/documentations/type-tables/antifraude-providers"},{"title":"ClearSale","href":"/documentations/providers-antifraud/clearsale"},{"title":"B2E","href":"/documentations/providers-antifraud/b2e"},{"title":"Konduto","href":"/documentations/providers-antifraud/konduto"},{"title":"Koin","href":"/documentations/providers-antifraud/koin"}]}]},{"group":"Guias","pages":[{"title":"Idempotência","href":"/documentations/more/idempotency"},{"title":"Limite de falhas no estorno","href":"/documentations/more/limite-falhas-estorno"},{"group":"Tokenização e validação de cartão","pages":[{"title":"Serviço de Tokenização da Malga","sidebarTitle":"Introdução","href":"/documentations/tokenization/intro"},{"title":"Migração de cartões","href":"/documentations/tokenization/card-migrations"},{"title":"Token CVV","href":"/documentations/tokenization/token-cvv"},{"title":"Validação de cartões com zero dollar","sidebarTitle":"Validação de Cartões","href":"/documentations/tokenization/zero-dollar"},{"title":"Tokenização de Bandeira","href":"/documentations/tokenization/network-tokens"}]},{"group":"Fluxos Inteligentes","pages":[{"title":"Começando em fluxos inteligentes","sidebarTitle":"Introdução","href":"/documentations/flow-guide/introduction"},{"title":"Fluxos Inteligentes no Dashboard Malga","sidebarTitle":"Fluxos no Dashboard","href":"/documentations/flow-guide/flow-dash"},{"title":"Visualizando o fluxo","sidebarTitle":"Visualização","href":"/documentations/flow-guide/visualization"},{"title":"Começando um novo fluxo","sidebarTitle":"Criando fluxo","href":"/documentations/flow-guide/new"},{"title":"Utilizando condicionais","sidebarTitle":"Condicionais","href":"/documentations/flow-guide/conditional"},{"title":"Histórico de fluxos","sidebarTitle":"Histórico","href":"/documentations/flow-guide/historic"},{"title":"Editando Fluxo","href":"/documentations/flow-guide/editing"},{"title":"Validação e publicação","href":"/documentations/flow-guide/validation"},{"title":"Exemplos de uso","sidebarTitle":"Exemplos","href":"/documentations/flow-guide/examples"},{"title":"Tratamento de erros nos Fluxos inteligentes","sidebarTitle":"Tratamento de erros","href":"/documentations/flow-guide/errors"}]},{"group":"Dashboard","pages":[{"title":"Navegação por empresa e subcontas","href":"/documentations/dashboard/context-selector"},{"title":"Gestão de Cobranças","href":"/documentations/dashboard/charge-details"},{"title":"Usuários e perfis de permissão no Dashboard Malga","sidebarTitle":"Usuários e Permissões","href":"/documentations/dashboard/users"},{"title":"Exportando dados através do Dashboard","sidebarTitle":"Exportando dados","href":"/documentations/dashboard/export-data"},{"group":"Relatórios","pages":[{"title":"Relatório simples (pelo último status da cobrança)","sidebarTitle":"Simples","href":"/documentations/dashboard/simple-report"},{"title":"Relatório completo com histórico de operações das cobranças","sidebarTitle":"Completo","href":"/documentations/dashboard/full-report"},{"title":"Relatório de Parcelas (agenda de recebíveis por parcela)","sidebarTitle":"Parcelas","href":"/relatorio-de-parcelas-agenda-de-recebiveis-por-parcela"},{"title":"Relatório de Repasses (detalhe por transação do lote)","sidebarTitle":"Repasses","href":"/relatorio-de-repasses-detalhe-por-transacao-do-lote"},{"title":"Resumo de repasses (consolidado por lote)","sidebarTitle":"Resumo de repasses","href":"/resumo-de-repasses-consolidado-por-lote"}]},{"title":"Gerenciar subcontas no Dashboard Malga","sidebarTitle":"Subcontas","href":"/documentations/dashboard/merchants"},{"group":"Painel de dados","pages":[{"title":"Começando em Painel de Dados","sidebarTitle":"Introdução","href":"/documentations/dashboard/insights/intro"},{"title":"Visão geral","href":"/documentations/dashboard/insights/overview"},{"title":"Performance","href":"/documentations/dashboard/insights/performance"}]},{"group":"Financeiro","pages":[{"title":"Financeiro","sidebarTitle":"Introdução","href":"/documentations/dashboard/financeiro/intro"},{"title":"Repasses","sidebarTitle":"Repasses","href":"/documentations/dashboard/financeiro/payouts"},{"title":"Extrato","sidebarTitle":"Extrato","href":"/documentations/dashboard/financeiro/statement"}]}]},{"group":"Link de Pagamento","pages":[{"title":"Introdução aos Links de Pagamento da Malga","sidebarTitle":"Introdução","href":"/documentations/payment-link/intro"},{"group":"Criação","pages":[{"title":"Criando Links via API","href":"/documentations/payment-link/create-link-using-api"},{"title":"Criando Links via Dashboard","href":"/documentations/payment-link/create-link-using-dashboard"}]},{"title":"Tema personalizado para o Link","sidebarTitle":"Customização","href":"/documentations/payment-link/set-up-custom-theme-link"},{"title":"Split no Link de Pagamentos","sidebarTitle":"Split de Pagamentos","href":"/documentations/payment-link/split"},{"title":"3DS2 Agnóstico no Link de Pagamento","sidebarTitle":"3DS2 Agnóstico","href":"/documentations/payment-link/3ds2"}]},{"group":"Webhooks","pages":[{"title":"Webhooks v1.1: notificações de eventos da Malga","sidebarTitle":"v1.1","href":"/documentations/webhooks/webhook1-1"},{"title":"Webhooks v1.0 (obsoleto)","sidebarTitle":"v1.0 (obsoleto)","description":"Documentação da versão 1.0 (obsoleta) dos webhooks da Malga, com o fluxo para registrar endpoints e receber notificações de eventos como status de cobranças.","href":"/documentations/webhooks/webhook1-0"},{"title":"Recebendo webhooks com filas de mensagens","sidebarTitle":"Receiver com fila de mensagens","href":"/documentations/webhooks/webhook-receiver-aws-sqs"}]},{"group":"Tabela de tipos","pages":[{"title":"Tabela de DeclinedCode da Malga","description":"Tabela com os códigos de recusa (declinedCode) retornados pela Malga, suas mensagens, retentabilidade e orientação ABECS para cada caso.","href":"/documentations/type-tables/declined-code"},{"title":"Tabela de códigos MCC","href":"/documentations/type-tables/mcc-code"},{"title":"Tabela tipos de moedas aceitas","href":"/documentations/type-tables/currency-not-supportted"},{"title":"Tipos de documento de Customer por país","href":"/documentations/type-tables/customer-document-by-country"},{"title":"Tabela de códigos COMPE dos principais bancos","href":"/documentations/type-tables/main-banks"}]}]},{"group":"Serviços adicionais","pages":[{"title":"Antecipação avulsa","tag":"BETA","href":"/documentations/more/prepayment"},{"group":"Antifraude","pages":[{"title":"Começando em Antifraude","sidebarTitle":"Introdução","href":"/documentations/anti-fraud/intro"},{"title":"Testando em Sandbox","sidebarTitle":"Testando","href":"/documentations/anti-fraud/testing"},{"title":"Fluxo do Antifraude Síncrono","sidebarTitle":"Antifraudes Síncronos","href":"/documentations/anti-fraud/sync-anti-fraud"},{"title":"Fluxo do Antifraude Assíncrono","sidebarTitle":"Antifraudes Assíncronos","href":"/documentations/anti-fraud/async-anti-fraud"},{"title":"Fluxo de Feeding","sidebarTitle":"Feeding","href":"/documentations/anti-fraud/feeding-anti-fraud"},{"title":"Malga Checkout","href":"/documentations/anti-fraud/malga-checkout"}]},{"group":"Split de pagamentos","pages":[{"title":"Começando em Split de pagamentos","sidebarTitle":"Introdução","href":"/documentations/split/intro"},{"title":"Cadastrar e gerenciar recebedores (sellers) para Split","sidebarTitle":"Gerenciar Recebedores","href":"/documentations/split/seller"},{"title":"Revisão cadastral de recebedores","sidebarTitle":"Revisão Cadastral","href":"/documentations/split/revisao-cadastral"},{"title":"Cobrança com Split","href":"/documentations/split/split"},{"title":"Split em sessão ou link de pagamento","sidebarTitle":"Split em sessão/link","href":"/documentations/split/split-em-sessao-link"},{"title":"Taxa da plataforma (platform-fee) no split","sidebarTitle":"Taxa da plataforma","href":"/documentations/split/platform-fee"}]},{"group":"Facilitadores de pagamento","pages":[{"title":"Começando em Vendors","sidebarTitle":"Introdução","href":"/documentations/vendors/intro"},{"title":"Provedores suportados no serviço de Vendors","href":"/documentations/vendors/provedores"}]},{"group":"3DS nativo","pages":[{"title":"Começando em 3DS2","sidebarTitle":"Introdução","href":"/documentations/3dsecure2-adyen/intro"},{"title":"Como funciona o 3D Secure 2","sidebarTitle":"Cobrança com 3DS2","href":"/documentations/3dsecure2-adyen/charge"}]},{"group":"3DS2 - Malga","pages":[{"title":"Começando em 3DS2 Malga","sidebarTitle":"Introdução","href":"/documentations/3ds2-malga/intro"},{"group":"Getting started","pages":[{"title":"Pré-requisitos e configurações","href":"/documentations/3ds2-malga/3ds-malga/pre-requisitos-configuracao"},{"title":"Criando uma transação","href":"/documentations/3ds2-malga/3ds-malga/transacao-3ds2-na-malga"},{"title":"Exemplo prático","tag":"DEMO","href":"/documentations/3ds2-malga/3ds-malga/exemplo-pratico"},{"title":"Testando 3DS Malga no Sandbox","href":"/documentations/3ds2-malga/3ds-malga/testes-sandbox"},{"title":"Principais erros na autenticação 3DS da Malga","sidebarTitle":"Principais erros","href":"/documentations/3ds2-malga/3ds-malga/principais-erros"},{"title":"Configurar a Content Security Policy (CSP) para o 3DS2","sidebarTitle":"Allowlist da CSP","href":"/documentations/3ds2-malga/3ds-malga/urls-liberacao"}]},{"title":"3DS Data Only","href":"/documentations/3ds2-malga/3ds-data-only"},{"title":"3DS com autenticador externo (MPI)","href":"/documentations/3ds2-malga/3ds-mpi-externo"},{"title":"Glossário 3DS","href":"/documentations/3ds2-malga/glossario-3ds"}]},{"group":"Recorrência","pages":[{"title":"Introdução","href":"/documentations/more/recurrence/intro"},{"title":"Recorrência do provedor","href":"/documentations/more/recurrence/charges"},{"group":"Motor de Assinaturas","icon":"flask-vial","pages":[{"title":"Introdução","href":"/documentations/more/recurrence/engine"},{"title":"Integração","href":"/documentations/more/recurrence/engine/getting-started"},{"title":"Cobrança instantânea","href":"/documentations/more/recurrence/engine/instant-payment"},{"title":"Gerenciando suas assinaturas","href":"/documentations/more/recurrence/engine/managing"},{"title":"Cancelamento Agendado","href":"/documentations/more/recurrence/engine/scheduled-cancellation"},{"title":"Trial","href":"/documentations/more/recurrence/engine/trial-system"},{"title":"Configurações","href":"/documentations/more/recurrence/engine/client-settings"},{"title":"Webhooks","href":"/documentations/more/recurrence/engine/webhooks"}]}]},{"title":"Sessões","href":"/documentations/more/sessions"}]}]},{"tab":"SDKs","pages":[{"title":"SDKs","href":"/sdks/tokenization/v2/intro"}]},{"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":"Recebendo webhooks com filas de mensagens - Malga","buildId":"dpl_DTau1J5HqS9UTgVSDwGksstFWtPa","deploymentId":"dpl_DTau1J5HqS9UTgVSDwGksstFWtPa","dynamics":["10e4515597"],"chunks":["BannerMarkdown-Cj6eAYhz.js","dist-CdrJecqK.js","lib-DuNMoZ05.js","lib-B8HbPgcC.js","clsx-D-TRO5q5.js","html-void-elements-mCSPHezU.js","katex-YMM-FMeD.js","marked.esm-CZWythHk.js"]}