StampMitraDevelopers

Guides

How billing works: wallets, prices, invoices and what to check when a charge looks wrong

StampMitra billing is prepaid. The Service wallet pays verification calls, StampMitra's service fee and the per-paper fees on e-Stamp orders, and the Stamp duty wallet pays only government duty. A call is charged when it completes, a short wallet returns 402 with nothing charged, and every top-up gets a GST invoice.

By StampMitra Developer TeamLast updated: Read this in Hindi

Billing on StampMitra is prepaid and simple to state: you add money to a wallet, every charged call or order takes money out of the right wallet, and every payment you make produces a document. Most billing questions come from one of three places, which are the wrong wallet being topped up, a call that was or was not charged, or a document that cannot be found. This page explains all of it for every service, so that you and the StampMitra support team can work from the same reference.

There are two wallets. The Service wallet pays for verification API calls, StampMitra's own service fee and the per-paper API charge on e-Stamp orders. The Stamp duty wallet pays only the government duty on e-Stamp orders. Plans, credits, daily limits, invoices, refunds and the steps for solving a billing problem all follow from those two balances.

If you are on the customer care team, jump straight to Customer care quick answers and what customer care needs to ask. If you are an engineer, the sections on charged and not charged and the 402 recovery matter most.

Key takeaways

  • Billing is prepaid. There is no postpaid billing and no credit line. Production calls are paid from wallets you fund yourself, and sandbox calls are free and never touch a real wallet.
  • The Service wallet pays verification API calls, the StampMitra service fee and the per-paper API charge on e-Stamp orders. The Stamp duty wallet pays only the government duty, which passes through without GST. The old name Service Fee Wallet and the /v1/service-fee-wallet* routes are the same Service wallet, kept for compatibility.
  • A verification call is charged when it completes with an answer, including a valid negative answer such as an invalid PAN or a GSTIN not found. A malformed request, a rejected call, a call that fails on StampMitra's side or its provider's side, a daily-limit refusal and a sandbox call are not charged.
  • A short wallet never produces a half-finished order. The API answers 402 PAYMENT_REQUIRED with error.details.wallet set to SERVICE_FEE or STAMP_DUTY, nothing is created or charged, and you retry with the same Idempotency-Key after topping up.
  • Every top-up of the Service wallet gets a GST tax invoice. A Stamp duty top-up by card or UPI gets a GST tax invoice for its processing fee. Plan fees are shown as a plan statement, which is not a tax invoice, and refunds that need a tax adjustment come with a credit note.
  • Per-call prices on this page are read from the same price data as the pricing page, so they cannot drift from it. Commercial deals are agreed per deal, and their rates and limits can differ from everything shown here.
  • For any dispute, the fastest route is the request ID. Every error carries a requestId, the Logs page explains in plain words why a request was or was not charged, and a wrong charge can be reported from the same drawer.

How to use this page

The page runs in the order a charge travels: the wallets, the price of each service, the rules for charged and not charged, how a charge is recorded, plans and credits, the documents you receive, and then the troubleshooting tables.

In the dashboard, the money screens are on one page called Wallet and billing, at /dashboard/billing, with three tabs: Wallets, Plan and Invoices. Request-level detail is on the Logs page and the Usage and spend page. These screens need a login, so they are described here rather than linked.

The two wallets at a glance

A wallet is a prepaid balance that belongs to your organisation, not to a person or a key. Anyone on the team with the right role sees the same balances, and every key of the organisation draws on them. The two wallets are kept apart because they hold different kinds of money.

Service walletStamp duty wallet
What it holdsStampMitra's chargesThe government's stamp duty
What it paysVerification API calls, the StampMitra service fee, and the per-paper fees on e-Stamp orders: procurement, API charge and any convenience fee, with GSTThe statutory duty on e-Stamp orders, and nothing else
GSTGST is added when you top up, and a GST tax invoice is issued at every top-up. An order debits its fees before GST, because the GST was already paid with the top-upNo GST on the duty. A processing fee on card or UPI top-ups carries GST
Instant top-upCard, UPI or netbanking through RazorpayCard, UPI or netbanking through Razorpay, with a processing fee
Bank transferNot offered as a separate routeBank transfer with proof, verified by StampMitra operations and credited within 24 hours
Low-balance signalsBanner in the dashboard and a chip in the header, and the state fields on the balance endpointThe balance shown on the Wallets tab and the 402 when it cannot cover an order
Older nameService Fee Wallet, routes /v1/service-fee-wallet*Stamp Duty Wallet, routes /v1/stamp-duty-wallet*

Two rules explain most of what follows. Money never moves between the two wallets, so a spare balance in one cannot cover a shortfall in the other. And a wallet is debited only by the kind of charge it is meant for, so duty never comes out of the Service wallet and a verification call never comes out of the Stamp duty wallet.

The Service wallet

The Service wallet is the balance behind almost everything you call. It pays for each charged verification call, for the StampMitra service fee, and for the per-paper API charge on e-Stamp orders. One balance means one number to watch for those three things.

