A tracked commission starts in pending, or approved when its flow approves immediately; one created through POST /v2/commissions defaults to approved. A Stripe refund of an already-paid commission also creates one, with type: "refund" and a negative amount.
Every webhook is delivered as JSON with the same envelope, commission.created carries the commission in data:
string
The event name, commission.created.
object
The commission this event is about.
Hide data
string
Unique id for the commission.
string | null
What the partner earns, in cents, serialized as a string, e.g. "980".
string | null
The sale amount the commission was calculated from, in cents, serialized as a string.
string | null
ISO currency code, e.g. usd.
string | null
Typically pending, approved, paid, rejected, or refunded.
string | null
How it was earned, e.g. sale.
string | null
Where the underlying sale came from, e.g. stripe.
string | null
The partner who earned it.
string | null
The transaction it was calculated from.
string | null
The customer whose payment triggered it.
string | null
The payout it was paid in, once paid.
string | null
The program it belongs to.
string
Your organization id.
string
ISO 8601 timestamp when the commission was created.
string
ISO 8601 timestamp when it was last updated.
string
ISO 8601 time the event was emitted.
Deliveries can carry more fields than listed here, and the example below is shortened, so ignore fields you don't use.