简体   繁体   中英

Paypal Vault card number is masked

In sandbox mode i am able to store credit card numbers, however when i retrieve it the card number is masked IE "xxxxxxxxxxxx1111". The documentation states that it should be a numeric string. Is this how it is supposed to work or does it just do this in the sandbox?

This is correct functionality. The full card number is hidden in the response, so the above information is accurate.

You'll find the information in the developer's page under Vaulted Credit Cards: "The credit card number. Valid value is a string of numeric characters with no spaces or punctuation. Must conform to modulo and the length required by its credit card type. Redacted in responses ."

https://developer.paypal.com/docs/api/vault/#credit-card_create_response

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