API Integration Services in India: Complete 2026 Guide
API Integration Services in India: Complete 2026 Guide
APIs are how modern Indian businesses stop wasting time on manual work. The payment gateway that settles to your bank account, the WhatsApp message that confirms an order, the e-way bill that prints with the invoice, the courier label that appears in the warehouse — all of it runs on APIs.
I'm Ashish Sharma, founder of Codingclave. We've shipped 200+ API integrations for Indian businesses since 2017 — small shops adding Razorpay, enterprise ERPs connecting to GST portals, D2C brands syncing Shopify to Tally. This guide covers the integrations that actually matter in 2026, what they cost, how long they take, and the traps we've seen our clients fall into.
The API Stack Every Indian Business Needs
If you run a digital-first business in India, you'll touch most of these in your first year:
| Category | What it does | Popular APIs |
|---|---|---|
| Payments | Accept money online | Razorpay, PayU, Cashfree, PhonePe |
| UPI | Direct bank-to-bank | BHIM, Paytm UPI, GooglePay SDK |
| Messaging | Customer comms | WhatsApp Business API (Gupshup, Wati), Gupshup SMS |
| Compliance | GST, e-invoice, e-way bill | ClearTax, Cygnet, Masters India |
| Logistics | Shipping + tracking | Shiprocket, Delhivery, XpressBees |
| Commerce | Catalog sync | Shopify, WooCommerce, Unicommerce |
| Auth | Login + verification | Truecaller, Google OAuth, MSG91 OTP |
| Accounting | Books sync | Tally, Zoho Books, Busy Accounting |
The trick is choosing the right provider for your scale and integrating with patterns that survive real-world failure — networks drop, APIs rate-limit, webhooks retry.
Payment API Integration in India
Razorpay dominates Indian startup checkouts, and for good reason: the docs are the best in the industry, the dashboard is clean, and they support every method your customers actually use.
Razorpay integration — what "done" looks like
A production Razorpay integration isn't just a Pay button. Done properly, it includes:
- Checkout UI with your branding, preferred methods pinned (UPI for India)
- Order creation on your backend before showing checkout (never trust amounts from the browser)
- Signature verification on webhook callbacks (critical — skip this and anyone can fake payments)
- Webhook handlers for
payment.captured,payment.failed,refund.processed - Idempotency — the same webhook can fire multiple times; your code must handle it
- Refund flow — partial and full refunds from your admin panel
- Reconciliation — daily comparison between Razorpay settlements and your order DB
Typical cost for a clean Razorpay integration: ₹25,000 to ₹75,000 depending on complexity. If someone quotes you ₹5,000, they're building only the happy path — you'll pay 3x more in six months when the first failed webhook causes a customer dispute.
UPI intent vs collect
Two flavors of UPI matter in 2026:
- UPI Intent — customer clicks Pay, your app opens their UPI app, they approve. Fastest and most reliable. Use for consumer checkouts.
- UPI Collect — you send a collect request; customer gets a notification and approves. Works without leaving your app but has higher drop-off. Use for B2B recurring or AR collections.
For most retail flows, UPI Intent via Razorpay or PhonePe is the default. For recurring B2B, Cashfree's Autocollect is strong.
WhatsApp Business API Integration
WhatsApp is the acquisition and support channel for Indian SMBs in 2026. The official WhatsApp Business API — not the consumer Business App — is the only way to send messages at scale, use chatbots, or integrate with your CRM.
How the BSP layer works
You can't integrate directly with Meta. You go through a Business Solution Provider (BSP). The BSP handles infrastructure, template approvals, and compliance. Your app talks to the BSP; the BSP talks to WhatsApp.
Popular BSPs in India ranked by what we recommend for different scales:
- Small/medium (< 10,000 conversations/month) — Wati, AiSensy, Interakt. Low platform fees, no-code builders included.
- Scale-up (10,000 – 500,000/month) — Gupshup, Zoko. Strong APIs, enterprise pricing, good support.
- Enterprise (500,000+/month) — Gupshup, Infobip, Route Mobile. Custom SLAs, dedicated infrastructure.
The parts of a WhatsApp integration
- Template messages — pre-approved by Meta (24-72 hours). Used for marketing, transactional alerts, OTPs.
- Session messages — free-form replies within 24 hours of a customer message. Charged per conversation.
- Interactive messages — lists, buttons, quick replies. Drive action rates 3x vs plain text.
- Webhooks — incoming messages come via webhook to your server. Your code processes intent and replies.
- Chatbot layer — either build your own (custom NLP), use the BSP's builder, or bolt on an LLM-based bot.
Cost in 2026 India:
- Marketing conversations — ₹0.72 each
- Utility (transactional) conversations — ₹0.13 each
- Authentication (OTP) conversations — ₹0.11 each
- Service conversations (customer-initiated) — free for the first 24h, then per-category
For a typical Indian D2C brand with 5,000 orders/month, WhatsApp cost is about ₹2,000-₹4,000/month including platform fees. Integration build: ₹40,000-₹1,50,000 depending on chatbot complexity and CRM sync.
GST E-Invoicing API Integration
As of 2026, every business with aggregate turnover above ₹5 crore must e-invoice via the NIC Invoice Registration Portal (IRP). You integrate via a GST Suvidha Provider (GSP).
The flow
- Your billing software finalizes an invoice
- Your backend calls the GSP API with invoice data
- GSP forwards to NIC IRP
- IRP returns the IRN (Invoice Reference Number) and signed QR code
- Your invoice PDF includes the IRN and QR code
- Customer receives the legally valid e-invoice
What to watch for
- Schema strictness — NIC's JSON schema is unforgiving. One invalid HSN code or GSTIN format breaks the submission. Your integration must validate before sending.
- Credit notes and cancellations — must also go through the IRP. Many early integrations miss this and create compliance gaps.
- Retry logic — IRP has occasional downtime. Your system must queue and retry without creating duplicates.
- IRN storage — store IRN with every invoice. Regulators can audit for 6 years.
We typically deliver a production GST e-invoicing integration in 3-5 weeks for ₹80,000 to ₹2,50,000 depending on the billing software complexity. Ongoing: ₹1-₹3 per invoice to the GSP plus ₹5,000-₹15,000/month for monitoring.
For a deeper dive on GST compliance requirements, see our GST-compliant software guide for Indian businesses.
Logistics API Integration
For any Indian e-commerce or D2C brand, logistics integration is where operations live or die.
Shiprocket — the SMB default
Shiprocket aggregates 17+ courier partners (Delhivery, Xpressbees, DTDC, Bluedart, Ekart, India Post) into one API. Most Indian D2C brands start here.
A production Shiprocket integration includes:
- Order push from your store to Shiprocket
- Rate comparison at checkout (optional, helps margins)
- Label generation and AWB assignment
- Tracking sync back to your order DB
- Return and RTO handling
- COD reconciliation
Typical build: ₹35,000 to ₹1,00,000. Monthly tracking sync adds maintenance cost.
Direct carrier APIs
For volume above 1,000 orders/day, direct integration with Delhivery or XpressBees pays back in 6-12 months through better rates and cleaner tracking. But the engineering cost is higher — separate APIs per carrier, label PDF rendering, manifest generation.
Inventory + Commerce Sync APIs
If you sell across Shopify, Amazon, Flipkart, Myntra, and your own site, multi-channel inventory sync is non-negotiable. Running out of stock on one channel while shipping from another creates refunds and damaged seller ratings.
Options in 2026:
- Unicommerce — enterprise multi-channel, deep Indian marketplace integrations (Flipkart, Amazon India, Myntra)
- Vinculum — strong for D2C with warehousing needs
- Browntape (now part of Unicommerce) — SMB-friendly
- Custom middleware — if your ops are genuinely unique, a bespoke sync layer can be cheaper long-term
Build cost for a custom inventory sync across 4-5 channels: ₹1,50,000 to ₹5,00,000. Most Indian brands outgrow off-the-shelf by ₹5 Cr annual revenue.
Truecaller, OTP, and Authentication APIs
SMS OTPs still dominate Indian login flows. In 2026, the stack is:
- MSG91 — best-in-class delivery, supports OTP, SMS, voice, email
- Twilio Verify — international fallback, slightly expensive for India-only
- Gupshup — broad SMS + WhatsApp bundled pricing
- Truecaller SDK — one-tap signup, increasingly popular for fintech and e-commerce
Integration is straightforward — a few API calls with retry logic. Typical cost: ₹15,000 to ₹40,000. Per-OTP cost: ₹0.12 to ₹0.25.
Important 2026 change: TRAI's new DLT (Distributed Ledger Technology) rules mean every SMS template must be pre-registered with your operator before it can be sent. Skip this and your OTP delivery drops to 10%. Any serious integrator handles DLT registration as part of the build.
Common Integration Mistakes We Fix
After 200+ integrations, these are the recurring issues we see in code inherited from other teams:
- No webhook signature verification — anyone with your webhook URL can fake events
- No retry logic — one network blip corrupts order state permanently
- No idempotency keys — duplicate webhooks create duplicate charges or fulfillments
- Secrets in source code — API keys in GitHub → scanner bots → compromised accounts within hours
- No dead-letter queue — failed messages silently disappear, losing data
- Synchronous in the hot path — a slow Razorpay call freezes checkout for 30 seconds
- No rate-limit handling — at scale, APIs throttle. Your code needs backoff logic.
- No timezone discipline — settlements in IST, orders in UTC, reconciliation breaks nightly
Every one of these has cost a client we inherited real money. API integrations look simple. Correct ones are engineered defensively.
Who Should Build Your Integrations
Three paths, honestly evaluated:
Path 1: In-house developer
Works if you have: a senior backend engineer, time for them to learn each API, and a QA process. Fails if: integrations are side quests for someone focused on features.
Path 2: Freelancer from Upwork / Fiverr
Works for: one simple integration (e.g., basic Razorpay). Fails for: anything with compliance (GST), anything with multiple failure modes (logistics), anything long-lived. You will not reach the freelancer in month 4 when the integration breaks.
Path 3: A specialist agency
Works for: production systems, compliance-sensitive work, multi-integration projects. Best match for Indian SMBs with a real revenue channel to protect. See our custom software development services page.
How We Approach an Integration Project
For reference, this is how we typically scope a new engagement:
- Discovery call (free, 45 min) — understand your current stack, pain points, volume, compliance needs. Book via free consultation.
- Technical audit (1-3 days) — we review API docs, your existing code, identify failure modes
- Scoped proposal — fixed-price delivery with milestones, retry + monitoring included
- Build (2-8 weeks) — sprints with working increments each week
- Handover + monitoring setup — you get dashboards, alert rules, runbooks
- Ongoing support plan — optional monthly retainer for updates, new endpoints, compliance changes
For a custom quote on your integration scope, use get a free quote. If you want to talk through it first, book a call or contact us directly.
2026 Outlook: What's Changing
- Account Aggregator (AA) framework is maturing. By late 2026, most fintech and lending APIs will flow through AA-registered flows for consent and data sharing.
- DigiLocker and Aadhaar APIs are increasingly available to private businesses for KYC. UIDAI is tightening consent norms.
- ONDC is reshaping commerce API expectations — see our ONDC integration guide.
- WhatsApp Payments is finally scaling after RBI approval. Expect major BSPs to ship Payments APIs for merchants in 2026-27.
- India Stack v2 is expanding — more government APIs (e.g., e-Shram, HealthLocker) will be available to private integrators.
If any of these affect your business, a 30-minute conversation with someone who watches this closely is worth more than a week of research. Reach out — happy to walk through what's relevant for you.
Summary
- Pick the right providers for your scale — Razorpay + Shiprocket + WhatsApp BSP covers 80% of Indian digital businesses.
- Budget ₹50,000 to ₹3,00,000 for your first 3-4 integrations done properly.
- Invest in webhook signatures, idempotency, retries, monitoring — not just the happy path.
- Don't cheap out on compliance integrations (GST, e-invoice, DLT). The cost of getting them wrong exceeds the cost of doing them right by 10-50x.
If you're planning integrations for your Indian business, get a free quote — we'll scope it honestly with no upsell.