Cancel Payment
Use the cancelHostedPayment
mutation to cancel a hosted payment that is still in the created
state.
Argument
Name
Type
Required
Description
paymentRequest
ID!
Yes
Global ID of the hosted-payment request to cancel.
You can only cancel requests whose status
is created
.
Once a payment has progressed to picked_up
, completed
, or canceled
, it can no longer be voided with this mutation.
Last updated