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 https://admin.voomerr.com/api/delete_card.php
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 #
makefile
POST https://admin.voomerr.com/api/delete_card.php
card_id=123
user_id=456
Example Response #
json
{
"success": true,
"message": "Card successfully deleted"
}