#emil_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/1334868430993625188
đ Have more to share? Add more details, code, screenshots, videos, etc. below.
We'd recommend you set up a webhook and subscribe to events for that
But otherwise you'd just check the status field via the API: https://docs.stripe.com/api/payouts/retrieve
Complete reference documentation for the Stripe API. Includes code snippets and examples for our Python, Java, PHP, Node.js, Go, Ruby, and .NET libraries.
Would the webhook be a custom one I can setup on the stripe dashboard or does it already exist?
I'm using the transfer api to do the transfer so the payouts retrieve would work for that as well? https://docs.stripe.com/connect/separate-charges-and-transfers?platform=web&ui=stripe-hosted#transfer-availability
Yes, you'd need to create the webhook and write the code in the endpoint to receive events and be notified on their status
Transfers and Payouts are totally different concepts
A transfer is between Stripe accounts. Payout moves the money to the nominated bank account
Gotcha, do transfers have something similar for status that the payments have?
Oh cool so I dont even need to check back on them at all? Even if they are schedule for when funds arrive in my stripe account with the SourceTransaction param
Yep, exactly
Oh thats so awesome, thank you so much!
Only if the API request to create fails do you need to action