Public routes: Billing hooks
Where the payment provider posts what happened to a workspace’s payments, signed by the provider. For whoever runs the deployment, not for an app.
| What it does | Route |
|---|---|
| The payment provider’s webhook | POST /public/v1/billing/webhook/{provider} |
The payment provider’s webhook
Section titled “The payment provider’s webhook”POST /public/v1/billing/webhook/{provider}
Where the deployment’s payment provider (stripe) posts that a checkout was paid, a subscription changed or ended, an invoice was paid or its payment failed, signed the way that provider signs its webhooks (Stripe-Signature). An event is acted on once, and only for a customer of this deployment’s region; any other is answered 200 and left alone. 503 in a deployment that takes no payments.
Needs: nothing: no credential.
Parameters
| Name | In | Description |
|---|---|---|
provider (required) | path |
Answers