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!yesNo further notes.
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.
reasonStringnoNo further notes.
captionStringnoOptional caption override.
refsString [String!]noProvenance document refs (bounded free strings).

Used by