---
title: "BillingPreferencesInput"
description: "The whole document: a PUT replaces it."
---

> Documentation Index
> Fetch the complete documentation index at: https://docs.ezghcloud.com/llms.txt
> Use this file to discover all available pages before exploring further.

Path: Billing API

The whole document: a PUT replaces it.

## Fields

- `BillingPreferencesInput.contact` (object, required)
  - `BillingPreferencesInput.contact.name` (string, required)
    - minLength 1; maxLength 200
  - `BillingPreferencesInput.contact.email` (string, required)
    - format `email`; maxLength 254
  - `BillingPreferencesInput.contact.phone` (string | null, optional)
    - maxLength 32
- `BillingPreferencesInput.address` (object, required)
  - `BillingPreferencesInput.address.line1` (string, required)
    - minLength 1; maxLength 200
  - `BillingPreferencesInput.address.city` (string, required)
    - minLength 1; maxLength 100
  - `BillingPreferencesInput.address.country` (string, required) — ISO 3166-1 alpha-2, case-insensitive; stored uppercase.
  - `BillingPreferencesInput.address.line2` (string | null, optional)
    - maxLength 200
  - `BillingPreferencesInput.address.region` (string | null, optional)
    - maxLength 100
  - `BillingPreferencesInput.address.postalCode` (string | null, optional)
    - maxLength 20
- `BillingPreferencesInput.billingMethod` (string, optional) — Default stripe.
  - one of `"stripe"`


Source: https://docs.ezghcloud.com/billing-api/schemas/BillingPreferencesInput/index.md
