curl --request PUT \
--url https://api.decodahealth.com/billing/invoice/{invoice_id}/send-now \
--header 'API-KEY: <api-key>' \
--header 'TENANT: <tenant>'{
"id": "<string>",
"status": "PENDING",
"amount": 123,
"methodsAttempted": [
[
true,
"<string>"
]
],
"method": "CHARGE_CARD",
"rule": {
"id": "<string>",
"name": "<string>",
"methods": [
"CHARGE_CARD"
],
"delayInDays": 123,
"message": "<string>"
},
"sendTime": "2023-11-07T05:31:56Z",
"pausedDate": "2023-11-07T05:31:56Z",
"resumedDate": "2023-11-07T05:31:56Z",
"failedReason": "<string>",
"pdfPath": "<string>",
"emailStatus": "<string>",
"smsContent": "<string>",
"callStatus": "<string>"
}curl --request PUT \
--url https://api.decodahealth.com/billing/invoice/{invoice_id}/send-now \
--header 'API-KEY: <api-key>' \
--header 'TENANT: <tenant>'{
"id": "<string>",
"status": "PENDING",
"amount": 123,
"methodsAttempted": [
[
true,
"<string>"
]
],
"method": "CHARGE_CARD",
"rule": {
"id": "<string>",
"name": "<string>",
"methods": [
"CHARGE_CARD"
],
"delayInDays": 123,
"message": "<string>"
},
"sendTime": "2023-11-07T05:31:56Z",
"pausedDate": "2023-11-07T05:31:56Z",
"resumedDate": "2023-11-07T05:31:56Z",
"failedReason": "<string>",
"pdfPath": "<string>",
"emailStatus": "<string>",
"smsContent": "<string>",
"callStatus": "<string>"
}The tenant you are making this request on behalf of
Your api key
Successful Response
The status of an invoice.
PENDING, SENT, FAILED, PAUSED, CANCELLED Show child attributes
The method used to send an invoice to a patient.
CHARGE_CARD, SMS, EMAIL, CALL, MAIL, EXPIRY Show child attributes