The stripe resource is not interpreting array params correctly.
Let me explain with an example
default_tax_rates (in the
invoices endpoint) is a param which expects an array. The following screenshot shows how I am populating it in the UI.
But with this, stripe throws an error, complaining about an “Invalid Array”. And if you look at the request that was sent, it has the following snippet.
Stripe is expecting something of the form
Interestingly, if you specify TWO tax rates in the UI (hardcode the other one), the request goes through perfectly.
(Cannot attach a screenshot because new users are allowed only one media item)
APOLOGIES for the multiple self-replies, could not find a way to attach multiple screenshots
Also, please ignore
default_tax_rates, they are from different queries, but they behave the same