It is topped up instantly by card, UPI or netbanking through Razorpay. The smallest top-up is set out below, before GST, and GST at 18 percent is added on top at checkout. A GST tax invoice is issued at every top-up and emailed at once. The wallet is credited with the amount before GST, because the GST is the tax on your purchase and not spendable balance.

TermService wallet
Smallest top-upRs 1,000 before GST
GST added at checkout18% of the top-up
ExampleA top-up of Rs 5,000 pays Rs 5,900 and credits Rs 5,000
DocumentA GST tax invoice for every top-up

The pricing page states the same minimum, and it applies to verification APIs and e-Stamp orders alike. Because prepaid billing has no credit line, there is no invoice to pay later: a top-up is the payment.

Where the Service wallet shows up

The dashboard shows a low-balance banner when the balance is getting low and a balance chip in the header on every page. The same condition is exposed to code as the state field of GET /v1/account/balance, which reads OK, LOW_BALANCE or FINISHED, and as the X-Wallet-State header on authenticated live calls. The section on balance states explains the three values and the default threshold.

The old name and the old routes

Earlier documents and some API routes call this balance the Service Fee Wallet. It is the same wallet. The routes GET /v1/service-fee-wallet, POST /v1/service-fee-wallet/topup, GET /v1/service-fee-wallet/transactions and the invoice routes keep their names for compatibility, so existing integrations keep working. If a customer says Service Fee Wallet, they mean the Service wallet.

The Stamp duty wallet

The Stamp duty wallet holds the government's money. It pays the statutory duty of an e-Stamp order and nothing else. The duty is a pass-through: StampMitra does not add GST to it and does not mark it up. What the state charges is what leaves this wallet.

There are two ways to fill it, and the choice is mostly about size and speed.

Instant top-up by card, UPI or netbanking

An instant top-up goes through Razorpay and credits the wallet at once. A processing fee is added at checkout, and GST at 18 percent is charged on that fee, not on the duty. The checkout shows the amount, the fee, the GST on the fee and the total before you pay. The wallet is credited with the amount you chose to add, in full, and a GST tax invoice is issued for the processing fee.

Bank transfer with proof

A bank transfer carries no processing fee. You transfer the money by NEFT, RTGS or IMPS, then submit a proof: the amount, the UTR your bank gives the transfer and a screenshot or receipt. StampMitra operations verify the transfer and credit the wallet within 24 hours. The request is shown as Submitted with a credit-due time, then Credited, or Rejected with a reason if it could not be matched, in which case you can send a corrected proof. The bank-transfer section appears only where StampMitra has enabled it for the account.

TermStamp duty wallet
Instant top-up processing fee6% of the amount added
GST on the processing fee18% of the fee
Wallet credit on an instant top-upThe amount added, in full
Smallest bank transferRs 10,000
Processing fee on a bank transferNone
Credit time for a bank transferWithin 24 hours of verification by StampMitra operations

The terms on the Wallets tab are read from StampMitra when the page opens, so if the checkout and this page ever differ, the checkout is the truth. A customer who wants to avoid the processing fee has one option: use a bank transfer for the amounts that qualify. The fee cannot be waived on an instant top-up.

What each service costs and which wallet pays

This is the single table for every billable service in the catalogue. The prices are not typed into this page: each one is read from the same price book as the pricing page, so a change to a price shows here on the next build. All prices exclude GST. They apply per charged call on pay-as-you-go, and Business uses the same per-call prices because its fee buys limits and features, not a discount. A Commercial deal has rates agreed per deal.

ServiceUnitPrice per charged call, before GSTWallet that paysGST
PAN verificationOne completed call₹4Service walletCollected at top-up
GSTIN verificationOne completed call₹3Service walletCollected at top-up
Vehicle RC verificationOne completed call₹9Service walletCollected at top-up
Voter ID verificationOne completed call₹5Service walletCollected at top-up
Driving licence verificationOne completed call₹5Service walletCollected at top-up
Passport verificationOne completed call₹9Service walletCollected at top-up
CIN verificationOne completed call₹5Service walletCollected at top-up
Udyam verificationOne completed call₹8.50Service walletCollected at top-up
PAN to GSTINOne completed call₹5Service walletCollected at top-up
PAN to UdyamOne completed call₹20Service walletCollected at top-up
Bank account verificationOne completed call₹4Service walletCollected at top-up
e-Stamp duty calculation and partiesOne completed call₹5Service walletCollected at top-up
e-Stamp order, feesPer paperProcurement charge, API charge and, only for a paper whose duty is above the threshold, a convenience fee. Defaults in the tables below, agreed per deal where a rate was agreedService walletFees are debited before GST. The 18% GST was paid with the top-up
e-Stamp order, dutyPer paper (denomination times quantity)The state's duty, passed throughStamp duty walletNone on the duty

Rows are read as follows. The GST column says collected at top-up because the GST is added when you fund the Service wallet and is shown on that top-up's invoice, and the wallet is then debited the amount before GST for each charge. The pricing page and the usage endpoint both show amounts before GST for the same reason.

Verification APIs

