Developer Resources

Build the future of Indian fintech

Powerful APIs, comprehensive SDKs, and developer tools to build world-class payment experiences. Trusted by thousands of developers across India.

1
Sign up for a ZenPays developer account
2
Get your API keys from the dashboard
3
Install the SDK for your preferred language
4
Make your first API call in sandbox mode

Terminal

Quick start

$ npm install zenpays-node
# Installing ZenPays SDK...
$ node app.js
Payment created: pay_abcd1234
Status: captured
Amount: ₹500.00
$
API Ready

Everything developers need to succeed

Comprehensive tools, documentation, and support to build exceptional payment experiences.

Comprehensive APIs

RESTful APIs with detailed documentation, code examples, and interactive testing tools.

50+ endpoints

Secure Authentication

Industry-standard OAuth 2.0, API keys, and webhook security with signature verification.

Bank-grade security

Real-time Webhooks

Instant notifications for payment events, KYC updates, and transaction status changes.

<100ms delivery

Multiple SDKs

Official libraries for Node.js, Python, PHP, Java, Ruby, and more programming languages.

8+ languages

Rich Documentation

Step-by-step guides, tutorials, and best practices for seamless integration.

100+ guides

Testing Tools

Sandbox environment, API explorer, and comprehensive testing utilities.

Full sandbox access

Start coding in minutes

Simple, clean APIs that get you up and running quickly. Copy, paste, and customize.

Accept Payment

Node.js

const zenpays = require('zenpays-node');

// Initialize with your API key
const client = new zenpays.Client({
  apiKey: 'zpk_test_...',
  environment: 'sandbox'
});

// Create a payment
const payment = await client.payments.create({
  amount: 50000, // ₹500.00 in paise
  currency: 'INR',
  payment_methods: ['upi', 'card', 'netbanking'],
  customer: {
    name: 'Rahul Sharma',
    email: 'rahul@example.com',
    phone: '+919876543210'
  },
  metadata: {
    order_id: 'order_123'
  }
});

console.log('Payment ID:', payment.id);

Verify KYC

Python

import zenpays

# Initialize client
client = zenpays.Client(
    api_key='zpk_test_...',
    environment='sandbox'
)

# Create KYC verification
kyc = client.kyc.create(
    customer_id='cust_123',
    document_type='aadhaar',
    document_number='1234-5678-9012',
    verify_address=True
)

# Check status
if kyc.status == 'verified':
    print(f"KYC verified for {kyc.customer_name}")
else:
    print(f"KYC pending: {kyc.verification_reason}")

Process Refund

cURL

curl -X POST https://api.zenpays.io/v1/refunds \
  -H "Authorization: Bearer zpk_test_..." \
  -H "Content-Type: application/json" \
  -d '{
    "payment_id": "pay_abcd1234",
    "amount": 25000,
    "reason": "requested_by_customer",
    "metadata": {
      "refund_reason": "Product return"
    }
  }'

SDKs for every tech stack

Official libraries maintained by our team, designed for production use and regular updates.

Node.js

v2.1.0
50K+ downloads

Python

v1.8.2
35K+ downloads

PHP

v1.6.1
28K+ downloads

Java

v1.5.0
22K+ downloads

Ruby

v1.4.3
18K+ downloads

Go

v1.2.1
15K+ downloads

Ready to start building?

Join thousands of developers building the next generation of Indian fintech applications.