Skip to main content

storedPaymentMethodRequestDelete Mutation

Request to delete a stored payment method on payment provider side.

Requires the AUTHENTICATED_USERpermission.

Triggers the following webhook events:

  • STORED_PAYMENT_METHOD_DELETE_REQUESTED (sync): The customer requested to delete a payment method.
storedPaymentMethodRequestDelete(
channel: String!
id: ID!
): StoredPaymentMethodRequestDelete
Show return type

Arguments

channel ● String!

Slug of a channel related to delete request.

id ● ID!

The ID of the payment method.

Type

StoredPaymentMethodRequestDelete

Request to delete a stored payment method on payment provider side.

Requires the AUTHENTICATED_USERpermission.

Triggers the following webhook events:

  • STORED_PAYMENT_METHOD_DELETE_REQUESTED (sync): The customer requested to delete a payment method.