Facturation PayHaze
Avis de Stripe Billing
POST/v1/payhaze-billing/stripe-events
Served only when PayHaze’s own Stripe Billing endpoint secret is configured (sandbox). Signed with that secret, test mode, 5 minutes either way. customer.subscription.* sets the service state of the organization in metadata.payhaze_organization: active, past_due, unpaid → restricted, canceled. Replays change nothing; a subscription never moves to another organization (409).
Réponses
- 200Réussi
- 400Requête invalide
- 409Conflit avec une demande existante
- 503Service momentanément indisponible
Une erreur ne vaut jamais paiement. Le corps donne code, message, request_id et retry_action ; renvoyez la même Idempotency-Key si retry_action le propose.