Donations Get
Donations Get
Path Parameters
donation_id Donation Id required
Responses
- 200
OK
application/json
Schema
Example (from schema)
Schema
id Id required
supporter_id Supporter Id required
campaign_id Campaign Id required
code Code required
state DonationState required
Possible values: [draft
, pending
, active
, past_due
, done
, revoked
]
An enumeration.
amount Amount required
frequency Frequency
Possible values: [0
, 12
, 1
]
An enumeration.
note Note
completed_date date-time
create_date date-time required
update_date date-time required
device Device
tags string[] required
{
"id": 0,
"supporter_id": 0,
"campaign_id": 0,
"code": "string",
"state": "draft",
"amount": 0,
"frequency": 0,
"note": "string",
"completed_date": "2025-04-08T17:50:05.651Z",
"create_date": "2025-04-08T17:50:05.651Z",
"update_date": "2025-04-08T17:50:05.651Z",
"device": "string",
"tags": [
"string"
]
}
GET /admin/api/v1/donations/:donation_id
Authorization
name: IsAuthenticatedtype: httpscheme: bearer
Request
Request
curl / cURL
curl -L -X GET 'https://dev.riseact.org/admin/api/v1/donations/:donation_id' \
-H 'Accept: application/json' \
-H 'Authorization: Bearer <TOKEN>'
python / requests
curl -L -X GET 'https://dev.riseact.org/admin/api/v1/donations/:donation_id' \
-H 'Accept: application/json' \
-H 'Authorization: Bearer <TOKEN>'
go / native
curl -L -X GET 'https://dev.riseact.org/admin/api/v1/donations/:donation_id' \
-H 'Accept: application/json' \
-H 'Authorization: Bearer <TOKEN>'
nodejs / axios
curl -L -X GET 'https://dev.riseact.org/admin/api/v1/donations/:donation_id' \
-H 'Accept: application/json' \
-H 'Authorization: Bearer <TOKEN>'
ruby / Net::HTTP
curl -L -X GET 'https://dev.riseact.org/admin/api/v1/donations/:donation_id' \
-H 'Accept: application/json' \
-H 'Authorization: Bearer <TOKEN>'
csharp / RestSharp
curl -L -X GET 'https://dev.riseact.org/admin/api/v1/donations/:donation_id' \
-H 'Accept: application/json' \
-H 'Authorization: Bearer <TOKEN>'
php / cURL
curl -L -X GET 'https://dev.riseact.org/admin/api/v1/donations/:donation_id' \
-H 'Accept: application/json' \
-H 'Authorization: Bearer <TOKEN>'
java / OkHttp
curl -L -X GET 'https://dev.riseact.org/admin/api/v1/donations/:donation_id' \
-H 'Accept: application/json' \
-H 'Authorization: Bearer <TOKEN>'
powershell / RestMethod
curl -L -X GET 'https://dev.riseact.org/admin/api/v1/donations/:donation_id' \
-H 'Accept: application/json' \
-H 'Authorization: Bearer <TOKEN>'