POST
/
v1
/
invoice
/
create
curl --request POST \
  --url https://api.decodahealth.com/v1/invoice/create \
  --header 'API-KEY: <api-key>' \
  --header 'Content-Type: application/json' \
  --header 'TENANT: <tenant>' \
  --data '{
  "chargeId": "<string>",
  "externalId": "<string>",
  "ruleId": "<string>"
}'
{
  "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

Body

application/json

Response

200
application/json

Successful Response

The response is of type object.