Ahorrameds

Member registration

This service listens for Stripe checkout and registers Individual and Family members with CareBox. It is the registration endpoint, not a member dashboard.

Stripe webhook
/api/stripe/webhook
After payment
Stripe Payment Links redirect to /gracias with the checkout session id. That page shows the member's reference code once this service has stored it.
What gets registered
A completed subscription checkout, including a bank debit that is still pending. Renewals, payment failures, and cancellations are recorded here. CareBox receives those later events on its own Stripe webhook.