{
"id": "msg_xxxxxxxxxxxxxxxxxxxxxxxx",
"api_version": "v1",
"timestamp": "2025-01-01T00:00:00.000Z",
"type": "invoice.paid",
"data": {
"id": "inv_xxxxxxxxxxxxxx",
"created_at": "2023-12-01T05:00:00.401Z",
"status": "draft",
"number": "#0001",
"due_date": "2023-12-01T05:00:00.401Z",
"email_address": "customer@example.com",
"fetch_invoice_token": "eyJhbGciOiJIUzI1NiJ9...",
"current_plan": {
"id": "plan_xxxxxxxxxxxxx",
"formatted_price": "$10.00",
"currency": "usd"
},
"user": {
"id": "user_xxxxxxxxxxxxx",
"name": "John Doe",
"username": "johndoe42"
}
},
"company_id": "biz_xxxxxxxxxxxxxx"
}Sent when a invoice is paid
Required permissions:
invoice:basic:readwebhook_receive:invoices{
"id": "msg_xxxxxxxxxxxxxxxxxxxxxxxx",
"api_version": "v1",
"timestamp": "2025-01-01T00:00:00.000Z",
"type": "invoice.paid",
"data": {
"id": "inv_xxxxxxxxxxxxxx",
"created_at": "2023-12-01T05:00:00.401Z",
"status": "draft",
"number": "#0001",
"due_date": "2023-12-01T05:00:00.401Z",
"email_address": "customer@example.com",
"fetch_invoice_token": "eyJhbGciOiJIUzI1NiJ9...",
"current_plan": {
"id": "plan_xxxxxxxxxxxxx",
"formatted_price": "$10.00",
"currency": "usd"
},
"user": {
"id": "user_xxxxxxxxxxxxx",
"name": "John Doe",
"username": "johndoe42"
}
},
"company_id": "biz_xxxxxxxxxxxxxx"
}A unique identifier for this webhook request
"msg_xxxxxxxxxxxxxxxxxxxxxxxx"
The signature of the webhook request with the webhook version prepended
"v1,BASE64ENCODEDSIGNATURE"
The timestamp in seconds since the Unix epoch that the webhook was sent at on the server
"1727606400"
A unique ID for every single webhook request
"msg_xxxxxxxxxxxxxxxxxxxxxxxx"
The API version for this webhook
"v1""v1"
The timestamp in ISO 8601 format that the webhook was sent at on the server
"2025-01-01T00:00:00.000Z"
The webhook event type
"invoice.paid""invoice.paid"
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.
Show child attributes
The company ID that this webhook event is associated with
"biz_xxxxxxxxxxxxxx"
Return a 200 status to indicate that the data was received successfully
Was this page helpful?