#robotlos

1 messages · Page 1 of 1 (latest)

lunar valeBOT
brave nexus
quartz raven
#

what is the parameter?

#

does that mean that API call wont fail right away?

brave nexus
#

It is in the doc that I linked, source_transfer

#

It means the transfer API call will succeed and the funds will be sent over as soon as they land on your account

quartz raven
#

apologies, i dont seem to find that param in that page you sent i scanned the whole page

brave nexus
#

Sorry source_transaction

#

It is in the section that I linked to

quartz raven
#

oh yeah i see that source_transaction

brave nexus
#

The section that I linked to also talks about this functionality in more depth

#

Highly recommend reading the section

quartz raven
#

Okay so this requires creating a charge?

brave nexus
#

Yes, if you don't have charges assosciated with these payments then you will need to implement logic to wait until the balance is available. There is a balance.available webhook event that will notify you when new balance is available on your account https://stripe.com/docs/api/events/types#event_types-balance.available

quartz raven
#

I see and would we get a webhook notification when that transfer succeeds or fails if using the source_transfer?

brave nexus
#

Good question. Not immediately sure. Will see if I can find this in a doc. I think at the least you would get balance.available on the connected account, not sure if you would get a transfer based event

brave nexus
#

Hey apologies for dropping off on this. Unfortunately I did not find a doc, if you test this in test mode it will fire the proper events though. So I would recommend testing to see what events other than balance.available you can use here