---
title: "CreateCostBasisRequest"
url: "https://nov18-dev.movespot.fyi/apis/konnect-metering-billing-dev-0/versions/530864ec-15ca-4e70-ac05-5fa12e38fbc9/schemas/CreateCostBasisRequest"
---

> Full API specification: https://nov18-dev.movespot.fyi/apis/konnect-metering-billing-dev-0/versions/530864ec-15ca-4e70-ac05-5fa12e38fbc9.md

# CreateCostBasisRequest

CostBasis create request.

## OpenAPI definition

```yaml
openapi: 3.0.0
info:
  title: Konnect Metering & Billing
  version: 0.0.1
servers:
  - url: https://us.api.konghq.com/v3
    description: United-States Production region
  - url: https://eu.api.konghq.com/v3
    description: Europe Production region
  - url: https://au.api.konghq.com/v3
    description: Australia Production region
  - url: https://me.api.konghq.com/v3
    description: Middle-East Production region
  - url: https://in.api.konghq.com/v3
    description: India Production region
  - url: https://sg.api.konghq.com/v3
    description: Singapore Production region
components:
  schemas:
    CreateCostBasisRequest:
      description: CostBasis create request.
      type: object
      properties:
        fiat_code:
          description: The fiat currency code for the cost basis.
          type: string
          example: USD
          maxLength: 3
          minLength: 3
          pattern: ^[A-Z]{3}$
        rate:
          description: The cost rate for the currency.
          type: string
          pattern: ^\-?[0-9]+(\.[0-9]+)?$
        effective_from:
          description: >-
            An ISO-8601 timestamp representation of the date from which the cost
            basis is effective.

            If not provided, it will be effective immediately and will set to
            `now` by the system.
          type: string
          format: date-time
          example: 2023-01-01T01:01:01.001Z
          title: RFC3339 Date-Time
      required:
        - fiat_code
        - rate
```
