Webhooks
New Payment
Sent when a payment is recorded on an invoice.
WEBHOOK
When it’s sent
- A payment is recorded on an invoice.
- An invoice is created or edited together with a payment. When an insurance invoice is edited, the insurance share is sent with
payment_type=INSURANCE. - A diagnostic fee is paid when collecting it or when booking the appointment (not for online payments, which are sent when the payment is confirmed).
type is NEW_PAYMENT. See the introduction to subscribe to this event and verify the X-Hub-Signature-256 signature.Headers
Body
application/json
Sent when a payment is recorded on an invoice.
Response
200
Return any 2xx status within 5 seconds to acknowledge the event. Failed deliveries are not retried.