Skip to content

Commit

Permalink
Merge pull request #1188 from stripe/remi-balance-instant
Browse files Browse the repository at this point in the history
Add support for `InstantAvailable` on `Balance`
  • Loading branch information
remi-stripe authored Sep 23, 2020
2 parents 91c83c7 + 5a3baee commit a189dc8
Showing 1 changed file with 7 additions and 6 deletions.
13 changes: 7 additions & 6 deletions balance.go
Original file line number Diff line number Diff line change
Expand Up @@ -35,10 +35,11 @@ type BalanceDetails struct {
// For more details see https://stripe.com/docs/api/#balance.
type Balance struct {
APIResource
Available []*Amount `json:"available"`
ConnectReserved []*Amount `json:"connect_reserved"`
Issuing *BalanceDetails `json:"issuing"`
Livemode bool `json:"livemode"`
Object string `json:"object"`
Pending []*Amount `json:"pending"`
Available []*Amount `json:"available"`
ConnectReserved []*Amount `json:"connect_reserved"`
InstantAvailable *BalanceDetails `json:"instant_available"`
Issuing *BalanceDetails `json:"issuing"`
Livemode bool `json:"livemode"`
Object string `json:"object"`
Pending []*Amount `json:"pending"`
}

0 comments on commit a189dc8

Please sign in to comment.