You can delete a payment method using its token. All associated subscriptions will also be canceled immediately and the customer will forfeit any remaining days they've already paid for.

Node.js
gateway.paymentMethod.delete("theToken", function (err) {});

If the payment method can't be found, it will return a notFoundError.

Arguments
token required, String

The alphanumeric value that references a specific payment method stored in your Vault.

Additional Parameters
revokeAllGrants bool

When true, all grants of the payment method to other merchants will automatically be revoked. The default value is false.