You can integrate the Payviox SDK using different methods depending on your project setup.
CDN
NPM
Download
Include the SDK directly in your HTML file using a CDN link.
index.html
Copy
<!DOCTYPE html><html><head> <title>Payviox Integration</title></head><body> <!-- Your content --> <script src="https://sdk.payviox.com/payviox.js"></script> <script> // The SDK is now globally available const payviox = new Payviox('your_api_token'); </script></body></html>
Using the CDN is the fastest way to get started and automatically provides updates.
Install the SDK as a package in your Node.js project.
Copy
npm install @payviox/sdk
Then import it in your JavaScript files:
app.js
Copy
import Payviox from '@payviox/sdk';const payviox = new Payviox('your_api_token');
Download the SDK file directly and include it in your project.