curl --request POST \
--url https://api.helpyousponsor.com/v1/donor/{donor_id}/paypal \
--header 'Content-Type: application/json' \
--header 'X-HYS-API-Key: <api-key>' \
--data '
{
"paypal_email": "donor@example.com"
}
'{
"message": "Paypal email updated",
"status": "success"
}API key generated from Developer Settings. Format: hys_...
The id of the donor
PayPal email is required
"donor@example.com"
curl --request POST \
--url https://api.helpyousponsor.com/v1/donor/{donor_id}/paypal \
--header 'Content-Type: application/json' \
--header 'X-HYS-API-Key: <api-key>' \
--data '
{
"paypal_email": "donor@example.com"
}
'{
"message": "Paypal email updated",
"status": "success"
}