# SMS IN Price Object

An SMS IN price returned by [Look up SMS IN Prices](lookup-sms-in-prices.html). Resource
type: `prices`.

The `id` is a UUID derived from the content of the price: it stays the same across requests
while the price is unchanged, and differs for different prices. Any change to the price,
including its amount, gives it a new `id`, so the `id` does not follow the price of a
destination over time. There is no endpoint that returns a single price by its ID.

## Attributes

| Name | Type | Description |
| --- | --- | --- |
| source\_prefix | `string` | Prefix of the sending number the price applies to. `null` when the price applies to an SMS from any number. |
| source\_number\_length\_min | `integer` | Shortest sending number, in digits, the price applies to. |
| source\_number\_length\_max | `integer` | Longest sending number, in digits, the price applies to. |
| destination\_prefix | `string` | Prefix of the receiving number the price applies to. With `filter[dst_number]`, the longest one covering the number among the prices that the filters admit and whose length range holds the number. `null` when the price applies to any destination. |
| destination\_number\_length\_min | `integer` | Shortest receiving number, in digits, the price applies to. |
| destination\_number\_length\_max | `integer` | Longest receiving number, in digits, the price applies to. |
| country | `string` | Country of the receiving number the price applies to, by name. `null` when the price is not attributed to a country. |
| price | `string` | Price per SMS in USD, VAT excluded, as a decimal string that is never rounded. |

Prices are printed without rounding, with trailing zeros dropped and at least one decimal
kept, for example `0.0`, `1.5` or `0.0525`.

Prices under one destination prefix can differ by the sending number they apply to and by
their length ranges. Prices that are equal in every stored value are returned once.
