ApplyTenderInput
input type
Apply-input for applyTender: collectedMinor = the cash physically handed over (before change, tip included) or the externally-authorized amount. cash requires the open till session and refuses the capture block; external_card the exact mirror; foreign_cash names the tendered currency (collectedCurrency — collectedMinor is in ITS minor units), requires the till, is converted at OUR stored BUY rate (settle + change in the org default currency; no covering rate = CONFLICT/NO_EFFECTIVE_RATE, retryable), and carries no tip (a named deferral). Dormant types refuse VALIDATION/UNSUPPORTED naming their arrival.
Fields
| Field | Type | Required | Notes |
|---|---|---|---|
orderId | ID ID! | yes | |
expectedRevision | ID ID! | yes | The Order revision the caller read. |
tenderType | TenderType TenderType! | yes | One of the values of [TenderType](/types/TenderType/). |
collectedMinor | Int Int! | yes | The positive physical/authorized amount in minor units. |
collectedCurrency | String | no | The tendered currency — required iff foreign_cash, refused otherwise. A platform-registry code inside the selling organization's allowed set. |
tipMinor | Int | no | The tip portion of collectedMinor. Refused on foreign_cash. |
tillSessionId | ID | no | The open drawer session — required for cash/foreign_cash, refused otherwise. |
externalCard | TenderExternalCardInput | no | The pinpad capture — required for external_card, refused otherwise. |
card | TenderCardInput | no | The tokenized method presentation — required for card, refused otherwise. |
instrument | TenderInstrumentInput | no | The instrument presentation — required for gift_card/gift_certificate/store_credit, refused otherwise. The redeem lane: active-only · type⟺tender · same-currency · ≤ the remaining due (NO change — the no-cash-out strict default) · ≤ the balance (CONFLICT/INSUFFICIENT_BALANCE — exhaust exactly + split-tender the remainder); NO tip; NO tillSessionId (no drawer money). |
reason | String | no | Optional — why this tender (at most 256 characters). When the tender charges a house account (on_account) the reason is recorded on that ledger too — at most 256 characters there. |
caption | String | no | Optional caption override. |
refs | String [String!] | no | Provenance document refs (bounded free strings). |