Gift v2 Update Recurring Payment Information - "The concurrencyId field is required."

When making a PATCH request to the Gift v2 update recurring gift payment endpoint (https://api.sky.blackbaud.com/gft-gifts/v2/recurringgifts/{gift_id}/amendments/paymentinformation) without any “If-Match” header, I get the following error:

{
"If-Match": [
"The concurrencyId field is required."
]
}

If I try passing `"If-Match": “*”` for an unconditional update as the endpoint documentation describes, I get a different error

{
"message": "A request was made to amend a gift that was unable to be validated at this time.",
"error_name": "AmendScheduleValidationNotAvailable"
}

The `account_token` I'm passing in is a card taken passed to the `Blackbaud_OpenStoreCardForm` API, and the card details I passed in were test values taken from this page:

Comments

  • Heather Templeton
    Heather Templeton Blackbaud Employee
    Tenth Anniversary Name Dropper Participant Facilitator 1

    @Thomas Clark I'm going to double-check, but my hypothesis is that if you are testing with a test account, then you won't be able to store those cards into the Production Vault with real cards

  • @Heather Templeton Thanks for checking on that, I should mention that I have been doing my development on a test environment, and I was able to then use a Card GET endpoint in the BBMS API to fetch the details of a test card.

  • Heather Templeton
    Heather Templeton Blackbaud Employee
    Tenth Anniversary Name Dropper Participant Facilitator 1

    @Thomas Clark I confirmed that you can store test card in the vault.


  • Heather Templeton
    Heather Templeton Blackbaud Employee
    Tenth Anniversary Name Dropper Participant Facilitator 1

    @Thomas Clark We tracked down the error and it is being returned because the system thought the gift was an automatic gift and couldn't handle the scenario of a manual gift

    We have fixed and deployed the issue. You should be good now.