Write OffsV1

Create write-off

Beta
POST
https://api.joincandidhealth.com/api/write-offs/v1
Creates one or many write-offs given a specific set of allocations. The allocations can describe whether the refund is being applied toward a specific service line, claim, or billing provider.

Request

This endpoint expects an object.
write_offs
list of unions

Response

This endpoint return an object.
write_offs
list of unions
POST
/api/write-offs/v1
curl -X POST https://api.joincandidhealth.com/api/write-offs/v1 \
-H "Authorization: Bearer <token>" \
-H "Content-Type: application/json" \
-d '{
"write_offs": [
{
"type": "patient",
"amount_cents": 0,
"service_line_id": "d5e9c84f-c2b2-4bf4-b4b0-7ffd7a9ffc32",
"write_off_reason": "SMALL_BALANCE",
"write_off_timestamp": "2023-01-01T00:00:00Z"
}
]
}'
Response
{
"write_offs": [
{
"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"
}
]
}