API ReferenceIntegrate 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.

REST API
Webhooks
Sandbox Mode
api reference

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

POST /v1/invoices
// 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.

Node.js, Python, PHP SDKs
Full webhook support
Iframe embeds available
📱

Mobile Apps

Power crypto payments in your iOS or Android app via NiraPay's REST API and deep link support.

React Native compatible
Deep link payment flows
Push notification webhooks
🛒

E-Commerce Platforms

Build a custom checkout that accepts crypto on any e-commerce stack — Shopify, WooCommerce, or bespoke.

Platform-agnostic
Order status webhooks
Refund API support
⚙️

Automation & Platforms

Power marketplaces, SaaS billing, or automated payout systems with NiraPay's full-featured API.

Bulk invoice creation
Automated payouts
Multi-gateway management
NiraPayNiraPay

Start 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.

REST API
Sandbox Mode
Full Docs
0.75% Fee

Free sandbox · No rate limits on testing · Production-ready

NiraPay

Safer than a hug. Faster than a light.

Quick Links

Follow Us

2025 NiraPay. All Rights Reserved.