The “delete card” API allows a user to delete a saved payment card from their Voomerr account. This API requires the user ID and the ID of the card to be deleted as input parameters. Once the card is deleted, the API will return a success message as the output response.
The Voomerr Delete Cards endpoint is
Request Parameters #
|card_id||Yes||int||ID of the card to be deleted|
|user_id||Yes||int||ID of the user whose card needs to be deleted|
Response Parameters #
|success||bool||Indicates if the card was successfully deleted|
|message||string||Message indicating the success or error reason|
Example Request #
Example Response #
"message": "Card successfully deleted"