{"_id":"@abacatepay/sdk","_rev":"7-35ec4ba38e7a9b714d3b2b75616785ab","name":"@abacatepay/sdk","dist-tags":{"latest":"2.0.3"},"versions":{"1.0.0":{"name":"@abacatepay/sdk","version":"1.0.0","keywords":["sdk","typescript","abacatepay","nodejs","bun","api-client"],"license":"Apache-2.0","_id":"@abacatepay/sdk@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":"21ab9921f863d2e83f6dd412d2e175feb2185692","tarball":"https://registry.npmjs.org/@abacatepay/sdk/-/sdk-1.0.0.tgz","fileCount":12,"integrity":"sha512-Vg0PeS7O/mlTqtziuuaQxS16UDajawfWkgqqppLKBOUm+Fb01ybfw5JfRCLk0LRjUf1IFQdY+1stUf8rIcbRIg==","signatures":[{"sig":"MEQCIF18vIoF20EhO+GBfVr/vHkakPP27AnH5NwftCE8mkfvAiADcjyTqG9vxTHKphUS+GK+aMtlRcs7Mul12fn3K3PP3w==","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"unpackedSize":29072},"main":"./dist/index.js","type":"module","types":"./dist/index.d.ts","engines":{"bun":">=1.0.0","node":">=18"},"exports":{".":{"types":"./dist/index.d.ts","import":"./dist/index.js","default":"./dist/index.js"}},"gitHead":"a1480dc6a740ab5d3414f32d4a76a8b425e03b4a","scripts":{"test":"bun test","build":"rm -rf dist && bun run scripts/version.ts && bun build src/index.ts --outdir dist --target node && bun run types","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":"An ergonomic SDK for integration with AbacatePay","directories":{},"sideEffects":false,"_nodeVersion":"24.12.0","dependencies":{"@abacatepay/rest":"^0.0.1","@abacatepay/types":"^2.0.1"},"publishConfig":{"access":"public"},"_hasShrinkwrap":false,"devDependencies":{"typescript":"^5.0.0","@biomejs/biome":"^2.3.11"},"_npmOperationalInternal":{"tmp":"tmp/sdk_1.0.0_1768705484387_0.5593809795303937","host":"s3://npm-registry-packages-npm-production"}},"1.0.1":{"name":"@abacatepay/sdk","version":"1.0.1","keywords":["sdk","typescript","abacatepay","nodejs","bun","api-client"],"author":{"url":"https://abacatepay.com","name":"AbacatePay","email":"opensource@abacatepay.com"},"license":"Apache-2.0","_id":"@abacatepay/sdk@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/AbacatePay/ecosystem#readme","bugs":{"url":"https://github.com/AbacatePay/ecosystem/issues"},"dist":{"shasum":"b8bb0fffe8e2b87a60299e6e221dcade806a3cdc","tarball":"https://registry.npmjs.org/@abacatepay/sdk/-/sdk-1.0.1.tgz","fileCount":27,"integrity":"sha512-XMfGyk8JP3/qnDigdYxBgJDAEpRuiS15xFiklMJV0pE5kXu+bflvYzmSAnOiHXDzmncIS+uqhppNV6ftdKJMXw==","signatures":[{"sig":"MEQCID2soVYPWljH6jN64NH/Dcj3EMTRpRWHkfa7SuTxBLJiAiBSF9nOxmn80TqQsbgxDCYgLKH6Hj5cT0Qcd1T7oWU2HQ==","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"unpackedSize":67404},"main":"./dist/index.js","type":"module","types":"./dist/index.d.ts","engines":{"bun":">=1.0.0","node":">=18"},"exports":{".":{"types":"./dist/index.d.ts","import":"./dist/index.js","default":"./dist/index.js"}},"gitHead":"7f68c25f6dbfe050389583ef9f10c218ae0d439b","scripts":{"test":"bun test","build":"rm -rf dist && bun run scripts/version.ts && bun build src/index.ts --outdir dist --target node && bun run types","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":"An ergonomic SDK for integration with AbacatePay","directories":{},"sideEffects":false,"_nodeVersion":"24.12.0","dependencies":{"@abacatepay/rest":"^0.0.1","@abacatepay/types":"^2.0.1"},"publishConfig":{"access":"public"},"_hasShrinkwrap":false,"devDependencies":{"typescript":"^5.0.0","@biomejs/biome":"^2.3.11"},"_npmOperationalInternal":{"tmp":"tmp/sdk_1.0.1_1769437118617_0.29305194334059337","host":"s3://npm-registry-packages-npm-production"}},"1.2.0":{"name":"@abacatepay/sdk","version":"1.2.0","keywords":["sdk","typescript","abacatepay","nodejs","bun","api-client"],"author":{"url":"https://abacatepay.com","name":"AbacatePay","email":"opensource@abacatepay.com"},"license":"Apache-2.0","_id":"@abacatepay/sdk@1.2.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/AbacatePay/ecosystem#readme","bugs":{"url":"https://github.com/AbacatePay/ecosystem/issues"},"dist":{"shasum":"c649f227b2283de746018e03f8fa3a9a35f55484","tarball":"https://registry.npmjs.org/@abacatepay/sdk/-/sdk-1.2.0.tgz","fileCount":39,"integrity":"sha512-i5yx0ruX06WQDmyXFYOlwZYXk8lTiSjpXt75hbwwS2tfimzr/mSPHclC6HyMINJPEjrkZeoizKfsZ65GbVWJNw==","signatures":[{"sig":"MEUCIQDUWoZdguDZ1VNpGjqGS7i0fB3fkfVHbVZqKjXsTADxegIgNvERhVuNm/UMPsaEzzaDiyxS8DK3/YAP02ZC5+yGDxY=","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"unpackedSize":97266},"main":"./dist/index.js","type":"module","types":"./dist/index.d.ts","engines":{"bun":">=1.0.0","node":">=18"},"exports":{".":{"types":"./dist/index.d.ts","import":"./dist/index.js"},"./v*":null,"./v1":{"types":"./dist/v1/index.d.ts","import":"./dist/v1/index.js"},"./v2":{"types":"./dist/v2/index.d.ts","import":"./dist/v2/index.js"},"./v1/*":{"types":"./dist/v1/*.d.ts","import":"./dist/v1/*.js"},"./v2/*":{"types":"./dist/v2/*.d.ts","import":"./dist/v2/*.js"}},"gitHead":"dcd9cc9def6f798aef61d67f9d58ec68a5bd987d","scripts":{"test":"bun test","build":"rm -rf dist && bun run scripts/version.ts && bun build src/index.ts --outdir dist --target node && bun run types","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":"An ergonomic SDK for integration with AbacatePay","directories":{},"sideEffects":false,"_nodeVersion":"24.12.0","dependencies":{"@abacatepay/rest":"^0.0.1","@abacatepay/types":"^2.0.1"},"publishConfig":{"access":"public"},"_hasShrinkwrap":false,"devDependencies":{"typescript":"^5.0.0","@biomejs/biome":"^2.3.11"},"_npmOperationalInternal":{"tmp":"tmp/sdk_1.2.0_1769445819886_0.12394122849079436","host":"s3://npm-registry-packages-npm-production"}},"2.0.0":{"name":"@abacatepay/sdk","version":"2.0.0","keywords":["sdk","typescript","abacatepay","nodejs","bun","api-client"],"author":{"url":"https://abacatepay.com","name":"AbacatePay","email":"opensource@abacatepay.com"},"license":"Apache-2.0","_id":"@abacatepay/sdk@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":"74fca761ffa49b14b2e2923537b936f977680a38","tarball":"https://registry.npmjs.org/@abacatepay/sdk/-/sdk-2.0.0.tgz","fileCount":9,"integrity":"sha512-0niDd0PVXUd4vxg8jqV/ui0zk82xRgQxk+7iB431mi72hMeLUK7q+qN6FY4JxbFI1LbynMV8QBe/9Z8YNvtwCA==","signatures":[{"sig":"MEUCIQDF2xG4wWPripc2Ll/9eR1k3s4+FAvI1PYy2IYS4xCwTAIgQ9GKTCgLN5jhbr86jtmi+NxMfVeT0bLNN0WSwgU+RSY=","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"unpackedSize":42317},"main":"./dist/index.js","type":"module","types":"./dist/index.d.ts","engines":{"bun":">=1.0.0","node":">=18"},"exports":{".":{"types":"./dist/index.d.ts","import":"./dist/index.js"},"./v*":null,"./v1":{"types":"./dist/v1/index.d.ts","import":"./dist/v1/index.js"},"./v2":{"types":"./dist/v2/index.d.ts","import":"./dist/v2/index.js"},"./v1/*":{"types":"./dist/v1/*.d.ts","import":"./dist/v1/*.js"},"./v2/*":{"types":"./dist/v2/*.d.ts","import":"./dist/v2/*.js"}},"gitHead":"2dc44ef4789adc69e81f94a8e459cc85fd76668c","scripts":{"test":"bun test","build":"rm -rf dist && bun run scripts/version.ts && bun build src/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":"An ergonomic SDK for integration with AbacatePay","directories":{},"sideEffects":false,"_nodeVersion":"24.13.1","dependencies":{"@abacatepay/rest":"^1.0.0","@abacatepay/types":"^3.0.0"},"publishConfig":{"access":"public"},"_hasShrinkwrap":false,"devDependencies":{"typescript":"^5.0.0","@biomejs/biome":"^2.3.11"},"_npmOperationalInternal":{"tmp":"tmp/sdk_2.0.0_1785159290846_0.500491676137176","host":"s3://npm-registry-packages-npm-production"}},"2.0.1":{"name":"@abacatepay/sdk","version":"2.0.1","keywords":["sdk","typescript","abacatepay","nodejs","bun","api-client"],"author":{"url":"https://abacatepay.com","name":"AbacatePay","email":"opensource@abacatepay.com"},"license":"Apache-2.0","_id":"@abacatepay/sdk@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":"68c18d334c9889eced6fd7fef4e3435ee0db8b43","tarball":"https://registry.npmjs.org/@abacatepay/sdk/-/sdk-2.0.1.tgz","fileCount":11,"integrity":"sha512-9jSR9lPu4NGFg5SIIRUsd/tjLRTumQ5UUpFe6zq0mwJyWrDwNhmZ4Y/LLMbLv+Zx3VnlmW3cQJtAYpi0BU3n2A==","signatures":[{"sig":"MEUCIEKr0oe2fAnusp/66T1O0S/dDwH6nXTH4gVFzo/E5zs1AiEA0vldIO0E9SNRBtHcmR5wKQK1gXoei5Fy4n0DYiTXv9I=","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"unpackedSize":63778},"main":"./dist/index.js","type":"module","types":"./dist/index.d.ts","engines":{"bun":">=1.0.0","node":">=18"},"exports":{".":{"types":"./dist/index.d.ts","import":"./dist/index.js"},"./v*":null,"./v1":{"types":"./dist/v1/index.d.ts","import":"./dist/v1/index.js"},"./v2":{"types":"./dist/v2/index.d.ts","import":"./dist/v2/index.js"},"./v1/*":{"types":"./dist/v1/*.d.ts","import":"./dist/v1/*.js"},"./v2/*":{"types":"./dist/v2/*.d.ts","import":"./dist/v2/*.js"}},"gitHead":"ff4bbae0210c3eb16826c4f3f3f8d9c1953031ad","scripts":{"test":"bun test","build":"rm -rf dist && bun run scripts/version.ts && bun build src/index.ts src/v1/index.ts src/v2/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":"An ergonomic SDK for integration with AbacatePay","directories":{},"sideEffects":false,"_nodeVersion":"24.13.1","dependencies":{"@abacatepay/rest":"^1.0.0","@abacatepay/types":"^3.0.0"},"publishConfig":{"access":"public"},"_hasShrinkwrap":false,"devDependencies":{"typescript":"^5.0.0","@biomejs/biome":"^2.3.11"},"_npmOperationalInternal":{"tmp":"tmp/sdk_2.0.1_1785173883116_0.04331003731302152","host":"s3://npm-registry-packages-npm-production"}},"2.0.2":{"name":"@abacatepay/sdk","version":"2.0.2","keywords":["sdk","typescript","abacatepay","nodejs","bun","api-client"],"author":{"url":"https://abacatepay.com","name":"AbacatePay","email":"opensource@abacatepay.com"},"license":"Apache-2.0","_id":"@abacatepay/sdk@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":"c2a62cfbf1038c9c6a99f3fb8f7ea9d3332cd700","tarball":"https://registry.npmjs.org/@abacatepay/sdk/-/sdk-2.0.2.tgz","fileCount":12,"integrity":"sha512-/UbtjpXawyhxODfdFalMUbhbWhDrvupfNd58H2dDCWPflxDN8L+8fAk7WOJsPrFRNfl/lWcUn1PMxsdSNAveYw==","signatures":[{"sig":"MEQCIAFY9+cm8exuD7kLMSchMae5svq9GwjcqLgL7s0g+/QOAiAi/vZ0BE+xR0mJjuSqJt/m9kD6ImkFwB8FR6E+nxAhPA==","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"unpackedSize":42904},"main":"./dist/index.js","type":"module","types":"./dist/index.d.ts","engines":{"bun":">=1.0.0","node":">=18"},"exports":{".":{"types":"./dist/index.d.ts","import":"./dist/index.js"},"./v*":null,"./v1":{"types":"./dist/v1/index.d.ts","import":"./dist/v1/index.js"},"./v2":{"types":"./dist/v2/index.d.ts","import":"./dist/v2/index.js"},"./v1/*":{"types":"./dist/v1/*.d.ts","import":"./dist/v1/*.js"},"./v2/*":{"types":"./dist/v2/*.d.ts","import":"./dist/v2/*.js"}},"gitHead":"4f44b0102e118ca7fd4abd4da8c094cf8f22360c","scripts":{"test":"bun test","build":"rm -rf dist && bun run scripts/version.ts && bun build src/index.ts src/v1/index.ts src/v2/index.ts --outdir dist --target node --external '@abacatepay/rest' --external '@abacatepay/rest/*' --external '@abacatepay/types' --external '@abacatepay/types/*' && 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":"An ergonomic SDK for integration with AbacatePay","directories":{},"sideEffects":false,"_nodeVersion":"24.13.1","dependencies":{"@abacatepay/rest":"^1.0.0","@abacatepay/types":"^3.0.0"},"publishConfig":{"access":"public"},"_hasShrinkwrap":false,"devDependencies":{"typescript":"^5.0.0","@biomejs/biome":"^2.3.11"},"_npmOperationalInternal":{"tmp":"tmp/sdk_2.0.2_1785181664412_0.6470781772314371","host":"s3://npm-registry-packages-npm-production"}},"2.0.3":{"name":"@abacatepay/sdk","version":"2.0.3","type":"module","sideEffects":false,"license":"Apache-2.0","exports":{".":{"types":"./dist/index.d.ts","import":"./dist/index.js"},"./v1":{"types":"./dist/v1/index.d.ts","import":"./dist/v1/index.js"},"./v1/*":{"types":"./dist/v1/*.d.ts","import":"./dist/v1/*.js"},"./v2":{"types":"./dist/v2/index.d.ts","import":"./dist/v2/index.js"},"./v2/*":{"types":"./dist/v2/*.d.ts","import":"./dist/v2/*.js"},"./v*":null},"main":"./dist/index.js","types":"./dist/index.d.ts","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"}],"scripts":{"test":"bun test","build":"rm -rf dist && bun run scripts/version.ts && bun build src/index.ts src/v1/index.ts src/v2/index.ts --outdir dist --target node --external '@abacatepay/rest' --external '@abacatepay/rest/*' --external '@abacatepay/types' --external '@abacatepay/types/*' && bun run types","types":"dts-bundle-generator -o dist/index.d.ts src/index.ts --disable-symlinks-following && dts-bundle-generator -o dist/v1/index.d.ts src/v1/index.ts --disable-symlinks-following && dts-bundle-generator -o dist/v2/index.d.ts src/v2/index.ts --disable-symlinks-following","prepublishOnly":"bun run build"},"engines":{"node":">=18","bun":">=1.0.0"},"repository":{"type":"git","url":"git+https://github.com/AbacatePay/ecosystem.git"},"keywords":["sdk","typescript","abacatepay","nodejs","bun","api-client"],"publishConfig":{"access":"public"},"devDependencies":{"@biomejs/biome":"^2.3.11","dts-bundle-generator":"^9.5.1","typescript":"^5.0.0"},"description":"An ergonomic SDK for integration with AbacatePay","dependencies":{"@abacatepay/rest":"^1.0.0","@abacatepay/types":"^3.0.0"},"gitHead":"5c10083ce1c3dfce4b35af061f28b10bec33ff32","_id":"@abacatepay/sdk@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-012TO+E0DqGQKHi7vkRIusHanHsRdhEPMOkai95EKhCGfbv1DC0X9QxIPV7YIBUr/KLOqd01R5fvW4yFztP8UA==","shasum":"7c6e2d9551a9bc96c26f1edc374f67b90812a915","tarball":"https://registry.npmjs.org/@abacatepay/sdk/-/sdk-2.0.3.tgz","fileCount":9,"unpackedSize":55424,"signatures":[{"keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U","sig":"MEYCIQDj3hKRvc5TPrp85KKHaMm+WebOGi2gDaliV+1BV8Fi0AIhAL4ZB6uySTsDLwsYH65gWysK3kcxOYIABaVMPPo1O8F+"}]},"_npmUser":{"name":"escoteiros","email":"ajuda@abacatepay.com"},"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages-npm-production","tmp":"tmp/sdk_2.0.3_1785184799458_0.7872111471101475"},"_hasShrinkwrap":false}},"time":{"created":"2026-01-18T03:04:44.310Z","modified":"2026-07-27T20:39:59.772Z","1.0.0":"2026-01-18T03:04:44.536Z","1.0.1":"2026-01-26T14:18:38.773Z","1.2.0":"2026-01-26T16:43:40.064Z","2.0.0":"2026-07-27T13:34:51.086Z","2.0.1":"2026-07-27T17:38:03.278Z","2.0.2":"2026-07-27T19:47:44.579Z","2.0.3":"2026-07-27T20:39:59.609Z"},"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":["sdk","typescript","abacatepay","nodejs","bun","api-client"],"repository":{"type":"git","url":"git+https://github.com/AbacatePay/ecosystem.git"},"description":"An ergonomic SDK for integration with 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 SDK\n\nSDK oficial da **AbacatePay** para integrar pagamentos via **PIX** de forma simples, segura e totalmente tipada.\n\nO [`@abacatepay/sdk`](https://www.npmjs.com/package/@abacatepay/sdk) é um **wrapper versionado de alto nível** sobre a API da AbacatePay, focado em **DX**, **TypeScript first** e **boas práticas de segurança**.\n\n<img src=\"https://res.cloudinary.com/dkok1obj5/image/upload/v1767631413/avo_clhmaf.png\" width=\"100%\" alt=\"AbacatePay Open Source\"/>\n\nVocê pode ver documentação completa do SDK [aqui](https://docs.abacatepay.com/pages/sdk/node).\n\n## Instalação\n\nUse com o seu *package manager* favorito\n\n</div>\n\n```bash\nbun add @abacatepay/sdk\n# ou\npnpm add @abacatepay/sdk\n# ou\nnpm install @abacatepay/sdk\n```\n\n<div align=\"center\">\n\n## Uso básico\n</div>\n\n```ts\nimport { AbacatePay } from '@abacatepay/sdk';\n\nconst abacate = AbacatePay({ secret });\n```\n\n<div align=\"center\">\n\nNunca utilize sua API key diretamente no código.\n**Sempre use variáveis de ambiente**.\n\n### Criando uma cobrança\n\n</div>\n\n```ts\nconst checkout = await abacate.checkouts.create({\n    items: [\n        {\n            id: 'prod_123',\n            quantity: 1,\n        },\n    ],\n});\n```\n\n<div align=\"center\">\n\n### Procure por alguns clientes\n\n</div>\n\n```ts\nconst customers = await abacate.customers.list({\n    limit: 25,\n});\n```\n\n<div align=\"center\">\n\n## Versionamento\n\nO pacote é focado 100% na **v2** da API (`import { AbacatePay } from '@abacatepay/sdk'`).\n\nA v1 continua disponível pelo sufixo `/v1`, mas está **descontinuada**: ela é mantida congelada (sem novos recursos) apenas para quem ainda não migrou, e emite um aviso no console ao ser usada.\n\n</div>\n\n```ts\n/** @deprecated Migre para a v2 (`@abacatepay/sdk`) */\nimport { AbacatePay } from '@abacatepay/sdk/v1'\n\nconst client = AbacatePay({ secret });\n```\n\n```ts\nconst { data, error, success } = await client.withdraw.create({\n    method: 'PIX',\n    externalId: 'trx_abc123',\n    ...\n});\n```\n\n<div align=\"center\">\n\n## Tratamento de erros\n\nNenhuma chamada do SDK lança exceção. Toda chamada resolve com o mesmo formato `{ data, error, success }` que a própria API da AbacatePay retorna — inclusive falhas de rede/timeout são normalizadas para esse formato pelo [`@abacatepay/rest`](https://www.npmjs.com/package/@abacatepay/rest).\n\n</div>\n\n```ts\nconst { data, error, success } = await abacate.subscriptions.create({ ... });\n\nif (!success) {\n    console.error(error);\n\n    return;\n}\n\nconsole.log(data);\n```\n\n<div align=\"center\">\n\nFeito com 🥑 pela equipe AbacatePay</br>\nOpen source, de verdade.\n\n</div>\n","readmeFilename":"README.md"}