PAN, GSTIN, Vehicle RC, Voter ID, driving licence, Passport, CIN, Udyam, PAN to GSTIN, PAN to Udyam and bank account verification all work the same way for billing. A call that completes is charged at the price in the table, and the Service wallet is debited after the answer is produced. The prices differ by product, and some products share a price, but the rule does not change. Passport and driving licence verification also need allowed server addresses on the key, which is an access rule and not a billing rule. If a customer asks why two APIs cost different amounts, the table is the answer.

e-Stamp

e-Stamp has two kinds of charge. The first is the per-call API rate for the metered calls, which are the duty calculation and the parties route, and the per-order fee on order creation where it is enabled for the account. Most other e-Stamp routes are not metered, including reading orders and stamps, the catalogue, certificates and cancellations. The second kind is what an order costs, and everything in it is counted per paper. The duty, which is the denomination times the quantity, comes from the Stamp duty wallet. The procurement charge, the API charge, and the convenience fee where it applies, come from the Service wallet, debited before GST, because the 18 percent GST on them was paid with the top-up. StampMitra can change the procurement charge, the API charge and the convenience fee per client, per state or globally, and a rate agreed for a client overrides the default, so these are agreed per deal. The default rates and two worked examples are further down. The order quote returned by the validate route is what applies to a particular order, because rates agreed for an organisation can differ from the defaults.

Services that are not billed here

Reading your keys, team, webhooks, usage and logs is not charged. There is no separate eSign API in the developer catalogue, so there is no eSign price to quote. The legal pages include an e-Sign policy and a combined service-terms document, and anything about charges for a signature service is a commercial question for support. Startup and NGO programmes use their own terms, described under credits below.

When is a call charged and when is it not?

Support teams spend most of their time on this question, and the answer is mechanical. A charge happens only after a call completes. The platform first checks your entitlement and the price, then checks that the wallet can afford the call, then runs the request, and only after it succeeds counts the usage and debits the wallet. A refusal before the work, such as a 402, is therefore never a charge.

SituationCharged?Why
Call completes with a normal answerYesA successful call is the billable event
Valid negative answer, for example an invalid PAN or a GSTIN not foundYesThe verification ran and the negative result is a real answer
Malformed request rejected up front, HTTP 400NoThe verification never ran
Any other client or server errorNoA failed request does not touch the wallet
Server error, 5xxNoServer errors are never billed
Failure on StampMitra's side or its provider's sideNo, or credited backCredited back to the wallet automatically if a debit was taken
Wallet too low, 402NoThe call is refused before any work is done
Daily limit reached, 429 DAILY_API_LIMIT_REACHEDNoThe call is rejected, and other APIs keep working
Rate limited, 429NoThe call is rejected before it runs
Sandbox callNoSandbox calls are never billed
Replay of the same request with the same Idempotency-KeyNo second chargeThe stored response is returned
HTTP 422 when an active quotation makes it billableYes, under that quotationA quotation can make a particular outcome billable, agreed per deal
Request with no price, free or exemptNoThe call succeeded but carries no price
Debit pendingCharged onceThe debit is being retried and you are not charged twice

Why a valid negative answer is charged

A customer is sometimes surprised to be charged for a PAN that turned out to be invalid. The call did what was asked: it checked, and the answer was no. The pricing page says it plainly: a valid negative result is a successful answer. What is not charged is a request that was never a valid question, such as a PAN in the wrong format, which is rejected with HTTP 400 before any check happens.

Retries and the Idempotency-Key

Order creation, payment intents and the metered verification calls accept an Idempotency-Key, kept for 24 hours. The same key with the same request returns the stored response without a second call or a second charge. The same key with a different request is refused with 422 IDEMPOTENCY_KEY_REUSED, and the same key while the first request is still running is refused with 409 IDEMPOTENCY_IN_PROGRESS. Order creation requires the key. The bank account verification route is the exception to remember: its reference documents no idempotency header, so a repeated call after a timeout can be a second charged call, and the referenceId field is not an idempotency key. See verification retries and idempotency for the retry rules.

How a charge happens and where you read it

Every authenticated call passes through the same metering steps, which is why billing behaves the same across services.

  1. The platform checks that your organisation is entitled to the service and that the service has a price.
  2. It checks that the wallet that will pay can afford the call. If not, the answer is 402 and nothing else happens.
  3. It checks the rate limit and the daily limit for that API. A refusal here is a 429 and is not charged.
  4. It runs the request.
  5. Only after a successful result does it count the usage and debit the wallet. The debit can settle a moment later, which is the pending state.

You can read the result in four places. The response headers on live calls give the wallet state. GET /v1/account/balance gives the balance and state. GET /v1/account/usage gives requests, billed and unbilled counts and spend before GST for the current and the previous month, in Indian days. And the Logs page shows each request with a plain sentence explaining whether it was charged and why, such as a success that was debited, a sandbox call that is never billed, a failure that left the wallet untouched, or a debit pending reconciliation. Usage spend is price-book spend and the quantity that moves the wallet, so it will not equal a month of invoices, which carry GST and are issued on top-ups and plan fees. The balance, usage and rate limits guide covers every field.

Reporting a wrong charge

From a request in the Logs page you can report a wrong charge. The reasons offered are that the amount is wrong, that you were charged for a request that failed, that you were charged twice, or something else. The description needs at least ten characters, and you can state the amount you expected, including zero. The report then moves through the statuses Open, In review and Resolved, or Not upheld if StampMitra's records do not support it. Billing is checked against metering records, so a report with the request ID is resolved far faster than one without.

Daily limits, rate limits and plans

Limits and plans change what you can call and how fast, not what a call costs. Every API has a daily limit per organisation and environment, counted per API (so PAN and GSTIN are separate) and reset at midnight IST. At the limit, the call gets HTTP 429 with DAILY_API_LIMIT_REACHED, a Retry-After header and the reset time, and it is not charged. Your other APIs keep working and your wallet is untouched.

PlanPlan feeCalls per API per dayRequests per minutePer-call prices
SandboxFree10010Never charged
Pay as you goNo plan fee10060As in the table above
Business₹999 a month or ₹9,990 a year, before GST500, and can be raised on request300The same as pay as you go
CommercialAgreed per dealAgreed per dealAgreed per dealAgreed per deal

Sandbox also keeps an organisation-wide daily cap of 200 calls across all APIs and a cap of 50 calls a day per IP address, and all of them apply together. The Business plan is not cheaper per call. Its fee buys more room: a higher daily limit that can be raised from the Usage and spend page with Request a higher limit, more requests per minute, more seats and keys, an IP allowlist and longer log retention. The pay-as-you-go limit cannot be raised, so a customer who needs more should move to Business or ask for a Commercial deal. The full list of limits and the headers that report them are in balance, usage and rate limits and on the pricing page.

Plan fees, upgrades and the grace period

A plan fee is a charge of its own and is paid from the cash balance of the wallet, or through a payment, depending on the payment source chosen for the plan. An upgrade applies immediately and is prorated. A downgrade applies at the next renewal. If the wallet cannot cover a renewal, the subscription becomes past due and a grace period starts, and the plan then drops to pay as you go if the shortfall is not cleared. The pricing page states how long the grace period is. The Plan tab shows the next charge date, the next fee and any shortfall. Cancelling stops future renewals and does not reverse what was already charged. A plan fee is documented in a plan statement, and the next section explains why that is not a tax invoice.

Signup credit, promotional credits and programme credits

Credits are the part of billing most often misunderstood, because they look like money but follow narrower rules.

New accounts no longer receive a signup credit. Sandbox is free and has no signup credit, and sandbox calls never debit a wallet. If an account already holds a signup credit from before, it stays on the account but is locked: it cannot be spent on live calls, and live calls use only the cash above it. It is not counted in the balance that decides whether a live call can run, so a customer who has only a locked signup credit will still see a 402 on the first live call and must top up. Spendable balance is the balance minus the locked signup credit.

Promotional credit is a separate balance made of grants. Each grant has an amount, a remaining amount, the APIs it covers, an expiry date and a status of active, expired, revoked or exhausted. Promotional credit is used first, only for the APIs the grant covers, and it never pays plan fees. Cash balance pays plan fees and any API call. A grant that has expired has no cash value, and promotional credit is not refundable and cannot be transferred. The billing policy sets the general terms.

Programme credits are the two grants most customers meet. The Startup programme gives eligible startups a standard-verification credit, which cannot be used for Passport or Vehicle RC verification. The NGO programme gives verified NGOs credits decided case by case, which apply to every verification API. Procurement fees and stamp duty are never discounted by either programme. The programme pages, Startup and NGO, set out the current terms, and the Plan tab shows the credit grants that apply to an account.

When a customer says their credit was not used, the usual causes are four: the API is not covered by the grant, the grant expired, the credit is signup credit that is locked, or the charge was a plan fee that promotional credit never pays.

Balance states, low-balance alerts and headers

The balance endpoint computes a state on the server so every client sees the same verdict. OK means the available amount is at or above the low-balance threshold. LOW_BALANCE means it is below the threshold but still covers the cheapest call. FINISHED means the balance is zero or below the cheapest call, so a live call would be refused with a 402. The default threshold is five hundred rupees, raised for accounts whose cheapest approved product is unusually expensive, and the endpoint always reports the effective value in lowBalanceThreshold.

SignalWhere it appearsMeaning
state OK, LOW_BALANCE, FINISHEDGET /v1/account/balanceThe server's verdict on the Service wallet
X-Wallet-StateLive authenticated responsesThe same state as a header, sometimes absent
X-Wallet-Balance-Low: trueLive responses, only when lowThe wallet is below the threshold
Low-balance banner and header chipDashboardThe same condition for people
Low-balance emailInbox of the accountA notice that the wallet is getting low

Headers carry a state and never the amount, so proxy logs do not record your balance. Sandbox keys do not receive the wallet headers, and a sandbox balance read returns a sandbox notice and zero amounts. The dashboard may say READY and NEEDS_RECHARGE where the API says OK and FINISHED, and these describe the same conditions. The balance endpoint is cached for a few seconds, so a customer who has just topped up may need to refresh before the new figure shows.

Worked example: a three-paper e-Stamp order

Every fee on an e-Stamp API order is charged per paper, and the duty is the denomination times the quantity. The default rates are in the table, and they apply unless StampMitra has agreed a different rate for the client, the state or globally. An agreed rate overrides the default.

