Skip to content
HALOWERK

Trade Operations

currency compact label fit

Currency label fitting checks full, symbol and compact price forms against a grapheme budget. Use it when an agent needs the most detailed permitted price label that fits a field.

POST https://handel.halowerk.com/v1/currency-compact-label-fit

Inputs

Fields of the published input schema
FieldTypeRequiredDescription
amountnumberYes
currencystringYes
localestringYes
widthintegerYes
Show full input schema
{
  "type": "object",
  "properties": {
    "amount": {
      "type": "number",
      "minimum": -10000000000,
      "maximum": 10000000000
    },
    "currency": {
      "type": "string",
      "maxLength": 8,
      "minLength": 1
    },
    "locale": {
      "type": "string",
      "maxLength": 60,
      "minLength": 1
    },
    "width": {
      "type": "integer",
      "minimum": 1,
      "maximum": 120
    }
  },
  "required": [
    "amount",
    "currency",
    "locale",
    "width"
  ],
  "additionalProperties": false
}

Open original schema

Published input example

{
  "amount": 1234.5,
  "currency": "EUR",
  "locale": "de-DE",
  "width": 9
}

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