---
title: "Creates a rate-card price for an external service."
method: POST
path: "/billing/external-service-prices"
tags: ["Billing", "ExternalServicePrices"]
---

# Creates a rate-card price for an external service.

`POST /billing/external-service-prices`

## Request body

- CreateExternalServicePriceEndpointInput — The external-service price input data.
  - `serviceKind` 'ContextShortening' | 'ImageGeneration', required
  - `pricingKey` string, required — Hierarchical variant key (e.g. reve, replicate/flux-1.1-pro).
  - `customerId` string, uuid, nullable — Null for the global default; set to scope the price to one customer.
  - `unitPrice` number, double, required — Price per unit (per image / per shortening).
  - `priority` integer, nullable — Priority; defaults to the configured global/customer default if unset.
  - `validFrom` string, date-time, nullable — The start of the validity window.
  - `validTo` string, date-time, nullable — The end of the validity window.

## Response `204`

No Content

## Other responses

- `400` — Bad Request
- `401` — Unauthenticated
- `403` — Forbidden

---

[API](https://skmtc.net/rapidata/apis/rapidata-api.md) · [All operations](https://skmtc.net/rapidata/apis/rapidata-api/llms.txt) · [OpenAPI document](https://skmtc-service-staging.skmtc.workers.dev/v1/apis/rapidata/rapidata-api/revisions/e42ec51c7b88/schema)
