Pre-1.0 · one maintainer · Stripe and cards only · no SDKs (client libraries) yet · no production users yet. Docs describe v0.12.0 (30 Nov 2026) · What’s new →
The webhook event object
One outbound webhook event, as Hardcount created it.
GET / lists them. Each delivery POSTs
{"id", "event_ to the endpoint, where
data is this event’s payload.
Example
Section titled “Example”{ "id": "hc_whevt_dbj84biq3gpgqfoq5c8g", "tenant_id": "hc_ten_dajqj02q3gpgqfoq5c00", "livemode": false, "event_type": "credit.balance_depleted", "payload": { "credit_balance": { "customer_id": "hc_cus_dakhnk2q3gpgqfoq5c0g", "currency": "USD", "balance_cents": 0, "total_granted": 5000, "total_used": 5000, "total_expired": 0, "total_retired": 0, "total_deducted": 0 } }, "created_at": "2026-11-01T00:05:00Z"}Fields
Section titled “Fields”| Field | Type | Always present | What it means |
|---|---|---|---|
id |
string | Yes | The event’s id (hc_). A replay has its own id but is sent with the original event’s id and created_. |
tenant_ |
string | No | The account the event belongs to. |
livemode |
boolean | Yes | The mode the event happened in. Only endpoints of the same mode get it. |
event_ |
string | Yes | What happened, such as invoice.. Webhook events lists every type. |
payload |
object | Yes | The event’s data: the resource the event is about, under the resource’s name (invoice, subscription, customer, payment_, dunning_ or credit_), as the API returns it, and the few keys the event adds beside it. Webhook events lists what each event carries; payment. and payment. carry a DisputeWebhookEventData; payment. carries a StripeRefundWebhookEventData. |
created_ |
string (date-time) | Yes | When the event was created. |
replay_ |
string | No | Set on a replay. The original event it copies; a replay of a replay points to that same original. Absent on an original event. |
Stuck, or found a bug? Ask in Discussions · Open an issue