Skip to content

Webhook payloads ​

Every webhook request contains an event envelope.

FieldTypeDescription
idstringEvent ID with the evt_ prefix.
typestringEvent type.
created_atstringISO 8601 timestamp.
dataobjectEvent-specific data.

Invoice paid ​

json
{
  "id": "evt_49bc21",
  "type": "invoice.paid",
  "created_at": "2026-09-10T08:45:00Z",
  "data": {
    "invoice": {
      "id": "inv_91ac20",
      "customer_id": "cus_4d7c21",
      "status": "paid",
      "total": 161250,
      "currency": "NGN"
    }
  }
}

Payment completed ​

json
{
  "id": "evt_a91f20",
  "type": "payment.completed",
  "created_at": "2026-09-10T08:45:02Z",
  "data": {
    "payment": {
      "id": "pay_72bd13",
      "invoice_id": "inv_91ac20",
      "amount": 161250,
      "currency": "NGN",
      "status": "completed"
    }
  }
}

Cedius is an illustrative API documentation portfolio project.