CentralPay
This app is the payment relay between your originating sites and Stripe.
Expected flow
Originating site CentralPay Stripe CentralPay originating site.
Key endpoints
POST /api/paymentsto create a payment request withX-CentralPay-Api-Key.GET /pay/{paymentReference}to redirect a user to Stripe.POST /api/webhooks/stripe/{siteId}for Stripe webhooks.GET /api/payments/{paymentReference}for authoritative status.
Configuration model
For now, keep all development settings under the CentralPay configuration section,
including ApiKey, StripeSecretKey, and StripeWebhookSecret.
A sample site entry now lives in appsettings.Development.json so local testing is easier.
You can harden secret storage later.