Transaction APIs: Letting Partners Invest Through You
A mutual fund transaction API is the controlled front door that lets fintech and distributor partners place purchase, redemption and switch orders directly with your AMC and get a reliable status back. When it works, partners onboard in weeks and your operations team stops fielding "where is my order" emails. When it does not, you get duplicate orders, wrong NAV expectations and reconciliation breaks that land on your desk.
This post is for the CTO and the Head of Partnerships. It covers what the API must guarantee, the contract each endpoint needs, and a 30-day plan. It is about the AMC's own outbound API. For inbound order flow from the exchanges, see BSE StAR and NSE NMF integration.
What must a mutual fund transaction API guarantee?
The API must guarantee that every order is authenticated, time stamped once, processed once and reported back in a state the partner can act on. Everything else is detail.
Four guarantees do most of the work:
- Identity. Every call carries a partner credential and maps to one contractual entity, a plan type (regular or direct) and a distributor code where relevant.
- Single processing. A retry never creates a second order.
- Rule parity. Cut-off, time stamping and authentication follow the same rules as your branch and web channels.
- Traceability. Each request, response and state change is stored with a timestamp and the partner identity.
Regulation shapes these. Paragraph 17.5.6 of the SEBI Master Circular for Mutual Funds dated March 20, 2026 says APIs could be exposed on request basis to distributors, registered IAs, exchange platforms and digital platforms, with the approval of the mutual fund and on mutually agreed terms. That is permission, not a template. The commercial and technical terms are yours to write.
Which partners will call it, and what may each one do?
Partner type decides which endpoints you switch on. Get this wrong and a direct-plan platform ends up transacting in regular plans.
| Partner type | Plan scope | Typical endpoints | Control to enforce |
|---|---|---|---|
| Distributor or MFD platform | Regular plans, with ARN | Purchase, redemption, switch, SIP, status | ARN validity and empanelment status checked per call |
| Execution-only platform | Direct plans only | Purchase, redemption, switch, non-financial requests | Plan code locked to direct |
| SEBI-registered investment adviser | Direct plans for advisory clients | Orders, holdings, status | No regular plan access |
| Broker or exchange platform | Through exchange rails | Usually not this API | Route via the exchange integration |
Paragraph 19.1.5 says an execution-only platform shall not provide services for regular plans. Paragraph 19.1.2 states that platforms provided by SEBI-registered investment advisers and stock brokers to their own clients are outside the EOP framework. Build the plan-scope check into your gateway as a rule on the partner profile, not into each partner's code. Distributor onboarding itself is a separate workflow, covered in distributor empanelment.
What does each endpoint need to specify?
An endpoint contract is only useful if the partner can implement it without a call to your team. For each endpoint, write down the fields, the idempotency rule, the possible states and the error codes.
| Endpoint | Key inputs | Idempotency | States returned |
|---|---|---|---|
| POST /orders | Folio or PAN, scheme code, plan, amount or units, partner order ref, payment ref | Required key, stored for the settlement window | RECEIVED, PAYMENT_PENDING, REJECTED |
| GET /orders/{id} | Order ID or partner ref | Read only | RECEIVED, PAYMENT_CONFIRMED, SENT_TO_RTA, ALLOTTED, REJECTED, REFUND_INITIATED |
| POST /orders/{id}/cancel | Order ID, reason | Required key | CANCELLED or NOT_CANCELLABLE |
| POST /sip | Mandate ref, frequency, start date, amount | Required key | REGISTERED, MANDATE_PENDING, REJECTED |
| GET /reports/transactions | Date range, partner | Read only | File ready, with checksum |
Define a closed list of error codes with a machine-readable reason, such as INVALID_ARN, PLAN_NOT_ALLOWED, CUTOFF_PASSED, MANDATE_LIMIT_EXCEEDED and DUPLICATE_REQUEST. A partner who gets a vague 400 will raise a ticket. A partner who gets CUTOFF_PASSED with the applicable next NAV date will fix the screen.
How should the API handle cut-off, time stamping and authentication?
The API must apply the same rules as any other channel, and the response must state them clearly.
For schemes other than liquid and overnight, paragraph 9.4.3 gives these rules in the circular:
- A redemption or switch-out received up to 3:00 p.m. on a business day gets that day's closing NAV.
- A request after 3:00 p.m., or on a non-business day, gets the next business day's NAV.
- A purchase gets the closing NAV of the day on which funds are available for utilisation by the scheme. The cut-off for credit to the scheme account is 3:00 p.m.
Liquid and overnight schemes follow a separate table with a 1:30 p.m. purchase cut-off and different treatment, so keep scheme-type rules in a configuration table, not in code.
Paragraph 9.4.6 says cut-offs apply with reference to the time at which the application is time stamped at an official point of acceptance. Decide, with compliance, which system clock stamps an API order and record the receipt time in the response. Never let the partner's timestamp decide the NAV.
For authentication, paragraph 17.4.5 requires two-factor authentication for online subscription and redemption, one factor for non-demat transactions being an OTP sent to the unit holder's email or phone registered with the AMC or RTA. For mandates and systematic transactions it applies at registration only. Your API design needs to state who sends the OTP and who verifies it, and keep proof of that verification with the order. Confirm the current AMFI guidance on this before finalising the flow.
What does a duplicate-order failure cost? An illustrative example
Illustrative example: a partner sends 1,200 purchase orders in the 2:30 to 2:55 p.m. window with an average ticket of ₹25,000. Under load, 3% of calls time out, and the partner's code retries them without a stable reference.
- Timed-out calls retried: 1,200 x 3% = 36 orders.
- If your API has no idempotency key and the original calls had actually succeeded, 36 duplicate purchases are created.
- Duplicate value: 36 x ₹25,000 = ₹9,00,000.
Each duplicate then needs a rejection or refund, a customer message and a reconciliation entry, and some will sit in the 3:00 p.m. cut-off window where the NAV date matters to the investor. With an idempotency key, the retry returns the original response and the extra ₹9,00,000 never enters the pipeline. See rejection and refund processing for the downstream cost of getting this wrong.
How do you onboard a partner safely?
Run onboarding as a gated checklist with an owner for each gate.
| Gate | Owner | Evidence kept |
|---|---|---|
| Contract and permitted scope signed | Head of Partnerships and Legal | Agreement, plan scope, fee terms |
| Registration verified (ARN, EOP or IA registration, as applicable) | Compliance | Registration proof and expiry date |
| Security review and IP allow-listing | CISO | Review note, allow-list |
| Sandbox certification with test cases | Tech lead | Test run log |
| Pilot with low limits | Operations | Daily pilot reconciliation |
| Production with rate limits and SLA | CTO | Go-live sign-off |
Certify against a fixed test pack: duplicate request, cut-off boundary at 2:59:59 and 3:00:01, rejected payment, invalid plan, mandate failure and webhook outage. A partner that cannot pass the boundary test should not go live.
Because paragraph 17.4.7 makes the AMC liable for unauthorised transactions through channel partners and platform providers, put partner-side controls in the contract: audit rights, incident notice periods and the right to suspend a key at once. Keep this aligned with your vendor and outsourcing risk framework.
What service levels and monitoring should you set?
These values are the author's suggested starting points. Tune them to your volumes and your RTA's response times.
| Metric | Suggested target | Action on breach |
|---|---|---|
| Order acknowledgement latency (95th percentile) | Under 2 seconds | Page on-call, throttle noisy partners |
| Webhook delivery within | 60 seconds, with retries for 24 hours | Fall back to status endpoint, alert partner |
| Duplicate requests caught by idempotency | Tracked daily | Review partners with high retry rates |
| Orders stuck in SENT_TO_RTA beyond | 30 minutes | Escalate to RTA desk |
| Daily partner reconciliation break | Zero unexplained by next morning | Block new orders from that partner if repeated |
Send each partner a daily transaction file with a checksum, so both sides tie out. Reconciling it against RTA data uses the same logic as RTA data reconciliation.
What to build in the next 30 days
Week 1: Scope. List current partners and how each one transacts today (file, portal, exchange, email). Decide which two partners go first. Get Compliance to confirm which paragraphs and AMFI guidelines apply to each partner type.
Week 2: Contract. Write the endpoint specification, state model, error codes and the cut-off rules for every scheme type. Agree the clock source and the logging standard.
Week 3: Build the gateway. Implement authentication, idempotency, rate limits, the order state machine and the sandbox. Run the certification test pack internally.
Week 4: Pilot. Onboard one partner with low limits, reconcile every day, and review the break log with the COO. Fix before you widen access.
Check the current text of the SEBI Master Circular and AMFI guidelines on authentication and partner conduct before go-live, because both are revised from time to time.
How Digiqt helps build a mutual fund transaction API
Digiqt designs and builds custom integration and API software for AMCs, covering the partner gateway, order state machine, idempotency, webhooks, sandbox and daily reconciliation files. The API sits in front of your existing order and RTA systems and is shaped around your scheme master and partner contracts.
For the broader automation picture around fund operations, AI agents for mutual funds explains where rules suffice and where AI helps.


