Munim Technologies

Munim Autopilot Pricing

Munim runs your price tests, keeps the price that earns most for each kind of buyer, and keeps improving it within your limits.

What it does

Munim Autopilot Pricing tests 2 to 6 of a product’s prices against each other and learns, as sales come in, which one earns the most for each kind of buyer: by country, platform, channel and more, and by time of day. It shifts traffic toward the winner on its own, and tells you in plain words how sure it is.

It’s a paid add-on. Turn it on in the dashboard under Price tests, where its fee is shown first; GET /v1/pricing returns it as fee_bps with your experiments. Until it’s on, the pricing endpoints return 403.

Autopilot

With autopilot on (the default when you turn Autopilot Pricing on), Munim runs the tests for you. A product qualifies once it has 30 or more sales in 28 days and no test of yours. Munim then:

  • Starts a test around the price you sell most: a few prices above and below, with your price endings (.99 and so on).
  • Promotes a price in a segment once it’s clearly best there (95% sure, with enough sales).
  • Prices by time where it pays: weekends, evenings. With enough traffic it splits buyers by weekend or weekday and time of day in their own time zone, and keeps a different winner for each.
  • Retires prices that are clearly losing.
  • Starts the next round around the winner, in smaller steps, until the price settles.
  • Tests a settled product again after 60 days.

It learns from every seller using Autopilot Pricing, pooled and anonymous. A new product starts from what similar products showed (by price band, platform, region and country), but no seller ever sees another’s products, prices or customers.

You set the limits with POST /v1/pricing/settings:

  • max_move_pct: how far from your price it may go, 5 to 50 (default 30).
  • floor and ceiling: in cents, per account or per product.
  • autopilot: false: turns it off, for the account or for one product.

Existing subscribers keep their price, and App Store / Google Play buyers only see prices that already have a store product. Everything it does is in the activity feed: GET /v1/pricing/activity. Your app needs to ask for a quote (below) for a product to be tested.

Set up an experiment yourself

Request
curl https://billing-sandbox-api.munimtech.com/v1/pricing/experiments \
  -H "Authorization: Bearer $MUNIM_BILLING_SECRET_KEY" \
  -H "Content-Type: application/json" \
  -d '{
    "product_id": "pro_…",
    "price_ids": ["pri_999", "pri_1299", "pri_1499"],
    "segment_by": ["channel", "platform", "region"],
    "objective": "revenue",
    "store_product_ids": { "pri_1299": { "apple": "pro_monthly_1299", "google": "pro_monthly_1299" } }
  }'

# Start it
curl https://billing-sandbox-api.munimtech.com/v1/pricing/experiments/pex_… \
  -H "Authorization: Bearer $MUNIM_BILLING_SECRET_KEY" \
  -H "Content-Type: application/json" \
  -d '{"status": "running"}'
product_idstringrequired
The product whose prices you test.
price_idsstring[]required
2 to 6 active prices of that product with the same billing period. The first is the control.
segment_bystring[]
Any of channel, platform, region, country, new_vs_returning, daypart (night, morning, afternoon or evening in the buyer’s time), weekpart (weekend or weekday in the buyer’s time), or signal:<name>. Time comes from the quote’s timezone (or local_hour / local_day), else the country’s main time zone. Default: channel, platform, region.
objectivestring
revenue (default) or ltv, which counts cancellations against a price.
sticky_daysinteger
How long a person keeps the same price, 1 to 90. Default 30.
store_product_idsobject
For app stores, where a price can't be set per person: { price_id: { apple, google } } store products to sell for each price.
namestring
Default: the product's name plus "pricing".

Experiments start as drafts. Set status to running, paused or ended with POST /v1/pricing/experiments/:id; an ended one can’t restart. Segments and objective can only change before it starts.

Show the price and sell it

  1. Ask for a quote

    Before showing a price, your server asks which one this buyer should see. Pass your user id (or an anonymous_id for a signed-out visitor) so they keep the same price, and what you know: country, platform, channel, and timezone (the buyer’s IANA time zone, e.g. America/Chicago) so weekend and time-of-day prices work.

  2. Sell at that price

    On the web, create the checkout with pricing_quote_id instead of price_id. In the app stores, sell the quote’s store_product_id; a store purchase of it by the same app_user_id counts too.

    curl https://billing-sandbox-api.munimtech.com/v1/pricing/quote \
      -H "Authorization: Bearer $MUNIM_BILLING_SECRET_KEY" \
      -H "Content-Type: application/json" \
      -d '{"product_id": "pro_…", "app_user_id": "user_123", "country": "US", "platform": "web"}'
    
    # Sell at that price
    curl https://billing-sandbox-api.munimtech.com/v1/checkouts \
      -H "Authorization: Bearer $MUNIM_BILLING_SECRET_KEY" \
      -H "Content-Type: application/json" \
      -d '{"pricing_quote_id": "pq_…", "app_user_id": "user_123"}'
    Quote
    {
      "id": "pq_…",
      "object": "pricing_quote",
      "experiment_id": "pex_…",
      "arm_id": "arm_…",
      "product_id": "pro_…",
      "price_id": "pri_1299",
      "unit_amount": 1299,
      "currency": "usd",
      "interval": "month",
      "store_product_id": null,
      "segment": "web|web|NA",
      "disclosure": { "required": false, "text": null },
      "expires_at": 1764547200000
    }
  3. Show the disclosure when required

    When the price depends on the person (new vs returning, or your own signals), the quote has disclosure.required: true. Show disclosure.text next to the price where the law asks for it, for example in New York.

Your own signals

Send up to 10 short attributes about a user (their plan, engagement, cohort) and segment by them as signal:<name>. Protected traits (age, gender, race, religion, disability, income and the like) are refused, and can’t be segments.

Node
await munim.pricing.signals({
  app_user_id: user.id,
  attributes: { plan: 'free', engagement: 'high' },
})
// Experiments can then segment by "signal:plan" or "signal:engagement".

Results

GET /v1/pricing/experiments/:id/results returns each price’s quotes, sales, revenue per visitor and how likely it is to be the best, overall and per segment, with a plain-language recommendation. POST /v1/pricing/experiments/:id/insights writes a short summary of what the test found.

Guardrails
Prices only ever come from your own list. Nothing is priced by protected traits or by guessing what a person can afford. Payments made at a quoted price carry pricing_quote_id on the transaction.