Skip to main content
Version: Lab (preview)

createRefund

MUTATION
Deprecated: Use createReversal instead.

This call will create a refund for a transaction.

Arguments

transaction_idRequired
String
The Pay Theory unique identifier for the transaction to refund.
amountRequired
Int
The amount of the refund. This must be less than or equal to the amount of the transaction.
refund_reasonRequired
RefundReasonInput
The reason for the refund. This is required for all refunds and is made up of the following.
refund_email
String
The email address to send the refund receipt to. If not provided an email will not be sent out.

Response

Boolean