#inquisitive_api
1 messages ¡ Page 1 of 1 (latest)
đ Welcome to your new thread!
â˛ď¸ We'll be here soon! Typically we respond in a few minutes, but sometimes we might take a bit longer if the server is busy or if you have a particularly tricky question.
âąď¸ We close idle threads, which makes them read-only. Once a thread is closed it won't be reopened, but you can always start a new thread if you have another question.
đ This thread will always be available, even after it's closed. You can find it again using Discord's search, or you can save this link: https://discord.com/channels/841573134531821608/1224952311239938081
đ Have more to share? Add more details, code, screenshots, videos, etc. below.
First, does each child company have a different Stripe Account?
yes I want to have them different customer id
No I mean Stripe Account, not Customer
Your use case is suited for a Platform - Connected Accounts model, which we call "Stripe Connect". There the Company A will be the Platform, and each of AA, AB, AC will be a Connected Account to the Platform
Then you can have either the Destination Charge flow (if Connected Account is express/custom) or Direct Charge (if Connected Account is standard)
I am not sure if i get your question,
just consider a situation where, parent company could make payment for each of their child company one by one, but we might have more than 1000 child company so we are just trying to make it efficient and allow parent company to pay all those fees at once
By "parent company make payment for each of their child company" do you mean parent company accept payment from customer on behalf of its child company
Or are the child companies the payer here?
On our platform there would be two different types on company One Asset manager, and they might have different contractors under them. Previously, each of those new contractors used to pay the platform fee by themselves, now this asset manager wants to shift all those contractors from paper to our system. Now, asset manager do not want us to charge the contractors at the moment because they are shifting from old paper work as they were not bound to pay the system fee. So, for now the asset manager wants to pay the fee to us on behalf of them.
However, in future once the old project finish, on new projects we could charge the contractor directly. So until then the asset manager (parent company) wants to pay us (the platform), so their child could use our platform.
So I am looking for a way, of such payment like they are paying n number of invoices but on a single payment, so that in future, each child company could start making their own payment. Is there anything possible for this? If not is there any closest way to achieve it?
Hmm so you mean you are the Platform, the asset manager is the Connected Account, and their contractors are their Customer
no, we are the platform and this platform could have multiple asset manager (they are also our customers) they too pay fee to the platform
And the "parent company" is each of the asset manager, and their "child company" is their contractor?
@desert robin ??
Yes I see, sorry. So this is purely about your Account and its Customers. In the future you want to break down each Customer into multiple newer Customers
yes that should be an option.
What do you mean by paying n number of invoices but on a single payment? Each invoice of the future customers (contractors) but a single payment from the asset manager?
You can have multiple Invoice Items inside one Invoice, if that works for describing your use case
No, its fine having a single invoice as well, I just want a break down of what contractors they are paying for and for how many users for each contractor (basically quantity of users) for each contractor
Could you please give me some of the api list or some way to achieve it and I will look into the docs and see which might be the best fit on my use case
Wouldn't Invoice Items work? Like you have Invoice inv_xxx which has
- Invoice Item ii_aaaa about what the contractor A is paying via this asset manager
- Invoice Item ii_bbb about what the contractor B is paying via this asset manager
... (and so on)
Basically this https://docs.stripe.com/invoicing/integration/quickstart but with multiple / repeated step https://docs.stripe.com/invoicing/integration/quickstart#create-invoice-item
currently I am using session checkout and was thinking about adding line items for each customer but i believe it has a max limit of 20 customers.
So in case of invoice, I first need to generate an invoice and make the payment right?
Ah you are using Checkout
yes i was using checkout session
Alright. All you want is to save the information of breakdown on customer, correct? How about metadata?
does stripe allow metadata on each line items as well?
Not on the Create Checkout Session API but later if you can call Update Invoice Item: https://docs.stripe.com/api/invoiceitems/update#update_invoiceitem-metadata
Complete reference documentation for the Stripe API. Includes code snippets and examples for our Python, Java, PHP, Node.js, Go, Ruby, and .NET libraries.
so this means, creating an invoice instead of session checkout and make them pay this invoice is my best bet?