StampMitraDevelopers
Livee-Stamp API

Duty / Value Calculation

Calculate applicable stamp duty for a given article, state and transaction value.

Pricing, how it works and related APIs: Duty / Value Calculation product page. Integrate with AI: copy the ready-made prompt. Markdown version: estamp-duty-value.md.

Where this API fits. Step 4 of 8 in the e-Stamp order flow. Calls need the estamp.duty.calculate scope on your API key. In sandbox the response is sample data, so you can build the whole flow before production access is approved. The order in which the calls must be made is in the e-Stamp order flow guide.

Endpoint

POST /v1/estamp/duty/calculate

POST/v1/estamp/duty/calculateScope estamp.duty.calculate₹5 per successful callLive

Runs the one authoritative pricing calculation; the response amount is never recalculated or overridden client-side. Requires the estamp.duty.calculate scope. Metered against your fulfilment wallet.

Request

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.
stateCoderequiredstringState code, e.g. MH.
articleCoderequiredstringStamp article code from the articles lookup.
stampDutyAmountrequirednumberStamp duty amount to calculate charges for; must be positive.
districtCodestringDistrict code, where the state needs one.
sroValuestringSub-registrar office value, where the state needs one.
doorstepDeliverybooleanWhether doorstep delivery is requested.
couponCodestringCoupon code to apply.
masterDataVersionintegerMaster-data version the caller last read.
Example

Make the call

curl -X POST "https://api-b2b.stampmitra.in/v1/estamp/duty/calculate" \
  -H "Authorization: Bearer sk_test_xxxxxxxxxxxx" \
  -H "Content-Type: application/json" \
  -d '{"stateCode":"MH","articleCode":"5","stampDutyAmount":500}'
Playground

Try it