Webhooks
New Balance Invoice
Sent when money is added to a patient’s balance (credit). Same fields as a new invoice; invoice_line_ids is always empty.
WEBHOOK
When it’s sent
- Money is added to a patient’s balance (credit) directly.
- A patient pays more than what’s left on an invoice. The extra amount goes to the patient’s balance, and Dentolize sends
NEW_PAYMENTfor the invoice payment, thenNEW_BALANCE_INVOICEandNEW_BALANCE_PAYMENTfor the extra.
type is NEW_BALANCE_INVOICE. See the introduction to subscribe to this event and verify the X-Hub-Signature-256 signature.
The payload has the same fields as New invoice, with an empty
invoice_line_ids list.Headers
Body
application/json
Sent when money is added to a patient's balance (credit). Same fields as a new invoice; invoice_line_ids is always empty.
Response
200
Return any 2xx status within 5 seconds to acknowledge the event. Failed deliveries are not retried.