Charge per paperDefault ratePaid from
Procurement chargeRs 99Service wallet
API chargeRs 5Service wallet
Convenience fee5% of the paper's full duty, only when that paper's duty is above Rs 1,000Service wallet
GST18% on all the fees aboveAlready paid when the Service wallet was topped up
DutyThe state's duty, no GSTStamp duty wallet

How the GST works, plainly: when you top up the Service wallet you pay the amount plus 18 percent GST and receive a GST tax invoice. The wallet is credited the amount before GST. Each order then debits the fees before GST, and the fee breakdown on the order shows the GST portion for reference.

Take an order of three papers, each with a duty of Rs 1,000. The duty of each paper is not above Rs 1,000, so there is no convenience fee on this order. The fees are the procurement charge and the API charge only, which is Rs 104 per paper before GST. The 18 percent GST on it is the GST you paid when you topped up the Service wallet, so nothing more is taken for it at order time. A batch scales the same way: ten papers would be ten times Rs 99 as procurement and ten times Rs 5 as API charge, before GST.

LineAmount (Rs)Paid from
Duty, 3 papers at 1,0003,000.00Stamp duty wallet
Procurement charge, 3 papers at 99297.00Service wallet
API charge, 3 papers at 515.00Service wallet
Convenience fee0.00, duty is not above 1,000 per paperService wallet
Fees before GST312.00Service wallet
Service wallet debit, fees before GST312.00Service wallet
GST on those fees at 18%, for reference56.16Already paid with the top-up

The Stamp duty wallet pays Rs 3,000, and the Service wallet is debited Rs 312.00. The GST on those fees, Rs 56.16, was already paid when the Service wallet was topped up and invoiced then, so nothing more is taken at order time. The customer therefore needs at least Rs 3,000 and Rs 312.00 in the two wallets at the moment the order is created. The quote returned by POST /v1/estamp/orders/validate is what applies to a particular order, and it gives totals only: faceValueTotal, serviceFeeTotal, gstOnFee and serviceWalletDebitTotal. State delivery charges, where a state has them, are a separate line. See the e-Stamp order flow and the payment page for the full order.

Worked example: papers with a higher duty and the convenience fee

Now take two papers, each with a duty of Rs 5,000. The duty is above Rs 1,000 per paper, so the convenience fee applies to each paper: 5 percent of Rs 5,000 is Rs 250 per paper, before GST.

LineAmount (Rs)Paid from
Duty, 2 papers at 5,00010,000.00Stamp duty wallet
Procurement charge, 2 papers at 99198.00Service wallet
API charge, 2 papers at 510.00Service wallet
Convenience fee, 2 papers at 250500.00Service wallet
Fees before GST708.00Service wallet
Service wallet debit, fees before GST708.00Service wallet
GST on those fees at 18%, for reference127.44Already paid with the top-up

Each paper costs Rs 354 in fees before GST here, against Rs 104 in the first example. That difference is the convenience fee, and it is the usual reason a customer sees more than the Rs 104 they expected. The Stamp duty wallet pays Rs 10,000 and the Service wallet is debited Rs 708.00. The GST on those fees, Rs 127.44, was already covered by the GST paid with the top-up. If StampMitra has agreed a client-specific rate, the quote shows that rate instead, and it is agreed per deal.

Worked example: a Stamp duty top-up by card

A customer wants Rs 10,000 in the Stamp duty wallet and pays by card. The checkout adds the 6 percent processing fee and 18 percent GST on that fee.

LineAmount (Rs)
Amount added to the wallet10,000.00
Processing fee at 6%600.00
GST at 18% on the fee108.00
Total the customer pays10,708.00
Wallet credit10,000.00
DocumentGST tax invoice for the fee

The customer pays Rs 10,708 and the wallet is credited Rs 10,000. The Rs 708 difference is the fee and its GST, shown on the checkout before payment and on the invoice afterwards. The same Rs 10,000 sent by bank transfer, which meets the smallest transfer amount, would cost nothing extra and would be credited within 24 hours of verification. That is the answer for a customer who asks to waive the fee: it cannot be waived on an instant top-up, and a bank transfer has none.

Invoices, credit notes and refunds

Every payment produces a document, and the Invoices tab of the Wallet and billing page lists them with a PDF for each. The Service wallet also exposes its invoices at GET /v1/service-fee-wallet/invoices and the Stamp duty wallet at GET /v1/stamp-duty-wallet/invoices, and their transaction ledgers at the matching /transactions routes.

DocumentIssued whenWhat it is
Tax invoice for a Service wallet top-upAt every top-upA GST tax invoice for the top-up, emailed at once
Tax invoice for a Stamp duty processing feeAt each instant Stamp duty top-upA GST tax invoice for the fee only, since the duty carries no GST
Plan statementFor plan feesA statement, labelled as not a tax invoice
Credit noteWhen a refund needs a tax adjustmentA negative document that refers to the invoice it adjusts
Bank transfer receiptA Stamp duty bank transferThe request status, with no fee and so no fee invoice

Refunds and where the money goes

