Use this API to get a list of donations for a donation website.
See below for a definition of status codes in the response. Additional codes may be added in the future.
{ "donations": [ { "donation_id": 123, "user": { "user_id": 123, "first_name": "John", "middle_name": null, "last_name": "Doe", "email": "example@example.com", "address": { "address1": "300 Mill St.", "city": "Moorestown", "state": "NJ", "zipcode": "08057", "countrycode": "US" }, "dob": "1950-01-01", "gender": "M", "phone": "555-555-5555" }, "donation_date_ts": 1624455286, "rsu_transaction_id": "1234567890", "donation_amount_in_cents": 1000, "processing_fee_in_cents": 50, "partner_fee_in_cents": 0, "amount_paid_in_cents": "1050", "status_code": 1, "on_behalf_of": null, "is_manual_import": "F", "attributed_donation_form_ids": [], "attributed_donation_campaign_ids": [], "attributed_donation_campaign_fundraiser_ids": [] } ] }
Parameter | HTTP Method | Default | Description | Datatype |
---|---|---|---|---|
num |
GET | 50 | Number of results per page. | uint |
page |
GET | 1 | Page. | uint |
donation_website_id Required |
GET | Donation Website ID | uint |
|
rsu_api_key Required |
GET | API key | string |
|
X-RSU-API-SECRET Required |
HTTP Header | API secret | string |