[SOLVED] Webhook taxes response when no items

We have a taxes webhook. Everytime an item is added or removed to/from the cart, this webhook gets called.
Following documentation at Webhooks: taxes – Snipcart Documentation snipcart expects an object with an array “taxes”.
The webhook also fires, if the last item is removed from the cart and the cart is empty. IMHO this doesn’t make much sense.
My question now is: what should my webhook code return if there are no items in the request? Just an empty object or an object with empty array “taxes”?

I just received an answer from snipcart support:
“You are right the documentation is not clear about this. In this case, an empty Tax array would be the correct response.”
So the correct response in case there are no items in the cart is:

  "taxes": [