Saltar al contenido principal

CancelPaymentInput

Input for cancelPayment. Cancels a payment that waits for the customer (PENDING) or voids an authorization before capture (AUTHORIZED).

input CancelPaymentInput {
paymentId: ID!
cancellationReason: CancellationReason
}

Fields​

CancelPaymentInput.paymentId ● ID! non-null scalar​

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

CancelPaymentInput.cancellationReason ● CancellationReason enum​

The reason for canceling the Payment (Cancellation reason).

Member Of​

cancelPayment mutation