Create patient refund

Beta
Creates a new patient refund record and returns the newly created PatientRefund object. The allocations can describe whether the refund is being applied toward a specific service line, claim, or billing provider.

Authentication

AuthorizationBearer

OAuth authentication of the form <token>.

Request

This endpoint expects an object.
amount_centsintegerRequired
patient_external_idstringRequired
allocationslist of objectsRequired
refund_timestampdatetimeOptional
refund_notestringOptional
invoiceUUIDOptional
refund_reasonenumOptional
Allowed values:
allocation_restrictionslist of objectsOptional

Optional restrictions constraining which claims this refund’s credit can be auto-allocated to (e.g. billing provider NPI). Restriction (type, value) pairs must be unique. When omitted, the refund is unrestricted. Refunds created from an existing payment inherit that payment’s restrictions instead.

raise_on_overdraftbooleanOptional
If true, the refund will be rejected if it would cause any account to be overdrafted. Defaults to false.

Response

This endpoint returns an object.
patient_refund_idUUID
organization_idUUID
refund_sourceenum
amount_centsinteger
patient_external_idstring
allocationslist of objects
source_internal_idstring
refund_timestampdatetime
refund_notestring
invoiceUUID
refund_reasonenum

Errors

403
Unauthorized Error
404
Entity Not Found Error
422
Reallocation Would Overdraft Error
422
Unprocessable Entity Error