python - 如何通过他们的 Python 库使用 Stripe API 的卡指纹功能?

标签 python flask stripe-payments

根据 https://support.stripe.com/questions/blocking-certain-card-numbers ,可以根据指纹阻止对特定卡进行收费。

我还没有找到任何允许我这样做的示例代码。

我正在使用 Flask 并希望根据一张用于存储被禁止的卡片/指纹的表格来检查卡片的指纹。

有人用 Stripe 的 Python 库做过吗?

最佳答案

为此,我会查看 tokenToken.card.fingerprint 属性并将其与您的已阻止指纹表进行比较。

关于python - 如何通过他们的 Python 库使用 Stripe API 的卡指纹功能?,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/28905241/

相关文章:

python - PyQt4 和 pyuic4

python - Flask:Python - 如何检查请求的 IP 地址

javascript - 如何将 Stripe 支付库与 HTML/JS 中单选按钮选择的多个按钮结合起来

iOS:嵌入在 UIViewController 中的 Stripe 结帐 UI

Python:如何按每个元素的最大值对列表进行排序?

python - 更改默认浏览器 linux - Python

python - 如何使用 pathlib.Path().glob() 读入文件并将具有相同文件名的文件输出到另一个子文件夹

python - 使用 Flask-marshmallow 和 flask-restful 发布复杂对象

python - Nginx、uWSGI、Flask 应用程序在服务器重新启动之前不会显示更改

javascript - 如何设置 react-stripe-checkout 表单的样式?