Record a gift
lgl_create_giftWRITE: record a gift (donation, pledge payment, in-kind, etc.) on a constituent's record. This writes a CRM record of a gift that already happened — it does NOT charge a card or move money. Give gift_type_id or gift_type_name (required; see lgl_list_type_values type=gift_types). Fund, campaign, appeal, event, gift category and payment type may each be given by id or by exact name. Set ack_template_name to 'do_not_ack' to skip acknowledgment. LGL: POST /api/v1/constituents/{constituent_id}/gifts.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| note | No | Gift note. | |
| fund_id | No | ||
| is_anon | No | Gift is anonymous. | |
| event_id | No | ||
| appeal_id | No | ||
| fund_name | No | ||
| event_name | No | ||
| appeal_name | No | ||
| campaign_id | No | ||
| external_id | No | External gift id (your own system's id). | |
| team_member | No | Team member credited: id, email, or 'first_name last_name' (see lgl_list_team_members). | |
| check_number | No | Check/reference number. | |
| deposit_date | No | Deposit date (YYYY-MM-DD). | |
| gift_type_id | No | Gift type id. | |
| campaign_name | No | ||
| received_date | No | Gift date (YYYY-MM-DD). | |
| constituent_id | Yes | Constituent id (integer). | |
| gift_type_name | No | Gift type name, e.g. 'Gift'. | |
| payment_type_id | No | ||
| received_amount | No | Gift amount. | |
| deposited_amount | No | ||
| gift_category_id | No | ||
| ack_template_name | No | Acknowledgment mailing template name, or 'do_not_ack'. | |
| deductible_amount | No | Tax-deductible amount. | |
| payment_type_name | No | Payment type name, e.g. 'Check', 'Credit Card'. | |
| gift_category_name | No | Gift category name, e.g. 'Donation'. |