JavaScript Libraries

WePay JavaScript libraries help your platform tokenize information like credit card, settlement, and risk details.


Versioning

WePay JavaScript libraries adhere to semantic versioning. Meaning if a library is labeled as x.y.z then each component represents the following:

  • x stands for a major version
  • y stands for a minor version
  • z stands for a patch

Support

WePay supports links for all semantic versions. However, if tokenization.3.1.3.js is the latest version, then “tokenization.3.1.3.js” and “tokenization.3.latest.js” both point to the same, latest version.


Tokenization JavaScript Library

Use the Tokenization JavaScript library to tokenize payment information such as credit cards, bank accounts, and digital wallet payments.

  • Current Version: 3.1.3
  • Versioned URL: https://static.wepay.com/min/js/tokenization.3.1.3.js
  • Latest URL: https://static.wepay.com/min/js/tokenization.3.latest.js

Know Your Customer (KYC) JavaScript Library

Use the KYC JavaScript library to tokenize KYC and settlement information.

  • Current Version: 1.0.1
  • Versioned URL: https://static.wepay.com/min/js/kyc.1.0.1.js
  • Latest URL: https://static.wepay.com/min/js/kyc.1.latest.js

Risk JavaScript Library

Utilize the Risk JavaScript library to generate risk tokens for your platform to use in risk headers.

  • Current Version: 1.0.1
  • Versioned URL: https://static.wepay.com/min/js/risk.1.0.1.js
  • Latest URL: https://static.wepay.com/min/js/risk.1.latest.js