curl --request GET \
--url https://api.helpyousponsor.com/v1/admin/donation/{donation_id}/refund \
--header 'Authorization: Bearer <token>'
{
"message": "Donation successfully refunded."
}
Bearer authentication header of the form Bearer <token>
, where <token>
is your auth token.
ID of the donation to be refunded
Donation successfully refunded.
The response is of type object
.
curl --request GET \
--url https://api.helpyousponsor.com/v1/admin/donation/{donation_id}/refund \
--header 'Authorization: Bearer <token>'
{
"message": "Donation successfully refunded."
}