REST API

Required Fields for Processing a Sale with On-Receipt Tipping

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