Installation
danger
Please be aware that our Tokenizer is still in Beta. Breaking changes might happen in the future.
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:
Using from NPM (recommended)
info
It brings type safety and code suggestions.
- NPM
- Yarn
- pNPM
npm install @revere_payments/tokenizer
yarn install @revere_payments/tokenizer
pnpm 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 } from 'https://esm.run/@revere_payments/tokenizer';
// Specified version
// import { SimpleReverePay } from "https://esm.run/@revere_payments/tokenizer@0.0.102";
// ...
</script>
</body>
</html>