Embed SDK
Add Finvex payments to any website or app with one line of code
Allowed Origins
Add your website domain to allow Finvex SDK to load from it. Required for CORS security.
<!-- Finvex Drop-in Checkout -->
<script src="https://js.finvexpay.com/v1/checkout.js"></script>
<button id="pay-btn">Pay ₹999</button>
<script>
const finvex = Finvex('finvex_test_YOUR_KEY_ID')
document.getElementById('pay-btn').onclick = async () => {
const order = await fetch('/create-order', { method: 'POST' }).then(r => r.json())
finvex.checkout({
order_id: order.id,
amount: order.amount,
currency: 'INR',
name: 'Your Product',
description: 'Order description',
prefill: {
name: 'Customer Name',
email: 'customer@email.com',
contact: '+919876543210'
},
theme: { color: '#2563EB' },
handler: (response) => {
// Payment successful — verify on your backend
verifyPayment(response.payment_id)
}
})
}
</script>Drop-in UI
Pre-built payment UI that matches your brand. Zero design work needed.
Smart Routing
Automatically routes to Razorpay or Cashfree for best success rate.
All Platforms
HTML, React, Vue, Flutter, React Native, iOS Swift, Android Kotlin.
Install Packages
React / Next.js
npm install @finvex/reactVue / Nuxt
npm install @finvex/vueFlutter
flutter pub add finvex_flutteriOS (Swift)
pod install FinvexAndroid (Kotlin)
implementation "com.finvex:sdk:1.0"Node.js Backend
npm install @finvex/node