@lomi./sdk
Version:
Official Node.js SDK for the lomi. API
17 lines (16 loc) • 596 B
TypeScript
import type { BillingFrequency } from './BillingFrequency';
import type { CurrencyCode } from './CurrencyCode';
import type { FailedPaymentAction } from './FailedPaymentAction';
import type { FirstPaymentType } from './FirstPaymentType';
export type CreateSubscriptionPlan = {
name: string;
description?: string;
amount: number;
currency_code: CurrencyCode;
billing_frequency: BillingFrequency;
failed_payment_action?: FailedPaymentAction;
charge_day?: number;
metadata?: Record<string, any>;
is_active?: boolean;
first_payment_type?: FirstPaymentType;
};