curl --request POST \
--url https://api.helpyousponsor.com/v1/admin/donation \
--header 'Content-Type: application/json' \
--header 'X-HYS-API-Key: <api-key>' \
--data '
{
"designation": "entity-1",
"donor_id": "1",
"amount": 10,
"dont_notify": 1,
"charge_donor": 1,
"method": "3",
"result": "result note",
"client_id": "1",
"created_at": "2022-01-01"
}
'{
"message": "Donation Successful"
}API key generated from Developer Settings. Format: hys_...
Donation data
Successful operation
"Donation Successful"
curl --request POST \
--url https://api.helpyousponsor.com/v1/admin/donation \
--header 'Content-Type: application/json' \
--header 'X-HYS-API-Key: <api-key>' \
--data '
{
"designation": "entity-1",
"donor_id": "1",
"amount": 10,
"dont_notify": 1,
"charge_donor": 1,
"method": "3",
"result": "result note",
"client_id": "1",
"created_at": "2022-01-01"
}
'{
"message": "Donation Successful"
}