deletePaymentMethod

This mutation deletes a payment method.

Sample mutation

Perform a deletion of a payment method:

mutation{
  deletePaymentMethod(paymentMethodID:"b2f5cdfd-3550-47ab-a5a2-e21731724ea7" orgID:"8fb128bd-f55d-4bcc-8b6c-0beb684e4d4e")
}

Sample response

{
  "data": {
    "deletePaymentMethod": true
  }
}

Arguments

NameTypeDescriptionRequired
paymentMethodIDUUID1The payment method ID.Yes
orgIDUUID1The organization ID.Yes

Return

NameTypeDescription
N/ABooleanConfirmation whether the payment method has been deleted.

Example

Delete a payment method using an organization ID and payment method ID: