Table of Contents

Class CreateSubAccountRequest

Namespace
Vonage.Accounts
Assembly
Vonage.dll

Represents a request to create a new subaccount under the primary account.

public class CreateSubAccountRequest
Inheritance
CreateSubAccountRequest
Inherited Members

Properties

Name

The friendly name for the new subaccount. Maximum 80 characters.

[JsonProperty("name")]
public string Name { get; set; }

Property Value

string

Secret

The API secret for the new subaccount. Must meet the same requirements as Secret.

[JsonProperty("secret")]
public string Secret { get; set; }

Property Value

string

UsePrimaryAccountBalance

Whether the subaccount should use the primary account's balance for API calls. Defaults to true. When false, the subaccount maintains its own separate balance.

[JsonProperty("use_primary_account_balance")]
public bool UsePrimaryAccountBalance { get; set; }

Property Value

bool