#lucynoodles20

1 messages ยท Page 1 of 1 (latest)

slender pawnBOT
tiny scroll
#

Hi ๐Ÿ‘‹

Can you clarify what specific integration path you are using here? Is this with Financial Accounts? And do you have some example request IDs?

hearty field
#

Hi, I'm not sure what you mean about integration paths or financial accounts? Some examples: ba_0MBgD2PxnTIUcyZyShMAhbu7 for cus_Ik8nAZPIvikvYF and
ba_0MBSX5PxnTIUcyZyZAQ6JBA6 for cus_FoL433d55vsXbX. The events log shows customer.source.created being sent out but not payment_method.attached. We were thinking of using payment_method.attached to add the payment methods to our records.

tiny scroll
#

Oh well that is because ba_0MBgD2PxnTIUcyZyShMAhbu7 was created used the /v1/tokens endpoint

#

so it doesn't get created as a Payment Method

hearty field
#

I see, that makes sense. So if we're using /v1/tokens we could listen for customer.source.created, while if we're using /v1/payment_methods we can listen for payment_method.attached?

tiny scroll
#

Yup

hearty field
#

Cool, thank you

tiny scroll
#

Happy to help ๐Ÿ™‚

hearty field
#

One more question. It looks like for Cards, if we POST to /v1/customers/<id>/sources, both of those webhook events will be sent. Is that correct?

tiny scroll
#

Sorry the dashboard links aren't useful for me (it's not my dashboard). Do you have an event ID for me?

hearty field
#

evt_0MBijfPxnTIUcyZyo9unN9G8 and evt_0MBijfPxnTIUcyZySY0w9x9q

tiny scroll
#

Great, thanks

halcyon scroll
#

๐Ÿ‘‹ stepping in as Snufkin had to step away

#

Yep that's correct

#

Both will fire when attaching a Card via that endpoint

hearty field
#

Okay, I'm a little confused why this isn't happening for bank accounts. We are using the same endpoint, eg req_LPVRBeSmajHe3f, but we only get customer.source.created, not payment_method.attached. Snufkin said that we are using /v1/tokens, but I don't see that in the logs for cus_Ik8nAZPIvikvYF.

halcyon scroll