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!No further notes.
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.