Paperclip
|
e15977ba82
|
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>
|
2026-04-12 23:41:29 +00:00 |
|