curl --request GET \
--url https://{organization}.rescueconsole.com/api/fundraising/donations \
--header 'Authorization: Bearer <token>'const options = {method: 'GET', headers: {Authorization: 'Bearer <token>'}};
fetch('https://{organization}.rescueconsole.com/api/fundraising/donations', 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"
headers = {"Authorization": "Bearer <token>"}
response = requests.get(url, headers=headers)
print(response.text){
"results": [
{
"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": {}
}
],
"limit": 123,
"offset": 123,
"has_more": true,
"total": 123,
"summary": {
"total_amount_cents": 123,
"count": 123
}
}{
"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)"
}List donations
One page of your donations, most recent gift first unless you say otherwise, with a total over every gift that matches. Deleted donations are never listed. To filter on one of your own donation fields, send cf_ followed by its field key, such as cf_tribute_name=Rufus: a yes or no field takes yes or no, a number field matches the number exactly, and any other field matches values containing the text. Every filter here works the same on the donation counts, the export and a bulk change. Needs read on Fundraising.
curl --request GET \
--url https://{organization}.rescueconsole.com/api/fundraising/donations \
--header 'Authorization: Bearer <token>'const options = {method: 'GET', headers: {Authorization: 'Bearer <token>'}};
fetch('https://{organization}.rescueconsole.com/api/fundraising/donations', 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"
headers = {"Authorization": "Bearer <token>"}
response = requests.get(url, headers=headers)
print(response.text){
"results": [
{
"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": {}
}
],
"limit": 123,
"offset": 123,
"has_more": true,
"total": 123,
"summary": {
"total_amount_cents": 123,
"count": 123
}
}{
"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_.
Query Parameters
Only gifts from this person.
Only gifts to this campaign.
Only completed gifts count towards a campaign, a donor's giving or the donors list.
pending, completed, failed, refunded one_time, recurring, post_adoption_bump, upsell Gifts on or after this day.
Gifts on or before this day.
Gifts of at least this many cents.
Gifts of at most this many cents.
Currency codes containing this text.
Gateways containing this text.
Recorded on or after this day or moment.
Recorded on or before this moment. The recorded time is a timestamp, so a bare date here ends at the start of that day: to include the whole day, send the next day or a full timestamp.
Last changed on or after this day or moment.
Last changed on or before this moment. As with created_at_to, a bare date ends at the start of that day.
donated_at, amount_cents, status, donation_type, created_at, updated_at asc, desc How many to return. 25 unless you say, 100 at most.
1 <= x <= 100How many to skip, for the next page.
x >= 0Response
One page of donations.
Show child attributes
Show child attributes
Whether there is another page after this one.
How many donations match in all.
Over every matching donation, not only this page.
Show child attributes
Show child attributes