SDK Integration
Best for: Frontend developers
Use our JavaScript SDK for quick integration with just a few lines of code.Advantages:- ✅ Quick setup (5-10 minutes)
- ✅ No backend required initially
- ✅ Built-in error handling
- ✅ Automatic redirects
- ✅ TypeScript support
- Redirect: Full-page redirect to secure payment page
- Iframe: Embedded payment form on your website
API Integration
Best for: Backend developers
Use our REST API for full control over the payment flow and custom integrations.Advantages:- ✅ Full server-side control
- ✅ Custom payment flows
- ✅ Works with any programming language
- ✅ Advanced customization options
- ✅ Webhook integration
- Server-side applications
- Mobile app backends
- Custom checkout experiences
- Multi-platform integrations
Quick Comparison
| Feature | SDK Integration | API Integration |
|---|---|---|
| Setup time | 5-10 minutes | 15-30 minutes |
| Technical level | Beginner-friendly | Intermediate |
| Code location | Frontend (JavaScript) | Backend (any language) |
| Customization | Standard flows | Fully customizable |
| PCI compliance | Automatic | Automatic |
| Webhooks required | Recommended | Required |
| Best for | Quick integrations, SPAs | Complex flows, mobile apps |
Which Should You Choose?
Choose SDK if...
Choose SDK if...
- You want the fastest integration (5-10 minutes)
- You’re a frontend developer or working on a simple website
- You prefer minimal backend code
- You want automatic redirect handling
- You’re building a single-page application (SPA)
Choose API if...
Choose API if...
- You need full control over the payment flow
- You’re building a mobile app backend
- You want to customize every aspect of the integration
- You’re working with a language other than JavaScript
- You need to integrate with existing backend systems