billing

Set or clear a camera's rate override

put/billing/cameras/{camera_id}/rate

Request

  • Base URL
    https://api.verdun.ai (the document declares no server; this is the origin it was published from)
  • URL
    https://api.verdun.ai/billing/cameras/{camera_id}/rate
  • Auth
    HTTP bearer

Path parameters

camera_idstring uuid required

Request body

rate_centsinteger nullable required

Per-camera monthly rate in whole cents (4500 = $45.00), a JSON integer. On a client it is the base rate; on an account, site or camera it overrides the level above. null clears it, so the level inherits again.

Example request

{
  "rate_cents": 4500
}

Response

Successful Response

Example response

{
  "totals": {
    "mrr_cents": 1250000,
    "arr_cents": 15000000,
    "billable_sites": 40,
    "non_billable_sites": 5,
    "billable_cameras": 420,
    "contracted_arr_cents": 30000000,
    "contracted_live_arr_cents": 18000000,
    "live_to_contracted_ratio": 0.6
  },
  "parents": [
    {
      "name": "Imperial Security",
      "rate_cents": 4500,
      "mrr_cents": 540000,
      "arr_cents": 6480000,
      "contracted_arr_cents": 12000000,
      "live_to_contracted_ratio": 0.54,
      "billable_sites": 12,
      "billable_cameras": 120,
      "accounts": [
        {
          "name": "Zeigler Auto"
        }
      ],
      "sites": [
        {
          "name": "Zeigler Chevy Schaumburg",
          "stage": "live",
          "billable": true,
          "inherited_rate_cents": 4500,
          "inherited_rate_source": "parent",
          "camera_count": 12,
          "mrr_cents": 54000,
          "cameras": [
            {
              "label": "Front Lot PTZ",
              "effective_rate_cents": 4500,
              "rate_source": "parent"
            }
          ]
        }
      ]
    }
  ]
}

Changes

No recorded changes to this operation across all 2 revisions of this API.