Cannot Associate Appeal or Campaign with Gift Split

Hi,

When providing an ‘appeal_id’ or ‘campaign_id’ in the ‘gift_splits’ when creating a gift for a constituent, we are getting a 400 Bad Request back from the API. If either or both of these ids are provided the request returns 400, whereas if they are omitted the request will succeed and the gift is created as expected.

This is being tested within the developer test environment with different appeal/campaign system record ids that exist. Please see the example request body data being provided below:

POST https://api.sky.blackbaud.com/gift/v1/gifts

{

"amount":{"value":25},

"constituent_id":"637055",

"date":"2023-10-10T19:03:44+00:00",

"gift_splits":[{

"amount":{"value":25},

"appeal_id":"17",

"campaign_id":"7",

"fund_id":"4"

}],

"is_anonymous":false,

"lookup_id":"checkoutPurchase_****",

"payments":[{"payment_method":"CreditCard"}],

"reference":"Tier 1: Supporter",

"type":"Donation"

}

Are we structuring the “gift_splits” with appeal/campaign ids in the request incorrectly? Any thoughts/insights are greatly appreciated.

Thank you,

Levi

Comments

  • Alex Wong
    Alex Wong Community All-Star
    Ninth Anniversary Kudos 5 Facilitator 3 Raiser's Edge NXT Fall 2025 Product Update Briefing Badge

    @Levi Magnus
    the JSON looks fine to me.

    Might want to make to make sure that the appeal_id, campaign_id, and fund_id is a combination that's good. Raiser's edge allows the limiting of these 3 types of record where certain fund can only be with certain campaign, for example.

    there can also be start and end date issue, for example, appeal that has start/end date and the gift date falls outside of it.

    I suggest with the campaign, fund, appeal you are using, manually create a gift record in RE NXT (webview or dbview doesnt matter) that has this combination to make sure it is allowed.

  • @Alex Wong
    Ah, yes it was a date range issue. Thank you for the information, it's appreciated!