Skip to main content
GET
/
admin
/
donation
/
{donation_id}
/
refund
Refund a donation
curl --request GET \
  --url https://api.helpyousponsor.com/v1/admin/donation/{donation_id}/refund \
  --header 'X-HYS-API-Key: <api-key>'
{
  "message": "Donation successfully refunded."
}

Authorizations

X-HYS-API-Key
string
header
required

API key generated from Developer Settings. Format: hys_...

Path Parameters

donation_id
integer
required

ID of the donation to be refunded

Response

Donation successfully refunded.

message
string
Example:

"Donation successfully refunded."