WoyraDocs
Get an API key

Stripe's webhook

POST/v1/payments/stripe/webhook

Billing · Requires an API key

Not for customers. Stripe posts checkout events here; the Stripe-Signature header is verified against the endpoint secret (five-minute tolerance) before the body is read. checkout.session.completed with payment_status: paid credits the ledger exactly once; expiry and failure close the payment. An amount that does not match what was asked for is refused rather than credited.

Example

curl -X POST https://api.woyra.io/v1/payments/stripe/webhook \
  -H "Authorization: Bearer $WOYRA_KEY"

Response

200 Applied, duplicate, or ignored.

Errors

StatusCodes
401authentication_required, invalid_api_key

Also in Billing