Invoice Webhooks
Summary of invoice events
To configure these events, please contact [email protected] with your organization name, environment, events & webhook URL.
Events
Event | Description |
---|---|
invoice.created | An invoice has been created. |
invoice.processing_payment | The insured invoice is being processed. For ex: ACH Payments |
invoice.paid | The invoice has been paid & funds have cleared Ascend. |
invoice.voided | The invoice has been voided. For ex: Archived or Canceled |
invoice.marked_overdue | The invoice is past it's due date. For ex: When a month payment is past due. |
Sample Response
{
"id": "38270784-e975-444d-bedb-664ae41055e7",
"type": "invoice.paid",
"data": {
"id": "684c8c8e-75eb-4134-925a-cb3a30f23633",
"memo": "Policy(s): I13123 (General Liability)",
"payee": "John Doe Trucking",
"status": "paid",
"paid_at": "2023-10-01T23:51:37.507Z",
"due_date": "2023-10-01",
"issued_at": "2023-09-30T23:51:34.760Z",
"insured_id": "700166b3-860d-40e0-8649-bb806e38acgh",
"payer_name": "John Doe",
"program_id": "5f77e68e-5649-4d14-8f5d-7d95bacb2323",
"invoice_url": "https://",
"invoice_items": [
{
"id": "ad26827a-5104-41c4-932a-d7cda47a5bf0",
"title": "Paid in full for P8045172324",
"amount_cents": 60,
"invoice_item_type": "pay_in_full"
}
],
"invoice_number": "II2DH1HGHJ",
"payment_method": {
"card": {
"brand": "visa",
"last_four_digits": "4256"
},
"payment_type": "card"
},
"total_amount_cents": 600000
}
}
If you have any questions or feedback, we'd love to hear from you. Please reach out to [email protected]
Updated about 1 month ago