Skip to main content
WEBHOOK
product.created
{
  "webhook_id": "<string>",
  "url": "<string>",
  "event": "product.created",
  "resource_id": "<string>",
  "payload": {
    "id": "<string>",
    "name": "<string>",
    "organization_id": "<string>",
    "version_group_id": "<string>",
    "is_active": 123,
    "description": "<string>",
    "image_id": "<string>",
    "metadata": {},
    "schemas": [
      {
        "id": "<string>",
        "version_group_id": "<string>",
        "is_active": 123,
        "name": "<string>",
        "description": "<string>",
        "organization_id": "<string>",
        "product_id": "<string>",
        "type": "ONE_TIME",
        "currency": "BITCOIN",
        "base_price": "<string>",
        "interval_type": "DAY",
        "interval_count": 123,
        "payment_type": "ADVANCE",
        "renew_type": "CALENDAR",
        "billing_type": "PRORATED",
        "created_at": "<string>",
        "updated_at": "<string>",
        "configurations": [
          {
            "id": "<string>",
            "version_group_id": "<string>",
            "is_active": 123,
            "schema_id": "<string>",
            "starts_at": "<string>",
            "ends_at": "<string>",
            "price_per_unit": "<string>",
            "metric_id": "<string>",
            "created_at": "<string>",
            "updated_at": "<string>"
          }
        ]
      }
    ],
    "created_at": "<string>",
    "updated_at": "<string>",
    "image": {
      "id": "<string>",
      "name": "<string>",
      "url": "<string>",
      "mime_type": "<string>",
      "type": "image",
      "is_duplicate": true,
      "hash": "<string>",
      "organization_id": "<string>",
      "original_name": "<string>",
      "filename": "<string>",
      "filepath": "<string>",
      "file_size": 123,
      "created_at": "<string>",
      "updated_at": "<string>"
    }
  },
  "timestamp": "<string>"
}

Headers

X-Webhook-Signature
string
required

Signature of the webhook event payload, used for verification.

X-Webhook-Timestamp
string
required

Timestamp of the webhook event, used to prevent replay attacks.

Example:

"2025-08-20 20:56:36.456"

X-Webhook-Event
string
required

The type of event being sent.

Example:

"payment.created"

Body

application/json
webhook_id
string
required

Unique identifier for the webhook

Example:

"webhook_019833c0-1a78-7420-8413-78c38d3834c4"

url
string<uri>
required

URL where webhook events will be sent

Example:

"https://webhook-handler.com/webhooks"

event
enum<string>
required

Type of webhook event that occurred

Available options:
product.created
Example:

"product.created"

resource_id
string
required

Created Product identifier

Example:

"product_01979267-9042-7c36-b119-10dd13b5a0cc"

payload
object
required

Details of the Product that was created

Example:
{
  "id": "product_01971675-8d84-79cb-8daa-304ca034b067",
  "version_group_id": "product_01971675-8d84-79cb-8daa-304ca034b067",
  "is_active": 1,
  "name": "First Subscription #1",
  "organization_id": "org_0196b0e9-11d8-7f26-b1d2-bd47054e4827",
  "description": "Third Subscriptio is coming",
  "image_id": null,
  "metadata": {
    "one": "1",
    "two": "2",
    "three": "3",
    "four": "4"
  },
  "created_at": "2025-05-28 12:34:52",
  "updated_at": "2025-06-22 19:12:41",
  "schemas": [
    {
      "id": "schema_01971675-8d85-7007-bc44-dc2a77e1038d",
      "version_group_id": "schema_01971675-8d85-7007-bc44-dc2a77e1038d",
      "is_active": 1,
      "name": "Basic Product",
      "description": "Basic Product Schema",
      "organization_id": "org_0196b0e9-11d8-7f26-b1d2-bd47054e4827",
      "product_id": "product_01971675-8d84-79cb-8daa-304ca034b067",
      "type": "RECURRING",
      "currency": "USD",
      "base_price": "10.030000000000000000000000000000",
      "interval_type": "MONTH",
      "interval_count": 1,
      "payment_type": "ARREARS",
      "renew_type": "CALENDAR",
      "billing_type": "FULL",
      "created_at": "2025-05-28 12:34:52",
      "updated_at": "2025-06-22 19:12:41",
      "configurations": [
        {
          "id": "config_01971675-8d86-72bb-9f08-82e2456c6e26",
          "version_group_id": "config_01971675-8d86-72bb-9f08-82e2456c6e26",
          "is_active": 1,
          "schema_id": "schema_01971675-8d85-7007-bc44-dc2a77e1038d",
          "starts_at": "1.000000000000",
          "ends_at": "2.000000000000",
          "price_per_unit": "5.000000000000000000000000000000",
          "metric_id": "metric_01971675-8d86-797c-8621-b918d4c83fc1",
          "created_at": "2025-05-28 12:34:52",
          "updated_at": "2025-06-22 19:12:41"
        },
        {
          "id": "config_01971675-8d86-72bb-9f08-82e2456c6e27",
          "version_group_id": "config_01971675-8d86-72bb-9f08-82e2456c6e27",
          "is_active": 1,
          "schema_id": "schema_01971675-8d85-7007-bc44-dc2a77e1038d",
          "starts_at": "2.000000000000",
          "ends_at": "3.000000000000",
          "price_per_unit": "6.000000000000000000000000000000",
          "metric_id": "metric_01971675-8d86-797c-8621-b918d4c83fc1",
          "created_at": "2025-06-12 23:57:41",
          "updated_at": "2025-06-22 19:12:41"
        }
      ]
    },
    {
      "id": "schema_01971675-8d85-7007-bc44-dc2a77e1038e",
      "version_group_id": "schema_01971675-8d85-7007-bc44-dc2a77e1038e",
      "is_active": 1,
      "name": "Middle Products",
      "description": "Middle Product Schema",
      "organization_id": "org_0196b0e9-11d8-7f26-b1d2-bd47054e4827",
      "product_id": "product_01971675-8d84-79cb-8daa-304ca034b067",
      "type": "RECURRING",
      "currency": "USD",
      "base_price": "15.000000000000000000000000000000",
      "interval_type": "MONTH",
      "interval_count": 1,
      "payment_type": "ARREARS",
      "renew_type": "CALENDAR",
      "billing_type": "FULL",
      "created_at": "2025-06-12 23:47:20",
      "updated_at": "2025-06-22 19:12:41",
      "configurations": []
    }
  ]
}
timestamp
string
required

Timestamp when the event occurred

Example:

"2025-08-20 20:56:36.456"