For the complete documentation index, see llms.txt. This page is also available as Markdown.

Webhooks

Webhooks for system event notifications.

Setup:

  1. Go to Creator Dashboard → Settings (three-dot menu) → API Keys section

  2. Generate API key if you haven't already

  3. Specify your webhook URL in the webhook settings

Signature verification: Each request contains trbt-signature header with HMAC-SHA256 signature of request body signed with your API key.

Retry attempts: On delivery failure, system retries with exponential backoff over ~24 hours: 5min, 15min, 30min, 1h, 2h, 4h, 8h, 8h.

Subscription type (payload.type) in subscription events:

  • regular — regular paid subscription (new subscription or renewal)

  • gift — gift subscription (gift purchase)

  • trial — trial subscription (trial activation)

Type transitions: When a gift or trial subscription renews, the next subscription becomes regular, reflected in the renewed_subscription event.

New Subscription

Notification about user purchasing a subscription

Payload
namestring · enumRequiredExample: new_subscriptionPossible values:
created_atstring · date-timeRequired

Event creation time

Example: 2025-08-25T01:15:58.33246Z
sent_atstring · date-timeRequired

Event sending time

Example: 2025-08-25T01:15:58.542279448Z
Responses
200

Webhook successfully processed

application/json
statusstringOptionalExample: ok

Payload

Cancelled Subscription

Notification about user cancelling a subscription

Payload
namestring · enumRequiredExample: cancelled_subscriptionPossible values:
created_atstring · date-timeRequired

Event creation time

Example: 2025-03-21T11:20:44.013969Z
sent_atstring · date-timeRequired

Event sending time

Example: 2025-03-21T11:20:44.527657077Z
Responses
200

Webhook successfully processed

application/json
statusstringOptionalExample: ok

Payload

Renewed Subscription

Notification about subscription renewal

Payload
created_atstring · date-timeRequired

Event creation time

Example: 2025-03-21T11:20:44.013969Z
namestring · enumRequiredExample: renewed_subscriptionPossible values:
sent_atstring · date-timeRequired

Event sending time

Example: 2025-03-21T11:20:44.527657077Z
Responses
200

Webhook successfully processed

application/json
statusstringOptionalExample: ok

Payload

Physical Order Created

Notification about new physical order creation

Payload
namestring · enumRequiredExample: physical_order_createdPossible values:
created_atstring · date-timeRequired

Event creation time

sent_atstring · date-timeRequired

Event sending time

Responses
200

Webhook successfully processed

No content

Payload

Physical Order Shipped

Notification about physical order shipping

Payload
namestring · enumRequiredExample: physical_order_shippedPossible values:
created_atstring · date-timeRequired

Event creation time

sent_atstring · date-timeRequired

Event sending time

Responses
200

Webhook successfully processed

No content

Payload

Physical Order Canceled

Notification about physical order cancellation

Payload
namestring · enumRequiredExample: physical_order_canceledPossible values:
created_atstring · date-timeRequired

Event creation time

sent_atstring · date-timeRequired

Event sending time

Responses
200

Webhook successfully processed

No content

Payload

New Donation

Notification about a new donation

Payload
namestring · enumRequiredExample: new_donationPossible values:
created_atstring · date-timeRequired

Event creation time

Example: 2025-03-20T01:15:58.33246Z
sent_atstring · date-timeRequired

Event sending time

Example: 2025-03-20T01:15:58.542279448Z
Responses
200

Webhook successfully processed

application/json
statusstringOptionalExample: ok

Payload

Recurrent Donation

Notification about a recurring donation payment

Payload
namestring · enumRequiredExample: recurrent_donationPossible values:
created_atstring · date-timeRequired

Event creation time

Example: 2025-03-20T01:15:58.33246Z
sent_atstring · date-timeRequired

Event sending time

Example: 2025-03-20T01:15:58.542279448Z
Responses
200

Webhook successfully processed

application/json
statusstringOptionalExample: ok

Payload

Cancelled Donation

Notification about a cancelled recurring donation

Payload
namestring · enumRequiredExample: cancelled_donationPossible values:
created_atstring · date-timeRequired

Event creation time

Example: 2025-03-20T01:15:58.33246Z
sent_atstring · date-timeRequired

Event sending time

Example: 2025-03-20T01:15:58.542279448Z
Responses
200

Webhook successfully processed

application/json
statusstringOptionalExample: ok

Payload

New Digital Product Purchase

Notification about a digital product purchase

Payload
namestring · enumRequiredExample: new_digital_productPossible values:
created_atstring · date-timeRequired

Event creation time

Example: 2025-03-20T01:15:58.33246Z
sent_atstring · date-timeRequired

Event sending time

Example: 2025-03-20T01:15:58.542279448Z
Responses
200

Webhook successfully processed

application/json
statusstringOptionalExample: ok

Payload

Digital Product Refunded

Notification about a digital product refund. This webhook is triggered when:

  • A user refunds Stars through App Store, Google Play, or their bank
  • A creator initiates a refund via the API

Important: Use purchase_id to match refunds with original purchases and revoke access to digital content.

Payload
namestring · enumRequiredExample: digital_product_refundedPossible values:
created_atstring · date-timeRequired

Event creation time

Example: 2025-03-20T01:15:58.33246Z
sent_atstring · date-timeRequired

Event sending time

Example: 2025-03-20T01:15:58.542279448Z
Responses
200

Webhook successfully processed

application/json
statusstringOptionalExample: ok

Payload

Last updated