GET
/
admin
/
donation
/
{donation_id}
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"
  }
}

Authorizations

Authorization
string
header
required

Bearer authentication header of the form Bearer <token>, where <token> is your auth token.

Path Parameters

donation_id
integer
required

The ID of the donation to view

Response

200
application/json
Donation edited successfully
donation
object