#vivsriva01

1 messages · Page 1 of 1 (latest)

undone prismBOT
#

Hello! We'll be with you shortly. Below are links to other discussions we've had with you in the past week in case you want to review that information. If your question is related to one of these previous discussions, please provide a comprehensive summary of the current state and what you need help with now. We help many users simultaneously, so a summary allows us to resolve your issue as soon as possible.

rose raptor
languid wharf
#

Thank you, but how do I create a customer for a connected account? I don't see this information on the page.

rose raptor
#

that's how you do it - you use the API with the Stripe-Account header and the Customer API

#

Or are you trying to do this in a no-code way?

languid wharf
#

I am looking at doing it via API.

#

how would I specify the connect account?

#

I don't see any parameter that defines this.

rose raptor
#

Deleted that message since it had your test secret key in it (this is a public channel)

languid wharf
#

oh, ok, didn't realize it. Thank you.

rose raptor
#

That looked like python, so you'd do somethign like this:

stripe.Customer.create(
  description="My First Test Customer",
  stripe_account='{{CONNECTED_ACCOUNT_ID}}',
)
languid wharf
#

ok, I see this. I am not probably explaining myself correctly. Ok, let me try with some details. Let's say I am using connect platform, and I have connected-ac A and connected-ac B as two connected account that have onboarded with me. Now, connected-ac A has a a customer with which I need to setup payment. When I create an invoive with direct charge, then the customer should see that it comes from connected-ac A.

#

to create this invoice, I need to first create a customer of connected-ac A. Is this not right?

rose raptor
#

Yes, thta is correct

languid wharf
#

ok, thanks. Then what parameters would have to be passed to create customer x who is a customer of connected-ac A.

#

somewhere in that payload, we may need to identify the connected-ac A, which I am not sure how to specify.

rose raptor
#

Have you tried the snippet I already shared with you? That's exactly how you'd create a Customer on a connected acount - you'd pass in stripe_account with the account ID you want

languid wharf
#

ok, got it. I will try.