#dragonslayer5175

1 messages · Page 1 of 1 (latest)

lavish slateBOT
keen egret
#

Hello, what kind of connected account are you using? Express, Custom, or Standard?

quartz flicker
#

Express

keen egret
#

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...

quartz flicker
#

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

keen egret
#

Is there a specific part of creating the Subscription that you are getting stuck on?

quartz flicker
#

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:

keen egret
#

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

quartz flicker
#

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).

keen egret
#

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

With Connect, your platform can directly debit the Stripe balance of an Express or Custom account.

quartz flicker
#

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).

keen egret
#

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