Documentation
Everything you need to integrate Solpex into your website
Create Account
Connect your Solana wallet - no signup forms, no KYC.
Create Payment Method
Set your price, token, and customize the widget appearance.
Embed & Go Live
Copy the code, paste on your site, start accepting payments!
Basic Embed Code
<!-- Solpex Payment Widget -->
<div
id="solpex-widget-YOUR_PAYMENT_METHOD_ID"
data-solana-payment
data-payment-method-id="YOUR_PAYMENT_METHOD_ID"
data-style="card"
data-theme="light"
data-size="medium"
data-primary-color="#667eea">
</div>
<script src="https://www.solpexpay.com/widget.js"></script>Note: Replace YOUR_PAYMENT_METHOD_ID with your actual payment method ID from the dashboard.
Code Examples
<!DOCTYPE html>
<html>
<head>
<title>My Product</title>
</head>
<body>
<h1>Buy My Product</h1>
<!-- Paste widget code here -->
<div id="solpex-widget-xxx" data-solana-payment data-payment-method-id="xxx"></div>
<script src="https://www.solpexpay.com/widget.js"></script>
</body>
</html>import { useEffect } from 'react';
export function PaymentWidget({ paymentMethodId }) {
useEffect(() => {
const script = document.createElement('script');
script.src = 'https://www.solpexpay.com/widget.js';
script.async = true;
document.body.appendChild(script);
return () => document.body.removeChild(script);
}, []);
return (
<div
id={`solpex-widget-${paymentMethodId}`}
data-solana-payment
data-payment-method-id={paymentMethodId}
data-style="card"
data-theme="light"
/>
);
}Do I need KYC verification?
No! Simply connect your Solana wallet and you're ready to go. No identity verification or business registration required.
What tokens are supported?
Currently SOL, USDC, and USDT on Solana. More tokens coming soon based on user demand.
How long do transactions take?
Transactions confirm in under 1 second on Solana blockchain. Your customers will see instant confirmation.
What are the fees?
2% platform commission + minimal Solana network fees (typically $0.00025 per transaction).
Can I customize the widget?
Yes! Full customization including colors, sizes, styles, button text, and icons. Match your brand perfectly.
Is it secure?
Absolutely. Non-custodial architecture, smart contract based, and all transactions are transparent on-chain.
