Skip to content
HALOWERK

Blockchain Data

coinwerk / ledger unposted accrual

Coinwerk: Calculate the period-end liability for approved expenses less posted charges and approved reversals. Uses supplied records only. USDC amounts are integer micro-USDC strings; rates labeled bps are basis points.

POST https://kette.halowerk.com/v1/coinwerk/ledger-unposted-accrual

Inputs

Fields of the published input schema
FieldTypeRequiredDescription
approved_unitsarrayYes
posted_unitsarrayYes
reversals_unitsarrayYes
Show full input schema
{
  "type": "object",
  "additionalProperties": false,
  "required": [
    "approved_units",
    "posted_units",
    "reversals_units"
  ],
  "properties": {
    "approved_units": {
      "type": "array",
      "maxItems": 100,
      "items": {
        "type": "string",
        "pattern": "^(0|[1-9][0-9]{0,77})(?![\\s\\S])",
        "maxLength": 79
      }
    },
    "posted_units": {
      "type": "array",
      "maxItems": 100,
      "items": {
        "type": "string",
        "pattern": "^(0|[1-9][0-9]{0,77})(?![\\s\\S])",
        "maxLength": 79
      }
    },
    "reversals_units": {
      "type": "array",
      "maxItems": 100,
      "items": {
        "type": "string",
        "pattern": "^(0|[1-9][0-9]{0,77})(?![\\s\\S])",
        "maxLength": 79
      }
    }
  }
}

Open original schema

Published input example

{
  "approved_units": [
    "100",
    "40"
  ],
  "posted_units": [
    "90"
  ],
  "reversals_units": [
    "5"
  ]
}

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