gratuityAmount

The gratuity amount for the transaction. The gratuity amount is added to the transaction amount specified in startTransaction(). This is useful if you are wanting to use a custom gratuity flow outside of the SDK.

Throws

if gratuity is enabled in ToroConfig.