Welcome‎ > ‎Version 2‎ > ‎Publisher Api (Read/Write)‎ > ‎Methods‎ > ‎3 - Consumer‎ > ‎

Delete Credit Card

This method will delete a credit card from the system.

Method: POST /api/v2/publisher/consumer/{userKey}/creditcard/{storedCreditCardId}/delete
Authentication: oauth
Required Parameters:
userKey - The publisher assigned userKey for the consumer.
storedCreditCardId - The id of the previously used (now stored) credit card.  Can be retrieved using the Get Credit Cards method.

success - Whether or not the credit card was deleted successfully
errors - Contains error message when success = false

Sample Request:

POST /api/v2/publisher/consumer/12345/creditcard/67890/delete

Authorization: OAuth oauth_signature="0UiQLXuBWv1de46%2b3uQ6z73Yf0E%3d", oauth_nonce="702595", oauth_timestamp="1318259098", oauth_consumer_key="43c5c674-620c-4f2b-bdcf-3082c99e8186", oauth_signature_method="HMAC-SHA1", oauth_version="1.0"

Sample JSON Response:


Sample XML Response:

<deleteCreditCardResult xmlns:i="http://www.w3.org/2001/XMLSchema-instance">