We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
This change introduced a serialization issue:
stripe-go/balance.go
Line 40 in fb2310e
[ERROR] Couldn't deserialize JSON (response status: 200, body sample: '{\n "object": "balance",\n "available": [\n {\n "amount": 118300,\n "currency": "usd",\n "source_types": {\n "card": 118300\n }\n }\n ],\n "instant_available": [\n {\n "amount": 118300,\n "currency": "usd",\n "source_types": {\n "card": 118300\n }\n }\n ],\n "livemode": false,\n "pending": [\n {\n "amount": 0,\n "currency": "usd",\n "source_types": {\n "card": 0\n }\n }\n ]\n}\n'): json: cannot unmarshal array into Go struct field Balance.instant_available of type stripe.BalanceDetails
It needs to be[]*Amount instead of *BalanceDetails
[]*Amount
*BalanceDetails
InstantAvailable []*Amount `json:"instant_available"`
The text was updated successfully, but these errors were encountered:
Pinning chrome version to fix CI (#1202)
2c1ddff
* Pinning chrome version to fix CI * Changing the browser tool steps
Successfully merging a pull request may close this issue.
This change introduced a serialization issue:
stripe-go/balance.go
Line 40 in fb2310e
It needs to be
[]*Amount
instead of*BalanceDetails
The text was updated successfully, but these errors were encountered: