#dragonslayer5175
1 messages · Page 1 of 1 (latest)
Hello, what kind of connected account are you using? Express, Custom, or Standard?
Express
In that case, you actually don't need to create a Customer object on the connected account. For Express Connect, you will usually want to create the Customer and Subscription on your platform account
Looking for the doc...
This is the flow we usually reccommend for Express connect subscriptions https://stripe.com/docs/connect/subscriptions#customer-platform
This is my use case
https://stripe.com/docs/connect/subscriptions#connected-account-platform
It says to setup a customer for your connected account and then follow the subscription guidelines
Since the connected acount has a active kyc, i want to do the entire process through api's
So in that section, after creating the Customer on your platform, it says to create a Subscription for that Customer https://stripe.com/docs/connect/subscriptions#create-a-subscription-for-the-connected-account
Is there a specific part of creating the Subscription that you are getting stuck on?
Yes, if we go to the subscription page, there's a subscription api, but the api documentation is clear on how to attach the subscription to a customer but not how to associate it with connect account.
Does the account association have anything to do in this step?
Create a customer on the platform with the intended payment method for every connected account you want to bill. In the gym management software example, you create a customer for each gym business:
So in that flow, the Customer isn't officially connected to the Connect account. The idea is more that you will have an Account object and a Customer object that both represent the same user and you have a record somewhere on your side that indicates that cus_123 relates to acct_456
You can set those as IDs in each object's metadata but Stripe doesn't automatically connect things about the Account and Customer
okay
but then how the subscription works with connect account? (I'm under the impression that the amount will be deducted from the connect account after creating a subscription).
It won't actually. In the setup from that doc, you are charging whatever PaymentMethod the Customer gives you. We do have a method for debiting the connected account's funds but that is only for one time charges as far as I can see unfortunately https://stripe.com/docs/connect/account-debits
So the only possible way is to go with a normal flow by creating a checkout session in subscription mode for the customer (representing the connect account).
Yes, you are treating them like a normal Customer so you can definitely create a Checkout Session for them to get their Payment Method info