From 5a3baee8c8e302142aa8a5b54f9b6d7a1585657c Mon Sep 17 00:00:00 2001 From: Remi Jannel Date: Wed, 23 Sep 2020 12:37:28 -0700 Subject: [PATCH] Add support for `InstantAvailable` on `Balance` --- balance.go | 13 +++++++------ 1 file changed, 7 insertions(+), 6 deletions(-) diff --git a/balance.go b/balance.go index 8f8afb78c8..84a37257f2 100644 --- a/balance.go +++ b/balance.go @@ -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"` }