# The membership plan object A membership plan defines the organization, validity period, and fee for memberships in a sport. ## Attributes - `id` (integer) — Identifier assigned by the API. - `sport_id` (integer) — Sport associated with this record. - `name` (string) — Name of the plan, up to 100 characters. - `organization` (string) — Governing organization, up to 100 characters. - `card_type` (string or null) — Membership card category, up to 100 characters. - `season_label` (string) — Season label, for example 2026/2027. It can be derived from the validity dates. - `amount` (integer) — Non-negative fee in minor currency units. - `currency` (string) — Three-letter currency code. An empty value resets it to EUR. - `linked_plan_id` (integer or null) — ID of a membership-fee plan in the same sport. Requires Plans → Read. Use null to unlink. - `exclude` (integer) — Exclusion flag, represented as 0 or 1. - `metadata` (map or null) — Additional structured data for the plan. - `valid_from` (integer) — Start date as a Unix timestamp in seconds. - `valid_to` (integer) — End date as a Unix timestamp in seconds. - `tsc` (integer) — Creation time as a Unix timestamp in seconds. - `tsu` (integer) — Last update time as a Unix timestamp in seconds. ## Example Example with fictional data and selected fields. ```json { "id": 8, "sport_id": 3, "name": "Junior annual registration", "organization": "Example Sports Federation", "card_type": "Junior", "season_label": "2026/2027", "valid_from": 1788220800, "valid_to": 1819756800, "amount": 2500, "currency": "EUR", "linked_plan_id": null, "exclude": 0, "metadata": { "category": "junior" } } ```