AlmondTill/G3N API

ProcessReaderPaymentInput

input type

Input for processReaderPayment: the reader is never named here — it resolves from the caller'S device session (the composite-POS law: exactly ONE active registered card reader on the paired device). amountMinor = the portion applied toward the order balance (≤ the remainder exactly); tipMinor charges ON top. The op returns the created Payment and the reader takes over — poll the payment record: the processor confirm commits the tender + the authorize flip; a reader decline lands it failed.

Fields

FieldTypeRequiredNotes
orderIdID ID!yes
expectedRevisionID ID!yesThe Order revision the caller read.
amountMinorInt Int!yesThe amount applied toward the order balance in minor units (≤ the remainder exactly — the applyTender card law).
tipMinorIntnoThe tip charged ON top of amountMinor.
reasonStringno
captionStringnoOptional caption override.
refsString [String!]noProvenance document refs (bounded free strings).

Used by