NewFxRateInput
input type
Create-input for an FxRate.
Fields
| Field | Type | Required | Notes |
|---|---|---|---|
caption | String | no | Optional: when omitted the per-type default applies — the window coordinate <from>/<to> <mode payload> from <startAt>; when supplied it must be non-blank. |
organizationId | ID | no | |
logicalFacilityId | ID | no | |
fromCurrency | String String! | yes | The from (tendered/foreign) currency — a platform-registry code inside the anchor organization's allowed set. |
toCurrency | String String! | yes | The TO (settlement) currency — a platform-registry code inside the anchor organization's allowed set; must differ from fromCurrency. |
mode | String String! | yes | absolute (buy+sell required) | adjust (adjustPpm required, feeMinor optional; org/LF only) | par (no rate fields; org/LF only). |
buyRateMicro | Int | no | Absolute only — integer micro to-per-from (1.25 = 1250000). |
sellRateMicro | Int | no | Absolute only — integer micro to-per-from. |
adjustPpm | Int | no | Adjust only — signed, non-zero, ±500000 (±50%). |
feeMinor | Int | no | Adjust only, optional — TO-currency minor units, reducing the credited amount. |
startAt | String | no | The window start (inclusive; UTC ISO-8601). Optional — absent = effective NOW (server-stamped); explicit values must be >= the server now (no past starts). |
endAt | String String! | yes | The window end (exclusive; UTC ISO-8601). Always required (far-future = the standing rate); must be strictly after startAt. |