AlmondTill/G3N API

OrderStoredValue

object type

The stored_value entry payload: selling/reloading a StoredValueInstrument AS a line (proceeds = a liability; NO stock movement, NOT engine-matched, tax basis instrument_sale — the untaxed-issuance law; the explicit taxCategory stays inert until a jurisdiction override). Arms resolve at place (commit truth): instrumentId absent ⇒ the place mints (born active + issue; the consumed code drops from the stored line); present + staged inactive ⇒ activates + issues; present + active reloadable gift_card ⇒ reloads (CONFLICT/NOT_RELOADABLE otherwise). store_credit lines refuse (never purchasable); sale-profile only; quantity ≡ 1; carryout only; never discounted.

Fields

FieldTypeNotes
instrumentTypeStoredValueInstrumentType StoredValueInstrumentType!One of the values of [StoredValueInstrumentType](/types/StoredValueInstrumentType/).
instrumentIdIDThe targeted/minted instrument — place stamps it on the mint arm.
codeStringThe normalized merchant-issued code on a PRE-place mint line (consumed + dropped when the place stamps instrumentId).
taxCategoryTaxCategory TaxCategory!The explicit tax category (the open_item law) — inert under basis instrument_sale until.