POST
/
admin
/
donation
curl --request POST \
  --url https://api.helpyousponsor.com/v1/admin/donation \
  --header 'Authorization: Bearer <token>' \
  --header 'Content-Type: application/json' \
  --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"
}

Authorizations

Authorization
string
header
required

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

Body

application/json

Donation data

The body is of type object.

Response

200
application/json

Successful operation

The response is of type object.