createRefund
MUTATIONDeprecated: Use createReversal instead.
This call will create a refund for a transaction.
Arguments
transaction_idRequired
The Pay Theory unique identifier for the transaction to refund.
amountRequired
The amount of the refund. This must be less than or equal to the amount of the transaction.
refund_reasonRequired
The reason for the refund. This is required for all refunds and is made up of the following.
refund_email
The email address to send the refund receipt to. If not provided an email will not be sent out.