Skip to content

PricingPlan

Defined in: v1/schemas.ts:837

A summary pricing plan object as returned in paginated list responses. Does not include frequency or trial configuration — use PricingPlanDetail for the full object returned by /pricing_plans/:id.

The price field is returned as an integer representing the smallest currency unit (e.g. cents), so 4999 represents $49.99.

  • output<typeof PricingPlanSchema>

optional course_id?: number

Defined in: v1/schemas.ts:826

z.infer.course_id


optional created_at?: string

Defined in: v1/schemas.ts:821

z.infer.created_at


currency: string

Defined in: v1/schemas.ts:825

z.infer.currency


id: number

Defined in: v1/schemas.ts:820

z.infer.id


optional name?: string

Defined in: v1/schemas.ts:823

z.infer.name


price: number

Defined in: v1/schemas.ts:824

z.infer.price


optional updated_at?: string

Defined in: v1/schemas.ts:822

z.infer.updated_at