#aaronly

1 messages · Page 1 of 1 (latest)

cold inletBOT
fringe cypress
#

Are you checking the balance transactions of the platform account?

marble torrent
#

I want to see the transaction history of connected accounts on my platform

fringe cypress
#

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

marble torrent
#

What is the value in green on line 1?

fringe cypress
#

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.

marble torrent
#

This is what im running but it does not appear to be correct. What's missing?

fringe cypress
#

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}',
  }
);
marble torrent
#

Thank you, that's exactly what I was looking for!

fringe cypress
#

No problem! Happy to help 😄