#joelalcedo - available balance

1 messages · Page 1 of 1 (latest)

lofty helm
#

Hello, the funds aren't immediately available (unless you use the special card that the error mentions) because it takes time for funds to actually be transferred from the bank after the transaction is approved

#

But if you use that 0077 card or pm_card_bypassPending then we make the funds available immediately for you to test with

hazy prism
#

hi Pompey - thanks for the response!

in a live setting, what should be the trigger for a transfer to occur? in a live setting i would like the process to work like this:

user checks out -> paymentsIntent.create is called -> transfers.create is called

but in a live setting if the same issue occurs (i.e. it takes time for funds to actually be transferred from the bank), i will run into the same problem.

is there a way to set transfers.create up in a way where it is triggered once funds are cleared?

#

or ideally, is there some way to automatically allocate the transfer as a pending amount to the connected account upon checkout?

#

if i am correct, that is what the source_transaction: "{CHARGE_ID}", field is for

lofty helm
#

Yes, that is typically why you would want to use the source_transaction parameter. You can also wait on the webhook event and do it manually but providing the source transaction is usually easier

hazy prism
#

ok, i think i know what needs to happen now, I'm going to try to get this to work and will circle back. thank you so much!!

#

am i right to assume the charge ID is something that is generated at the time of paymentsIntent.create? is it the same thing as the client secret?

lofty helm
#

No, a Charge is an object that refers to a specific payment attempt

#

Charges are created when you try to confirm the payment intent