#wdrisco
1 messages · Page 1 of 1 (latest)
You can use the stripe account header on any api, you'd do this when performing operations as that connected account
so if you wanted to create a customer directly on a connected account, you'd use that header on the customer api
right I see
if you wanted to create a billing portal session for a customer on that connected account, you'd use the header for that too
thank you, so if I created a customer without that header, that customer would be at the account level and could be used to pay various connected accounts
is there any other consideration for adding the customer to that connected account only?
if you create a customer without that header, it will be created on your platform account not the connected account
it's really up to you where that customer should reside
mostly depends on who your customers expect to be dealing with, your platform or the connected account
then you gotta be doing destinations or direct charges
okay thanks, I'll read more into that
the error we're getting is
You can’t create a portal session in test mode until you save your customer portal settings in test mode at https://dashboard.stripe.com/test/settings/billing/portal
This obviously looks self explanatory, but this appears to be set up. Any other thoughts on what this might be?
I've used the headers as mentioned so it's creating portal session for a specified connect account
Sign in to the Stripe Dashboard to manage business payments and operations in your account. Manage payments and refunds, respond to disputes and more.
are you doing that as the platform or using the connected account header?
can you share an example request ID?
Right, so those settings would need to be saved by each account, in that case
However you might be able to provide a billing portal config explicitly to bypass that, if the account otherwise has branding and public info fully set
okay understood, thanks, we'll look into this!
You can try creating a BPC on the account too then including that:
https://stripe.com/docs/api/customer_portal/configurations/create
https://stripe.com/docs/api/customer_portal/sessions/create#create_portal_session-configuration
Complete reference documentation for the Stripe API. Includes code snippets and examples for our Python, Java, PHP, Node.js, Go, Ruby, and .NET libraries.
Complete reference documentation for the Stripe API. Includes code snippets and examples for our Python, Java, PHP, Node.js, Go, Ruby, and .NET libraries.
excellent, we'll try this
But if the account hasnt set up branding or public business info, they'll need to do that in the dashboard