Skip to main content
PUT
/
billing
/
invoice
/
{invoice_id}
Update Invoice
curl --request PUT \
  --url https://api.decodahealth.com/billing/invoice/{invoice_id} \
  --header 'API-KEY: <api-key>' \
  --header 'Content-Type: application/json' \
  --header 'TENANT: <tenant>' \
  --data '
{
  "method": "CHARGE_CARD",
  "sendTime": "2023-11-07T05:31:56Z"
}
'
true

Headers

TENANT
string
required

The tenant you are making this request on behalf of

API-KEY
string
required

Your api key

Path Parameters

invoice_id
string
required

Body

application/json
method
enum<string>
required

The method used to send an invoice to a patient.

Available options:
CHARGE_CARD,
SMS,
EMAIL,
CALL,
MAIL,
EXPIRY
sendTime
string<date-time> | null

Response

Successful Response

The response is of type boolean.