简体   繁体   中英

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?

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 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:

  • Their existing PayPal balance
  • 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.

Back in the day, you could use the Vault API for saving the credit card securely and use it for paypal payments. Since PayPal acquired BrainTree the product for handling credit cards directly is deprecated and replaced with BrainTree Direct .

If you are only handling PayPal payments directly there are no options to view the payment method.

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

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