import type * as Square from "../../../../index"; /** * @example * { * subscriptionId: "subscription_id", * subscription: { * cardId: "{NEW CARD ID}" * } * } */ export interface UpdateSubscriptionRequest { /** The ID of the subscription to update. */ subscriptionId: string; /** * The subscription object containing the current version, and fields to update. * Unset fields will be left at their current server values, and JSON `null` values will * be treated as a request to clear the relevant data. */ subscription?: Square.Subscription; }