JavaScript Libraries

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


WePay JavaScript libraries adhere to semantic versioning. For example, 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


WePay supports links for all semantic versions. However, if tokenization.3.1.12.js is the latest version, then “tokenization.3.1.12.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.12
  • Versioned URL:
  • Latest URL:

Know Your Customer (KYC) JavaScript Library

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

  • Current Version: 1.0.3
  • Versioned URL:
  • Latest URL:

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:
  • Latest URL: