Skip to content
HALOWERK

Blockchain Data

coinwerk / billing support credit

Coinwerk: Compute a service credit per full outage interval after grace, capped against the period fee. Uses supplied records only. USDC amounts are integer micro-USDC strings; rates labeled bps are basis points.

POST https://kette.halowerk.com/v1/coinwerk/billing-support-credit

Inputs

Fields of the published input schema
FieldTypeRequiredDescription
outage_minutesstringYes
grace_minutesstringYes
interval_minutesstringYes
credit_per_interval_unitsstringYes
period_fee_unitsstringYes
Show full input schema
{
  "type": "object",
  "additionalProperties": false,
  "required": [
    "outage_minutes",
    "grace_minutes",
    "interval_minutes",
    "credit_per_interval_units",
    "period_fee_units"
  ],
  "properties": {
    "outage_minutes": {
      "type": "string",
      "pattern": "^(0|[1-9][0-9]{0,77})(?![\\s\\S])",
      "maxLength": 79
    },
    "grace_minutes": {
      "type": "string",
      "pattern": "^(0|[1-9][0-9]{0,77})(?![\\s\\S])",
      "maxLength": 79
    },
    "interval_minutes": {
      "type": "string",
      "pattern": "^[1-9][0-9]{0,77}(?![\\s\\S])",
      "maxLength": 79
    },
    "credit_per_interval_units": {
      "type": "string",
      "pattern": "^(0|[1-9][0-9]{0,77})(?![\\s\\S])",
      "maxLength": 79
    },
    "period_fee_units": {
      "type": "string",
      "pattern": "^(0|[1-9][0-9]{0,77})(?![\\s\\S])",
      "maxLength": 79
    }
  }
}

Open original schema

Published input example

{
  "outage_minutes": "65",
  "grace_minutes": "5",
  "interval_minutes": "15",
  "credit_per_interval_units": "30",
  "period_fee_units": "100"
}

Result & documentation

Machine-readable documentation of this hub

Source of this page: the published HALOWERK catalog. Updated: 2026-12-05 UTC.

More endpoints in this hub

All endpoints in this hub โ†’