A refund goes back to the wallet it came from. When an order is cancelled, the duty returns to the Stamp duty wallet and the service charges return to the Service wallet. A failed or cancelled order credits the wallets back once, and a failure on StampMitra's side after a debit is credited back automatically. A refund that must reach a bank account follows the billing and refund policies: approved refunds are generally processed to the original payment method, and StampMitra does not control bank timelines, so no fixed number of days is promised. The policies also say that statutory duty on a stamp that has been issued may not be refundable, that a cancelled stamp depends on the issuing authority's rules, and that unused subscription time and unused credits do not create an automatic refund. A duplicate payment can be reported for investigation and, if confirmed, corrected or refunded. See the billing, credits and refund policy and the refund policy.

GST, GSTIN and TDS

Prices are shown before GST, and GST at 18 percent is added on top. For the Service wallet, GST is collected at top-up and shown on that top-up's tax invoice, so a verification call's price is debited without GST on top. The fees of an e-Stamp order follow the same rule: an order debits its fees before GST, the 18 percent GST on them was paid with the top-up, and the order's fee breakdown shows the GST part for reference. For the Stamp duty wallet, GST applies only to the processing fee on an instant top-up, never to the duty.

An invoice carries the buyer details held in your billing profile, which are the legal name, billing address, state and GSTIN, with the GST split into CGST and SGST or IGST by place of supply. Those details are snapshotted onto each invoice when it is issued. Updating the profile later changes future invoices and does not rewrite issued ones, so a wrong GSTIN on an old invoice is a correction request to support, which the billing policy allows as an invoice correction. When the profile came from the GST registry, it is locked and only the billing email can be changed. Invoice availability depends on a successful payment and accurate billing information.

About TDS: this documentation does not describe how TDS on a payment to StampMitra is handled, and the support team should not promise a treatment. Any customer who deducts TDS should send the invoice number and the payment reference to support so that billing can answer for that case.

Reading balances and charges over the API

A customer system can watch all of this without opening the dashboard. The base URL is https://api-b2b.stampmitra.in. The balance and usage routes need any key with a verification scope, and a key can only read its own organisation.

cURL
curl -s https://api-b2b.stampmitra.in/v1/account/balance \
  -H "Authorization: Bearer $STAMPMITRA_LIVE_KEY"

curl -s https://api-b2b.stampmitra.in/v1/estamp/wallet \
  -H "Authorization: Bearer $STAMPMITRA_LIVE_KEY"

The first call returns the balance, the state and the estimated calls remaining. The second returns both e-Stamp wallets, the Stamp duty wallet at the top level and the Service wallet under serviceFee, and needs the wallet read scopes, which production keys may not carry until support adds them. A route that answers 401 or 403 for that reason is an access matter and not a billing matter. The following Node.js function creates an order and, when the API answers 402, names the wallet that must be topped up. It reuses the same Idempotency-Key on retry so that a top-up and a retry cannot create two orders.

JavaScript
const BASE = "https://api-b2b.stampmitra.in";

async function createOrder(body, idempotencyKey) {
  const res = await fetch(`${BASE}/v1/estamp/orders`, {
    method: "POST",
    headers: {
      Authorization: `Bearer ${process.env.STAMPMITRA_LIVE_KEY}`,
      "Content-Type": "application/json",
      "Idempotency-Key": idempotencyKey,
    },
    body: JSON.stringify(body),
  });
  const data = await res.json();
  if (res.status === 402 && data.error?.code === "PAYMENT_REQUIRED") {
    const wallet = data.error.details?.wallet; // "SERVICE_FEE" or "STAMP_DUTY"
    throw Object.assign(new Error(`Top up the ${wallet} wallet, then retry`), {
      wallet,
      requestId: data.error.requestId,
      idempotencyKey,
    });
  }
  return data;
}

Keep the requestId from every error. It is the one value support needs to find the exact request, its billing basis and its charge.

When a wallet is short: the 402 and how to recover

When a wallet cannot cover a call or an order, the API answers HTTP 402 with the code PAYMENT_REQUIRED. For an e-Stamp order, error.details.wallet names the short wallet, SERVICE_FEE or STAMP_DUTY, and the message names it too. Nothing is created and nothing is charged. If one debit succeeded and the other failed, the first is reversed, so an order is never left half paid.

Recovery has four steps. Read error.details.wallet to see which wallet is short. Top up that wallet and not the other one. Wait for the credit, which is instant for an online top-up and up to 24 hours after verification for a bank transfer. Then retry the same request with the same Idempotency-Key, which runs cleanly instead of replaying a cached failure. A 402 is not temporary, so retrying in a loop before the top-up only repeats the failure. The errors guide covers how to handle it in code, and a customer-facing screen should show which wallet to fund.

A 402 on a verification call has no details.wallet for an order, because the Service wallet is the only one a verification call can draw on. The same top-up and retry apply. Where the per-order fee is enabled for an account, the Service wallet can be the short one even when the duty is covered.

Customer care quick answers

Use these rows to answer a billing ticket from known behaviour. Each row names the cause that is documented and what to check before replying.

