#windlepoons - Webhook Events

1 messages · Page 1 of 1 (latest)

median tinsel
#

Hello! Can you give me an example event so I can take a look?

modest galleon
#

evt_1KKHsXJNcmPzuWtRjTr9U9hk

median tinsel
#

It looks like that Payment Method hasn't been used yet, so it's eligible to be updated.

modest galleon
#

It has no customer associated with it?

median tinsel
#

Correct.

modest galleon
#

Or do you mean that it got into the system via the Stripe widget, but was never attached to a customer?

median tinsel
#

Sorry, I don't understand the question. This Payment Method was created but not used for anything, then it was updated (so it would have current details when it does it get used).

modest galleon
#

How would it get used when its not attached to a customer?

median tinsel
#

Payment Methods can be used for a single payment without being attached to a Customer, or they can be attached to a Customer to be used multiple times.

#

When this was updated you still had the option to do either of those things, attach it to a Customer or make a single payment.

modest galleon
#

Is there any way to prune un-attached payment methods?

median tinsel
#

Not really. Why would you want to?

modest galleon
#

Because we don't know what customer it goes to.

median tinsel
#

It may not belong to any Customer. A Payment Method can be created with your publishable key, which is public, so there are going to be ones hanging out that never belong to anyone.