API Reference — Integrate Crypto Payments in Minutes
Built for Developers,
Loved by Teams
NiraPay's comprehensive REST API gives you complete programmatic control over crypto payment flows. From creating invoices to handling webhooks — every feature is accessible via clean, well-documented endpoints with sandbox support.

A Developer-First API
Everything you need to integrate crypto payments seamlessly into any application or platform.
RESTful API
Clean, predictable REST endpoints following industry best practices. JSON responses, HTTP verbs, standard status codes.
Real-Time Webhooks
Get notified instantly on payment events. Configure webhook URLs per gateway with automatic retry on failure.
Sandbox Environment
Test your entire integration safely. The sandbox mirrors production exactly — no real crypto required.
Comprehensive Docs
Every endpoint documented with examples, parameters, request/response schemas, and code samples in multiple languages.
API Key Management
Create multiple API keys with different permission scopes. Rotate, revoke, and audit keys from your dashboard.
Request Logs
Full API request and response logs with timestamps, payloads, and status codes for easy debugging.
HMAC Signature Verification
All webhook payloads are signed with HMAC-SHA256. Verify authenticity and prevent replay attacks.
API Versioning
We version our APIs so your integration never breaks. Migrate at your own pace with clear deprecation notices.
High Rate Limits
Generous rate limits designed for production workloads. Scale your transaction volume without API bottlenecks.
Simple Integration Example
// Create a payment invoice
const response = await fetch('https://api.nirapay.com/v1/invoices', {
method: 'POST',
headers: {
'Authorization': 'Bearer YOUR_API_KEY',
'Content-Type': 'application/json',
},
body: JSON.stringify({
amount: 100,
currency: 'USDT',
description: 'Order #1234',
webhook_url: 'https://yoursite.com/webhook',
}),
});
const invoice = await response.json();
// { id: 'inv_xxx', payment_url: 'https://pay.nirapay.com/...' }From API Key to Live Payments
Four steps to a fully integrated crypto payment system in your app.
Create Your Account
Sign up for NiraPay and head to your dashboard. Your first API key is automatically generated.
Read the Documentation
Explore our interactive API docs. Every endpoint has code samples in JavaScript, Python, PHP, and more.
Test in Sandbox
Use the sandbox environment to build and test your integration with simulated payments — risk-free.
Go Live
Switch to your production API key. Your integration is ready to accept real crypto payments globally.
Build Anything with NiraPay API
From simple checkout flows to complex multi-party payment systems — the API supports it all.
Web Applications
Integrate crypto checkout into your web app with a few API calls. Works with any backend stack.
Mobile Apps
Power crypto payments in your iOS or Android app via NiraPay's REST API and deep link support.
E-Commerce Platforms
Build a custom checkout that accepts crypto on any e-commerce stack — Shopify, WooCommerce, or bespoke.
Automation & Platforms
Power marketplaces, SaaS billing, or automated payout systems with NiraPay's full-featured API.
NiraPayStart Building with NiraPay API
Get your API key today and integrate crypto payments into your app in minutes. Full docs, sandbox environment, and developer support included — free.
Free sandbox · No rate limits on testing · Production-ready
2025 NiraPay. All Rights Reserved.
