Cancel Payment

Use the cancelHostedPayment mutation to cancel a hosted payment that is still in the created state.

mutation {
  cancelHostedPayment(
    paymentRequest: "VHlwZXM6OkNhc2hyYW1wOjpBUEk6Ok1lcmNoYW50UGF5bWVudFJlcXVlc3QtMTFlZDhkZjUtZDI4Ni00MTI3LWJjZjktMTA3NTFkZTYxN2I4"
  )
}

Argument

Name
Type
Required
Description

paymentRequest

ID!

Yes

Global ID of the hosted-payment request to cancel.

Last updated