Invoice Paid
Sent when a invoice is paid
Required permissions:
- invoice:basic:read
- member:email:read
- member:basic:read
- payment:basic:read
- webhook_receive:invoices
Headers
A unique identifier for this webhook request
The signature of the webhook request with the webhook version prepended
The timestamp in seconds since the Unix epoch that the webhook was sent at on the server
Payload
The account ID that this webhook event is associated with
The API version for this webhook
The dated API version (Api-Version-Date) the payload is serialized to
An invoice represents an itemized bill sent by a company to a customer for a specific product and plan, tracking the amount owed, due date, and payment status.
A unique ID for every single webhook request
For some .updated events, the old values of the payload fields that changed, keyed by field name. Omitted when no capture is available for the event
The timestamp in ISO 8601 format that the webhook was sent at on the server
The webhook event type
Example payload
{
"account_id": "biz_xxxxxxxxxxxxxx",
"api_version": "v1",
"api_version_date": "2026-07-20",
"data": {
"automatically_finalizes_at": "2023-12-01T05:00:00.401Z",
"company": {
"id": "biz_xxxxxxxxxxxxxx",
"logo": {
"url": "https://media.whop.com/abc123/optimized.jpg"
},
"title": "Shine Time Auto Detailing"
},
"created_at": "2023-12-01T05:00:00.401Z",
"current_plan": {
"billing_period": 42,
"currency": "usd",
"description": "Monthly maintenance washes, interior vacuuming, and a quarterly sealant top-up.",
"formatted_price": "$10.00",
"id": "plan_xxxxxxxxxxxxx",
"initial_price": 6.9,
"renewal_price": 6.9,
"trial_period_days": 42
},
"customer_name": "Dana Whitfield",
"due_date": "2023-12-01T05:00:00.401Z",
"email_address": "customer@example.com",
"fetch_invoice_token": "eyJhbGciOiJIUzI1NiJ9...",
"id": "inv_xxxxxxxxxxxxxx",
"line_items": [
{
"label": "Platform subscription",
"position": 42,
"quantity": 6.9,
"total": 6.9,
"unit_price": 6.9
}
],
"number": "#0001",
"payment": {
"id": "pay_xxxxxxxxxxxxxx"
},
"product": {
"id": "prod_xxxxxxxxxxxxx",
"title": "Ceramic Coating Package"
},
"subscription_billing_anchor_at": "2023-12-01T05:00:00.401Z",
"updated_at": "2023-12-01T05:00:00.401Z",
"user": {
"email": "john.doe@example.com",
"id": "user_xxxxxxxxxxxxx",
"name": "Marcus Webb",
"username": "marcuswebb"
}
},
"id": "msg_xxxxxxxxxxxxxxxxxxxxxxxx",
"timestamp": "2025-01-01T00:00:00.000Z",
"type": "invoice.paid"
}Response
Return a 200 status to indicate that the data was received successfully
Changes
Webhooks have no change history: a webhook is keyed by its event name rather than a path and method, so no recorded change can name it.