Webhook event
refund.created
A Refund was created.
Payload schema
api_versionanyrequiredcontextobjectPresent only when
sourceisapi. Identifies the acting project and API key.developer_platform_api_key_idstring | null · uuiddeveloper_platform_project_idstring | null · uuid
created_atstring · date-timerequiredAn ISO 8601 timestamp in UTC, with a
Zsuffix. For example,2026-07-01T09:00:00Z.dataobjectrequiredobjectobjectrequiredamountintegerrequiredThe refunded amount in minor currency units.
created_atstring · date-timerequiredAn ISO 8601 timestamp in UTC, with a
Zsuffix. For example,2026-07-01T09:00:00Z.currencystring | nullrequiredThe ISO 4217 currency code.
errorstring | nullrequiredThe failure message when the Refund did not complete.
idstring · uuidrequiredThe resource's unique identifier, formatted as an RFC 4122 version 4 UUID.
invoice_idstring | null · uuidrequiredThe Invoice associated with the refunded Payment, when one is assigned.
linksobjectrequiredURLs to related resources.
patientstring | null · urirequiredThe full URL of a related resource.
notesstring | nullrequiredInternal notes recorded with the Refund.
objectanyrequiredDiscriminator value emitted at
object.patient_idstring | null · uuidrequiredThe Patient associated with the Refund.
payment_idstring | null · uuidrequiredThe Payment this Refund was issued against.
reasonstring | nullrequiredThe reason the Refund was issued.
Allowed values:
other | other_party_will_pay | overcharged | overpaid | service_not_delivered | nullrefund_sourcestring | nullrequiredHow the Refund is paid.
Allowed values:
bank_account | deduction_from_balance | payment_account | nullstatusstring | nullrequiredThe Refund's current status.
Allowed values:
canceled | failed | processing | requires_action | succeeded | nullsucceeded_atstring | null · date-timerequiredAn ISO 8601 timestamp in UTC, with a
Zsuffix. For example,2026-07-01T09:00:00Z.updated_atstring · date-timerequiredAn ISO 8601 timestamp in UTC, with a
Zsuffix. For example,2026-07-01T09:00:00Z.
developer_platform_project_idstring | null · uuidrequiredThe project ID whose credential caused the change. Null for
dashboardevents.idstringrequiredEvent identifier prefixed with
evt_.livemodebooleanrequiredfalsefor test-event deliveries.objectanyrequiredsourcestringrequiredOrigin of the change.
apimeans a Developer Platform mutation;dashboardmeans a Carebit-initiated change.Allowed values:
api | dashboardtypeanyrequired