Skip to content
HALOWERK

Trade Operations

currency range collapse

Currency interval formatting returns the locale price range and flags approximate collapse when distinct bounds round alike. Use it when an agent needs the actual buyer-visible range after currency rounding.

POST https://handel.halowerk.com/v1/currency-range-collapse

Inputs

Fields of the published input schema
FieldTypeRequiredDescription
amountnumberYes
currencystringYes
localestringYes
uppernumberYes
displaySee schemaYes
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
    },
    "upper": {
      "type": "number",
      "minimum": -10000000000,
      "maximum": 10000000000
    },
    "display": {
      "enum": [
        "symbol",
        "narrowSymbol",
        "code",
        "name"
      ]
    }
  },
  "required": [
    "amount",
    "currency",
    "locale",
    "upper",
    "display"
  ],
  "additionalProperties": false
}

Open original schema

Published input example

{
  "amount": 1234.5,
  "currency": "EUR",
  "locale": "de-DE",
  "upper": 1234.501,
  "display": "symbol"
}

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