@bates-solutions/squareup API Reference - v3.2.0
    Preparing search index...

    Interface UpdateSubscriptionOptions

    Options for subscriptions.update(). Only the fields you set change.

    interface UpdateSubscriptionOptions {
        cardId?: string;
        priceOverride?: number;
        priceOverrideMoney?: {
            amount: number | bigint;
            currency?: "USD" | "CAD" | "GBP" | "EUR" | "AUD" | "JPY";
        };
        taxPercentage?: string;
    }
    Index
    cardId?: string

    Card on file to bill, for example a new card from cards.create().

    priceOverride?: number

    New recurring price in cents, in the client's defaultCurrency. Prefer priceOverrideMoney; a 0 here is ignored (no override is sent).

    priceOverrideMoney?: {
        amount: number | bigint;
        currency?: "USD" | "CAD" | "GBP" | "EUR" | "AUD" | "JPY";
    }

    New recurring price, in the smallest currency unit (cents). currency defaults to the client's defaultCurrency. amount: 0 makes the subscription free.

    taxPercentage?: string

    Tax rate as a percentage string, for example "8.5".