Remove Payment Card Securely from Customer Vault

Modified on Mon, 27 Jan at 3:22 PM

The Remove Payment Card endpoint allows you to delete a payment card from an existing customer’s vault. However, you cannot remove a payment card if it is associated with an active subscription. In such cases, the API will return an error response.


Key Features:

  • Remove Unused Cards: Allows the deletion of payment cards that are not tied to active subscriptions.
  • Error Notification: If a card is linked to an active subscription, the request will fail with an appropriate error message.
  • Secure Access: Ensure the key-hash is included in the headers to authenticate and authorize the request.


Usage Notes:

  • Verify the card’s association with subscriptions before attempting to delete it.
  • Use this endpoint to manage and clean up unused payment methods in the customer’s vault.


Benefits:

This endpoint helps maintain an up-to-date customer vault by removing outdated or unused payment cards while ensuring subscriptions remain unaffected.


Reference to API Integration Documentation

Was this article helpful?

That’s Great!

Thank you for your feedback

Sorry! We couldn't be helpful

Thank you for your feedback

Let us know how can we improve this article!

Select at least one of the reasons

Feedback sent

We appreciate your effort and will try to fix the article