cURL
curl --request DELETE \ --url https://app.closerx.ai/api/delete-card/{id} \ --header 'api_key: <api-key>'
{ "status": "success", "deleted_card_id": "card_22923" }
Deletes a saved payment card from the user’s account using the card ID.
The unique ID of the card to be deleted.
"card_abc123"
Card successfully deleted
Indicates that the card was deleted successfully.
"success"
The ID of the card that was deleted.
"card_22923"