usage

Handle Stripe webhook events.

No auth — Stripe authenticates via signature header. APIView.as_view() auto-applies csrf_exempt.

post/usage/webhook/

Request

  • Base URL: http://localhost:8000
  • URL: http://localhost:8000/usage/webhook/
  • Auth: one of:
    • API key in header X-Api-Key
    • API key in header X-Secret-Key

Request body

idstring
typestring
dataobject

Response

OK

statusstring required

Changes

No recorded changes to this operation across all 1 revision of this API.