`POST /v1/stripe/webhook`.
POST
/v1/stripe/webhook
const url = 'https://api.updawg.net/v1/stripe/webhook';const options = { method: 'POST', headers: {'Content-Type': 'application/json'}, body: '"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://api.updawg.net/v1/stripe/webhook \ --header 'Content-Type: application/json' \ --data '"example"'Unauthenticated in the session sense; authenticated by the
Stripe-Signature header over the exact bytes received. An event handled
before is acknowledged and not handled again, and one that is not about an
Updawg subscription — this Stripe account also bills another business — is
acknowledged and ignored.
Request Bodyrequired
Section titled “Request Bodyrequired”A Stripe event, byte for byte as Stripe signed it.
Media typeapplication/json
string
Examplegenerated
exampleResponses
Section titled “Responses”Received; handled now, before, or not ours.
Not a Stripe event, or not signed by Stripe.
Media typeapplication/json
object
detail
string | null
status
required
integer format: int32
title
required
string
type
required
string
Examplegenerated
{ "detail": "example", "status": 1, "title": "example", "type": "example"}This deployment has no webhook secret.
Media typeapplication/json
object
detail
string | null
status
required
integer format: int32
title
required
string
type
required
string
Examplegenerated
{ "detail": "example", "status": 1, "title": "example", "type": "example"}