Skip to content

Commit

Permalink
Merge pull request #1203 from jheth/fix-balance-instant-available-type
Browse files Browse the repository at this point in the history
Use correct Amount type for InstantAvailable
  • Loading branch information
richardm-stripe authored Oct 9, 2020
2 parents fb2310e + f0f4d54 commit 82b7ab2
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion balance.go
Original file line number Diff line number Diff line change
Expand Up @@ -37,7 +37,7 @@ type Balance struct {
APIResource
Available []*Amount `json:"available"`
ConnectReserved []*Amount `json:"connect_reserved"`
InstantAvailable *BalanceDetails `json:"instant_available"`
InstantAvailable []*Amount `json:"instant_available"`
Issuing *BalanceDetails `json:"issuing"`
Livemode bool `json:"livemode"`
Object string `json:"object"`
Expand Down

0 comments on commit 82b7ab2

Please sign in to comment.