Features
Two products, one goal: make payments simple
Checkout JS
Drop-in JavaScript checkout for any website. Start accepting payments in minutes with a beautiful, pre-built checkout experience.
- ✓ Lightweight, dependency-free implementation
- ✓ Works with any web platform
- ✓ Pre-built checkout form UI
- ✓ PCI-compliant card handling
- ✓ Themeable and customizable
// Initialize Quetzal
Quetzal.init({
accountId: 'cus_xxx'
});
// Open checkout modal
Quetzal.checkout({
amount: 1999,
currency: 'EUR',
mode: 'modal',
onSuccess: (result) => {
console.log('Payment successful!', result);
},
onError: (error) => {
console.error('Payment failed', error);
}
});
Checkout API
Build your own custom payment experience. Full control with simple REST endpoints and webhooks.
- ✓ Full control over the payment experience
- ✓ Create custom checkout flows
- ✓ Multiple payment methods support
- ✓ Simple RESTful endpoints
- ✓ Webhooks for real-time notifications
# Create a payment
curl -X POST https://pay.quetzal-api.com/v1/payments \
-H "Authorization: Bearer sk_live_xxx" \
-H "Content-Type: application/json" \
-d '{
"amount": 2999,
"currency": "EUR",
"payment_method": "card",
"description": "Order #1234"
}'
# Response
{
"id": "pay_1234567890",
"status": "requires_action",
"checkout_url": "https://checkout.quetzal-api.com/...",
"amount": 2999,
"currency": "EUR"
}
Product Comparison
Choose the right integration for your needs
| Feature | Checkout JS | Checkout API |
|---|---|---|
| Integration time | Minutes | Hours |
| UI customization | Themed | Fully custom |
| Frontend code | Required | Optional |
| Backend code | Optional | Required |
| PCI scope | Minimal | Minimal |
| Payment methods | All supported | All supported |
| Authorizations | ✓ | ✓ |
| Preauthorizations | ✓ | ✓ |
| Installments | ✓ | ✓ |
| Recurring | ✓ | ✓ |
Payment Types
Full flexibility for every business model
Authorizations
Standard one-time payments. Charge your customers instantly and securely. Perfect for e-commerce, digital goods, and services.
Preauthorizations
Hold funds before capturing. Ideal for hotels, car rentals, and any business that needs to verify funds before final charge.
Installments
Split payments over time. Let customers pay in multiple installments while you receive the full amount upfront.
Recurring Payments
Subscriptions and repeat billing. Automate your billing cycle for memberships, subscriptions, and regular services.
Platform Connectors
Native integrations coming soon
Plain JavaScript
AvailableWooCommerce
Coming SoonPrestaShop
Coming SoonShopify
Coming SoonMagento 2
PlannedReact
PlannedVue.js
PlannedNode.js
PlannedReady to simplify your payments?
Get started with Quetzal today. One API for all your payment needs.