Svix

Supertab Webhook Event Types

This is the list of event types that we currently send.
For guidance on how to listen to these events, take a look at Svix's guide to consuming webhooks.

onetime_offering.purchasing_completed_2025-04-01

This event is sent when the purchase of a One-Time Offering is fully completed.

Example
JSON
{
  "data": {
    "id": "onetime_offering.a3c0753a-2894-5cfb-8bba-976553b9fe42",
    "items": [
      {
        "description": "First item",
        "id": "onetime_offering_item.4f2be578-a7de-7b3e-a2a2-9c34cbcc585f",
        "metadata": {
          "action": "Promotions"
        },
        "price": {
          "amount": 2.99,
          "currency": {
            "base_unit": "100",
            "code": "USD",
            "name": "US Dollar",
            "symbol": "$"
          }
        },
        "purchase": {
          "completed_at": "2025-05-05T10:39:27.408829Z",
          "description": "Onetime Offering May 2025",
          "entitlement_status": "some string",
          "id": "some string",
          "metadata": {},
          "offering_id": "some string",
          "onetime_offering_id": "some string",
          "price": {
            "amount": 2.99,
            "currency": {
              "base_unit": "100",
              "code": "USD",
              "name": "US Dollar",
              "symbol": "$"
            }
          },
          "purchased_at": "2025-05-05T10:39:27.383215Z",
          "status": "completed"
        }
      }
    ],
    "metadata": {},
    "price": {
      "amount": 2.99,
      "currency": {
        "base_unit": "100",
        "code": "USD",
        "name": "US Dollar",
        "symbol": "$"
      }
    },
    "status": "purchasing_completed"
  },
  "type": "onetime_offering.purchasing_completed_2025-04-01"
}

purchase.completed

This event is sent when a purchase is completed.

Example
JSON
{
  "data": {
    "completed_at": "2025-05-05T10:42:05.082766Z",
    "description": "My site - 1 Week Timepass",
    "id": "purchase.7c82e040-b303-486c-bf59-810ccfd3c0b4",
    "metadata": {
      "action": "First month initial deal",
      "version": "2"
    },
    "offering_id": "offering.f875dbf7-5388-431e-8ddd-fda296dbd971",
    "price": {
      "amount": 25,
      "currency": {
        "base_unit": "100",
        "code": "USD",
        "name": "US Dollar",
        "symbol": "$"
      }
    },
    "purchased_at": "2025-05-05T10:42:05.082766Z",
    "user": {
      "email": "jane.doe@jane.do",
      "first_name": "Jane",
      "id": "user.738b1213-50e9-928e-b9e8-ca3337a8118a",
      "last_name": "Doe"
    }
  },
  "type": "purchase.completed"
}