Scalars

Primitive scalar types used across Decal's API — DateTime, CurrencyAmount, and other value types.

Scalar types represent single primitive values. These types appear throughout Decal's API in request and response fields.

DateTime

An ISO 8601 datetime string, always in UTC, with millisecond precision.

YYYY-MM-DDTHH:mm:ss.sssZ

Example: 2026-04-15T10:00:00.000Z

All DateTime values in Decal's API are returned as UTC strings. When parsing, treat the Z suffix as UTC (+00:00).

CurrencyAmount

An integer representing a monetary value in the smallest unit of the currency — cents for USD.

AmountCurrencyAmount
$1.00100
$4.50450
$12.991299

Never pass a decimal. 1 means one cent ($0.01), not one dollar. All CurrencyAmount fields in Decal's API use this convention for both inputs and outputs.