Sky API / Raiser's Edge NXT API - POST Gift (BATCH) doesn't update next Payment Date when approving Batch

We are currently using the Raiser's Edge NXT API to run the following process:

- generate a Blackbaud API Token to use the API
- Generate a Blackbaud ‘BATCH’ using the ‘POST - Create Gift Batch’ endpoint which generates and outputs the Batch ID
- then generate a ‘RecurringGiftPayment’ assigned to the generated Batch ID against the main shell ‘linked_gift’

The complete process runs as needed to create a Batch in the system, and successfully shows the new ‘RecurringGiftPayment’ Gift in the Payments / Transactions area of the dashboard when viewing the main Shell Gift for the Constituent, and successfully shows the new ‘RecurringGiftPayment’ gift inside the Batch in the dashboard as well.

However when approving the Batch, everything looks as per normal however the ‘Payment Schedule’ against the main shell gift doesn't update at all.

As an example, we process batches against Constituent Shell Gifts at 2 intervals throughout the month depending on whether they donate monthly or fortnightly, so we user a query to find all Gifts that are due for the 14th and 30th each month - when we run a batch manually, the ‘next payment date’ will automatically update in the dashboard after approving the batch, so that on the next query run this finds the correct Recurring Gift Records that are due.

However when running this same process via the API to first create a Batch, then create each RecurringGiftPayment inside the batch, and then approving the batch, when we then rerun the query this finds the same Recurring Gifts as the ‘Next Schedule Payment’ isn't being updated after the batch is approved.

Does anyone have any advice on this, or has run a similar process via the API for ensuring Recurring Gift Payment schedule dates update once a Batch is approved that was created via the API?

Categories