#Dev-Ahmed-Hasnain-connect

1 messages ยท Page 1 of 1 (latest)

jagged grove
#

๐Ÿ‘‹ How can I help?

sharp gulch
#

i want to ask somethings about stripe connect .

jagged grove
#

What's your question?

sharp gulch
#

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.

jagged grove
#

Dev-Ahmed-Hasnain-connect

sharp gulch
#

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 ?

jagged grove
#

what type of charges are you using?

#

destination charges or separate charges and transfers?

sharp gulch
#

payment intent

#

destination charges

jagged grove
sharp gulch
#

you are saying that here in stripe client , i can put account id ?\

jagged grove
#

nope, in the charges call

sharp gulch
#

like this ?

#

in how many apis i can use this, can i use it in payment intent list api ? or balance api ?

jagged grove
#

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

sharp gulch
#

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

jagged grove
#

are you using automatic or manual payout?

#

if you use automatic payout, then platform doesn't have do anything

sharp gulch
#

and where can you set this automatic or manual payout parameter ?

jagged grove
sharp gulch
#

ok thank you very much for you kind guidance.

#

stay blessed.

jagged grove
#

No problem! Happy to help ๐Ÿ˜„