---
title: "The MonetaryValue method"
slug: "the-monetaryvalue-method"
abstract: "Overview of the MonetaryValue method and properties with example."
---
# The MonetaryValue method

To define the monetary value property for the `Outcome` event, use the `MonetaryValue()` method.

| Property | Details |
| --- | --- |
| UT SDK method | `MonetaryValue(decimal)` |
| Required/optional | Optional |
| Multiple invocations | Multiple invocations are forbidden and cause an *InvalidOperationException* exception |
| Value validation | Only decimal numbers allowed |

For example:

```csharp
var outcome = UTRequestBuilder.OutcomeWithDefinitionId("01f8ffbf-d662-4a87-beee-413307055c48")
                              .CurrencyCode("usd")
                              .MonetaryValue(42)
```