# The plan object Plans define the price and dates for subscriptions in a sport. ## Attributes - `id` (integer) — Identifier assigned by the API. - `sport_id` (integer) — ID of the sport. - `name` (string) — Plan name, up to 100 characters. Must be unique for the dates and sport. - `amount` (integer) — Plan amount in minor currency units. - `currency` (string) — Three-letter currency code, stored in uppercase. - `plan_start` (integer) — Unix timestamp in seconds. - `plan_end` (integer) — Unix timestamp in seconds. - `is_membership_fee` (integer) — Use 1 to mark the plan as a membership fee. - `exclude` (integer) — Use 1 to exclude the plan from plan selection. - `exclude_from_renewals` (integer) — Use 1 to exclude this plan from renewals. - `metadata` (map or null) — Plan metadata. The optional payments_expected schedule contains entries with date and a positive amount in minor currency units. - `linked_membership_plans` (array of objects) — IDs and names of linked membership plans. Included on list responses with Membership plans → Write. ## Example Example with fictional data and selected fields. ```json { "id": 13, "sport_id": 3, "name": "Junior season", "amount": 18000, "currency": "EUR", "plan_start": 1788220800, "plan_end": 1819756800, "is_membership_fee": 0, "exclude": 0, "exclude_from_renewals": 0, "metadata": {} } ```