Write OffsV1

Revert write-off

Beta
POST
https://api.joincandidhealth.com/api/write-offs/v1/:write_off_id/revert

Reverts a write off given a write_off_id.

Path parameters

write_off_id
UUID

Response

This endpoint return a union.
Patient
OR
Insurance
POST
/api/write-offs/v1/:write_off_id/revert
curl -X POST https://api.joincandidhealth.com/api/write-offs/v1/d5e9c84f-c2b2-4bf4-b4b0-7ffd7a9ffc32/revert \
-H "Authorization: Bearer <token>"
Response
{
"type": "patient",
"amount_cents": 0,
"service_line_id": "d5e9c84f-c2b2-4bf4-b4b0-7ffd7a9ffc32",
"write_off_id": "d5e9c84f-c2b2-4bf4-b4b0-7ffd7a9ffc32",
"write_off_reason": "SMALL_BALANCE",
"write_off_timestamp": "2023-01-01T00:00:00Z",
"reverted_by_write_off_id": "d5e9c84f-c2b2-4bf4-b4b0-7ffd7a9ffc32",
"reverts_write_off_id": "d5e9c84f-c2b2-4bf4-b4b0-7ffd7a9ffc32",
"write_off_note": "string"
}