Skip to content

Receive a notice from Stripe

POST
/api/stripe/webhook
curl --request POST \
--url https://forge.example.com/api/stripe/webhook

For Stripe’s servers only. The body must carry Stripe’s signature for this instance’s webhook secret; anything else answers 400. Each notice is applied once, whatever the number of deliveries. 404 while card payment is not set up on the instance.

The notice was applied, or had been applied before.

A refusal or an error, as a problem document. A model or draft you may not see answers 404, as one that does not exist.

Media typeapplication/problem+json
object
type
string
title
string
status
integer
detail
string
instance
string

Example generated

{
"type": "example",
"title": "example",
"status": 1,
"detail": "example",
"instance": "example"
}