GET
/
admin
/
donation
/
{donation_id}
/
refund
curl --request GET \
  --url https://api.helpyousponsor.com/v1/admin/donation/{donation_id}/refund \
  --header 'Authorization: Bearer <token>'
{
  "message": "Donation successfully refunded."
}

Authorizations

Authorization
string
header
required

Bearer authentication header of the form Bearer <token>, where <token> is your auth token.

Path Parameters

donation_id
integer
required

ID of the donation to be refunded

Response

200
application/json
Donation successfully refunded.
message
string
Example:

"Donation successfully refunded."