#adi_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/1252937651716096050
๐ Have more to share? Add details, code, screenshots, videos, etc. below.
๐ happy to help
the source_transaction is the charge ID
normally you shouldn't get this error if you pass this parameter
is there any possibility of getting the insufficient funds error if we pass the source_transaction parameter?
as I said, normally if the source_transaction is a charge that hasn't been previously refunded or paid out you shouldn't get an insufficient_funds error
got it. what will be the source_type for the transfer if we pass the source_transaction parameter?
do we need to pass also the source_type if we do the transfer with the source_transaction parameter?
They're not related at all. If you don't pass source_type it'll default to card
if the payment is a bank_account then the source_type will be the bank_account?
(transfer)
I would assume so, try it out
if we pass the source_transaction parameter for the transfer then we don't need at all to pass the source_type. am i right?
If you want to use a balance other than the card balance for the transfer then yes you will
i didn't understand the word "paid out". is it related to the payout?
Yes
could you plz elaborate a bit?
how might we get the insufficient fund error if we do the transfer with source_transaction?
You won't, that's the purpose of using the source_transaction parameter
if the payment is paid out(via payouts) then we do the transfer with source_transaction for this payment. will we get the insufficient funds error?
hi! I'm taking over this thread.
it depends if you have some available balance on your account or not. I recommend doing some tests in test mode to see how this works exactly.
if we pass the source_transaction to the transfer, we don't need to check the Stripe available balance?
i am looking forward to hearing from you
sorry for the delay, looking into this now.