Kwill
API ReferenceWebhook Events

An invoice was marked as paid

Request Body

application/json
  1. body

The JSON body POSTed to a webhook endpoint.

id*string

Same as the X-Kwill-Event-Id header; stable across retries.

type*"invoice.paid"
Value in"invoice.paid"
created_at*string
Formatdate-time
data*

Response Body

Return any 2xx to acknowledge the event.

Example Requests
POST/invoice.paid
Request Body
application/json
{  "id": "evt_3f2a8b1c4d5e6f70",  "type": "invoice.paid",  "created_at": "2024-03-15T14:22:00Z",  "data": {    "object": {      "id": "b2c3d4e5-f6a7-8901-bcde-f01234567890",      "client_id": "3fa85f64-5717-4562-b3fc-2c963f66afa6",      "project_id": "a1b2c3d4-e5f6-7890-abcd-ef0123456789",      "invoice_number": "INV-0042",      "line_items": [        {          "id": "li-1",          "description": "Design work",          "quantity": 40,          "rate": 125,          "amount": 5000        }      ],      "discount": 0,      "tax_rate": 0,      "currency": "USD",      "subtotal": 5000,      "total": 5000,      "due_date": "2024-04-15",      "note": null,      "status": "paid",      "paid_at": "2024-03-15T14:22:00Z",      "viewed_at": null,      "created_at": "2024-03-15T14:22:00Z",      "client": {        "name": "Jane Smith",        "email": "jane@acme.example"      }    }  }}