Marketplace API / Mutations
removeStripePaymentMethod
Removes one of the viewer's saved payment methods. It disappears from Viewer.stripePaymentMethods, and if it was the default there is no default until the viewer chooses another. Returns UserInputError when the id is not one of the viewer's saved payment methods.
Requires a client key with one of these scopes:
checkout:payments:manage checkout:paymentMethods:manageremoveStripePaymentMethod(
input: RemoveStripePaymentMethodInput!
): RemoveStripePaymentMethodPayload!Arguments
| Argument | Type | Description |
|---|---|---|
input | RemoveStripePaymentMethodInput! | The saved payment method to remove. |