Record a donation
create_donationMUTATES Raisely data: records a donation (use for OFFLINE/manual donations — e.g. cash or cheque). Raisely API: POST /donations with the body wrapped as { data: {...} }. Required by the API: amount (integer, in cents/smallest currency unit), currency (3-letter code), email (donor), type (ONLINE or OFFLINE), method (payment gateway, e.g. OFFLINE). Link it to a campaign/profile via campaignUuid/profileUuid. Everything else (firstName, lastName, message, date, items, public, private, ...) goes through fields. Returns the created donation.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| type | No | ONLINE or OFFLINE (default OFFLINE — this tool is for manual/offline donations). | |
| Yes | Email address of the donor. Required. | ||
| amount | Yes | Total donation amount in the smallest currency unit (e.g. cents). Required. | |
| fields | No | Additional documented Raisely fields to send in the JSON write body's `data` object — merged OVER the typed fields above. | |
| method | No | The payment gateway/method, e.g. "OFFLINE", "CREDIT". Required by the API. | |
| currency | Yes | 3-letter currency code, e.g. AUD, USD, GBP. Required. | |
| lastName | No | Donor last name. | |
| firstName | No | Donor first name. | |
| profileUuid | No | Uuid of the fundraising profile the donation is credited to. | |
| campaignUuid | No | Uuid of the campaign the donation belongs to. |