const theropay = require('theropay')('sk_test...'); const paymentIntent = await theropay.paymentIntents.create({ amount: 2000, currency: 'usd', payment_method_types: ['card', 'crypto'] }); app.post('/create-payment', async (req, res) => { try { const { items, currency } = req.body; const amount = calculateAmount(items); const paymentIntent = await theropay.paymentIntents.create({ amount, currency, automatic_payment_methods: { enabled: true } }); res.send({ clientSecret: paymentIntent.client_secret }); } catch (error) { res.status(400).send({ error: error.message }); } }); function processWebhook(event) { switch (event.type) { case 'payment_intent.succeeded': fulfillOrder(event.data.object); break; case 'payment_intent.payment_failed': emailCustomerAboutFailedPayment(event.data.object); break; default: console.log(`Unhandled event type ${event.type}`); } }
Built by developers, for developers
TheroPay provides powerful, flexible APIs and developer tools that make complex payment flows simple. We've designed our platform with developers at the center.
// Create a payment intent
const theropay = require('theropay')('sk_test_51H...');
const paymentIntent = await theropay.paymentIntents.create({
amount: 2000,
currency: 'usd',
description: 'Order #1234',
payment_method_types: ['card', 'crypto'],
metadata: {
order_id: '1234'
}
});
return { clientSecret: paymentIntent.client_secret };
Why developers love TheroPay
We built our platform with a developer-first mindset, creating tools we'd want to use ourselves.
Modern RESTful APIs
Clean, predictable endpoints with consistent responses designed for developer productivity.
Comprehensive SDKs
Official libraries for all major platforms and languages to accelerate your integration.
Secure by Default
Built-in security best practices and compliance with PCI DSS Level 1 standards.
Rapid Integrations
Most merchants go from signup to production in less than a week with our streamlined tools.
Developer Support
Direct access to our engineering team for technical questions and implementation assistance.
Powerful Testing Tools
Comprehensive sandbox environment with test accounts and scenario simulation.
The tools you already use
Our SDKs are available in all major programming languages and frameworks, so you can integrate TheroPay using your preferred technology stack.
- Simple, intuitive interfaces with type definitions
- Comprehensive error handling and logging
- Detailed documentation with examples
- Regular updates and dedicated maintenance
From signup to live payments in days
Our streamlined integration process gets you up and running quickly
Sign up for an account
Day 1Create your developer account in minutes with our simple onboarding form
Access sandbox environment
Day 1Immediately start testing with our comprehensive sandbox
Integrate with your platform
Days 2-3Use our SDKs to quickly integrate TheroPay into your checkout flow
Test and validate
Day 4Use our testing tools to simulate different payment scenarios
Go live with confidence
Day 5Move to production with ongoing monitoring and support
We're developers helping developers
Our support isn't outsourced—you'll speak directly with the engineers who built the platform.
Direct engineer access
Chat with our engineering team when you need specialized help
Dedicated Slack channel
Enterprise customers get a private Slack channel with our team
24/7 emergency support
We're always available for critical production issues
Support channels
What developers are saying
Don't just take our word for it—hear from developers who've integrated TheroPay
"TheroPay's SDKs saved us weeks of integration time. Their attention to developer experience is unmatched in the payments space."

Alex Chen
Lead Developer at CryptoExchange
"When we ran into a complex routing issue, TheroPay's developer support team jumped on a call with us the same day and helped us solve it."

Sarah Johnson
CTO at ContentStream
"The sandbox environment allowed us to test every edge case before going live. We launched with zero payment issues."

Michael Rodriguez
Engineering Manager at GameVault
Developer resources
Everything you need to build with TheroPay
Join our developer community
Get the latest updates on our APIs, new features, and developer events. We'll never share your email with anyone else.
What you'll receive:
- API changelog and deprecation notices
- Developer tips and best practices
- Invitations to developer events and webinars
- Early access to new features
- Case studies and implementation guides
Ready to build with TheroPay?
Create a free developer account and start building in minutes. No commitment required.
Have questions? Contact us or check our FAQ.