#Bob the builder

1 messages · Page 1 of 1 (latest)

empty mistBOT
spark oracle
#

Use case - we want to show some message to the user (not the card holder) that adding a card was attempted but failed

weak coral
#

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

spark oracle
#

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

weak coral
#

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

spark oracle
#

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?

weak coral
#

Hmm, not that I know of without knowing the ID

spark oracle
#

Oky, thanks for the information