REST API

Required Fields for Processing a Sale with On-Receipt Tipping

serialNumber
Set this field to the serial number of the terminal.
request.type
Set this field to
PaymentRequest
.
request.merchantReferenceCode
Set this field to a unique, user-defined reference code. The code can consist of up to 50 alphanumeric characters, underscores (_), and dashes (-).
request.amountDetails.amount
Set this field to the transaction amount.
request.amountDetails.currency
Set this field to the currency code.
request.capture
Set this field to
false
.
request.askForTip
Set this field to
ON_RECEIPT
.