curl --request POST \
--url https://api.helpyousponsor.com/v1/admin/sponsorships \
--header 'Authorization: Bearer <token>' \
--header 'Content-Type: application/json' \
--data '{
"donors": 1,
"id": 1,
"sp_amount": "100",
"client_id": "1",
"entity_id": 1,
"entities": 1,
"method": "3",
"frequency": "1",
"next": "2023-11-25"
}'
{
"message": "Sponsorship relationship successfully created."
}
Bearer authentication header of the form Bearer <token>
, where <token>
is your auth token.
Data required to create a new sponsorship
The body is of type object
.
Sponsorship relationship successfully created
The response is of type object
.
curl --request POST \
--url https://api.helpyousponsor.com/v1/admin/sponsorships \
--header 'Authorization: Bearer <token>' \
--header 'Content-Type: application/json' \
--data '{
"donors": 1,
"id": 1,
"sp_amount": "100",
"client_id": "1",
"entity_id": 1,
"entities": 1,
"method": "3",
"frequency": "1",
"next": "2023-11-25"
}'
{
"message": "Sponsorship relationship successfully created."
}