{"_id":"@axonlabs/payments","_rev":"4-f8f0fd26fc36dc7860245c2b46a2c625","name":"@axonlabs/payments","dist-tags":{"latest":"0.2.0"},"versions":{"0.1.2":{"name":"@axonlabs/payments","version":"0.1.2","keywords":["Plisio","AxonJs"],"author":{"url":"https://github.com/Mr-MKZ","name":"Mr.MKZ"},"license":"MIT","_id":"@axonlabs/payments@0.1.2","maintainers":[{"name":"axonlabs","email":"karimierfan74@gmail.com"}],"homepage":"https://github.com/AxonJsLabs/Payments#readme","bugs":{"url":"https://github.com/AxonJsLabs/Payments/issues"},"dist":{"shasum":"cc8fafca7ecce8435a1037e96f921a9e836a5145","tarball":"https://registry.npmjs.org/@axonlabs/payments/-/payments-0.1.2.tgz","fileCount":18,"integrity":"sha512-hxLGAeQh8wckKBLqyk9kKYrwIUdcvIXSKWDTRQMAetXceuW0ogQWkRRHQmXZRdf64yaAORD4WXpYXIHz6WfQiA==","signatures":[{"sig":"MEUCIEyMrgQ7Ccjx7nO6eKOJkKIAjUI/rJ6WyKJmgH/W6KzrAiEA6hs/LbFjoUA53MlvyYHZFT2WylT7pqZHYGLKvDWIyj4=","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"attestations":{"url":"https://registry.npmjs.org/-/npm/v1/attestations/@axonlabs%2fpayments@0.1.2","provenance":{"predicateType":"https://slsa.dev/provenance/v1"}},"unpackedSize":78523},"type":"module","exports":{".":{"types":"./dist/index.d.ts","import":"./dist/index.mjs","require":"./dist/index.js"},"./plisio":{"types":"./dist/Plisio/index.d.ts","import":"./dist/Plisio/index.mjs","require":"./dist/Plisio/index.js"}},"gitHead":"a35d3d1cfcd29d979a9aa88d80e7b0389a1421c6","scripts":{"doc":"typedoc","test":"jest","build":"tsup","start":"tsup && node dist/index.js","version":"npx changeset version","changeset":"npx changeset","test:watch":"jest --watch","build:clean":"rm -rf dist && tsup"},"_npmUser":{"name":"axonlabs","email":"karimierfan74@gmail.com"},"repository":{"url":"git+https://github.com/AxonJsLabs/Payments.git","type":"git"},"_npmVersion":"10.8.2","description":"💳 Modular, type-safe payment gateway clients for Node.js apps — including Plisio and more soon. Built with TypeScript and fully ESM-compatible.","directories":{},"_nodeVersion":"20.19.4","dependencies":{"axios":"^1.10.0"},"_hasShrinkwrap":false,"devDependencies":{"jest":"^30.0.4","tsup":"^8.5.0","ts-jest":"^29.4.0","ts-node":"^10.9.2","typedoc":"^0.28.7","typescript":"^5.8.3","@types/jest":"^30.0.0","@types/node":"^24.0.15","@changesets/cli":"^2.29.5"},"_npmOperationalInternal":{"tmp":"tmp/payments_0.1.2_1753737896992_0.9554324713261044","host":"s3://npm-registry-packages-npm-production"}},"0.1.3":{"name":"@axonlabs/payments","version":"0.1.3","keywords":["Plisio","AxonJs"],"author":{"url":"https://github.com/Mr-MKZ","name":"Mr.MKZ"},"license":"MIT","_id":"@axonlabs/payments@0.1.3","maintainers":[{"name":"axonlabs","email":"karimierfan74@gmail.com"}],"homepage":"https://github.com/AxonJsLabs/Payments#readme","bugs":{"url":"https://github.com/AxonJsLabs/Payments/issues"},"dist":{"shasum":"492445d6ec9985647b683fa9092e5b89708f3b0d","tarball":"https://registry.npmjs.org/@axonlabs/payments/-/payments-0.1.3.tgz","fileCount":11,"integrity":"sha512-ByiiuT8a0LGdzuJrOhc2qB88IEdplVbJJ2qyy0TucFMj92yqQQe4qAI4QvQT59GRtUCPyRYPwpaSt/irJWnDAw==","signatures":[{"sig":"MEUCIQChvfrQarAKga+2qyBYOhd0ru4EEv/1V3pTPsZzyZ4RRAIgVXOYV3LwJJJs5W4i2AFJuhQqMWfNqNYQbhP5KYpPItc=","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"attestations":{"url":"https://registry.npmjs.org/-/npm/v1/attestations/@axonlabs%2fpayments@0.1.3","provenance":{"predicateType":"https://slsa.dev/provenance/v1"}},"unpackedSize":81960},"type":"module","exports":{".":{"types":"./dist/index.d.ts","import":"./dist/index.mjs","require":"./dist/index.js"},"./plisio":{"types":"./dist/Plisio/index.d.ts","import":"./dist/Plisio/index.mjs","require":"./dist/Plisio/index.js"}},"gitHead":"503757c7cc4a86f7836b62777a5d14f4b3df6792","scripts":{"doc":"typedoc","test":"jest","build":"tsup","start":"tsup && node dist/index.js","version":"npx changeset version","changeset":"npx changeset","test:watch":"jest --watch","build:clean":"rm -rf dist && tsup"},"_npmUser":{"name":"axonlabs","email":"karimierfan74@gmail.com"},"repository":{"url":"git+https://github.com/AxonJsLabs/Payments.git","type":"git"},"_npmVersion":"10.8.2","description":"💳 Modular, type-safe payment gateway clients for Node.js apps — including Plisio and more soon. Built with TypeScript and fully ESM-compatible.","directories":{},"_nodeVersion":"20.19.4","dependencies":{"axios":"^1.10.0"},"_hasShrinkwrap":false,"devDependencies":{"jest":"^30.0.4","tsup":"^8.5.0","ts-jest":"^29.4.0","ts-node":"^10.9.2","typedoc":"^0.28.7","typescript":"^5.8.3","@types/jest":"^30.0.0","@types/node":"^24.0.15","@changesets/cli":"^2.29.5"},"_npmOperationalInternal":{"tmp":"tmp/payments_0.1.3_1753738648522_0.5466812407055761","host":"s3://npm-registry-packages-npm-production"}},"0.1.4":{"name":"@axonlabs/payments","version":"0.1.4","keywords":["Plisio","AxonJs"],"author":{"url":"https://github.com/Mr-MKZ","name":"Mr.MKZ"},"license":"MIT","_id":"@axonlabs/payments@0.1.4","maintainers":[{"name":"axonlabs","email":"karimierfan74@gmail.com"}],"homepage":"https://github.com/AxonJsLabs/Payments#readme","bugs":{"url":"https://github.com/AxonJsLabs/Payments/issues"},"dist":{"shasum":"37c0528fe68fe94eee7960f85b8698b052e03977","tarball":"https://registry.npmjs.org/@axonlabs/payments/-/payments-0.1.4.tgz","fileCount":11,"integrity":"sha512-6QgMmTz9EiQgAULowVMy8DMaNwzbxtInqHQ4SvZ2YPwX/8L0mfRciZLkRT71Z9SM9Lq1UsSImC4ubhdjskhHQA==","signatures":[{"sig":"MEQCIEdB0bpaq9ovcdPLQwBvPv8ZlDdO9T2801GPiesoVlbbAiBPLjTqcdITjGiVHv2yqXM9JkX2ny45ieMNGBhLJuq03w==","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"attestations":{"url":"https://registry.npmjs.org/-/npm/v1/attestations/@axonlabs%2fpayments@0.1.4","provenance":{"predicateType":"https://slsa.dev/provenance/v1"}},"unpackedSize":81960},"type":"module","exports":{".":{"types":"./dist/index.d.ts","import":"./dist/index.js","require":"./dist/index.cjs"},"./plisio":{"types":"./dist/Plisio/index.d.ts","import":"./dist/Plisio/index.js","require":"./dist/Plisio/index.cjs"}},"gitHead":"f2b076a36aa1f9034cdf0a4b66984eca86aa5e8c","scripts":{"doc":"typedoc","test":"jest","build":"tsup","start":"tsup && node dist/index.js","version":"npx changeset version","changeset":"npx changeset","test:watch":"jest --watch","build:clean":"rm -rf dist && tsup"},"_npmUser":{"name":"axonlabs","email":"karimierfan74@gmail.com"},"repository":{"url":"git+https://github.com/AxonJsLabs/Payments.git","type":"git"},"_npmVersion":"10.8.2","description":"💳 Modular, type-safe payment gateway clients for Node.js apps — including Plisio and more soon. Built with TypeScript and fully ESM-compatible.","directories":{},"_nodeVersion":"20.19.4","dependencies":{"axios":"^1.10.0"},"_hasShrinkwrap":false,"devDependencies":{"jest":"^30.0.4","tsup":"^8.5.0","ts-jest":"^29.4.0","ts-node":"^10.9.2","typedoc":"^0.28.7","typescript":"^5.8.3","@types/jest":"^30.0.0","@types/node":"^24.0.15","@changesets/cli":"^2.29.5"},"_npmOperationalInternal":{"tmp":"tmp/payments_0.1.4_1753869568821_0.7937608835893211","host":"s3://npm-registry-packages-npm-production"}},"0.2.0":{"name":"@axonlabs/payments","version":"0.2.0","description":"💳 Modular, type-safe payment gateway clients for Node.js apps — including Plisio and more soon. Built with TypeScript and fully ESM-compatible.","keywords":["Plisio","AxonJs"],"homepage":"https://github.com/AxonJsLabs/Payments#readme","bugs":{"url":"https://github.com/AxonJsLabs/Payments/issues"},"repository":{"type":"git","url":"git+https://github.com/AxonJsLabs/Payments.git"},"license":"MIT","author":{"name":"Mr.MKZ","url":"https://github.com/Mr-MKZ"},"type":"module","exports":{".":{"types":"./dist/index.d.ts","import":"./dist/index.js","require":"./dist/index.cjs"},"./plisio":{"types":"./dist/Plisio/index.d.ts","import":"./dist/Plisio/index.js","require":"./dist/Plisio/index.cjs"}},"scripts":{"start":"tsup && node dist/index.js","build":"tsup","build:clean":"rm -rf dist && tsup","test":"jest","test:watch":"jest --watch","doc":"typedoc","changeset":"npx changeset","version":"npx changeset version"},"devDependencies":{"@changesets/cli":"^2.29.5","@types/jest":"^30.0.0","@types/node":"^24.0.15","jest":"^30.0.4","ts-jest":"^29.4.0","ts-node":"^10.9.2","tsup":"^8.5.0","typedoc":"^0.28.7","typescript":"^5.8.3"},"dependencies":{"axios":"^1.10.0"},"_id":"@axonlabs/payments@0.2.0","gitHead":"b4016351d636a990d1e02265c156602951c78b6f","_nodeVersion":"20.19.4","_npmVersion":"10.8.2","dist":{"integrity":"sha512-z4dSbdR2VaekXVcosOtyiUkIW0nALK+8jcodZLgtJuSp9xYr58sjbDXQmCIPb2P3r3bKmko665lwQIYYJz+2Gg==","shasum":"c6e0284c746c2c2bbffd00d0ece6780b824920b3","tarball":"https://registry.npmjs.org/@axonlabs/payments/-/payments-0.2.0.tgz","fileCount":11,"unpackedSize":84568,"attestations":{"url":"https://registry.npmjs.org/-/npm/v1/attestations/@axonlabs%2fpayments@0.2.0","provenance":{"predicateType":"https://slsa.dev/provenance/v1"}},"signatures":[{"keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U","sig":"MEUCIQDxHw4ZfXyEs9aBGSSVRBI6V1PAW2ahwjRXQcQhCD8OngIgcZ1VGvhEPECJBF1hB+8rLbWZBzoBXQAgo7KNAse9PjE="}]},"_npmUser":{"name":"axonlabs","email":"karimierfan74@gmail.com"},"directories":{},"maintainers":[{"name":"axonlabs","email":"karimierfan74@gmail.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages-npm-production","tmp":"tmp/payments_0.2.0_1755116049206_0.22073019413008588"},"_hasShrinkwrap":false}},"time":{"created":"2025-07-28T21:24:56.868Z","modified":"2025-08-13T20:14:10.093Z","0.1.2":"2025-07-28T21:24:57.192Z","0.1.3":"2025-07-28T21:37:28.713Z","0.1.4":"2025-07-30T09:59:29.080Z","0.2.0":"2025-08-13T20:14:09.409Z"},"bugs":{"url":"https://github.com/AxonJsLabs/Payments/issues"},"author":{"name":"Mr.MKZ","url":"https://github.com/Mr-MKZ"},"license":"MIT","homepage":"https://github.com/AxonJsLabs/Payments#readme","keywords":["Plisio","AxonJs"],"repository":{"type":"git","url":"git+https://github.com/AxonJsLabs/Payments.git"},"description":"💳 Modular, type-safe payment gateway clients for Node.js apps — including Plisio and more soon. Built with TypeScript and fully ESM-compatible.","maintainers":[{"name":"axonlabs","email":"karimierfan74@gmail.com"}],"readme":"<p align=\"center\">\n  <img src=\"https://avatars.githubusercontent.com/u/198393404?s=200&v=4\" height=\"100\" alt=\"AxonJs Logo\" />\n</p>\n\n<h1 align=\"center\">@axonlabs/payments</h1>\n\n<p align=\"center\">\n  💳 Modular, type-safe payment gateway clients for Node.js — with first-class TypeScript, ESM exports, and real-world API support.\n</p>\n\n---\n\n## 🚀 What is this?\n\n`@axonlabs/payments` is a unified payment client library for Node.js applications — built with **TypeScript**, **ESM**, and **modern developer ergonomics** in mind.\n\nWhether you're integrating **Plisio**, **Zarinpal** (more payment clients will coming soon) this package gives you:\n\n- 🧩 Gateway-specific clients with type-safe methods\n- 🔌 Easy plug-and-play usage\n- 🔄 Common interfaces for consistency\n- ⚡️ Fully tree-shakable via ESM exports\n- 📦 Single package, clean structure\n\n**[Project Changelog](./CHANGELOG.md)**\n\n---\n\n## 📦 Supported Gateways\n\n| Gateway        | Import Path                          | Status      |\n|----------------|--------------------------------------|-------------|\n| Plisio         | `@axonlabs/payments/plisio`           | 🧪 In progress |\n| Zarinpal       | `@axonlabs/payments/zarinpal`         | 🚧 In Future |\n\n> Want to contribute a gateway? PRs are welcome!\n\n---\n\n## 🧪 Example Usage\n\n```ts\n// Plisio\nimport { PlisioClient } from '@axonlabs/payments/plisio';\n\nconst plisio = new PlisioClient(secret_key, \"whitelabel\");\n\n// Central hub\nimport { Payments, AxonPayments } from '@axonlabs/payments';\n\nconst plisio1 = Payments.getPlisio(secret_key, \"whitelabel\");\nconst plisio2 = new AxonPayments().getPlisio(secret_key, \"whitelabel\");\n```\n\nEach gateway is designed to be self-contained and follow a consistent interface.\n\n---\n\n## 🧠 Philosophy\n\n- ✅ ESM-first — optimized for modern tooling\n- ⚙️ Shared interfaces, custom configs, and low-level control\n- 🧪 Testable clients for real-world server environments\n- 🌍 Multi-gateway ready in a single unified package\n\n---\n\n## 📂 Import Structure\n\n```ts\n// Plisio\nimport { PlisioClient } from '@axonlabs/payments/plisio';\n// Central hub\nimport { Payments, AxonPayments } from '@axonlabs/payments';\n```\n\n---\n\n## 📜 License\n\nMIT © [AxonJsLabs](https://github.com/AxonJsLabs)\n\n---\n\n## 🙌 Contribute\n\nWe ❤️ open-source!\nFeel free to open issues, suggest improvements, or add new gateway clients.\n\n```bash\nnpm install\nnpm run build\nnpm run test\n```\n\n> Want to add your own gateway (e.g. NowPayments, IDPay, PayPal)? Check the lib/ folder and follow the structure.\n\n<p align=\"center\" style=\"font-size: 20px\"> <sub>Built with 💜 by the <a href=\"https://github.com/AxonJsLabs\">AxonJsLabs</a> community</sub> </p>","readmeFilename":"README.md"}