---
title: "Set Customer Pricing"
method: POST
path: "/api/v1/trial/set-pricing"
tags: ["Enterprise Trial"]
---

# Set Customer Pricing

`POST /api/v1/trial/set-pricing`

## Request

- Base URL: `https://www.deepmapai.com`
- URL: `https://www.deepmapai.com/api/v1/trial/set-pricing`
- Auth: none declared

Set custom pricing for an API key (admin only).

Allows negotiated volume discounts and per-endpoint rate overrides
for enterprise customers. Changes take effect immediately.

Examples:
  - LDS Church: price_multiplier=0.5 (50% off everything)
  - Insurance co: custom_pricing={"georisk": 25, "portfolio": 30}

## Request body

- SetPricingRequest
  - `key_id` integer, required: API key ID to configure
  - `price_multiplier` number, nullable: Global discount multiplier. 0.7 = 30% off all endpoints.
  - `custom_pricing` object, nullable: Per-endpoint price overrides in cents. Keys are substring patterns matched against endpoint paths. E.g., {"georisk": 25, "scenarios/simulate": 60}

## Response `200`

Successful Response

- unknown

## Other responses

- `422`: Validation Error

---

[API](https://skmtc.dev/deepmapai/apis/deepmap-ai.md) · [All operations](https://skmtc.dev/deepmapai/apis/deepmap-ai/llms.txt) · [OpenAPI document](https://skmtc.dev/deepmapai/apis/deepmap-ai/revisions/dab995d977d0?raw)
