refundPayment
Issues a refund for a payment. Some payment service providers may limit the maximum amount for or timeframe in which you can refund a payment.
Arguments
Argument | Description |
---|---|
input (RefundPaymentInput!) | Parameters for RefundPayment |
RefundPaymentInput Arguments
Argument | Description |
---|---|
id (ID!) | ID of the payment to issue the refund for. |
amount (Float!) | Amount to refund. |
reason (String!) | Reason for issuing the refund. |
Return fields
errors ([ModelValidationError!]!)
Errors while issuing the refund. Can also contain error messages from the payment service provider.
payment (Payment)
The payment the refund is issued for.
refund (Refund)
The refund when succesfully issued.
Last updated