GET
/
v1
/
invoice
/
get
/
{invoice_id}
curl --request GET \
  --url https://api.decodahealth.com/v1/invoice/get/{invoice_id} \
  --header 'API-KEY: <api-key>' \
  --header 'TENANT: <tenant>'
{
  "actionId": "<string>",
  "active": true,
  "createdDate": "2023-11-07T05:31:56Z",
  "decodaPaymentLinkUrl": "<string>",
  "id": "<string>",
  "method": "Native",
  "patientId": "<string>",
  "paymentLinkUrl": "<string>",
  "ruleId": "<string>"
}

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

Response

200
application/json
Successful Response
active
boolean
required

Indicates whether this invoice is currently active.

createdDate
string
required

The date and time when this invoice was created.

Decoda-specific URL for payment processing.

id
string
required

Unique identifier for the invoice.

method
enum<string>
required

The method used to communicate this invoice to the patient.

Available options:
Native,
SMS,
MAIL,
CALL,
COLLECTIONS,
EMAIL,
SMS_AND_EMAIL
patientId
string
required

Identifier of the patient associated with this invoice.

URL for the patient to make a payment for this invoice.

actionId
string | null

Identifier of the action that created this invoice, if applicable.

ruleId
string | null

Identifier of the rule that triggered this invoice, if applicable.