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
| Field | Type | Required | Notes |
|---|---|---|---|
orderId | ID ID! | yes | |
expectedRevision | ID ID! | yes | The Order revision the caller read. |
amountMinor | Int Int! | yes | The amount applied toward the order balance in minor units (≤ the remainder exactly — the applyTender card law). |
tipMinor | Int | no | The tip charged ON top of amountMinor. |
reason | String | no | |
caption | String | no | Optional caption override. |
refs | String [String!] | no | Provenance document refs (bounded free strings). |