cancelPayment
Cancel an in-flight payment.
Arguments
Input fields for cancelling a pending payment.
Examples
The example data in the variables and responses below are autogenerated values designed to resemble real inputs. They do not represent actual customer data, and in some cases may require additional validation.
mutation CancelPayment($input: CancelPaymentInput!) {
cancelPayment(input: $input) {
payment {
...AccountPaymentTypeFragment
}
}
}
Variables
{
"input": CancelPaymentInput
}
Response
{
"data": {
"cancelPayment": {
"payment": AccountPaymentType
}
}
}