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

Name

Type

Description

Required

paymentMethodID

UUID1

The payment method ID.

Yes

orgID

UUID1

The organization ID.

Yes

Return

Name

Type

Description

N/A

Boolean

Confirmation whether the payment method has been deleted.

Example

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