Gift API V2 - Gift Types
Hi,
I had gift types working correctly in Gift V2 “Add Gifts to Batch”. When testing today I am getting back an error saying that “PlannedGift” is not in the GiftType. I also tried “Donation” but this returned back the same error.
Should it be:
gift_type: “PlannedGift”
The recurring is working correctly which has “RecurringGift” as the gift type.
What would the once-off payment type be then?
Any help on this would be great.
Thanks,
Brenten
Comments
-
@Brenten Sharp
Planned Gift is not supported both on webview gift batch nor SKY API1 -
@Alex Wong
Thanks for your reply.
What would I use then for a once-off payment?0 -
@Brenten Sharp
I don't know what you mean by “once off” payment. Do you mean someone made a single donation? or do you mean someone is making a pledge payment?0 -
@Alex Wong
I need it setup for either a single gift payment or recurring gift payment. The RecurringGift gift type works I am just not sure what to do for a single gift when sending in Gift Type.0 -
@Brenten Sharp
RecurringGift is NOT a real gift. it is the “template” that tells RE how much to charge and the schedule, so if you are looking to create a recurring gift for it to charge every month, then this is good, BUT if you are looking to create a recurring gift payment (actual gift/cash/money), then you need to create RecurringGiftPayment.this is the full list of gift type:
"gift_type": {
"title": "GiftType",
"enum": [
"None",
"Amendment",
"OneTime",
"GiftInKind",
"GeneralLedgerReversal",
"MatchingGiftPledge",
"MatchingGiftPayment",
"MatchingGiftWriteOff",
"Other",
"PlannedGift",
"Pledge",
"PledgePayment",
"PledgeWriteOff",
"RecurringGift",
"RecurringGiftPayment",
"Stock",
"SoldStock",
"Adjustment"
],
"type": "string",
"description": "The gift type."
},if you are trying to create a single gift that looks to be “OneTime”, if you are trying to create a pledge payment, then it is PledgePayment.
@Erik Leaver @Anthony Gallo I think there is some issue with the SKY API endpoints for creating gift that needs a look into. Other than Pledge, I have not created any gift record programmatically with SKY API, so I don't know for sure. However, given that SKY API “get” endpoint returns “Donation” as the gift type for “single gift”, these gift v2 endpoints documented “OneTime” makes no sense.
https://developer.sky.blackbaud.com/api#api=gft-gifts&operation=CreateGift
Meanwhile, gift v1, “single gift” is Donation.
https://developer.sky.blackbaud.com/api#api=58bdd5edd7dcde06046081d6&operation=CreateGift
https://developer.sky.blackbaud.com/api#api=58bdd5edd7dcde06046081d6&operation=AddGiftsToBatch
This is going to be a confusion point and potentially coding error on those who uses SKY API. While it would not be good to “change” what has been coded already. I think maybe the SKY API needs to allow both naming “OneTime” and “Donation” both create “single gift” for example.
0 -
@Alex Wong
Thanks Alex, that has worked great. Thanks for your help.0
Categories
- All Categories
- 6 Blackbaud Community Help
- 211 bbcon®
- 1.4K Blackbaud Altru®
- 402 Blackbaud Award Management™ and Blackbaud Stewardship Management™
- 1.1K Blackbaud CRM™ and Blackbaud Internet Solutions™
- 15 donorCentrics®
- 360 Blackbaud eTapestry®
- 2.6K Blackbaud Financial Edge NXT®
- 655 Blackbaud Grantmaking™
- 576 Blackbaud Education Management Solutions for Higher Education
- 3.2K Blackbaud Education Management Solutions for K-12 Schools
- 940 Blackbaud Luminate Online® and Blackbaud TeamRaiser®
- 84 JustGiving® from Blackbaud®
- 6.7K Blackbaud Raiser's Edge NXT®
- 3.7K SKY Developer
- 248 ResearchPoint™
- 120 Blackbaud Tuition Management™
- 165 Organizational Best Practices
- 240 Member Lounge (Just for Fun)
- 34 Blackbaud Community Challenges
- 37 PowerUp Challenges
- 3 (Open) PowerUp Challenge: Grid View Batch
- 3 (Closed) PowerUp Challenge: Chat for Blackbaud AI
- 3 (Closed) PowerUp Challenge: Data Health
- 3 (Closed) Raiser's Edge NXT PowerUp Challenge: Product Update Briefing
- 3 (Closed) Raiser's Edge NXT PowerUp Challenge: Standard Reports+
- 3 (Closed) Raiser's Edge NXT PowerUp Challenge: Email Marketing
- 3 (Closed) Raiser's Edge NXT PowerUp Challenge: Gift Management
- 4 (Closed) Raiser's Edge NXT PowerUp Challenge: Event Management
- 3 (Closed) Raiser's Edge NXT PowerUp Challenge: Home Page
- 4 (Closed) Raiser's Edge NXT PowerUp Challenge: Standard Reports
- 4 (Closed) Raiser's Edge NXT PowerUp Challenge: Query
- 796 Community News
- 3K Jobs Board
- 54 Blackbaud SKY® Reporting Announcements
- 47 Blackbaud CRM Higher Ed Product Advisory Group (HE PAG)
- 19 Blackbaud CRM Product Advisory Group (BBCRM PAG)
