AlmondTill/G3N API

Payment

The Payment family — 6 operations.

A payment is a card charge against an order as the processor sees it — authorized (the hold), captured, settled or failed. Payments are made at the till and the online channels, never here; the back office reads them here — the amount, the tip, the currency, the card brand and last four, and the processor references — and follows each one to its order and its tender.

Operations

OperationKindWhat it does
authorizePaymentmutationAuthorize a card payment — reserve the money on the customer’s card without taking it yet.
cancelPaymentmutationCancel a payment on an order.
capturePaymentmutationCapture an authorized card payment — actually take the reserved money.
paymentqueryLook up one record — a payment on an order.
paymentsqueryThe payment list — each entry is a payment on an order.
voidPaymentmutationVoid a payment on an order — cancel it as if it should not have happened, keeping the paper trail.