Skip to content

PricingPlan

Defined in: v1/schemas.ts:901

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:890

z.infer.course_id


optional created_at?: string

Defined in: v1/schemas.ts:885

z.infer.created_at


currency: string

Defined in: v1/schemas.ts:889

z.infer.currency


id: number

Defined in: v1/schemas.ts:884

z.infer.id


optional name?: string

Defined in: v1/schemas.ts:887

z.infer.name


price: number

Defined in: v1/schemas.ts:888

z.infer.price


optional updated_at?: string

Defined in: v1/schemas.ts:886

z.infer.updated_at