import { client } from "../client"; import type { FeePlan } from "./types"; export function getPaymentPlanById(id: string, signal?: AbortSignal): Promise { return client(`/payments/plans/${encodeURIComponent(id)}`, { signal }); }