#rafaelbaptista-connect
1 messages · Page 1 of 1 (latest)
Hi there!
when attempting to charge
Can you clarify what you mean by this? How exactly are you attempting the charge?
Will be by using a direct charge do the connected account or if they are in us we try debit the account balance
I saw that stripe provide the delete and the restrict methods, but I'm not sure what is the correct one to do it.
If you restrict an account, it is still connected to your platform but with some restriction (like cannot receive payouts or cannot process payments).
If you disconnect an account, then it will be deleted.
Also noticed when reading the docs that both require the connected account to have 0 on the balance.
Yes when you delete an account its balance needs to be 0. However I don't think it's the case when you restrict an account. Where did you read this?
on stripe docs, could you provide me the link for the restrict method?
on stripe docs, could you provide me the link for the restrict method?
You can do that directly from the dashboard, when looking at a specific connect account. There's a "setting" section with an "edit" button
Then you can use this: https://stripe.com/docs/api/capabilities/update
and what exacly i pass there? the capabilities to false?
Yes, requested: false will remove the capability you specified.
does stripe not provide a more efective way to "restrict" an acct? or this is the only way to do it?
what do you mean by more effective?
have other question regarding webhooks,
charge.dispute.funds_reinstated -- this event occurs when a dispute is marked was win?
Yes, you can check this here: https://stripe.com/docs/api/events/types#event_types-charge.dispute.funds_reinstated
i check that but the description of the event dont clarify, thats why i'm asking
when that event occurs
can you confirm it that occurs when the status is changed to win?
I just checked, and yes I confirm that's how it works. So you get both charge.dispute.closed and charge.dispute.funds_reinstated when you win a dispute.
that dosent make sense because the charge.dispute.closed says that // Occurs when a dispute is closed and the dispute status changes to lost,
so why when the status change to win i get both if one is when i win and the other the the dispute is lost
I see this in the doc:
Occurs when a dispute is closed and the dispute status changes to lost, warning_closed, or won.
So it makes sense, since the status changed towon.
https://stripe.com/docs/api/events/types#event_types-charge.dispute.closed
my bad then, i didnt noticed the other two
can you confirm how i can transfer funds from the platform to a connected account?
i saw that this can be done using the transfer api
Yes, exactly: https://stripe.com/docs/api/transfers/create
the transfer basically transfer funds from the platform balance to the connected account balance right?
to this transaction stripe dont apply any processing fees right? since there are no cards involving
Yes that's correct.
thanks for the help, just have a last question
when a dispute is won, stripe will return the dispute fee + the amount of the dispute to the platform right?