AlmondTill/G3N API

RefundReturnInput

input type

Refund-input for refundReturn.

Fields

FieldTypeRequiredNotes
returnIdID ID!yesNo further notes.
expectedRevisionID ID!yesThe doc revision the caller read.
methodReturnRefundMethod ReturnRefundMethod!yesThe routing method: cash reaches the drawer; original_tender walks the reversible money LIFO — instrument redemptions reverse INTERNALLY, integrated payments through the processor; store_credit MINTS a customer-bound instrument.
referenceStringnoOptional external reference (a processor id / credit-slip number).
tillSessionIdIDnoThe OPEN drawer session paying out — REQUIRED for method=cash, REFUSED otherwise.
customerOrderCustomerInputnoThe store-credit customer binding: this block ∥ the Return's order-capture copy; absent BOTH, the mint refuses VALIDATION/INVALID naming it.

Used by