#Dev-Ahmed-Hasnain-connect
1 messages · Page 1 of 1 (latest)
$stripeRefunds = $this->stripeClient->refunds->all(
['limit' => 100],
['stripe_account' => $business->businessOwner->stripe_connect_id]
);
i am calling the api like this, i can get the charges and payouts of the account but i am not getting the refunds and paymentIntents of that specific account. it gives the the refunds and paymentIntent of the main account / platform account
can you please help me out how to get the refunds of that specific account
Gotcha, could you send me the IDs of some requests where you tried to pull the Payment Intents and Refunds for the Connected Account, but received the platform's instead?
https://support.stripe.com/questions/finding-the-id-for-an-api-request#:~:text=How do I find the,(Request IDs API Docs).
Find help and support for Stripe. Our support center provides answers on all types of situations, including account information, charges and refunds, and subscriptions information. Get your questions answered and find international support for Stripe.
i am testing on local
i can not find the request
tell me i am using the right way to get the refunds of that account yeah ?
I believe so, but can you confirm which client library and what version of it that you're using?
sorry , what do you mean by client library and version, can you please tell me
Apologies, I see now that's using our PHP library.
i am using all list apis and using client_account_id in the same way. but refunds are not working as it is intended
Can you share the account ID of your platform? And the ID of a connected account that you recently tried this for?
Thank you, taking a look.
Oh, I see that you're using Laravel Cashier. That isn't our library, it's built by Laravel, so we're not as familiar with how it works. I do see that your Platform accounts made requests to that Connected Account.
What are you seeing when this happens, no results?
It looks like you're using Destination Charges, so the Payment Intents and associated Refunds will reside on your Platform account.
i am not using cashier as cachier does not give any support for stripe connect, although i am using destination charges.
what doest that mean then, i can not get refunds of connected account ?
Apologies, but all of the recent requests for those accounts have the Laravel Cashier user-agent on them, so they appear to be coming from that library unless you're explicitly setting your user agent to mimic it.
toby just tell me that if i use destination charge as my way to send money to connected accouts , then the payment intents and refunds will always be of the platform as they are firstly initialized at the platform account ?
Correct, when working with Destination Charges, the associated Payment Intent and Refund objects are stored on the Platform account.
ok thanks a lot
Any time!