Skip to main content

Update a discharge voucher

PUT 

/v1/claims/:claim_id/discharge-voucher/:discharge_voucher_id

This endpoint allows you to update the status of a voucher

Request

Path Parameters

    claim_id integerrequired

    The unique identifier for the claim

    discharge_voucher_id integerrequired

    The unique identifier for a discharge voucher

Body

The request body to be sent with this request

    status stringrequired

    Possible values: [rejected, approved]

    Either approved or rejected. Used to update the status of a discharge voucher

    comment string

    The comment or reason for rejecting a voucher

Responses

OK

Schema
    data object

    Claim

    id integer

    The unique ID of the claim

    status string

    Current status of the claim

    policy object

    Policy

    id integer

    The unique ID of the policy

    number string

    The policy number

    description string

    The description of the policy

    start_date date

    The start date of the coverage

    end_date date

    The end date of the coverage

    status string

    Current status of the policy

    amount_requested string

    The amount requested when creating a claim

    amount_approved string

    The amount approved for the claim

    currency string

    The currency of the amount

    created_at date

    The date and time the claim was created

Loading...