AlmondTill/G3N API

RefundReturnInput

input type

Refund-input for refundReturn.

Fields

FieldTypeRequiredNotes
returnIdID ID!yes
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