Levain LabsLevain Labs
ApiBilling

Stripe Webhook

Receive Stripe webhooks. Verifies signature, logs the event.

Receive Stripe webhooks. Verifies signature, logs the event.

POST
/api/v1/billing/webhook

Header Parameters

stripe-signature?string|null

Response Body

application/json

application/json

curl -X POST "https://api.levainlabs.com/api/v1/billing/webhook"
{
  "property1": "string",
  "property2": "string"
}
{
  "detail": [
    {
      "loc": [
        "string"
      ],
      "msg": "string",
      "type": "string",
      "input": null,
      "ctx": {}
    }
  ]
}