I think there might be a bug in the Stripe integration's implementation of the expand
parameter.
Right now, putting values into the expand
field for a GET endpoint results in a query that looks like this: https://api.stripe.com/v1/some/endpoint?expand=field1,field2
. This gets rejected by the Stripe API with a 400 error:
{
"error": {
"message": "Invalid array",
"param": "expand",
"type": "invalid_request_error"
}
}
I think what they're actually looking for, according to their documentation is something that looks like this: https://api.stripe.com/v1/some/endpoint?expand[]=field1&expand[]=field2
.
Could we get this fixed?