Developer-First API

Payments API
Built for Developers

Integrate all Philippine payment methods with a single API. Simple REST endpoints, real-time webhooks, and comprehensive documentation.

// Create a payment link
const payment = await paytuko.createPayment({
  amount: 1000,
  currency: "PHP",
  description: "Order #12345",
  customer: {
    email: "juan@example.com",
    name: "Juan dela Cruz"
  }
});

console.log(payment.checkout_url);
// https://pay.paytuko.com/pay_xyz123

Everything You Need to Build

Modern API designed for developers who want to integrate payments quickly and reliably

Simple REST API

Clean, RESTful endpoints that follow industry best practices. Integrate payments in minutes, not days.

  • Predictable request/response format
  • Comprehensive error handling
  • Idempotent requests
Real-Time Webhooks

Get instant notifications for payment events. Never miss a transaction with our reliable webhook system.

  • Instant payment notifications
  • Automatic retries with backoff
  • Signature verification
SDKs & Libraries

Official SDKs for popular languages and frameworks. Get started faster with pre-built integrations.

  • PHP, Python, Node.js, Ruby
  • React, Vue, Angular components
  • Mobile SDKs (iOS, Android)
Testing Environment

Full-featured sandbox environment for testing. Simulate any payment scenario without real transactions.

  • Test credit cards and wallets
  • Simulate success and failures
  • Webhook testing tools

Integration in Minutes

See how easy it is to start accepting payments with PayTuko

1. Create a Payment

curl -X POST https://api.paytuko.com/v1/payments \
  -H "Authorization: Bearer pk_live_xxx" \
  -d amount=50000 \
  -d currency=PHP \
  -d description="Premium Plan"

2. Handle Webhooks

app.post('/webhook', (req, res) => {
  const event = req.body;
  
  if (event.type === 'payment.succeeded') {
    // Fulfill order
    fulfillOrder(event.data.id);
  }
  
  res.json({ received: true });
});

Start Building Today

Get your API keys and start accepting payments in minutes