> ## Documentation Index
> Fetch the complete documentation index at: https://developer.eka.care/llms.txt
> Use this file to discover all available pages before exploring further.

# Create Rate Plan

> 
### Overview

This API creates a new **IPD rate plan** for your workspace. A rate plan is a named set of charges (for example *Standard ICU*); the individual charges are added to it as inclusions with [Create Rate Plan Inclusion](/api-reference/doc-tool/ipd-api/rate-plans/create-rate-plan-inclusion).

Only `name` is accepted. The rate plan `id` and `updatedAt` are server-generated. Fields not listed in the request body are rejected.



## OpenAPI

````yaml post /ipd/v1/service/rateplans
openapi: 3.0.0
info:
  title: Ekacare API & Webhook Documentation
  contact: {}
  version: '1.0'
servers:
  - description: Production
    url: https://api.eka.care
  - description: Stage/Sandbox
    url: https://api.dev.eka.care
security: []
paths:
  /ipd/v1/service/rateplans:
    post:
      tags:
        - IPD API
      summary: Create Rate Plan
      description: >-

        ### Overview


        This API creates a new **IPD rate plan** for your workspace. A rate plan
        is a named set of charges (for example *Standard ICU*); the individual
        charges are added to it as inclusions with [Create Rate Plan
        Inclusion](/api-reference/doc-tool/ipd-api/rate-plans/create-rate-plan-inclusion).


        Only `name` is accepted. The rate plan `id` and `updatedAt` are
        server-generated. Fields not listed in the request body are rejected.
      operationId: CreateIpdRatePlan
      parameters:
        - name: auth
          in: header
          required: true
          schema:
            type: string
          example: >-
            eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJiX2lkIjoiMTIzNDU2IiwiY2xpZW50X2lkIjoiNzg5MCIsImV4dHJhX2ZpZWxkIjoiZXh0cmFfZmllbGRfZGF0YSJ9.q9KzBI6f4l3OyM_EkB5Quq0l9EEMFh5JS-fx3F_PHUM
      requestBody:
        description: The rate plan to create.
        required: true
        content:
          application/json:
            schema:
              type: object
              additionalProperties: false
              required:
                - name
              properties:
                name:
                  type: string
                  description: Display name of the rate plan.
            example:
              name: Standard ICU
      responses:
        '200':
          description: OK — the created rate plan.
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/IpdRatePlanResponse'
              example:
                success: true
                data:
                  id: 66f1c6f0e4b0a1b2c3d4e904
                  name: Standard ICU
                  updatedAt: '2026-10-07T10:00:00.000Z'
        '400':
          description: >-
            Bad Request — the request body failed validation (for example `name`
            is missing or empty, or an unknown field was sent).
            Schema-validation errors currently return an empty `message`.
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/IpdServiceError'
        '401':
          description: Unauthorized
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/IpdServiceError'
      deprecated: false
components:
  schemas:
    IpdRatePlanResponse:
      title: IpdRatePlanResponse
      type: object
      properties:
        success:
          type: boolean
        data:
          $ref: '#/components/schemas/IpdRatePlan'
    IpdServiceError:
      title: IpdServiceError
      type: object
      properties:
        message:
          type: string
          description: Human-readable error message.
    IpdRatePlan:
      title: IpdRatePlan
      type: object
      properties:
        id:
          type: string
          description: Rate plan id.
        name:
          type: string
          description: Display name of the rate plan.
        updatedAt:
          type: string
          description: Last-updated date-time as an ISO-8601 string.

````

This documentation is built and hosted on [Mintlify](https://mintlify.com), a developer documentation platform.