#AldoZoo-created-event

1 messages · Page 1 of 1 (latest)

unkempt tinsel
#

Platform events and connected account events are separate, so it's likely that your webhook endpoint is only configured to listen for the platform's events. Do you have an example event that you are trying to listen for?

sleek thorn
#

payment.created is what we see on the transfer creation in the connected account. But in the webhook config UI, there is no such thing to listen to in both types of webhooks platform and connected account.

unkempt tinsel
#

You have to configure the same endpoint twice in the dashboard, once for connected accounts and once for the platform. The endpoint can be the same, but the Dashboard has to have both configured separately

sleek thorn
#

the issue is about event type not available in the webhook events list available to config.

unkempt tinsel
#

I don't understand. You're saying it's not showing in the menu drop-down? If that's the case, can you link to the url that's showing that?

sleek thorn
#

Sorry for the confusion, in the screenshot, I typed payment.created but there is no such option.

#

To be clear, I get webhook payment.created genertaed when I subscripbe to ALL events, which obviously is not great. So the question is what event type I need to subscript to receive payment.created, knowing that payment.created is not available

#

Does it make sense @unkempt tinsel ?

unkempt tinsel
#

Can you link the ID for that payment.created event you're referencing?

sleek thorn
#

evt_1LUwHrBNXKKaJrbpabiptMCF

unkempt tinsel
sleek thorn
#

humm

#

Yes, webhooks work, and I get the payment.created one when I subscribe to ALL events. But what is the exact type that covers that event in the webhook configuration?

unkempt tinsel
#

It looks like you would have to create the Webhook Endpoint through the API and specify payment.created there. There’s no way to listen for it through the dashboard.

In case there's a better way to do this, what are you wanting to accomplish by listening to this event?

sleek thorn
#

Got it. So you are saying that Dahboard UI does not have the complete list of events available. Seems like a gap.

#

But understood the workaround.

#

My use case:

#

I need to capture notifications related to payments that a platform is doing to connected accounts.

unkempt tinsel
#

Seems like a gap.
It is, though it's mostly because payment.created isn't widely used and we usually recommend using transfer.created

#

which can be selected in the dropdown menu

#

and affectively maps to the same event

sleek thorn
#

Correct. we looked at transfers

#

Initially we looked at charge.successful

unkempt tinsel
#

transfer.created comes from the platform events though, and not the connected account events

#

payment.created is what the connect account would see, but there isn't usually a good reason for listening for it over transfer.created

#

Does that make sense?

sleek thorn
#

I think it does. I will also need to listen to reversal of trasnactions, but I think this will work with transfer.reversed

#

Thanks @unkempt tinsel !

unkempt tinsel
#

Sure thing!