TheroPay LogoTheroPay

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}`);
  }
}
                        
FOR DEVELOPERS

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.

DEVELOPER-CENTRIC

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.

COMPREHENSIVE LIBRARIES

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
Explore SDKs
JavaScript
React
PHP
Python
iOS/Swift
Android/Kotlin
QUICK SETUP

From signup to live payments in days

Our streamlined integration process gets you up and running quickly

1

Sign up for an account

Day 1

Create your developer account in minutes with our simple onboarding form

2

Access sandbox environment

Day 1

Immediately start testing with our comprehensive sandbox

3

Integrate with your platform

Days 2-3

Use our SDKs to quickly integrate TheroPay into your checkout flow

4

Test and validate

Day 4

Use our testing tools to simulate different payment scenarios

5

Go live with confidence

Day 5

Move to production with ongoing monitoring and support

DEVELOPER 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

Contact Developer Support

Support channels

GitHub Issues

Public repos for SDKs and example apps with active support

View on GitHub

Developer Chat

Get answers from our engineering team in minutes

Start chat

Code Samples

Explore ready-to-use solutions for common scenarios

Browse examples

Documentation

Comprehensive guides with real-world examples

Read docs

Developer Office Hours

Weekly virtual sessions with our engineering team

Join next session
SUCCESS STORIES

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

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

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

Michael Rodriguez

Engineering Manager at GameVault

STAY UPDATED

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.