方形付款表格获取卡类型

时间:2019-07-06 00:11:33

标签: square-connect square

我有兴趣在执行Square的卡付款表单回调时获取其他卡信息。回调它cardNonceResponseReceived,并且根据文档具有以下字段:

  • card_brand:一个枚举值,指示所用信用卡的品牌:
  • last_4:卡号的后4位
  • exp_month:有效日期的2位数月份
  • exp_year:到期日期的4位数字年份
  • billing_postal_code:提供的邮政编码,如果禁用了邮政编码,则为null。
  • digital_wallet_type:一个枚举值,指示包含信用卡的数字钱包的类型:

我要显示的是卡是否已预付的指示。

Documentation of Square Documentation of Stripe which has this field

感谢您的帮助。 :)

0 个答案:

没有答案
相关问题