#hoyong-connect-clarification

1 messages · Page 1 of 1 (latest)

formal shardBOT
sullen pumice
#

@opaque gull let's chat here!

#

Can you clarify what you mean by merchant account in this context?

opaque gull
#

the payment merchant account. Which Stripe will create for each of our client when they sign up.

#

So, the org I am in will provide a interface where our clients can collect money from their clients

sullen pumice
#

Ah, so you're using Connect?

opaque gull
#

Yes

sullen pumice
#

Okay, so before you create any PaymentIntents and move funds, you'll need to decide which Connect account type and which charge type to use

opaque gull
#

Is it like either credit card or ach?

sullen pumice
#

The kind of information that each Connected account will need to provide to onboard to Stripe will differ based on capabilities

sullen pumice
opaque gull
#

awesome. This is great. I guess I was looking at the wrong docs

#

Thanks so much for the quick response

sullen pumice
#

Sure thing!

opaque gull
#

So basically, I need to pass those types to create a payment intent

#

am I understanding it right?

#

I guess plus the account id

sullen pumice
#

Well, you'll need to create your connected accounts and onboard them to Stripe in order to be able to create PaymentIntents where some of the money is routed to those connected accounts

opaque gull
#

Oh, so I do have a connect account

#

and then we will onboard our clients to Stripe

sullen pumice
opaque gull
#

and I was thinking when we onboard our clients, they will be given a merchant account

formal shardBOT
#

hoyong-connect-clarification

opaque gull
#

I am actually a bit confused with all the terms..

#

So, we have a website already that we will implement Stripe for our clients to collect money from their users.

#

when our clients create an account, is that a connected account?

sullen pumice
#

So your clients' users will pay and funds will be split between your clients Stripe account and your Stripe account?

#

If so, then yes, your clients will have a connected account. That connected account should be owned/managed by your Stripe platform account.

opaque gull
#

Yes. And once a client creates an account, then I will get their account_id

sullen pumice
#

Well, your platform will be the one to create the connected account

#

When you create the connected account, you will get the account ID.

#

The next step would be to collect information about the client's business in order to "onboard" them. How that information is collected and what information is required depends on the type of account you create for them (standard, express , or custom), the capabilities requested, and the charge type you plan on using.

opaque gull
#

I see I see. So I should get the account id from the platform. And to create a payment intent, do I pass that account id?

#

Oh I think I found something.
intent = Stripe::PaymentIntent.create({
amount: 10000,
currency: "usd",
application_fee_amount: 500,
}, {
stripe_account: "account_id"
})

sullen pumice
#

So I should get the account id from the platform
Not exactly. Assuming you create accounts using the API, the account ID will be returned when you make a request to create an Account: https://docs.stripe.com/api/accounts/create

#

And to create a payment intent, do I pass that account id?
Yes but how you pass it depends on the charge type. In the example you found above, passing the account_id as the value of the stripe_account header means you're creating a direct charge. Direct charges are recommended if you're using standard Connected accounts

opaque gull
#

And then I can store that information into our org's db

sullen pumice
#

Destination charges can be used with express or custom Connected accounts

opaque gull
#

I see. This is probably a good start for me. Again, thanks so much for the quick response

sullen pumice
#

Sure thing!

opaque gull
#

I will probably have a lot more questions as I plan out this.

sullen pumice
#

Agree, Connect can be tricky! As you play around with this, feel free to return if you run into any hurdles while you're creating accounts. I also recommend making use of this as you test: https://docs.stripe.com/connect/testing

opaque gull
#

Thanks a lot. Will do.