{"_id":"@abacatepay/adapters","_rev":"7-338dbaeb9619e6a16b70737b783042ca","name":"@abacatepay/adapters","dist-tags":{"latest":"2.0.3"},"versions":{"1.0.0":{"name":"@abacatepay/adapters","version":"1.0.0","keywords":["abacatepay","payments","webhooks","checkouts","adapters"],"license":"Apache-2.0","_id":"@abacatepay/adapters@1.0.0","maintainers":[{"name":"albuquerquesz","email":"albq.victor@gmail.com"},{"name":"bolodissenouraa","email":"daniel@abacatepay.com"},{"name":"escoteiros","email":"accounts@eualmeida.com.br"}],"homepage":"https://github.com/almeidazs/ecosystem#readme","bugs":{"url":"https://github.com/almeidazs/ecosystem/issues"},"dist":{"shasum":"8330daa6aab403fca0f695fabfdd45861154eb13","tarball":"https://registry.npmjs.org/@abacatepay/adapters/-/adapters-1.0.0.tgz","fileCount":13,"integrity":"sha512-dEF0LToA27/weq88T5dBnxrjKkR5KTWGWVq0sl5pHzSK62L3rALn4LTQ2A5D0HoolptFwGaZEGi64+TXJ4ITcA==","signatures":[{"sig":"MEUCIQDhzTH2CBJemVmowJwgscAWvNv4q4yLRkpc7/Dn33cXSQIgHJndpwBlj9aCGlnlBEWm0SsV8yyCqt/Sed49PruL4rY=","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"unpackedSize":4558},"main":"./dist/index.js","type":"module","types":"./dist/index.d.ts","engines":{"bun":">=1.0.0","node":">=18"},"exports":{"./webhooks":{"types":"./dist/webhooks/index.d.ts","import":"./dist/webhooks/index.js"},"./webhooks/*":{"types":"./dist/webhooks/*.d.ts","import":"./dist/webhooks/*.js"}},"gitHead":"cf029134f9a12bd6cbfe2cd863bce7483fb76db2","scripts":{"test":"bun test","build":"rm -rf dist && bun run scripts/version.ts && tsc","types":"bunx tsc --emitDeclarationOnly","prepublishOnly":"bun run build"},"_npmUser":{"name":"escoteiros","email":"accounts@eualmeida.com.br"},"repository":{"url":"git+https://github.com/almeidazs/ecosystem.git","type":"git"},"_npmVersion":"11.6.2","description":"Checkout and webhook adapters for AbacatePay.","directories":{},"sideEffects":false,"_nodeVersion":"24.12.0","dependencies":{"@abacatepay/zod":"^1.0.0"},"publishConfig":{"access":"public"},"_hasShrinkwrap":false,"devDependencies":{"typescript":"^5.0.0","@biomejs/biome":"^2.3.11"},"_npmOperationalInternal":{"tmp":"tmp/adapters_1.0.0_1769344031578_0.7596771646786593","host":"s3://npm-registry-packages-npm-production"}},"1.0.1":{"name":"@abacatepay/adapters","version":"1.0.1","keywords":["abacatepay","payments","webhooks","checkouts","adapters"],"license":"Apache-2.0","_id":"@abacatepay/adapters@1.0.1","maintainers":[{"name":"albuquerquesz","email":"albq.victor@gmail.com"},{"name":"bolodissenouraa","email":"daniel@abacatepay.com"},{"name":"escoteiros","email":"accounts@eualmeida.com.br"}],"homepage":"https://github.com/almeidazs/ecosystem#readme","bugs":{"url":"https://github.com/almeidazs/ecosystem/issues"},"dist":{"shasum":"8ce61105dcc2f9b7cae6dc9e40faceb687658b10","tarball":"https://registry.npmjs.org/@abacatepay/adapters/-/adapters-1.0.1.tgz","fileCount":14,"integrity":"sha512-FxnTqsSXgRu4imh66wHEiMga40g9giXyagCF6lQOwUI4ZDkfPUWh+gJOYBRU64TjIzOcJ4JFCAMRSbikMNEbGQ==","signatures":[{"sig":"MEUCIDJ1Cdg8usNeCyGyDxuUD7VBLRvMu6PxH65F7XX0ovkoAiEA8rMf6Xrtff9rzv2pJJjQTC6ed8SoRMp3+mWdGcL7kvI=","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"unpackedSize":6899},"main":"./dist/index.js","type":"module","types":"./dist/index.d.ts","engines":{"bun":">=1.0.0","node":">=18"},"exports":{"./webhooks":{"types":"./dist/webhooks/index.d.ts","import":"./dist/webhooks/index.js"},"./webhooks/*":{"types":"./dist/webhooks/*.d.ts","import":"./dist/webhooks/*.js"}},"gitHead":"581d272e81fd9c682cf8c094fcae833f90744a92","scripts":{"test":"bun test","build":"rm -rf dist && bun run scripts/version.ts && tsc","types":"bunx tsc --emitDeclarationOnly","prepublishOnly":"bun run build"},"_npmUser":{"name":"escoteiros","email":"accounts@eualmeida.com.br"},"repository":{"url":"git+https://github.com/almeidazs/ecosystem.git","type":"git"},"_npmVersion":"11.6.2","description":"Checkout and webhook adapters for AbacatePay.","directories":{},"sideEffects":false,"_nodeVersion":"24.12.0","dependencies":{"@abacatepay/zod":"^1.0.0"},"publishConfig":{"access":"public"},"_hasShrinkwrap":false,"devDependencies":{"typescript":"^5.0.0","@biomejs/biome":"^2.3.11"},"_npmOperationalInternal":{"tmp":"tmp/adapters_1.0.1_1769344166874_0.5881344598400826","host":"s3://npm-registry-packages-npm-production"}},"1.0.2":{"name":"@abacatepay/adapters","version":"1.0.2","keywords":["abacatepay","payments","webhooks","checkouts","adapters"],"author":{"url":"https://abacatepay.com","name":"AbacatePay","email":"opensource@abacatepay.com"},"license":"Apache-2.0","_id":"@abacatepay/adapters@1.0.2","maintainers":[{"name":"albuquerquesz","email":"albq.victor@gmail.com"},{"name":"bolodissenouraa","email":"daniel@abacatepay.com"},{"name":"escoteiros","email":"accounts@eualmeida.com.br"}],"homepage":"https://github.com/AbacatePay/ecosystem#readme","bugs":{"url":"https://github.com/AbacatePay/ecosystem/issues"},"dist":{"shasum":"1eb28155b4489f47e5c371fdd4f27d2bb0f3d4ca","tarball":"https://registry.npmjs.org/@abacatepay/adapters/-/adapters-1.0.2.tgz","fileCount":14,"integrity":"sha512-N0Ijs7fn1Qt4sm7/kfiRC9/1d31qwZrC1aEoTAGvL8ZGknU7NjQh8KVHlHG8Ipk1ulL3W1WhKMm5imucrSUXDA==","signatures":[{"sig":"MEYCIQDuaGpIPO/BG1o6z86ftyfgDZIxbaKiuZ0nE3S296LEYAIhAI2TNiUY8ATmoko4Y+FUBitXlFS3n64xrDCVcsN6O0FJ","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"unpackedSize":7116},"main":"./dist/index.js","type":"module","types":"./dist/index.d.ts","engines":{"bun":">=1.0.0","node":">=18"},"exports":{"./webhooks":{"types":"./dist/webhooks/index.d.ts","import":"./dist/webhooks/index.js"},"./webhooks/*":{"types":"./dist/webhooks/*.d.ts","import":"./dist/webhooks/*.js"}},"gitHead":"13afd30512a1a10c157aee42af154d3b350bc65f","scripts":{"test":"bun test","build":"rm -rf dist && bun run scripts/version.ts && tsc","types":"bunx tsc --emitDeclarationOnly","prepublishOnly":"bun run build"},"_npmUser":{"name":"escoteiros","email":"accounts@eualmeida.com.br"},"repository":{"url":"git+https://github.com/AbacatePay/ecosystem.git","type":"git"},"_npmVersion":"11.6.2","description":"Checkout and webhook adapters for AbacatePay.","directories":{},"sideEffects":false,"_nodeVersion":"24.12.0","dependencies":{"@abacatepay/zod":"^1.0.0"},"publishConfig":{"access":"public"},"_hasShrinkwrap":false,"devDependencies":{"typescript":"^5.0.0","@biomejs/biome":"^2.3.11"},"_npmOperationalInternal":{"tmp":"tmp/adapters_1.0.2_1769436771902_0.35195793980264467","host":"s3://npm-registry-packages-npm-production"}},"2.0.0":{"name":"@abacatepay/adapters","version":"2.0.0","keywords":["abacatepay","payments","webhooks","checkouts","adapters"],"author":{"url":"https://abacatepay.com","name":"AbacatePay","email":"opensource@abacatepay.com"},"license":"Apache-2.0","_id":"@abacatepay/adapters@2.0.0","maintainers":[{"name":"albuquerquesz","email":"albq.victor@gmail.com"},{"name":"bolodissenouraa","email":"daniel@abacatepay.com"},{"name":"escoteiros","email":"ajuda@abacatepay.com"}],"homepage":"https://github.com/AbacatePay/ecosystem#readme","bugs":{"url":"https://github.com/AbacatePay/ecosystem/issues"},"dist":{"shasum":"16d2f0582fe0d80ead0672d55dc67c5205f3d43f","tarball":"https://registry.npmjs.org/@abacatepay/adapters/-/adapters-2.0.0.tgz","fileCount":14,"integrity":"sha512-4leKsTy+NqjP815NPhGGX0UJaXrAWfp1SmHm+RAqutbWt2w5g0EL6f+dsbgU5YpWzhwuHEaPIUBHS7c+XMuAZg==","signatures":[{"sig":"MEQCIGZw9Zb9YsswMyzHWZ7/Py2mqri2SL7FkAc+yXHba6c7AiAWbLEbPWWFSkE5iBHRy1iArPF2WqWRn9upWZXOwpGVlA==","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"unpackedSize":11577},"main":"./dist/index.js","type":"module","types":"./dist/index.d.ts","engines":{"bun":">=1.0.0","node":">=18"},"exports":{"./webhooks":{"types":"./dist/webhooks/index.d.ts","import":"./dist/webhooks/index.js"},"./webhooks/*":{"types":"./dist/webhooks/*.d.ts","import":"./dist/webhooks/*.js"}},"gitHead":"2dc44ef4789adc69e81f94a8e459cc85fd76668c","scripts":{"test":"bun test","build":"rm -rf dist && bun run scripts/version.ts && tsc","types":"bunx tsc --emitDeclarationOnly","prepublishOnly":"bun run build"},"_npmUser":{"name":"escoteiros","email":"ajuda@abacatepay.com"},"repository":{"url":"git+https://github.com/AbacatePay/ecosystem.git","type":"git"},"_npmVersion":"11.8.0","description":"Checkout and webhook adapters for AbacatePay.","directories":{},"sideEffects":false,"_nodeVersion":"24.13.1","dependencies":{"@abacatepay/zod":"^2.0.0"},"publishConfig":{"access":"public"},"_hasShrinkwrap":false,"devDependencies":{"typescript":"^5.0.0","@biomejs/biome":"^2.3.11"},"_npmOperationalInternal":{"tmp":"tmp/adapters_2.0.0_1785159293639_0.2436886411640682","host":"s3://npm-registry-packages-npm-production"}},"2.0.1":{"name":"@abacatepay/adapters","version":"2.0.1","keywords":["abacatepay","payments","webhooks","checkouts","adapters"],"author":{"url":"https://abacatepay.com","name":"AbacatePay","email":"opensource@abacatepay.com"},"license":"Apache-2.0","_id":"@abacatepay/adapters@2.0.1","maintainers":[{"name":"albuquerquesz","email":"albq.victor@gmail.com"},{"name":"bolodissenouraa","email":"daniel@abacatepay.com"},{"name":"escoteiros","email":"ajuda@abacatepay.com"}],"homepage":"https://github.com/AbacatePay/ecosystem#readme","bugs":{"url":"https://github.com/AbacatePay/ecosystem/issues"},"dist":{"shasum":"bc9bfac1d76410fe88d5af99db07eb31de9626c2","tarball":"https://registry.npmjs.org/@abacatepay/adapters/-/adapters-2.0.1.tgz","fileCount":10,"integrity":"sha512-uJ/WNNFuAGzOQj0Vcpm96A5+qAb4kYrPcYfHrJQlaBXv0aKgGDw2FH2v5aC0oNVJnxYMnpePEV6aiSrvZPhRoQ==","signatures":[{"sig":"MEQCIG1/KGFa4bIIQt4JGzuPY4ccnmxSdZ0AbypVS0ag1AtMAiBnr4/e7mF0sSWDLZwF7ob0oKOto3zMDjt+t+iZ5uRLeQ==","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"unpackedSize":488411},"main":"./dist/index.js","type":"module","types":"./dist/index.d.ts","engines":{"bun":">=1.0.0","node":">=18"},"exports":{"./webhooks":{"types":"./dist/webhooks/index.d.ts","import":"./dist/webhooks/index.js"},"./webhooks/*":{"types":"./dist/webhooks/*.d.ts","import":"./dist/webhooks/*.js"}},"gitHead":"ff4bbae0210c3eb16826c4f3f3f8d9c1953031ad","scripts":{"test":"bun test","build":"rm -rf dist && bun run scripts/version.ts && bun build src/index.ts src/webhooks/index.ts --outdir dist --target node && bun run types","types":"bunx tsc --emitDeclarationOnly","prepublishOnly":"bun run build"},"_npmUser":{"name":"escoteiros","email":"ajuda@abacatepay.com"},"repository":{"url":"git+https://github.com/AbacatePay/ecosystem.git","type":"git"},"_npmVersion":"11.8.0","description":"Checkout and webhook adapters for AbacatePay.","directories":{},"sideEffects":false,"_nodeVersion":"24.13.1","dependencies":{"@abacatepay/zod":"^2.0.0"},"publishConfig":{"access":"public"},"_hasShrinkwrap":false,"devDependencies":{"typescript":"^5.0.0","@biomejs/biome":"^2.3.11"},"_npmOperationalInternal":{"tmp":"tmp/adapters_2.0.1_1785173886714_0.6258613387064964","host":"s3://npm-registry-packages-npm-production"}},"2.0.2":{"name":"@abacatepay/adapters","version":"2.0.2","keywords":["abacatepay","payments","webhooks","checkouts","adapters"],"author":{"url":"https://abacatepay.com","name":"AbacatePay","email":"opensource@abacatepay.com"},"license":"Apache-2.0","_id":"@abacatepay/adapters@2.0.2","maintainers":[{"name":"albuquerquesz","email":"albq.victor@gmail.com"},{"name":"bolodissenouraa","email":"daniel@abacatepay.com"},{"name":"escoteiros","email":"ajuda@abacatepay.com"}],"homepage":"https://github.com/AbacatePay/ecosystem#readme","bugs":{"url":"https://github.com/AbacatePay/ecosystem/issues"},"dist":{"shasum":"c9d4e6923437517d583985dc87a1434083cb53a2","tarball":"https://registry.npmjs.org/@abacatepay/adapters/-/adapters-2.0.2.tgz","fileCount":11,"integrity":"sha512-DyRogz6QtfEHxO1TCrzB45Hs/z+GcHvk8EDNFZm3W9pDyeNVJzDPmCIPPslx3rpXY+qe/6WCjca5HbrWxP3YBw==","signatures":[{"sig":"MEYCIQCJoA1lZaKWF//AF9A9Agu665+uSYYfiCnMa5vEtz9CZgIhALQXtTOozCwcy2PfthSLRJe02MzbHe+poTTaiE5/RSOu","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"unpackedSize":12850},"main":"./dist/index.js","type":"module","types":"./dist/index.d.ts","engines":{"bun":">=1.0.0","node":">=18"},"exports":{"./webhooks":{"types":"./dist/webhooks/index.d.ts","import":"./dist/webhooks/index.js"},"./webhooks/*":{"types":"./dist/webhooks/*.d.ts","import":"./dist/webhooks/*.js"}},"gitHead":"4f44b0102e118ca7fd4abd4da8c094cf8f22360c","scripts":{"test":"bun test","build":"rm -rf dist && bun run scripts/version.ts && bun build src/index.ts src/webhooks/index.ts --outdir dist --target node --external '@abacatepay/zod' --external '@abacatepay/zod/*' && bun run types","types":"bunx tsc --emitDeclarationOnly","prepublishOnly":"bun run build"},"_npmUser":{"name":"escoteiros","email":"ajuda@abacatepay.com"},"repository":{"url":"git+https://github.com/AbacatePay/ecosystem.git","type":"git"},"_npmVersion":"11.8.0","description":"Checkout and webhook adapters for AbacatePay.","directories":{},"sideEffects":false,"_nodeVersion":"24.13.1","dependencies":{"@abacatepay/zod":"^2.0.0"},"publishConfig":{"access":"public"},"_hasShrinkwrap":false,"devDependencies":{"typescript":"^5.0.0","@biomejs/biome":"^2.3.11"},"_npmOperationalInternal":{"tmp":"tmp/adapters_2.0.2_1785181667217_0.011997569665508356","host":"s3://npm-registry-packages-npm-production"}},"2.0.3":{"name":"@abacatepay/adapters","version":"2.0.3","repository":{"type":"git","url":"git+https://github.com/AbacatePay/ecosystem.git"},"author":{"name":"AbacatePay","email":"opensource@abacatepay.com","url":"https://abacatepay.com"},"maintainers":[{"name":"albuquerquesz","email":"albq.victor@gmail.com"},{"name":"bolodissenouraa","email":"daniel@abacatepay.com"},{"name":"escoteiros","email":"ajuda@abacatepay.com"}],"main":"./dist/index.js","devDependencies":{"@biomejs/biome":"^2.3.11","dts-bundle-generator":"^9.5.1","typescript":"^5.0.0"},"exports":{"./webhooks":{"import":"./dist/webhooks/index.js","types":"./dist/webhooks/index.d.ts"},"./webhooks/*":{"import":"./dist/webhooks/*.js","types":"./dist/webhooks/*.d.ts"}},"description":"Checkout and webhook adapters for AbacatePay.","engines":{"node":">=18","bun":">=1.0.0"},"keywords":["abacatepay","payments","webhooks","checkouts","adapters"],"license":"Apache-2.0","publishConfig":{"access":"public"},"scripts":{"test":"bun test","build":"rm -rf dist && bun run scripts/version.ts && bun build src/index.ts src/webhooks/index.ts --outdir dist --target node --external '@abacatepay/zod' --external '@abacatepay/zod/*' && bun run types","types":"dts-bundle-generator -o dist/index.d.ts src/index.ts --disable-symlinks-following && dts-bundle-generator -o dist/webhooks/index.d.ts src/webhooks/index.ts --disable-symlinks-following","prepublishOnly":"bun run build"},"sideEffects":false,"type":"module","types":"./dist/index.d.ts","dependencies":{"@abacatepay/zod":"^2.0.0"},"gitHead":"5c10083ce1c3dfce4b35af061f28b10bec33ff32","_id":"@abacatepay/adapters@2.0.3","bugs":{"url":"https://github.com/AbacatePay/ecosystem/issues"},"homepage":"https://github.com/AbacatePay/ecosystem#readme","_nodeVersion":"24.13.1","_npmVersion":"11.8.0","dist":{"integrity":"sha512-E7Z0xgSakXyz9k6AjrNrZJOTEEU4juLV37n041DZeRaxmwJjLUFoQrvMh+D27En4KICQDcs22gYHka2ApgOfmA==","shasum":"6badca4745535daec6e61e1e0287b8152198cf83","tarball":"https://registry.npmjs.org/@abacatepay/adapters/-/adapters-2.0.3.tgz","fileCount":7,"unpackedSize":13053,"signatures":[{"keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U","sig":"MEYCIQCkv9xHwGv9ohtBtG5eYzv4VbFW0TTYpIF6oOQLsThE8AIhAIBTMKsCy0eWS3cTmMM7P5KDTNFMPxC13yHP9OtTLk1B"}]},"_npmUser":{"name":"escoteiros","email":"ajuda@abacatepay.com"},"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages-npm-production","tmp":"tmp/adapters_2.0.3_1785184804965_0.5416570140875232"},"_hasShrinkwrap":false}},"time":{"created":"2026-01-25T12:27:11.482Z","modified":"2026-07-27T20:40:05.307Z","1.0.0":"2026-01-25T12:27:11.726Z","1.0.1":"2026-01-25T12:29:27.027Z","1.0.2":"2026-01-26T14:12:52.045Z","2.0.0":"2026-07-27T13:34:53.778Z","2.0.1":"2026-07-27T17:38:06.878Z","2.0.2":"2026-07-27T19:47:47.364Z","2.0.3":"2026-07-27T20:40:05.138Z"},"bugs":{"url":"https://github.com/AbacatePay/ecosystem/issues"},"author":{"name":"AbacatePay","email":"opensource@abacatepay.com","url":"https://abacatepay.com"},"license":"Apache-2.0","homepage":"https://github.com/AbacatePay/ecosystem#readme","keywords":["abacatepay","payments","webhooks","checkouts","adapters"],"repository":{"type":"git","url":"git+https://github.com/AbacatePay/ecosystem.git"},"description":"Checkout and webhook adapters for AbacatePay.","maintainers":[{"name":"albuquerquesz","email":"albq.victor@gmail.com"},{"name":"bolodissenouraa","email":"daniel@abacatepay.com"},{"name":"escoteiros","email":"ajuda@abacatepay.com"}],"readme":"<div align=\"center\">\n\n# AbacatePay Adapters\n\nUtilitários oficiais da **AbacatePay** para construir **adapters de Webhooks** de forma **consistente**, **segura** e **totalmente tipada**, independentemente do framework.\n\nO [`@abacatepay/adapters`](https://www.npmjs.com/package/@abacatepay/adapters) é um pacote **framework-agnostic**, pensado para quem cria integrações (Fastify, Hono, Express, NestJS, Elysia, Supabase, etc.) e quer **eliminar duplicação**, manter **DX alta** e centralizar a lógica de domínio dos webhooks.\n\n<img src=\"https://res.cloudinary.com/dkok1obj5/image/upload/v1767631413/avo_clhmaf.png\" width=\"100%\" alt=\"AbacatePay Open Source\"/>\n\nEste pacote **não lida com HTTP**. Ele cuida apenas do que é comum a todos os adapters:\nverificação de assinatura, validação do payload e dispatch de eventos.\n\nVocê pode encontrar a documentação completa de Webhooks [aqui](https://docs.abacatepay.com/pages/webhooks).\n\n## Instalação\n\nUse com o seu *package manager* favorito:\n\n</div>\n\n```bash\nbun add @abacatepay/adapters\n# ou\npnpm add @abacatepay/adapters\n# ou\nnpm install @abacatepay/adapters\n```\n\n<div align=\"center\">\n\nNenhuma dependência de framework é necessária.\nO pacote depende apenas dos tipos oficiais da AbacatePay.\n\n## Importação\n</div>\n\n```ts\nimport {\n    parse,\n\tverify,\n\tdispatch,\n} from '@abacatepay/adapters/webhooks';\n```\n<div align=\"center\">\n\n## Uso básico\n\nO fluxo padrão de um webhook é sempre o mesmo:\n</div>\n\n1. Receber o body bruto\n2. Verificar a assinatura\n3. Validar e parsear o evento\n4. Disparar o handler correto\n\n```ts\nconst { ABACATEPAY_WEBHOOK_SECRET } = process.env;\n\nif (query.webhookSecret !== ABACATEPAY_WEBHOOK_SECRET) {\n    throw new Error('Invalid secret');\n}\n\nconst raw = '...';\nconst signature = '...';\n\nif (!verify(raw, signature)) {\n\tthrow new Error('Invalid signature');\n}\n\nconst parsed = parse(raw);\n\nif (!parsed.success) {\n    throw parsed.error;\n};\n\nawait dispatch(parsed.data, {\n\tonPayload({ event }) {\n\t\tconsole.log('Evento recebido:', event);\n\t},\n    onPayoutCompleted({ data }) {\n        console.log(data.transaction.id);\n    },\n});\n```\n\n<div align=\"center\">\n\nNota, caso exista algum handler para o evento específico, ele será usado, caso contrário, o handler `onPayload` será usado.\n\nFeito com 🥑 pela equipe AbacatePay<br/>\nOpen source, de verdade.\n</div>\n","readmeFilename":"README.md"}