New Balance Payment
Sent with every balance invoice: the payment that added the money to the patient’s balance.
When it’s sent
- Always sent right after a
NEW_BALANCE_INVOICE, with the payment that added the money to the patient’s balance. Useinvoice_idto link the two.
type is NEW_BALANCE_PAYMENT. See the introduction to subscribe to this event and verify the X-Hub-Signature-256 signature.
Headers
HMAC SHA-256 of the raw request body, keyed with your Verify Token, as sha256=<hex>. Sent only when a Verify Token is set.
"sha256=3f1c5e…"
Body
Sent with every balance invoice: the payment that added the money to the patient's balance.
Payload version.
v1.0 "v1.0"
Event type.
NEW_BALANCE_PAYMENT "NEW_BALANCE_PAYMENT"
Payment ID.
"ckx1y0000001"
Amount paid.
575
Payment method.
CARD, CASH, BALANCE, INSURANCE, CHEQUE, VOUCHER, BANK_TRANSFER, MOBILE_WALLET, BANK, SAFE, OTHER "CASH"
Payment sub-type (e.g. card brand or wallet name).
null
Balance invoice ID (matches the id of the related NEW_BALANCE_INVOICE).
"ckx1i0000002"
Treasury the money was received into.
"ckx1t0000001"
Patient ID.
"ckx1p0000001"
Always outbound.
outbound "outbound"
Response
Return any 2xx status within 5 seconds to acknowledge the event. Failed deliveries are not retried.