#shah_80546
1 messages · Page 1 of 1 (latest)
Hello! We'll be with you shortly. Below are links to other discussions we've had with you in the past week in case you want to review that information. If your question is related to one of these previous discussions, please provide a comprehensive summary of the current state and what you need help with now. We help many users simultaneously, so a summary allows us to resolve your issue as soon as possible.
- shah-subs-prices, 3 days ago, 45 messages
- shah-sub-schedules, 4 days ago, 28 messages
- shah_80546, 4 days ago, 5 messages
Yep, you make the balance retrieve call with the account's ID as your Stripe-Account header
https://stripe.com/docs/api/balance
https://stripe.com/docs/api/connected-accounts
Complete reference documentation for the Stripe API. Includes code snippets and examples for our Python, Java, PHP, Node.js, Go, Ruby, and .NET libraries.
Complete reference documentation for the Stripe API. Includes code snippets and examples for our Python, Java, PHP, Node.js, Go, Ruby, and .NET libraries.
i am using node and below is not working for me const balance = await stripe.balance.retrieve({
stripeAccount: 'acct_1032D82eZvKYlo2C'
});
Can you tell me more about how it is not working? If you are getting an error, can you paste it here?
it started to work now ... thanks
have a question the balance which i see on connected dashboard meaning total balance , future payouts balance and in transit to bank , which api returns those values
In transit to bank would be listing payouts for the account https://stripe.com/docs/api/payouts/list
Complete reference documentation for the Stripe API. Includes code snippets and examples for our Python, Java, PHP, Node.js, Go, Ruby, and .NET libraries.
pending is future payouts
And I think you would need to add pending and available to get total
so i get all payout list and total by myself is that correct
Correct. And you would specifically want to list pending payouts to see ones that are on the way to the bank