#arden-malikb_error
1 messages · Page 1 of 1 (latest)
👋 Welcome to your new thread!
⏲️ We'll be here soon! Typically we respond in a few minutes, but sometimes we might take a bit longer if the server is busy or if you have a particularly tricky question.
⏱️ We close idle threads, which makes them read-only. Once a thread is closed it won't be reopened, but you can always start a new thread if you have another question.
🔗 This thread will always be available, even after it's closed. You can find it again using Discord's search, or you can save this link: https://discord.com/channels/841573134531821608/1408359832968233020
📝 Have more to share? Add more details, code, screenshots, videos, etc. below.
👋
Let's narrow this step by step.
but when I call https://api.stripe.com/v1/account_sessions/claim I get an error.
Can you share the ID (req_xxx) of the failing API request?
https://support.stripe.com/questions/finding-the-id-for-an-api-request
The process is like.
I load the Instant Payouts promotion component initially when the login in the manager panel. We are showing it initially. I have done the code in a sperate componet. From the backend I get rhe publishable key and the client sectet key. Based on it.
- I load the stripe js dynamically.
- Then I load the stripe connect js dynamically.
After the successfull load Iinit the stripe connet.
like this.
const stripeConnect = (window as any).StripeConnect.init({
publishableKey: this.stripeAppId,
clientSecret,
});
Then i create from the stripe connect.
this is all from the front end side but when I see in the network. It calls https://api.stripe.com/v1/account_sessions/claim
And this API fails from the stripe giveing message like
message: "Connected account impersonation is not allowed on this endpoint."
type: "invalid_request_error"
I am not calling this API it is being called automatically. sorry for the mislead message
Just to make sure I'm following you correctly, what guide are you following exactly ?
These are the docs I am referring to
Can you share your platform Account Id and your connect account Id ?
is your connected account's country eligible to get instant payout ?
https://docs.stripe.com/payouts/instant-payouts#availability
Give me a minute please
Sure!
Thanks
The Account that is connected is in the US
Can you help me test this Instant Payouts promotion on the localhost with the sandbox account, where I do not need to check the availability for the country and balance?
Sorry, but you didn't share your accounts Ids ?
Do you want sankbox account Id or live ?
The accounts that you are facing an issue with
acct_14qsRtCSWuqAS4eo
here is the connected Account ID
And this is your platform account: acct_2MLFJTJPX8ytdQCISACY ?
These both accounts are in the samee country US, wich is a supported country for instant payouts
Yes this is our platform account id
Yes true but still I am unable to load the Instant Payouts promotion
Stripe is liable for payments loss, so here are the conditions to display that component:
https://docs.stripe.com/connect/supported-embedded-components/instant-payouts-promotion?client=js#for-connected-accounts-where-stripe-is-liable-for-payments-losses
So the connected accounts must have "funds eligible for Instant Payouts"
We have checked using the balance API and we have verified from the InstantAvailable which the balance API returns
but the https://api.stripe.com/v1/account_sessions/claim API returns an error.
I found a request Id: req_eZR0RNbsBd5xhl
Checking...
For the testing purpose can you please help me how can I test this in my local
So that i can implement this perfectly
Using the testing keys
Or the sandbox account
Without considering the eligibility just for the testing purpose
You should create a connected Account in the same country as your platform Account (US)
Add balance to your connected account using one of these cards:
https://docs.stripe.com/testing#available-balance
Then once, the instant_available.net_available is the connected account’s instant balance is >0, then you can initiate the instant payout following one of these options
But the one which I gave was the live connected account in US itself....
But still I am unable to render the instant payouts
It had available funds in it
Yeah, for some reason, the platform account isn't allowed to initate an instant payout on behalf of the Connected Account
I'm suspecting that the Oauth connection, was established a long time ago (back to 2018), but I'm not sure honestly
I am asking that how can I allow an instant payout from the platform account
The platform and the connected account should be in the same country, have available balance and use the local currency (in your case USD), those are the only requirements
https://docs.stripe.com/connect/instant-payouts#eligible-connected-accounts
As you mentioned here how can I allow the instant payouts in the platform account
This issue with the Connected Account acct_14qsRtCSWuqAS4eo, will require an in-depth investigation from our team in order to figure out the root cause. Can we ask that you write in to us via https://support.stripe.com/contact, providing as much detail and context as possible (you can also reference this thread and the request Id req_eZR0RNbsBd5xhl).
Please?
You can request instant payout on the platform account following this:
https://docs.stripe.com/payouts/instant-payouts#request-an-instant-payout
Can you transfer this thread to one of your developers ??
So that I can get some more information regarding the implementation and the errors
I'm afraid that my team isn't able to assist you further regarding the issue with your Connected Account acct_14qsRtCSWuqAS4eo, our Support team needs to investigate further and see why your platform account doesn't have enough permission to request instant payout on behalf of your Connected Account
yes please and give any guidance or next steps that your team can provide
Please reachout to Stripe Support via https://support.stripe.com/contact,
Ok thank you for your help