Credit Card
Credit Card: Delete
Important
Typically requires PCI SAQ D compliance We
recommend using
payment_method
functions to avoid any PCI concerns with raw credit card data being present on your server.
- Ruby
result = gateway.credit_card.delete(credit_card_token)
Arguments
token
required, StringAn alphanumeric value that references a specific payment method stored in your Vault.
Additional Parameters
:initiated_by
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.