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.
Was this article helpful?
That’s Great!
Thank you for your feedback
Sorry! We couldn't be helpful
Thank you for your feedback
Feedback sent
We appreciate your effort and will try to fix the article