Reverse a transaction and return a payload that includes either the voided transaction or a refund. When using an OAuth Access Token to call this mutation, it must include the TRANSACTION_REFUND and TRANSACTION_VOID scopes.
This mutation requires:
inputReverseTop-level output field for reversing a transaction.
reversalTransactionA transaction (if the original transaction was voided) or refund (if the original transaction was refunded). A reversal will attempt to void the original transaction if it has not yet settled. If the original transaction has settled, a reversal will create a refund for the full amount.