apaleo / announcements

Subscribe to this repo to be notified about changes in the apaleo API
15 stars 1 forks source link

[October 21, 2020] Changes in the folio webhook events #66

Open nfidirko opened 4 years ago

nfidirko commented 4 years ago

We have split payment and refund events. Before, when a refund was added to the folio, you'd still receive the payment-posted event with the id of the refund. Now, we have the following set of events:

In order to maintain backward compatibility, when a refund is created (moved), we emit 2 events, e.g.:

They will have the same entity id. So, if you've processed 1 event, you can skip the next one. After October 21, 2020, we won't produce a payment event in addition to the refund event.

Don't forget to check the list of available events at https://apaleo.dev/guides/start/webhook/configuration#events