What the customer saysLikely causeWhat to tell the customer and what to check
I was charged more than Rs 104 per paperThe convenience fee applies to a paper whose duty is above Rs 1,000, or the client has a specific rate agreed per deal, or a state-specific or global rate was setCompare with the order quote. Convenience fee is 5% of the paper's duty by default, per paper, and the order debits fees before GST. Check for an agreed rate before replying
I topped up but my balance looks lowGST is added on top of a Service wallet top-up and is not credited. Or the top-up was a Stamp duty bank transfer still awaiting verification. Or the figure shown includes a locked signup credit from before, which live calls cannot spend. Or the balance endpoint is cached for a few secondsCheck the top-up invoice amounts, the wallet the money went to, the bank-transfer request status and the transaction ledger
My order returned 402One wallet is shortRead error.details.wallet, top up that wallet, retry with the same Idempotency-Key. Nothing was created or charged
I was charged for a failed callUsually a valid negative answer, which is charged, or an HTTP 422 under an active quotationOpen the request in the Logs page, read the billing basis, and if it still looks wrong report a wrong charge with the request ID
I was charged twiceA retry with a new Idempotency-Key, a route with no idempotency header such as bank account verification, or a debit that was pendingSame key means one charge. Compare the two request IDs and their keys, and file a duplicate-charge report if both were billed
My bank transfer is not credited after 24 hoursThe proof was Rejected, the UTR did not match, or the transfer is still being verifiedAsk for the UTR, amount and date, and check the request status, which shows Submitted, Credited or Rejected with a reason. Escalate with the UTR
My GST invoice is missingThe payment did not complete, the billing profile was missing details, or the document is a plan statement, which is not a tax invoiceCheck the Invoices tab, the payment status and the billing profile. A Stamp duty top-up by bank transfer has no fee invoice because it has no fee
The GSTIN on the invoice is wrongThe profile was wrong when the invoice was issued, or the profile is locked to the GST registryFix the profile if it is editable. Issued invoices are not rewritten, so raise an invoice correction with support
I hit a daily limitThe API's day is used upThe call was not charged. It resets at midnight IST. On Business, request a higher limit. Pay as you go cannot be raised
My sandbox shows a balance and live does notSandbox money and sandbox wallets are not real, and a sandbox balance read returns zero amounts with a noticeLive calls need a top-up of a real wallet. Sandbox never touches a real wallet
My balance shows Rs 100 more than I topped upThe account holds a locked signup credit from before. New accounts no longer receive one. The balance includes it, but it cannot be spent on live callsExplain that the extra amount is a locked signup credit and is not spendable on live calls. Spendable balance is the balance minus the locked signup credit. Live calls use only the cash above it, so a top-up is still needed
My promotional credit was not usedThe API is not covered, the grant expired, or the charge was a plan feeCheck the grant's covered APIs, expiry and status on the Plan tab
My plan dropped to pay as you goThe renewal could not be paid and the grace period endedCheck the subscription status and shortfall on the Plan tab. Top up and upgrade again
An order was cancelled and I want the money backRefunds return to the wallet they came fromConfirm the order status and the wallet ledger. Duty on an issued stamp may follow the issuing authority's rules
How is TDS handled?Not described in the documentationDo not promise. Collect the invoice number and payment reference and ask billing

What customer care needs to ask, and where to escalate

Most billing tickets are solved by five facts. Ask for them in the first reply, so that the second reply can be the answer.

  • The organisation, meaning the account name or email, so that the right wallets and plan are opened.
  • The requestId from the error or the response, which is also echoed from the X-Request-Id header if the customer sent one.
  • The Idempotency-Key, for anything about duplicates, retries or orders.
  • The order ID for an e-Stamp issue, or the stamp ID for a single paper.
  • The payment reference, and for a Stamp duty bank transfer the UTR, the amount and the date.

Also ask which environment the key belongs to, since sandbox and live behave differently, the time of the call in IST, and the invoice number if a document is involved. The escalation route is the support channel the documentation publishes: the support page and the chat on it, which are available at any hour, and the address [email protected] for the written trail. Do not ask for a card number, a password, an OTP or a secret key, and a customer should never paste a live key into a ticket. See support.

Sandbox keys and billing

Sandbox is free. A sandbox key never debits a real wallet, never receives the wallet headers and gets a sandbox notice with zero amounts from the balance endpoint. Sandbox e-Stamp orders use sandbox wallets, which are simulated, and a failed or cancelled sandbox order credits them back once. The amounts are not simulated: a sandbox e-Stamp quote and the debit of a sandbox order use the same default per-paper charges, convenience fee, GST and rounding as live, so the figures match what production charges at the default rates. Sandbox calls still count against the sandbox limits, so a customer can hit a sandbox limit with no charge involved. For what else differs, see sandbox versus production keys and the pricing page.

API reference at a glance

PAN

PAN: paramsPOST /v1/verify/pan

Request parameters

