Sign in

Create gift

documented

Create a new gift/donation.

POST /fundraising/v1/giftsGiftsno implementation yet0 runs
No implementation yet. Run it to have the agent write one, or open a pull request with your own.

Seed example (keychains curl)

npx -y keychains@latest curl "https://api.sky.blackbaud.com/fundraising/v1/gifts" \
  -X POST \
  -H "Authorization: Bearer {{OAUTH2_ACCESS_TOKEN}}" \
  -H "Content-Type: application/json" \
  -H "Accept: application/json" \
  -d '{
    "Donor": {
      "FirstName": "{{$donor_first_name}}",
      "LastName": "{{$donor_last_name}}",
      "EmailAddress": "{{$donor_email}}",
      "Address": {
        "StreetAddress": "{{$donor_street_address}}",
        "City": "{{$donor_city}}",
        "State": "{{$donor_state}}",
        "PostalCode": "{{$donor_postal_code}}",
        "Country": "US"
      }
    },
    "Gift": {
      "Designations": [
        {
          "Amount": {{$amount}},
          "DesignationId": "{{$designation_id}}"
        }
      ],
      "FinderNumber": 0,
      "IsAnonymous": {{$is_anonymous}},
      "PaymentMethod": {{$payment_method}},
      "Comments": "{{$gift_comments}}",
      "CreateGiftAidDeclaration": false,
      "Attributes": []
    },
    "Date": "{{$date}}",
    "Reference": "{{$reference}}"
  }'