#aaronly
1 messages · Page 1 of 1 (latest)
Are you checking the balance transactions of the platform account?
I want to see the transaction history of connected accounts on my platform
If you wish to check the balance transactions of a connected account, Stripe-Account header with connected account ID should be included, so that you can see the transaction history of the connected accounts: https://stripe.com/docs/api/connected_accounts
What is the value in green on line 1?
This is an example to use Stripe-Account header in Charges Retrival API. To retrieve Balance Transactions, you only need to apply Stripe-Account header on Balance Retrieval API.
This is what im running but it does not appear to be correct. What's missing?
It should be on Balance Transactions API, not Charges API. It should look like:
const balanceTransactions = await stripe.balanceTransactions.list(
{
limit: 100,
},
{
stripeAccount: '{CONNECTED_ACCOUNT_ID}',
}
);
Thank you, that's exactly what I was looking for!
No problem! Happy to help 😄