#rasrules_code
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/1264957618925998132
๐ Have more to share? Add more details, code, screenshots, videos, etc. below.
Hello
Hey bismarck!
No if it fails synchronously there will be a 4xx response to your API request
No Events are triggered
But you just handle this in your backend based on the request's response failure
So, you mean that it will do any needed check and failed instantly without actually doing the payout. If it doesn't fail instantly it will be queue to be proccesed later, right?
I'm not sure what you mean by that
A Payout creation request will only fail synchronously if there aren't sufficient funds or if the external account fails the validation checks.
In this case, no Events are triggered.
If the Payout fails asynchronously, like the bank sends us a message back after a day stating the bank account was closed or something, then there would be a payout.failed Event
If this didn't happen. then we will get the normal payout's even. payout.created, payout.paid payout.fail but later, right?
awesome!!!
I was doing testing with livemode off. and all the events happen really fast. So, I was a bit worried
Yeah we don't delay in test mode like in live mode so that you receive all the Events for your testing
one more question pls. is there a method to check for the bank account before creating the payout?
if the external account fails the validation checks
Those validation checks will mostly happen when you add the external account
So that mostly shouldn't be an issue
Yeah but after the account was added, it could become invalid later also.
Yeah it can, but not likely from this validation stand point. You can't do a check with the bank for whether the account is still valid if that is what you are asking?