Get one donation
curl --request GET \
--url https://{organization}.rescueconsole.com/api/fundraising/donations/{id} \
--header 'Authorization: Bearer <token>'const options = {method: 'GET', headers: {Authorization: 'Bearer <token>'}};
fetch('https://{organization}.rescueconsole.com/api/fundraising/donations/{id}', options)
.then(res => res.json())
.then(res => console.log(res))
.catch(err => console.error(err));import requests
url = "https://{organization}.rescueconsole.com/api/fundraising/donations/{id}"
headers = {"Authorization": "Bearer <token>"}
response = requests.get(url, headers=headers)
print(response.text){
"id": "<string>",
"amount_cents": 123,
"currency": "<string>",
"donation_type": "one_time",
"status": "pending",
"donated_at": "<string>",
"created_at": "2023-11-07T05:31:56Z",
"updated_at": "2023-11-07T05:31:56Z",
"tenant_id": "<string>",
"person_id": "<string>",
"campaign_id": "<string>",
"recurring_schedule": {},
"payment_gateway": "stripe",
"gateway_reference": {},
"custom_fields": {}
}{
"error": "house_trained must be 1, 0 or null (not assessed)"
}{
"error": "house_trained must be 1, 0 or null (not assessed)"
}{
"error": "house_trained must be 1, 0 or null (not assessed)"
}Donations
Get one donation
A deleted donation answers 404. Needs read on Fundraising.
GET
/
api
/
fundraising
/
donations
/
{id}
Get one donation
curl --request GET \
--url https://{organization}.rescueconsole.com/api/fundraising/donations/{id} \
--header 'Authorization: Bearer <token>'const options = {method: 'GET', headers: {Authorization: 'Bearer <token>'}};
fetch('https://{organization}.rescueconsole.com/api/fundraising/donations/{id}', options)
.then(res => res.json())
.then(res => console.log(res))
.catch(err => console.error(err));import requests
url = "https://{organization}.rescueconsole.com/api/fundraising/donations/{id}"
headers = {"Authorization": "Bearer <token>"}
response = requests.get(url, headers=headers)
print(response.text){
"id": "<string>",
"amount_cents": 123,
"currency": "<string>",
"donation_type": "one_time",
"status": "pending",
"donated_at": "<string>",
"created_at": "2023-11-07T05:31:56Z",
"updated_at": "2023-11-07T05:31:56Z",
"tenant_id": "<string>",
"person_id": "<string>",
"campaign_id": "<string>",
"recurring_schedule": {},
"payment_gateway": "stripe",
"gateway_reference": {},
"custom_fields": {}
}{
"error": "house_trained must be 1, 0 or null (not assessed)"
}{
"error": "house_trained must be 1, 0 or null (not assessed)"
}{
"error": "house_trained must be 1, 0 or null (not assessed)"
}Authorizations
An API key from Settings, API keys. It starts with rc_live_.
Path Parameters
The donation's ID.
Response
The donation.
The amount in whole cents: 5000 is $50.00.
Available options:
one_time, recurring, post_adoption_bump, upsell Only completed gifts count towards a campaign, a donor's giving or the donors list.
Available options:
pending, completed, failed, refunded The day of the gift, YYYY-MM-DD.
When it was recorded.
Your organization's ID.
The donor. Null for an anonymous gift.
How the money came.
Available options:
stripe, paypal, square, zelle, cashapp, venmo, other, null