refundPayment
Refunds a captured payment, fully or partially. Refunds are validated against the captured operation (for AUTH+CAPTURE flows the capture operation is used). Repeated refund calls with the same paymentId and amount in quick succession are deduplicated. Account must have refunds enabled.
refundPayment(
input: RefundPaymentInput!
): Payment
Arguments
refundPayment.input ● RefundPaymentInput! non-null input
Type
Payment object
Payment returned from create/refund/capture/cancel and the send-link/receipt mutations.