curl --request DELETE \
--url https://api.helpyousponsor.com/v1/admin/donor-credit-card/{donor_id} \
--header 'Authorization: Bearer <token>'
{
"message": "Credit Card Successfully Deleted."
}
Bearer authentication header of the form Bearer <token>
, where <token>
is your auth token.
The id of the donor form
Card details deleted successfully
The response is of type object
.
curl --request DELETE \
--url https://api.helpyousponsor.com/v1/admin/donor-credit-card/{donor_id} \
--header 'Authorization: Bearer <token>'
{
"message": "Credit Card Successfully Deleted."
}