#Dev-Ahmed-Hasnain-connect
1 messages ยท Page 1 of 1 (latest)
i want to ask somethings about stripe connect .
What's your question?
i have setup stripe connect for my ecommerce store. and i am allowing store owners to connect with my platform account.
they are selling through my website and earn and paying me application fee.
Dev-Ahmed-Hasnain-connect
now i want to give them a brief dashboard to check their transaction history and other stuff like stripe express dashboard. and i am using custom account. i have checked all stripe apis but couldn't fine any api in which i can send connect account id and can get their transactions , refunds , cancelled payments , total balance etc.
can you please help me here ?
what type of charges are you using?
destination charges or separate charges and transfers?
you can use charges retrieval API [0] with connected account in Stripe-Account header [1] for all payment transactions
[0] https://stripe.com/docs/api/charges/list
[1] https://stripe.com/docs/api/connected_accounts
Similarly for the balance, you can use balance retrieval with Stripe-Account header: https://stripe.com/docs/api/balance/balance_retrieve
you are saying that here in stripe client , i can put account id ?\
nope, in the charges call
like this ?
in how many apis i can use this, can i use it in payment intent list api ? or balance api ?
it'll be something like this for retrieving connected account's charges:
$stripe->charges->all(
['limit' => 3],
['stripe_account' => '{CONNECTED_ACCOUNT_ID}']
);
similarly for the balance that you'll need to add ['stripe_account' => '{CONNECTED_ACCOUNT_ID}'] to your balance retrieval request
ok and can you tell me how to give a button for payout as i we are giving the connected account a dashboard then we have to give a button for payout
are you using automatic or manual payout?
if you use automatic payout, then platform doesn't have do anything
and where can you set this automatic or manual payout parameter ?
You can use payout schedule interval in Update Account API: https://stripe.com/docs/api/accounts/update#update_account-settings-payouts-schedule-interval
This is the information of the payout schedule interval values: https://stripe.com/docs/connect/manage-payout-schedule
No problem! Happy to help ๐