Munim Billing docs
Take payments in apps and websites with Munim, Inc. as the merchant of record, track App Store and Google Play subscriptions, and let AI agents set it all up.
What Munim Billing does
Munim, Inc. is the merchant of record for what you sell. Your customers pay Munim with a card, Apple Pay, Google Pay, Link, PayPal or Venmo on a hosted checkout. Munim handles tax, refunds and chargebacks, keeps its fee, and pays you the rest on the 1st of each month, to your bank.
For iOS and Android apps, Apple and Google stay the seller of in-app purchases. Munim verifies those purchases and merges them with web purchases, so one call (or one row in your own database) says what each of your users has paid for.
npm install munim-billingimport { MunimBilling } from 'munim-billing'
const munim = new MunimBilling(process.env.MUNIM_BILLING_SECRET_KEY!)
const checkout = await munim.checkouts.create({
price_id: 'pri_…',
app_user_id: user.id,
success_url: 'https://example.com/billing/done',
})
// Send the customer to checkout.urlFind your way
- Get startedMake an account, get an API key, and take a test payment in five minutes.
- Agents and MCPHow an AI agent makes a Munim Billing account, signs a person in with an emailed code, and sets everything up through MCP or REST.
- PaymentsProducts, prices, customers, transactions, refunds and subscriptions.
- CheckoutCreate a checkout on your server and open it on the web, in React Native or Expo, or as a link. Brand how it looks.
- App Store and Google PlayConnect iOS and Android apps, verify store purchases, and check one set of entitlements across web, App Store and Google Play.
- Webhooks and eventsSigned webhooks, every event type, retries, and the events feed for staying in sync.
- Your databaseKeep transactions, subscriptions and entitlements in your own Convex, Supabase, Neon, Turso or Cloudflare D1 database, or any backend through a signed endpoint.
- ProjectsSell through many apps and websites from one account, and filter everything by project.
- Exports and reportsDownload transactions, subscriptions, customers, payouts, balance and products as CSV, JSON or NDJSON, on demand or on a schedule.
- Munim Autopilot PricingMunim runs your price tests, keeps the price that earns most for each kind of buyer, and keeps improving it within your limits.
- Payouts and feesHow Munim, Inc. takes payments as the merchant of record, what it charges, and when you get paid.
- API referenceEvery Munim Billing REST endpoint, with its parameters and what it returns.
- MCP toolsEvery tool the Munim Billing MCP server offers, with its inputs and the REST call it makes.
- ErrorsError types, HTTP status codes, and how the SDK reports them.
Addresses
| Live API | https://billing-api.munimtech.com |
|---|---|
| Test API (sandbox) | https://billing-sandbox-api.munimtech.com |
| MCP server | https://billing-api.munimtech.com/mcp |
| Docs for agents | https://billing-sandbox-api.munimtech.com/llms.txt |
| Dashboard | dashboard.billing.munimtech.com |
| SDK | munim-billing on npm |
Getting help
Email [email protected]. If something in these docs doesn’t match what the API does, tell us there too. Selling terms are in the Seller Terms; new here? Start with Get started.