NewStoredValueInstrumentInput
input type
Create-input for the direct instrument lanes. Dual-birth by initialBalanceMinor: present = immediate active (the issue entry rides the create transaction; reason required — money is born); absent = staged inactive stock (code required — the plastic carries its number).
Fields
| Field | Type | Required | Notes |
|---|---|---|---|
caption | String | no | Optional: when omitted the per-type default applies — the instrumentType + the normalized code; when supplied it must be non-blank. |
organizationId | ID ID! | yes | The issuing org (in-tenant + active) — its defaultCurrency stamps the instrument. |
instrumentType | StoredValueInstrumentType StoredValueInstrumentType! | yes | One of the values of [StoredValueInstrumentType](/types/StoredValueInstrumentType/). |
code | String | no | The RAW code (1..64 pre-normalization) — required on the staged arm (printed stock carries its number); omitted on the immediate arm = system-minted. |
reloadable | Boolean | no | gift_card only; refused on certificate/credit (strict both ways). |
initialBalanceMinor | Int | no | Present = immediate-active birth loading this value (the issue entry rides the transaction); absent = staged inactive stock. |
customer | OrderCustomerInput | no | Required on store_credit; optional bearer-binding on gift instruments. |
reason | String | no | Required on the immediate-active arm. |