#JohnM

1 messages · Page 1 of 1 (latest)

small stagBOT
novel helm
#

Hi! What's your question?

solemn nymph
#

does this work ?

novel helm
#

What do you mean?

solemn nymph
#

well, when should this webhook fire ? I have it set up, but it does not appear to be firing

#

do I set this on the account, or the connect

#

when I do a transfer to a connected account, I want to know when it has been placed in the connected account

novel helm
#

Where are you seeing that event? As far as I know, there is only transer.updated, transfer.created, and transfer.reversed

#

Once a transfer is created, the balance of the Connect account is immediately affected. There isn't really a waiting period for these

solemn nymph
#

it is listed as a valid webhook event to send

novel helm
#

Ahhhh, okay. I believe that was from a previous API version. Do you know what API version you're using?

solemn nymph
#

how would I know ? I am using the java sdk

novel helm
solemn nymph
#

2020-08-27

novel helm
#

Yeah, so I wouldn't worry about that webhook then

solemn nymph
#

the thing is that I need to know if the transfer has completed. Are you saying that I have no way to know if my transfer has completed ?

novel helm
#

transfer.created will only ever fire if the Transfer was successful. It completes instantly because it's being transferred between 2 Stripe account balances. There aren't any edge-cases where transfer.created fires and the funds do not land in the connected account's balance, so you can treat it as if it were transfer.paid or transfer.completed

solemn nymph
#

what if the transfer is dependent of a associated charge ? I am doing that to make sure I do not transfer the money until the funds are avaiable

#

using the source_transaction field on the transfer

novel helm
#

As far as I know, there's no such thing as a source_transaction that didn't result in money-movement, so the funds for the charge should always be in the balance. That being said, they could be pending in that balance, so it's best to check it before attempting to create a transfer