Skip to content
HALOWERK

Blockchain Data

coinwerk / billing minimum commit

Coinwerk: Compute the end-of-period true-up on a take-or-pay minimum after eligible spend. 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-minimum-commit

Inputs

Fields of the published input schema
FieldTypeRequiredDescription
commitment_unitsstringYes
spend_unitsstringYes
excluded_unitsstringYes
Show full input schema
{
  "type": "object",
  "additionalProperties": false,
  "required": [
    "commitment_units",
    "spend_units",
    "excluded_units"
  ],
  "properties": {
    "commitment_units": {
      "type": "string",
      "pattern": "^(0|[1-9][0-9]{0,77})(?![\\s\\S])",
      "maxLength": 79
    },
    "spend_units": {
      "type": "string",
      "pattern": "^(0|[1-9][0-9]{0,77})(?![\\s\\S])",
      "maxLength": 79
    },
    "excluded_units": {
      "type": "string",
      "pattern": "^(0|[1-9][0-9]{0,77})(?![\\s\\S])",
      "maxLength": 79
    }
  }
}

Open original schema

Published input example

{
  "commitment_units": "1000",
  "spend_units": "900",
  "excluded_units": "150"
}

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 โ†’