{"_id":"@bizup-pay/icount","_rev":"2-b40116976cbbd2cbb31f6d689d496f5e","name":"@bizup-pay/icount","dist-tags":{"latest":"0.1.1"},"versions":{"0.1.0":{"name":"@bizup-pay/icount","version":"0.1.0","keywords":["payments","israel","icount","accounting","bizup-pay"],"author":{"name":"BizUp.dev"},"license":"MIT","_id":"@bizup-pay/icount@0.1.0","maintainers":[{"name":"bizup","email":"cto@bizup.dev"}],"homepage":"https://pay.bizup.dev","bugs":{"url":"https://github.com/bizup-dev/bizup-pay/issues"},"dist":{"shasum":"94c00498b634b6da74f7e23b7a84b2ad1b3448c0","tarball":"https://registry.npmjs.org/@bizup-pay/icount/-/icount-0.1.0.tgz","fileCount":17,"integrity":"sha512-M79kk5J+lSc5PVd+YBoZnn9oZjjsO/jZ/mABp6iJohXPJ+h8dfrkbblaroWYxsB3v54pPdOaqGH0Y5T4cxLyxA==","signatures":[{"sig":"MEUCIE0N7B0wjIvQDRSaeWUdJzkKVAHeX8sjx5GmUb2SfIu0AiEA0YbZe3UO59/67ILh/IZci8gS9R7UL6KE7hqUPetf2fY=","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"unpackedSize":30155},"main":"./dist/index.js","types":"./dist/index.d.ts","engines":{"node":">=20"},"gitHead":"43387d94b469c52078110f1f235f51b05e51465e","scripts":{"test":"vitest run","build":"tsc"},"_npmUser":{"name":"bizup","email":"cto@bizup.dev"},"repository":{"url":"git+https://github.com/bizup-dev/bizup-pay.git","type":"git","directory":"packages/icount"},"_npmVersion":"11.6.2","description":"iCount adapter for BizUp Pay","directories":{},"_nodeVersion":"25.2.1","dependencies":{"@bizup-pay/core":"0.1.0"},"publishConfig":{"access":"public"},"_hasShrinkwrap":false,"_npmOperationalInternal":{"tmp":"tmp/icount_0.1.0_1774174384501_0.07423407477436283","host":"s3://npm-registry-packages-npm-production"}},"0.1.1":{"name":"@bizup-pay/icount","version":"0.1.1","description":"iCount adapter for BizUp Pay","author":{"name":"BizUp.dev"},"license":"MIT","homepage":"https://pay.bizup.dev","repository":{"type":"git","url":"git+https://github.com/bizup-dev/bizup-pay.git","directory":"packages/icount"},"bugs":{"url":"https://github.com/bizup-dev/bizup-pay/issues"},"keywords":["payments","israel","icount","accounting","bizup-pay"],"main":"./dist/index.js","types":"./dist/index.d.ts","publishConfig":{"access":"public"},"engines":{"node":">=20"},"scripts":{"build":"tsc","test":"vitest run"},"dependencies":{"@bizup-pay/core":"0.1.1"},"gitHead":"25b25a715e969f1ba3b483f866d8cdbb82908579","_id":"@bizup-pay/icount@0.1.1","_nodeVersion":"25.2.1","_npmVersion":"11.6.2","dist":{"integrity":"sha512-/nnaHQEi8naN6efr3edEc984z85mGFtcDYOAa8kMVTcOtiqtc/QkPY5xkCA+vN2jfpxGVax78yQKnVjTnTGUDg==","shasum":"7137cbff18b24740420477d11f4af2d705df43cd","tarball":"https://registry.npmjs.org/@bizup-pay/icount/-/icount-0.1.1.tgz","fileCount":18,"unpackedSize":32495,"signatures":[{"keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U","sig":"MEQCIBqSHFyYt9Uhts5lS5RC15MBxcAbQzSKIbizDjTiFxB6AiBQ4e2f1oJTkmcjUAcIv0JidHstPmXQd04BZnHDBk6fcQ=="}]},"_npmUser":{"name":"bizup","email":"cto@bizup.dev"},"directories":{},"maintainers":[{"name":"bizup","email":"cto@bizup.dev"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages-npm-production","tmp":"tmp/icount_0.1.1_1774349960563_0.9067232028808101"},"_hasShrinkwrap":false}},"time":{"created":"2026-03-22T10:13:04.419Z","modified":"2026-03-24T10:59:20.830Z","0.1.0":"2026-03-22T10:13:04.654Z","0.1.1":"2026-03-24T10:59:20.699Z"},"bugs":{"url":"https://github.com/bizup-dev/bizup-pay/issues"},"author":{"name":"BizUp.dev"},"license":"MIT","homepage":"https://pay.bizup.dev","keywords":["payments","israel","icount","accounting","bizup-pay"],"repository":{"type":"git","url":"git+https://github.com/bizup-dev/bizup-pay.git","directory":"packages/icount"},"description":"iCount adapter for BizUp Pay","maintainers":[{"name":"bizup","email":"cto@bizup.dev"}],"readme":"# @bizup-pay/icount\n\niCount adapter for [BizUp Pay](https://pay.bizup.dev) — one SDK for every Israeli payment provider.\n\n> Write payment code once. Swap providers by changing one line of config. TypeScript-first, framework-agnostic, production-ready.\n\n## What This Package Does\n\n`@bizup-pay/icount` connects BizUp Pay to the [iCount](https://www.icount.co.il) accounting and payment platform. It implements the unified `BizupProvider` interface, translating BizUp Pay calls into iCount's REST API.\n\n## How It Fits Together\n\nA typical BizUp Pay integration uses three packages:\n\n| Package | Role |\n|---------|------|\n| **`@bizup-pay/core`** | Shared types, provider interface, factory |\n| **`@bizup-pay/client`** | Browser SDK — mounts payment pages via iframe, modal, or redirect |\n| **`@bizup-pay/icount`** | iCount gateway adapter (this package) |\n\nWant to switch to a different provider later? Swap this package for `@bizup-pay/cardcom`, `@bizup-pay/morning`, or `@bizup-pay/grow` — your application code stays the same.\n\n## Install\n\n```bash\nnpm install @bizup-pay/core @bizup-pay/icount\n```\n\n## Quick Start\n\n```typescript\nimport { createProvider } from '@bizup-pay/core'\nimport '@bizup-pay/icount'\n\nconst provider = createProvider('icount', {\n  companyId: process.env.ICOUNT_COMPANY_ID,\n  user: process.env.ICOUNT_USER,\n  pass: process.env.ICOUNT_PASS,\n})\n\nconst session = await provider.createSession({\n  amount: 100,\n  description: 'Order #123',\n  successUrl: 'https://example.com/success',\n  webhookUrl: 'https://example.com/webhook',\n})\n```\n\n## Configuration\n\n| Option | Description |\n|--------|-------------|\n| `companyId` | Your iCount company ID |\n| `user` | API username |\n| `pass` | API password |\n\n## Supported Operations\n\n- `createSession()` — Generate a payment page via iCount's paypage API\n- `getTransaction()` — Retrieve document/transaction info\n- `refund()` — Cancel a document and refund the credit card charge\n- `parseWebhook()` — Parse and validate iCount IPN payloads\n\n## Documentation\n\nFull documentation, setup guides, and examples: **[pay.bizup.dev](https://pay.bizup.dev)**\n\n## Links\n\n- [Documentation](https://pay.bizup.dev)\n- [GitHub](https://github.com/bizup-dev/bizup-pay)\n- [Issues](https://github.com/bizup-dev/bizup-pay/issues)\n\n## License\n\nMIT\n","readmeFilename":"README.md"}