Skip to main content
PUT
/
billing
/
invoice
/
execute-action
Execute Action
curl --request PUT \
  --url https://api.decodahealth.com/billing/invoice/execute-action \
  --header 'API-KEY: <api-key>' \
  --header 'Content-Type: application/json' \
  --header 'TENANT: <tenant>' \
  --data '
{
  "invoiceSetIds": [
    "<string>"
  ],
  "actionType": "resume",
  "ruleSetId": "<string>",
  "writeOffReason": "<string>"
}
'
{
  "detail": [
    {
      "loc": [
        "<string>"
      ],
      "msg": "<string>",
      "type": "<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
invoiceSetIds
string[]
required
actionType
enum<string>
required
Available options:
resume,
pause,
change rule set,
to-collections,
cancel,
write-off
ruleSetId
string | null
writeOffReason
string | null

Response

Successful Response