Credit Card
Credit Card: Delete
Important
Typically requires PCI SAQ D compliance We
recommend using
paymentMethod
functions to avoid any PCI concerns with raw credit card data being present on your server.
- PHP
$gateway->creditCard()->delete($creditCardToken);
Arguments
token
required, stringAn alphanumeric value that references a specific payment method stored in your Vault.
Additional Parameters
'initiatedBy'
stringIndicates whether this deletion was initiated by the merchant or the customer (via the merchant site/app). Value should be one of CUSTOMER or MERCHANT.