#Bob the builder
1 messages · Page 1 of 1 (latest)
Use case - we want to show some message to the user (not the card holder) that adding a card was attempted but failed
Well using that /v1/payment_methods endpoint won't necessarily result in a decline
In the case of req_i4jKQsREqUwndT, it didn't fail. It succeeded in that you have a new pm_xxx object
If you intention is to see whether a card is valid, you should use Setup Intents
I couldnt find any webhook type for /v1/payment_methods, currently we listen on payment_method.attached but that one is failing
We cant control what the other platform is doing
Yeah, there's no events really as ultimately we're just tokenising the card via /v1/payment_methods. Most times it doesn't even hit card networks
The first request, req_i4jKQsREqUwndT created a payment method pm_1Lhe95FPhuNfIudsGXLOlfvM. As a different platform, is there any way we can get this id, without listing all payment methods everytime?
Hmm, not that I know of without knowing the ID
Oky, thanks for the information