Write OffsV1

Get write-off

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

Retrieves a previously created write off by its write_off_id.

Path parameters

write_off_id
UUID

Response

This endpoint return a union.
Patient
OR
Insurance
GET
/api/write-offs/v1/:write_off_id
curl https://api.joincandidhealth.com/api/write-offs/v1/d5e9c84f-c2b2-4bf4-b4b0-7ffd7a9ffc32 \
-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"
}