curl --request GET \
--url https://api.helpyousponsor.com/v1/admin/donation/{donation_id} \
--header 'Authorization: Bearer <token>'
{
"donation": {
"id": 1,
"designation": "Health",
"donor_id": 1,
"amount": 100,
"method": "Credit Card",
"frequency": "Monthly",
"created_at": "2022-01-01 00:00:00",
"updated_at": "2022-01-01 00:00:00"
}
}
Bearer authentication header of the form Bearer <token>
, where <token>
is your auth token.
The ID of the donation to view
Donation edited successfully
The response is of type object
.
curl --request GET \
--url https://api.helpyousponsor.com/v1/admin/donation/{donation_id} \
--header 'Authorization: Bearer <token>'
{
"donation": {
"id": 1,
"designation": "Health",
"donor_id": 1,
"amount": 100,
"method": "Credit Card",
"frequency": "Monthly",
"created_at": "2022-01-01 00:00:00",
"updated_at": "2022-01-01 00:00:00"
}
}