Payment Webhook
POST/api/billing/webhook/:provider_type/:provider_id
Handle webhook events from various payment providers.
This is a generic webhook endpoint that can handle webhooks from any supported payment provider (Stripe, PayPal, Square, etc.).
Args: provider_type: The payment provider type (e.g., 'stripe', 'paypal', 'square') provider_id: The specific provider instance ID or account ID pk: Public API key passed as query parameter for authentication
Request
Responses
- 200
- 422
Successful Response
Validation Error