Saltar al contenido principal

RefundPaymentInput

Input for refundPayment. The Refund payment dialog of the payment page sends it.

input RefundPaymentInput {
paymentId: ID!
amount: Int!
refundReason: RefundReason
}

Fields​

RefundPaymentInput.paymentId ● ID! non-null scalar​

ID of the payment to refund (Charge.id).

RefundPaymentInput.amount ● Int! non-null scalar​

The amount to refund, in the smallest currency unit. It must not exceed the amount not yet refunded (the captured amount for an authorized payment).

RefundPaymentInput.refundReason ● RefundReason enum​

The reason for refunding the Payment (Reason of the refund).

Member Of​

refundPayment mutation