1. Billing Webhooks
  • Authentication
    • Current workspace and API key
      GET
  • Subscription
    • Current workspace subscription
      GET
    • Initiate subscription checkout
      POST
    • Change subscription plan
      POST
    • Cancel subscription at period end
      POST
    • Resume a scheduled cancellation
      POST
  • Channels
    • List enabled channels
      GET
  • Contacts
    • List contacts
      GET
    • Create a contact
      POST
    • View a contact
      GET
    • Update a contact
      PATCH
  • Conversations
    • List conversations
      GET
    • View a conversation
      GET
  • Messages
    • List conversation messages
      GET
    • Send a message
      POST
  • Leads
    • List leads
      GET
    • Create a lead
      POST
    • View a lead
      GET
    • Update a lead
      PATCH
  • Knowledge
    • List knowledge base entries
  • Platform
    • Public Plans
      • List commercially visible plans
      • Show one commercially visible plan
    • Plans Management
      • List all plans including inactive and soft-deleted
      • Create a plan
      • Show a plan for administration
      • Update a plan
    • Billing Webhooks
      • Receive a billing provider webhook
        POST
    • Channel Webhooks
      • Meta webhook verification challenge
      • Receive Meta messaging events
      • Receive Telegram bot updates
      • WhatsApp Business verification challenge
      • Receive WhatsApp Business messaging events
      • Receive WhatsApp Web inbound messages
    • Commerce Webhooks
      • Receive a WooCommerce webhook
  • Schemas
    • PublicPlan
    • Subscription
    • PublicPlanFeature
    • CheckoutRequest
    • PublicPlanLimit
    • CheckoutResponse
    • PlatformPlan
    • ChangePlanRequest
    • PlatformPlanCreateRequest
    • ApiKeyInfo
    • PlatformPlanUpdateRequest
    • Business
    • WebhookAcceptResponse
    • Channel
    • Error
    • Contact
    • ValidationError
    • ContactCreateRequest
    • ContactUpdateRequest
    • Conversation
    • Message
    • MessageCreateRequest
    • Lead
    • LeadCreateRequest
    • LeadUpdateRequest
    • KnowledgeBaseEntry
  1. Billing Webhooks

Receive a billing provider webhook

POST
//api/billing/webhooks/{provider}
Provider-signed ingress. The raw body is verified before any billing
mutation. Duplicate provider events are accepted without re-applying
effects. Browser checkout return URLs never hit this endpoint and
never activate a subscription.

Request

Path Params

Body Params application/jsonRequired

Examples

Responses

🟢200
application/json
Duplicate event already stored
Bodyapplication/json

🟢202
🟠401UnauthorizedWebhook
🟠404NotFound
🟠422ValidationError
🟠429TooManyRequests
Request Request Example
Shell
JavaScript
Java
Swift
curl --location '//api/billing/webhooks/' \
--header 'Content-Type: application/json' \
--data '{
    "property1": "string",
    "property2": "string"
}'
Response Response Example
200 - Example 1
{
    "message": "string",
    "duplicate": true,
    "event_id": "string"
}
Modified at 2026-08-18 22:33:35
Previous
Update a plan
Next
Meta webhook verification challenge
Built with