#adi_api

1 messages ยท Page 1 of 1 (latest)

flint cragBOT
#

๐Ÿ‘‹ 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.

whole radish
#

๐Ÿ‘‹ happy to help

#

the source_transaction is the charge ID

#

normally you shouldn't get this error if you pass this parameter

obtuse sorrel
#

is there any possibility of getting the insufficient funds error if we pass the source_transaction parameter?

whole radish
#

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

flint cragBOT
obtuse sorrel
#

got it. what will be the source_type for the transfer if we pass the source_transaction parameter?

flint cragBOT
obtuse sorrel
#

do we need to pass also the source_type if we do the transfer with the source_transaction parameter?

uncut dragon
#

They're not related at all. If you don't pass source_type it'll default to card

obtuse sorrel
#

if the payment is a bank_account then the source_type will be the bank_account?

#

(transfer)

uncut dragon
#

I would assume so, try it out

obtuse sorrel
#

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?

uncut dragon
#

If you want to use a balance other than the card balance for the transfer then yes you will

obtuse sorrel
uncut dragon
#

Yes

obtuse sorrel
#

could you plz elaborate a bit?
how might we get the insufficient fund error if we do the transfer with source_transaction?

uncut dragon
#

You won't, that's the purpose of using the source_transaction parameter

obtuse sorrel
#

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?

cold sequoia
#

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.

obtuse sorrel
#

if we pass the source_transaction to the transfer, we don't need to check the Stripe available balance?

obtuse sorrel
#

i am looking forward to hearing from you

cold sequoia
#

sorry for the delay, looking into this now.