Skip to main content

Installation

warning

Tokenizer requires a secure HTTPS connection. If you don’t have a test environment with HTTPS enabled, we suggest setting up a hosting environment with ngrok, Netlify, or Vercel.

info

Please be aware that this endpoint requires a Tokenizer API Key.

Install the @revere_payments/tokenizer (distributed via npm) package in your project by running the following command in your project:

info

It brings type safety and code suggestions.

npm install @revere_payments/tokenizer

Using from CDN​

index.html
<!doctype html>
<html lang="en">
	<head>
		<meta charset="UTF-8" />
		<meta name="viewport" content="width=device-width, initial-scale=1.0" />
		<title>Document</title>
	</head>
	<body>
		<script>
			// Import from CDN
			// Latest version
			import {
				SimpleReverePay,
				AdvancedReverePay
			} from 'https://esm.run/@revere_payments/tokenizer';
			// Specified version
			// import { SimpleReverePay, AdvancedReverePay } from "https://esm.run/@revere_payments/tokenizer@1.0.0";
			// ...
		</script>
	</body>
</html>