performReversal

@JvmStatic
fun performReversal(context: Context, paymentLauncher: ActivityResultLauncher<Intent>, transactionRequestReversal: TransactionRequestReversal)

Performs a reversal transaction. As opposed to a regular transaction, this does not contain any UI.

Parameters

context

The Context used to perform a reversal transaction.

paymentLauncher

The ActivityResultLauncher used to receive the result of the reversal transaction.

transactionRequestReversal

The reversal request in the form of a Terminal API JSON string.