Skip to content
HALOWERK

Blockchain Data

coinwerk / invoice deposit due

Coinwerk: Determine the outstanding minimum deposit against a floor-rounded deposit already paid. Target deposit rounds up. Uses supplied records only. USDC amounts are integer micro-USDC strings; rates labeled bps are basis points.

POST https://kette.halowerk.com/v1/coinwerk/invoice-deposit-due

Inputs

Fields of the published input schema
FieldTypeRequiredDescription
invoice_unitsstringYes
deposit_bpsstringYes
paid_deposit_unitsstringYes
Show full input schema
{
  "type": "object",
  "additionalProperties": false,
  "required": [
    "invoice_units",
    "deposit_bps",
    "paid_deposit_units"
  ],
  "properties": {
    "invoice_units": {
      "type": "string",
      "pattern": "^(0|[1-9][0-9]{0,77})(?![\\s\\S])",
      "maxLength": 79
    },
    "deposit_bps": {
      "type": "string",
      "pattern": "^(0|[1-9][0-9]{0,3}|10000)(?![\\s\\S])",
      "maxLength": 79
    },
    "paid_deposit_units": {
      "type": "string",
      "pattern": "^(0|[1-9][0-9]{0,77})(?![\\s\\S])",
      "maxLength": 79
    }
  }
}

Open original schema

Published input example

{
  "invoice_units": "101",
  "deposit_bps": "2500",
  "paid_deposit_units": "10"
}

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