# CreatePriceInput

Input for `createPrice`.

```
input CreatePriceInput {

  productId: ID!

  unitAmount: Int!

  currency: Currencies

  type: String

  recurring: PriceRecurringInput!

  active: Boolean

  nickname: String

  metadata: [KeyValueInput!]

}
```

### Fields[​](#fields "Enlace directo al Fields")

#### [`CreatePriceInput.productId`](#product-id) ● [`ID!`](https://docs.monei.com/es/apis/graphql/types/scalars/id.md) non-null scalar[​](#product-id "Enlace directo al product-id")

ID of the product of the price.

#### [`CreatePriceInput.unitAmount`](#unit-amount) ● [`Int!`](https://docs.monei.com/es/apis/graphql/types/scalars/int.md) non-null scalar[​](#unit-amount "Enlace directo al unit-amount")

Amount charged for each billing period, as a positive integer in the smallest currency unit.

#### [`CreatePriceInput.currency`](#currency) ● [`Currencies`](https://docs.monei.com/es/apis/graphql/types/enums/currencies.md) enum[​](#currency "Enlace directo al currency")

Three-letter ISO 4217 currency code. Defaults to the default currency of the account, else `EUR`.

#### [`CreatePriceInput.type`](#type) ● [`String`](https://docs.monei.com/es/apis/graphql/types/scalars/string.md) scalar[​](#type "Enlace directo al type")

How the price bills. Defaults to `RECURRING`, the only value accepted today.

#### [`CreatePriceInput.recurring`](#recurring) ● [`PriceRecurringInput!`](https://docs.monei.com/es/apis/graphql/types/inputs/price-recurring-input.md) non-null input[​](#recurring "Enlace directo al recurring")

Billing period of the price.

#### [`CreatePriceInput.active`](#active) ● [`Boolean`](https://docs.monei.com/es/apis/graphql/types/scalars/boolean.md) scalar[​](#active "Enlace directo al active")

Whether the price is active. Defaults to `true`.

#### [`CreatePriceInput.nickname`](#nickname) ● [`String`](https://docs.monei.com/es/apis/graphql/types/scalars/string.md) scalar[​](#nickname "Enlace directo al nickname")

Internal label of the price, up to 100 characters.

#### [`CreatePriceInput.metadata`](#metadata) ● [`[KeyValueInput!]`](https://docs.monei.com/es/apis/graphql/types/inputs/key-value-input.md) list input[​](#metadata "Enlace directo al metadata")

Key/value metadata. Each key holds up to 50 characters and each value up to 500.

### Member Of[​](#member-of "Enlace directo al Member Of")

[`createPrice`](https://docs.monei.com/es/apis/graphql/operations/mutations/create-price.md) mutation
