#Bart
1 messages · Page 1 of 1 (latest)
https://stripe.com/docs/api/balance/balance_retrieve#retrieve_balance This is the retrieve balance API. Remember to specify the Stripe-Account header (https://stripe.com/docs/connect/authentication) so that you can make API call for connected accounts
thats the issue im having
it wont let mespeficiy the stripe account since its not Param.SetConnectedAccount()
trying to do it in golang
Are you using BalanceParams ?
yes could you give me the complete example
params := &stripe.BalanceParams{}
params.StripeAccount = stripe.String("acct_XXX")
balance, _ := balance.Get(params)
thank you!