Stripe webhook receiver — signature-verified, unauthenticated by design
POST
/api/v1/billing/webhook
const url = 'https://example.com/api/v1/billing/webhook';const options = {method: 'POST', headers: {'stripe-signature': 'example'}};
try { const response = await fetch(url, options); const data = await response.json(); console.log(data);} catch (error) { console.error(error);}curl --request POST \ --url https://example.com/api/v1/billing/webhook \ --header 'stripe-signature: example'Parameters
Section titled “Parameters”Header Parameters
Section titled “Header Parameters”stripe-signature
required
string