Hi
We had the same problem and we found the error in our case, but I think it same in yours:
billing_address and shipping_address are not Arrays [ {...} ] , but Objects {..} . (notice the parentheses)
After correction it works just fine.
We don't use php, but you will figure out which is you sintax.