GRO-605: Stripe SDK integration + payment service
- Add stripe dependency to @groombook/api - Implement payment.ts service with: - getOrCreateStripeCustomer: look up or create Stripe customer - createPaymentIntent: create payment intent for invoice(s) - processRefund: full or partial refund - listPaymentMethods: list saved cards - attachPaymentMethod / detachPaymentMethod: manage saved cards - Lazy Stripe client initialization; graceful null return when keys not set Co-Authored-By: Paperclip <noreply@paperclip.ing>
This commit is contained in:
@@ -22,6 +22,7 @@
|
||||
"hono": "^4.6.17",
|
||||
"node-cron": "^3.0.3",
|
||||
"nodemailer": "^6.9.16",
|
||||
"stripe": "^22.0.0",
|
||||
"telnyx": "^6.41.0",
|
||||
"zod": "^4.3.6"
|
||||
},
|
||||
|
||||
Reference in New Issue
Block a user