Request parameters
FieldTypeDescription
AuthorizationrequiredheaderBearer <api-key> (e.g. sk_test_... in sandbox, sk_live_... in production). The x-api-key header is also accepted.
panrequiredstringPAN, format ABCDE1234F.
namestringName to match against records (max 256 chars).
PAN: responsePOST /v1/verify/pan
{
  "referenceId": "SMV-20260927-8F42K7",
  "pan": "ABCDE1234F",
  "type": "Individual",
  "valid": true,
  "registeredName": "RAHUL KUMAR",
  "fatherName": "SURESH KUMAR",
  "panStatus": "VALID",
  "panStatusCode": "E",
  "panStatusDescription": "Existing and valid PAN",
  "nameMatchResult": "MATCH",
  "nameMatchScore": "100",
  "aadhaarSeedingStatus": "y",
  "aadhaarSeedingStatusDescription": "Aadhaar linked",
  "lastUpdatedAt": "2023-04-01",
  "message": "PAN is Valid"
}
PAN: pricePOST /v1/verify/pan

PAN: ₹4 per successful call, pay-as-you-go (up to 100 calls per API per day; more on Business or a commercial deal).

e-Stamp Order Creation

e-Stamp Order Creation: paramsPOST /v1/orders

Request parameters

Request parameters
FieldTypeDescription
AuthorizationrequiredheaderBearer <api-key> (e.g. sk_test_... in sandbox, sk_live_... in production). The x-api-key header is also accepted.
Idempotency-KeyheaderOptional idempotency key (1 to 255 characters), kept for 24 hours. The same key and the same request replays the stored response; the same key with a different request is 422 IDEMPOTENCY_KEY_REUSED; the same key while the first request is still running is 409 IDEMPOTENCY_IN_PROGRESS (see Retry-After).
externalOrderIdrequiredstringYour own reference for this order.
externalCustomerIdrequiredstringYour own reference for the customer.
serviceCoderequiredstringThe entitled service to order (e.g. an estamp.* code).
detailsobjectFree-form service-specific payload. Not validated for e-Stamp: use POST /v1/estamp/orders instead.
e-Stamp Order Creation: responsePOST /v1/orders
{
  "externalOrderId": "ord_ext_123",
  "createdAt": "2026-10-15T09:41:07.000Z",
  "serviceCode": "estamp.instrument.rent_agreement"
}
e-Stamp Order Creation: pricePOST /v1/orders

e-Stamp Order Creation: ₹5 API fee per successful call, pay-as-you-go (up to 100 calls per API per day; more on Business or a commercial deal).

Frequently asked questions

Why does StampMitra have two wallets?

They hold different kinds of money. The Service wallet holds StampMitra's own charges: verification calls, the service fee and the per-paper fees on e-Stamp orders. The Stamp duty wallet holds only the government's duty, which passes through with no GST and no markup. Money never moves between the two.

Why is there GST on the Stamp duty top-up fee?

The duty itself carries no GST, but the processing fee on an instant card, UPI or netbanking top-up is StampMitra's service, so GST at 18% is charged on that fee only. The checkout shows the fee, the GST and the total, and a GST tax invoice is issued for the fee.

How long does a Stamp duty bank transfer take to credit?

After you submit the proof with the UTR, StampMitra operations verify the transfer and credit the wallet within 24 hours. The request shows as Submitted, then Credited, or Rejected with a reason if it could not be matched, in which case you can send a corrected proof.

Can the Stamp duty processing fee be waived?

No. The fee applies to every instant top-up through Razorpay and cannot be waived. The way to avoid it is a bank transfer for ten thousand rupees or more, which carries no processing fee, is verified by StampMitra operations and is credited within 24 hours.

What is the minimum top-up?

The Service wallet has a minimum top-up, stated before GST on the pricing page, with GST at 18% added at checkout. The Stamp duty wallet takes instant top-ups through Razorpay, and a bank transfer must be ten thousand rupees or more. The checkout always shows the exact limits.

Where do I find my invoices?

Open the Wallet and billing page in the dashboard and choose the Invoices tab, which lists tax invoices, plan statements and credit notes with a PDF for each. The Service and Stamp duty wallets also expose their invoices and transactions through the wallet routes of the API.

Why did my order return 402?

One wallet could not cover the order. The error has the code PAYMENT_REQUIRED and error.details.wallet is SERVICE_FEE or STAMP_DUTY, naming the short wallet. Nothing was created or charged. Top up that wallet and retry with the same Idempotency-Key so the call runs cleanly.

Are sandbox wallets real money?

No. Sandbox keys never touch a real wallet. Sandbox calls are free, sandbox e-Stamp orders use simulated wallets, and the balance endpoint returns a sandbox notice with zero amounts. Live calls need a real top-up, and a signup credit already on an older account stays locked and cannot pay for live calls. New accounts no longer receive one.

Why was I charged for a PAN that turned out to be invalid?

A valid negative answer is a successful answer. The check ran and the result was that the PAN is invalid, so the call is charged. A request in the wrong format is rejected with HTTP 400 before any check, and that is not charged. Check the billing basis in the Logs page.

Why are my e-Stamp order fees higher than the default per paper?

The default fees per paper are a procurement charge and an API charge, and a convenience fee of 5% of the paper's duty is added only when that paper's duty is above one thousand rupees. A client-specific, state or global rate can also apply, so compare with the order quote.

Sources

Verified 2026-11-25 against the StampMitra Developers codebase and the pages it publishes. No external website was used for billing facts, and nothing on this page is legal or tax advice.