#putte

1 messages · Page 1 of 1 (latest)

harsh flintBOT
spare widget
#

Yep! https://stripe.com/docs/api/balance/balance_retrieve?lang=node To get the balance of the connect account, just pass the stripe account header to that api call: https://stripe.com/docs/connect/authentication

Learn how to add the right information to your API calls so you can make calls for your connected accounts.

empty rock
#

Can you give me an example where I use the stripe account_id to get the balance?

#

stripe.balance.retrieve({stripeAccount: account_id as Stripe.BalanceRetrieveParams});

#

This is not going to work I guess? TypeScrpt gives off an error

#

It worked, disregard my last message

#

Thanks mate

spare widget
#

Cool