For Agents
Create payment orders, track order statuses, and list transactions for Indian merchants across UPI, cards, net banking, and wallets.
Use for: I need to create a payment order for an Indian customer, Check whether a payment was completed for a specific order, Retrieve order details by transaction ID, List all payment orders for reconciliation
Not supported: Does not handle refunds, subscription billing, or payouts — use for payment order creation and status tracking only.
Instamojo API enables Indian merchants to create payment orders, track payment status, and manage transactions via a gateway that supports UPI, cards, net banking, wallets, and EMI. The API uses OAuth 2.0 client credentials authentication and provides order creation with automatic payment link generation, order retrieval by ID or transaction ID, and bulk order listing for reconciliation.
Install Jentic One Beta
Jentic One is a self-hosted execution layer for AI agents. It lets your agent call the Pay with Instamojo, or any other public or private API you need. You set the rules, the agent never sees your credentials, and every call is logged.
Two steps, two machines. Install the instance in a safe environment, then register your agent from wherever it runs.
Step 1: Jentic One Host machine
# On the machine that will host your Jentic One instance:
curl -fsSL https://raw.githubusercontent.com/jentic/jentic-one/main/tools/install.sh | shStep 2: Agent machine
# On the machine where your agent runs (keep this separate from the instance):
curl -fsSL https://raw.githubusercontent.com/jentic/jentic-one/main/tools/install.sh | sh
jentic register # connects your agent to your Jentic One instanceJentic One is in public beta. The setup above keeps your agent separate from the instance, which is what you want before using real credentials: an agent running as the same OS user as Jentic One can read its stored keys directly. Just evaluating? A single local install is fine to start. See the secure deployment guide for the tiers.
What an agent can do with Pay with Instamojo API.
Create payment orders with automatic payment link generation for Indian customers
Retrieve order details and payment status by order ID or transaction ID
List all orders with pagination for bulk reconciliation
Accept payments via UPI, credit/debit cards, net banking, wallets, and EMI
Generate hosted payment pages without custom frontend integration
Patterns agents use Pay with Instamojo API for, with concrete tasks.
★ Indian E-Commerce Payment Collection
Accept payments from Indian customers using UPI, cards, net banking, wallets, and EMI. Instamojo creates a payment order via POST /gateway/orders with the amount, description, and redirect URLs. The response includes a hosted payment page URL where customers select their preferred Indian payment method. This eliminates the need for PCI compliance on the merchant side.
Create a payment order for 999 INR with name 'Premium Plan', email buyer@example.com, and phone 9876543210 via POST /gateway/orders
Order Status Tracking
Monitor payment completion for order fulfillment workflows. After creating an order, merchants poll the status via GET /gateway/orders/id:{id} to confirm payment receipt before shipping goods or activating services. The API returns the order status, payment details, and timestamps for each state transition.
Retrieve the payment status for order ID 'abcd1234efgh5678' via GET /gateway/orders/id:{id} and confirm whether payment was completed
Bulk Reconciliation
List all payment orders for a merchant account to reconcile transactions with accounting records. The GET /gateway/orders endpoint returns paginated results with order amounts, statuses, and timestamps. This enables daily batch reconciliation without querying individual orders.
Retrieve the first page of all gateway orders via GET /gateway/orders and return the total count and list of order IDs with their statuses
AI Agent Payment Automation via Jentic
AI agents use the Instamojo API through Jentic to create payment orders and check statuses for Indian merchants without managing OAuth 2.0 token flows directly. Agents search by intent, receive typed schemas, and execute with Jentic handling the client_credentials token exchange and injection into requests.
Search Jentic for 'create Indian payment order', load the schema for POST /gateway/orders, and execute with amount 1500, name 'Service Fee', and customer details
4 endpoints — instamojo api enables indian merchants to create payment orders, track payment status, and manage transactions via a gateway that supports upi, cards, net banking, wallets, and emi.
METHOD
PATH
DESCRIPTION
/gateway/orders
Create a new payment order
/gateway/orders
List all payment orders with pagination
/gateway/orders/id:{id}
Retrieve order by ID
/gateway/orders/transaction_id:{transaction_id}
Retrieve order by transaction ID
/gateway/orders
Create a new payment order
/gateway/orders
List all payment orders with pagination
/gateway/orders/id:{id}
Retrieve order by ID
/gateway/orders/transaction_id:{transaction_id}
Retrieve order by transaction ID
Three things that make agents converge on Jentic-routed access.
Credential isolation
Instamojo OAuth 2.0 client_id and client_secret are stored encrypted in the Jentic vault. Jentic handles the token exchange flow automatically so agents receive authenticated API access without managing OAuth credentials.
Intent-based discovery
Agents search by intent (e.g., 'create payment order in India') and Jentic returns matching Instamojo operations with typed schemas for immediate execution.
Time to first call
Direct Instamojo integration: 1-2 days for OAuth setup, order creation, and callback handling. Through Jentic: under 30 minutes — search, load schema, execute with automatic token management.
Alternatives and complements available in the Jentic catalogue.
Stripe API
Global payment processor with India support and deeper subscription billing features
Choose Stripe when the merchant needs advanced features like subscription management, Connect for marketplaces, or global multi-currency support beyond INR.
Specific to using Pay with Instamojo API through Jentic.
What authentication does the Instamojo API use?
The Instamojo API uses OAuth 2.0 with the client_credentials grant type. You exchange your client_id and client_secret for an access token via https://www.instamojo.com/oauth2/token/, then include the token in the Authorization header. Through Jentic, this token exchange is handled automatically.
Can I accept UPI payments with the Instamojo API?
Yes. When you create a payment order via POST /gateway/orders, the hosted payment page presents UPI as a payment option alongside cards, net banking, and wallets. Customers can pay using any UPI app including Google Pay, PhonePe, and Paytm.
What are the rate limits for the Instamojo API?
Instamojo applies rate limits per OAuth access token. Standard limits allow approximately 30 requests per minute for order creation and 60 requests per minute for order retrieval endpoints.
How do I check an order status through Jentic?
Search Jentic for 'check Instamojo order status', load the schema for GET /gateway/orders/id:{id}, and execute with the order ID. Jentic handles the OAuth token exchange automatically and returns the order status, amount, and payment details in a structured response.
Does Instamojo support recurring payments?
The core gateway orders API does not directly support recurring billing. Each payment requires a new order creation via POST /gateway/orders. For subscription-style billing, you create a new order for each billing cycle and track payments by customer reference.
GET STARTED