#[LBG] India-account-updated
1 messages ยท Page 1 of 1 (latest)
Hi ๐ it sounds like you're already tracking the right events, could you provide clarity on what you're referring to by the following?
the status of a Standard connected account
Hello ๐
I need to know when I have to send an alert to the connected account to tell him he needs to complete information
Example : when the connected account has finished its first onboarding to set up company information, then the status goes to "pending" so Stripe verifies information. Then the status goes back to restricted because Stripe needs the connected_account to upload documents
That's the moment when I need to alert the connected_account
So that's tricky to tell because the dashboard calculates those statuses, and they aren't actually stored on the Account objects. However, Accounts do have the requirements hash which lists the currently_due and eventually_due requirements, along with the disabled_reason.
https://stripe.com/docs/api/accounts/object#account_object-requirements
Complete reference documentation for the Stripe API. Includes code snippets and examples for our Python, Java, PHP, Node.js, Go, Ruby, and .NET libraries.
There are too many information in the JSON events, which is good, but there isn't a "global status"
Yes that's right but it obliges us to create 168468168686 conditions
One way to do it is : if capabilities.card_payments == "inactive" AND previous_attributes.capabilities.card_payments == "pending"
Then alert the Connected account
But the exact logic of when to notify an account will fluctuate from one integration to the next, so we provide the building blocks to construct logic appropriate for your flow rather than forcing you to adapt your flows to prebuilt logic.
It's a good approach to check when the card_payments capability goes into a pending state for an account.
Do you have the conditions used by Stripe to display the Connected Account status ?
I guess it all goes with currently_due, eventually_due, past_due, etc
No I don't, we're not terribly familiar with the dashboard in this forum. However, the doc that you linked seems to explain the criteria behind at least some of them.
Examples:
Restricted means the account has payouts or payments disabled.
So you'd be looking atcapabilities.card_paymentsandpayouts_enabled.
Restricted soon means the account has a due date for providing additional information.
Probably want to look atrequirements.current_deadlineandrequirements.currently_due
OK checking on this, thank you
Do you confirm that the details_submitted is not sufficient to activate payouts : payouts_enabled ?
I'd assume there is a verification period between when details are submitted and when payouts are enabled. What's in requriements.pending_verification?
You assume right
Can I send you a full JSON here ?
What capabilities a refund of a direct charge between customer and standard connected account need ?
A direct charge means the payment is happening directly on the connected account, so whatever capabilities align with the payment methods that you want to customers to be able to pay with. I don't think refunds have an associated capability.
Clear, thank you
Happy to help!
We are using card payments only between customers and connected account (direct charges). We can consider the connected_account able to received payments and have payouts as long as payout_enabled is TRUE and capabilities.card_payments == "active"
Would you agree with that ?
Hello taking over for toby here. Yes that should be the case (and as long as the account isn't showing restricted in your platform's dashboard for any reason)
Well, when the account is marked as "restricted", payout_enabled should be set to False and capabilities.card_payments == 'inactive' or 'pending' (something different from 'active'). No ?
Yep
This is a screen of the first event account.updated in a connected account onboarding
Do you confirm that card_payment key will always be present in this event ?
Hi there! Stepping in for @slender mountain as he had to step away. Catching up....