Skip to main content
Dub

commission.created

1 min read

Event triggered when a new commission is created for you.

Response body parameters

All webhook payloads follow a consistent top-level structure with event-specific data nested within the data object.

idstring#
The event ID.
eventstring#
The event type that triggered the webhook (e.g., commission.created).
createdAtstring#
ISO 8601 timestamp when the webhook event was created.
dataobject#
Event-specific data containing detailed information about the event. The data object for the commission.created event contains the following parameters:
Show object parameters
idstring#

Unique identifier for the commission.

typestring#

Commission type (e.g. sale).

amountnumber#

Sale/order amount in cents.

earningsnumber#

Commission earnings in cents.

currencystring#

Currency code (e.g. usd).

statusstring#

Commission status (e.g. pending).

descriptionstring | null#

Optional description (e.g. for manual commissions).

quantitynumber#

Quantity (e.g. number of items).

createdAtstring#

ISO 8601 timestamp when the commission was created.

customerobject#

The customer associated with the conversion.

Show customer object
idstring#

Unique identifier for the customer.

countrystring#

Country code.

createdAtstring#

ISO 8601 timestamp when the customer was first seen.

firstSaleAtstring | null#

ISO 8601 timestamp of the customer's first sale, if any.

subscriptionCanceledAtstring | null#

ISO 8601 timestamp when the subscription was canceled, if any.