{"_id":"@aymenkits/pay-stripe","name":"@aymenkits/pay-stripe","dist-tags":{"latest":"1.0.0"},"versions":{"1.0.0":{"name":"@aymenkits/pay-stripe","version":"1.0.0","description":"Stripe adapter for @aymenkits/pay-core — instant destination charges with per-component application fees, escrow (manual-capture → capture → release transfer), tips, refunds, setup intents, tiered Billing subscriptions and a typed webhook dispatcher. Stru","license":"MIT","main":"dist/index.js","types":"dist/index.d.ts","scripts":{"build":"tsc -p tsconfig.json","typecheck":"tsc -p tsconfig.json --noEmit"},"dependencies":{"@aymenkits/pay-core":"1.0.0"},"publishConfig":{"access":"public"},"repository":{"type":"git","url":"git+https://github.com/aymenmokhtarikouki/pay-kit.git","directory":"packages/stripe"},"keywords":["payments","stripe","marketplace","commission","escrow","connect","stripe"],"engines":{"node":">=18"},"sideEffects":false,"homepage":"https://github.com/aymenmokhtarikouki/pay-kit#readme","bugs":{"url":"https://github.com/aymenmokhtarikouki/pay-kit/issues"},"author":{"name":"Aymen Mokhtari"},"_id":"@aymenkits/pay-stripe@1.0.0","gitHead":"7561c31e74399dff3ee4c34cbdfcb3f8900a9d17","_nodeVersion":"22.14.0","_npmVersion":"10.9.2","dist":{"integrity":"sha512-TWikb5XS1yuazRe0ZoRgapQjW5zaNpLmZSjZ8oYR/im1SsaGbUzRcmg9XO/VIEiNKjigUJ7EodGlPsJE/33L7w==","shasum":"e08d75ef9c157f4f59a8de349a621ce917b79e12","tarball":"https://registry.npmjs.org/@aymenkits/pay-stripe/-/pay-stripe-1.0.0.tgz","fileCount":19,"unpackedSize":30801,"signatures":[{"keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U","sig":"MEYCIQCwAkZ23KGFzZR3f2uGKJS+F0usxjMlx3k4/U6QBvB1ygIhAOWvHxXEHaEhCJ8r0PcEY/V0MhdWmxdXpp4FnmQCIT+s"}]},"_npmUser":{"name":"aymen-mokhtari","email":"ayman.mokhtari@proton.me"},"directories":{},"maintainers":[{"name":"aymen-mokhtari","email":"ayman.mokhtari@proton.me"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages-npm-production","tmp":"tmp/pay-stripe_1.0.0_1783791525057_0.4290550386940586"},"_hasShrinkwrap":false}},"time":{"created":"2026-07-11T17:38:44.977Z","1.0.0":"2026-07-11T17:38:45.193Z","modified":"2026-07-11T17:38:45.353Z"},"maintainers":[{"name":"aymen-mokhtari","email":"ayman.mokhtari@proton.me"}],"description":"Stripe adapter for @aymenkits/pay-core — instant destination charges with per-component application fees, escrow (manual-capture → capture → release transfer), tips, refunds, setup intents, tiered Billing subscriptions and a typed webhook dispatcher. Stru","homepage":"https://github.com/aymenmokhtarikouki/pay-kit#readme","keywords":["payments","stripe","marketplace","commission","escrow","connect","stripe"],"repository":{"type":"git","url":"git+https://github.com/aymenmokhtarikouki/pay-kit.git","directory":"packages/stripe"},"author":{"name":"Aymen Mokhtari"},"bugs":{"url":"https://github.com/aymenmokhtarikouki/pay-kit/issues"},"license":"MIT","readme":"# @aymenkits/pay-stripe\n\nThe only package that talks to Stripe — via a client YOU construct and pass in (structural typing, no stripe dependency of its own): PaymentIntents (manual/auto/off-session), destination charges, transfers, refunds, SetupIntents + ephemeral keys, Billing, Terminal tokens, and a webhook verifier + typed event router.\n\n## Install\n\n```bash\nnpm install @aymenkits/pay-stripe\n```\n\nInstalls with it: `@aymenkits/pay-core` (automatic dependency).\n\n## You provide\n\n- **Your `stripe` SDK instance** (`new Stripe(key)`) — install `stripe` yourself; any recent major works\n- Connect account ids on your merchants\n\nThe package never owns tables, never imports an ORM, HTTP framework, or\nprovider SDK it can take as a parameter — storage and delivery are seams your\napp implements on its own stack.\n\n## Quick example\n\n```ts\nimport Stripe from 'stripe'\nimport { createStripeGateway } from '@aymenkits/pay-stripe'\n\nconst gateway = createStripeGateway({ stripe: new Stripe(process.env.STRIPE_KEY) })\nawait gateway.createInstantCharge({ charge, merchant, policy, customer })\n```\n\n## Pairs with\n\n- `@aymenkits/pay-express` for the webhook route\n\nKits pair **by shape, never by import** — pass the sibling kit, your own\nservice, or a stub in tests.\n\n## Docs\n\nFull contracts and integration guides live in the repo:\nhttps://github.com/aymenmokhtarikouki/pay-kit (`contracts/`, `docs/`).\n\n## License\n\nMIT\n","readmeFilename":"README.md","_rev":"1-9b605544f3503c6e11d9d6f32776e1ff"}