Delete Cards

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.

Endpoint #

The Voomerr Delete Cards endpoint is POST

Request Parameters #

Parameter Required Type Description
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 #

Parameter Type Description
success bool Indicates if the card was successfully deleted
message string Message indicating the success or error reason

Example Request #


Example Response #

"success": true,
"message": "Card successfully deleted"

Powered by BetterDocs