# Money OpenVerbs Round

> Money OpenVerbs Round is a paid API for AI agents from money.openverbs.com, paid per call via x402, $0.002/call, status unknown (last checked 2026-09-14).

Rounds a numeric monetary amount to a currency's minor units using a specified rounding mode (banker's, half-up, half-down, ceil, floor, or trunc).

## Facts

- Endpoint: POST https://money.openverbs.com/v1/round
- Price: $0.002/call
- Payment: x402
- Status: unknown
- Last checked: 2026-09-14
- Activations on Zero: 0
- Tags: x402
- Canonical page: https://www.zero.xyz/c/money-openverbs-round-2bf1db8c
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_hSyY6juevYNTwn2ObqIeD

Status and success rate cover calls made through Zero and Zero's own probes. Third-party monitors may report differently.

## How to call it through Zero

Zero handles the 402 payment challenge and records the run. With the Zero CLI installed (`npm i -g @zeroxyz/cli`):

```sh
zero fetch --capability money-openverbs-round-2bf1db8c -d '<json body>'
```

Example prompt: Round 19.455 USD to the correct number of decimal places using banker's rounding (half-even).

## When to prefer this

Use this endpoint when you need deterministic, standards-compliant monetary rounding with full control over rounding mode, especially when working with multiple currencies and needing to respect their official minor-unit precision. Prefer it over generic math rounding when financial correctness matters (e.g. avoiding floating-point errors) or when you need banker's rounding (half-even) for regulatory or accounting compliance.

## Known failure modes

- Missing required 'amount' field returns a validation error
- Invalid currency code (not ISO 4217) may cause an error or be ignored
- minorUnits out of range (>8 or <0) returns a validation error
- Non-numeric amount returns a schema validation error
- Unrecognized rounding mode enum value returns a validation error

## How this service works

Round an amount to a currency's minor units (or an explicit minorUnits) with a chosen rounding mode: half-even (banker's, default), half-up, half-down, ceil, floor or trunc. Give a currency to derive minor units automatically (USD→2, JPY→0).

## Output

A rounded numeric value aligned to the specified currency's minor units (or the explicit minorUnits count), computed using the chosen rounding mode. For example, 19.455 in USD with half-even returns 19.46.

## Request schema (JSON Schema)

```json
{
 "$schema": "https://json-schema.org/draft/2020-12/schema",
 "type": "object",
 "properties": {
  "input": {
   "type": "object",
   "properties": {
    "type": {
     "type": "string",
     "const": "http"
    },
    "method": {
     "type": "string",
     "enum": [
      "POST"
     ]
    },
    "bodyType": {
     "type": "string",
     "enum": [
      "json",
      "form-data",
      "text"
     ]
    },
    "body": {
     "type": "object",
     "properties": {
      "amount": {
       "type": "number",
       "description": "The amount to round."
      },
      "currency": {
       "type": "string",
       "minLength": 3,
       "maxLength": 3,
       "description": "ISO 4217 code used to derive minor units. Optional."
      },
      "minorUnits": {
       "type": "integer",
       "minimum": 0,
       "maximum": 8,
       "description": "Explicit number of minor-unit digits. Overrides currency. Default 2."
      },
      "mode": {
       "type": "string",
       "enum": [
        "half-even",
        "half-up",
        "half-down",
        "ceil",
        "floor",
        "trunc"
       ],
       "description": "Rounding mode. Default half-even (banker's)."
      }
     },
     "required": [
      "amount"
     ],
     "additionalProperties": false
    }
   },
   "required": [
    "type",
    "method",
    "bodyType",
    "body"
   ],
   "additionalProperties": false
  }
 },
 "required": [
  "input"
 ]
}
```

## More

- Live health (JSON, refreshed every minute): https://www.zero.xyz/c/money-openverbs-round-2bf1db8c/health.json
- [Zero catalog index](https://www.zero.xyz/llms.txt)
- [Other services from money.openverbs.com](https://www.zero.xyz/host/money.openverbs.com/llms.txt)
