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

# .NET: CreateSessionModel

> Signatures, models and behavior for SKM.V3.Models.CreateSessionModel in the .NET SDK 4.0.54.

Parameters used by [`CreateSession(string, CreateSessionModel)`](/libraries/dotnet-reference/methods/payment-form#create-session-5ca683888e).

**Namespace:** `SKM.V3.Models`\
**Version:** 4.0.54. Both packages; all six documented target frameworks.

<CodeGroup>
  ```csharp C# theme={null}
  public class CreateSessionModel : RequestModel
  ```

  ```vb VB.NET theme={null}
  Public Class CreateSessionModel Inherits RequestModel
  ```
</CodeGroup>

## Inherited SDK Members

* [`LicenseServerUrl`](/libraries/dotnet-reference/models/request-model#license-server-url-67581aa5cb)

## Properties

<a id="currency-acdf6faf86" />

### Currency

The ISO currency code, for example USD.

<CodeGroup>
  ```csharp C# theme={null}
  public string Currency { get; set; }
  ```

  ```vb VB.NET theme={null}
  Public Property Currency As String
  ```
</CodeGroup>

**Type:** `string`

<a id="custom-field-9bd6a05e1b" />

### CustomField

A custom value available to the payment form workflow.

<CodeGroup>
  ```csharp C# theme={null}
  public string CustomField { get; set; }
  ```

  ```vb VB.NET theme={null}
  Public Property CustomField As String
  ```
</CodeGroup>

**Type:** `string`

<a id="expires-da32b85ea0" />

### Expires

How long the session remains valid, in seconds.

<CodeGroup>
  ```csharp C# theme={null}
  public long Expires { get; set; }
  ```

  ```vb VB.NET theme={null}
  Public Property Expires As Long
  ```
</CodeGroup>

**Type:** `long`

<a id="heading-0cae605839" />

### Heading

The heading shown on the payment form.

<CodeGroup>
  ```csharp C# theme={null}
  public string Heading { get; set; }
  ```

  ```vb VB.NET theme={null}
  Public Property Heading As String
  ```
</CodeGroup>

**Type:** `string`

<a id="metadata-8564ad04b1" />

### Metadata

Additional information to save with the transaction.

<CodeGroup>
  ```csharp C# theme={null}
  public string Metadata { get; set; }
  ```

  ```vb VB.NET theme={null}
  Public Property Metadata As String
  ```
</CodeGroup>

**Type:** `string`

<a id="payment-form-id-c13a545c60" />

### PaymentFormId

The payment form ID.

<CodeGroup>
  ```csharp C# theme={null}
  public int PaymentFormId { get; set; }
  ```

  ```vb VB.NET theme={null}
  Public Property PaymentFormId As Integer
  ```
</CodeGroup>

**Type:** `int`

<a id="price-10df0fea0c" />

### Price

The price to charge, for example 12.5.

<CodeGroup>
  ```csharp C# theme={null}
  public double Price { get; set; }
  ```

  ```vb VB.NET theme={null}
  Public Property Price As Double
  ```
</CodeGroup>

**Type:** `double`

<a id="product-name-3fa5f86bc7" />

### ProductName

The item name shown to the customer.

<CodeGroup>
  ```csharp C# theme={null}
  public string ProductName { get; set; }
  ```

  ```vb VB.NET theme={null}
  Public Property ProductName As String
  ```
</CodeGroup>

**Type:** `string`

## Constructors

<a id="ctor-b465d25374" />

### CreateSessionModel()

Creates an empty CreateSessionModel object. This constructor does not send an API request.

<CodeGroup>
  ```csharp C# theme={null}
  public CreateSessionModel()
  ```

  ```vb VB.NET theme={null}
  Public Sub New()
  ```
</CodeGroup>

[.NET SDK Reference](/libraries/dotnet-api) · [Reviewed Source Revision](https://github.com/Cryptolens/cryptolens-dotnet/tree/30aaf399ba53d9a111bee896c35bf557fa219394)


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