#muhammad-hamza_api
1 messages ¡ Page 1 of 1 (latest)
đ Welcome to your new thread!
â˛ď¸ We'll be here soon! We typically respond in a few minutes, but in some cases we might need a bit more time (e.g., server's busy, you've got a complex question, etc.).
âąď¸ We close idle threads, which makes them read-only. Once a thread is closed it won't be reopened, but you can 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/1248605171345395763
đ Have more to share? Add details, code, screenshots, videos, etc. below.
You'll be looking at Connect to facilitate the multi-party payments part, specifically separate charges and transfers: https://docs.stripe.com/connect/separate-charges-and-transfers
The separate transfer can be delayed until n days after the payment as you need
when the payment is received in the web application owner account. then after 2 days it should automatically transfer to the owner personal account and to the vendor.
is there any specific API for this?
I just shared the link that outlines how to do it end-to-end, specifically: https://docs.stripe.com/connect/separate-charges-and-transfers?platform=web&ui=stripe-hosted#transfer-availability
You'll need to implement a queue/job system to trigger it exactly 2 days after the payment and call the Transfers API. You can't schedule that in Stripe today
in the invoice API, it facilitate the end user to schedule a payment after N number of days. i have implemented the functionality of transfer into connected account(s). is there any api of stripe facilitate the at the time of transfer?
hi! I'm taking over this thread.
with the Stripe API, you can create a Transfer immediately with this endpoint: https://docs.stripe.com/api/transfers/create