#vinko_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/1304523992744595567
đ Have more to share? Add more details, code, screenshots, videos, etc. below.
Hi, depending on the type of connected account, you could use Account Debits, https://docs.stripe.com/connect/account-debits to pull funds from your Connected Accounts.
However, if you're creating an invoice, you would want to pass in the connected account's id in the metadata: https://docs.stripe.com/api/invoices/create#create_invoice-metadata for instance.
It's the other way around. We don't want to pull money from our connected accounts, but send money from our account to theirs, which I know how to do.
I also can create an invoice for the connected account, but them I don't know how to mark that invoice paid by that payment I did
If you're sending funds to your Connected Accounts, you can use the Transfers API: https://docs.stripe.com/api/transfers/create that is what it's built to do. Can you add more context into why you're creating an invoice instead?
Complete reference documentation for the Stripe API. Includes code snippets and examples for our Python, Java, PHP, Node.js, Go, Ruby, and .NET libraries.
Can I associate an invoice I create to that transfer?
Normally we would ask them to send us an invoice, but we want to create what's called a self invoice.
You could use the metadata, https://docs.stripe.com/api/transfers/create#create_transfer-metadata on the Transfer object to store additional information like the invoice id.
And can I transition it to paid?
I do not how this impact your reporting, but you could mark the invoice as paid out of band: https://support.stripe.com/questions/marking-an-invoice-paid-out-of-band
Are you creating these invoices for reporting purposes?
If so, you do not need to create a separate invoice, rather rely on our Reporting API: https://docs.stripe.com/reports/report-types/connect
If you're not worried about reporting, then yeah you could create those ivoices and mark them as paid out of band after you send the Transfer. However, I think it might be just better to create a receipt on your end after you create the Transfer and send that.
What do you mean as receipt?
After you purchase something, you get a paper showing you what you paid for and how much
you mean outside of stripe
Yes!