Write OffsV1

Revert write-off

Beta
POST

Reverts a write off given a write_off_id.

Path parameters

write_off_idUUIDRequired

Response

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