Skip to content

Money & Quantities

Money uses integer minor units plus an ISO 4217 currency code:

{ "amount": 19900, "currency": "COP" }

Do not send or calculate money with binary floating point. The contract does not ask clients to infer currency exponents.

Quantities are exact decimal strings where applicable:

{ "target_quantity": "12.375" }

Preserve them as decimal strings or an exact decimal type. The allowed scale is field-specific; follow the OpenAPI schema.