#bryan_07234

1 messages ยท Page 1 of 1 (latest)

ionic talonBOT
plain musk
#

Hi ๐Ÿ‘‹

Can you share an event ID so I can check?

normal radish
#

Sure. evt_1Nf32AI20usawKu0ktIN2Yqg

plain musk
#

So in this event there is a properyt request that will let you see the API request that generated it.

#

The Transfer creates a Payment object

#

And this webhook event notifies you of the creation of that payment to the Connected Account

normal radish
#

OK, so was the payment completed when I got back the Transfter object with a transfer and payment ID, or was it completed when I get the payment.created event?

plain musk
#

It's not precise to the second but you can inspect the Payment object returned in the webhook to determine the status . In this case it is succeeded

normal radish
#

Hm... is there any reason why a payment may not have gone to the Connected account, even through I got back a Transfer object with the payment Id in it?

#

I think I understand... so the transfer creates a payment request internally. Once that request is completed, then the Connect account has its money, and a payment.created is sent to the webhook. Correct? So I need to wait for that event before I know for sure the money got transferred?

#

If the payment was unsuccessful, I'll get that status in the payment.created event, and the money will remain in my Stripe account. In other words, the transfer was aborted and will not be retried or completed -- I'd have to create a new transfer again? ... or do I do something with that transfer ID to resend it?

plain musk
#

Correct. Although it's pretty much a seamless process

#

So if the Transfer is successful, so is the payment. But we note every change to objects.

#

If a Transfer fails you would need to create a new one

normal radish
#

Ah OK. So if I get back a payment ID on my transfer object, I can assume the payment was good, and ignore the payment.created event?

plain musk
#

Essentially yes

normal radish
#

Thank you! ๐Ÿ‘