简体   繁体   English

使用 PayPal API 检查信用卡类型(Mastercard 与 Visa)

[英]Check Credit Card Type (Mastercard vs Visa) using PayPal API

Are there any API that I can check if my customer are using paying using Mastercard or Visa card?是否有任何 API 可以检查我的客户是否使用 Mastercard 或 Visa 卡付款?

Just the card type is enough, no need the number.卡类型就可以了,不需要卡号。

As mentioned below, we don't have access to user credit card as they are stored in PayPal.至于提到的下面,我们没有获得用户的信用卡,因为它们都存储在PayPal付款。

PayPal keeps buyer billing information private by design -- so, for normal PayPal payments, the receiving account will have no indication whether it was paid with eg: PayPal 通过设计将买家帐单信息保密——因此,对于正常的 PayPal 付款,接收帐户将没有指示是否使用以下方式付款:

  • Their existing PayPal balance他们现有的 PayPal 余额
  • PayPal Credit贝宝信用
  • A local bank account当地银行账户
  • Visa签证
  • MasterCard万事达
  • American Express美国运通
  • Discover发现
  • Some other local card or funding source specific to the buyer's country特定于买方所在国家/地区的其他一些本地卡或资金来源

This is said to be a privacy and security feature: if one of the many sites that accepts PayPal is ever compromised, no information about customers' financials or funding sources will be exposed.据说这是一项隐私和安全功能:如果接受 PayPal 的众多网站之一遭到入侵,则不会暴露有关客户财务或资金来源的信息。

Back in the day, you could use the Vault API for saving the credit card securely and use it for paypal payments.过去,您可以使用 Vault API 安全地保存信用卡并将其用于贝宝付款。 Since PayPal acquired BrainTree the product for handling credit cards directly is deprecated and replaced with BrainTree Direct .由于 PayPal 收购了 BrainTree,直接处理信用卡的产品被弃用并被BrainTree Direct取代。

If you are only handling PayPal payments directly there are no options to view the payment method.如果您仅直接处理 PayPal 付款,则无法查看付款方式。

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM