Payment Method

Payment Method: Delete

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.
  1. Node
gateway.paymentMethod.delete("theToken", (err) => {});
Arguments
tokenrequired, String
The alphanumeric value that references a specific payment method stored in your Vault.
Additional Parameters

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

If you accept cookies, we’ll use them to improve and customize your experience and enable our partners to show you personalized PayPal ads when you visit other sites. Manage cookies and learn more