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.
Terminal
Quick start
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.
Secure Authentication
Industry-standard OAuth 2.0, API keys, and webhook security with signature verification.
Real-time Webhooks
Instant notifications for payment events, KYC updates, and transaction status changes.
Multiple SDKs
Official libraries for Node.js, Python, PHP, Java, Ruby, and more programming languages.
Rich Documentation
Step-by-step guides, tutorials, and best practices for seamless integration.
Testing Tools
Sandbox environment, API explorer, and comprehensive testing utilities.
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.0Python
v1.8.2PHP
v1.6.1Java
v1.5.0Ruby
v1.4.3Go
v1.2.1Ready to start building?
Join thousands of developers building the next generation of Indian fintech applications.