Use this API to get race donations for a charity group.
{ "race_donations": [ { "donation_id": 12345, "race_fundraiser_id": 1, "race_id": 555, "transaction_id": 1234567, "rsu_transaction_id": 7654321, "invoice_num": 1234, "donor": [ "user_id": 123, "first_name": "John", "last_name": "Doe", "email": "john.doe@example.com", "phone_number": "555-555-5555" ], "donation_amount": $90.00, "amount_paid": $88.00, "processing_fee": $2.00, "status": "Normal", "on_behalf_of": "The Doe Family", "anonymous": "F", "donation_date_ts": 111111111, "charity_id": 33, "charity_name": "Save the Whales" } ] }
Parameter | HTTP Method | Default | Description | Datatype |
---|---|---|---|---|
charity_group_id Required |
GET | ID of charity group. | uint |
|
rsu_api_key Required |
GET | API key. | string |
|
X-RSU-API-SECRET Required |
HTTP Header | API secret. | string |
|
page |
GET | 1 | Page number to get. | uint |
results_per_page |
GET | 50 | Number of results per page. | uint |
donations_after_ts |
GET | Get donations donated on or after the provided timestamp. | uint |
|
donations_before_ts |
GET | Get donations donated on or before the provided timestamp. | uint |