{"openapi":"3.1.0","info":{"title":"Ticketing Partner API","version":"1.0.0"},"servers":[{"url":"https://tickets.lissen.com/api"}],"components":{"securitySchemes":{"bearerAuth":{"type":"http","scheme":"bearer","bearerFormat":"API key"},"clientSecretAuth":{"type":"http","scheme":"bearer","bearerFormat":"Checkout session client secret","description":"A session-scoped bearer returned once by checkout-session create. It reaches only its own session and expires with it; it can never create a session and is never accepted on a keyed route."}},"schemas":{"EventList":{"type":"object","properties":{"data":{"type":"array","items":{"$ref":"#/components/schemas/Event"}},"has_more":{"type":"boolean"}},"required":["data","has_more"]},"Event":{"type":"object","properties":{"id":{"type":"string","pattern":"^evt_[0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{12}$"},"name":{"type":"string"},"starts_at":{"type":"string","format":"date-time"},"ends_at":{"type":["string","null"],"format":"date-time"},"timezone":{"type":"string"},"venue_name":{"type":"string"},"venue_address":{"type":["string","null"]},"metadata":{"type":"object","additionalProperties":{}},"min_tickets_per_order":{"type":["integer","null"],"minimum":1,"maximum":2147483647,"description":"Fewest tickets for this event in one checkout, counted across the event's items. Null means no minimum."},"max_tickets_per_order":{"type":["integer","null"],"minimum":1,"maximum":2147483647,"description":"Most tickets for this event in one checkout, counted across the event's items. Null means no maximum."},"max_tickets_per_customer":{"type":["integer","null"],"minimum":1,"maximum":2147483647,"description":"Most tickets for this event one purchaser (the order customer) may buy across all their orders. Null means no cap."}},"required":["id","name","starts_at","ends_at","timezone","venue_name","venue_address","metadata","min_tickets_per_order","max_tickets_per_order","max_tickets_per_customer"]},"ErrorEnvelope":{"type":"object","properties":{"error":{"type":"object","properties":{"type":{"$ref":"#/components/schemas/ErrorType"},"code":{"$ref":"#/components/schemas/ErrorCode"},"message":{"type":"string"},"param":{"type":"string"},"detail":{"type":"object","additionalProperties":{}},"request_id":{"type":"string","format":"uuid"}},"required":["type","code","message","request_id"]}},"required":["error"]},"ErrorType":{"type":"string","enum":["invalid_request_error","authentication_error","idempotency_error","rate_limit_error","api_error"]},"ErrorCode":{"type":"string","x-extensible-enum":["invalid_request","missing_organizer","invalid_organizer","missing_authorization","invalid_api_key","organizer_not_granted","api_key_not_authorized","api_key_mode_mismatch","missing_idempotency_key","idempotency_key_reused","idempotency_key_in_flight","buyer_plane_unavailable","door_pass_unavailable","invalid_pagination","invalid_sale_window","invalid_event_window","invalid_reference","code_already_exists","capacity_locked","insufficient_capacity","invalid_footprint","quota_below_consumption","quota_unlimited_immutable","item_quotas_locked","not_found","internal_error","currency_mismatch","item_not_sellable","fee_schedule_not_found","fee_schedule_ambiguous","connect_account_not_onboardable","connect_account_already_linked","connect_state_invalid","connect_oauth_failed","connect_oauth_not_available","connect_oauth_state_consumed","connect_provider_unavailable","staff_identity_invalid","staff_identity_not_permitted","fee_exceeds_charge","checkout_session_not_open","checkout_session_locked","checkout_session_conflict","code_not_reservable","payment_intent_unavailable","invalid_client_secret","identity_not_assigned","buyer_identity_required","invalid_webhook_url","invalid_webhook_enabled_type","webhook_endpoint_not_found","webhook_endpoint_rotation_failed","membership_already_exists","membership_already_canceled","membership_state_conflict","membership_no_billing","membership_pause_unsupported","membership_resume_payment_failed","door_pass_expired","door_pass_organizer_mismatch","already_checked_in","position_revoked","code_not_found","wrong_event","checkin_not_admitted","checkin_not_found","invalid_door_pass_expiry","waitlist_closed","waitlist_entry_exists","waitlist_entry_not_waiting","invitation_window_closed","invitation_session_immutable","order_not_refundable","position_not_refundable","refund_positions_mismatch","identity_token_rejected","reverify_required","payment_method_not_owned","live_payments_not_configured","refund_payment_mode_mismatch","payment_required","payment_declined","quantity_limit_exceeded","waitlist_item_not_open","not_position_holder","holder_unchanged","item_not_in_event","invalid_order_limits","order_quantity_below_minimum","order_quantity_above_maximum","customer_ticket_limit_exceeded","refund_amount_exceeds_refundable","membership_charge_not_refundable","customer_email_conflict","membership_prerequisite_not_met","membership_not_billable","payment_method_update_unavailable","credit_unchanged","membership_group_conflict","membership_enrollment_closed","membership_enrollment_full","membership_plan_earned_only","attendance_rule_not_configured","attendance_scope_not_selected","checkout_offer_not_applicable","member_role_not_permitted","entitlement_provider_not_found","entitlement_provider_conflict","invalid_entitlement_provider","invitation_allowance_exceeded","membership_not_eligible","guest_benefit_not_applicable","cancellation_policy_not_configured","organizer_admin_required","admission_disabled","cancellation_policy_required","event_already_cancelled","cancellation_not_retryable","tax_location_required","tax_location_invalid","membership_plan_not_tax_inclusive","first_charge_at_free_plan","first_charge_at_out_of_range","next_charge_at_out_of_range","saved_payment_method_free_plan","stripe_customer_not_found","payment_method_not_attached","stripe_customer_linked","membership_plan_free","provisioner_required","slug_already_exists","saved_payment_method_unavailable","notification_claim_not_held","invitation_usage_fully_returned","invitation_return_exceeds_remaining"]},"QuotaList":{"type":"object","properties":{"data":{"type":"array","items":{"$ref":"#/components/schemas/Quota"}},"has_more":{"type":"boolean"}},"required":["data","has_more"]},"Quota":{"type":"object","properties":{"id":{"type":"string","pattern":"^quo_[0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{12}$"},"name":{"type":"string"},"size":{"type":["integer","null"],"minimum":0},"metadata":{"type":"object","additionalProperties":{}}},"required":["id","name","size","metadata"]},"ItemList":{"type":"object","properties":{"data":{"type":"array","items":{"$ref":"#/components/schemas/Item"}},"has_more":{"type":"boolean"}},"required":["data","has_more"]},"Item":{"type":"object","properties":{"id":{"type":"string","pattern":"^itm_[0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{12}$"},"event_id":{"type":["string","null"],"pattern":"^evt_[0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{12}$"},"name":{"type":"string"},"price_minor":{"type":"integer","minimum":0},"currency":{"type":"string","pattern":"^[A-Z]{3}$"},"gated":{"type":"boolean"},"active":{"type":"boolean"},"sort_order":{"type":"integer"},"sale_starts_at":{"type":["string","null"],"format":"date-time"},"sale_ends_at":{"type":["string","null"],"format":"date-time"},"opens_after_item_id":{"type":["string","null"],"pattern":"^itm_[0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{12}$","description":"The other ticket type of the same event this one opens after, with `opens_when`. Set both or neither."},"opens_when":{"type":["string","null"],"enum":["runs_out","closes","either",null],"description":"`runs_out`: the other item's issued units reach the size of a quota it draws on (units in live baskets do not count). `closes`: the other item's `sale_ends_at` has passed. `either`: whichever comes first. Combined with `sale_starts_at`, the item opens at the earlier of the two; its own `sale_ends_at`, `active` and quotas still apply. Once opened by a trigger it stays open."},"sale_state":{"type":"string","enum":["inactive","not_started","on_sale","ended"],"description":"Derived, read-only: whether the item can be sold right now, by the one evaluation every engine surface uses. `inactive` (`active` is false), `not_started` (waiting for `sale_starts_at` or its trigger), `on_sale`, or `ended` (`sale_ends_at` has passed). Capacity is separate: an `on_sale` item can still be sold out."},"sale_opens_at":{"type":["string","null"],"format":"date-time","description":"Derived, read-only: when the sale opened or is scheduled to, the earlier of `sale_starts_at` and the opening trigger's recorded or scheduled instant. Null for an unscheduled item, and while an item with only a `runs_out` trigger is still waiting."},"sale_opened_by":{"type":["string","null"],"enum":["schedule","trigger",null],"description":"Derived, read-only: what opened the sale, `schedule` (`sale_starts_at`) or `trigger` (the linked item). Null while not open and for an unscheduled item."},"quota_ids":{"type":"array","items":{"type":"string","pattern":"^quo_[0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{12}$"},"minItems":1},"requires_approval":{"type":"boolean","description":"Approval-gated: buyers join the item's waitlist while the item is on sale, ordinary checkout refuses it, and a unit is sold only by promoting an entry."},"max_per_order":{"type":["integer","null"],"exclusiveMinimum":0,"maximum":100,"description":"The most units of this item one checkout session may hold; null leaves only the line ceiling."},"metadata":{"type":"object","additionalProperties":{}}},"required":["id","event_id","name","price_minor","currency","gated","active","sort_order","sale_starts_at","sale_ends_at","opens_after_item_id","opens_when","sale_state","sale_opens_at","sale_opened_by","quota_ids","requires_approval","max_per_order","metadata"]},"FeeScheduleList":{"type":"object","properties":{"data":{"type":"array","items":{"$ref":"#/components/schemas/FeeSchedule"}},"has_more":{"type":"boolean"}},"required":["data","has_more"]},"FeeSchedule":{"type":"object","properties":{"id":{"type":"string","pattern":"^fsc_[0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{12}$"},"event_id":{"type":["string","null"],"pattern":"^evt_[0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{12}$"},"item_id":{"type":["string","null"],"pattern":"^itm_[0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{12}$"},"currency":{"type":"string","pattern":"^[A-Z]{3}$"},"percent_bps":{"type":"integer","minimum":0},"flat_minor":{"type":"integer","minimum":0},"mode":{"type":"string","enum":["passed_on","absorbed"]},"active":{"type":"boolean"},"metadata":{"type":"object","additionalProperties":{}}},"required":["id","event_id","item_id","currency","percent_bps","flat_minor","mode","active","metadata"]},"DiscountCodeList":{"type":"object","properties":{"data":{"type":"array","items":{"$ref":"#/components/schemas/DiscountCode"}},"has_more":{"type":"boolean"}},"required":["data","has_more"]},"DiscountCode":{"type":"object","properties":{"id":{"type":"string","pattern":"^dsc_[0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{12}$"},"code":{"type":"string"},"effect_type":{"type":"string","enum":["percent","amount","unlock","price_override","fee_waiver"]},"percent_bps":{"type":["integer","null"],"minimum":0},"amount_minor":{"type":["integer","null"]},"amount_currency":{"type":["string","null"],"pattern":"^[A-Z]{3}$"},"stackable":{"type":"boolean"},"valid_from":{"type":["string","null"],"format":"date-time"},"valid_until":{"type":["string","null"],"format":"date-time"},"max_uses":{"type":["integer","null"],"exclusiveMinimum":0},"max_uses_per_customer":{"type":["integer","null"],"exclusiveMinimum":0},"active":{"type":"boolean"},"item_ids":{"type":"array","items":{"type":"string","pattern":"^itm_[0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{12}$"}},"event_ids":{"type":"array","items":{"type":"string","pattern":"^evt_[0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{12}$"}},"metadata":{"type":"object","additionalProperties":{}}},"required":["id","code","effect_type","percent_bps","amount_minor","amount_currency","stackable","valid_from","valid_until","max_uses","max_uses_per_customer","active","item_ids","event_ids","metadata"]},"Branding":{"type":"object","properties":{"id":{"type":"string","pattern":"^brd_[0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{12}$"},"logo_url":{"type":["string","null"],"format":"uri"},"brand_color":{"type":["string","null"],"pattern":"^(#[0-9a-fA-F]{6}|#[0-9a-fA-F]{3}|rgb\\((?:[0-9]|[1-9][0-9]|1[0-9]{2}|2[0-4][0-9]|25[0-5]),\\s*(?:[0-9]|[1-9][0-9]|1[0-9]{2}|2[0-4][0-9]|25[0-5]),\\s*(?:[0-9]|[1-9][0-9]|1[0-9]{2}|2[0-4][0-9]|25[0-5])\\))$"},"accent_color":{"type":["string","null"],"pattern":"^(#[0-9a-fA-F]{6}|#[0-9a-fA-F]{3}|rgb\\((?:[0-9]|[1-9][0-9]|1[0-9]{2}|2[0-4][0-9]|25[0-5]),\\s*(?:[0-9]|[1-9][0-9]|1[0-9]{2}|2[0-4][0-9]|25[0-5]),\\s*(?:[0-9]|[1-9][0-9]|1[0-9]{2}|2[0-4][0-9]|25[0-5])\\))$"},"background_color":{"type":["string","null"],"pattern":"^(#[0-9a-fA-F]{6}|#[0-9a-fA-F]{3}|rgb\\((?:[0-9]|[1-9][0-9]|1[0-9]{2}|2[0-4][0-9]|25[0-5]),\\s*(?:[0-9]|[1-9][0-9]|1[0-9]{2}|2[0-4][0-9]|25[0-5]),\\s*(?:[0-9]|[1-9][0-9]|1[0-9]{2}|2[0-4][0-9]|25[0-5])\\))$"},"text_color":{"type":["string","null"],"pattern":"^(#[0-9a-fA-F]{6}|#[0-9a-fA-F]{3}|rgb\\((?:[0-9]|[1-9][0-9]|1[0-9]{2}|2[0-4][0-9]|25[0-5]),\\s*(?:[0-9]|[1-9][0-9]|1[0-9]{2}|2[0-4][0-9]|25[0-5]),\\s*(?:[0-9]|[1-9][0-9]|1[0-9]{2}|2[0-4][0-9]|25[0-5])\\))$"},"font_key":{"type":["string","null"],"enum":["inter","system","manrope",null]},"corner_radius":{"type":["integer","null"],"minimum":0,"maximum":48},"metadata":{"type":"object","additionalProperties":{}}},"required":["id","logo_url","brand_color","accent_color","background_color","text_color","font_key","corner_radius","metadata"]},"Organizer":{"type":"object","properties":{"id":{"type":"string","pattern":"^org_[0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{12}$"},"name":{"type":"string"},"slug":{"type":"string"},"test":{"type":"boolean"},"status":{"type":"string","enum":["active","frozen"]},"psp_account_ref":{"type":["string","null"]},"embed_origins":{"type":"array","items":{"type":"string"}},"membership_tax":{"type":"boolean","default":false,"description":"Membership subscriptions charge tax: Stripe Tax calculates it on each invoice and new paid plans get tax-inclusive prices. Set by Lissen; false unless Lissen has turned it on for the organizer."},"ticket_collection":{"type":"string","enum":["connected_account","platform"],"default":"connected_account","description":"Where ticket payments are charged: `connected_account`, the organizer's own Stripe account (the default), or `platform`, Lissen's platform account. Set by Lissen."},"membership_collection":{"type":"string","enum":["connected_account","platform"],"default":"connected_account","description":"Where membership payments are charged: `connected_account`, the organizer's own Stripe account (the default), or `platform`, Lissen's platform account. Set by Lissen."},"own_order_confirmation":{"type":"boolean","default":false,"description":"The organizer sends its own order confirmations, so the engine never sends `order_confirmation` for it and its notification wiring refuses that message. Set by the organizer; false by default."}},"required":["id","name","slug","test","status","psp_account_ref","embed_origins"]},"OrganizerEmbed":{"type":"object","properties":{"embed_origins":{"type":"array","items":{"type":"string","format":"uri"}}},"required":["embed_origins"]},"OrganizerCreate":{"type":"object","properties":{"name":{"type":"string","minLength":1,"maxLength":200},"slug":{"type":"string","minLength":2,"maxLength":63,"pattern":"^[a-z0-9](?:[a-z0-9-]*[a-z0-9])?$","description":"The new organizer's permanent public handle: lowercase letters, digits and internal hyphens. Creating again with a slug this key already created returns that organizer."},"fee_schedules_from":{"type":"string","pattern":"^org_[0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{12}$","description":"An organizer this key holds a grant for, whose active organizer-wide fee schedules and notification provider connection the new organizer starts with. The connection's credentials are copied inside the engine and stay write-only."}},"required":["name","slug","fee_schedules_from"]},"OrganizerCollectionUpdate":{"type":"object","properties":{"ticket_collection":{"type":"string","enum":["connected_account","platform"],"description":"Where new ticket payments are charged: `connected_account` (the organizer's own Stripe account) or `platform` (Lissen's platform account)."},"membership_collection":{"type":"string","enum":["connected_account","platform"],"description":"Where new membership payments are charged: `connected_account` or `platform`."},"membership_tax":{"type":"boolean","description":"Membership subscriptions charge tax with Stripe Tax, on whichever account charges them."}},"minProperties":1},"AttendeeList":{"type":"object","properties":{"data":{"type":"array","items":{"$ref":"#/components/schemas/Attendee"}},"has_more":{"type":"boolean"}},"required":["data","has_more"]},"Attendee":{"type":"object","properties":{"object":{"type":"string","enum":["attendee"]},"position_id":{"type":"string","pattern":"^pos_[0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{12}$"},"event_id":{"type":"string","pattern":"^evt_[0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{12}$"},"item_id":{"type":"string","pattern":"^itm_[0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{12}$"},"item_name":{"type":"string","description":"The ticket type's name when the ticket was issued."},"holder":{"type":"object","properties":{"customer_id":{"type":"string","pattern":"^cus_[0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{12}$"},"name":{"type":["string","null"]},"email":{"type":["string","null"]}},"required":["customer_id","name","email"],"description":"Who holds the ticket now, which is not always who bought it."},"checked_in":{"type":"boolean","description":"True when an admitted, non-voided check-in exists for this ticket."}},"required":["object","position_id","event_id","item_id","item_name","holder","checked_in"]},"DoorPass":{"type":"object","properties":{"id":{"type":"string","pattern":"^key_[0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{12}$"},"object":{"type":"string","enum":["door_pass"]},"name":{"type":"string","minLength":1},"status":{"type":"string","enum":["active","expired","revoked"]},"event_ids":{"type":"array","items":{"type":"string","pattern":"^evt_[0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{12}$"},"minItems":1},"expires_at":{"type":["string","null"],"format":"date-time"},"enrolled_at":{"type":["string","null"],"format":"date-time"},"created_at":{"type":"string","format":"date-time"},"token_prefix":{"type":"string"},"metadata":{"type":"object","additionalProperties":{}}},"required":["id","object","name","status","event_ids","expires_at","enrolled_at","created_at","token_prefix","metadata"]},"DoorPassCreate":{"type":"object","properties":{"name":{"type":"string","minLength":1,"maxLength":200},"event_ids":{"type":"array","items":{"type":"string","pattern":"^evt_[0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{12}$"},"minItems":1},"expires_at":{"type":["string","null"],"format":"date-time"},"metadata":{"type":"object","additionalProperties":{}}},"required":["name","event_ids"]},"DoorPassList":{"type":"object","properties":{"data":{"type":"array","items":{"$ref":"#/components/schemas/DoorPass"}},"has_more":{"type":"boolean"}},"required":["data","has_more"]},"Checkin":{"type":"object","properties":{"id":{"type":"string","pattern":"^chk_[0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{12}$"},"object":{"type":"string","enum":["checkin"]},"event_id":{"type":["string","null"],"pattern":"^evt_[0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{12}$"},"position_id":{"type":["string","null"],"pattern":"^pos_[0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{12}$"},"door_pass_id":{"type":["string","null"],"pattern":"^key_[0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{12}$"},"client_scan_id":{"type":"string","maxLength":64},"scanned_at":{"type":"string","format":"date-time"},"synced_at":{"type":"string","format":"date-time"},"manual":{"type":"boolean"},"outcome":{"type":"string","enum":["admitted","rejected","superseded","voided"]},"rejection_reason":{"type":["string","null"]},"voided_at":{"type":["string","null"],"format":"date-time"},"credited_customer_id":{"type":["string","null"],"pattern":"^cus_[0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{12}$","description":"The customer this admission credits with attendance: the position's holder when the scan happened (for an offline scan, when the scanner says it happened). Null for a scan that was never admitted. It is recorded with the admission and does not follow later holder changes; only an organizer's credit correction, or a recipient's claim of what was sent to their address, moves it."},"metadata":{"type":"object","additionalProperties":{}},"position":{"$ref":"#/components/schemas/CheckinPosition"}},"required":["id","object","event_id","position_id","door_pass_id","client_scan_id","scanned_at","synced_at","manual","outcome","rejection_reason","voided_at","credited_customer_id","metadata","position"]},"CheckinPosition":{"type":["object","null"],"properties":{"id":{"type":"string","pattern":"^pos_[0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{12}$"},"description":{"type":"string"},"buyer_name":{"type":["string","null"]},"order_id":{"type":"string","pattern":"^ord_[0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{12}$"}},"required":["id","description","buyer_name","order_id"]},"CheckinCreate":{"type":"object","properties":{"client_scan_id":{"type":"string","minLength":1,"maxLength":64},"code":{"type":"string","minLength":1},"scanned_at":{"type":"string","format":"date-time"},"manual":{"type":"boolean","default":false}},"required":["client_scan_id","code","scanned_at"]},"CheckinSyncResponse":{"type":"object","properties":{"results":{"type":"array","items":{"$ref":"#/components/schemas/CheckinSyncResult"}}},"required":["results"]},"CheckinSyncResult":{"type":"object","properties":{"client_scan_id":{"type":"string"},"outcome":{"type":"string","enum":["recorded","already_recorded","superseded","revoked_since_manifest","unknown_code","wrong_event"]},"checkin_id":{"type":["string","null"],"pattern":"^chk_[0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{12}$"},"winning_scan":{"$ref":"#/components/schemas/CheckinWinner"},"superseded_scan":{"$ref":"#/components/schemas/CheckinWinner"}},"required":["client_scan_id","outcome","checkin_id"]},"CheckinWinner":{"type":"object","properties":{"checkin_id":{"type":"string","pattern":"^chk_[0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{12}$"},"scanned_at":{"type":"string","format":"date-time"},"door_pass_id":{"type":["string","null"],"pattern":"^key_[0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{12}$"},"door_pass_name":{"type":"string","minLength":1}},"required":["checkin_id","scanned_at","door_pass_id","door_pass_name"]},"CheckinSync":{"type":"object","properties":{"scans":{"type":"array","items":{"type":"object","properties":{"client_scan_id":{"type":"string","minLength":1,"maxLength":64},"code":{"type":"string","minLength":1},"code_hash":{"type":"string","pattern":"^[a-fA-F0-9]{64}$"},"scanned_at":{"type":"string","format":"date-time"},"manual":{"type":"boolean","default":false}},"required":["client_scan_id","scanned_at"]},"minItems":1,"maxItems":500}},"required":["scans"]},"CheckinList":{"type":"object","properties":{"data":{"type":"array","items":{"$ref":"#/components/schemas/Checkin"}},"has_more":{"type":"boolean"}},"required":["data","has_more"]},"Manifest":{"type":"object","properties":{"event_id":{"type":"string","pattern":"^evt_[0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{12}$"},"generated_at":{"type":"string","format":"date-time"},"refresh_after":{"type":"string","format":"date-time"},"entries":{"type":"array","items":{"$ref":"#/components/schemas/ManifestEntry"}}},"required":["event_id","generated_at","refresh_after","entries"]},"ManifestEntry":{"type":"object","properties":{"code_hash":{"type":"string","pattern":"^[a-f0-9]{64}$"},"position_id":{"type":"string","pattern":"^pos_[0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{12}$"},"description":{"type":"string"},"checked_in_at":{"type":["string","null"],"format":"date-time"},"buyer_name":{"type":["string","null"]},"masked_email":{"type":["string","null"]},"order_id":{"type":"string","pattern":"^ord_[0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{12}$"}},"required":["code_hash","position_id","description","checked_in_at","buyer_name","masked_email","order_id"]},"Quote":{"type":"object","properties":{"mode":{"type":"string","enum":["preview","checkout_quote"]},"created":{"type":"string","format":"date-time"},"currency":{"type":"string","pattern":"^[A-Z]{3}$"},"subject":{"type":"object","properties":{"kind":{"type":"string","enum":["authenticated","anonymous"]},"customer_id":{"type":["string","null"],"pattern":"^cus_[0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{12}$"},"external_ref":{"type":["string","null"]}},"required":["kind","customer_id","external_ref"]},"line_items":{"type":"array","items":{"$ref":"#/components/schemas/QuoteLineItem"}},"applied_effects":{"type":"array","items":{"$ref":"#/components/schemas/PriceEffect"}},"unapplied_effects":{"type":"array","items":{"$ref":"#/components/schemas/PriceEffect"}},"superseded_effect_ids":{"type":"array","items":{"type":"string","minLength":1}},"rejected_codes":{"type":"array","items":{"type":"object","properties":{"code":{"type":"string"},"reason":{"type":"string","enum":["not_found","inactive","not_yet_valid","expired","not_applicable","currency_mismatch","max_uses_reached","per_customer_limit_reached"]}},"required":["code","reason"]}},"totals":{"type":"object","properties":{"list_subtotal_minor":{"type":"integer","minimum":0},"discount_minor":{"type":"integer","minimum":0},"subtotal_minor":{"type":"integer","minimum":0},"booking_fee_minor":{"type":"integer","minimum":0},"platform_fee_minor":{"type":"integer","minimum":0},"total_minor":{"type":"integer","minimum":0}},"required":["list_subtotal_minor","discount_minor","subtotal_minor","booking_fee_minor","platform_fee_minor","total_minor"]},"degraded":{"type":"boolean"},"degraded_providers":{"type":"array","items":{"type":"string","enum":["discount_codes","membership","external"]}}},"required":["mode","created","currency","subject","line_items","applied_effects","unapplied_effects","superseded_effect_ids","rejected_codes","totals","degraded","degraded_providers"]},"QuoteLineItem":{"type":"object","properties":{"item_id":{"type":"string","pattern":"^itm_[0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{12}$"},"event_id":{"type":["string","null"],"pattern":"^evt_[0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{12}$"},"description":{"type":"string"},"quantity":{"type":"integer","exclusiveMinimum":0},"unit_list_price_minor":{"type":"integer","minimum":0},"unit_price_minor":{"type":"integer","minimum":0},"list_subtotal_minor":{"type":"integer","minimum":0},"discount_minor":{"type":"integer","minimum":0},"subtotal_minor":{"type":"integer","minimum":0},"booking_fee_minor":{"type":"integer","minimum":0},"platform_fee_minor":{"type":"integer","minimum":0},"effect_ids":{"type":"array","items":{"type":"string","minLength":1}},"sellable":{"type":"boolean"},"blocked_reason":{"type":["string","null"],"enum":["gated","inactive","sale_not_started","sale_ended","approval_required","event_cancelled",null]}},"required":["item_id","event_id","description","quantity","unit_list_price_minor","unit_price_minor","list_subtotal_minor","discount_minor","subtotal_minor","booking_fee_minor","platform_fee_minor","effect_ids","sellable","blocked_reason"]},"PriceEffect":{"type":"object","properties":{"id":{"type":"string","minLength":1},"provider_kind":{"type":"string","enum":["discount_codes","membership","external"]},"provider_id":{"type":["string","null"],"pattern":"^ep_[0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{12}$"},"type":{"type":"string","enum":["percent_off","amount_off","price_override","fee_waiver","unlock"]},"state":{"type":"string","enum":["applied","unapplied"]},"source":{"type":["object","null"],"properties":{"kind":{"type":"string","minLength":1},"label":{"type":"string","minLength":1},"ref":{"type":["string","null"]},"plan_id":{"type":["string","null"],"pattern":"^mpl_[0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{12}$"},"membership_id":{"type":["string","null"],"pattern":"^mbs_[0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{12}$"},"plan_name":{"type":["string","null"],"minLength":1},"display":{"type":["string","null"],"minLength":1},"benefit_id":{"type":["string","null"],"pattern":"^mbn_[0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{12}$"}},"required":["kind","label","ref"]},"requires":{"type":["object","null"],"properties":{"kind":{"type":"string","minLength":1},"label":{"type":"string","minLength":1},"ref":{"type":["string","null"]},"plan_id":{"type":["string","null"],"pattern":"^mpl_[0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{12}$"},"membership_id":{"type":["string","null"],"pattern":"^mbs_[0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{12}$"},"plan_name":{"type":["string","null"],"minLength":1},"display":{"type":["string","null"],"minLength":1},"benefit_id":{"type":["string","null"],"pattern":"^mbn_[0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{12}$"}},"required":["kind","label","ref"]},"description":{"type":"string","minLength":1},"stackable":{"type":"boolean"},"consumable":{"type":"boolean"},"redemption_ref":{"type":["string","null"],"minLength":1},"percent_bps":{"type":["integer","null"]},"amount_minor":{"type":["integer","null"]},"currency":{"type":["string","null"],"pattern":"^[A-Z]{3}$"},"price_override_minor":{"type":["integer","null"],"minimum":0},"applies_to_item_ids":{"type":"array","items":{"type":"string","pattern":"^itm_[0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{12}$"}},"applies_to_event_ids":{"type":"array","items":{"type":"string","pattern":"^evt_[0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{12}$"}},"unlocks_item_ids":{"type":"array","items":{"type":"string","pattern":"^itm_[0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{12}$"}}},"required":["id","provider_kind","provider_id","type","state","source","requires","description","stackable","consumable","redemption_ref","percent_bps","amount_minor","currency","price_override_minor","applies_to_item_ids","applies_to_event_ids","unlocks_item_ids"]},"MembershipPlanList":{"type":"object","properties":{"data":{"type":"array","items":{"$ref":"#/components/schemas/MembershipPlan"}},"has_more":{"type":"boolean"}},"required":["data","has_more"]},"MembershipPlan":{"type":"object","properties":{"id":{"type":"string","pattern":"^mpl_[0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{12}$"},"name":{"type":"string"},"currency":{"type":"string","pattern":"^[A-Z]{3}$"},"price_minor":{"type":"integer","minimum":0},"interval":{"type":["string","null"],"enum":["month","year",null],"description":"How often a paid plan renews. Null for a free plan (`price_minor` 0), which never renews."},"percent_off_bps":{"type":["integer","null"],"minimum":0},"unlocks_gated_items":{"type":"boolean"},"active":{"type":"boolean"},"enrollment_open":{"type":"boolean","description":"The owner's switch for new signups, independent of `active`. False closes the plan to new joins while existing members keep their price, billing and benefits."},"member_cap":{"type":["integer","null"],"exclusiveMinimum":0,"description":"Optional cohort size. When that many places have been taken the plan stops enrolling, and stays closed even if a member later leaves, until an owner changes the cap or clears it. Null is uncapped."},"enrollment":{"$ref":"#/components/schemas/MembershipPlanEnrollment"},"required_plan_id":{"type":["string","null"],"pattern":"^mpl_[0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{12}$","description":"The plan whose active membership a customer must hold to join this one, or null when joining needs no other membership. Checked only at the join: losing the required membership later changes no existing membership."},"exclusive_group":{"type":["string","null"],"description":"The name of the exclusive group this plan belongs to, or null when ungrouped. Plans of this organizer that share a name are alternatives: a customer can hold only one ongoing (not canceled) membership among them."},"grace_days":{"type":"integer","minimum":0,"maximum":365,"description":"Benefit grace period in whole days (0 to 365). When an `active` member's ordinary renewal payment fails the membership becomes `past_due` (its status stays truthful) and keeps this plan's benefits for this many days from the moment the failure is recorded; successful payment ends the overdue episode, and benefits stop at the deadline otherwise. 0, the default, means no grace: benefits stop at the failure. Paid plans only: a free plan (`price_minor` 0) has nothing to renew and refuses a value above 0. The window is fixed when an overdue episode starts, so editing this setting never lengthens or shortens an episode already running."},"attendance_rule":{"$ref":"#/components/schemas/AttendanceRule"},"created_at":{"type":"string","format":"date-time"},"updated_at":{"type":"string","format":"date-time"},"metadata":{"type":"object","additionalProperties":{}}},"required":["id","name","currency","price_minor","interval","percent_off_bps","unlocks_gated_items","active","enrollment_open","member_cap","enrollment","required_plan_id","exclusive_group","grace_days","attendance_rule","created_at","updated_at","metadata"]},"MembershipPlanEnrollment":{"type":"object","properties":{"status":{"type":"string","enum":["open","closed","full"],"description":"`open`: a new customer can join. `closed`: the owner closed enrollment (`enrollment_open` false). `full`: the plan has a `member_cap` and every place is taken or held by a join awaiting its first payment. Closed wins over full. Independent of `active`. For a plan with an `attendance_rule` this object describes nothing: such a plan is earned, not joined, and every join answers `membership_plan_earned_only` whatever this says."},"places_left":{"type":["integer","null"],"minimum":0,"description":"Places still available under `member_cap`, counting taken places and unexpired holds; null when the plan has no cap. A hold from an unpaid join frees its place if the payment is abandoned, so this can rise again until the cohort fills."}},"required":["status","places_left"]},"AttendanceRule":{"type":["object","null"],"properties":{"threshold":{"type":"integer","minimum":1,"maximum":1000,"description":"How many distinct events a customer must have attended. Several tickets, orders or scans for one event are one event."},"window_months":{"type":"integer","minimum":1,"maximum":120,"description":"The rolling lookback, in whole calendar months ending now (UTC). There is no calendar-year reset: the window slides."},"retention":{"type":"string","enum":["keep","maintain"],"description":"`keep`: once earned the membership stays until someone ends it, however old the visits get. `maintain`: it ends when the customer stops qualifying and is earned again by qualifying again."},"scope":{"type":"string","enum":["all_events","selected_events"],"description":"`all_events`: every event of the organizer counts. `selected_events`: only events that name this plan (`PUT /v1/events/{id}/qualifying_plans/{plan_id}`), including events not created yet."}},"required":["threshold","window_months","retention","scope"],"description":"Optional attendance rule of a free plan: customers who attend enough events earn a membership of the plan, with no join. Only a free plan (`price_minor` 0) can have one. Send null to remove it; the memberships already earned stay and are never ended by the removed rule. Changing the rule re-evaluates the organizer's customers (grants to those who now qualify and, under `maintain`, ends earned memberships that no longer do), at most 200 customers in the request and the rest within minutes."},"MembershipPlanGroupList":{"type":"object","properties":{"data":{"type":"array","items":{"$ref":"#/components/schemas/MembershipPlanGroup"}}},"required":["data"]},"MembershipPlanGroup":{"type":"object","properties":{"object":{"type":"string","enum":["membership_plan_group"]},"name":{"type":"string"},"plan_ids":{"type":"array","items":{"type":"string","pattern":"^mpl_[0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{12}$"},"description":"Every plan of the organizer currently in the group, active or not."},"conflicts":{"type":"array","items":{"type":"object","properties":{"customer_id":{"type":"string","pattern":"^cus_[0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{12}$"},"membership_ids":{"type":"array","items":{"type":"string","pattern":"^mbs_[0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{12}$"},"description":"The customer's ongoing memberships in the group (two or more), oldest first."}},"required":["customer_id","membership_ids"]},"description":"Customers who already hold more than one ongoing membership in the group, for example from before the group was configured. The engine never resolves them: cancel or let one end through the normal membership operations. Empty when the group is consistent."}},"required":["object","name","plan_ids","conflicts"]},"MembershipList":{"type":"object","properties":{"data":{"type":"array","items":{"$ref":"#/components/schemas/Membership"}},"has_more":{"type":"boolean"}},"required":["data","has_more"]},"Membership":{"type":"object","properties":{"id":{"type":"string","pattern":"^mbs_[0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{12}$"},"object":{"type":"string","enum":["membership"]},"plan_id":{"type":"string","pattern":"^mpl_[0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{12}$"},"customer_id":{"type":"string","pattern":"^cus_[0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{12}$"},"status":{"type":"string","enum":["incomplete","active","past_due","paused","canceled"]},"current_period_end":{"type":["string","null"],"format":"date-time"},"cancel_at_period_end":{"type":"boolean"},"started_at":{"type":["string","null"],"format":"date-time"},"ended_at":{"type":["string","null"],"format":"date-time"},"grace_started_at":{"type":["string","null"],"format":"date-time","description":"When this overdue episode's benefit grace began: the moment the engine recorded the failed ordinary renewal of a previously `active` membership whose plan has `grace_days` above 0. Null when no grace is running or was ever granted for the current status. Fixed for the whole episode: retries, duplicate or out-of-order provider events and card updates never restart it. Cleared when the membership leaves `past_due`."},"grace_ends_at":{"type":["string","null"],"format":"date-time","description":"The instant the episode's benefit grace ends (exclusive: benefits stop at this time). Fixed when the episode starts from the plan's `grace_days` then. Stays on a `past_due` membership after it passes, so a partner can say when benefits stopped; null once the membership leaves `past_due`. A reading of this field never changes `status`, which stays `past_due` throughout."},"in_grace":{"type":"boolean","description":"True when the membership is `past_due` and the current time is inside its grace window, so it still gets the plan's benefits. Evaluated when the membership is read, with no provider event needed for the window to lapse."},"next_charge_at":{"type":["string","null"],"format":"date-time","description":"When the membership is next charged: the join's `first_charge_at` until that first charge, then the renewal date. A `past_due` membership's failed invoice is retried on Stripe's schedule before then. Null when nothing will be charged: a free membership, one set to cancel at the period end, `paused`, `canceled`, or a join whose first payment is being made now."},"source":{"type":"string","enum":["joined","earned"],"description":"`earned` when the plan's attendance rule granted the membership; `joined` for every membership a customer joined, paid or free."},"price_minor":{"type":"integer","minimum":0,"description":"The price of the membership's next charge, in minor units of the plan's currency: the plan's price when the customer joined, then each new price of the plan (`POST /v1/membership_plans/{id}/price`) once the membership has been moved to it. 0 for a free membership. An invoice already open when the plan was repriced (an overdue renewal, an unpaid first payment) keeps the amount it was created with."},"price_applies_at":{"type":["string","null"],"format":"date-time","description":"When the membership is first charged its `price_minor` after a reprice of its plan: its next renewal after it was moved, or the next charge a later `next_charge` request moved or made before that renewal. Null when its plan was never repriced since it joined, and for a membership moved while `paused`, which is charged the new price when it resumes; a resume that moves it itself sets it to the resume."},"created_at":{"type":"string","format":"date-time"},"metadata":{"type":"object","additionalProperties":{}}},"required":["id","object","plan_id","customer_id","status","current_period_end","cancel_at_period_end","started_at","ended_at","grace_started_at","grace_ends_at","in_grace","next_charge_at","source","price_minor","price_applies_at","created_at","metadata"]},"MembershipCreated":{"type":"object","properties":{"membership":{"$ref":"#/components/schemas/Membership"},"payment":{"$ref":"#/components/schemas/MembershipPayment"},"setup":{"$ref":"#/components/schemas/MembershipSetup"}},"required":["membership","payment","setup"]},"MembershipPayment":{"type":["object","null"],"properties":{"payment_intent_client_secret":{"type":"string"},"connected_account_id":{"type":["string","null"],"minLength":1,"description":"The Stripe account to start Stripe.js with (`stripeAccount`): the organizer's connected account the membership is charged on, or null when it is charged on Lissen's platform account, which Stripe.js is started without."},"publishable_key":{"type":"string","minLength":1}},"required":["payment_intent_client_secret","connected_account_id","publishable_key"],"description":"Credentials for confirming the first payment. Null when the plan is free (the membership is already active) and when the join gave `first_charge_at` (see `setup`). For a join with `saved_payment_method` charged now it is present only while the bank asks the member to authenticate (handle the PaymentIntent's next action with Stripe.js); null once the card paid."},"MembershipSetup":{"type":["object","null"],"properties":{"setup_intent_client_secret":{"type":"string","description":"Confirm it with Stripe.js (`confirmSetup` with the Payment Element) to save the member's card for the first charge."},"connected_account_id":{"type":["string","null"],"minLength":1,"description":"The Stripe account to start Stripe.js with (`stripeAccount`): the organizer's connected account the membership is charged on, or null when it is charged on Lissen's platform account, which Stripe.js is started without."},"publishable_key":{"type":"string","minLength":1}},"required":["setup_intent_client_secret","connected_account_id","publishable_key"],"description":"Present only when the join gave `first_charge_at` without `saved_payment_method`: credentials for saving the member's card, which is charged on that date. Nothing is charged now. The membership is `incomplete` until the card is saved, then `active`. Null when the join named a saved card: that card is already the one charged on the date."},"MembershipPaymentMethodUpdateSession":{"type":"object","properties":{"object":{"type":"string","enum":["membership_payment_method_update_session"]},"membership_id":{"type":"string","pattern":"^mbs_[0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{12}$"},"url":{"type":"string","format":"uri"}},"required":["object","membership_id","url"]},"MembershipResumed":{"type":"object","properties":{"membership":{"$ref":"#/components/schemas/Membership"},"payment":{"allOf":[{"$ref":"#/components/schemas/MembershipPayment"},{"description":"Present only while the membership is still `paused` and its restart invoice is open and payable: confirm this payment to restore the membership. Null once the membership is active, or when no payment is currently payable."}]}},"required":["membership","payment"]},"MembershipNextCharge":{"type":"object","properties":{"membership":{"$ref":"#/components/schemas/Membership"},"charge_attempt":{"$ref":"#/components/schemas/MembershipChargeAttempt"}},"required":["membership","charge_attempt"]},"MembershipChargeAttempt":{"type":["object","null"],"properties":{"outcome":{"type":"string","enum":["paid","failed","requires_action"],"description":"`paid`: the charge succeeded. `failed`: the card was declined. `requires_action`: the member's bank asked them to authenticate, which cannot happen off-session; Stripe does not retry such a payment, so send the member to a payment-method update."},"decline_code":{"type":["string","null"],"description":"The provider's decline code of a failed attempt (for example `insufficient_funds`), when it gave one."}},"required":["outcome","decline_code"],"description":"How the charge of `at: now` went. Null for a moved date, and when nothing was charged because the overdue invoice was already paid."},"MembershipBenefitList":{"type":"object","properties":{"data":{"type":"array","items":{"$ref":"#/components/schemas/MembershipBenefit"}},"has_more":{"type":"boolean"}},"required":["data","has_more"]},"MembershipBenefit":{"type":"object","properties":{"id":{"type":"string","pattern":"^mbn_[0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{12}$"},"object":{"type":"string","enum":["membership_benefit"]},"plan_id":{"type":"string","pattern":"^mpl_[0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{12}$"},"name":{"type":"string"},"kind":{"type":"string","enum":["percent_off","unlock","guest_invitation","waitlist_priority","fee_waiver"]},"percent_off_bps":{"type":["integer","null"],"minimum":1,"maximum":10000},"guest_allowance":{"type":["object","null"],"properties":{"units":{"type":"integer","minimum":1},"mode":{"type":"string","enum":["per_event","per_period"]},"period":{"type":["string","null"],"enum":["week","month","year",null]}},"required":["units","mode","period"]},"created_at":{"type":"string","format":"date-time"},"updated_at":{"type":"string","format":"date-time"},"metadata":{"type":"object","additionalProperties":{}}},"required":["id","object","plan_id","name","kind","percent_off_bps","created_at","updated_at","metadata"]},"MembershipBenefitAssignmentList":{"type":"object","properties":{"data":{"type":"array","items":{"$ref":"#/components/schemas/MembershipBenefitAssignment"}},"has_more":{"type":"boolean"}},"required":["data","has_more"]},"MembershipBenefitAssignment":{"type":"object","properties":{"id":{"type":"string","pattern":"^mba_[0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{12}$"},"object":{"type":"string","enum":["membership_benefit_assignment"]},"benefit_id":{"type":"string","pattern":"^mbn_[0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{12}$"},"event_id":{"type":"string","pattern":"^evt_[0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{12}$"},"scope":{"type":"string","enum":["event","items"]},"item_ids":{"type":"array","items":{"type":"string","pattern":"^itm_[0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{12}$"}},"created_at":{"type":"string","format":"date-time"},"updated_at":{"type":"string","format":"date-time"}},"required":["id","object","benefit_id","event_id","scope","item_ids","created_at","updated_at"]},"InvitationPoolList":{"type":"object","properties":{"data":{"type":"array","items":{"$ref":"#/components/schemas/InvitationPool"}},"has_more":{"type":"boolean"}},"required":["data","has_more"]},"InvitationPool":{"type":"object","properties":{"id":{"type":"string","pattern":"^ivp_[0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{12}$"},"object":{"type":"string","enum":["invitation_pool"]},"event_id":{"type":"string","pattern":"^evt_[0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{12}$"},"label":{"type":["string","null"]},"external_ref":{"type":["string","null"]},"limit_units":{"type":"integer","minimum":0},"created_at":{"type":"string","format":"date-time"},"updated_at":{"type":"string","format":"date-time"},"metadata":{"type":"object","additionalProperties":{}},"used_units":{"type":"integer","minimum":0,"description":"Ticket units issued against the pool so far, across every allocation joined to it, less the units you returned with `POST /v1/invitation_usages/{id}/returns`. Issued tickets keep counting even if later canceled or transferred: the engine never gives a unit back by itself."},"remaining_units":{"type":"integer","minimum":0,"description":"`limit_units` minus `used_units`, never below zero."}},"required":["id","object","event_id","label","external_ref","limit_units","created_at","updated_at","metadata","used_units","remaining_units"]},"InvitationAllocationList":{"type":"object","properties":{"data":{"type":"array","items":{"$ref":"#/components/schemas/InvitationAllocation"}},"has_more":{"type":"boolean"}},"required":["data","has_more"]},"InvitationAllocation":{"type":"object","properties":{"id":{"type":"string","pattern":"^iva_[0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{12}$"},"object":{"type":"string","enum":["invitation_allocation"]},"event_id":{"type":"string","pattern":"^evt_[0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{12}$"},"pool_id":{"type":["string","null"],"pattern":"^ivp_[0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{12}$"},"label":{"type":["string","null"]},"external_ref":{"type":["string","null"]},"limit_units":{"type":"integer","minimum":0},"created_at":{"type":"string","format":"date-time"},"updated_at":{"type":"string","format":"date-time"},"metadata":{"type":"object","additionalProperties":{}},"used_units":{"type":"integer","minimum":0,"description":"Ticket units issued against this allocation so far, less the units you returned with `POST /v1/invitation_usages/{id}/returns`. Issued tickets keep counting even if later canceled or transferred: the engine never gives a unit back by itself."},"remaining_units":{"type":"integer","minimum":0,"description":"`limit_units` minus `used_units`, never below zero. Ignores the pool."},"available_units":{"type":"integer","minimum":0,"description":"What a comp against this allocation can issue right now: `remaining_units`, capped by the pool's remaining units when the allocation joined one. Ordinary event capacity is a separate limit and is not counted."}},"required":["id","object","event_id","pool_id","label","external_ref","limit_units","created_at","updated_at","metadata","used_units","remaining_units","available_units"]},"MembershipQualifyingEventList":{"type":"object","properties":{"data":{"type":"array","items":{"$ref":"#/components/schemas/MembershipQualifyingEvent"}},"has_more":{"type":"boolean"}},"required":["data","has_more"]},"MembershipQualifyingEvent":{"type":"object","properties":{"id":{"type":"string","pattern":"^mqe_[0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{12}$"},"object":{"type":"string","enum":["membership_qualifying_event"]},"plan_id":{"type":"string","pattern":"^mpl_[0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{12}$"},"event_id":{"type":"string","pattern":"^evt_[0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{12}$"},"created_at":{"type":"string","format":"date-time"}},"required":["id","object","plan_id","event_id","created_at"]},"MembershipQualification":{"type":"object","properties":{"object":{"type":"string","enum":["membership_qualification"]},"plan_id":{"type":"string","pattern":"^mpl_[0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{12}$"},"customer_id":{"type":"string","pattern":"^cus_[0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{12}$"},"attendance_rule":{"$ref":"#/components/schemas/AttendanceRule"},"visits_counted":{"type":"integer","minimum":0,"description":"Distinct events that count toward the rule right now: attended inside the window and, for `selected_events`, selected for this plan."},"threshold":{"type":"integer","minimum":1,"description":"`attendance_rule.threshold`, repeated so progress reads as `visits_counted` of `threshold`."},"window_start":{"type":"string","format":"date-time","description":"Inclusive start of the rolling window."},"window_end":{"type":"string","format":"date-time","description":"The instant the window and the count were computed."},"qualified":{"type":"boolean","description":"Whether `visits_counted` reaches `threshold` now. Independent of whether a membership exists: a `keep` membership outlives qualification, and an explicit removal can leave a qualified customer without one."},"qualified_until":{"type":["string","null"],"format":"date-time","description":"When the customer stops qualifying if they attend nothing more: the instant the threshold-th most recent counted visit leaves the window. Null while not qualified. A forecast: a `maintain` membership ends on the first evaluation at or after it (within minutes)."},"visits":{"type":"array","items":{"type":"object","properties":{"event_id":{"type":"string","pattern":"^evt_[0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{12}$"},"first_admitted_at":{"type":"string","format":"date-time"}},"required":["event_id","first_admitted_at"]},"description":"The counted visits, newest first, each dated by its earliest admitted scan."},"membership_id":{"type":["string","null"],"pattern":"^mbs_[0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{12}$","description":"The customer's live (not canceled) membership of this plan, if any."},"earned":{"type":"boolean","description":"Whether that membership was earned by the rule (`source` `earned`). False when there is no membership or the customer joined."}},"required":["object","plan_id","customer_id","attendance_rule","visits_counted","threshold","window_start","window_end","qualified","qualified_until","visits","membership_id","earned"]},"EventCancellationPolicy":{"type":"object","properties":{"id":{"type":"string","pattern":"^ecp_[0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{12}$"},"object":{"type":"string","enum":["event_cancellation_policy"]},"event_id":{"type":"string","pattern":"^evt_[0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{12}$"},"stop_new_sales":{"type":"boolean"},"close_pending_checkouts":{"type":"boolean"},"refund_paid_tickets":{"type":"boolean"},"disable_admission":{"type":"boolean"},"notify_attendees":{"type":"boolean"},"created_at":{"type":"string","format":"date-time"},"updated_at":{"type":"string","format":"date-time"}},"required":["id","object","event_id","stop_new_sales","close_pending_checkouts","refund_paid_tickets","disable_admission","notify_attendees","created_at","updated_at"]},"EventCancellationPolicyPut":{"type":"object","properties":{"stop_new_sales":{"type":"boolean","description":"When the event is cancelled, refuse new checkout sessions for it. When false, cancelling does not stop sales."},"close_pending_checkouts":{"type":"boolean","description":"When the event is cancelled, expire its open checkouts under the normal payment lifecycle (a checkout whose payment has started is never expired). When false, they keep their ordinary lifecycle."},"refund_paid_tickets":{"type":"boolean","description":"When the event is cancelled, return the money for its paid tickets as money-only refunds, so a ticket stays usable unless `disable_admission` is also set. When false, no refund is issued automatically."},"disable_admission":{"type":"boolean","description":"When the event is cancelled, refuse entry at the door and leave the event out of door manifests. Tickets are not revoked and no money moves. When false, cancelling does not affect admission."},"notify_attendees":{"type":"boolean","description":"When the event is cancelled, request a cancellation notice for each order with tickets to the event through the notification integration and the activity feed. Internal activity is recorded either way. When false, no attendee notice is requested."}},"required":["stop_new_sales","close_pending_checkouts","refund_paid_tickets","disable_admission","notify_attendees"],"additionalProperties":false},"EventCancellation":{"type":"object","properties":{"id":{"type":"string","pattern":"^ecn_[0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{12}$"},"object":{"type":"string","enum":["event_cancellation"]},"event_id":{"type":"string","pattern":"^evt_[0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{12}$"},"status":{"type":"string","enum":["in_progress","completed","needs_attention"]},"reason":{"type":"string"},"actor":{"type":"object","properties":{"kind":{"type":"string"},"id":{"type":"string"}},"required":["kind","id"]},"policy":{"type":"object","properties":{"stop_new_sales":{"type":"boolean"},"close_pending_checkouts":{"type":"boolean"},"refund_paid_tickets":{"type":"boolean"},"disable_admission":{"type":"boolean"},"notify_attendees":{"type":"boolean"}},"required":["stop_new_sales","close_pending_checkouts","refund_paid_tickets","disable_admission","notify_attendees"]},"actions":{"type":"array","items":{"type":"object","properties":{"action":{"type":"string","enum":["stop_new_sales","close_pending_checkouts","refund_paid_tickets","disable_admission","notify_attendees"]},"enabled":{"type":"boolean"},"status":{"type":"string","enum":["pending","completed","failed","skipped"]},"attempts":{"type":"integer","minimum":0},"total":{"type":["integer","null"],"minimum":0},"completed":{"type":"integer","minimum":0},"last_error":{"type":["string","null"]},"completed_at":{"type":["string","null"],"format":"date-time"}},"required":["action","enabled","status","attempts","total","completed","last_error","completed_at"]}},"cancelled_at":{"type":"string","format":"date-time"},"completed_at":{"type":["string","null"],"format":"date-time"}},"required":["id","object","event_id","status","reason","actor","policy","actions","cancelled_at","completed_at"]},"EventCancel":{"type":"object","properties":{"reason":{"type":"string","minLength":1,"maxLength":500,"description":"Why the event is cancelled, for the organizer's own record. It is kept on the cancellation and its activity and is never sent to attendees."},"confirm":{"type":"boolean","enum":[true],"description":"Must be `true`: cancelling cannot be undone from the API, so the caller states that it means it."}},"required":["reason","confirm"],"additionalProperties":false},"QuotaAvailability":{"type":"object","properties":{"quota_id":{"type":"string","pattern":"^quo_[0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{12}$"},"size":{"type":["integer","null"],"minimum":0,"description":"null means deliberate unlimited capacity."},"issued":{"type":"integer","minimum":0,"description":"Live positions drawing on this quota."},"in_baskets":{"type":"integer","minimum":0,"description":"Units claimed by live holds. Liveness is the hold status, not the clock: an expired-but-unswept hold still blocks."},"available":{"type":["integer","null"],"minimum":0,"description":"size minus issued minus in_baskets, floored at zero; null when the quota is unlimited."},"state":{"$ref":"#/components/schemas/AvailabilityState"}},"required":["quota_id","size","issued","in_baskets","available","state"]},"AvailabilityState":{"type":"string","enum":["available","in_baskets","gone"]},"QuotaAvailabilityList":{"type":"object","properties":{"data":{"type":"array","items":{"$ref":"#/components/schemas/QuotaAvailability"}}},"required":["data"]},"ItemIssuanceList":{"type":"object","properties":{"data":{"type":"array","items":{"$ref":"#/components/schemas/ItemIssuance"}}},"required":["data"]},"ItemIssuance":{"type":"object","properties":{"item_id":{"type":"string","pattern":"^itm_[0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{12}$"},"issued":{"type":"integer","minimum":0,"description":"Live positions of this item."}},"required":["item_id","issued"]},"CheckoutSessionCreated":{"type":"object","properties":{"id":{"type":"string","pattern":"^cs_[0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{12}$"},"status":{"type":"string","enum":["open","payment_pending","payment_processing","completed","expired","payment_refused"]},"created":{"type":"string","format":"date-time"},"customer_id":{"type":["string","null"],"pattern":"^cus_[0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{12}$"},"currency":{"type":["string","null"],"pattern":"^[A-Z]{3}$"},"line_items":{"type":"array","items":{"$ref":"#/components/schemas/CheckoutSessionLineItem"}},"quote":{"allOf":[{"$ref":"#/components/schemas/Quote"},{"type":["object","null"]}]},"total_minor":{"type":["integer","null"],"minimum":0},"booking_fee_minor":{"type":["integer","null"],"minimum":0},"platform_fee_minor":{"type":["integer","null"],"minimum":0},"payment_method_types":{"type":"array","items":{"type":"string","minLength":1}},"hold_id":{"type":["string","null"],"pattern":"^hld_[0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{12}$"},"hosted_url":{"type":["string","null"]},"return_url":{"type":["string","null"]},"psp_refs":{"type":"object","additionalProperties":{}},"locked_at":{"type":["string","null"],"format":"date-time"},"expires_at":{"type":"string","format":"date-time"},"completed_at":{"type":["string","null"],"format":"date-time"},"metadata":{"type":"object","additionalProperties":{}},"client_secret":{"type":"string","description":"The buyer-plane bearer for this session: scoped to it, expiring with it, and never returned by any other endpoint or present in an activity payload. Retrying this request with the same Idempotency-Key replays the IDENTICAL response, this field included — the stored body is encrypted at rest rather than stripped, and is purged when the session reaches a terminal state."},"url":{"type":"string","description":"The hosted checkout page for this session, carrying the client secret in the URL fragment. Replayed identically."}},"required":["id","status","created","customer_id","currency","line_items","quote","total_minor","booking_fee_minor","platform_fee_minor","payment_method_types","hold_id","hosted_url","return_url","psp_refs","locked_at","expires_at","completed_at","metadata","client_secret","url"]},"CheckoutSessionLineItem":{"type":"object","properties":{"item_id":{"type":"string","pattern":"^itm_[0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{12}$"},"quantity":{"type":"integer","exclusiveMinimum":0},"unit_list_price_minor":{"type":"integer","minimum":0}},"required":["item_id","quantity","unit_list_price_minor"]},"CheckoutSessionList":{"type":"object","properties":{"data":{"type":"array","items":{"$ref":"#/components/schemas/CheckoutSession"}},"has_more":{"type":"boolean"}},"required":["data","has_more"]},"CheckoutSession":{"type":"object","properties":{"id":{"type":"string","pattern":"^cs_[0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{12}$"},"status":{"type":"string","enum":["open","payment_pending","payment_processing","completed","expired","payment_refused"]},"created":{"type":"string","format":"date-time"},"customer_id":{"type":["string","null"],"pattern":"^cus_[0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{12}$"},"currency":{"type":["string","null"],"pattern":"^[A-Z]{3}$"},"line_items":{"type":"array","items":{"$ref":"#/components/schemas/CheckoutSessionLineItem"}},"quote":{"allOf":[{"$ref":"#/components/schemas/Quote"},{"type":["object","null"]}]},"total_minor":{"type":["integer","null"],"minimum":0},"booking_fee_minor":{"type":["integer","null"],"minimum":0},"platform_fee_minor":{"type":["integer","null"],"minimum":0},"payment_method_types":{"type":"array","items":{"type":"string","minLength":1}},"hold_id":{"type":["string","null"],"pattern":"^hld_[0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{12}$"},"hosted_url":{"type":["string","null"]},"return_url":{"type":["string","null"]},"psp_refs":{"type":"object","additionalProperties":{}},"locked_at":{"type":["string","null"],"format":"date-time"},"expires_at":{"type":"string","format":"date-time"},"completed_at":{"type":["string","null"],"format":"date-time"},"metadata":{"type":"object","additionalProperties":{}}},"required":["id","status","created","customer_id","currency","line_items","quote","total_minor","booking_fee_minor","platform_fee_minor","payment_method_types","hold_id","hosted_url","return_url","psp_refs","locked_at","expires_at","completed_at","metadata"]},"BuyerCheckoutSession":{"type":"object","properties":{"id":{"type":"string","pattern":"^cs_[0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{12}$"},"status":{"type":"string","enum":["open","payment_pending","payment_processing","completed","expired","payment_refused"]},"currency":{"type":["string","null"],"pattern":"^[A-Z]{3}$"},"organizer":{"type":"object","properties":{"name":{"type":"string"},"slug":{"type":"string"}},"required":["name","slug"]},"branding":{"$ref":"#/components/schemas/BuyerCheckoutBranding"},"line_items":{"type":"array","items":{"$ref":"#/components/schemas/BuyerCheckoutSessionLineItem"}},"quote":{"allOf":[{"$ref":"#/components/schemas/Quote"},{"type":["object","null"]}]},"total_minor":{"type":["integer","null"],"minimum":0},"booking_fee_minor":{"type":["integer","null"],"minimum":0},"platform_fee_minor":{"type":["integer","null"],"minimum":0},"payment_method_types":{"type":"array","items":{"type":"string"}},"return_url":{"type":["string","null"]},"expires_at":{"type":"string","format":"date-time"},"buyer_email":{"type":["string","null"]},"order_id":{"type":["string","null"],"pattern":"^ord_[0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{12}$"},"attested_buyer":{"anyOf":[{"type":"object","properties":{"email":{"type":"string"},"reverify_required":{"type":"boolean"}},"required":["email","reverify_required"]},{"type":"null"}],"description":"The attested Lissen buyer, or null. `reverify_required` is true once the attestation behind a saved card is older than ninety days; the wallet refuses to pay until the identity plane vouches again."}},"required":["id","status","currency","organizer","branding","line_items","quote","total_minor","booking_fee_minor","platform_fee_minor","payment_method_types","return_url","expires_at","buyer_email","order_id","attested_buyer"]},"BuyerCheckoutBranding":{"type":"object","properties":{"logo_url":{"type":["string","null"],"format":"uri"},"brand_color":{"type":["string","null"],"pattern":"^(#[0-9a-fA-F]{6}|#[0-9a-fA-F]{3}|rgb\\((?:[0-9]|[1-9][0-9]|1[0-9]{2}|2[0-4][0-9]|25[0-5]),\\s*(?:[0-9]|[1-9][0-9]|1[0-9]{2}|2[0-4][0-9]|25[0-5]),\\s*(?:[0-9]|[1-9][0-9]|1[0-9]{2}|2[0-4][0-9]|25[0-5])\\))$"},"accent_color":{"type":["string","null"],"pattern":"^(#[0-9a-fA-F]{6}|#[0-9a-fA-F]{3}|rgb\\((?:[0-9]|[1-9][0-9]|1[0-9]{2}|2[0-4][0-9]|25[0-5]),\\s*(?:[0-9]|[1-9][0-9]|1[0-9]{2}|2[0-4][0-9]|25[0-5]),\\s*(?:[0-9]|[1-9][0-9]|1[0-9]{2}|2[0-4][0-9]|25[0-5])\\))$"},"background_color":{"type":["string","null"],"pattern":"^(#[0-9a-fA-F]{6}|#[0-9a-fA-F]{3}|rgb\\((?:[0-9]|[1-9][0-9]|1[0-9]{2}|2[0-4][0-9]|25[0-5]),\\s*(?:[0-9]|[1-9][0-9]|1[0-9]{2}|2[0-4][0-9]|25[0-5]),\\s*(?:[0-9]|[1-9][0-9]|1[0-9]{2}|2[0-4][0-9]|25[0-5])\\))$"},"text_color":{"type":["string","null"],"pattern":"^(#[0-9a-fA-F]{6}|#[0-9a-fA-F]{3}|rgb\\((?:[0-9]|[1-9][0-9]|1[0-9]{2}|2[0-4][0-9]|25[0-5]),\\s*(?:[0-9]|[1-9][0-9]|1[0-9]{2}|2[0-4][0-9]|25[0-5]),\\s*(?:[0-9]|[1-9][0-9]|1[0-9]{2}|2[0-4][0-9]|25[0-5])\\))$"},"font_key":{"type":["string","null"],"enum":["inter","system","manrope",null]},"corner_radius":{"type":["integer","null"],"minimum":0,"maximum":48}},"required":["logo_url","brand_color","accent_color","background_color","text_color","font_key","corner_radius"]},"BuyerCheckoutSessionLineItem":{"type":"object","properties":{"item_id":{"type":"string","pattern":"^itm_[0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{12}$"},"quantity":{"type":"integer","exclusiveMinimum":0},"unit_list_price_minor":{"type":"integer","minimum":0},"item_name":{"type":"string"},"event":{"anyOf":[{"$ref":"#/components/schemas/BuyerCheckoutEvent"},{"type":"null"}]}},"required":["item_id","quantity","unit_list_price_minor","item_name","event"]},"BuyerCheckoutEvent":{"type":"object","properties":{"id":{"type":"string","pattern":"^evt_[0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{12}$"},"name":{"type":"string"},"starts_at":{"type":"string","format":"date-time"},"venue_name":{"type":"string"},"min_tickets_per_order":{"type":["integer","null"],"minimum":1,"maximum":2147483647},"max_tickets_per_order":{"type":["integer","null"],"minimum":1,"maximum":2147483647},"max_tickets_per_customer":{"type":["integer","null"],"minimum":1,"maximum":2147483647}},"required":["id","name","starts_at","venue_name","min_tickets_per_order","max_tickets_per_order","max_tickets_per_customer"]},"BuyerPaymentCredentials":{"type":"object","properties":{"payment_intent_client_secret":{"type":"string","description":"Confirms the Payment Element in the buyer's browser. Fetched immediately before confirmation, which is also when the engine re-syncs the intent's amount to the session's contractual quote."},"connected_account_id":{"type":["string","null"],"description":"The organizer's connected account when charges are made directly on it — the organizer is the merchant of record — so Stripe.js must be initialised with it. Null when the payment is made on the Lissen platform account: initialise Stripe.js without a connected account."},"publishable_key":{"type":"string","description":"The platform publishable key for this organizer's mode — the one credential that legitimately leaves the engine."},"payment_method_types":{"type":"array","items":{"type":"string"},"description":"Exactly what the Element renders. Delayed-notification methods such as bank debits appear only when the event is far enough away for the payment to clear before its doors open."}},"required":["payment_intent_client_secret","connected_account_id","publishable_key","payment_method_types"]},"BuyerIdentity":{"type":"object","properties":{"attested":{"type":"boolean","enum":[true],"description":"Always true — a refused token is an error, never an unattested 200."},"email":{"type":"string","description":"The verified address the identity plane vouched for. The session's customer dossier now carries it."},"saved_cards":{"type":"array","items":{"$ref":"#/components/schemas/BuyerSavedCard"},"description":"The cards this buyer has saved with Lissen, across every organizer. Empty when they have no wallet yet — which is the ordinary first-purchase case, not an error."},"reverify_required":{"type":"boolean","description":"True when the attestation is older than ninety days. Saved cards are still listed, but paying with one is refused until the identity plane vouches again."}},"required":["attested","email","saved_cards","reverify_required"]},"BuyerSavedCard":{"type":"object","properties":{"id":{"type":"string"},"brand":{"type":"string"},"last4":{"type":"string"},"exp_month":{"type":"integer","minimum":1,"maximum":12},"exp_year":{"type":"integer"}},"required":["id","brand","last4","exp_month","exp_year"]},"BuyerIdentityCleared":{"type":"object","properties":{"attested":{"type":"boolean","enum":[false]}},"required":["attested"]},"BuyerEnrolment":{"type":"object","properties":{"enrolled":{"type":"boolean","description":"True only when the identity plane holds a verified identity for this address AND that identity has at least one saved card. Everything else — unknown, unverified, no wallet, over the probe budget — is false."}},"required":["enrolled"]},"BuyerWalletSetup":{"type":"object","properties":{"client_secret":{"type":"string","description":"A PLATFORM SetupIntent's client secret: the new card is entered on the Lissen platform account, never on the organizer's. Confirm it with Stripe.js initialised WITHOUT a connected account."},"publishable_key":{"type":"string","description":"The platform publishable key for this organizer's mode."},"connected_account_id":{"type":["string","null"],"description":"The organizer's connected Stripe account, where the payment itself is made. A checkout that asks the engine to confirm a saved card's payment (`confirm: \"server\"` on wallet/pay) makes its Radar session there first, with this key and this account. Null when the payment is made on the Lissen platform account (make the Radar session on Stripe.js initialised without a connected account), or while the organizer has no connected account."}},"required":["client_secret","publishable_key","connected_account_id"]},"BuyerWalletPayment":{"type":"object","properties":{"payment_intent_client_secret":{"type":"string","description":"The session's own PaymentIntent, already pointed at the card. Confirm it on the Stripe.js instance for `connected_account_id`."},"connected_account_id":{"type":["string","null"],"description":"The organizer's connected account when the charge is direct on it: Stripe.js must be initialised with it. Null when the payment is made on the Lissen platform account: initialise Stripe.js without a connected account."},"publishable_key":{"type":"string"},"payment_method_id":{"type":"string","description":"The method to confirm with. For a direct charge, the CLONE on the connected account — not the id you sent: the platform method does not exist on the organizer's account. On the platform account, the platform method itself."},"payment_intent_status":{"type":"string","enum":["succeeded","processing","requires_action"],"description":"Present only when the request asked for `confirm: \"server\"`: what the engine's confirmation left. `succeeded` or `processing` — the money moved; finalize the session. `requires_action` — the bank wants 3-D Secure: read the intent with `payment_intent_client_secret` on the Stripe.js instance for `connected_account_id` and handle its next action (a `redirect_to_url` to the checkout's bank-return page), then finalize. A declined card is not a status here but a 422 `payment_declined`."}},"required":["payment_intent_client_secret","connected_account_id","publishable_key","payment_method_id"]},"OrderList":{"type":"object","properties":{"data":{"type":"array","items":{"$ref":"#/components/schemas/Order"}},"has_more":{"type":"boolean"}},"required":["data","has_more"]},"Order":{"type":"object","properties":{"id":{"type":"string","pattern":"^ord_[0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{12}$"},"customer_id":{"type":"string","pattern":"^cus_[0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{12}$"},"checkout_session_id":{"type":"string","pattern":"^cs_[0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{12}$"},"issuance":{"$ref":"#/components/schemas/OrderIssuance"},"currency":{"type":"string","pattern":"^[A-Z]{3}$"},"total_minor":{"type":"integer","minimum":0},"booking_fee_minor":{"type":"integer","minimum":0},"platform_fee_minor":{"type":"integer","minimum":0},"payment_state":{"type":"string","x-extensible-enum":["processing","paid","payment_failed","refund_pending","refunded"]},"buyer_email":{"type":"string"},"buyer_name":{"type":["string","null"]},"buyer_phone":{"type":["string","null"],"default":null},"applied_effects":{"type":"array","items":{}},"positions":{"type":"array","items":{"$ref":"#/components/schemas/Position"}},"event":{"type":["object","null"],"properties":{"id":{"type":"string","pattern":"^evt_[0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{12}$"},"name":{"type":"string"},"starts_at":{"type":"string","format":"date-time"},"timezone":{"type":"string"},"venue_name":{"type":"string"},"venue_address":{"type":["string","null"]}},"required":["id","name","starts_at","timezone","venue_name","venue_address"]},"psp_refs":{"type":"object","additionalProperties":{}},"created":{"type":"string","format":"date-time"},"metadata":{"type":"object","additionalProperties":{}},"amount_refunded_minor":{"type":"integer","minimum":0,"description":"Money returned by completed refunds and by Stripe Dashboard refunds awaiting staff assignment, in minor units."},"amount_refundable_minor":{"type":"integer","minimum":0,"description":"What a new refund can still return: the order total less completed, processing and failed-but-not-retried refunds and Dashboard refunds awaiting staff assignment. Zero unless `payment_state` is `paid` or `refund_pending`."}},"required":["id","customer_id","checkout_session_id","issuance","currency","total_minor","booking_fee_minor","platform_fee_minor","payment_state","buyer_email","buyer_name","applied_effects","positions","event","psp_refs","created","metadata","amount_refunded_minor","amount_refundable_minor"]},"OrderIssuance":{"type":"object","properties":{"type":{"type":"string","enum":["checkout","comp"],"x-extensible-enum":["checkout","comp"],"description":"`checkout` for an order a checkout session issued; `comp` for complimentary tickets issued directly with `POST /v1/comps`."},"capacity_override":{"type":"boolean","description":"True when the comp request set `capacity_override`, so its positions were issued without a capacity check. Always false for a checkout order."},"invitation":{"type":"object","properties":{"usage_id":{"type":"string","pattern":"^ivu_[0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{12}$","description":"The invitation usage that charged the tickets. Give its units back with `POST /v1/invitation_usages/{id}/returns`. Present on fresh order reads and new responses; replays stored before invitation returns omit it."},"allocation_id":{"type":["string","null"],"pattern":"^iva_[0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{12}$"},"pool_id":{"type":["string","null"],"pattern":"^ivp_[0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{12}$","description":"The pool the allocation had joined when the tickets were issued; null when it had none."},"units":{"type":"integer","minimum":1,"description":"Ticket units charged: the number of tickets on the order."},"returned_units":{"type":"integer","minimum":0,"description":"Units you have given back of `units` with invitation returns. The engine never gives any back by itself, not even when the tickets are cancelled. Present on fresh order reads and new responses; replays stored before invitation returns omit it."}},"required":["allocation_id","pool_id","units"],"description":"Present only for a comp issued against an invitation allocation (`allocation_id` on the request): what the tickets were charged to. Absent otherwise."},"guest_invitation":{"type":"object","properties":{"benefit_id":{"type":"string","pattern":"^mbn_[0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{12}$"},"membership_id":{"type":"string","pattern":"^mbs_[0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{12}$","description":"The membership that made the inviting member eligible."},"inviter_customer_id":{"type":"string","pattern":"^cus_[0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{12}$","description":"The inviting member, whose allowance was spent. The holder of the tickets is the order's customer, a different role."},"bucket":{"type":"string","description":"The allowance bucket the units were counted in: `event:<event id>`, or the UTC calendar period such as `month:2026-10`."},"usage_id":{"type":"string","pattern":"^ivu_[0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{12}$","description":"The invitation usage that charged the tickets. Give its units back with `POST /v1/invitation_usages/{id}/returns`. Present on fresh order reads and new responses; replays stored before invitation returns omit it."},"units":{"type":"integer","minimum":1,"description":"Ticket units charged: the number of tickets on the order."},"returned_units":{"type":"integer","minimum":0,"description":"Units you have given back of `units` with invitation returns. The engine never gives any back by itself, not even when the tickets are cancelled. Present on fresh order reads and new responses; replays stored before invitation returns omit it."}},"required":["benefit_id","membership_id","inviter_customer_id","bucket","units"],"description":"Present only for tickets issued by `POST /v1/guest_invitations`: who invited, under which benefit and in which allowance bucket. Absent otherwise."}},"required":["type","capacity_override"]},"Position":{"type":"object","properties":{"id":{"type":"string","pattern":"^pos_[0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{12}$"},"order_id":{"type":"string","pattern":"^ord_[0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{12}$"},"customer_id":{"type":"string","pattern":"^cus_[0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{12}$"},"holder_customer_id":{"type":"string","pattern":"^cus_[0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{12}$","description":"The customer who holds the position now, from the same organizer. It starts as the order's customer and changes only through a transfer, an organizer's holder correction or a verified recipient's position claim; forwarding the ticket or its QR code does not change it."},"item_id":{"type":"string","pattern":"^itm_[0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{12}$"},"event_id":{"type":["string","null"],"pattern":"^evt_[0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{12}$"},"description":{"type":"string"},"currency":{"type":"string","pattern":"^[A-Z]{3}$"},"list_price_minor":{"type":"integer","minimum":0},"price_minor":{"type":"integer","minimum":0},"booking_fee_minor":{"type":"integer","minimum":0},"platform_fee_minor":{"type":"integer","minimum":0},"admission_code":{"type":["string","null"]},"status":{"type":"string","enum":["live","revoked"]},"revoked_at":{"type":["string","null"],"format":"date-time"},"revocation_reason":{"type":["string","null"]},"event":{"type":["object","null"],"properties":{"id":{"type":"string","pattern":"^evt_[0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{12}$"},"name":{"type":"string"},"starts_at":{"type":"string","format":"date-time"},"timezone":{"type":"string"},"venue_name":{"type":"string"},"venue_address":{"type":["string","null"]}},"required":["id","name","starts_at","timezone","venue_name","venue_address"]},"created":{"type":"string","format":"date-time"},"metadata":{"type":"object","additionalProperties":{}},"qr_image_url":{"type":["string","null"],"description":"Signed public PNG of the admission code, for an email or a wallet pass. Null for a non-admission or revoked position."}},"required":["id","order_id","customer_id","holder_customer_id","item_id","event_id","description","currency","list_price_minor","price_minor","booking_fee_minor","platform_fee_minor","admission_code","status","revoked_at","revocation_reason","event","created","metadata","qr_image_url"]},"PositionList":{"type":"object","properties":{"data":{"type":"array","items":{"$ref":"#/components/schemas/Position"}},"has_more":{"type":"boolean"}},"required":["data","has_more"]},"CustomerList":{"type":"object","properties":{"data":{"type":"array","items":{"$ref":"#/components/schemas/Customer"}},"has_more":{"type":"boolean"}},"required":["data","has_more"]},"Customer":{"type":"object","properties":{"id":{"type":"string","pattern":"^cus_[0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{12}$"},"email":{"type":["string","null"]},"name":{"type":["string","null"]},"phone":{"type":["string","null"],"default":null},"external_ref":{"type":["string","null"]},"created":{"type":"string","format":"date-time"},"metadata":{"type":"object","additionalProperties":{}},"billing_contact_sync":{"$ref":"#/components/schemas/BillingContactSync"}},"required":["id","email","name","external_ref","created","metadata","billing_contact_sync"]},"BillingContactSync":{"type":"object","properties":{"status":{"type":"string","x-extensible-enum":["not_linked","pending","synced","failed"],"description":"`not_linked`: the engine stores no Stripe Customer for this customer, so there is nothing to update. `pending`: a contact update has not yet reached every linked Stripe Customer; the engine keeps retrying. `synced`: nothing is outstanding for the linked Stripe Customers. `failed`: the latest contact update did not reach every linked Stripe Customer and the engine stopped retrying (retries ran out, Stripe refused the details, or a linked Stripe Customer no longer exists); sending the contact again retries it."},"updated":{"type":["string","null"],"format":"date-time","description":"When the status last changed; null before the first contact update."}},"required":["status","updated"]},"GuestInvitationUsageList":{"type":"object","properties":{"data":{"type":"array","items":{"$ref":"#/components/schemas/GuestInvitationUsage"}},"has_more":{"type":"boolean"}},"required":["data","has_more"]},"GuestInvitationUsage":{"type":"object","properties":{"object":{"type":"string","enum":["guest_invitation_usage"]},"id":{"type":"string","pattern":"^ivu_[0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{12}$"},"benefit_id":{"type":"string","pattern":"^mbn_[0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{12}$"},"membership_id":{"type":"string","pattern":"^mbs_[0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{12}$","description":"The membership that made the member eligible when they invited."},"inviter_customer_id":{"type":"string","pattern":"^cus_[0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{12}$","description":"The member whose allowance was spent."},"event_id":{"type":"string","pattern":"^evt_[0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{12}$"},"order_id":{"type":"string","pattern":"^ord_[0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{12}$","description":"The comp order issued to the guest; its positions are the issued tickets."},"bucket":{"type":"string","description":"The allowance bucket the units were counted in."},"units":{"type":"integer","minimum":1,"description":"Ticket units the invitation took."},"returned_units":{"type":"integer","minimum":0,"description":"Units you have given back of `units` with `POST /v1/invitation_usages/{id}/returns`. What still counts against the allowance is `units` minus `returned_units`."},"created_at":{"type":"string","format":"date-time"}},"required":["object","id","benefit_id","membership_id","inviter_customer_id","event_id","order_id","bucket","units","returned_units","created_at"]},"GuestAllowance":{"type":"object","properties":{"object":{"type":"string","enum":["guest_allowance"]},"benefit_id":{"type":"string","pattern":"^mbn_[0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{12}$"},"membership_id":{"type":"string","pattern":"^mbs_[0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{12}$"},"customer_id":{"type":"string","pattern":"^cus_[0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{12}$","description":"The member whose allowance this is."},"event_id":{"type":["string","null"],"pattern":"^evt_[0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{12}$","description":"The event the bucket was worked out for. Null only for a `per_period` allowance read without one."},"mode":{"type":"string","enum":["per_event","per_period"]},"period":{"type":["string","null"],"enum":["week","month","year",null]},"bucket":{"type":"object","properties":{"key":{"type":"string","description":"`event:<event id>` for `per_event`; the UTC calendar period for `per_period`, such as `week:2026-09-28`, `month:2026-10` or `year:2026`."},"starts_at":{"type":["string","null"],"format":"date-time","description":"Start of the period, inclusive. Null for `per_event`."},"ends_at":{"type":["string","null"],"format":"date-time","description":"End of the period, exclusive: when the allowance starts afresh. Null for `per_event`."}},"required":["key","starts_at","ends_at"],"description":"The allowance bucket the clock and the event put this member in."},"limit_units":{"type":"integer","minimum":1,"description":"The configured allowance in ticket units, in force now."},"used_units":{"type":"integer","minimum":0,"description":"Ticket units this member has invited in the bucket, less the units you returned with `POST /v1/invitation_usages/{id}/returns`. Issued tickets keep counting even if later canceled or transferred: the engine never restores an allowance by itself."},"remaining_units":{"type":"integer","minimum":0,"description":"`limit_units` minus `used_units`, never below zero."}},"required":["object","benefit_id","membership_id","customer_id","event_id","mode","period","bucket","limit_units","used_units","remaining_units"]},"GuestInvitation":{"type":"object","properties":{"object":{"type":"string","enum":["guest_invitation"]},"inviter":{"type":"object","properties":{"membership_id":{"type":"string","pattern":"^mbs_[0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{12}$"},"customer_id":{"type":"string","pattern":"^cus_[0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{12}$"},"benefit_id":{"type":"string","pattern":"^mbn_[0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{12}$"}},"required":["membership_id","customer_id","benefit_id"]},"order":{"allOf":[{"$ref":"#/components/schemas/Order"},{"description":"The ordinary comp order issued to the recipient, with its positions. The recipient is its customer and the holder of every ticket. `issuance.guest_invitation` names the inviter, benefit and allowance bucket."}]},"allowance":{"allOf":[{"$ref":"#/components/schemas/GuestAllowance"},{"description":"The inviting member's allowance in the bucket after this invitation, as of the transaction that issued it."}]}},"required":["object","inviter","order","allowance"]},"InvitationReturn":{"type":"object","properties":{"id":{"type":"string","pattern":"^ivr_[0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{12}$"},"object":{"type":"string","enum":["invitation_return"]},"usage_id":{"type":"string","pattern":"^ivu_[0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{12}$","description":"The invitation usage the units were given back of."},"order_id":{"type":"string","pattern":"^ord_[0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{12}$","description":"The comp order the usage paid for. A return does not change it or its tickets."},"event_id":{"type":"string","pattern":"^evt_[0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{12}$"},"units":{"type":"integer","minimum":1,"description":"Ticket units given back: each budget the usage was charged to can issue this many more."},"created_at":{"type":"string","format":"date-time"},"metadata":{"type":"object","additionalProperties":{}}},"required":["id","object","usage_id","order_id","event_id","units","created_at","metadata"]},"InvitationReturnCreate":{"type":"object","properties":{"units":{"type":"integer","minimum":1,"description":"Ticket units to give back. Omit it to give back every unit of the usage not yet returned. More than is left is refused with `invitation_return_exceeds_remaining`."},"metadata":{"type":"object","additionalProperties":{}}}},"PositionTransferCreate":{"type":"object","properties":{"acting_customer":{"type":"object","properties":{"id":{"type":"string","pattern":"^cus_[0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{12}$"},"external_ref":{"type":"string","minLength":1,"maxLength":255}},"description":"The customer making the transfer, as your own authentication vouches for them: the engine customer id or your external_ref. It must be the position's current holder. An email is not accepted here; it is not proof of who is acting."},"destination":{"type":"object","properties":{"id":{"type":"string","pattern":"^cus_[0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{12}$","description":"An existing customer of this organizer."},"external_ref":{"type":"string","minLength":1,"maxLength":255,"description":"Your reference for an existing customer of this organizer. It must already exist; it is never created here."},"email":{"type":"string","maxLength":320,"format":"email","description":"A recipient you cannot vouch for. Finds or creates the organizer's anonymous customer for this address; a customer carrying an external_ref is never chosen by email. Once you have signed the recipient in and verified the address, `POST /v1/position_claims` gives them what it holds."},"name":{"type":"string","minLength":1,"maxLength":200,"description":"The recipient's name, used only when the email creates a new customer."}},"description":"Who will hold the position."}},"required":["acting_customer","destination"]},"PositionHolderCorrectionCreate":{"type":"object","properties":{"destination":{"type":"object","properties":{"id":{"type":"string","pattern":"^cus_[0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{12}$","description":"An existing customer of this organizer."},"external_ref":{"type":"string","minLength":1,"maxLength":255,"description":"Your reference for an existing customer of this organizer. It must already exist; it is never created here."},"email":{"type":"string","maxLength":320,"format":"email","description":"A recipient you cannot vouch for. Finds or creates the organizer's anonymous customer for this address; a customer carrying an external_ref is never chosen by email. Once you have signed the recipient in and verified the address, `POST /v1/position_claims` gives them what it holds."},"name":{"type":"string","minLength":1,"maxLength":200,"description":"The recipient's name, used only when the email creates a new customer."}},"description":"Who will hold the position."},"reason":{"type":"string","minLength":1,"maxLength":500,"description":"Why the organizer is correcting the holder. Recorded on the holder change and in the activity."}},"required":["destination","reason"]},"PositionClaim":{"type":"object","properties":{"object":{"type":"string","enum":["position_claim"]},"customer_id":{"type":"string","pattern":"^cus_[0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{12}$","description":"The customer that holds the claimed positions now."},"anonymous_customer_id":{"type":"string","pattern":"^cus_[0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{12}$","description":"The anonymous customer the positions were sent to. Equal to `customer_id` when that customer took your reference."},"positions":{"type":"array","items":{"$ref":"#/components/schemas/Position"},"description":"Every position the claim gave the customer, revoked ones excluded. Admitted positions are included."}},"required":["object","customer_id","anonymous_customer_id","positions"]},"PositionClaimCreate":{"type":"object","properties":{"external_ref":{"type":"string","minLength":1,"maxLength":255,"description":"Your reference for the customer you have signed in. When no customer of this organizer carries it yet, the anonymous customer for `email` takes it."},"email":{"type":"string","maxLength":320,"format":"email","description":"An address your own authentication has verified belongs to that customer. Never pass an address the customer only typed, or one a sender typed."}},"required":["external_ref","email"]},"PositionHolderChangeList":{"type":"object","properties":{"data":{"type":"array","items":{"$ref":"#/components/schemas/PositionHolderChange"}},"has_more":{"type":"boolean"}},"required":["data","has_more"]},"PositionHolderChange":{"type":"object","properties":{"id":{"type":"string","pattern":"^phc_[0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{12}$"},"kind":{"type":"string","enum":["transfer","correction","claim"],"x-extensible-enum":["transfer","correction","claim"],"description":"`transfer` when the holder passed the position on; `correction` when the organizer overrode the holder; `claim` when a verified recipient claimed what was sent to their address."},"from_customer_id":{"type":"string","pattern":"^cus_[0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{12}$"},"to_customer_id":{"type":"string","pattern":"^cus_[0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{12}$"},"reason":{"type":["string","null"]},"effective_at":{"type":"string","format":"date-time"},"object":{"type":"string","enum":["position_holder_change"]},"position_id":{"type":"string","pattern":"^pos_[0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{12}$"},"actor":{"type":"object","properties":{"kind":{"type":"string"},"id":{"type":"string"}},"required":["kind","id"],"description":"Who made the change: the API key for a transfer or a claim; for a correction, the API key or the organizer owner or Lissen staff member signed in."},"request_id":{"type":["string","null"]}},"required":["id","kind","from_customer_id","to_customer_id","reason","effective_at","object","position_id","actor","request_id"]},"AttendanceList":{"type":"object","properties":{"data":{"type":"array","items":{"$ref":"#/components/schemas/Attendance"}},"has_more":{"type":"boolean"}},"required":["data","has_more"]},"Attendance":{"type":"object","properties":{"object":{"type":"string","enum":["attendance"]},"customer_id":{"type":"string","pattern":"^cus_[0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{12}$"},"event_id":{"type":"string","pattern":"^evt_[0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{12}$"},"first_admitted_at":{"type":"string","format":"date-time","description":"The earliest scan among the admissions that support the visit."},"checkin_ids":{"type":"array","items":{"type":"string","pattern":"^chk_[0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{12}$"},"minItems":1,"description":"Every admitted check-in supporting the visit, earliest scan first. Voiding all of them removes the visit."}},"required":["object","customer_id","event_id","first_admitted_at","checkin_ids"]},"CheckinCreditCorrectionCreate":{"type":"object","properties":{"customer":{"type":"object","properties":{"id":{"type":"string","pattern":"^cus_[0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{12}$","description":"An existing customer of this organizer."},"external_ref":{"type":"string","minLength":1,"maxLength":255,"description":"Your reference for an existing customer of this organizer. It must already exist; it is never created here."},"email":{"type":"string","maxLength":320,"format":"email","description":"A recipient you cannot vouch for. Finds or creates the organizer's anonymous customer for this address; a customer carrying an external_ref is never chosen by email. Once you have signed the recipient in and verified the address, `POST /v1/position_claims` gives them what it holds."},"name":{"type":"string","minLength":1,"maxLength":200,"description":"The recipient's name, used only when the email creates a new customer."}},"description":"The customer the admission should credit: an existing customer by `id` or `external_ref`, or an address, which finds or creates the organizer's anonymous customer for it."},"reason":{"type":"string","minLength":1,"maxLength":500,"description":"Why the organizer is correcting the credit. Recorded on the credit change and in the activity."}},"required":["customer","reason"]},"WaitlistEntry":{"type":"object","properties":{"id":{"type":"string","pattern":"^wl_[0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{12}$"},"object":{"type":"string","enum":["waitlist_entry"]},"item_id":{"type":"string","pattern":"^itm_[0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{12}$"},"event_id":{"type":["string","null"],"pattern":"^evt_[0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{12}$"},"name":{"type":["string","null"]},"email":{"type":"string"},"phone":{"type":["string","null"],"default":null},"quantity":{"type":"integer","exclusiveMinimum":0,"default":1},"requires_approval":{"type":"boolean","default":false},"status":{"type":"string","enum":["waiting","invited","converted","lapsed","rejected"]},"promoted_at":{"type":["string","null"],"format":"date-time"},"closed_at":{"type":["string","null"],"format":"date-time","default":null},"invitation_expires_at":{"type":["string","null"],"format":"date-time"},"checkout_session_id":{"type":["string","null"],"pattern":"^cs_[0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{12}$"},"checkout_url":{"type":["string","null"],"format":"uri"},"event":{"type":["object","null"],"properties":{"id":{"type":"string","pattern":"^evt_[0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{12}$"},"name":{"type":"string"},"starts_at":{"type":"string","format":"date-time"},"venue_name":{"type":"string"}},"required":["id","name","starts_at","venue_name"]},"customer_external_ref":{"type":["string","null"],"default":null},"created_at":{"type":"string","format":"date-time"},"metadata":{"type":"object","additionalProperties":{}}},"required":["id","object","item_id","event_id","name","email","status","promoted_at","invitation_expires_at","checkout_session_id","checkout_url","event","created_at","metadata"]},"WaitlistEntryList":{"type":"object","properties":{"data":{"type":"array","items":{"$ref":"#/components/schemas/WaitlistEntry"}},"has_more":{"type":"boolean"}},"required":["data","has_more"]},"Refund":{"type":"object","properties":{"id":{"type":"string","pattern":"^rfd_[0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{12}$"},"object":{"type":"string","enum":["refund"]},"order_id":{"type":["string","null"],"pattern":"^ord_[0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{12}$","description":"The order a ticket refund returns money for. Null for a refund of a membership payment, which names `membership_charge_id` instead."},"membership_id":{"type":["string","null"],"pattern":"^mbs_[0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{12}$","description":"The membership whose payment a membership refund returns money for. Null for a ticket refund."},"membership_charge_id":{"type":["string","null"],"pattern":"^mch_[0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{12}$","description":"The membership charge a membership refund returns money against. Null for a ticket refund. A membership refund is always `money_only`: it never cancels or pauses the membership, revokes a position or changes its renewal."},"status":{"type":"string","enum":["processing","completed","failed"]},"type":{"type":"string","description":"`refund_and_revoke` returns each position's remaining refundable amount and revokes it: the ticket no longer admits. `money_only` returns `amount_minor` against the positions and leaves them live: same ticket, same holder, same capacity.","x-extensible-enum":["refund_and_revoke","money_only"]},"amount_minor":{"type":"integer","minimum":0},"fee_refund_minor":{"type":"integer","minimum":0},"currency":{"type":"string","pattern":"^[A-Z]{3}$"},"external":{"type":"boolean"},"reason":{"type":"string","enum":["requested_by_customer","duplicate","fraudulent"]},"failure_reason":{"type":["string","null"]},"position_ids":{"type":"array","items":{"type":"string","pattern":"^pos_[0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{12}$"}},"psp_refs":{"type":"object","additionalProperties":{}},"created":{"type":"string","format":"date-time"},"metadata":{"type":"object","additionalProperties":{}}},"required":["id","object","order_id","membership_id","membership_charge_id","status","type","amount_minor","fee_refund_minor","currency","external","reason","failure_reason","position_ids","psp_refs","created","metadata"]},"RefundList":{"type":"object","properties":{"data":{"type":"array","items":{"$ref":"#/components/schemas/Refund"}},"has_more":{"type":"boolean"}},"required":["data","has_more"]},"MembershipChargeList":{"type":"object","properties":{"data":{"type":"array","items":{"$ref":"#/components/schemas/MembershipCharge"}},"has_more":{"type":"boolean"}},"required":["data","has_more"]},"MembershipCharge":{"type":"object","properties":{"id":{"type":"string","pattern":"^mch_[0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{12}$"},"object":{"type":"string","enum":["membership_charge"]},"membership_id":{"type":"string","pattern":"^mbs_[0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{12}$"},"currency":{"type":"string","pattern":"^[A-Z]{3}$"},"amount_minor":{"type":"integer","exclusiveMinimum":0,"description":"The invoice amount paid, in minor units."},"application_fee_minor":{"type":"integer","minimum":0,"description":"The platform fee taken on the payment."},"tax_minor":{"type":"integer","minimum":0,"description":"The tax included in `amount_minor`, from the invoice Stripe Tax calculated: VAT when the organizer charges tax on memberships (`membership_tax`), otherwise 0."},"amount_refunded_minor":{"type":"integer","minimum":0,"description":"Money returned by completed refunds of this charge, including Dashboard refunds reconciled from Stripe."},"amount_refundable_minor":{"type":"integer","minimum":0,"description":"What a new refund can still return: the amount paid less completed and processing refunds. Zero when the charge carries no payment reference."},"refundable":{"type":"boolean","description":"True when a refund can be requested now: the charge has a payment reference and money is left."},"psp_refs":{"type":"object","additionalProperties":{}},"created":{"type":"string","format":"date-time"}},"required":["id","object","membership_id","currency","amount_minor","application_fee_minor","tax_minor","amount_refunded_minor","amount_refundable_minor","refundable","psp_refs","created"]},"DisputeList":{"type":"object","properties":{"data":{"type":"array","items":{"$ref":"#/components/schemas/Dispute"}},"has_more":{"type":"boolean"}},"required":["data","has_more"]},"Dispute":{"type":"object","properties":{"id":{"type":"string","pattern":"^dsp_[0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{12}$"},"object":{"type":"string","enum":["dispute"]},"order_id":{"type":"string","pattern":"^ord_[0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{12}$"},"status":{"type":"string","enum":["open","won","lost"]},"amount_minor":{"type":"integer","minimum":0},"currency":{"type":"string","pattern":"^[A-Z]{3}$"},"reason":{"type":["string","null"]},"evidence_due_by":{"type":["string","null"],"format":"date-time"},"psp_refs":{"type":"object","additionalProperties":{}},"created":{"type":"string","format":"date-time"},"metadata":{"type":"object","additionalProperties":{}}},"required":["id","object","order_id","status","amount_minor","currency","reason","evidence_due_by","psp_refs","created","metadata"]},"LedgerEntryList":{"type":"object","properties":{"data":{"type":"array","items":{"$ref":"#/components/schemas/LedgerEntry"}},"has_more":{"type":"boolean"}},"required":["data","has_more"]},"LedgerEntry":{"type":"object","properties":{"id":{"type":"string","pattern":"^led_[0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{12}$"},"object":{"type":"string","enum":["ledger_entry"]},"entry_type":{"type":"string","enum":["ticket_sale","membership_charge","refund","platform_fee","platform_fee_refund","dispute_debit","dispute_reversal","dispute_fee"]},"amount_minor":{"type":"integer","exclusiveMinimum":0},"currency":{"type":"string","pattern":"^[A-Z]{3}$"},"order_id":{"type":["string","null"],"pattern":"^ord_[0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{12}$"},"position_ids":{"type":"array","items":{"type":"string","pattern":"^pos_[0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{12}$"}},"psp_refs":{"type":"object","additionalProperties":{}},"created":{"type":"string","format":"date-time"}},"required":["id","object","entry_type","amount_minor","currency","order_id","position_ids","psp_refs","created"]},"NotificationProvider":{"type":"object","properties":{"id":{"type":"string","pattern":"^np_[0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{12}$"},"kind":{"type":"string","enum":["customerio"]},"credentials_configured":{"type":"boolean","description":"Whether credentials are stored. The credentials themselves are write-only and are never returned."},"messages":{"$ref":"#/components/schemas/NotificationMessages"},"metadata":{"type":"object","additionalProperties":{}}},"required":["id","kind","credentials_configured","messages","metadata"]},"NotificationMessages":{"type":"object","properties":{"order_confirmation":{"$ref":"#/components/schemas/NotificationMessageWiring"},"payment_failure_followup":{"$ref":"#/components/schemas/NotificationMessageWiring"},"waitlist_invitation":{"$ref":"#/components/schemas/NotificationMessageWiring"},"refund_confirmation":{"$ref":"#/components/schemas/NotificationMessageWiring"},"waitlist_joined":{"$ref":"#/components/schemas/NotificationMessageWiring"},"waitlist_rejected":{"$ref":"#/components/schemas/NotificationMessageWiring"},"event_cancelled":{"$ref":"#/components/schemas/NotificationMessageWiring"}}},"NotificationMessageWiring":{"type":"object","properties":{"enabled":{"type":"boolean","description":"Disabled is identical to unmapped: the message is silent. There is no separate suppression concept."},"provider_message_ref":{"type":"string","minLength":1,"maxLength":200,"description":"Opaque provider-side template/transactional-message identifier. The engine never validates it; a typo surfaces as a provider delivery error in the attempt log."},"enabled_at":{"type":"string","format":"date-time","description":"When this message type was last switched on. Engine-managed and read-only. Activities created before it are never sent, so enabling a message type does not retro-mail the scan window."}},"required":["enabled","provider_message_ref"]},"NotificationProviderCredentials":{"type":"object","properties":{"app_api_key":{"type":"string","minLength":1,"maxLength":500,"description":"Customer.io App API key for the organizer's OWN workspace. Write-only: it is never returned by any endpoint."},"region":{"type":"string","enum":["eu","us"],"description":"Customer.io workspace region. Defaults to eu."}},"required":["app_api_key"],"additionalProperties":false,"writeOnly":true},"NotificationMessagesInput":{"type":"object","properties":{"order_confirmation":{"$ref":"#/components/schemas/NotificationMessageWiringInput"},"payment_failure_followup":{"$ref":"#/components/schemas/NotificationMessageWiringInput"},"waitlist_invitation":{"$ref":"#/components/schemas/NotificationMessageWiringInput"},"refund_confirmation":{"$ref":"#/components/schemas/NotificationMessageWiringInput"},"waitlist_joined":{"$ref":"#/components/schemas/NotificationMessageWiringInput"},"waitlist_rejected":{"$ref":"#/components/schemas/NotificationMessageWiringInput"},"event_cancelled":{"$ref":"#/components/schemas/NotificationMessageWiringInput"}},"additionalProperties":false},"NotificationMessageWiringInput":{"type":"object","properties":{"enabled":{"type":"boolean","description":"Disabled is identical to unmapped: the message is silent. There is no separate suppression concept."},"provider_message_ref":{"type":"string","minLength":1,"maxLength":200,"description":"Opaque provider-side template/transactional-message identifier. The engine never validates it; a typo surfaces as a provider delivery error in the attempt log."}},"required":["enabled","provider_message_ref"],"additionalProperties":false},"ActivityNotificationList":{"type":"object","properties":{"data":{"type":"array","items":{"$ref":"#/components/schemas/ActivityNotification"}}},"required":["data"]},"ActivityNotification":{"type":"object","properties":{"message_type":{"type":"string","enum":["order_confirmation","payment_failure_followup","waitlist_invitation","refund_confirmation","waitlist_joined","waitlist_rejected","event_cancelled"]},"eligible":{"type":"boolean","description":"Whether the engine sends this message for this activity: the message type is wired on the organizer's notification provider, and the activity was created at or after both the connection and the type's `enabled_at`. The six-hour give-up horizon and the trigger's own condition (a revocation that was not a payment failure, a refund of a membership payment) are checked when the engine plans and sends, not here. Once false for an activity it stays false: switching the type on again stamps a later `enabled_at`."},"state":{"type":"string","enum":["none","in_flight","settled"],"description":"`settled` once the attempt log has a terminal outcome; `in_flight` while a send holds its claim, from just before the provider call until the outcome is recorded; otherwise `none`: never tried, or the provider refused the last try and the engine may try again. An eligible message reads `none` until the engine plans it, within about a minute of the activity."},"outcome":{"type":["string","null"],"enum":["sent","permanent_failure","gave_up","ambiguous","suppressed_nonprod",null],"x-extensible-enum":["sent","permanent_failure","gave_up","ambiguous","suppressed_nonprod"],"description":"The terminal outcome once `settled`, otherwise null: `sent`, `permanent_failure` (rejected, or a required field was missing), `gave_up` (the six-hour horizon passed), `ambiguous` (the provider may have taken it but no answer was recorded, so it is never sent again) or `suppressed_nonprod` (a non-production deployment may not mail that address)."},"sender":{"type":["string","null"],"enum":["engine","organizer",null],"x-extensible-enum":["engine","organizer"],"description":"Who holds the claim while `in_flight`, or recorded the outcome once `settled`: `engine`, the notification sink, or `organizer`, your own sender, which claims through `POST /v1/activities/{id}/notifications/claim`. Null while `none`."}},"required":["message_type","eligible","state","outcome","sender"]},"NotificationSendClaim":{"type":"object","properties":{"message_type":{"type":"string","enum":["order_confirmation","payment_failure_followup","waitlist_invitation","refund_confirmation","waitlist_joined","waitlist_rejected","event_cancelled"]},"status":{"type":"string","enum":["claimed","in_flight","settled"],"description":"`claimed`: the send is yours. Call your provider, then settle the claim with `claim_id`. `in_flight`: `sender` holds a claim on it; do not send it. `settled`: it is finished with `outcome`; do not send it."},"claim_id":{"type":["string","null"],"description":"Your claim when `status` is `claimed`, otherwise null. Opaque: pass it back to settle the claim."},"sender":{"type":"string","enum":["engine","organizer"],"x-extensible-enum":["engine","organizer"],"description":"Who holds the claim (`claimed`, `in_flight`) or recorded the outcome (`settled`): `organizer`, your own sender, or `engine`, the notification sink."},"outcome":{"type":["string","null"],"enum":["sent","permanent_failure","gave_up","ambiguous","suppressed_nonprod",null],"x-extensible-enum":["sent","permanent_failure","gave_up","ambiguous","suppressed_nonprod"],"description":"The terminal outcome once `settled`, otherwise null: `sent`, `permanent_failure` (rejected, or a required field was missing), `gave_up` (the six-hour horizon passed), `ambiguous` (the provider may have taken it but no answer was recorded, so it is never sent again) or `suppressed_nonprod` (a non-production deployment may not mail that address)."}},"required":["message_type","status","claim_id","sender","outcome"]},"NotificationSendClaimRequest":{"type":"object","properties":{"message_type":{"type":"string","enum":["order_confirmation","payment_failure_followup","waitlist_invitation","refund_confirmation","waitlist_joined","waitlist_rejected","event_cancelled"],"description":"The message to send: one the activity's type triggers."}},"required":["message_type"]},"NotificationSendSettlement":{"type":"object","properties":{"message_type":{"type":"string","enum":["order_confirmation","payment_failure_followup","waitlist_invitation","refund_confirmation","waitlist_joined","waitlist_rejected","event_cancelled"],"description":"The message the claim is on."},"claim_id":{"type":"string","pattern":"^[1-9][0-9]{0,14}$","description":"The `claim_id` the claim answered."},"result":{"type":"string","enum":["sent","released","ambiguous"],"description":"`sent`: the provider accepted the message. `released`: it definitely did not (it refused the request, or the connection never opened), so the claim is given back and a later claim may send it. `ambiguous`: whether it did is unknown (a timeout, a server error, an answer without a delivery id). It is recorded as such and never sent again by either sender."},"provider_message_id":{"type":"string","minLength":1,"maxLength":255,"description":"With `sent` only: the provider's id for the delivery, kept with the outcome."}},"required":["message_type","claim_id","result"]},"EntitlementProviderList":{"type":"object","properties":{"data":{"type":"array","items":{"$ref":"#/components/schemas/EntitlementProvider"}},"has_more":{"type":"boolean"}},"required":["data","has_more"]},"EntitlementProvider":{"type":"object","properties":{"id":{"type":"string","pattern":"^ep_[0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{12}$"},"kind":{"type":"string","enum":["external"]},"quote_url":{"type":"string","maxLength":2048,"format":"uri","description":"Where the engine asks the provider for price effects on a cart."},"commit_url":{"type":["string","null"],"maxLength":2048,"format":"uri","description":"Where the engine commits a consumable effect at issuance. Null for a provider that never returns one."},"signing_secret_configured":{"type":"boolean","description":"Whether a signing secret is stored. The secret itself is write-only and is never returned."},"status":{"type":"string","enum":["active","disabled"],"description":"A disabled provider is never called. Active is the consent to call it."},"metadata":{"type":"object","additionalProperties":{}},"created":{"type":"string","format":"date-time"},"updated":{"type":"string","format":"date-time"}},"required":["id","kind","quote_url","commit_url","signing_secret_configured","status","metadata","created","updated"]},"EntitlementProviderCreate":{"type":"object","properties":{"kind":{"type":"string","enum":["external"]},"quote_url":{"type":"string","maxLength":2048,"format":"uri"},"commit_url":{"type":["string","null"],"maxLength":2048,"format":"uri"},"signing_secret":{"type":"string","minLength":32,"maxLength":256,"description":"The key the engine signs its callbacks to this provider with. Write-only: choose a random value of at least 32 characters, keep a copy for verifying signatures, and replace it here to rotate. It is stored encrypted and never returned.","writeOnly":true},"metadata":{"type":"object","additionalProperties":{}}},"required":["quote_url","signing_secret"]},"WebhookEndpointList":{"type":"object","properties":{"data":{"type":"array","items":{"$ref":"#/components/schemas/WebhookEndpoint"}},"has_more":{"type":"boolean"}},"required":["data","has_more"]},"WebhookEndpoint":{"type":"object","properties":{"id":{"type":"string","pattern":"^we_[0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{12}$"},"url":{"type":"string","format":"uri"},"enabled_types":{"type":"array","items":{"type":"string"}},"status":{"type":"string","enum":["enabled","disabled"]},"metadata":{"type":"object","additionalProperties":{}},"created":{"type":"string","format":"date-time"},"updated":{"type":"string","format":"date-time"}},"required":["id","url","enabled_types","status","metadata","created","updated"]},"WebhookEndpointCreated":{"allOf":[{"$ref":"#/components/schemas/WebhookEndpoint"},{"type":"object","properties":{"secret":{"type":"string","minLength":1,"description":"Signing secret shown once. Store it before continuing."}},"required":["secret"]}]},"ConnectOnboardingLink":{"type":"object","properties":{"url":{"type":"string","format":"uri"},"expires_at":{"type":"string","format":"date-time"},"psp_account_ref":{"type":"string"}},"required":["url","expires_at","psp_account_ref"]},"ConnectAuthorization":{"type":"object","properties":{"url":{"type":"string","format":"uri"},"expires_at":{"type":"string","format":"date-time"}},"required":["url","expires_at"]},"ActivityList":{"type":"object","properties":{"data":{"type":"array","items":{"$ref":"#/components/schemas/Activity"}},"has_more":{"type":"boolean"}},"required":["data","has_more"]},"Activity":{"type":"object","properties":{"id":{"type":"string","pattern":"^act_[0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{12}$"},"type":{"type":"string"},"created":{"type":"string","format":"date-time"},"organizer_id":{"type":["string","null"],"pattern":"^org_[0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{12}$"},"actor":{"type":"object","properties":{"kind":{"type":"string","enum":["api_key","door_pass","staff","system","psp_webhook","member"]},"id":{"type":"string"}},"required":["kind","id"]},"request_id":{"type":["string","null"],"format":"uuid"},"livemode":{"type":"boolean"},"data":{"type":"object","properties":{"object":{"type":"object","additionalProperties":{}},"previous_attributes":{"type":"object","additionalProperties":{}},"redacted":{"type":"boolean","enum":[true]}},"required":["object"]}},"required":["id","type","created","organizer_id","actor","request_id","livemode","data"]}},"parameters":{}},"paths":{"/v1/events":{"get":{"tags":["Events"],"summary":"List events","security":[{"bearerAuth":[]}],"parameters":[{"schema":{"type":"integer","minimum":1,"maximum":100,"default":20},"required":false,"name":"limit","in":"query"},{"schema":{"type":"string"},"required":false,"name":"starting_after","in":"query"},{"schema":{"type":"string"},"required":false,"name":"ending_before","in":"query"},{"schema":{"type":"string","pattern":"^org_[0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{12}$","description":"Required organizer tenant id. There is intentionally no default, even for single-grant keys.","example":"org_0199c4e2-1f7a-7c31-8d44-2b9f6a1e05c7"},"required":true,"description":"Required organizer tenant id. There is intentionally no default, even for single-grant keys.","name":"Ticketing-Organizer","in":"header"}],"responses":{"200":{"description":"A keyset page of events.","headers":{"Request-Id":{"description":"Identifier for this API request.","schema":{"type":"string","format":"uuid"}}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/EventList"}}}},"400":{"description":"Invalid request","headers":{"Request-Id":{"description":"Identifier for this API request.","schema":{"type":"string","format":"uuid"}}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorEnvelope"}}}},"401":{"description":"Authentication failed","headers":{"Request-Id":{"description":"Identifier for this API request.","schema":{"type":"string","format":"uuid"}}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorEnvelope"}}}},"403":{"description":"Organizer grant required","headers":{"Request-Id":{"description":"Identifier for this API request.","schema":{"type":"string","format":"uuid"}}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorEnvelope"}}}},"404":{"description":"Resource not found","headers":{"Request-Id":{"description":"Identifier for this API request.","schema":{"type":"string","format":"uuid"}}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorEnvelope"}}}},"409":{"description":"Idempotency conflict","headers":{"Request-Id":{"description":"Identifier for this API request.","schema":{"type":"string","format":"uuid"}}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorEnvelope"}}}},"422":{"description":"Request is semantically invalid","headers":{"Request-Id":{"description":"Identifier for this API request.","schema":{"type":"string","format":"uuid"}}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorEnvelope"}}}},"429":{"description":"Rate limited","headers":{"Request-Id":{"description":"Identifier for this API request.","schema":{"type":"string","format":"uuid"}}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorEnvelope"}}}},"500":{"description":"Internal failure","headers":{"Request-Id":{"description":"Identifier for this API request.","schema":{"type":"string","format":"uuid"}}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorEnvelope"}}}},"503":{"description":"A dependency is unavailable. `live_payments_not_configured` means the platform operator must complete live Stripe credential setup before retrying; no Stripe request is made for that refusal. On checkout creation, no session or capacity hold is created either. Other transient dependency failures may be retried.","headers":{"Request-Id":{"description":"Identifier for this API request.","schema":{"type":"string","format":"uuid"}}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorEnvelope"}}}}}},"post":{"tags":["Events"],"summary":"Create a event","security":[{"bearerAuth":[]}],"parameters":[{"schema":{"type":"string","pattern":"^org_[0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{12}$","description":"Required organizer tenant id. There is intentionally no default, even for single-grant keys.","example":"org_0199c4e2-1f7a-7c31-8d44-2b9f6a1e05c7"},"required":true,"description":"Required organizer tenant id. There is intentionally no default, even for single-grant keys.","name":"Ticketing-Organizer","in":"header"},{"schema":{"type":"string","minLength":1,"description":"Required replay key for this create operation."},"required":true,"description":"Required replay key for this create operation.","name":"Idempotency-Key","in":"header"}],"requestBody":{"content":{"application/json":{"schema":{"type":"object","properties":{"name":{"type":"string","minLength":1},"starts_at":{"type":"string","format":"date-time"},"ends_at":{"type":["string","null"],"format":"date-time"},"timezone":{"type":"string"},"venue_name":{"type":"string","minLength":1},"venue_address":{"type":["string","null"]},"metadata":{"type":"object","additionalProperties":{}},"min_tickets_per_order":{"type":["integer","null"],"minimum":1,"maximum":2147483647},"max_tickets_per_order":{"type":["integer","null"],"minimum":1,"maximum":2147483647},"max_tickets_per_customer":{"type":["integer","null"],"minimum":1,"maximum":2147483647}},"required":["name","starts_at","timezone","venue_name"]}}}},"responses":{"201":{"description":"The created event.","headers":{"Request-Id":{"description":"Identifier for this API request.","schema":{"type":"string","format":"uuid"}}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Event"}}}},"400":{"description":"Invalid request","headers":{"Request-Id":{"description":"Identifier for this API request.","schema":{"type":"string","format":"uuid"}}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorEnvelope"}}}},"401":{"description":"Authentication failed","headers":{"Request-Id":{"description":"Identifier for this API request.","schema":{"type":"string","format":"uuid"}}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorEnvelope"}}}},"403":{"description":"Organizer grant required","headers":{"Request-Id":{"description":"Identifier for this API request.","schema":{"type":"string","format":"uuid"}}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorEnvelope"}}}},"404":{"description":"Resource not found","headers":{"Request-Id":{"description":"Identifier for this API request.","schema":{"type":"string","format":"uuid"}}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorEnvelope"}}}},"409":{"description":"Idempotency conflict","headers":{"Request-Id":{"description":"Identifier for this API request.","schema":{"type":"string","format":"uuid"}}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorEnvelope"}}}},"422":{"description":"Request is semantically invalid","headers":{"Request-Id":{"description":"Identifier for this API request.","schema":{"type":"string","format":"uuid"}}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorEnvelope"}}}},"429":{"description":"Rate limited","headers":{"Request-Id":{"description":"Identifier for this API request.","schema":{"type":"string","format":"uuid"}}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorEnvelope"}}}},"500":{"description":"Internal failure","headers":{"Request-Id":{"description":"Identifier for this API request.","schema":{"type":"string","format":"uuid"}}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorEnvelope"}}}},"503":{"description":"A dependency is unavailable. `live_payments_not_configured` means the platform operator must complete live Stripe credential setup before retrying; no Stripe request is made for that refusal. On checkout creation, no session or capacity hold is created either. Other transient dependency failures may be retried.","headers":{"Request-Id":{"description":"Identifier for this API request.","schema":{"type":"string","format":"uuid"}}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorEnvelope"}}}}}}},"/v1/events/{id}":{"get":{"tags":["Events"],"summary":"Retrieve a event","security":[{"bearerAuth":[]}],"parameters":[{"schema":{"type":"string","pattern":"^evt_[0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{12}$","example":"evt_0199c4e5-2b10-7f44-8a91-3c7d0e5f8a22"},"required":true,"name":"id","in":"path"},{"schema":{"type":"string","pattern":"^org_[0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{12}$","description":"Required organizer tenant id. There is intentionally no default, even for single-grant keys.","example":"org_0199c4e2-1f7a-7c31-8d44-2b9f6a1e05c7"},"required":true,"description":"Required organizer tenant id. There is intentionally no default, even for single-grant keys.","name":"Ticketing-Organizer","in":"header"}],"responses":{"200":{"description":"The event.","headers":{"Request-Id":{"description":"Identifier for this API request.","schema":{"type":"string","format":"uuid"}}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Event"}}}},"400":{"description":"Invalid request","headers":{"Request-Id":{"description":"Identifier for this API request.","schema":{"type":"string","format":"uuid"}}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorEnvelope"}}}},"401":{"description":"Authentication failed","headers":{"Request-Id":{"description":"Identifier for this API request.","schema":{"type":"string","format":"uuid"}}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorEnvelope"}}}},"403":{"description":"Organizer grant required","headers":{"Request-Id":{"description":"Identifier for this API request.","schema":{"type":"string","format":"uuid"}}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorEnvelope"}}}},"404":{"description":"Resource not found","headers":{"Request-Id":{"description":"Identifier for this API request.","schema":{"type":"string","format":"uuid"}}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorEnvelope"}}}},"409":{"description":"Idempotency conflict","headers":{"Request-Id":{"description":"Identifier for this API request.","schema":{"type":"string","format":"uuid"}}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorEnvelope"}}}},"422":{"description":"Request is semantically invalid","headers":{"Request-Id":{"description":"Identifier for this API request.","schema":{"type":"string","format":"uuid"}}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorEnvelope"}}}},"429":{"description":"Rate limited","headers":{"Request-Id":{"description":"Identifier for this API request.","schema":{"type":"string","format":"uuid"}}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorEnvelope"}}}},"500":{"description":"Internal failure","headers":{"Request-Id":{"description":"Identifier for this API request.","schema":{"type":"string","format":"uuid"}}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorEnvelope"}}}},"503":{"description":"A dependency is unavailable. `live_payments_not_configured` means the platform operator must complete live Stripe credential setup before retrying; no Stripe request is made for that refusal. On checkout creation, no session or capacity hold is created either. Other transient dependency failures may be retried.","headers":{"Request-Id":{"description":"Identifier for this API request.","schema":{"type":"string","format":"uuid"}}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorEnvelope"}}}}}},"patch":{"tags":["Events"],"summary":"Update a event","security":[{"bearerAuth":[]}],"parameters":[{"schema":{"type":"string","pattern":"^evt_[0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{12}$","example":"evt_0199c4e5-2b10-7f44-8a91-3c7d0e5f8a22"},"required":true,"name":"id","in":"path"},{"schema":{"type":"string","pattern":"^org_[0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{12}$","description":"Required organizer tenant id. There is intentionally no default, even for single-grant keys.","example":"org_0199c4e2-1f7a-7c31-8d44-2b9f6a1e05c7"},"required":true,"description":"Required organizer tenant id. There is intentionally no default, even for single-grant keys.","name":"Ticketing-Organizer","in":"header"},{"schema":{"type":"string","minLength":1,"description":"Optional replay key for this update operation."},"required":false,"description":"Optional replay key for this update operation.","name":"Idempotency-Key","in":"header"}],"requestBody":{"content":{"application/json":{"schema":{"type":"object","properties":{"name":{"type":"string","minLength":1},"starts_at":{"type":"string","format":"date-time"},"ends_at":{"type":["string","null"],"format":"date-time"},"timezone":{"type":"string"},"venue_name":{"type":"string","minLength":1},"venue_address":{"type":["string","null"]},"metadata":{"type":"object","additionalProperties":{}},"min_tickets_per_order":{"type":["integer","null"],"minimum":1,"maximum":2147483647},"max_tickets_per_order":{"type":["integer","null"],"minimum":1,"maximum":2147483647},"max_tickets_per_customer":{"type":["integer","null"],"minimum":1,"maximum":2147483647}},"minProperties":1}}}},"responses":{"200":{"description":"The updated event.","headers":{"Request-Id":{"description":"Identifier for this API request.","schema":{"type":"string","format":"uuid"}}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Event"}}}},"400":{"description":"Invalid request","headers":{"Request-Id":{"description":"Identifier for this API request.","schema":{"type":"string","format":"uuid"}}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorEnvelope"}}}},"401":{"description":"Authentication failed","headers":{"Request-Id":{"description":"Identifier for this API request.","schema":{"type":"string","format":"uuid"}}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorEnvelope"}}}},"403":{"description":"Organizer grant required","headers":{"Request-Id":{"description":"Identifier for this API request.","schema":{"type":"string","format":"uuid"}}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorEnvelope"}}}},"404":{"description":"Resource not found","headers":{"Request-Id":{"description":"Identifier for this API request.","schema":{"type":"string","format":"uuid"}}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorEnvelope"}}}},"409":{"description":"Idempotency conflict","headers":{"Request-Id":{"description":"Identifier for this API request.","schema":{"type":"string","format":"uuid"}}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorEnvelope"}}}},"422":{"description":"Request is semantically invalid","headers":{"Request-Id":{"description":"Identifier for this API request.","schema":{"type":"string","format":"uuid"}}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorEnvelope"}}}},"429":{"description":"Rate limited","headers":{"Request-Id":{"description":"Identifier for this API request.","schema":{"type":"string","format":"uuid"}}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorEnvelope"}}}},"500":{"description":"Internal failure","headers":{"Request-Id":{"description":"Identifier for this API request.","schema":{"type":"string","format":"uuid"}}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorEnvelope"}}}},"503":{"description":"A dependency is unavailable. `live_payments_not_configured` means the platform operator must complete live Stripe credential setup before retrying; no Stripe request is made for that refusal. On checkout creation, no session or capacity hold is created either. Other transient dependency failures may be retried.","headers":{"Request-Id":{"description":"Identifier for this API request.","schema":{"type":"string","format":"uuid"}}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorEnvelope"}}}}}}},"/v1/quotas":{"get":{"tags":["Quotas"],"summary":"List quotas","security":[{"bearerAuth":[]}],"parameters":[{"schema":{"type":"integer","minimum":1,"maximum":100,"default":20},"required":false,"name":"limit","in":"query"},{"schema":{"type":"string"},"required":false,"name":"starting_after","in":"query"},{"schema":{"type":"string"},"required":false,"name":"ending_before","in":"query"},{"schema":{"type":"string","pattern":"^org_[0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{12}$","description":"Required organizer tenant id. There is intentionally no default, even for single-grant keys.","example":"org_0199c4e2-1f7a-7c31-8d44-2b9f6a1e05c7"},"required":true,"description":"Required organizer tenant id. There is intentionally no default, even for single-grant keys.","name":"Ticketing-Organizer","in":"header"}],"responses":{"200":{"description":"A keyset page of quotas.","headers":{"Request-Id":{"description":"Identifier for this API request.","schema":{"type":"string","format":"uuid"}}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/QuotaList"}}}},"400":{"description":"Invalid request","headers":{"Request-Id":{"description":"Identifier for this API request.","schema":{"type":"string","format":"uuid"}}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorEnvelope"}}}},"401":{"description":"Authentication failed","headers":{"Request-Id":{"description":"Identifier for this API request.","schema":{"type":"string","format":"uuid"}}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorEnvelope"}}}},"403":{"description":"Organizer grant required","headers":{"Request-Id":{"description":"Identifier for this API request.","schema":{"type":"string","format":"uuid"}}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorEnvelope"}}}},"404":{"description":"Resource not found","headers":{"Request-Id":{"description":"Identifier for this API request.","schema":{"type":"string","format":"uuid"}}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorEnvelope"}}}},"409":{"description":"Idempotency conflict","headers":{"Request-Id":{"description":"Identifier for this API request.","schema":{"type":"string","format":"uuid"}}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorEnvelope"}}}},"422":{"description":"Request is semantically invalid","headers":{"Request-Id":{"description":"Identifier for this API request.","schema":{"type":"string","format":"uuid"}}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorEnvelope"}}}},"429":{"description":"Rate limited","headers":{"Request-Id":{"description":"Identifier for this API request.","schema":{"type":"string","format":"uuid"}}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorEnvelope"}}}},"500":{"description":"Internal failure","headers":{"Request-Id":{"description":"Identifier for this API request.","schema":{"type":"string","format":"uuid"}}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorEnvelope"}}}},"503":{"description":"A dependency is unavailable. `live_payments_not_configured` means the platform operator must complete live Stripe credential setup before retrying; no Stripe request is made for that refusal. On checkout creation, no session or capacity hold is created either. Other transient dependency failures may be retried.","headers":{"Request-Id":{"description":"Identifier for this API request.","schema":{"type":"string","format":"uuid"}}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorEnvelope"}}}}}},"post":{"tags":["Quotas"],"summary":"Create a quota","security":[{"bearerAuth":[]}],"parameters":[{"schema":{"type":"string","pattern":"^org_[0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{12}$","description":"Required organizer tenant id. There is intentionally no default, even for single-grant keys.","example":"org_0199c4e2-1f7a-7c31-8d44-2b9f6a1e05c7"},"required":true,"description":"Required organizer tenant id. There is intentionally no default, even for single-grant keys.","name":"Ticketing-Organizer","in":"header"},{"schema":{"type":"string","minLength":1,"description":"Required replay key for this create operation."},"required":true,"description":"Required replay key for this create operation.","name":"Idempotency-Key","in":"header"}],"requestBody":{"content":{"application/json":{"schema":{"type":"object","properties":{"name":{"type":"string","minLength":1},"size":{"type":["integer","null"],"minimum":0},"metadata":{"type":"object","additionalProperties":{}}},"required":["name","size"]}}}},"responses":{"201":{"description":"The created quota.","headers":{"Request-Id":{"description":"Identifier for this API request.","schema":{"type":"string","format":"uuid"}}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Quota"}}}},"400":{"description":"Invalid request","headers":{"Request-Id":{"description":"Identifier for this API request.","schema":{"type":"string","format":"uuid"}}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorEnvelope"}}}},"401":{"description":"Authentication failed","headers":{"Request-Id":{"description":"Identifier for this API request.","schema":{"type":"string","format":"uuid"}}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorEnvelope"}}}},"403":{"description":"Organizer grant required","headers":{"Request-Id":{"description":"Identifier for this API request.","schema":{"type":"string","format":"uuid"}}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorEnvelope"}}}},"404":{"description":"Resource not found","headers":{"Request-Id":{"description":"Identifier for this API request.","schema":{"type":"string","format":"uuid"}}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorEnvelope"}}}},"409":{"description":"Idempotency conflict","headers":{"Request-Id":{"description":"Identifier for this API request.","schema":{"type":"string","format":"uuid"}}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorEnvelope"}}}},"422":{"description":"Request is semantically invalid","headers":{"Request-Id":{"description":"Identifier for this API request.","schema":{"type":"string","format":"uuid"}}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorEnvelope"}}}},"429":{"description":"Rate limited","headers":{"Request-Id":{"description":"Identifier for this API request.","schema":{"type":"string","format":"uuid"}}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorEnvelope"}}}},"500":{"description":"Internal failure","headers":{"Request-Id":{"description":"Identifier for this API request.","schema":{"type":"string","format":"uuid"}}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorEnvelope"}}}},"503":{"description":"A dependency is unavailable. `live_payments_not_configured` means the platform operator must complete live Stripe credential setup before retrying; no Stripe request is made for that refusal. On checkout creation, no session or capacity hold is created either. Other transient dependency failures may be retried.","headers":{"Request-Id":{"description":"Identifier for this API request.","schema":{"type":"string","format":"uuid"}}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorEnvelope"}}}}}}},"/v1/quotas/{id}":{"get":{"tags":["Quotas"],"summary":"Retrieve a quota","security":[{"bearerAuth":[]}],"parameters":[{"schema":{"type":"string","pattern":"^quo_[0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{12}$","example":"quo_0199c4e6-5c81-7d13-b7a0-4f8e2c6b9d34"},"required":true,"name":"id","in":"path"},{"schema":{"type":"string","pattern":"^org_[0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{12}$","description":"Required organizer tenant id. There is intentionally no default, even for single-grant keys.","example":"org_0199c4e2-1f7a-7c31-8d44-2b9f6a1e05c7"},"required":true,"description":"Required organizer tenant id. There is intentionally no default, even for single-grant keys.","name":"Ticketing-Organizer","in":"header"}],"responses":{"200":{"description":"The quota.","headers":{"Request-Id":{"description":"Identifier for this API request.","schema":{"type":"string","format":"uuid"}}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Quota"}}}},"400":{"description":"Invalid request","headers":{"Request-Id":{"description":"Identifier for this API request.","schema":{"type":"string","format":"uuid"}}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorEnvelope"}}}},"401":{"description":"Authentication failed","headers":{"Request-Id":{"description":"Identifier for this API request.","schema":{"type":"string","format":"uuid"}}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorEnvelope"}}}},"403":{"description":"Organizer grant required","headers":{"Request-Id":{"description":"Identifier for this API request.","schema":{"type":"string","format":"uuid"}}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorEnvelope"}}}},"404":{"description":"Resource not found","headers":{"Request-Id":{"description":"Identifier for this API request.","schema":{"type":"string","format":"uuid"}}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorEnvelope"}}}},"409":{"description":"Idempotency conflict","headers":{"Request-Id":{"description":"Identifier for this API request.","schema":{"type":"string","format":"uuid"}}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorEnvelope"}}}},"422":{"description":"Request is semantically invalid","headers":{"Request-Id":{"description":"Identifier for this API request.","schema":{"type":"string","format":"uuid"}}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorEnvelope"}}}},"429":{"description":"Rate limited","headers":{"Request-Id":{"description":"Identifier for this API request.","schema":{"type":"string","format":"uuid"}}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorEnvelope"}}}},"500":{"description":"Internal failure","headers":{"Request-Id":{"description":"Identifier for this API request.","schema":{"type":"string","format":"uuid"}}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorEnvelope"}}}},"503":{"description":"A dependency is unavailable. `live_payments_not_configured` means the platform operator must complete live Stripe credential setup before retrying; no Stripe request is made for that refusal. On checkout creation, no session or capacity hold is created either. Other transient dependency failures may be retried.","headers":{"Request-Id":{"description":"Identifier for this API request.","schema":{"type":"string","format":"uuid"}}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorEnvelope"}}}}}},"patch":{"tags":["Quotas"],"summary":"Update a quota","security":[{"bearerAuth":[]}],"parameters":[{"schema":{"type":"string","pattern":"^quo_[0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{12}$","example":"quo_0199c4e6-5c81-7d13-b7a0-4f8e2c6b9d34"},"required":true,"name":"id","in":"path"},{"schema":{"type":"string","pattern":"^org_[0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{12}$","description":"Required organizer tenant id. There is intentionally no default, even for single-grant keys.","example":"org_0199c4e2-1f7a-7c31-8d44-2b9f6a1e05c7"},"required":true,"description":"Required organizer tenant id. There is intentionally no default, even for single-grant keys.","name":"Ticketing-Organizer","in":"header"},{"schema":{"type":"string","minLength":1,"description":"Optional replay key for this update operation."},"required":false,"description":"Optional replay key for this update operation.","name":"Idempotency-Key","in":"header"}],"requestBody":{"content":{"application/json":{"schema":{"type":"object","properties":{"name":{"type":"string","minLength":1},"size":{"type":["integer","null"],"minimum":0},"metadata":{"type":"object","additionalProperties":{}}},"minProperties":1}}}},"responses":{"200":{"description":"The updated quota.","headers":{"Request-Id":{"description":"Identifier for this API request.","schema":{"type":"string","format":"uuid"}}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Quota"}}}},"400":{"description":"Invalid request","headers":{"Request-Id":{"description":"Identifier for this API request.","schema":{"type":"string","format":"uuid"}}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorEnvelope"}}}},"401":{"description":"Authentication failed","headers":{"Request-Id":{"description":"Identifier for this API request.","schema":{"type":"string","format":"uuid"}}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorEnvelope"}}}},"403":{"description":"Organizer grant required","headers":{"Request-Id":{"description":"Identifier for this API request.","schema":{"type":"string","format":"uuid"}}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorEnvelope"}}}},"404":{"description":"Resource not found","headers":{"Request-Id":{"description":"Identifier for this API request.","schema":{"type":"string","format":"uuid"}}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorEnvelope"}}}},"409":{"description":"Idempotency conflict","headers":{"Request-Id":{"description":"Identifier for this API request.","schema":{"type":"string","format":"uuid"}}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorEnvelope"}}}},"422":{"description":"Request is semantically invalid","headers":{"Request-Id":{"description":"Identifier for this API request.","schema":{"type":"string","format":"uuid"}}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorEnvelope"}}}},"429":{"description":"Rate limited","headers":{"Request-Id":{"description":"Identifier for this API request.","schema":{"type":"string","format":"uuid"}}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorEnvelope"}}}},"500":{"description":"Internal failure","headers":{"Request-Id":{"description":"Identifier for this API request.","schema":{"type":"string","format":"uuid"}}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorEnvelope"}}}},"503":{"description":"A dependency is unavailable. `live_payments_not_configured` means the platform operator must complete live Stripe credential setup before retrying; no Stripe request is made for that refusal. On checkout creation, no session or capacity hold is created either. Other transient dependency failures may be retried.","headers":{"Request-Id":{"description":"Identifier for this API request.","schema":{"type":"string","format":"uuid"}}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorEnvelope"}}}}}}},"/v1/items":{"get":{"tags":["Items"],"summary":"List items","description":"Newest first, id-keyset. Pass `event_id` for one event's items instead of paging through the organizer's whole catalogue.","security":[{"bearerAuth":[]}],"parameters":[{"schema":{"type":"integer","minimum":1,"maximum":100,"default":20},"required":false,"name":"limit","in":"query"},{"schema":{"type":"string"},"required":false,"name":"starting_after","in":"query"},{"schema":{"type":"string"},"required":false,"name":"ending_before","in":"query"},{"schema":{"type":"string","pattern":"^evt_[0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{12}$","description":"Only the items of this event. An event that does not exist under your organizer has none."},"required":false,"description":"Only the items of this event. An event that does not exist under your organizer has none.","name":"event_id","in":"query"},{"schema":{"type":"string","pattern":"^org_[0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{12}$","description":"Required organizer tenant id. There is intentionally no default, even for single-grant keys.","example":"org_0199c4e2-1f7a-7c31-8d44-2b9f6a1e05c7"},"required":true,"description":"Required organizer tenant id. There is intentionally no default, even for single-grant keys.","name":"Ticketing-Organizer","in":"header"}],"responses":{"200":{"description":"A keyset page of items.","headers":{"Request-Id":{"description":"Identifier for this API request.","schema":{"type":"string","format":"uuid"}}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ItemList"}}}},"400":{"description":"Invalid request","headers":{"Request-Id":{"description":"Identifier for this API request.","schema":{"type":"string","format":"uuid"}}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorEnvelope"}}}},"401":{"description":"Authentication failed","headers":{"Request-Id":{"description":"Identifier for this API request.","schema":{"type":"string","format":"uuid"}}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorEnvelope"}}}},"403":{"description":"Organizer grant required","headers":{"Request-Id":{"description":"Identifier for this API request.","schema":{"type":"string","format":"uuid"}}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorEnvelope"}}}},"404":{"description":"Resource not found","headers":{"Request-Id":{"description":"Identifier for this API request.","schema":{"type":"string","format":"uuid"}}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorEnvelope"}}}},"409":{"description":"Idempotency conflict","headers":{"Request-Id":{"description":"Identifier for this API request.","schema":{"type":"string","format":"uuid"}}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorEnvelope"}}}},"422":{"description":"Request is semantically invalid","headers":{"Request-Id":{"description":"Identifier for this API request.","schema":{"type":"string","format":"uuid"}}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorEnvelope"}}}},"429":{"description":"Rate limited","headers":{"Request-Id":{"description":"Identifier for this API request.","schema":{"type":"string","format":"uuid"}}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorEnvelope"}}}},"500":{"description":"Internal failure","headers":{"Request-Id":{"description":"Identifier for this API request.","schema":{"type":"string","format":"uuid"}}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorEnvelope"}}}},"503":{"description":"A dependency is unavailable. `live_payments_not_configured` means the platform operator must complete live Stripe credential setup before retrying; no Stripe request is made for that refusal. On checkout creation, no session or capacity hold is created either. Other transient dependency failures may be retried.","headers":{"Request-Id":{"description":"Identifier for this API request.","schema":{"type":"string","format":"uuid"}}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorEnvelope"}}}}}},"post":{"tags":["Items"],"summary":"Create a item","security":[{"bearerAuth":[]}],"parameters":[{"schema":{"type":"string","pattern":"^org_[0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{12}$","description":"Required organizer tenant id. There is intentionally no default, even for single-grant keys.","example":"org_0199c4e2-1f7a-7c31-8d44-2b9f6a1e05c7"},"required":true,"description":"Required organizer tenant id. There is intentionally no default, even for single-grant keys.","name":"Ticketing-Organizer","in":"header"},{"schema":{"type":"string","minLength":1,"description":"Required replay key for this create operation."},"required":true,"description":"Required replay key for this create operation.","name":"Idempotency-Key","in":"header"}],"requestBody":{"content":{"application/json":{"schema":{"type":"object","properties":{"event_id":{"type":["string","null"],"pattern":"^evt_[0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{12}$"},"name":{"type":"string","minLength":1},"price_minor":{"type":"integer","minimum":0},"currency":{"type":"string","pattern":"^[A-Z]{3}$"},"gated":{"type":"boolean"},"active":{"type":"boolean"},"sort_order":{"type":"integer"},"sale_starts_at":{"type":["string","null"],"format":"date-time"},"sale_ends_at":{"type":["string","null"],"format":"date-time"},"opens_after_item_id":{"type":["string","null"],"pattern":"^itm_[0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{12}$","description":"The other ticket type of the same event this one opens after, with `opens_when`. Set both or neither."},"opens_when":{"type":["string","null"],"enum":["runs_out","closes","either",null],"description":"`runs_out`: the other item's issued units reach the size of a quota it draws on (units in live baskets do not count). `closes`: the other item's `sale_ends_at` has passed. `either`: whichever comes first. Combined with `sale_starts_at`, the item opens at the earlier of the two; its own `sale_ends_at`, `active` and quotas still apply. Once opened by a trigger it stays open."},"quota_ids":{"type":"array","items":{"type":"string","pattern":"^quo_[0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{12}$"},"minItems":1},"requires_approval":{"type":"boolean"},"max_per_order":{"type":["integer","null"],"exclusiveMinimum":0,"maximum":100},"metadata":{"type":"object","additionalProperties":{}}},"required":["name","price_minor","currency","quota_ids"]}}}},"responses":{"201":{"description":"The created item.","headers":{"Request-Id":{"description":"Identifier for this API request.","schema":{"type":"string","format":"uuid"}}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Item"}}}},"400":{"description":"Invalid request","headers":{"Request-Id":{"description":"Identifier for this API request.","schema":{"type":"string","format":"uuid"}}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorEnvelope"}}}},"401":{"description":"Authentication failed","headers":{"Request-Id":{"description":"Identifier for this API request.","schema":{"type":"string","format":"uuid"}}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorEnvelope"}}}},"403":{"description":"Organizer grant required","headers":{"Request-Id":{"description":"Identifier for this API request.","schema":{"type":"string","format":"uuid"}}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorEnvelope"}}}},"404":{"description":"Resource not found","headers":{"Request-Id":{"description":"Identifier for this API request.","schema":{"type":"string","format":"uuid"}}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorEnvelope"}}}},"409":{"description":"Idempotency conflict","headers":{"Request-Id":{"description":"Identifier for this API request.","schema":{"type":"string","format":"uuid"}}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorEnvelope"}}}},"422":{"description":"Request is semantically invalid","headers":{"Request-Id":{"description":"Identifier for this API request.","schema":{"type":"string","format":"uuid"}}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorEnvelope"}}}},"429":{"description":"Rate limited","headers":{"Request-Id":{"description":"Identifier for this API request.","schema":{"type":"string","format":"uuid"}}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorEnvelope"}}}},"500":{"description":"Internal failure","headers":{"Request-Id":{"description":"Identifier for this API request.","schema":{"type":"string","format":"uuid"}}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorEnvelope"}}}},"503":{"description":"A dependency is unavailable. `live_payments_not_configured` means the platform operator must complete live Stripe credential setup before retrying; no Stripe request is made for that refusal. On checkout creation, no session or capacity hold is created either. Other transient dependency failures may be retried.","headers":{"Request-Id":{"description":"Identifier for this API request.","schema":{"type":"string","format":"uuid"}}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorEnvelope"}}}}}}},"/v1/items/{id}":{"get":{"tags":["Items"],"summary":"Retrieve a item","security":[{"bearerAuth":[]}],"parameters":[{"schema":{"type":"string","pattern":"^itm_[0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{12}$","example":"itm_0199c4e3-77a2-7e19-b0c5-9d3f2a4e6b10"},"required":true,"name":"id","in":"path"},{"schema":{"type":"string","pattern":"^org_[0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{12}$","description":"Required organizer tenant id. There is intentionally no default, even for single-grant keys.","example":"org_0199c4e2-1f7a-7c31-8d44-2b9f6a1e05c7"},"required":true,"description":"Required organizer tenant id. There is intentionally no default, even for single-grant keys.","name":"Ticketing-Organizer","in":"header"}],"responses":{"200":{"description":"The item.","headers":{"Request-Id":{"description":"Identifier for this API request.","schema":{"type":"string","format":"uuid"}}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Item"}}}},"400":{"description":"Invalid request","headers":{"Request-Id":{"description":"Identifier for this API request.","schema":{"type":"string","format":"uuid"}}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorEnvelope"}}}},"401":{"description":"Authentication failed","headers":{"Request-Id":{"description":"Identifier for this API request.","schema":{"type":"string","format":"uuid"}}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorEnvelope"}}}},"403":{"description":"Organizer grant required","headers":{"Request-Id":{"description":"Identifier for this API request.","schema":{"type":"string","format":"uuid"}}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorEnvelope"}}}},"404":{"description":"Resource not found","headers":{"Request-Id":{"description":"Identifier for this API request.","schema":{"type":"string","format":"uuid"}}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorEnvelope"}}}},"409":{"description":"Idempotency conflict","headers":{"Request-Id":{"description":"Identifier for this API request.","schema":{"type":"string","format":"uuid"}}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorEnvelope"}}}},"422":{"description":"Request is semantically invalid","headers":{"Request-Id":{"description":"Identifier for this API request.","schema":{"type":"string","format":"uuid"}}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorEnvelope"}}}},"429":{"description":"Rate limited","headers":{"Request-Id":{"description":"Identifier for this API request.","schema":{"type":"string","format":"uuid"}}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorEnvelope"}}}},"500":{"description":"Internal failure","headers":{"Request-Id":{"description":"Identifier for this API request.","schema":{"type":"string","format":"uuid"}}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorEnvelope"}}}},"503":{"description":"A dependency is unavailable. `live_payments_not_configured` means the platform operator must complete live Stripe credential setup before retrying; no Stripe request is made for that refusal. On checkout creation, no session or capacity hold is created either. Other transient dependency failures may be retried.","headers":{"Request-Id":{"description":"Identifier for this API request.","schema":{"type":"string","format":"uuid"}}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorEnvelope"}}}}}},"patch":{"tags":["Items"],"summary":"Update a item","security":[{"bearerAuth":[]}],"parameters":[{"schema":{"type":"string","pattern":"^itm_[0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{12}$","example":"itm_0199c4e3-77a2-7e19-b0c5-9d3f2a4e6b10"},"required":true,"name":"id","in":"path"},{"schema":{"type":"string","pattern":"^org_[0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{12}$","description":"Required organizer tenant id. There is intentionally no default, even for single-grant keys.","example":"org_0199c4e2-1f7a-7c31-8d44-2b9f6a1e05c7"},"required":true,"description":"Required organizer tenant id. There is intentionally no default, even for single-grant keys.","name":"Ticketing-Organizer","in":"header"},{"schema":{"type":"string","minLength":1,"description":"Optional replay key for this update operation."},"required":false,"description":"Optional replay key for this update operation.","name":"Idempotency-Key","in":"header"}],"requestBody":{"content":{"application/json":{"schema":{"type":"object","properties":{"event_id":{"type":["string","null"],"pattern":"^evt_[0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{12}$"},"name":{"type":"string","minLength":1},"price_minor":{"type":"integer","minimum":0},"currency":{"type":"string","pattern":"^[A-Z]{3}$"},"gated":{"type":"boolean"},"active":{"type":"boolean"},"sort_order":{"type":"integer"},"sale_starts_at":{"type":["string","null"],"format":"date-time"},"sale_ends_at":{"type":["string","null"],"format":"date-time"},"opens_after_item_id":{"type":["string","null"],"pattern":"^itm_[0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{12}$","description":"The other ticket type of the same event this one opens after, with `opens_when`. Set both or neither."},"opens_when":{"type":["string","null"],"enum":["runs_out","closes","either",null],"description":"`runs_out`: the other item's issued units reach the size of a quota it draws on (units in live baskets do not count). `closes`: the other item's `sale_ends_at` has passed. `either`: whichever comes first. Combined with `sale_starts_at`, the item opens at the earlier of the two; its own `sale_ends_at`, `active` and quotas still apply. Once opened by a trigger it stays open."},"quota_ids":{"type":"array","items":{"type":"string","pattern":"^quo_[0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{12}$"},"minItems":1},"requires_approval":{"type":"boolean"},"max_per_order":{"type":["integer","null"],"exclusiveMinimum":0,"maximum":100},"metadata":{"type":"object","additionalProperties":{}}},"minProperties":1}}}},"responses":{"200":{"description":"The updated item.","headers":{"Request-Id":{"description":"Identifier for this API request.","schema":{"type":"string","format":"uuid"}}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Item"}}}},"400":{"description":"Invalid request","headers":{"Request-Id":{"description":"Identifier for this API request.","schema":{"type":"string","format":"uuid"}}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorEnvelope"}}}},"401":{"description":"Authentication failed","headers":{"Request-Id":{"description":"Identifier for this API request.","schema":{"type":"string","format":"uuid"}}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorEnvelope"}}}},"403":{"description":"Organizer grant required","headers":{"Request-Id":{"description":"Identifier for this API request.","schema":{"type":"string","format":"uuid"}}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorEnvelope"}}}},"404":{"description":"Resource not found","headers":{"Request-Id":{"description":"Identifier for this API request.","schema":{"type":"string","format":"uuid"}}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorEnvelope"}}}},"409":{"description":"Idempotency conflict","headers":{"Request-Id":{"description":"Identifier for this API request.","schema":{"type":"string","format":"uuid"}}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorEnvelope"}}}},"422":{"description":"Request is semantically invalid","headers":{"Request-Id":{"description":"Identifier for this API request.","schema":{"type":"string","format":"uuid"}}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorEnvelope"}}}},"429":{"description":"Rate limited","headers":{"Request-Id":{"description":"Identifier for this API request.","schema":{"type":"string","format":"uuid"}}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorEnvelope"}}}},"500":{"description":"Internal failure","headers":{"Request-Id":{"description":"Identifier for this API request.","schema":{"type":"string","format":"uuid"}}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorEnvelope"}}}},"503":{"description":"A dependency is unavailable. `live_payments_not_configured` means the platform operator must complete live Stripe credential setup before retrying; no Stripe request is made for that refusal. On checkout creation, no session or capacity hold is created either. Other transient dependency failures may be retried.","headers":{"Request-Id":{"description":"Identifier for this API request.","schema":{"type":"string","format":"uuid"}}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorEnvelope"}}}}}}},"/v1/fee_schedules":{"get":{"tags":["Fee schedules"],"summary":"List fee schedules","security":[{"bearerAuth":[]}],"parameters":[{"schema":{"type":"integer","minimum":1,"maximum":100,"default":20},"required":false,"name":"limit","in":"query"},{"schema":{"type":"string"},"required":false,"name":"starting_after","in":"query"},{"schema":{"type":"string"},"required":false,"name":"ending_before","in":"query"},{"schema":{"type":"string","pattern":"^org_[0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{12}$","description":"Required organizer tenant id. There is intentionally no default, even for single-grant keys.","example":"org_0199c4e2-1f7a-7c31-8d44-2b9f6a1e05c7"},"required":true,"description":"Required organizer tenant id. There is intentionally no default, even for single-grant keys.","name":"Ticketing-Organizer","in":"header"}],"responses":{"200":{"description":"A keyset page of fee schedules.","headers":{"Request-Id":{"description":"Identifier for this API request.","schema":{"type":"string","format":"uuid"}}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/FeeScheduleList"}}}},"400":{"description":"Invalid request","headers":{"Request-Id":{"description":"Identifier for this API request.","schema":{"type":"string","format":"uuid"}}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorEnvelope"}}}},"401":{"description":"Authentication failed","headers":{"Request-Id":{"description":"Identifier for this API request.","schema":{"type":"string","format":"uuid"}}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorEnvelope"}}}},"403":{"description":"Organizer grant required","headers":{"Request-Id":{"description":"Identifier for this API request.","schema":{"type":"string","format":"uuid"}}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorEnvelope"}}}},"404":{"description":"Resource not found","headers":{"Request-Id":{"description":"Identifier for this API request.","schema":{"type":"string","format":"uuid"}}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorEnvelope"}}}},"409":{"description":"Idempotency conflict","headers":{"Request-Id":{"description":"Identifier for this API request.","schema":{"type":"string","format":"uuid"}}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorEnvelope"}}}},"422":{"description":"Request is semantically invalid","headers":{"Request-Id":{"description":"Identifier for this API request.","schema":{"type":"string","format":"uuid"}}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorEnvelope"}}}},"429":{"description":"Rate limited","headers":{"Request-Id":{"description":"Identifier for this API request.","schema":{"type":"string","format":"uuid"}}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorEnvelope"}}}},"500":{"description":"Internal failure","headers":{"Request-Id":{"description":"Identifier for this API request.","schema":{"type":"string","format":"uuid"}}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorEnvelope"}}}},"503":{"description":"A dependency is unavailable. `live_payments_not_configured` means the platform operator must complete live Stripe credential setup before retrying; no Stripe request is made for that refusal. On checkout creation, no session or capacity hold is created either. Other transient dependency failures may be retried.","headers":{"Request-Id":{"description":"Identifier for this API request.","schema":{"type":"string","format":"uuid"}}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorEnvelope"}}}}}}},"/v1/fee_schedules/{id}":{"get":{"tags":["Fee schedules"],"summary":"Retrieve a fee schedule","security":[{"bearerAuth":[]}],"parameters":[{"schema":{"type":"string","pattern":"^fsc_[0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{12}$","example":"fsc_0199c4e7-9e42-7a58-8c26-1d5b3f7a0e69"},"required":true,"name":"id","in":"path"},{"schema":{"type":"string","pattern":"^org_[0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{12}$","description":"Required organizer tenant id. There is intentionally no default, even for single-grant keys.","example":"org_0199c4e2-1f7a-7c31-8d44-2b9f6a1e05c7"},"required":true,"description":"Required organizer tenant id. There is intentionally no default, even for single-grant keys.","name":"Ticketing-Organizer","in":"header"}],"responses":{"200":{"description":"The fee schedule.","headers":{"Request-Id":{"description":"Identifier for this API request.","schema":{"type":"string","format":"uuid"}}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/FeeSchedule"}}}},"400":{"description":"Invalid request","headers":{"Request-Id":{"description":"Identifier for this API request.","schema":{"type":"string","format":"uuid"}}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorEnvelope"}}}},"401":{"description":"Authentication failed","headers":{"Request-Id":{"description":"Identifier for this API request.","schema":{"type":"string","format":"uuid"}}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorEnvelope"}}}},"403":{"description":"Organizer grant required","headers":{"Request-Id":{"description":"Identifier for this API request.","schema":{"type":"string","format":"uuid"}}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorEnvelope"}}}},"404":{"description":"Resource not found","headers":{"Request-Id":{"description":"Identifier for this API request.","schema":{"type":"string","format":"uuid"}}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorEnvelope"}}}},"409":{"description":"Idempotency conflict","headers":{"Request-Id":{"description":"Identifier for this API request.","schema":{"type":"string","format":"uuid"}}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorEnvelope"}}}},"422":{"description":"Request is semantically invalid","headers":{"Request-Id":{"description":"Identifier for this API request.","schema":{"type":"string","format":"uuid"}}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorEnvelope"}}}},"429":{"description":"Rate limited","headers":{"Request-Id":{"description":"Identifier for this API request.","schema":{"type":"string","format":"uuid"}}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorEnvelope"}}}},"500":{"description":"Internal failure","headers":{"Request-Id":{"description":"Identifier for this API request.","schema":{"type":"string","format":"uuid"}}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorEnvelope"}}}},"503":{"description":"A dependency is unavailable. `live_payments_not_configured` means the platform operator must complete live Stripe credential setup before retrying; no Stripe request is made for that refusal. On checkout creation, no session or capacity hold is created either. Other transient dependency failures may be retried.","headers":{"Request-Id":{"description":"Identifier for this API request.","schema":{"type":"string","format":"uuid"}}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorEnvelope"}}}}}}},"/v1/discount_codes":{"get":{"tags":["Discount codes"],"summary":"List discount codes","security":[{"bearerAuth":[]}],"parameters":[{"schema":{"type":"integer","minimum":1,"maximum":100,"default":20},"required":false,"name":"limit","in":"query"},{"schema":{"type":"string"},"required":false,"name":"starting_after","in":"query"},{"schema":{"type":"string"},"required":false,"name":"ending_before","in":"query"},{"schema":{"type":"string","pattern":"^org_[0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{12}$","description":"Required organizer tenant id. There is intentionally no default, even for single-grant keys.","example":"org_0199c4e2-1f7a-7c31-8d44-2b9f6a1e05c7"},"required":true,"description":"Required organizer tenant id. There is intentionally no default, even for single-grant keys.","name":"Ticketing-Organizer","in":"header"}],"responses":{"200":{"description":"A keyset page of discount codes.","headers":{"Request-Id":{"description":"Identifier for this API request.","schema":{"type":"string","format":"uuid"}}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/DiscountCodeList"}}}},"400":{"description":"Invalid request","headers":{"Request-Id":{"description":"Identifier for this API request.","schema":{"type":"string","format":"uuid"}}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorEnvelope"}}}},"401":{"description":"Authentication failed","headers":{"Request-Id":{"description":"Identifier for this API request.","schema":{"type":"string","format":"uuid"}}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorEnvelope"}}}},"403":{"description":"Organizer grant required","headers":{"Request-Id":{"description":"Identifier for this API request.","schema":{"type":"string","format":"uuid"}}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorEnvelope"}}}},"404":{"description":"Resource not found","headers":{"Request-Id":{"description":"Identifier for this API request.","schema":{"type":"string","format":"uuid"}}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorEnvelope"}}}},"409":{"description":"Idempotency conflict","headers":{"Request-Id":{"description":"Identifier for this API request.","schema":{"type":"string","format":"uuid"}}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorEnvelope"}}}},"422":{"description":"Request is semantically invalid","headers":{"Request-Id":{"description":"Identifier for this API request.","schema":{"type":"string","format":"uuid"}}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorEnvelope"}}}},"429":{"description":"Rate limited","headers":{"Request-Id":{"description":"Identifier for this API request.","schema":{"type":"string","format":"uuid"}}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorEnvelope"}}}},"500":{"description":"Internal failure","headers":{"Request-Id":{"description":"Identifier for this API request.","schema":{"type":"string","format":"uuid"}}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorEnvelope"}}}},"503":{"description":"A dependency is unavailable. `live_payments_not_configured` means the platform operator must complete live Stripe credential setup before retrying; no Stripe request is made for that refusal. On checkout creation, no session or capacity hold is created either. Other transient dependency failures may be retried.","headers":{"Request-Id":{"description":"Identifier for this API request.","schema":{"type":"string","format":"uuid"}}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorEnvelope"}}}}}},"post":{"tags":["Discount codes"],"summary":"Create a discount code","security":[{"bearerAuth":[]}],"parameters":[{"schema":{"type":"string","pattern":"^org_[0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{12}$","description":"Required organizer tenant id. There is intentionally no default, even for single-grant keys.","example":"org_0199c4e2-1f7a-7c31-8d44-2b9f6a1e05c7"},"required":true,"description":"Required organizer tenant id. There is intentionally no default, even for single-grant keys.","name":"Ticketing-Organizer","in":"header"},{"schema":{"type":"string","minLength":1,"description":"Required replay key for this create operation."},"required":true,"description":"Required replay key for this create operation.","name":"Idempotency-Key","in":"header"}],"requestBody":{"content":{"application/json":{"schema":{"type":"object","properties":{"code":{"type":"string","minLength":1},"effect_type":{"type":"string","enum":["percent","amount","unlock","price_override","fee_waiver"]},"percent_bps":{"type":["integer","null"],"minimum":0},"amount_minor":{"type":["integer","null"],"minimum":0},"amount_currency":{"type":["string","null"],"pattern":"^[A-Z]{3}$"},"stackable":{"type":"boolean"},"valid_from":{"type":["string","null"],"format":"date-time"},"valid_until":{"type":["string","null"],"format":"date-time"},"max_uses":{"type":["integer","null"],"exclusiveMinimum":0},"max_uses_per_customer":{"type":["integer","null"],"exclusiveMinimum":0},"active":{"type":"boolean"},"item_ids":{"type":"array","items":{"type":"string","pattern":"^itm_[0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{12}$"}},"event_ids":{"type":"array","items":{"type":"string","pattern":"^evt_[0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{12}$"}},"metadata":{"type":"object","additionalProperties":{}}},"required":["code","effect_type"]}}}},"responses":{"201":{"description":"The created discount code.","headers":{"Request-Id":{"description":"Identifier for this API request.","schema":{"type":"string","format":"uuid"}}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/DiscountCode"}}}},"400":{"description":"Invalid request","headers":{"Request-Id":{"description":"Identifier for this API request.","schema":{"type":"string","format":"uuid"}}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorEnvelope"}}}},"401":{"description":"Authentication failed","headers":{"Request-Id":{"description":"Identifier for this API request.","schema":{"type":"string","format":"uuid"}}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorEnvelope"}}}},"403":{"description":"Organizer grant required","headers":{"Request-Id":{"description":"Identifier for this API request.","schema":{"type":"string","format":"uuid"}}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorEnvelope"}}}},"404":{"description":"Resource not found","headers":{"Request-Id":{"description":"Identifier for this API request.","schema":{"type":"string","format":"uuid"}}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorEnvelope"}}}},"409":{"description":"Idempotency conflict","headers":{"Request-Id":{"description":"Identifier for this API request.","schema":{"type":"string","format":"uuid"}}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorEnvelope"}}}},"422":{"description":"Request is semantically invalid","headers":{"Request-Id":{"description":"Identifier for this API request.","schema":{"type":"string","format":"uuid"}}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorEnvelope"}}}},"429":{"description":"Rate limited","headers":{"Request-Id":{"description":"Identifier for this API request.","schema":{"type":"string","format":"uuid"}}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorEnvelope"}}}},"500":{"description":"Internal failure","headers":{"Request-Id":{"description":"Identifier for this API request.","schema":{"type":"string","format":"uuid"}}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorEnvelope"}}}},"503":{"description":"A dependency is unavailable. `live_payments_not_configured` means the platform operator must complete live Stripe credential setup before retrying; no Stripe request is made for that refusal. On checkout creation, no session or capacity hold is created either. Other transient dependency failures may be retried.","headers":{"Request-Id":{"description":"Identifier for this API request.","schema":{"type":"string","format":"uuid"}}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorEnvelope"}}}}}}},"/v1/discount_codes/{id}":{"get":{"tags":["Discount codes"],"summary":"Retrieve a discount code","security":[{"bearerAuth":[]}],"parameters":[{"schema":{"type":"string","pattern":"^dsc_[0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{12}$","example":"dsc_0199c4e8-1a73-7c94-9f38-6b2d4e8c5a71"},"required":true,"name":"id","in":"path"},{"schema":{"type":"string","pattern":"^org_[0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{12}$","description":"Required organizer tenant id. There is intentionally no default, even for single-grant keys.","example":"org_0199c4e2-1f7a-7c31-8d44-2b9f6a1e05c7"},"required":true,"description":"Required organizer tenant id. There is intentionally no default, even for single-grant keys.","name":"Ticketing-Organizer","in":"header"}],"responses":{"200":{"description":"The discount code.","headers":{"Request-Id":{"description":"Identifier for this API request.","schema":{"type":"string","format":"uuid"}}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/DiscountCode"}}}},"400":{"description":"Invalid request","headers":{"Request-Id":{"description":"Identifier for this API request.","schema":{"type":"string","format":"uuid"}}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorEnvelope"}}}},"401":{"description":"Authentication failed","headers":{"Request-Id":{"description":"Identifier for this API request.","schema":{"type":"string","format":"uuid"}}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorEnvelope"}}}},"403":{"description":"Organizer grant required","headers":{"Request-Id":{"description":"Identifier for this API request.","schema":{"type":"string","format":"uuid"}}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorEnvelope"}}}},"404":{"description":"Resource not found","headers":{"Request-Id":{"description":"Identifier for this API request.","schema":{"type":"string","format":"uuid"}}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorEnvelope"}}}},"409":{"description":"Idempotency conflict","headers":{"Request-Id":{"description":"Identifier for this API request.","schema":{"type":"string","format":"uuid"}}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorEnvelope"}}}},"422":{"description":"Request is semantically invalid","headers":{"Request-Id":{"description":"Identifier for this API request.","schema":{"type":"string","format":"uuid"}}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorEnvelope"}}}},"429":{"description":"Rate limited","headers":{"Request-Id":{"description":"Identifier for this API request.","schema":{"type":"string","format":"uuid"}}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorEnvelope"}}}},"500":{"description":"Internal failure","headers":{"Request-Id":{"description":"Identifier for this API request.","schema":{"type":"string","format":"uuid"}}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorEnvelope"}}}},"503":{"description":"A dependency is unavailable. `live_payments_not_configured` means the platform operator must complete live Stripe credential setup before retrying; no Stripe request is made for that refusal. On checkout creation, no session or capacity hold is created either. Other transient dependency failures may be retried.","headers":{"Request-Id":{"description":"Identifier for this API request.","schema":{"type":"string","format":"uuid"}}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorEnvelope"}}}}}},"patch":{"tags":["Discount codes"],"summary":"Update a discount code","security":[{"bearerAuth":[]}],"parameters":[{"schema":{"type":"string","pattern":"^dsc_[0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{12}$","example":"dsc_0199c4e8-1a73-7c94-9f38-6b2d4e8c5a71"},"required":true,"name":"id","in":"path"},{"schema":{"type":"string","pattern":"^org_[0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{12}$","description":"Required organizer tenant id. There is intentionally no default, even for single-grant keys.","example":"org_0199c4e2-1f7a-7c31-8d44-2b9f6a1e05c7"},"required":true,"description":"Required organizer tenant id. There is intentionally no default, even for single-grant keys.","name":"Ticketing-Organizer","in":"header"},{"schema":{"type":"string","minLength":1,"description":"Optional replay key for this update operation."},"required":false,"description":"Optional replay key for this update operation.","name":"Idempotency-Key","in":"header"}],"requestBody":{"content":{"application/json":{"schema":{"type":"object","properties":{"code":{"type":"string","minLength":1},"effect_type":{"type":"string","enum":["percent","amount","unlock","price_override","fee_waiver"]},"percent_bps":{"type":["integer","null"],"minimum":0},"amount_minor":{"type":["integer","null"],"minimum":0},"amount_currency":{"type":["string","null"],"pattern":"^[A-Z]{3}$"},"stackable":{"type":"boolean"},"valid_from":{"type":["string","null"],"format":"date-time"},"valid_until":{"type":["string","null"],"format":"date-time"},"max_uses":{"type":["integer","null"],"exclusiveMinimum":0},"max_uses_per_customer":{"type":["integer","null"],"exclusiveMinimum":0},"active":{"type":"boolean"},"item_ids":{"type":"array","items":{"type":"string","pattern":"^itm_[0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{12}$"}},"event_ids":{"type":"array","items":{"type":"string","pattern":"^evt_[0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{12}$"}},"metadata":{"type":"object","additionalProperties":{}}},"minProperties":1}}}},"responses":{"200":{"description":"The updated discount code.","headers":{"Request-Id":{"description":"Identifier for this API request.","schema":{"type":"string","format":"uuid"}}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/DiscountCode"}}}},"400":{"description":"Invalid request","headers":{"Request-Id":{"description":"Identifier for this API request.","schema":{"type":"string","format":"uuid"}}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorEnvelope"}}}},"401":{"description":"Authentication failed","headers":{"Request-Id":{"description":"Identifier for this API request.","schema":{"type":"string","format":"uuid"}}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorEnvelope"}}}},"403":{"description":"Organizer grant required","headers":{"Request-Id":{"description":"Identifier for this API request.","schema":{"type":"string","format":"uuid"}}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorEnvelope"}}}},"404":{"description":"Resource not found","headers":{"Request-Id":{"description":"Identifier for this API request.","schema":{"type":"string","format":"uuid"}}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorEnvelope"}}}},"409":{"description":"Idempotency conflict","headers":{"Request-Id":{"description":"Identifier for this API request.","schema":{"type":"string","format":"uuid"}}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorEnvelope"}}}},"422":{"description":"Request is semantically invalid","headers":{"Request-Id":{"description":"Identifier for this API request.","schema":{"type":"string","format":"uuid"}}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorEnvelope"}}}},"429":{"description":"Rate limited","headers":{"Request-Id":{"description":"Identifier for this API request.","schema":{"type":"string","format":"uuid"}}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorEnvelope"}}}},"500":{"description":"Internal failure","headers":{"Request-Id":{"description":"Identifier for this API request.","schema":{"type":"string","format":"uuid"}}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorEnvelope"}}}},"503":{"description":"A dependency is unavailable. `live_payments_not_configured` means the platform operator must complete live Stripe credential setup before retrying; no Stripe request is made for that refusal. On checkout creation, no session or capacity hold is created either. Other transient dependency failures may be retried.","headers":{"Request-Id":{"description":"Identifier for this API request.","schema":{"type":"string","format":"uuid"}}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorEnvelope"}}}}}}},"/v1/branding":{"get":{"tags":["Branding"],"summary":"Retrieve organizer branding","security":[{"bearerAuth":[]}],"parameters":[{"schema":{"type":"string","pattern":"^org_[0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{12}$","description":"Required organizer tenant id. There is intentionally no default, even for single-grant keys.","example":"org_0199c4e2-1f7a-7c31-8d44-2b9f6a1e05c7"},"required":true,"description":"Required organizer tenant id. There is intentionally no default, even for single-grant keys.","name":"Ticketing-Organizer","in":"header"}],"responses":{"200":{"description":"The organizer branding tokens.","headers":{"Request-Id":{"description":"Identifier for this API request.","schema":{"type":"string","format":"uuid"}}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Branding"}}}},"400":{"description":"Invalid request","headers":{"Request-Id":{"description":"Identifier for this API request.","schema":{"type":"string","format":"uuid"}}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorEnvelope"}}}},"401":{"description":"Authentication failed","headers":{"Request-Id":{"description":"Identifier for this API request.","schema":{"type":"string","format":"uuid"}}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorEnvelope"}}}},"403":{"description":"Organizer grant required","headers":{"Request-Id":{"description":"Identifier for this API request.","schema":{"type":"string","format":"uuid"}}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorEnvelope"}}}},"404":{"description":"Resource not found","headers":{"Request-Id":{"description":"Identifier for this API request.","schema":{"type":"string","format":"uuid"}}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorEnvelope"}}}},"409":{"description":"Idempotency conflict","headers":{"Request-Id":{"description":"Identifier for this API request.","schema":{"type":"string","format":"uuid"}}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorEnvelope"}}}},"422":{"description":"Request is semantically invalid","headers":{"Request-Id":{"description":"Identifier for this API request.","schema":{"type":"string","format":"uuid"}}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorEnvelope"}}}},"429":{"description":"Rate limited","headers":{"Request-Id":{"description":"Identifier for this API request.","schema":{"type":"string","format":"uuid"}}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorEnvelope"}}}},"500":{"description":"Internal failure","headers":{"Request-Id":{"description":"Identifier for this API request.","schema":{"type":"string","format":"uuid"}}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorEnvelope"}}}},"503":{"description":"A dependency is unavailable. `live_payments_not_configured` means the platform operator must complete live Stripe credential setup before retrying; no Stripe request is made for that refusal. On checkout creation, no session or capacity hold is created either. Other transient dependency failures may be retried.","headers":{"Request-Id":{"description":"Identifier for this API request.","schema":{"type":"string","format":"uuid"}}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorEnvelope"}}}}}},"patch":{"tags":["Branding"],"summary":"Update organizer branding","security":[{"bearerAuth":[]}],"parameters":[{"schema":{"type":"string","pattern":"^org_[0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{12}$","description":"Required organizer tenant id. There is intentionally no default, even for single-grant keys.","example":"org_0199c4e2-1f7a-7c31-8d44-2b9f6a1e05c7"},"required":true,"description":"Required organizer tenant id. There is intentionally no default, even for single-grant keys.","name":"Ticketing-Organizer","in":"header"},{"schema":{"type":"string","minLength":1,"description":"Optional replay key for this update operation."},"required":false,"description":"Optional replay key for this update operation.","name":"Idempotency-Key","in":"header"}],"requestBody":{"content":{"application/json":{"schema":{"type":"object","properties":{"logo_url":{"type":["string","null"],"format":"uri"},"brand_color":{"type":["string","null"],"pattern":"^(#[0-9a-fA-F]{6}|#[0-9a-fA-F]{3}|rgb\\((?:[0-9]|[1-9][0-9]|1[0-9]{2}|2[0-4][0-9]|25[0-5]),\\s*(?:[0-9]|[1-9][0-9]|1[0-9]{2}|2[0-4][0-9]|25[0-5]),\\s*(?:[0-9]|[1-9][0-9]|1[0-9]{2}|2[0-4][0-9]|25[0-5])\\))$"},"accent_color":{"type":["string","null"],"pattern":"^(#[0-9a-fA-F]{6}|#[0-9a-fA-F]{3}|rgb\\((?:[0-9]|[1-9][0-9]|1[0-9]{2}|2[0-4][0-9]|25[0-5]),\\s*(?:[0-9]|[1-9][0-9]|1[0-9]{2}|2[0-4][0-9]|25[0-5]),\\s*(?:[0-9]|[1-9][0-9]|1[0-9]{2}|2[0-4][0-9]|25[0-5])\\))$"},"background_color":{"type":["string","null"],"pattern":"^(#[0-9a-fA-F]{6}|#[0-9a-fA-F]{3}|rgb\\((?:[0-9]|[1-9][0-9]|1[0-9]{2}|2[0-4][0-9]|25[0-5]),\\s*(?:[0-9]|[1-9][0-9]|1[0-9]{2}|2[0-4][0-9]|25[0-5]),\\s*(?:[0-9]|[1-9][0-9]|1[0-9]{2}|2[0-4][0-9]|25[0-5])\\))$"},"text_color":{"type":["string","null"],"pattern":"^(#[0-9a-fA-F]{6}|#[0-9a-fA-F]{3}|rgb\\((?:[0-9]|[1-9][0-9]|1[0-9]{2}|2[0-4][0-9]|25[0-5]),\\s*(?:[0-9]|[1-9][0-9]|1[0-9]{2}|2[0-4][0-9]|25[0-5]),\\s*(?:[0-9]|[1-9][0-9]|1[0-9]{2}|2[0-4][0-9]|25[0-5])\\))$"},"font_key":{"type":["string","null"],"enum":["inter","system","manrope",null]},"corner_radius":{"type":["integer","null"],"minimum":0,"maximum":48},"metadata":{"type":"object","additionalProperties":{}}},"minProperties":1}}}},"responses":{"200":{"description":"The updated organizer branding tokens.","headers":{"Request-Id":{"description":"Identifier for this API request.","schema":{"type":"string","format":"uuid"}}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Branding"}}}},"400":{"description":"Invalid request","headers":{"Request-Id":{"description":"Identifier for this API request.","schema":{"type":"string","format":"uuid"}}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorEnvelope"}}}},"401":{"description":"Authentication failed","headers":{"Request-Id":{"description":"Identifier for this API request.","schema":{"type":"string","format":"uuid"}}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorEnvelope"}}}},"403":{"description":"Organizer grant required","headers":{"Request-Id":{"description":"Identifier for this API request.","schema":{"type":"string","format":"uuid"}}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorEnvelope"}}}},"404":{"description":"Resource not found","headers":{"Request-Id":{"description":"Identifier for this API request.","schema":{"type":"string","format":"uuid"}}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorEnvelope"}}}},"409":{"description":"Idempotency conflict","headers":{"Request-Id":{"description":"Identifier for this API request.","schema":{"type":"string","format":"uuid"}}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorEnvelope"}}}},"422":{"description":"Request is semantically invalid","headers":{"Request-Id":{"description":"Identifier for this API request.","schema":{"type":"string","format":"uuid"}}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorEnvelope"}}}},"429":{"description":"Rate limited","headers":{"Request-Id":{"description":"Identifier for this API request.","schema":{"type":"string","format":"uuid"}}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorEnvelope"}}}},"500":{"description":"Internal failure","headers":{"Request-Id":{"description":"Identifier for this API request.","schema":{"type":"string","format":"uuid"}}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorEnvelope"}}}},"503":{"description":"A dependency is unavailable. `live_payments_not_configured` means the platform operator must complete live Stripe credential setup before retrying; no Stripe request is made for that refusal. On checkout creation, no session or capacity hold is created either. Other transient dependency failures may be retried.","headers":{"Request-Id":{"description":"Identifier for this API request.","schema":{"type":"string","format":"uuid"}}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorEnvelope"}}}}}}},"/v1/organizer":{"get":{"tags":["Organizer"],"summary":"Retrieve the current organizer","security":[{"bearerAuth":[]}],"parameters":[{"schema":{"type":"string","pattern":"^org_[0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{12}$","description":"Required organizer tenant id. There is intentionally no default, even for single-grant keys.","example":"org_0199c4e2-1f7a-7c31-8d44-2b9f6a1e05c7"},"required":true,"description":"Required organizer tenant id. There is intentionally no default, even for single-grant keys.","name":"Ticketing-Organizer","in":"header"}],"responses":{"200":{"description":"The current organizer profile.","headers":{"Request-Id":{"description":"Identifier for this API request.","schema":{"type":"string","format":"uuid"}}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Organizer"}}}},"400":{"description":"Invalid request","headers":{"Request-Id":{"description":"Identifier for this API request.","schema":{"type":"string","format":"uuid"}}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorEnvelope"}}}},"401":{"description":"Authentication failed","headers":{"Request-Id":{"description":"Identifier for this API request.","schema":{"type":"string","format":"uuid"}}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorEnvelope"}}}},"403":{"description":"Organizer grant required","headers":{"Request-Id":{"description":"Identifier for this API request.","schema":{"type":"string","format":"uuid"}}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorEnvelope"}}}},"404":{"description":"Resource not found","headers":{"Request-Id":{"description":"Identifier for this API request.","schema":{"type":"string","format":"uuid"}}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorEnvelope"}}}},"409":{"description":"Idempotency conflict","headers":{"Request-Id":{"description":"Identifier for this API request.","schema":{"type":"string","format":"uuid"}}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorEnvelope"}}}},"422":{"description":"Request is semantically invalid","headers":{"Request-Id":{"description":"Identifier for this API request.","schema":{"type":"string","format":"uuid"}}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorEnvelope"}}}},"429":{"description":"Rate limited","headers":{"Request-Id":{"description":"Identifier for this API request.","schema":{"type":"string","format":"uuid"}}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorEnvelope"}}}},"500":{"description":"Internal failure","headers":{"Request-Id":{"description":"Identifier for this API request.","schema":{"type":"string","format":"uuid"}}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorEnvelope"}}}},"503":{"description":"A dependency is unavailable. `live_payments_not_configured` means the platform operator must complete live Stripe credential setup before retrying; no Stripe request is made for that refusal. On checkout creation, no session or capacity hold is created either. Other transient dependency failures may be retried.","headers":{"Request-Id":{"description":"Identifier for this API request.","schema":{"type":"string","format":"uuid"}}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorEnvelope"}}}}}},"patch":{"tags":["Organizer"],"summary":"Update the current organizer's settings","description":"Sets whether this organizer sends its own order confirmations and replaces the origins allowed to embed its checkout component. Own order confirmations cannot be enabled while order_confirmation is enabled in the notification wiring; unwire it first. Embed origins must be exact https origins — no path, no trailing slash, no wildcard — and at most twenty. Name, slug, status and test mode are staff-managed and cannot be set here.","security":[{"bearerAuth":[]}],"parameters":[{"schema":{"type":"string","pattern":"^org_[0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{12}$","description":"Required organizer tenant id. There is intentionally no default, even for single-grant keys.","example":"org_0199c4e2-1f7a-7c31-8d44-2b9f6a1e05c7"},"required":true,"description":"Required organizer tenant id. There is intentionally no default, even for single-grant keys.","name":"Ticketing-Organizer","in":"header"}],"requestBody":{"content":{"application/json":{"schema":{"type":"object","properties":{"embed_origins":{"type":"array","items":{"type":"string","maxLength":255},"maxItems":20,"description":"The exact https origins allowed to embed this organizer's checkout component, replaced wholesale. At most 20; an empty array means the component cannot be embedded anywhere."},"own_order_confirmation":{"type":"boolean","description":"The organizer sends its own order confirmations. While true the engine never sends `order_confirmation`, and the notification wiring refuses to map it."}},"minProperties":1}}}},"responses":{"200":{"description":"The updated organizer profile.","headers":{"Request-Id":{"description":"Identifier for this API request.","schema":{"type":"string","format":"uuid"}}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Organizer"}}}},"400":{"description":"Invalid request","headers":{"Request-Id":{"description":"Identifier for this API request.","schema":{"type":"string","format":"uuid"}}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorEnvelope"}}}},"401":{"description":"Authentication failed","headers":{"Request-Id":{"description":"Identifier for this API request.","schema":{"type":"string","format":"uuid"}}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorEnvelope"}}}},"403":{"description":"Organizer grant required","headers":{"Request-Id":{"description":"Identifier for this API request.","schema":{"type":"string","format":"uuid"}}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorEnvelope"}}}},"404":{"description":"Resource not found","headers":{"Request-Id":{"description":"Identifier for this API request.","schema":{"type":"string","format":"uuid"}}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorEnvelope"}}}},"409":{"description":"Idempotency conflict","headers":{"Request-Id":{"description":"Identifier for this API request.","schema":{"type":"string","format":"uuid"}}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorEnvelope"}}}},"422":{"description":"Request is semantically invalid","headers":{"Request-Id":{"description":"Identifier for this API request.","schema":{"type":"string","format":"uuid"}}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorEnvelope"}}}},"429":{"description":"Rate limited","headers":{"Request-Id":{"description":"Identifier for this API request.","schema":{"type":"string","format":"uuid"}}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorEnvelope"}}}},"500":{"description":"Internal failure","headers":{"Request-Id":{"description":"Identifier for this API request.","schema":{"type":"string","format":"uuid"}}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorEnvelope"}}}},"503":{"description":"A dependency is unavailable. `live_payments_not_configured` means the platform operator must complete live Stripe credential setup before retrying; no Stripe request is made for that refusal. On checkout creation, no session or capacity hold is created either. Other transient dependency failures may be retried.","headers":{"Request-Id":{"description":"Identifier for this API request.","schema":{"type":"string","format":"uuid"}}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorEnvelope"}}}}}}},"/v1/public/organizers/{slug}/embed":{"get":{"tags":["Buyer plane"],"summary":"Read an organizer's allowed embed origins","description":"Public and cacheable for sixty seconds. Returns the exact https origins allowed to embed this organizer's checkout component; an empty list means it is not embeddable. An unknown slug is 404 `not_found`.","parameters":[{"schema":{"type":"string","minLength":1,"maxLength":64},"required":true,"name":"slug","in":"path"}],"responses":{"200":{"description":"The organizer's allowed embed origins.","headers":{"Request-Id":{"description":"Identifier for this API request.","schema":{"type":"string","format":"uuid"}}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/OrganizerEmbed"}}}},"400":{"description":"Invalid request","headers":{"Request-Id":{"description":"Identifier for this API request.","schema":{"type":"string","format":"uuid"}}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorEnvelope"}}}},"401":{"description":"Authentication failed","headers":{"Request-Id":{"description":"Identifier for this API request.","schema":{"type":"string","format":"uuid"}}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorEnvelope"}}}},"403":{"description":"Organizer grant required","headers":{"Request-Id":{"description":"Identifier for this API request.","schema":{"type":"string","format":"uuid"}}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorEnvelope"}}}},"404":{"description":"Resource not found","headers":{"Request-Id":{"description":"Identifier for this API request.","schema":{"type":"string","format":"uuid"}}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorEnvelope"}}}},"409":{"description":"Idempotency conflict","headers":{"Request-Id":{"description":"Identifier for this API request.","schema":{"type":"string","format":"uuid"}}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorEnvelope"}}}},"422":{"description":"Request is semantically invalid","headers":{"Request-Id":{"description":"Identifier for this API request.","schema":{"type":"string","format":"uuid"}}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorEnvelope"}}}},"429":{"description":"Rate limited","headers":{"Request-Id":{"description":"Identifier for this API request.","schema":{"type":"string","format":"uuid"}}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorEnvelope"}}}},"500":{"description":"Internal failure","headers":{"Request-Id":{"description":"Identifier for this API request.","schema":{"type":"string","format":"uuid"}}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorEnvelope"}}}},"503":{"description":"A dependency is unavailable. `live_payments_not_configured` means the platform operator must complete live Stripe credential setup before retrying; no Stripe request is made for that refusal. On checkout creation, no session or capacity hold is created either. Other transient dependency failures may be retried.","headers":{"Request-Id":{"description":"Identifier for this API request.","schema":{"type":"string","format":"uuid"}}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorEnvelope"}}}}}}},"/v1/public/positions/{id}/qr.png":{"get":{"tags":["Buyer plane"],"summary":"A position's admission code as a QR image","description":"Public. Returns a PNG of the position's admission QR code, for the `qr_image_url` the position carries. A missing or wrong signature, a revoked position and an unknown id are all 404 `not_found`.","parameters":[{"schema":{"type":"string","pattern":"^pos_[0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{12}$"},"required":true,"name":"id","in":"path"},{"schema":{"type":"string","minLength":1,"maxLength":128},"required":true,"name":"sig","in":"query"}],"responses":{"200":{"description":"The QR code, as a PNG.","headers":{"Request-Id":{"description":"Identifier for this API request.","schema":{"type":"string","format":"uuid"}}},"content":{"image/png":{"schema":{"type":"string","format":"binary"}}}},"400":{"description":"Invalid request","headers":{"Request-Id":{"description":"Identifier for this API request.","schema":{"type":"string","format":"uuid"}}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorEnvelope"}}}},"401":{"description":"Authentication failed","headers":{"Request-Id":{"description":"Identifier for this API request.","schema":{"type":"string","format":"uuid"}}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorEnvelope"}}}},"403":{"description":"Organizer grant required","headers":{"Request-Id":{"description":"Identifier for this API request.","schema":{"type":"string","format":"uuid"}}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorEnvelope"}}}},"404":{"description":"Resource not found","headers":{"Request-Id":{"description":"Identifier for this API request.","schema":{"type":"string","format":"uuid"}}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorEnvelope"}}}},"409":{"description":"Idempotency conflict","headers":{"Request-Id":{"description":"Identifier for this API request.","schema":{"type":"string","format":"uuid"}}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorEnvelope"}}}},"422":{"description":"Request is semantically invalid","headers":{"Request-Id":{"description":"Identifier for this API request.","schema":{"type":"string","format":"uuid"}}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorEnvelope"}}}},"429":{"description":"Rate limited","headers":{"Request-Id":{"description":"Identifier for this API request.","schema":{"type":"string","format":"uuid"}}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorEnvelope"}}}},"500":{"description":"Internal failure","headers":{"Request-Id":{"description":"Identifier for this API request.","schema":{"type":"string","format":"uuid"}}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorEnvelope"}}}},"503":{"description":"A dependency is unavailable. `live_payments_not_configured` means the platform operator must complete live Stripe credential setup before retrying; no Stripe request is made for that refusal. On checkout creation, no session or capacity hold is created either. Other transient dependency failures may be retried.","headers":{"Request-Id":{"description":"Identifier for this API request.","schema":{"type":"string","format":"uuid"}}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorEnvelope"}}}}}}},"/v1/organizers":{"post":{"tags":["Organizer"],"summary":"Create an organizer","description":"Provisioner keys only. Creates an organizer in the key's mode, grants this key on it, gives it the active fee schedules and the notification provider connection of `fee_schedules_from`, so its buyers get the same messages, and has it collect ticket and membership payments on Lissen's platform account. `Ticketing-Organizer` names any organizer the key holds. Safe to retry: the slug is the replay key, and creating a slug this key already created returns that organizer with 200.","security":[{"bearerAuth":[]}],"parameters":[{"schema":{"type":"string","pattern":"^org_[0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{12}$","description":"Required organizer tenant id. There is intentionally no default, even for single-grant keys.","example":"org_0199c4e2-1f7a-7c31-8d44-2b9f6a1e05c7"},"required":true,"description":"Required organizer tenant id. There is intentionally no default, even for single-grant keys.","name":"Ticketing-Organizer","in":"header"}],"requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/OrganizerCreate"}}}},"responses":{"200":{"description":"The organizer this key already created with that slug.","headers":{"Request-Id":{"description":"Identifier for this API request.","schema":{"type":"string","format":"uuid"}}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Organizer"}}}},"201":{"description":"The new organizer.","headers":{"Request-Id":{"description":"Identifier for this API request.","schema":{"type":"string","format":"uuid"}}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Organizer"}}}},"400":{"description":"Invalid request","headers":{"Request-Id":{"description":"Identifier for this API request.","schema":{"type":"string","format":"uuid"}}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorEnvelope"}}}},"401":{"description":"Authentication failed","headers":{"Request-Id":{"description":"Identifier for this API request.","schema":{"type":"string","format":"uuid"}}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorEnvelope"}}}},"403":{"description":"Organizer grant required","headers":{"Request-Id":{"description":"Identifier for this API request.","schema":{"type":"string","format":"uuid"}}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorEnvelope"}}}},"404":{"description":"Resource not found","headers":{"Request-Id":{"description":"Identifier for this API request.","schema":{"type":"string","format":"uuid"}}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorEnvelope"}}}},"409":{"description":"Idempotency conflict","headers":{"Request-Id":{"description":"Identifier for this API request.","schema":{"type":"string","format":"uuid"}}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorEnvelope"}}}},"422":{"description":"Request is semantically invalid","headers":{"Request-Id":{"description":"Identifier for this API request.","schema":{"type":"string","format":"uuid"}}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorEnvelope"}}}},"429":{"description":"Rate limited","headers":{"Request-Id":{"description":"Identifier for this API request.","schema":{"type":"string","format":"uuid"}}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorEnvelope"}}}},"500":{"description":"Internal failure","headers":{"Request-Id":{"description":"Identifier for this API request.","schema":{"type":"string","format":"uuid"}}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorEnvelope"}}}},"503":{"description":"A dependency is unavailable. `live_payments_not_configured` means the platform operator must complete live Stripe credential setup before retrying; no Stripe request is made for that refusal. On checkout creation, no session or capacity hold is created either. Other transient dependency failures may be retried.","headers":{"Request-Id":{"description":"Identifier for this API request.","schema":{"type":"string","format":"uuid"}}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorEnvelope"}}}}}}},"/v1/organizer/collection":{"patch":{"tags":["Organizer"],"summary":"Set where the current organizer's payments are charged","description":"Lissen staff and provisioner keys only. Sets the organizer's ticket and membership collection and its membership tax. A change applies to new payments: each existing payment, order and membership keeps the account that charged it. An organizer collecting on `connected_account` without a connected account cannot take paid sales.","security":[{"bearerAuth":[]}],"parameters":[{"schema":{"type":"string","pattern":"^org_[0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{12}$","description":"Required organizer tenant id. There is intentionally no default, even for single-grant keys.","example":"org_0199c4e2-1f7a-7c31-8d44-2b9f6a1e05c7"},"required":true,"description":"Required organizer tenant id. There is intentionally no default, even for single-grant keys.","name":"Ticketing-Organizer","in":"header"}],"requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/OrganizerCollectionUpdate"}}}},"responses":{"200":{"description":"The organizer.","headers":{"Request-Id":{"description":"Identifier for this API request.","schema":{"type":"string","format":"uuid"}}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Organizer"}}}},"400":{"description":"Invalid request","headers":{"Request-Id":{"description":"Identifier for this API request.","schema":{"type":"string","format":"uuid"}}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorEnvelope"}}}},"401":{"description":"Authentication failed","headers":{"Request-Id":{"description":"Identifier for this API request.","schema":{"type":"string","format":"uuid"}}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorEnvelope"}}}},"403":{"description":"Organizer grant required","headers":{"Request-Id":{"description":"Identifier for this API request.","schema":{"type":"string","format":"uuid"}}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorEnvelope"}}}},"404":{"description":"Resource not found","headers":{"Request-Id":{"description":"Identifier for this API request.","schema":{"type":"string","format":"uuid"}}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorEnvelope"}}}},"409":{"description":"Idempotency conflict","headers":{"Request-Id":{"description":"Identifier for this API request.","schema":{"type":"string","format":"uuid"}}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorEnvelope"}}}},"422":{"description":"Request is semantically invalid","headers":{"Request-Id":{"description":"Identifier for this API request.","schema":{"type":"string","format":"uuid"}}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorEnvelope"}}}},"429":{"description":"Rate limited","headers":{"Request-Id":{"description":"Identifier for this API request.","schema":{"type":"string","format":"uuid"}}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorEnvelope"}}}},"500":{"description":"Internal failure","headers":{"Request-Id":{"description":"Identifier for this API request.","schema":{"type":"string","format":"uuid"}}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorEnvelope"}}}},"503":{"description":"A dependency is unavailable. `live_payments_not_configured` means the platform operator must complete live Stripe credential setup before retrying; no Stripe request is made for that refusal. On checkout creation, no session or capacity hold is created either. Other transient dependency failures may be retried.","headers":{"Request-Id":{"description":"Identifier for this API request.","schema":{"type":"string","format":"uuid"}}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorEnvelope"}}}}}}},"/v1/events/{id}/attendees":{"get":{"tags":["Events"],"summary":"List an event's attendees","description":"The holders of the event's live tickets, newest ticket first, id-keyset. Each entry carries the holder's name and email, the ticket type and whether the ticket has been scanned in; it deliberately carries no admission code, price, order, buyer or payment state. A revoked ticket is not an attendee. A signed-in event editor can read this for the events they manage; an event outside their access answers 404.","security":[{"bearerAuth":[]}],"parameters":[{"schema":{"type":"string","pattern":"^evt_[0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{12}$","example":"evt_0199c4e5-2b10-7f44-8a91-3c7d0e5f8a22"},"required":true,"name":"id","in":"path"},{"schema":{"type":"integer","minimum":1,"maximum":100,"default":20},"required":false,"name":"limit","in":"query"},{"schema":{"type":"string"},"required":false,"name":"starting_after","in":"query"},{"schema":{"type":"string"},"required":false,"name":"ending_before","in":"query"},{"schema":{"type":"string","pattern":"^org_[0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{12}$","description":"Required organizer tenant id. There is intentionally no default, even for single-grant keys.","example":"org_0199c4e2-1f7a-7c31-8d44-2b9f6a1e05c7"},"required":true,"description":"Required organizer tenant id. There is intentionally no default, even for single-grant keys.","name":"Ticketing-Organizer","in":"header"}],"responses":{"200":{"description":"A page of attendees.","headers":{"Request-Id":{"description":"Identifier for this API request.","schema":{"type":"string","format":"uuid"}}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/AttendeeList"}}}},"400":{"description":"Invalid request","headers":{"Request-Id":{"description":"Identifier for this API request.","schema":{"type":"string","format":"uuid"}}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorEnvelope"}}}},"401":{"description":"Authentication failed","headers":{"Request-Id":{"description":"Identifier for this API request.","schema":{"type":"string","format":"uuid"}}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorEnvelope"}}}},"403":{"description":"Organizer grant required","headers":{"Request-Id":{"description":"Identifier for this API request.","schema":{"type":"string","format":"uuid"}}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorEnvelope"}}}},"404":{"description":"Resource not found","headers":{"Request-Id":{"description":"Identifier for this API request.","schema":{"type":"string","format":"uuid"}}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorEnvelope"}}}},"409":{"description":"Idempotency conflict","headers":{"Request-Id":{"description":"Identifier for this API request.","schema":{"type":"string","format":"uuid"}}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorEnvelope"}}}},"422":{"description":"Request is semantically invalid","headers":{"Request-Id":{"description":"Identifier for this API request.","schema":{"type":"string","format":"uuid"}}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorEnvelope"}}}},"429":{"description":"Rate limited","headers":{"Request-Id":{"description":"Identifier for this API request.","schema":{"type":"string","format":"uuid"}}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorEnvelope"}}}},"500":{"description":"Internal failure","headers":{"Request-Id":{"description":"Identifier for this API request.","schema":{"type":"string","format":"uuid"}}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorEnvelope"}}}},"503":{"description":"A dependency is unavailable. `live_payments_not_configured` means the platform operator must complete live Stripe credential setup before retrying; no Stripe request is made for that refusal. On checkout creation, no session or capacity hold is created either. Other transient dependency failures may be retried.","headers":{"Request-Id":{"description":"Identifier for this API request.","schema":{"type":"string","format":"uuid"}}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorEnvelope"}}}}}}},"/v1/door_passes":{"post":{"tags":["Door passes"],"summary":"Create a door pass","description":"An optional Idempotency-Key replays the same pass and bearer. Unkeyed requests create independent passes.","security":[{"bearerAuth":[]}],"parameters":[{"schema":{"type":"string","pattern":"^org_[0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{12}$","description":"Required organizer tenant id. There is intentionally no default, even for single-grant keys.","example":"org_0199c4e2-1f7a-7c31-8d44-2b9f6a1e05c7"},"required":true,"description":"Required organizer tenant id. There is intentionally no default, even for single-grant keys.","name":"Ticketing-Organizer","in":"header"},{"schema":{"type":"string"},"required":false,"name":"Idempotency-Key","in":"header"}],"requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/DoorPassCreate"}}}},"responses":{"201":{"description":"The door pass and its bearer token; keyed retries replay the same token for one hour.","headers":{"Request-Id":{"description":"Identifier for this API request.","schema":{"type":"string","format":"uuid"}}},"content":{"application/json":{"schema":{"allOf":[{"$ref":"#/components/schemas/DoorPass"},{"type":"object","properties":{"token":{"type":"string"}},"required":["token"]}]}}}},"400":{"description":"Invalid request","headers":{"Request-Id":{"description":"Identifier for this API request.","schema":{"type":"string","format":"uuid"}}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorEnvelope"}}}},"401":{"description":"Authentication failed","headers":{"Request-Id":{"description":"Identifier for this API request.","schema":{"type":"string","format":"uuid"}}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorEnvelope"}}}},"403":{"description":"Organizer grant required","headers":{"Request-Id":{"description":"Identifier for this API request.","schema":{"type":"string","format":"uuid"}}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorEnvelope"}}}},"404":{"description":"Resource not found","headers":{"Request-Id":{"description":"Identifier for this API request.","schema":{"type":"string","format":"uuid"}}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorEnvelope"}}}},"409":{"description":"Idempotency conflict","headers":{"Request-Id":{"description":"Identifier for this API request.","schema":{"type":"string","format":"uuid"}}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorEnvelope"}}}},"422":{"description":"Request is semantically invalid","headers":{"Request-Id":{"description":"Identifier for this API request.","schema":{"type":"string","format":"uuid"}}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorEnvelope"}}}},"429":{"description":"Rate limited","headers":{"Request-Id":{"description":"Identifier for this API request.","schema":{"type":"string","format":"uuid"}}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorEnvelope"}}}},"500":{"description":"Internal failure","headers":{"Request-Id":{"description":"Identifier for this API request.","schema":{"type":"string","format":"uuid"}}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorEnvelope"}}}},"503":{"description":"A dependency is unavailable. `live_payments_not_configured` means the platform operator must complete live Stripe credential setup before retrying; no Stripe request is made for that refusal. On checkout creation, no session or capacity hold is created either. Other transient dependency failures may be retried.","headers":{"Request-Id":{"description":"Identifier for this API request.","schema":{"type":"string","format":"uuid"}}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorEnvelope"}}}}}},"get":{"tags":["Door passes"],"summary":"List door passes","security":[{"bearerAuth":[]}],"parameters":[{"schema":{"type":"integer","minimum":1,"maximum":100,"default":20},"required":false,"name":"limit","in":"query"},{"schema":{"type":"string"},"required":false,"name":"starting_after","in":"query"},{"schema":{"type":"string"},"required":false,"name":"ending_before","in":"query"},{"schema":{"type":"string","pattern":"^evt_[0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{12}$"},"required":false,"name":"event_id","in":"query"},{"schema":{"type":"string","enum":["active","expired","revoked"]},"required":false,"name":"status","in":"query"},{"schema":{"type":"string","pattern":"^org_[0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{12}$","description":"Required organizer tenant id. There is intentionally no default, even for single-grant keys.","example":"org_0199c4e2-1f7a-7c31-8d44-2b9f6a1e05c7"},"required":true,"description":"Required organizer tenant id. There is intentionally no default, even for single-grant keys.","name":"Ticketing-Organizer","in":"header"}],"responses":{"200":{"description":"A page of door passes.","headers":{"Request-Id":{"description":"Identifier for this API request.","schema":{"type":"string","format":"uuid"}}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/DoorPassList"}}}},"400":{"description":"Invalid request","headers":{"Request-Id":{"description":"Identifier for this API request.","schema":{"type":"string","format":"uuid"}}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorEnvelope"}}}},"401":{"description":"Authentication failed","headers":{"Request-Id":{"description":"Identifier for this API request.","schema":{"type":"string","format":"uuid"}}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorEnvelope"}}}},"403":{"description":"Organizer grant required","headers":{"Request-Id":{"description":"Identifier for this API request.","schema":{"type":"string","format":"uuid"}}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorEnvelope"}}}},"404":{"description":"Resource not found","headers":{"Request-Id":{"description":"Identifier for this API request.","schema":{"type":"string","format":"uuid"}}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorEnvelope"}}}},"409":{"description":"Idempotency conflict","headers":{"Request-Id":{"description":"Identifier for this API request.","schema":{"type":"string","format":"uuid"}}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorEnvelope"}}}},"422":{"description":"Request is semantically invalid","headers":{"Request-Id":{"description":"Identifier for this API request.","schema":{"type":"string","format":"uuid"}}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorEnvelope"}}}},"429":{"description":"Rate limited","headers":{"Request-Id":{"description":"Identifier for this API request.","schema":{"type":"string","format":"uuid"}}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorEnvelope"}}}},"500":{"description":"Internal failure","headers":{"Request-Id":{"description":"Identifier for this API request.","schema":{"type":"string","format":"uuid"}}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorEnvelope"}}}},"503":{"description":"A dependency is unavailable. `live_payments_not_configured` means the platform operator must complete live Stripe credential setup before retrying; no Stripe request is made for that refusal. On checkout creation, no session or capacity hold is created either. Other transient dependency failures may be retried.","headers":{"Request-Id":{"description":"Identifier for this API request.","schema":{"type":"string","format":"uuid"}}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorEnvelope"}}}}}}},"/v1/door_passes/{id}":{"get":{"tags":["Door passes"],"summary":"Retrieve a door pass","security":[{"bearerAuth":[]}],"parameters":[{"schema":{"type":"string","pattern":"^key_[0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{12}$"},"required":true,"name":"id","in":"path"},{"schema":{"type":"string","pattern":"^org_[0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{12}$","description":"Required organizer tenant id. There is intentionally no default, even for single-grant keys.","example":"org_0199c4e2-1f7a-7c31-8d44-2b9f6a1e05c7"},"required":true,"description":"Required organizer tenant id. There is intentionally no default, even for single-grant keys.","name":"Ticketing-Organizer","in":"header"}],"responses":{"200":{"description":"The door pass.","headers":{"Request-Id":{"description":"Identifier for this API request.","schema":{"type":"string","format":"uuid"}}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/DoorPass"}}}},"400":{"description":"Invalid request","headers":{"Request-Id":{"description":"Identifier for this API request.","schema":{"type":"string","format":"uuid"}}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorEnvelope"}}}},"401":{"description":"Authentication failed","headers":{"Request-Id":{"description":"Identifier for this API request.","schema":{"type":"string","format":"uuid"}}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorEnvelope"}}}},"403":{"description":"Organizer grant required","headers":{"Request-Id":{"description":"Identifier for this API request.","schema":{"type":"string","format":"uuid"}}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorEnvelope"}}}},"404":{"description":"Resource not found","headers":{"Request-Id":{"description":"Identifier for this API request.","schema":{"type":"string","format":"uuid"}}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorEnvelope"}}}},"409":{"description":"Idempotency conflict","headers":{"Request-Id":{"description":"Identifier for this API request.","schema":{"type":"string","format":"uuid"}}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorEnvelope"}}}},"422":{"description":"Request is semantically invalid","headers":{"Request-Id":{"description":"Identifier for this API request.","schema":{"type":"string","format":"uuid"}}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorEnvelope"}}}},"429":{"description":"Rate limited","headers":{"Request-Id":{"description":"Identifier for this API request.","schema":{"type":"string","format":"uuid"}}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorEnvelope"}}}},"500":{"description":"Internal failure","headers":{"Request-Id":{"description":"Identifier for this API request.","schema":{"type":"string","format":"uuid"}}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorEnvelope"}}}},"503":{"description":"A dependency is unavailable. `live_payments_not_configured` means the platform operator must complete live Stripe credential setup before retrying; no Stripe request is made for that refusal. On checkout creation, no session or capacity hold is created either. Other transient dependency failures may be retried.","headers":{"Request-Id":{"description":"Identifier for this API request.","schema":{"type":"string","format":"uuid"}}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorEnvelope"}}}}}}},"/v1/door_passes/{id}/revoke":{"post":{"tags":["Door passes"],"summary":"Revoke a door pass","security":[{"bearerAuth":[]}],"parameters":[{"schema":{"type":"string","pattern":"^key_[0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{12}$"},"required":true,"name":"id","in":"path"},{"schema":{"type":"string","pattern":"^org_[0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{12}$","description":"Required organizer tenant id. There is intentionally no default, even for single-grant keys.","example":"org_0199c4e2-1f7a-7c31-8d44-2b9f6a1e05c7"},"required":true,"description":"Required organizer tenant id. There is intentionally no default, even for single-grant keys.","name":"Ticketing-Organizer","in":"header"}],"responses":{"200":{"description":"The revoked door pass.","headers":{"Request-Id":{"description":"Identifier for this API request.","schema":{"type":"string","format":"uuid"}}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/DoorPass"}}}},"400":{"description":"Invalid request","headers":{"Request-Id":{"description":"Identifier for this API request.","schema":{"type":"string","format":"uuid"}}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorEnvelope"}}}},"401":{"description":"Authentication failed","headers":{"Request-Id":{"description":"Identifier for this API request.","schema":{"type":"string","format":"uuid"}}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorEnvelope"}}}},"403":{"description":"Organizer grant required","headers":{"Request-Id":{"description":"Identifier for this API request.","schema":{"type":"string","format":"uuid"}}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorEnvelope"}}}},"404":{"description":"Resource not found","headers":{"Request-Id":{"description":"Identifier for this API request.","schema":{"type":"string","format":"uuid"}}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorEnvelope"}}}},"409":{"description":"Idempotency conflict","headers":{"Request-Id":{"description":"Identifier for this API request.","schema":{"type":"string","format":"uuid"}}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorEnvelope"}}}},"422":{"description":"Request is semantically invalid","headers":{"Request-Id":{"description":"Identifier for this API request.","schema":{"type":"string","format":"uuid"}}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorEnvelope"}}}},"429":{"description":"Rate limited","headers":{"Request-Id":{"description":"Identifier for this API request.","schema":{"type":"string","format":"uuid"}}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorEnvelope"}}}},"500":{"description":"Internal failure","headers":{"Request-Id":{"description":"Identifier for this API request.","schema":{"type":"string","format":"uuid"}}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorEnvelope"}}}},"503":{"description":"A dependency is unavailable. `live_payments_not_configured` means the platform operator must complete live Stripe credential setup before retrying; no Stripe request is made for that refusal. On checkout creation, no session or capacity hold is created either. Other transient dependency failures may be retried.","headers":{"Request-Id":{"description":"Identifier for this API request.","schema":{"type":"string","format":"uuid"}}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorEnvelope"}}}}}}},"/v1/checkins":{"post":{"tags":["Check-in"],"summary":"Scan an admission code","security":[{"bearerAuth":[]}],"parameters":[{"schema":{"type":"string","pattern":"^org_[0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{12}$","description":"Required for API-key callers. Door-pass callers may omit it only when the pass has one organizer grant.","example":"org_0199c4e2-1f7a-7c31-8d44-2b9f6a1e05c7"},"required":false,"description":"Required for API-key callers. Door-pass callers may omit it only when the pass has one organizer grant.","name":"Ticketing-Organizer","in":"header"}],"requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/CheckinCreate"}}}},"responses":{"201":{"description":"An admitted check-in.","headers":{"Request-Id":{"description":"Identifier for this API request.","schema":{"type":"string","format":"uuid"}}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Checkin"}}}},"400":{"description":"Invalid request","headers":{"Request-Id":{"description":"Identifier for this API request.","schema":{"type":"string","format":"uuid"}}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorEnvelope"}}}},"401":{"description":"Authentication failed","headers":{"Request-Id":{"description":"Identifier for this API request.","schema":{"type":"string","format":"uuid"}}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorEnvelope"}}}},"403":{"description":"Organizer grant required","headers":{"Request-Id":{"description":"Identifier for this API request.","schema":{"type":"string","format":"uuid"}}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorEnvelope"}}}},"404":{"description":"Resource not found","headers":{"Request-Id":{"description":"Identifier for this API request.","schema":{"type":"string","format":"uuid"}}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorEnvelope"}}}},"409":{"description":"Idempotency conflict","headers":{"Request-Id":{"description":"Identifier for this API request.","schema":{"type":"string","format":"uuid"}}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorEnvelope"}}}},"422":{"description":"Request is semantically invalid","headers":{"Request-Id":{"description":"Identifier for this API request.","schema":{"type":"string","format":"uuid"}}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorEnvelope"}}}},"429":{"description":"Rate limited","headers":{"Request-Id":{"description":"Identifier for this API request.","schema":{"type":"string","format":"uuid"}}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorEnvelope"}}}},"500":{"description":"Internal failure","headers":{"Request-Id":{"description":"Identifier for this API request.","schema":{"type":"string","format":"uuid"}}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorEnvelope"}}}},"503":{"description":"A dependency is unavailable. `live_payments_not_configured` means the platform operator must complete live Stripe credential setup before retrying; no Stripe request is made for that refusal. On checkout creation, no session or capacity hold is created either. Other transient dependency failures may be retried.","headers":{"Request-Id":{"description":"Identifier for this API request.","schema":{"type":"string","format":"uuid"}}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorEnvelope"}}}}}},"get":{"tags":["Check-in"],"summary":"List check-ins","security":[{"bearerAuth":[]}],"parameters":[{"schema":{"type":"integer","minimum":1,"maximum":100,"default":20},"required":false,"name":"limit","in":"query"},{"schema":{"type":"string"},"required":false,"name":"starting_after","in":"query"},{"schema":{"type":"string"},"required":false,"name":"ending_before","in":"query"},{"schema":{"type":"string","pattern":"^evt_[0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{12}$"},"required":false,"name":"event_id","in":"query"},{"schema":{"type":"string","enum":["admitted","rejected","superseded","voided"]},"required":false,"name":"outcome","in":"query"},{"schema":{"type":"string","pattern":"^key_[0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{12}$"},"required":false,"name":"door_pass_id","in":"query"},{"schema":{"type":"string","pattern":"^pos_[0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{12}$"},"required":false,"name":"position_id","in":"query"},{"schema":{"type":"string","pattern":"^cus_[0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{12}$"},"required":false,"name":"credited_customer_id","in":"query"},{"schema":{"type":"string","pattern":"^org_[0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{12}$","description":"Required organizer tenant id. There is intentionally no default, even for single-grant keys.","example":"org_0199c4e2-1f7a-7c31-8d44-2b9f6a1e05c7"},"required":true,"description":"Required organizer tenant id. There is intentionally no default, even for single-grant keys.","name":"Ticketing-Organizer","in":"header"}],"responses":{"200":{"description":"A page of check-ins.","headers":{"Request-Id":{"description":"Identifier for this API request.","schema":{"type":"string","format":"uuid"}}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/CheckinList"}}}},"400":{"description":"Invalid request","headers":{"Request-Id":{"description":"Identifier for this API request.","schema":{"type":"string","format":"uuid"}}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorEnvelope"}}}},"401":{"description":"Authentication failed","headers":{"Request-Id":{"description":"Identifier for this API request.","schema":{"type":"string","format":"uuid"}}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorEnvelope"}}}},"403":{"description":"Organizer grant required","headers":{"Request-Id":{"description":"Identifier for this API request.","schema":{"type":"string","format":"uuid"}}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorEnvelope"}}}},"404":{"description":"Resource not found","headers":{"Request-Id":{"description":"Identifier for this API request.","schema":{"type":"string","format":"uuid"}}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorEnvelope"}}}},"409":{"description":"Idempotency conflict","headers":{"Request-Id":{"description":"Identifier for this API request.","schema":{"type":"string","format":"uuid"}}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorEnvelope"}}}},"422":{"description":"Request is semantically invalid","headers":{"Request-Id":{"description":"Identifier for this API request.","schema":{"type":"string","format":"uuid"}}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorEnvelope"}}}},"429":{"description":"Rate limited","headers":{"Request-Id":{"description":"Identifier for this API request.","schema":{"type":"string","format":"uuid"}}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorEnvelope"}}}},"500":{"description":"Internal failure","headers":{"Request-Id":{"description":"Identifier for this API request.","schema":{"type":"string","format":"uuid"}}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorEnvelope"}}}},"503":{"description":"A dependency is unavailable. `live_payments_not_configured` means the platform operator must complete live Stripe credential setup before retrying; no Stripe request is made for that refusal. On checkout creation, no session or capacity hold is created either. Other transient dependency failures may be retried.","headers":{"Request-Id":{"description":"Identifier for this API request.","schema":{"type":"string","format":"uuid"}}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorEnvelope"}}}}}}},"/v1/checkins/sync":{"post":{"tags":["Check-in"],"summary":"Synchronize offline scans","security":[{"bearerAuth":[]}],"parameters":[{"schema":{"type":"string","pattern":"^org_[0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{12}$","description":"Required for API-key callers. Door-pass callers may omit it only when the pass has one organizer grant.","example":"org_0199c4e2-1f7a-7c31-8d44-2b9f6a1e05c7"},"required":false,"description":"Required for API-key callers. Door-pass callers may omit it only when the pass has one organizer grant.","name":"Ticketing-Organizer","in":"header"}],"requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/CheckinSync"}}}},"responses":{"200":{"description":"The ordered result for each scan.","headers":{"Request-Id":{"description":"Identifier for this API request.","schema":{"type":"string","format":"uuid"}}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/CheckinSyncResponse"}}}},"400":{"description":"Invalid request","headers":{"Request-Id":{"description":"Identifier for this API request.","schema":{"type":"string","format":"uuid"}}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorEnvelope"}}}},"401":{"description":"Authentication failed","headers":{"Request-Id":{"description":"Identifier for this API request.","schema":{"type":"string","format":"uuid"}}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorEnvelope"}}}},"403":{"description":"Organizer grant required","headers":{"Request-Id":{"description":"Identifier for this API request.","schema":{"type":"string","format":"uuid"}}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorEnvelope"}}}},"404":{"description":"Resource not found","headers":{"Request-Id":{"description":"Identifier for this API request.","schema":{"type":"string","format":"uuid"}}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorEnvelope"}}}},"409":{"description":"Idempotency conflict","headers":{"Request-Id":{"description":"Identifier for this API request.","schema":{"type":"string","format":"uuid"}}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorEnvelope"}}}},"422":{"description":"Request is semantically invalid","headers":{"Request-Id":{"description":"Identifier for this API request.","schema":{"type":"string","format":"uuid"}}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorEnvelope"}}}},"429":{"description":"Rate limited","headers":{"Request-Id":{"description":"Identifier for this API request.","schema":{"type":"string","format":"uuid"}}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorEnvelope"}}}},"500":{"description":"Internal failure","headers":{"Request-Id":{"description":"Identifier for this API request.","schema":{"type":"string","format":"uuid"}}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorEnvelope"}}}},"503":{"description":"A dependency is unavailable. `live_payments_not_configured` means the platform operator must complete live Stripe credential setup before retrying; no Stripe request is made for that refusal. On checkout creation, no session or capacity hold is created either. Other transient dependency failures may be retried.","headers":{"Request-Id":{"description":"Identifier for this API request.","schema":{"type":"string","format":"uuid"}}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorEnvelope"}}}}}}},"/v1/checkins/{id}":{"get":{"tags":["Check-in"],"summary":"Retrieve a check-in","security":[{"bearerAuth":[]}],"parameters":[{"schema":{"type":"string","pattern":"^chk_[0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{12}$"},"required":true,"name":"id","in":"path"},{"schema":{"type":"string","pattern":"^org_[0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{12}$","description":"Required organizer tenant id. There is intentionally no default, even for single-grant keys.","example":"org_0199c4e2-1f7a-7c31-8d44-2b9f6a1e05c7"},"required":true,"description":"Required organizer tenant id. There is intentionally no default, even for single-grant keys.","name":"Ticketing-Organizer","in":"header"}],"responses":{"200":{"description":"The check-in.","headers":{"Request-Id":{"description":"Identifier for this API request.","schema":{"type":"string","format":"uuid"}}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Checkin"}}}},"400":{"description":"Invalid request","headers":{"Request-Id":{"description":"Identifier for this API request.","schema":{"type":"string","format":"uuid"}}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorEnvelope"}}}},"401":{"description":"Authentication failed","headers":{"Request-Id":{"description":"Identifier for this API request.","schema":{"type":"string","format":"uuid"}}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorEnvelope"}}}},"403":{"description":"Organizer grant required","headers":{"Request-Id":{"description":"Identifier for this API request.","schema":{"type":"string","format":"uuid"}}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorEnvelope"}}}},"404":{"description":"Resource not found","headers":{"Request-Id":{"description":"Identifier for this API request.","schema":{"type":"string","format":"uuid"}}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorEnvelope"}}}},"409":{"description":"Idempotency conflict","headers":{"Request-Id":{"description":"Identifier for this API request.","schema":{"type":"string","format":"uuid"}}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorEnvelope"}}}},"422":{"description":"Request is semantically invalid","headers":{"Request-Id":{"description":"Identifier for this API request.","schema":{"type":"string","format":"uuid"}}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorEnvelope"}}}},"429":{"description":"Rate limited","headers":{"Request-Id":{"description":"Identifier for this API request.","schema":{"type":"string","format":"uuid"}}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorEnvelope"}}}},"500":{"description":"Internal failure","headers":{"Request-Id":{"description":"Identifier for this API request.","schema":{"type":"string","format":"uuid"}}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorEnvelope"}}}},"503":{"description":"A dependency is unavailable. `live_payments_not_configured` means the platform operator must complete live Stripe credential setup before retrying; no Stripe request is made for that refusal. On checkout creation, no session or capacity hold is created either. Other transient dependency failures may be retried.","headers":{"Request-Id":{"description":"Identifier for this API request.","schema":{"type":"string","format":"uuid"}}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorEnvelope"}}}}}}},"/v1/checkins/{id}/void":{"post":{"tags":["Check-in"],"summary":"Void an admitted check-in","security":[{"bearerAuth":[]}],"parameters":[{"schema":{"type":"string","pattern":"^chk_[0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{12}$"},"required":true,"name":"id","in":"path"},{"schema":{"type":"string","pattern":"^org_[0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{12}$","description":"Required for API-key callers. Door-pass callers may omit it only when the pass has one organizer grant.","example":"org_0199c4e2-1f7a-7c31-8d44-2b9f6a1e05c7"},"required":false,"description":"Required for API-key callers. Door-pass callers may omit it only when the pass has one organizer grant.","name":"Ticketing-Organizer","in":"header"}],"responses":{"200":{"description":"The voided check-in.","headers":{"Request-Id":{"description":"Identifier for this API request.","schema":{"type":"string","format":"uuid"}}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Checkin"}}}},"400":{"description":"Invalid request","headers":{"Request-Id":{"description":"Identifier for this API request.","schema":{"type":"string","format":"uuid"}}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorEnvelope"}}}},"401":{"description":"Authentication failed","headers":{"Request-Id":{"description":"Identifier for this API request.","schema":{"type":"string","format":"uuid"}}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorEnvelope"}}}},"403":{"description":"Organizer grant required","headers":{"Request-Id":{"description":"Identifier for this API request.","schema":{"type":"string","format":"uuid"}}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorEnvelope"}}}},"404":{"description":"Resource not found","headers":{"Request-Id":{"description":"Identifier for this API request.","schema":{"type":"string","format":"uuid"}}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorEnvelope"}}}},"409":{"description":"Idempotency conflict","headers":{"Request-Id":{"description":"Identifier for this API request.","schema":{"type":"string","format":"uuid"}}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorEnvelope"}}}},"422":{"description":"Request is semantically invalid","headers":{"Request-Id":{"description":"Identifier for this API request.","schema":{"type":"string","format":"uuid"}}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorEnvelope"}}}},"429":{"description":"Rate limited","headers":{"Request-Id":{"description":"Identifier for this API request.","schema":{"type":"string","format":"uuid"}}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorEnvelope"}}}},"500":{"description":"Internal failure","headers":{"Request-Id":{"description":"Identifier for this API request.","schema":{"type":"string","format":"uuid"}}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorEnvelope"}}}},"503":{"description":"A dependency is unavailable. `live_payments_not_configured` means the platform operator must complete live Stripe credential setup before retrying; no Stripe request is made for that refusal. On checkout creation, no session or capacity hold is created either. Other transient dependency failures may be retried.","headers":{"Request-Id":{"description":"Identifier for this API request.","schema":{"type":"string","format":"uuid"}}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorEnvelope"}}}}}}},"/v1/events/{id}/manifest":{"get":{"tags":["Check-in"],"summary":"Download an event admission manifest","security":[{"bearerAuth":[]}],"parameters":[{"schema":{"type":"string","pattern":"^evt_[0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{12}$","example":"evt_0199c4e5-2b10-7f44-8a91-3c7d0e5f8a22"},"required":true,"name":"id","in":"path"},{"schema":{"type":"string","pattern":"^org_[0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{12}$","description":"Required for API-key callers. Door-pass callers may omit it only when the pass has one organizer grant.","example":"org_0199c4e2-1f7a-7c31-8d44-2b9f6a1e05c7"},"required":false,"description":"Required for API-key callers. Door-pass callers may omit it only when the pass has one organizer grant.","name":"Ticketing-Organizer","in":"header"},{"schema":{"type":"string","description":"The ETag from the previous manifest response."},"required":false,"description":"The ETag from the previous manifest response.","name":"If-None-Match","in":"header"}],"responses":{"200":{"description":"The current manifest.","headers":{"Request-Id":{"description":"Identifier for this API request.","schema":{"type":"string","format":"uuid"}},"ETag":{"schema":{"type":"string"}},"Cache-Control":{"schema":{"type":"string"}}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Manifest"}}}},"304":{"description":"The manifest has not changed.","headers":{"Request-Id":{"description":"Identifier for this API request.","schema":{"type":"string","format":"uuid"}}}},"400":{"description":"Invalid request","headers":{"Request-Id":{"description":"Identifier for this API request.","schema":{"type":"string","format":"uuid"}}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorEnvelope"}}}},"401":{"description":"Authentication failed","headers":{"Request-Id":{"description":"Identifier for this API request.","schema":{"type":"string","format":"uuid"}}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorEnvelope"}}}},"403":{"description":"Organizer grant required","headers":{"Request-Id":{"description":"Identifier for this API request.","schema":{"type":"string","format":"uuid"}}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorEnvelope"}}}},"404":{"description":"Resource not found","headers":{"Request-Id":{"description":"Identifier for this API request.","schema":{"type":"string","format":"uuid"}}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorEnvelope"}}}},"409":{"description":"Idempotency conflict","headers":{"Request-Id":{"description":"Identifier for this API request.","schema":{"type":"string","format":"uuid"}}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorEnvelope"}}}},"422":{"description":"Request is semantically invalid","headers":{"Request-Id":{"description":"Identifier for this API request.","schema":{"type":"string","format":"uuid"}}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorEnvelope"}}}},"429":{"description":"Rate limited","headers":{"Request-Id":{"description":"Identifier for this API request.","schema":{"type":"string","format":"uuid"}}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorEnvelope"}}}},"500":{"description":"Internal failure","headers":{"Request-Id":{"description":"Identifier for this API request.","schema":{"type":"string","format":"uuid"}}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorEnvelope"}}}},"503":{"description":"A dependency is unavailable. `live_payments_not_configured` means the platform operator must complete live Stripe credential setup before retrying; no Stripe request is made for that refusal. On checkout creation, no session or capacity hold is created either. Other transient dependency failures may be retried.","headers":{"Request-Id":{"description":"Identifier for this API request.","schema":{"type":"string","format":"uuid"}}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorEnvelope"}}}}}}},"/v1/quotes":{"post":{"tags":["Quotes"],"summary":"Preview a quote","description":"A non-binding preview: the same pricing engine a checkout runs, with no hold, no reservation and no state change. It therefore takes no Idempotency-Key and emits no activity. Effects carry provenance (`source`) when applied and `requires` when they are teasers; `degraded` is true when a provider failed open.","security":[{"bearerAuth":[]}],"parameters":[{"schema":{"type":"string","pattern":"^org_[0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{12}$","description":"Required organizer tenant id. There is intentionally no default, even for single-grant keys.","example":"org_0199c4e2-1f7a-7c31-8d44-2b9f6a1e05c7"},"required":true,"description":"Required organizer tenant id. There is intentionally no default, even for single-grant keys.","name":"Ticketing-Organizer","in":"header"}],"requestBody":{"content":{"application/json":{"schema":{"type":"object","properties":{"line_items":{"type":"array","items":{"type":"object","properties":{"item_id":{"type":"string","pattern":"^itm_[0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{12}$"},"quantity":{"type":"integer","exclusiveMinimum":0,"maximum":100}},"required":["item_id","quantity"]},"minItems":1,"maxItems":50},"codes":{"type":"array","items":{"type":"string","minLength":1,"maxLength":64},"maxItems":10},"customer":{"type":"object","properties":{"id":{"type":"string","pattern":"^cus_[0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{12}$"},"external_ref":{"type":"string","minLength":1,"maxLength":255}}}},"required":["line_items"]}}}},"responses":{"200":{"description":"The previewed quote.","headers":{"Request-Id":{"description":"Identifier for this API request.","schema":{"type":"string","format":"uuid"}}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Quote"}}}},"400":{"description":"Invalid request","headers":{"Request-Id":{"description":"Identifier for this API request.","schema":{"type":"string","format":"uuid"}}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorEnvelope"}}}},"401":{"description":"Authentication failed","headers":{"Request-Id":{"description":"Identifier for this API request.","schema":{"type":"string","format":"uuid"}}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorEnvelope"}}}},"403":{"description":"Organizer grant required","headers":{"Request-Id":{"description":"Identifier for this API request.","schema":{"type":"string","format":"uuid"}}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorEnvelope"}}}},"404":{"description":"Resource not found","headers":{"Request-Id":{"description":"Identifier for this API request.","schema":{"type":"string","format":"uuid"}}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorEnvelope"}}}},"409":{"description":"Idempotency conflict","headers":{"Request-Id":{"description":"Identifier for this API request.","schema":{"type":"string","format":"uuid"}}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorEnvelope"}}}},"422":{"description":"Request is semantically invalid","headers":{"Request-Id":{"description":"Identifier for this API request.","schema":{"type":"string","format":"uuid"}}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorEnvelope"}}}},"429":{"description":"Rate limited","headers":{"Request-Id":{"description":"Identifier for this API request.","schema":{"type":"string","format":"uuid"}}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorEnvelope"}}}},"500":{"description":"Internal failure","headers":{"Request-Id":{"description":"Identifier for this API request.","schema":{"type":"string","format":"uuid"}}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorEnvelope"}}}},"503":{"description":"A dependency is unavailable. `live_payments_not_configured` means the platform operator must complete live Stripe credential setup before retrying; no Stripe request is made for that refusal. On checkout creation, no session or capacity hold is created either. Other transient dependency failures may be retried.","headers":{"Request-Id":{"description":"Identifier for this API request.","schema":{"type":"string","format":"uuid"}}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorEnvelope"}}}}}}},"/v1/membership_plans":{"get":{"tags":["Memberships"],"summary":"List membership plans","security":[{"bearerAuth":[]}],"parameters":[{"schema":{"type":"integer","minimum":1,"maximum":100,"default":20},"required":false,"name":"limit","in":"query"},{"schema":{"type":"string"},"required":false,"name":"starting_after","in":"query"},{"schema":{"type":"string"},"required":false,"name":"ending_before","in":"query"},{"schema":{"type":"string","pattern":"^org_[0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{12}$","description":"Required organizer tenant id. There is intentionally no default, even for single-grant keys.","example":"org_0199c4e2-1f7a-7c31-8d44-2b9f6a1e05c7"},"required":true,"description":"Required organizer tenant id. There is intentionally no default, even for single-grant keys.","name":"Ticketing-Organizer","in":"header"}],"responses":{"200":{"description":"Membership plans.","headers":{"Request-Id":{"description":"Identifier for this API request.","schema":{"type":"string","format":"uuid"}}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/MembershipPlanList"}}}},"400":{"description":"Invalid request","headers":{"Request-Id":{"description":"Identifier for this API request.","schema":{"type":"string","format":"uuid"}}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorEnvelope"}}}},"401":{"description":"Authentication failed","headers":{"Request-Id":{"description":"Identifier for this API request.","schema":{"type":"string","format":"uuid"}}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorEnvelope"}}}},"403":{"description":"Organizer grant required","headers":{"Request-Id":{"description":"Identifier for this API request.","schema":{"type":"string","format":"uuid"}}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorEnvelope"}}}},"404":{"description":"Resource not found","headers":{"Request-Id":{"description":"Identifier for this API request.","schema":{"type":"string","format":"uuid"}}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorEnvelope"}}}},"409":{"description":"Idempotency conflict","headers":{"Request-Id":{"description":"Identifier for this API request.","schema":{"type":"string","format":"uuid"}}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorEnvelope"}}}},"422":{"description":"Request is semantically invalid","headers":{"Request-Id":{"description":"Identifier for this API request.","schema":{"type":"string","format":"uuid"}}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorEnvelope"}}}},"429":{"description":"Rate limited","headers":{"Request-Id":{"description":"Identifier for this API request.","schema":{"type":"string","format":"uuid"}}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorEnvelope"}}}},"500":{"description":"Internal failure","headers":{"Request-Id":{"description":"Identifier for this API request.","schema":{"type":"string","format":"uuid"}}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorEnvelope"}}}},"503":{"description":"A dependency is unavailable. `live_payments_not_configured` means the platform operator must complete live Stripe credential setup before retrying; no Stripe request is made for that refusal. On checkout creation, no session or capacity hold is created either. Other transient dependency failures may be retried.","headers":{"Request-Id":{"description":"Identifier for this API request.","schema":{"type":"string","format":"uuid"}}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorEnvelope"}}}}}},"post":{"tags":["Memberships"],"summary":"Create a membership plan","security":[{"bearerAuth":[]}],"parameters":[{"schema":{"type":"string","pattern":"^org_[0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{12}$","description":"Required organizer tenant id. There is intentionally no default, even for single-grant keys.","example":"org_0199c4e2-1f7a-7c31-8d44-2b9f6a1e05c7"},"required":true,"description":"Required organizer tenant id. There is intentionally no default, even for single-grant keys.","name":"Ticketing-Organizer","in":"header"},{"schema":{"type":"string","minLength":1,"description":"Required replay key for this create operation."},"required":true,"description":"Required replay key for this create operation.","name":"Idempotency-Key","in":"header"}],"requestBody":{"content":{"application/json":{"schema":{"type":"object","properties":{"name":{"type":"string","minLength":1,"maxLength":200},"currency":{"type":"string","pattern":"^[A-Z]{3}$"},"price_minor":{"type":"integer","minimum":0,"description":"The price per interval in minor units. 0 makes a free plan: no payment, no connected account, no renewal."},"interval":{"type":["string","null"],"enum":["month","year",null],"description":"Required for a paid plan. Omit or send null for a free plan."},"percent_off_bps":{"type":["integer","null"],"minimum":1,"maximum":10000},"unlocks_gated_items":{"type":"boolean"},"active":{"type":"boolean"},"enrollment_open":{"type":"boolean","description":"Close (false) or reopen (true) the plan to new signups without deactivating it. Existing memberships are untouched."},"member_cap":{"type":["integer","null"],"minimum":1,"maximum":1000000,"description":"Cohort size: once this many places are taken the plan stops enrolling. Raising it offers only the new room; clearing it (null) makes the plan uncapped; setting one on an uncapped plan counts its live memberships as the first places."},"required_plan_id":{"type":["string","null"],"pattern":"^mpl_[0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{12}$","description":"Optional join prerequisite: another plan of this organizer whose `active` membership the customer must hold when joining this plan. Send null to clear it. An unknown or other-organizer plan answers `invalid_reference`; the plan itself, or a plan that already requires this one, answers `invalid_request`."},"exclusive_group":{"type":["string","null"],"minLength":1,"maxLength":100,"description":"Optional exclusive group name (1 to 100 characters, surrounding spaces trimmed, compared exactly). Plans of this organizer with the same name are mutually exclusive alternatives: joining one is refused with `membership_group_conflict` while the customer holds an ongoing (not canceled) membership of another. Send null to leave a group. Changing it never cancels or edits an existing membership; existing conflicts are listed by `GET /v1/membership_plan_groups`."},"grace_days":{"type":"integer","minimum":0,"maximum":365,"description":"Benefit grace period in whole days (0 to 365). When an `active` member's ordinary renewal payment fails the membership becomes `past_due` (its status stays truthful) and keeps this plan's benefits for this many days from the moment the failure is recorded; successful payment ends the overdue episode, and benefits stop at the deadline otherwise. 0, the default, means no grace: benefits stop at the failure. Paid plans only: a free plan (`price_minor` 0) has nothing to renew and refuses a value above 0. The window is fixed when an overdue episode starts, so editing this setting never lengthens or shortens an episode already running."},"attendance_rule":{"type":["object","null"],"properties":{"threshold":{"type":"integer","minimum":1,"maximum":1000,"description":"How many distinct events a customer must have attended. Several tickets, orders or scans for one event are one event."},"window_months":{"type":"integer","minimum":1,"maximum":120,"description":"The rolling lookback, in whole calendar months ending now (UTC). There is no calendar-year reset: the window slides."},"retention":{"type":"string","enum":["keep","maintain"],"description":"`keep`: once earned the membership stays until someone ends it, however old the visits get. `maintain`: it ends when the customer stops qualifying and is earned again by qualifying again."},"scope":{"type":"string","enum":["all_events","selected_events"],"description":"`all_events`: every event of the organizer counts. `selected_events`: only events that name this plan (`PUT /v1/events/{id}/qualifying_plans/{plan_id}`), including events not created yet."}},"required":["threshold","window_months","retention","scope"],"description":"Optional attendance rule of a free plan: customers who attend enough events earn a membership of the plan, with no join. Only a free plan (`price_minor` 0) can have one. Send null to remove it; the memberships already earned stay and are never ended by the removed rule. Changing the rule re-evaluates the organizer's customers (grants to those who now qualify and, under `maintain`, ends earned memberships that no longer do), at most 200 customers in the request and the rest within minutes."},"metadata":{"type":"object","additionalProperties":{}}},"required":["name","currency","price_minor"]}}}},"responses":{"201":{"description":"The membership plan.","headers":{"Request-Id":{"description":"Identifier for this API request.","schema":{"type":"string","format":"uuid"}}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/MembershipPlan"}}}},"400":{"description":"Invalid request","headers":{"Request-Id":{"description":"Identifier for this API request.","schema":{"type":"string","format":"uuid"}}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorEnvelope"}}}},"401":{"description":"Authentication failed","headers":{"Request-Id":{"description":"Identifier for this API request.","schema":{"type":"string","format":"uuid"}}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorEnvelope"}}}},"403":{"description":"Organizer grant required","headers":{"Request-Id":{"description":"Identifier for this API request.","schema":{"type":"string","format":"uuid"}}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorEnvelope"}}}},"404":{"description":"Resource not found","headers":{"Request-Id":{"description":"Identifier for this API request.","schema":{"type":"string","format":"uuid"}}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorEnvelope"}}}},"409":{"description":"Idempotency conflict","headers":{"Request-Id":{"description":"Identifier for this API request.","schema":{"type":"string","format":"uuid"}}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorEnvelope"}}}},"422":{"description":"Request is semantically invalid","headers":{"Request-Id":{"description":"Identifier for this API request.","schema":{"type":"string","format":"uuid"}}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorEnvelope"}}}},"429":{"description":"Rate limited","headers":{"Request-Id":{"description":"Identifier for this API request.","schema":{"type":"string","format":"uuid"}}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorEnvelope"}}}},"500":{"description":"Internal failure","headers":{"Request-Id":{"description":"Identifier for this API request.","schema":{"type":"string","format":"uuid"}}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorEnvelope"}}}},"503":{"description":"A dependency is unavailable. `live_payments_not_configured` means the platform operator must complete live Stripe credential setup before retrying; no Stripe request is made for that refusal. On checkout creation, no session or capacity hold is created either. Other transient dependency failures may be retried.","headers":{"Request-Id":{"description":"Identifier for this API request.","schema":{"type":"string","format":"uuid"}}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorEnvelope"}}}}}}},"/v1/membership_plans/{id}":{"get":{"tags":["Memberships"],"summary":"Retrieve a membership plan","security":[{"bearerAuth":[]}],"parameters":[{"schema":{"type":"string","pattern":"^mpl_[0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{12}$"},"required":true,"name":"id","in":"path"},{"schema":{"type":"string","pattern":"^org_[0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{12}$","description":"Required organizer tenant id. There is intentionally no default, even for single-grant keys.","example":"org_0199c4e2-1f7a-7c31-8d44-2b9f6a1e05c7"},"required":true,"description":"Required organizer tenant id. There is intentionally no default, even for single-grant keys.","name":"Ticketing-Organizer","in":"header"}],"responses":{"200":{"description":"The membership plan.","headers":{"Request-Id":{"description":"Identifier for this API request.","schema":{"type":"string","format":"uuid"}}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/MembershipPlan"}}}},"400":{"description":"Invalid request","headers":{"Request-Id":{"description":"Identifier for this API request.","schema":{"type":"string","format":"uuid"}}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorEnvelope"}}}},"401":{"description":"Authentication failed","headers":{"Request-Id":{"description":"Identifier for this API request.","schema":{"type":"string","format":"uuid"}}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorEnvelope"}}}},"403":{"description":"Organizer grant required","headers":{"Request-Id":{"description":"Identifier for this API request.","schema":{"type":"string","format":"uuid"}}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorEnvelope"}}}},"404":{"description":"Resource not found","headers":{"Request-Id":{"description":"Identifier for this API request.","schema":{"type":"string","format":"uuid"}}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorEnvelope"}}}},"409":{"description":"Idempotency conflict","headers":{"Request-Id":{"description":"Identifier for this API request.","schema":{"type":"string","format":"uuid"}}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorEnvelope"}}}},"422":{"description":"Request is semantically invalid","headers":{"Request-Id":{"description":"Identifier for this API request.","schema":{"type":"string","format":"uuid"}}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorEnvelope"}}}},"429":{"description":"Rate limited","headers":{"Request-Id":{"description":"Identifier for this API request.","schema":{"type":"string","format":"uuid"}}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorEnvelope"}}}},"500":{"description":"Internal failure","headers":{"Request-Id":{"description":"Identifier for this API request.","schema":{"type":"string","format":"uuid"}}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorEnvelope"}}}},"503":{"description":"A dependency is unavailable. `live_payments_not_configured` means the platform operator must complete live Stripe credential setup before retrying; no Stripe request is made for that refusal. On checkout creation, no session or capacity hold is created either. Other transient dependency failures may be retried.","headers":{"Request-Id":{"description":"Identifier for this API request.","schema":{"type":"string","format":"uuid"}}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorEnvelope"}}}}}},"post":{"tags":["Memberships"],"summary":"Update a membership plan","security":[{"bearerAuth":[]}],"parameters":[{"schema":{"type":"string","pattern":"^mpl_[0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{12}$"},"required":true,"name":"id","in":"path"},{"schema":{"type":"string","pattern":"^org_[0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{12}$","description":"Required organizer tenant id. There is intentionally no default, even for single-grant keys.","example":"org_0199c4e2-1f7a-7c31-8d44-2b9f6a1e05c7"},"required":true,"description":"Required organizer tenant id. There is intentionally no default, even for single-grant keys.","name":"Ticketing-Organizer","in":"header"},{"schema":{"type":"string","minLength":1,"description":"Optional replay key for this update operation."},"required":false,"description":"Optional replay key for this update operation.","name":"Idempotency-Key","in":"header"}],"requestBody":{"content":{"application/json":{"schema":{"type":"object","properties":{"name":{"type":"string","minLength":1,"maxLength":200},"percent_off_bps":{"type":["integer","null"],"minimum":1,"maximum":10000},"unlocks_gated_items":{"type":"boolean"},"active":{"type":"boolean"},"enrollment_open":{"type":"boolean","description":"Close (false) or reopen (true) the plan to new signups without deactivating it. Existing memberships are untouched."},"member_cap":{"type":["integer","null"],"minimum":1,"maximum":1000000,"description":"Cohort size: once this many places are taken the plan stops enrolling. Raising it offers only the new room; clearing it (null) makes the plan uncapped; setting one on an uncapped plan counts its live memberships as the first places."},"required_plan_id":{"type":["string","null"],"pattern":"^mpl_[0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{12}$","description":"Optional join prerequisite: another plan of this organizer whose `active` membership the customer must hold when joining this plan. Send null to clear it. An unknown or other-organizer plan answers `invalid_reference`; the plan itself, or a plan that already requires this one, answers `invalid_request`."},"exclusive_group":{"type":["string","null"],"minLength":1,"maxLength":100,"description":"Optional exclusive group name (1 to 100 characters, surrounding spaces trimmed, compared exactly). Plans of this organizer with the same name are mutually exclusive alternatives: joining one is refused with `membership_group_conflict` while the customer holds an ongoing (not canceled) membership of another. Send null to leave a group. Changing it never cancels or edits an existing membership; existing conflicts are listed by `GET /v1/membership_plan_groups`."},"grace_days":{"type":"integer","minimum":0,"maximum":365,"description":"Benefit grace period in whole days (0 to 365). When an `active` member's ordinary renewal payment fails the membership becomes `past_due` (its status stays truthful) and keeps this plan's benefits for this many days from the moment the failure is recorded; successful payment ends the overdue episode, and benefits stop at the deadline otherwise. 0, the default, means no grace: benefits stop at the failure. Paid plans only: a free plan (`price_minor` 0) has nothing to renew and refuses a value above 0. The window is fixed when an overdue episode starts, so editing this setting never lengthens or shortens an episode already running."},"attendance_rule":{"$ref":"#/components/schemas/AttendanceRule"},"metadata":{"type":"object","additionalProperties":{}}},"minProperties":1}}}},"responses":{"200":{"description":"The updated membership plan.","headers":{"Request-Id":{"description":"Identifier for this API request.","schema":{"type":"string","format":"uuid"}}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/MembershipPlan"}}}},"400":{"description":"Invalid request","headers":{"Request-Id":{"description":"Identifier for this API request.","schema":{"type":"string","format":"uuid"}}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorEnvelope"}}}},"401":{"description":"Authentication failed","headers":{"Request-Id":{"description":"Identifier for this API request.","schema":{"type":"string","format":"uuid"}}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorEnvelope"}}}},"403":{"description":"Organizer grant required","headers":{"Request-Id":{"description":"Identifier for this API request.","schema":{"type":"string","format":"uuid"}}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorEnvelope"}}}},"404":{"description":"Resource not found","headers":{"Request-Id":{"description":"Identifier for this API request.","schema":{"type":"string","format":"uuid"}}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorEnvelope"}}}},"409":{"description":"Idempotency conflict","headers":{"Request-Id":{"description":"Identifier for this API request.","schema":{"type":"string","format":"uuid"}}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorEnvelope"}}}},"422":{"description":"Request is semantically invalid","headers":{"Request-Id":{"description":"Identifier for this API request.","schema":{"type":"string","format":"uuid"}}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorEnvelope"}}}},"429":{"description":"Rate limited","headers":{"Request-Id":{"description":"Identifier for this API request.","schema":{"type":"string","format":"uuid"}}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorEnvelope"}}}},"500":{"description":"Internal failure","headers":{"Request-Id":{"description":"Identifier for this API request.","schema":{"type":"string","format":"uuid"}}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorEnvelope"}}}},"503":{"description":"A dependency is unavailable. `live_payments_not_configured` means the platform operator must complete live Stripe credential setup before retrying; no Stripe request is made for that refusal. On checkout creation, no session or capacity hold is created either. Other transient dependency failures may be retried.","headers":{"Request-Id":{"description":"Identifier for this API request.","schema":{"type":"string","format":"uuid"}}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorEnvelope"}}}}}}},"/v1/membership_plans/{id}/price":{"post":{"tags":["Memberships"],"summary":"Change a membership plan's price","description":"Changes a paid plan's price for new joins and for its existing members. The plan keeps its id, benefits, group, cap and every other setting; a new price is created at the payment provider in the plan's currency and interval, with the same tax treatment as the plan's current price, and joins from now on are charged it. Every live membership of the plan (`incomplete`, `active`, `past_due`, `paused`, including one scheduled to cancel) is then moved to it in the background, usually within minutes and the soonest renewals first: nothing is charged or prorated at the switch, and each member's next renewal after the move charges the new price. A renewal that falls before its member has been moved still charges the previous price, once. A paused member who resumes before being reached is moved by the resume. An invoice already open (an overdue renewal, an unpaid first payment) is charged at the amount it was created with, and the renewal after it at the new price; a paused member pays the new price when they resume. Each moved membership records `membership.updated` with its new `price_minor` and `price_applies_at`, and the plan records `membership_plan.updated`. A membership that joins while the members are being moved is moved too. To keep existing members on their price, create a new plan instead. The body takes `price_minor` only. Requires `Idempotency-Key` and organizer administrator authority. A free plan answers 422 `membership_plan_free`; a price of 0 is refused with `invalid_request`. Sending the plan's current price changes nothing.","security":[{"bearerAuth":[]}],"parameters":[{"schema":{"type":"string","pattern":"^mpl_[0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{12}$"},"required":true,"name":"id","in":"path"},{"schema":{"type":"string","pattern":"^org_[0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{12}$","description":"Required organizer tenant id. There is intentionally no default, even for single-grant keys.","example":"org_0199c4e2-1f7a-7c31-8d44-2b9f6a1e05c7"},"required":true,"description":"Required organizer tenant id. There is intentionally no default, even for single-grant keys.","name":"Ticketing-Organizer","in":"header"},{"schema":{"type":"string","minLength":1,"description":"Required replay key for this create operation."},"required":true,"description":"Required replay key for this create operation.","name":"Idempotency-Key","in":"header"}],"requestBody":{"content":{"application/json":{"schema":{"type":"object","properties":{"price_minor":{"type":"integer","exclusiveMinimum":0,"description":"The plan's new price per interval, in minor units of its currency. Above 0: a paid plan stays paid. The currency and interval never change."}},"required":["price_minor"],"additionalProperties":false}}}},"responses":{"200":{"description":"The membership plan at its new price.","headers":{"Request-Id":{"description":"Identifier for this API request.","schema":{"type":"string","format":"uuid"}}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/MembershipPlan"}}}},"400":{"description":"Invalid request","headers":{"Request-Id":{"description":"Identifier for this API request.","schema":{"type":"string","format":"uuid"}}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorEnvelope"}}}},"401":{"description":"Authentication failed","headers":{"Request-Id":{"description":"Identifier for this API request.","schema":{"type":"string","format":"uuid"}}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorEnvelope"}}}},"403":{"description":"Organizer grant required","headers":{"Request-Id":{"description":"Identifier for this API request.","schema":{"type":"string","format":"uuid"}}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorEnvelope"}}}},"404":{"description":"Resource not found","headers":{"Request-Id":{"description":"Identifier for this API request.","schema":{"type":"string","format":"uuid"}}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorEnvelope"}}}},"409":{"description":"Idempotency conflict","headers":{"Request-Id":{"description":"Identifier for this API request.","schema":{"type":"string","format":"uuid"}}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorEnvelope"}}}},"422":{"description":"Request is semantically invalid","headers":{"Request-Id":{"description":"Identifier for this API request.","schema":{"type":"string","format":"uuid"}}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorEnvelope"}}}},"429":{"description":"Rate limited","headers":{"Request-Id":{"description":"Identifier for this API request.","schema":{"type":"string","format":"uuid"}}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorEnvelope"}}}},"500":{"description":"Internal failure","headers":{"Request-Id":{"description":"Identifier for this API request.","schema":{"type":"string","format":"uuid"}}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorEnvelope"}}}},"503":{"description":"A dependency is unavailable. `live_payments_not_configured` means the platform operator must complete live Stripe credential setup before retrying; no Stripe request is made for that refusal. On checkout creation, no session or capacity hold is created either. Other transient dependency failures may be retried.","headers":{"Request-Id":{"description":"Identifier for this API request.","schema":{"type":"string","format":"uuid"}}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorEnvelope"}}}}}}},"/v1/membership_plan_groups":{"get":{"tags":["Memberships"],"summary":"List membership plan groups","description":"Lists the organizer's exclusive plan groups (every distinct `exclusive_group` name in use) with their plans, and for each the customers who already hold more than one ongoing membership in it. A group is configuration on the plans, not a separate object, so this read is how an organizer sees what a group change left behind. It is read-only: the engine never cancels, replaces or edits a membership to resolve a conflict. Not paginated: an organizer has few groups, and at most 1000 conflicting customers are listed in total.","security":[{"bearerAuth":[]}],"parameters":[{"schema":{"type":"string","pattern":"^org_[0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{12}$","description":"Required organizer tenant id. There is intentionally no default, even for single-grant keys.","example":"org_0199c4e2-1f7a-7c31-8d44-2b9f6a1e05c7"},"required":true,"description":"Required organizer tenant id. There is intentionally no default, even for single-grant keys.","name":"Ticketing-Organizer","in":"header"}],"responses":{"200":{"description":"The exclusive plan groups.","headers":{"Request-Id":{"description":"Identifier for this API request.","schema":{"type":"string","format":"uuid"}}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/MembershipPlanGroupList"}}}},"400":{"description":"Invalid request","headers":{"Request-Id":{"description":"Identifier for this API request.","schema":{"type":"string","format":"uuid"}}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorEnvelope"}}}},"401":{"description":"Authentication failed","headers":{"Request-Id":{"description":"Identifier for this API request.","schema":{"type":"string","format":"uuid"}}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorEnvelope"}}}},"403":{"description":"Organizer grant required","headers":{"Request-Id":{"description":"Identifier for this API request.","schema":{"type":"string","format":"uuid"}}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorEnvelope"}}}},"404":{"description":"Resource not found","headers":{"Request-Id":{"description":"Identifier for this API request.","schema":{"type":"string","format":"uuid"}}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorEnvelope"}}}},"409":{"description":"Idempotency conflict","headers":{"Request-Id":{"description":"Identifier for this API request.","schema":{"type":"string","format":"uuid"}}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorEnvelope"}}}},"422":{"description":"Request is semantically invalid","headers":{"Request-Id":{"description":"Identifier for this API request.","schema":{"type":"string","format":"uuid"}}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorEnvelope"}}}},"429":{"description":"Rate limited","headers":{"Request-Id":{"description":"Identifier for this API request.","schema":{"type":"string","format":"uuid"}}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorEnvelope"}}}},"500":{"description":"Internal failure","headers":{"Request-Id":{"description":"Identifier for this API request.","schema":{"type":"string","format":"uuid"}}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorEnvelope"}}}},"503":{"description":"A dependency is unavailable. `live_payments_not_configured` means the platform operator must complete live Stripe credential setup before retrying; no Stripe request is made for that refusal. On checkout creation, no session or capacity hold is created either. Other transient dependency failures may be retried.","headers":{"Request-Id":{"description":"Identifier for this API request.","schema":{"type":"string","format":"uuid"}}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorEnvelope"}}}}}}},"/v1/memberships":{"get":{"tags":["Memberships"],"summary":"List memberships","security":[{"bearerAuth":[]}],"parameters":[{"schema":{"type":"integer","minimum":1,"maximum":100,"default":20},"required":false,"name":"limit","in":"query"},{"schema":{"type":"string"},"required":false,"name":"starting_after","in":"query"},{"schema":{"type":"string"},"required":false,"name":"ending_before","in":"query"},{"schema":{"type":"string","pattern":"^cus_[0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{12}$"},"required":false,"name":"customer_id","in":"query"},{"schema":{"type":"string","minLength":1,"maxLength":255},"required":false,"name":"external_ref","in":"query"},{"schema":{"type":"string","pattern":"^mpl_[0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{12}$"},"required":false,"name":"plan_id","in":"query"},{"schema":{"type":"string","enum":["incomplete","active","past_due","paused","canceled"]},"required":false,"name":"status","in":"query"},{"schema":{"type":"string","pattern":"^org_[0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{12}$","description":"Required organizer tenant id. There is intentionally no default, even for single-grant keys.","example":"org_0199c4e2-1f7a-7c31-8d44-2b9f6a1e05c7"},"required":true,"description":"Required organizer tenant id. There is intentionally no default, even for single-grant keys.","name":"Ticketing-Organizer","in":"header"}],"responses":{"200":{"description":"Memberships.","headers":{"Request-Id":{"description":"Identifier for this API request.","schema":{"type":"string","format":"uuid"}}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/MembershipList"}}}},"400":{"description":"Invalid request","headers":{"Request-Id":{"description":"Identifier for this API request.","schema":{"type":"string","format":"uuid"}}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorEnvelope"}}}},"401":{"description":"Authentication failed","headers":{"Request-Id":{"description":"Identifier for this API request.","schema":{"type":"string","format":"uuid"}}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorEnvelope"}}}},"403":{"description":"Organizer grant required","headers":{"Request-Id":{"description":"Identifier for this API request.","schema":{"type":"string","format":"uuid"}}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorEnvelope"}}}},"404":{"description":"Resource not found","headers":{"Request-Id":{"description":"Identifier for this API request.","schema":{"type":"string","format":"uuid"}}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorEnvelope"}}}},"409":{"description":"Idempotency conflict","headers":{"Request-Id":{"description":"Identifier for this API request.","schema":{"type":"string","format":"uuid"}}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorEnvelope"}}}},"422":{"description":"Request is semantically invalid","headers":{"Request-Id":{"description":"Identifier for this API request.","schema":{"type":"string","format":"uuid"}}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorEnvelope"}}}},"429":{"description":"Rate limited","headers":{"Request-Id":{"description":"Identifier for this API request.","schema":{"type":"string","format":"uuid"}}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorEnvelope"}}}},"500":{"description":"Internal failure","headers":{"Request-Id":{"description":"Identifier for this API request.","schema":{"type":"string","format":"uuid"}}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorEnvelope"}}}},"503":{"description":"A dependency is unavailable. `live_payments_not_configured` means the platform operator must complete live Stripe credential setup before retrying; no Stripe request is made for that refusal. On checkout creation, no session or capacity hold is created either. Other transient dependency failures may be retried.","headers":{"Request-Id":{"description":"Identifier for this API request.","schema":{"type":"string","format":"uuid"}}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorEnvelope"}}}}}},"post":{"tags":["Memberships"],"summary":"Create a membership","description":"Creates a connected-account subscription and returns the first invoice PaymentIntent secret for an in-place Payment Element confirmation. Calling again for a customer whose membership is still awaiting its first payment resumes that membership with fresh payment credentials instead of failing; an active membership answers membership_already_exists. Joining a free plan (price_minor 0) needs no connected account, creates no subscription and returns an active membership with payment null. A plan with a `required_plan_id` can be joined only by a customer who holds an `active` membership of that plan: otherwise the join answers 422 `membership_prerequisite_not_met` (`detail.required_plan_id` and `detail.required_plan_name` name the plan) and creates nothing, in Stripe or in the engine, for a paid and a free plan alike. A plan with an `exclusive_group` is refused with 409 `membership_group_conflict` (`detail.membership_id`, `detail.plan_id`, `detail.plan_name`, `detail.status` name the existing membership) while the customer holds an ongoing membership of another plan of that group, also before anything is created; joining the same plan again keeps answering `membership_already_exists`. A plan whose enrollment is closed (`enrollment_open` false) answers 409 `membership_enrollment_closed`, and a plan whose `member_cap` is reached answers 409 `membership_enrollment_full` (`detail.places_left` 0), before anything is created in Stripe or the engine; a paid join holds one place while its first payment is pending, so a plan can read full while unpaid joins hold the last places. Retrying an unfinished join resumes it with the place it already holds. A plan with an `attendance_rule` is earned, not joined: it answers 422 `membership_plan_earned_only` and the engine grants the membership when the customer qualifies.","security":[{"bearerAuth":[]}],"parameters":[{"schema":{"type":"string","pattern":"^org_[0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{12}$","description":"Required organizer tenant id. There is intentionally no default, even for single-grant keys.","example":"org_0199c4e2-1f7a-7c31-8d44-2b9f6a1e05c7"},"required":true,"description":"Required organizer tenant id. There is intentionally no default, even for single-grant keys.","name":"Ticketing-Organizer","in":"header"},{"schema":{"type":"string","minLength":1,"description":"Required replay key for this create operation."},"required":true,"description":"Required replay key for this create operation.","name":"Idempotency-Key","in":"header"}],"requestBody":{"content":{"application/json":{"schema":{"type":"object","properties":{"plan_id":{"type":"string","pattern":"^mpl_[0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{12}$"},"customer":{"type":"object","properties":{"id":{"type":"string","pattern":"^cus_[0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{12}$"},"external_ref":{"type":"string","minLength":1,"maxLength":255},"email":{"type":"string","maxLength":320,"format":"email"},"name":{"type":["string","null"],"minLength":1,"maxLength":200},"address":{"type":"object","properties":{"country":{"type":"string","pattern":"^[A-Z]{2}$","description":"Two-letter country code (ISO 3166-1 alpha-2), for example `GB`."},"postal_code":{"type":"string","minLength":1,"maxLength":255,"description":"Needed by Stripe Tax for some countries (the United States and Canada); not for the UK or the EU."}},"required":["country"],"description":"The fan's billing address, used only to tax a paid membership when the organizer charges tax on memberships (`membership_tax`). Give this or `ip_address`; the address wins when both are given."},"ip_address":{"type":"string","description":"The IP address the fan joined from, used to place them for tax when no address is given. Used only when the organizer charges tax on memberships."}},"required":["email"]},"first_charge_at":{"type":"string","format":"date-time","description":"Paid plans only: charge the plan's full price first on this date instead of now. The join saves the member's card (confirm the returned `setup`) and charges nothing until then; renewals follow from this date. Must be in the future and no more than 730 days away (Stripe's limit). Refused for a free plan."},"saved_payment_method":{"type":"object","properties":{"stripe_customer_id":{"type":"string","minLength":1,"maxLength":255,"description":"A Customer on the organizer's own connected Stripe account (`cus_…`), for example one an earlier shop saved the member's card on."},"stripe_payment_method_id":{"type":"string","minLength":1,"maxLength":255,"description":"A payment method already attached to that Customer (`pm_…`; a legacy `card_…` id works too). The engine never attaches one itself."}},"required":["stripe_customer_id","stripe_payment_method_id"],"description":"Paid plans only: pay with a card already saved on the organizer's connected account instead of a new one. The Customer must exist (not deleted) with the payment method attached, and must not be linked to another customer (`stripe_customer_linked` names them); it is then tagged by the engine and used for this customer's later memberships. With `first_charge_at` the membership is `active` at once, with no `setup`, and nothing is charged until the date. Without it the card is charged now: the membership is `active` once paid; if the bank asks the member to authenticate, `payment` holds the payment's secret and the membership stays `incomplete` until it is paid; a decline answers `payment_declined` and creates nothing. Refused for a free plan, and when the organizer's memberships are charged on Lissen's platform account (`saved_payment_method_unavailable`)."},"metadata":{"type":"object","additionalProperties":{}}},"required":["plan_id","customer"]}}}},"responses":{"201":{"description":"The membership and payment credentials.","headers":{"Request-Id":{"description":"Identifier for this API request.","schema":{"type":"string","format":"uuid"}}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/MembershipCreated"}}}},"400":{"description":"Invalid request","headers":{"Request-Id":{"description":"Identifier for this API request.","schema":{"type":"string","format":"uuid"}}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorEnvelope"}}}},"401":{"description":"Authentication failed","headers":{"Request-Id":{"description":"Identifier for this API request.","schema":{"type":"string","format":"uuid"}}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorEnvelope"}}}},"403":{"description":"Organizer grant required","headers":{"Request-Id":{"description":"Identifier for this API request.","schema":{"type":"string","format":"uuid"}}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorEnvelope"}}}},"404":{"description":"Resource not found","headers":{"Request-Id":{"description":"Identifier for this API request.","schema":{"type":"string","format":"uuid"}}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorEnvelope"}}}},"409":{"description":"Idempotency conflict","headers":{"Request-Id":{"description":"Identifier for this API request.","schema":{"type":"string","format":"uuid"}}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorEnvelope"}}}},"422":{"description":"Request is semantically invalid","headers":{"Request-Id":{"description":"Identifier for this API request.","schema":{"type":"string","format":"uuid"}}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorEnvelope"}}}},"429":{"description":"Rate limited","headers":{"Request-Id":{"description":"Identifier for this API request.","schema":{"type":"string","format":"uuid"}}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorEnvelope"}}}},"500":{"description":"Internal failure","headers":{"Request-Id":{"description":"Identifier for this API request.","schema":{"type":"string","format":"uuid"}}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorEnvelope"}}}},"503":{"description":"A dependency is unavailable. `live_payments_not_configured` means the platform operator must complete live Stripe credential setup before retrying; no Stripe request is made for that refusal. On checkout creation, no session or capacity hold is created either. Other transient dependency failures may be retried.","headers":{"Request-Id":{"description":"Identifier for this API request.","schema":{"type":"string","format":"uuid"}}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorEnvelope"}}}}}}},"/v1/memberships/{id}":{"get":{"tags":["Memberships"],"summary":"Retrieve a membership","security":[{"bearerAuth":[]}],"parameters":[{"schema":{"type":"string","pattern":"^mbs_[0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{12}$"},"required":true,"name":"id","in":"path"},{"schema":{"type":"string","pattern":"^org_[0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{12}$","description":"Required organizer tenant id. There is intentionally no default, even for single-grant keys.","example":"org_0199c4e2-1f7a-7c31-8d44-2b9f6a1e05c7"},"required":true,"description":"Required organizer tenant id. There is intentionally no default, even for single-grant keys.","name":"Ticketing-Organizer","in":"header"}],"responses":{"200":{"description":"The membership.","headers":{"Request-Id":{"description":"Identifier for this API request.","schema":{"type":"string","format":"uuid"}}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Membership"}}}},"400":{"description":"Invalid request","headers":{"Request-Id":{"description":"Identifier for this API request.","schema":{"type":"string","format":"uuid"}}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorEnvelope"}}}},"401":{"description":"Authentication failed","headers":{"Request-Id":{"description":"Identifier for this API request.","schema":{"type":"string","format":"uuid"}}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorEnvelope"}}}},"403":{"description":"Organizer grant required","headers":{"Request-Id":{"description":"Identifier for this API request.","schema":{"type":"string","format":"uuid"}}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorEnvelope"}}}},"404":{"description":"Resource not found","headers":{"Request-Id":{"description":"Identifier for this API request.","schema":{"type":"string","format":"uuid"}}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorEnvelope"}}}},"409":{"description":"Idempotency conflict","headers":{"Request-Id":{"description":"Identifier for this API request.","schema":{"type":"string","format":"uuid"}}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorEnvelope"}}}},"422":{"description":"Request is semantically invalid","headers":{"Request-Id":{"description":"Identifier for this API request.","schema":{"type":"string","format":"uuid"}}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorEnvelope"}}}},"429":{"description":"Rate limited","headers":{"Request-Id":{"description":"Identifier for this API request.","schema":{"type":"string","format":"uuid"}}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorEnvelope"}}}},"500":{"description":"Internal failure","headers":{"Request-Id":{"description":"Identifier for this API request.","schema":{"type":"string","format":"uuid"}}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorEnvelope"}}}},"503":{"description":"A dependency is unavailable. `live_payments_not_configured` means the platform operator must complete live Stripe credential setup before retrying; no Stripe request is made for that refusal. On checkout creation, no session or capacity hold is created either. Other transient dependency failures may be retried.","headers":{"Request-Id":{"description":"Identifier for this API request.","schema":{"type":"string","format":"uuid"}}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorEnvelope"}}}}}}},"/v1/memberships/{id}/payment_method_update_sessions":{"post":{"tags":["Memberships"],"summary":"Create a hosted payment-method update for a membership","description":"Returns a Stripe-hosted page where the member replaces the payment method their membership is billed with, then returns them to return_url. The engine reuses the membership's own connected-account customer; it creates no customer, subscription or charge, and the page offers nothing else (no cancellation, plan change or invoice history). The payment method is customer-wide on the organizer's connected account: it becomes the default for every membership subscription the engine holds for that customer, and each one that carries its own default is repointed at it once Stripe confirms the change (the update reaches the subscription shortly after the member returns, not before). The membership's plan, price and renewal date are never changed. For an overdue (`past_due`) membership the engine then makes one attempt to pay the open overdue invoice with the new card: when it is paid the membership returns to `active`; a decline leaves it `past_due` and Stripe's retries continue. Active, `past_due` and `paused` memberships qualify (a paused member whose restart payment failed can fix the card here, then resume). Free memberships have no payment method and answer `membership_not_billable`, as does a membership still awaiting its first payment. A canceled membership answers `membership_already_canceled`. A connected account that cannot host the page answers `payment_method_update_unavailable`; a transient provider fault answers a retryable `connect_provider_unavailable`. Takes no Idempotency-Key: every call opens a new session, and the returned `url` is Stripe-hosted, single-use and short-lived, so send the member there at once.","security":[{"bearerAuth":[]}],"parameters":[{"schema":{"type":"string","pattern":"^mbs_[0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{12}$"},"required":true,"name":"id","in":"path"},{"schema":{"type":"string","pattern":"^org_[0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{12}$","description":"Required organizer tenant id. There is intentionally no default, even for single-grant keys.","example":"org_0199c4e2-1f7a-7c31-8d44-2b9f6a1e05c7"},"required":true,"description":"Required organizer tenant id. There is intentionally no default, even for single-grant keys.","name":"Ticketing-Organizer","in":"header"}],"requestBody":{"content":{"application/json":{"schema":{"type":"object","properties":{"return_url":{"type":"string","format":"uri","description":"Where Stripe returns the member after they finish or leave the hosted update. Same rules as a checkout session's return_url: HTTPS or the registered app callback."},"customer_id":{"type":"string","pattern":"^cus_[0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{12}$","description":"Optional guard: the customer the caller authenticated. When supplied it must be the membership's own customer, otherwise the answer is a 404 and no session is created."}},"required":["return_url"]}}}},"responses":{"201":{"description":"The hosted payment-method update session.","headers":{"Request-Id":{"description":"Identifier for this API request.","schema":{"type":"string","format":"uuid"}}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/MembershipPaymentMethodUpdateSession"}}}},"400":{"description":"Invalid request","headers":{"Request-Id":{"description":"Identifier for this API request.","schema":{"type":"string","format":"uuid"}}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorEnvelope"}}}},"401":{"description":"Authentication failed","headers":{"Request-Id":{"description":"Identifier for this API request.","schema":{"type":"string","format":"uuid"}}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorEnvelope"}}}},"403":{"description":"Organizer grant required","headers":{"Request-Id":{"description":"Identifier for this API request.","schema":{"type":"string","format":"uuid"}}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorEnvelope"}}}},"404":{"description":"Resource not found","headers":{"Request-Id":{"description":"Identifier for this API request.","schema":{"type":"string","format":"uuid"}}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorEnvelope"}}}},"409":{"description":"Idempotency conflict","headers":{"Request-Id":{"description":"Identifier for this API request.","schema":{"type":"string","format":"uuid"}}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorEnvelope"}}}},"422":{"description":"Request is semantically invalid","headers":{"Request-Id":{"description":"Identifier for this API request.","schema":{"type":"string","format":"uuid"}}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorEnvelope"}}}},"429":{"description":"Rate limited","headers":{"Request-Id":{"description":"Identifier for this API request.","schema":{"type":"string","format":"uuid"}}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorEnvelope"}}}},"500":{"description":"Internal failure","headers":{"Request-Id":{"description":"Identifier for this API request.","schema":{"type":"string","format":"uuid"}}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorEnvelope"}}}},"503":{"description":"A dependency is unavailable. `live_payments_not_configured` means the platform operator must complete live Stripe credential setup before retrying; no Stripe request is made for that refusal. On checkout creation, no session or capacity hold is created either. Other transient dependency failures may be retried.","headers":{"Request-Id":{"description":"Identifier for this API request.","schema":{"type":"string","format":"uuid"}}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorEnvelope"}}}}}}},"/v1/memberships/{id}/cancel":{"post":{"tags":["Memberships"],"summary":"Cancel a membership","description":"A paid membership cancels at period end: it stays active until its paid period closes. A free membership has no period, so it ends immediately and its benefits stop at once. Cancelling an earned membership is an explicit removal and sticks: the customer is not granted it again until they attend an event that counts after the removal. A `paused` membership is refused with `membership_state_conflict`: resume it first, then cancel.","security":[{"bearerAuth":[]}],"parameters":[{"schema":{"type":"string","pattern":"^mbs_[0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{12}$"},"required":true,"name":"id","in":"path"},{"schema":{"type":"string","pattern":"^org_[0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{12}$","description":"Required organizer tenant id. There is intentionally no default, even for single-grant keys.","example":"org_0199c4e2-1f7a-7c31-8d44-2b9f6a1e05c7"},"required":true,"description":"Required organizer tenant id. There is intentionally no default, even for single-grant keys.","name":"Ticketing-Organizer","in":"header"},{"schema":{"type":"string","minLength":1,"description":"Optional replay key for this update operation."},"required":false,"description":"Optional replay key for this update operation.","name":"Idempotency-Key","in":"header"}],"responses":{"200":{"description":"The membership, canceling at period end (paid) or canceled (free).","headers":{"Request-Id":{"description":"Identifier for this API request.","schema":{"type":"string","format":"uuid"}}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Membership"}}}},"400":{"description":"Invalid request","headers":{"Request-Id":{"description":"Identifier for this API request.","schema":{"type":"string","format":"uuid"}}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorEnvelope"}}}},"401":{"description":"Authentication failed","headers":{"Request-Id":{"description":"Identifier for this API request.","schema":{"type":"string","format":"uuid"}}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorEnvelope"}}}},"403":{"description":"Organizer grant required","headers":{"Request-Id":{"description":"Identifier for this API request.","schema":{"type":"string","format":"uuid"}}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorEnvelope"}}}},"404":{"description":"Resource not found","headers":{"Request-Id":{"description":"Identifier for this API request.","schema":{"type":"string","format":"uuid"}}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorEnvelope"}}}},"409":{"description":"Idempotency conflict","headers":{"Request-Id":{"description":"Identifier for this API request.","schema":{"type":"string","format":"uuid"}}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorEnvelope"}}}},"422":{"description":"Request is semantically invalid","headers":{"Request-Id":{"description":"Identifier for this API request.","schema":{"type":"string","format":"uuid"}}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorEnvelope"}}}},"429":{"description":"Rate limited","headers":{"Request-Id":{"description":"Identifier for this API request.","schema":{"type":"string","format":"uuid"}}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorEnvelope"}}}},"500":{"description":"Internal failure","headers":{"Request-Id":{"description":"Identifier for this API request.","schema":{"type":"string","format":"uuid"}}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorEnvelope"}}}},"503":{"description":"A dependency is unavailable. `live_payments_not_configured` means the platform operator must complete live Stripe credential setup before retrying; no Stripe request is made for that refusal. On checkout creation, no session or capacity hold is created either. Other transient dependency failures may be retried.","headers":{"Request-Id":{"description":"Identifier for this API request.","schema":{"type":"string","format":"uuid"}}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorEnvelope"}}}}}}},"/v1/memberships/{id}/pause":{"post":{"tags":["Memberships"],"summary":"Pause a membership","description":"Pauses an `active` paid membership immediately: the payment provider natively pauses the subscription, so no invoices are generated, and the unused part of the paid period is credited toward the next invoice. It is a credit, not a cash refund, and there is no scheduled pause. The membership becomes `paused` and its benefits stop at once; tickets already issued stay valid. Requires `Idempotency-Key`. Refused with `membership_state_conflict` unless the membership is `active` with no cancellation scheduled, `membership_no_billing` for a free membership, and `membership_pause_unsupported` when the subscription does not meet the provider's prerequisites.","security":[{"bearerAuth":[]}],"parameters":[{"schema":{"type":"string","pattern":"^mbs_[0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{12}$"},"required":true,"name":"id","in":"path"},{"schema":{"type":"string","pattern":"^org_[0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{12}$","description":"Required organizer tenant id. There is intentionally no default, even for single-grant keys.","example":"org_0199c4e2-1f7a-7c31-8d44-2b9f6a1e05c7"},"required":true,"description":"Required organizer tenant id. There is intentionally no default, even for single-grant keys.","name":"Ticketing-Organizer","in":"header"},{"schema":{"type":"string","minLength":1,"description":"Required replay key for this create operation."},"required":true,"description":"Required replay key for this create operation.","name":"Idempotency-Key","in":"header"}],"responses":{"200":{"description":"The paused membership.","headers":{"Request-Id":{"description":"Identifier for this API request.","schema":{"type":"string","format":"uuid"}}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Membership"}}}},"400":{"description":"Invalid request","headers":{"Request-Id":{"description":"Identifier for this API request.","schema":{"type":"string","format":"uuid"}}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorEnvelope"}}}},"401":{"description":"Authentication failed","headers":{"Request-Id":{"description":"Identifier for this API request.","schema":{"type":"string","format":"uuid"}}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorEnvelope"}}}},"403":{"description":"Organizer grant required","headers":{"Request-Id":{"description":"Identifier for this API request.","schema":{"type":"string","format":"uuid"}}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorEnvelope"}}}},"404":{"description":"Resource not found","headers":{"Request-Id":{"description":"Identifier for this API request.","schema":{"type":"string","format":"uuid"}}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorEnvelope"}}}},"409":{"description":"Idempotency conflict","headers":{"Request-Id":{"description":"Identifier for this API request.","schema":{"type":"string","format":"uuid"}}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorEnvelope"}}}},"422":{"description":"Request is semantically invalid","headers":{"Request-Id":{"description":"Identifier for this API request.","schema":{"type":"string","format":"uuid"}}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorEnvelope"}}}},"429":{"description":"Rate limited","headers":{"Request-Id":{"description":"Identifier for this API request.","schema":{"type":"string","format":"uuid"}}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorEnvelope"}}}},"500":{"description":"Internal failure","headers":{"Request-Id":{"description":"Identifier for this API request.","schema":{"type":"string","format":"uuid"}}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorEnvelope"}}}},"503":{"description":"A dependency is unavailable. `live_payments_not_configured` means the platform operator must complete live Stripe credential setup before retrying; no Stripe request is made for that refusal. On checkout creation, no session or capacity hold is created either. Other transient dependency failures may be retried.","headers":{"Request-Id":{"description":"Identifier for this API request.","schema":{"type":"string","format":"uuid"}}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorEnvelope"}}}}}}},"/v1/memberships/{id}/resume":{"post":{"tags":["Memberships"],"summary":"Resume a paused membership","description":"Restarts a `paused` membership on the same plan, at its `price_minor` (the plan's new price when the plan was repriced while it was paused). A fresh billing period starts now on the existing interval; the pause credit is applied and any balance is collected from the customer's saved payment method. The membership becomes `active`, and `membership.resumed` is recorded, only once the provider reports the subscription active, which includes a restart invoice fully covered by credit. If the payment fails or needs the customer's action, the response still reads `paused` (with `payment` credentials when the invoice is payable) and no benefits are restored; the membership resumes when the payment later succeeds. Requires `Idempotency-Key`. A provider refusal of the payment answers `membership_resume_payment_failed`.","security":[{"bearerAuth":[]}],"parameters":[{"schema":{"type":"string","pattern":"^mbs_[0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{12}$"},"required":true,"name":"id","in":"path"},{"schema":{"type":"string","pattern":"^org_[0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{12}$","description":"Required organizer tenant id. There is intentionally no default, even for single-grant keys.","example":"org_0199c4e2-1f7a-7c31-8d44-2b9f6a1e05c7"},"required":true,"description":"Required organizer tenant id. There is intentionally no default, even for single-grant keys.","name":"Ticketing-Organizer","in":"header"},{"schema":{"type":"string","minLength":1,"description":"Required replay key for this create operation."},"required":true,"description":"Required replay key for this create operation.","name":"Idempotency-Key","in":"header"}],"responses":{"200":{"description":"The membership and, while it is still paused, the restart payment credentials.","headers":{"Request-Id":{"description":"Identifier for this API request.","schema":{"type":"string","format":"uuid"}}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/MembershipResumed"}}}},"400":{"description":"Invalid request","headers":{"Request-Id":{"description":"Identifier for this API request.","schema":{"type":"string","format":"uuid"}}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorEnvelope"}}}},"401":{"description":"Authentication failed","headers":{"Request-Id":{"description":"Identifier for this API request.","schema":{"type":"string","format":"uuid"}}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorEnvelope"}}}},"403":{"description":"Organizer grant required","headers":{"Request-Id":{"description":"Identifier for this API request.","schema":{"type":"string","format":"uuid"}}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorEnvelope"}}}},"404":{"description":"Resource not found","headers":{"Request-Id":{"description":"Identifier for this API request.","schema":{"type":"string","format":"uuid"}}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorEnvelope"}}}},"409":{"description":"Idempotency conflict","headers":{"Request-Id":{"description":"Identifier for this API request.","schema":{"type":"string","format":"uuid"}}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorEnvelope"}}}},"422":{"description":"Request is semantically invalid","headers":{"Request-Id":{"description":"Identifier for this API request.","schema":{"type":"string","format":"uuid"}}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorEnvelope"}}}},"429":{"description":"Rate limited","headers":{"Request-Id":{"description":"Identifier for this API request.","schema":{"type":"string","format":"uuid"}}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorEnvelope"}}}},"500":{"description":"Internal failure","headers":{"Request-Id":{"description":"Identifier for this API request.","schema":{"type":"string","format":"uuid"}}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorEnvelope"}}}},"503":{"description":"A dependency is unavailable. `live_payments_not_configured` means the platform operator must complete live Stripe credential setup before retrying; no Stripe request is made for that refusal. On checkout creation, no session or capacity hold is created either. Other transient dependency failures may be retried.","headers":{"Request-Id":{"description":"Identifier for this API request.","schema":{"type":"string","format":"uuid"}}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorEnvelope"}}}}}}},"/v1/memberships/{id}/undo_cancellation":{"post":{"tags":["Memberships"],"summary":"Undo a scheduled cancellation","description":"Clears a period-end cancellation before the membership terminates: `cancel_at_period_end` becomes false, the price and renewal date are unchanged, nothing is charged and benefits continue without interruption. Records `membership.updated`. Refused with `membership_state_conflict` when no cancellation is scheduled or the membership has already ended; an ended membership is never revived, join again instead. Requires `Idempotency-Key`.","security":[{"bearerAuth":[]}],"parameters":[{"schema":{"type":"string","pattern":"^mbs_[0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{12}$"},"required":true,"name":"id","in":"path"},{"schema":{"type":"string","pattern":"^org_[0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{12}$","description":"Required organizer tenant id. There is intentionally no default, even for single-grant keys.","example":"org_0199c4e2-1f7a-7c31-8d44-2b9f6a1e05c7"},"required":true,"description":"Required organizer tenant id. There is intentionally no default, even for single-grant keys.","name":"Ticketing-Organizer","in":"header"},{"schema":{"type":"string","minLength":1,"description":"Required replay key for this create operation."},"required":true,"description":"Required replay key for this create operation.","name":"Idempotency-Key","in":"header"}],"responses":{"200":{"description":"The membership with its cancellation cleared.","headers":{"Request-Id":{"description":"Identifier for this API request.","schema":{"type":"string","format":"uuid"}}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Membership"}}}},"400":{"description":"Invalid request","headers":{"Request-Id":{"description":"Identifier for this API request.","schema":{"type":"string","format":"uuid"}}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorEnvelope"}}}},"401":{"description":"Authentication failed","headers":{"Request-Id":{"description":"Identifier for this API request.","schema":{"type":"string","format":"uuid"}}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorEnvelope"}}}},"403":{"description":"Organizer grant required","headers":{"Request-Id":{"description":"Identifier for this API request.","schema":{"type":"string","format":"uuid"}}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorEnvelope"}}}},"404":{"description":"Resource not found","headers":{"Request-Id":{"description":"Identifier for this API request.","schema":{"type":"string","format":"uuid"}}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorEnvelope"}}}},"409":{"description":"Idempotency conflict","headers":{"Request-Id":{"description":"Identifier for this API request.","schema":{"type":"string","format":"uuid"}}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorEnvelope"}}}},"422":{"description":"Request is semantically invalid","headers":{"Request-Id":{"description":"Identifier for this API request.","schema":{"type":"string","format":"uuid"}}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorEnvelope"}}}},"429":{"description":"Rate limited","headers":{"Request-Id":{"description":"Identifier for this API request.","schema":{"type":"string","format":"uuid"}}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorEnvelope"}}}},"500":{"description":"Internal failure","headers":{"Request-Id":{"description":"Identifier for this API request.","schema":{"type":"string","format":"uuid"}}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorEnvelope"}}}},"503":{"description":"A dependency is unavailable. `live_payments_not_configured` means the platform operator must complete live Stripe credential setup before retrying; no Stripe request is made for that refusal. On checkout creation, no session or capacity hold is created either. Other transient dependency failures may be retried.","headers":{"Request-Id":{"description":"Identifier for this API request.","schema":{"type":"string","format":"uuid"}}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorEnvelope"}}}}}}},"/v1/memberships/{id}/next_charge":{"post":{"tags":["Memberships"],"summary":"Move or make a membership's next charge","description":"Sets when an `active` paid membership is next charged, including one still before its first charge date. With a date, the next charge moves there, earlier or later: the member keeps the membership and its benefits until then, and the plan's full price is charged on the date, renewing from it. Nothing is prorated: moving the date never credits or charges a difference. With `now`, one full period is charged now and a fresh period starts from now, recorded as a renewal (`membership.renewed`, with its charge, platform fee and tax). If that charge fails it is a failed renewal: the membership becomes `past_due`, the plan's benefit grace starts and Stripe retries on its schedule; `charge_attempt` says how it went. On a `past_due` membership only `now` is accepted: it pays the open overdue invoice (no second invoice is created), and when that succeeds the membership is `active` again; a decline leaves it `past_due` and Stripe's retries continue. `next_charge_at` and `membership.updated` reflect every move. Requires `Idempotency-Key`; a retry with the same key never charges twice. Refused with `membership_state_conflict` (409) for a `paused` membership (resume it instead), one set to cancel at its period end (undo the cancellation first), an `incomplete` or `canceled` one, and a date on a `past_due` one; `membership_no_billing` for a free membership; and `next_charge_at_out_of_range` for a date in the past or more than 730 days away.","security":[{"bearerAuth":[]}],"parameters":[{"schema":{"type":"string","pattern":"^mbs_[0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{12}$"},"required":true,"name":"id","in":"path"},{"schema":{"type":"string","pattern":"^org_[0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{12}$","description":"Required organizer tenant id. There is intentionally no default, even for single-grant keys.","example":"org_0199c4e2-1f7a-7c31-8d44-2b9f6a1e05c7"},"required":true,"description":"Required organizer tenant id. There is intentionally no default, even for single-grant keys.","name":"Ticketing-Organizer","in":"header"},{"schema":{"type":"string","minLength":1,"description":"Required replay key for this create operation."},"required":true,"description":"Required replay key for this create operation.","name":"Idempotency-Key","in":"header"}],"requestBody":{"content":{"application/json":{"schema":{"type":"object","properties":{"at":{"anyOf":[{"type":"string","enum":["now"]},{"type":"string","format":"date-time"}],"description":"`now`, or the date to charge next. A date moves an `active` membership's next charge there: the member keeps everything until then, and the full price is charged on it; nothing is prorated, credited or charged for the difference. `now` charges one full period now and starts a fresh period from now; on a `past_due` membership it pays the open overdue invoice instead. A date must be in the future and no more than 730 days away (Stripe's limit), and is refused on a `past_due` membership."}},"required":["at"]}}}},"responses":{"200":{"description":"The membership after the move or the charge, and how a charge now went.","headers":{"Request-Id":{"description":"Identifier for this API request.","schema":{"type":"string","format":"uuid"}}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/MembershipNextCharge"}}}},"400":{"description":"Invalid request","headers":{"Request-Id":{"description":"Identifier for this API request.","schema":{"type":"string","format":"uuid"}}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorEnvelope"}}}},"401":{"description":"Authentication failed","headers":{"Request-Id":{"description":"Identifier for this API request.","schema":{"type":"string","format":"uuid"}}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorEnvelope"}}}},"403":{"description":"Organizer grant required","headers":{"Request-Id":{"description":"Identifier for this API request.","schema":{"type":"string","format":"uuid"}}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorEnvelope"}}}},"404":{"description":"Resource not found","headers":{"Request-Id":{"description":"Identifier for this API request.","schema":{"type":"string","format":"uuid"}}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorEnvelope"}}}},"409":{"description":"Idempotency conflict","headers":{"Request-Id":{"description":"Identifier for this API request.","schema":{"type":"string","format":"uuid"}}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorEnvelope"}}}},"422":{"description":"Request is semantically invalid","headers":{"Request-Id":{"description":"Identifier for this API request.","schema":{"type":"string","format":"uuid"}}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorEnvelope"}}}},"429":{"description":"Rate limited","headers":{"Request-Id":{"description":"Identifier for this API request.","schema":{"type":"string","format":"uuid"}}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorEnvelope"}}}},"500":{"description":"Internal failure","headers":{"Request-Id":{"description":"Identifier for this API request.","schema":{"type":"string","format":"uuid"}}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorEnvelope"}}}},"503":{"description":"A dependency is unavailable. `live_payments_not_configured` means the platform operator must complete live Stripe credential setup before retrying; no Stripe request is made for that refusal. On checkout creation, no session or capacity hold is created either. Other transient dependency failures may be retried.","headers":{"Request-Id":{"description":"Identifier for this API request.","schema":{"type":"string","format":"uuid"}}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorEnvelope"}}}}}}},"/v1/membership_benefits":{"get":{"tags":["Memberships"],"summary":"List membership benefits","security":[{"bearerAuth":[]}],"parameters":[{"schema":{"type":"integer","minimum":1,"maximum":100,"default":20},"required":false,"name":"limit","in":"query"},{"schema":{"type":"string"},"required":false,"name":"starting_after","in":"query"},{"schema":{"type":"string"},"required":false,"name":"ending_before","in":"query"},{"schema":{"type":"string","pattern":"^mpl_[0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{12}$","description":"Only the benefits of this plan."},"required":false,"description":"Only the benefits of this plan.","name":"plan_id","in":"query"},{"schema":{"type":"string","pattern":"^org_[0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{12}$","description":"Required organizer tenant id. There is intentionally no default, even for single-grant keys.","example":"org_0199c4e2-1f7a-7c31-8d44-2b9f6a1e05c7"},"required":true,"description":"Required organizer tenant id. There is intentionally no default, even for single-grant keys.","name":"Ticketing-Organizer","in":"header"}],"responses":{"200":{"description":"Membership benefits.","headers":{"Request-Id":{"description":"Identifier for this API request.","schema":{"type":"string","format":"uuid"}}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/MembershipBenefitList"}}}},"400":{"description":"Invalid request","headers":{"Request-Id":{"description":"Identifier for this API request.","schema":{"type":"string","format":"uuid"}}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorEnvelope"}}}},"401":{"description":"Authentication failed","headers":{"Request-Id":{"description":"Identifier for this API request.","schema":{"type":"string","format":"uuid"}}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorEnvelope"}}}},"403":{"description":"Organizer grant required","headers":{"Request-Id":{"description":"Identifier for this API request.","schema":{"type":"string","format":"uuid"}}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorEnvelope"}}}},"404":{"description":"Resource not found","headers":{"Request-Id":{"description":"Identifier for this API request.","schema":{"type":"string","format":"uuid"}}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorEnvelope"}}}},"409":{"description":"Idempotency conflict","headers":{"Request-Id":{"description":"Identifier for this API request.","schema":{"type":"string","format":"uuid"}}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorEnvelope"}}}},"422":{"description":"Request is semantically invalid","headers":{"Request-Id":{"description":"Identifier for this API request.","schema":{"type":"string","format":"uuid"}}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorEnvelope"}}}},"429":{"description":"Rate limited","headers":{"Request-Id":{"description":"Identifier for this API request.","schema":{"type":"string","format":"uuid"}}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorEnvelope"}}}},"500":{"description":"Internal failure","headers":{"Request-Id":{"description":"Identifier for this API request.","schema":{"type":"string","format":"uuid"}}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorEnvelope"}}}},"503":{"description":"A dependency is unavailable. `live_payments_not_configured` means the platform operator must complete live Stripe credential setup before retrying; no Stripe request is made for that refusal. On checkout creation, no session or capacity hold is created either. Other transient dependency failures may be retried.","headers":{"Request-Id":{"description":"Identifier for this API request.","schema":{"type":"string","format":"uuid"}}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorEnvelope"}}}}}},"post":{"tags":["Memberships"],"summary":"Create a membership benefit","description":"Defines a reusable benefit of one plan. It needs no event and changes no price on its own: it applies only where an event assigns it. An unknown plan answers `invalid_reference`.","security":[{"bearerAuth":[]}],"parameters":[{"schema":{"type":"string","pattern":"^org_[0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{12}$","description":"Required organizer tenant id. There is intentionally no default, even for single-grant keys.","example":"org_0199c4e2-1f7a-7c31-8d44-2b9f6a1e05c7"},"required":true,"description":"Required organizer tenant id. There is intentionally no default, even for single-grant keys.","name":"Ticketing-Organizer","in":"header"},{"schema":{"type":"string","minLength":1,"description":"Required replay key for this create operation."},"required":true,"description":"Required replay key for this create operation.","name":"Idempotency-Key","in":"header"}],"requestBody":{"content":{"application/json":{"schema":{"type":"object","properties":{"plan_id":{"type":"string","pattern":"^mpl_[0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{12}$","description":"The plan whose active members receive the benefit. Fixed once created."},"name":{"type":"string","minLength":1,"maxLength":200},"kind":{"type":"string","enum":["percent_off","unlock","guest_invitation","waitlist_priority","fee_waiver"],"description":"`percent_off` takes a percentage off each assigned item; `unlock` lets members buy the assigned gated items; `guest_invitation` lets members invite guests to the assigned events and ticket types, up to `guest_allowance`; `waitlist_priority` puts members' waitlist entries for the assigned events and ticket types ahead of arrival order when a freed place is offered automatically; `fee_waiver` waives the booking fee on the assigned items, as a discount code's fee waiver does: the organizer absorbs the platform fee. Fixed once created."},"percent_off_bps":{"type":["integer","null"],"minimum":1,"maximum":10000,"description":"Required for `percent_off`, in basis points (1000 is 10%). Omit or send null for the other kinds."},"guest_allowance":{"type":["object","null"],"properties":{"units":{"type":"integer","minimum":1,"description":"Guest tickets each member may invite, counted in ticket units (an invitation for two guests spends two) in each bucket."},"mode":{"type":"string","enum":["per_event","per_period"],"description":"`per_event`: every event the benefit is assigned to has its own allowance. `per_period`: one allowance is shared by every assigned event, counted over the calendar `period` in which the invitation is issued. Fixed once created."},"period":{"type":["string","null"],"enum":["week","month","year",null],"description":"Required for `per_period`, omitted for `per_event`. Periods are UTC calendar periods: a `week` runs Monday 00:00 to the next Monday, a `month` from the 1st, a `year` from 1 January. Fixed once created."}},"required":["units","mode"],"description":"Required for `guest_invitation`; omit or send null for the other kinds."},"metadata":{"type":"object","additionalProperties":{}}},"required":["plan_id","name","kind"]}}}},"responses":{"201":{"description":"The membership benefit.","headers":{"Request-Id":{"description":"Identifier for this API request.","schema":{"type":"string","format":"uuid"}}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/MembershipBenefit"}}}},"400":{"description":"Invalid request","headers":{"Request-Id":{"description":"Identifier for this API request.","schema":{"type":"string","format":"uuid"}}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorEnvelope"}}}},"401":{"description":"Authentication failed","headers":{"Request-Id":{"description":"Identifier for this API request.","schema":{"type":"string","format":"uuid"}}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorEnvelope"}}}},"403":{"description":"Organizer grant required","headers":{"Request-Id":{"description":"Identifier for this API request.","schema":{"type":"string","format":"uuid"}}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorEnvelope"}}}},"404":{"description":"Resource not found","headers":{"Request-Id":{"description":"Identifier for this API request.","schema":{"type":"string","format":"uuid"}}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorEnvelope"}}}},"409":{"description":"Idempotency conflict","headers":{"Request-Id":{"description":"Identifier for this API request.","schema":{"type":"string","format":"uuid"}}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorEnvelope"}}}},"422":{"description":"Request is semantically invalid","headers":{"Request-Id":{"description":"Identifier for this API request.","schema":{"type":"string","format":"uuid"}}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorEnvelope"}}}},"429":{"description":"Rate limited","headers":{"Request-Id":{"description":"Identifier for this API request.","schema":{"type":"string","format":"uuid"}}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorEnvelope"}}}},"500":{"description":"Internal failure","headers":{"Request-Id":{"description":"Identifier for this API request.","schema":{"type":"string","format":"uuid"}}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorEnvelope"}}}},"503":{"description":"A dependency is unavailable. `live_payments_not_configured` means the platform operator must complete live Stripe credential setup before retrying; no Stripe request is made for that refusal. On checkout creation, no session or capacity hold is created either. Other transient dependency failures may be retried.","headers":{"Request-Id":{"description":"Identifier for this API request.","schema":{"type":"string","format":"uuid"}}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorEnvelope"}}}}}}},"/v1/membership_benefits/{id}":{"get":{"tags":["Memberships"],"summary":"Retrieve a membership benefit","security":[{"bearerAuth":[]}],"parameters":[{"schema":{"type":"string","pattern":"^mbn_[0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{12}$"},"required":true,"name":"id","in":"path"},{"schema":{"type":"string","pattern":"^org_[0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{12}$","description":"Required organizer tenant id. There is intentionally no default, even for single-grant keys.","example":"org_0199c4e2-1f7a-7c31-8d44-2b9f6a1e05c7"},"required":true,"description":"Required organizer tenant id. There is intentionally no default, even for single-grant keys.","name":"Ticketing-Organizer","in":"header"}],"responses":{"200":{"description":"The membership benefit.","headers":{"Request-Id":{"description":"Identifier for this API request.","schema":{"type":"string","format":"uuid"}}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/MembershipBenefit"}}}},"400":{"description":"Invalid request","headers":{"Request-Id":{"description":"Identifier for this API request.","schema":{"type":"string","format":"uuid"}}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorEnvelope"}}}},"401":{"description":"Authentication failed","headers":{"Request-Id":{"description":"Identifier for this API request.","schema":{"type":"string","format":"uuid"}}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorEnvelope"}}}},"403":{"description":"Organizer grant required","headers":{"Request-Id":{"description":"Identifier for this API request.","schema":{"type":"string","format":"uuid"}}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorEnvelope"}}}},"404":{"description":"Resource not found","headers":{"Request-Id":{"description":"Identifier for this API request.","schema":{"type":"string","format":"uuid"}}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorEnvelope"}}}},"409":{"description":"Idempotency conflict","headers":{"Request-Id":{"description":"Identifier for this API request.","schema":{"type":"string","format":"uuid"}}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorEnvelope"}}}},"422":{"description":"Request is semantically invalid","headers":{"Request-Id":{"description":"Identifier for this API request.","schema":{"type":"string","format":"uuid"}}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorEnvelope"}}}},"429":{"description":"Rate limited","headers":{"Request-Id":{"description":"Identifier for this API request.","schema":{"type":"string","format":"uuid"}}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorEnvelope"}}}},"500":{"description":"Internal failure","headers":{"Request-Id":{"description":"Identifier for this API request.","schema":{"type":"string","format":"uuid"}}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorEnvelope"}}}},"503":{"description":"A dependency is unavailable. `live_payments_not_configured` means the platform operator must complete live Stripe credential setup before retrying; no Stripe request is made for that refusal. On checkout creation, no session or capacity hold is created either. Other transient dependency failures may be retried.","headers":{"Request-Id":{"description":"Identifier for this API request.","schema":{"type":"string","format":"uuid"}}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorEnvelope"}}}}}},"patch":{"tags":["Memberships"],"summary":"Update a membership benefit","description":"Changes the name, percentage or metadata; the plan and kind are fixed. Every assignment reads the live benefit, so later quotes at every assigned event use the change, while checkout sessions and orders keep the effects already recorded on them.","security":[{"bearerAuth":[]}],"parameters":[{"schema":{"type":"string","pattern":"^mbn_[0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{12}$"},"required":true,"name":"id","in":"path"},{"schema":{"type":"string","pattern":"^org_[0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{12}$","description":"Required organizer tenant id. There is intentionally no default, even for single-grant keys.","example":"org_0199c4e2-1f7a-7c31-8d44-2b9f6a1e05c7"},"required":true,"description":"Required organizer tenant id. There is intentionally no default, even for single-grant keys.","name":"Ticketing-Organizer","in":"header"},{"schema":{"type":"string","minLength":1,"description":"Optional replay key for this update operation."},"required":false,"description":"Optional replay key for this update operation.","name":"Idempotency-Key","in":"header"}],"requestBody":{"content":{"application/json":{"schema":{"type":"object","properties":{"name":{"type":"string","minLength":1,"maxLength":200},"percent_off_bps":{"type":"integer","minimum":1,"maximum":10000,"description":"Only for a `percent_off` benefit."},"guest_allowance":{"type":"object","properties":{"units":{"type":"integer","minimum":1,"description":"Guest tickets each member may invite, counted in ticket units (an invitation for two guests spends two) in each bucket."}},"required":["units"],"additionalProperties":false,"description":"Only for a `guest_invitation` benefit: the new `units`. The mode and period are fixed once created. Members who have already used more than the new limit keep what they were issued and have nothing left to invite."},"metadata":{"type":"object","additionalProperties":{}}},"minProperties":1}}}},"responses":{"200":{"description":"The updated membership benefit.","headers":{"Request-Id":{"description":"Identifier for this API request.","schema":{"type":"string","format":"uuid"}}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/MembershipBenefit"}}}},"400":{"description":"Invalid request","headers":{"Request-Id":{"description":"Identifier for this API request.","schema":{"type":"string","format":"uuid"}}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorEnvelope"}}}},"401":{"description":"Authentication failed","headers":{"Request-Id":{"description":"Identifier for this API request.","schema":{"type":"string","format":"uuid"}}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorEnvelope"}}}},"403":{"description":"Organizer grant required","headers":{"Request-Id":{"description":"Identifier for this API request.","schema":{"type":"string","format":"uuid"}}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorEnvelope"}}}},"404":{"description":"Resource not found","headers":{"Request-Id":{"description":"Identifier for this API request.","schema":{"type":"string","format":"uuid"}}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorEnvelope"}}}},"409":{"description":"Idempotency conflict","headers":{"Request-Id":{"description":"Identifier for this API request.","schema":{"type":"string","format":"uuid"}}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorEnvelope"}}}},"422":{"description":"Request is semantically invalid","headers":{"Request-Id":{"description":"Identifier for this API request.","schema":{"type":"string","format":"uuid"}}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorEnvelope"}}}},"429":{"description":"Rate limited","headers":{"Request-Id":{"description":"Identifier for this API request.","schema":{"type":"string","format":"uuid"}}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorEnvelope"}}}},"500":{"description":"Internal failure","headers":{"Request-Id":{"description":"Identifier for this API request.","schema":{"type":"string","format":"uuid"}}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorEnvelope"}}}},"503":{"description":"A dependency is unavailable. `live_payments_not_configured` means the platform operator must complete live Stripe credential setup before retrying; no Stripe request is made for that refusal. On checkout creation, no session or capacity hold is created either. Other transient dependency failures may be retried.","headers":{"Request-Id":{"description":"Identifier for this API request.","schema":{"type":"string","format":"uuid"}}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorEnvelope"}}}}}}},"/v1/membership_benefits/{id}/assignments":{"get":{"tags":["Memberships"],"summary":"List where a membership benefit is assigned","description":"The benefit-side view of the same assignments the event routes write.","security":[{"bearerAuth":[]}],"parameters":[{"schema":{"type":"string","pattern":"^mbn_[0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{12}$"},"required":true,"name":"id","in":"path"},{"schema":{"type":"integer","minimum":1,"maximum":100,"default":20},"required":false,"name":"limit","in":"query"},{"schema":{"type":"string"},"required":false,"name":"starting_after","in":"query"},{"schema":{"type":"string"},"required":false,"name":"ending_before","in":"query"},{"schema":{"type":"string","pattern":"^org_[0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{12}$","description":"Required organizer tenant id. There is intentionally no default, even for single-grant keys.","example":"org_0199c4e2-1f7a-7c31-8d44-2b9f6a1e05c7"},"required":true,"description":"Required organizer tenant id. There is intentionally no default, even for single-grant keys.","name":"Ticketing-Organizer","in":"header"}],"responses":{"200":{"description":"The benefit's assignments.","headers":{"Request-Id":{"description":"Identifier for this API request.","schema":{"type":"string","format":"uuid"}}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/MembershipBenefitAssignmentList"}}}},"400":{"description":"Invalid request","headers":{"Request-Id":{"description":"Identifier for this API request.","schema":{"type":"string","format":"uuid"}}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorEnvelope"}}}},"401":{"description":"Authentication failed","headers":{"Request-Id":{"description":"Identifier for this API request.","schema":{"type":"string","format":"uuid"}}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorEnvelope"}}}},"403":{"description":"Organizer grant required","headers":{"Request-Id":{"description":"Identifier for this API request.","schema":{"type":"string","format":"uuid"}}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorEnvelope"}}}},"404":{"description":"Resource not found","headers":{"Request-Id":{"description":"Identifier for this API request.","schema":{"type":"string","format":"uuid"}}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorEnvelope"}}}},"409":{"description":"Idempotency conflict","headers":{"Request-Id":{"description":"Identifier for this API request.","schema":{"type":"string","format":"uuid"}}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorEnvelope"}}}},"422":{"description":"Request is semantically invalid","headers":{"Request-Id":{"description":"Identifier for this API request.","schema":{"type":"string","format":"uuid"}}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorEnvelope"}}}},"429":{"description":"Rate limited","headers":{"Request-Id":{"description":"Identifier for this API request.","schema":{"type":"string","format":"uuid"}}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorEnvelope"}}}},"500":{"description":"Internal failure","headers":{"Request-Id":{"description":"Identifier for this API request.","schema":{"type":"string","format":"uuid"}}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorEnvelope"}}}},"503":{"description":"A dependency is unavailable. `live_payments_not_configured` means the platform operator must complete live Stripe credential setup before retrying; no Stripe request is made for that refusal. On checkout creation, no session or capacity hold is created either. Other transient dependency failures may be retried.","headers":{"Request-Id":{"description":"Identifier for this API request.","schema":{"type":"string","format":"uuid"}}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorEnvelope"}}}}}}},"/v1/events/{id}/membership_benefits":{"get":{"tags":["Memberships"],"summary":"List an event's membership benefit assignments","security":[{"bearerAuth":[]}],"parameters":[{"schema":{"type":"string","pattern":"^evt_[0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{12}$","example":"evt_0199c4e5-2b10-7f44-8a91-3c7d0e5f8a22"},"required":true,"name":"id","in":"path"},{"schema":{"type":"integer","minimum":1,"maximum":100,"default":20},"required":false,"name":"limit","in":"query"},{"schema":{"type":"string"},"required":false,"name":"starting_after","in":"query"},{"schema":{"type":"string"},"required":false,"name":"ending_before","in":"query"},{"schema":{"type":"string","pattern":"^org_[0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{12}$","description":"Required organizer tenant id. There is intentionally no default, even for single-grant keys.","example":"org_0199c4e2-1f7a-7c31-8d44-2b9f6a1e05c7"},"required":true,"description":"Required organizer tenant id. There is intentionally no default, even for single-grant keys.","name":"Ticketing-Organizer","in":"header"}],"responses":{"200":{"description":"The event's assignments.","headers":{"Request-Id":{"description":"Identifier for this API request.","schema":{"type":"string","format":"uuid"}}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/MembershipBenefitAssignmentList"}}}},"400":{"description":"Invalid request","headers":{"Request-Id":{"description":"Identifier for this API request.","schema":{"type":"string","format":"uuid"}}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorEnvelope"}}}},"401":{"description":"Authentication failed","headers":{"Request-Id":{"description":"Identifier for this API request.","schema":{"type":"string","format":"uuid"}}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorEnvelope"}}}},"403":{"description":"Organizer grant required","headers":{"Request-Id":{"description":"Identifier for this API request.","schema":{"type":"string","format":"uuid"}}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorEnvelope"}}}},"404":{"description":"Resource not found","headers":{"Request-Id":{"description":"Identifier for this API request.","schema":{"type":"string","format":"uuid"}}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorEnvelope"}}}},"409":{"description":"Idempotency conflict","headers":{"Request-Id":{"description":"Identifier for this API request.","schema":{"type":"string","format":"uuid"}}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorEnvelope"}}}},"422":{"description":"Request is semantically invalid","headers":{"Request-Id":{"description":"Identifier for this API request.","schema":{"type":"string","format":"uuid"}}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorEnvelope"}}}},"429":{"description":"Rate limited","headers":{"Request-Id":{"description":"Identifier for this API request.","schema":{"type":"string","format":"uuid"}}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorEnvelope"}}}},"500":{"description":"Internal failure","headers":{"Request-Id":{"description":"Identifier for this API request.","schema":{"type":"string","format":"uuid"}}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorEnvelope"}}}},"503":{"description":"A dependency is unavailable. `live_payments_not_configured` means the platform operator must complete live Stripe credential setup before retrying; no Stripe request is made for that refusal. On checkout creation, no session or capacity hold is created either. Other transient dependency failures may be retried.","headers":{"Request-Id":{"description":"Identifier for this API request.","schema":{"type":"string","format":"uuid"}}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorEnvelope"}}}}}}},"/v1/events/{id}/membership_benefits/{benefit_id}":{"put":{"tags":["Memberships"],"summary":"Assign a membership benefit to an event","description":"Creates or replaces this benefit's assignment to the event; a benefit has at most one assignment per event. The whole selection is checked first: an item of another event or an eventless item answers `item_not_in_event`, an unknown item `invalid_reference`, and nothing changes. Sending the current selection again changes nothing and records no activity.","security":[{"bearerAuth":[]}],"parameters":[{"schema":{"type":"string","pattern":"^evt_[0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{12}$","example":"evt_0199c4e5-2b10-7f44-8a91-3c7d0e5f8a22"},"required":true,"name":"id","in":"path"},{"schema":{"type":"string","pattern":"^mbn_[0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{12}$"},"required":true,"name":"benefit_id","in":"path"},{"schema":{"type":"string","pattern":"^org_[0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{12}$","description":"Required organizer tenant id. There is intentionally no default, even for single-grant keys.","example":"org_0199c4e2-1f7a-7c31-8d44-2b9f6a1e05c7"},"required":true,"description":"Required organizer tenant id. There is intentionally no default, even for single-grant keys.","name":"Ticketing-Organizer","in":"header"},{"schema":{"type":"string","minLength":1,"description":"Optional replay key for this update operation."},"required":false,"description":"Optional replay key for this update operation.","name":"Idempotency-Key","in":"header"}],"requestBody":{"content":{"application/json":{"schema":{"type":"object","properties":{"scope":{"type":"string","enum":["event","items"],"description":"`event` covers every item of the event, including items added later. `items` covers only `item_ids`."},"item_ids":{"type":"array","items":{"type":"string","pattern":"^itm_[0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{12}$"},"description":"Required and non-empty for `items`: items of this event. Omit or send an empty list for `event`."}},"required":["scope"]}}}},"responses":{"200":{"description":"The assignment.","headers":{"Request-Id":{"description":"Identifier for this API request.","schema":{"type":"string","format":"uuid"}}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/MembershipBenefitAssignment"}}}},"400":{"description":"Invalid request","headers":{"Request-Id":{"description":"Identifier for this API request.","schema":{"type":"string","format":"uuid"}}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorEnvelope"}}}},"401":{"description":"Authentication failed","headers":{"Request-Id":{"description":"Identifier for this API request.","schema":{"type":"string","format":"uuid"}}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorEnvelope"}}}},"403":{"description":"Organizer grant required","headers":{"Request-Id":{"description":"Identifier for this API request.","schema":{"type":"string","format":"uuid"}}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorEnvelope"}}}},"404":{"description":"Resource not found","headers":{"Request-Id":{"description":"Identifier for this API request.","schema":{"type":"string","format":"uuid"}}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorEnvelope"}}}},"409":{"description":"Idempotency conflict","headers":{"Request-Id":{"description":"Identifier for this API request.","schema":{"type":"string","format":"uuid"}}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorEnvelope"}}}},"422":{"description":"Request is semantically invalid","headers":{"Request-Id":{"description":"Identifier for this API request.","schema":{"type":"string","format":"uuid"}}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorEnvelope"}}}},"429":{"description":"Rate limited","headers":{"Request-Id":{"description":"Identifier for this API request.","schema":{"type":"string","format":"uuid"}}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorEnvelope"}}}},"500":{"description":"Internal failure","headers":{"Request-Id":{"description":"Identifier for this API request.","schema":{"type":"string","format":"uuid"}}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorEnvelope"}}}},"503":{"description":"A dependency is unavailable. `live_payments_not_configured` means the platform operator must complete live Stripe credential setup before retrying; no Stripe request is made for that refusal. On checkout creation, no session or capacity hold is created either. Other transient dependency failures may be retried.","headers":{"Request-Id":{"description":"Identifier for this API request.","schema":{"type":"string","format":"uuid"}}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorEnvelope"}}}}}},"delete":{"tags":["Memberships"],"summary":"Remove a membership benefit from an event","description":"The benefit then gives nothing at this event. Removing an assignment that does not exist answers `not_found`; send an Idempotency-Key to retry safely.","security":[{"bearerAuth":[]}],"parameters":[{"schema":{"type":"string","pattern":"^evt_[0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{12}$","example":"evt_0199c4e5-2b10-7f44-8a91-3c7d0e5f8a22"},"required":true,"name":"id","in":"path"},{"schema":{"type":"string","pattern":"^mbn_[0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{12}$"},"required":true,"name":"benefit_id","in":"path"},{"schema":{"type":"string","pattern":"^org_[0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{12}$","description":"Required organizer tenant id. There is intentionally no default, even for single-grant keys.","example":"org_0199c4e2-1f7a-7c31-8d44-2b9f6a1e05c7"},"required":true,"description":"Required organizer tenant id. There is intentionally no default, even for single-grant keys.","name":"Ticketing-Organizer","in":"header"},{"schema":{"type":"string","minLength":1,"description":"Optional replay key for this update operation."},"required":false,"description":"Optional replay key for this update operation.","name":"Idempotency-Key","in":"header"}],"responses":{"200":{"description":"The removed assignment.","headers":{"Request-Id":{"description":"Identifier for this API request.","schema":{"type":"string","format":"uuid"}}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/MembershipBenefitAssignment"}}}},"400":{"description":"Invalid request","headers":{"Request-Id":{"description":"Identifier for this API request.","schema":{"type":"string","format":"uuid"}}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorEnvelope"}}}},"401":{"description":"Authentication failed","headers":{"Request-Id":{"description":"Identifier for this API request.","schema":{"type":"string","format":"uuid"}}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorEnvelope"}}}},"403":{"description":"Organizer grant required","headers":{"Request-Id":{"description":"Identifier for this API request.","schema":{"type":"string","format":"uuid"}}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorEnvelope"}}}},"404":{"description":"Resource not found","headers":{"Request-Id":{"description":"Identifier for this API request.","schema":{"type":"string","format":"uuid"}}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorEnvelope"}}}},"409":{"description":"Idempotency conflict","headers":{"Request-Id":{"description":"Identifier for this API request.","schema":{"type":"string","format":"uuid"}}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorEnvelope"}}}},"422":{"description":"Request is semantically invalid","headers":{"Request-Id":{"description":"Identifier for this API request.","schema":{"type":"string","format":"uuid"}}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorEnvelope"}}}},"429":{"description":"Rate limited","headers":{"Request-Id":{"description":"Identifier for this API request.","schema":{"type":"string","format":"uuid"}}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorEnvelope"}}}},"500":{"description":"Internal failure","headers":{"Request-Id":{"description":"Identifier for this API request.","schema":{"type":"string","format":"uuid"}}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorEnvelope"}}}},"503":{"description":"A dependency is unavailable. `live_payments_not_configured` means the platform operator must complete live Stripe credential setup before retrying; no Stripe request is made for that refusal. On checkout creation, no session or capacity hold is created either. Other transient dependency failures may be retried.","headers":{"Request-Id":{"description":"Identifier for this API request.","schema":{"type":"string","format":"uuid"}}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorEnvelope"}}}}}}},"/v1/invitation_pools":{"get":{"tags":["Invitations"],"summary":"List invitation pools","description":"Newest first, id-keyset. Each pool carries what has been issued against it and what remains.","security":[{"bearerAuth":[]}],"parameters":[{"schema":{"type":"integer","minimum":1,"maximum":100,"default":20},"required":false,"name":"limit","in":"query"},{"schema":{"type":"string"},"required":false,"name":"starting_after","in":"query"},{"schema":{"type":"string"},"required":false,"name":"ending_before","in":"query"},{"schema":{"type":"string","pattern":"^evt_[0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{12}$","description":"Only the pools of this event."},"required":false,"description":"Only the pools of this event.","name":"event_id","in":"query"},{"schema":{"type":"string","pattern":"^org_[0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{12}$","description":"Required organizer tenant id. There is intentionally no default, even for single-grant keys.","example":"org_0199c4e2-1f7a-7c31-8d44-2b9f6a1e05c7"},"required":true,"description":"Required organizer tenant id. There is intentionally no default, even for single-grant keys.","name":"Ticketing-Organizer","in":"header"}],"responses":{"200":{"description":"Invitation pools.","headers":{"Request-Id":{"description":"Identifier for this API request.","schema":{"type":"string","format":"uuid"}}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/InvitationPoolList"}}}},"400":{"description":"Invalid request","headers":{"Request-Id":{"description":"Identifier for this API request.","schema":{"type":"string","format":"uuid"}}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorEnvelope"}}}},"401":{"description":"Authentication failed","headers":{"Request-Id":{"description":"Identifier for this API request.","schema":{"type":"string","format":"uuid"}}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorEnvelope"}}}},"403":{"description":"Organizer grant required","headers":{"Request-Id":{"description":"Identifier for this API request.","schema":{"type":"string","format":"uuid"}}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorEnvelope"}}}},"404":{"description":"Resource not found","headers":{"Request-Id":{"description":"Identifier for this API request.","schema":{"type":"string","format":"uuid"}}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorEnvelope"}}}},"409":{"description":"Idempotency conflict","headers":{"Request-Id":{"description":"Identifier for this API request.","schema":{"type":"string","format":"uuid"}}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorEnvelope"}}}},"422":{"description":"Request is semantically invalid","headers":{"Request-Id":{"description":"Identifier for this API request.","schema":{"type":"string","format":"uuid"}}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorEnvelope"}}}},"429":{"description":"Rate limited","headers":{"Request-Id":{"description":"Identifier for this API request.","schema":{"type":"string","format":"uuid"}}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorEnvelope"}}}},"500":{"description":"Internal failure","headers":{"Request-Id":{"description":"Identifier for this API request.","schema":{"type":"string","format":"uuid"}}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorEnvelope"}}}},"503":{"description":"A dependency is unavailable. `live_payments_not_configured` means the platform operator must complete live Stripe credential setup before retrying; no Stripe request is made for that refusal. On checkout creation, no session or capacity hold is created either. Other transient dependency failures may be retried.","headers":{"Request-Id":{"description":"Identifier for this API request.","schema":{"type":"string","format":"uuid"}}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorEnvelope"}}}}}},"post":{"tags":["Invitations"],"summary":"Create an invitation pool","description":"A shared limit for one event that several allocations draw on together. It issues nothing on its own: tickets are issued by comps against an allocation joined to it. An unknown event answers `invalid_reference`. Requires `Idempotency-Key`.","security":[{"bearerAuth":[]}],"parameters":[{"schema":{"type":"string","pattern":"^org_[0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{12}$","description":"Required organizer tenant id. There is intentionally no default, even for single-grant keys.","example":"org_0199c4e2-1f7a-7c31-8d44-2b9f6a1e05c7"},"required":true,"description":"Required organizer tenant id. There is intentionally no default, even for single-grant keys.","name":"Ticketing-Organizer","in":"header"},{"schema":{"type":"string","minLength":1,"description":"Required replay key for this create operation."},"required":true,"description":"Required replay key for this create operation.","name":"Idempotency-Key","in":"header"}],"requestBody":{"content":{"application/json":{"schema":{"type":"object","properties":{"event_id":{"type":"string","pattern":"^evt_[0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{12}$","description":"The event the pool belongs to. Fixed once created."},"limit_units":{"type":"integer","minimum":0,"maximum":100000,"description":"Ticket units this budget allows in all. A maximum, not a reservation: it holds no capacity back from the event. Zero closes it."},"label":{"type":"string","minLength":1,"maxLength":200},"external_ref":{"type":"string","minLength":1,"maxLength":255},"metadata":{"type":"object","additionalProperties":{}}},"required":["event_id","limit_units"]}}}},"responses":{"201":{"description":"The invitation pool.","headers":{"Request-Id":{"description":"Identifier for this API request.","schema":{"type":"string","format":"uuid"}}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/InvitationPool"}}}},"400":{"description":"Invalid request","headers":{"Request-Id":{"description":"Identifier for this API request.","schema":{"type":"string","format":"uuid"}}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorEnvelope"}}}},"401":{"description":"Authentication failed","headers":{"Request-Id":{"description":"Identifier for this API request.","schema":{"type":"string","format":"uuid"}}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorEnvelope"}}}},"403":{"description":"Organizer grant required","headers":{"Request-Id":{"description":"Identifier for this API request.","schema":{"type":"string","format":"uuid"}}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorEnvelope"}}}},"404":{"description":"Resource not found","headers":{"Request-Id":{"description":"Identifier for this API request.","schema":{"type":"string","format":"uuid"}}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorEnvelope"}}}},"409":{"description":"Idempotency conflict","headers":{"Request-Id":{"description":"Identifier for this API request.","schema":{"type":"string","format":"uuid"}}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorEnvelope"}}}},"422":{"description":"Request is semantically invalid","headers":{"Request-Id":{"description":"Identifier for this API request.","schema":{"type":"string","format":"uuid"}}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorEnvelope"}}}},"429":{"description":"Rate limited","headers":{"Request-Id":{"description":"Identifier for this API request.","schema":{"type":"string","format":"uuid"}}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorEnvelope"}}}},"500":{"description":"Internal failure","headers":{"Request-Id":{"description":"Identifier for this API request.","schema":{"type":"string","format":"uuid"}}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorEnvelope"}}}},"503":{"description":"A dependency is unavailable. `live_payments_not_configured` means the platform operator must complete live Stripe credential setup before retrying; no Stripe request is made for that refusal. On checkout creation, no session or capacity hold is created either. Other transient dependency failures may be retried.","headers":{"Request-Id":{"description":"Identifier for this API request.","schema":{"type":"string","format":"uuid"}}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorEnvelope"}}}}}}},"/v1/invitation_pools/{id}":{"get":{"tags":["Invitations"],"summary":"Retrieve an invitation pool","security":[{"bearerAuth":[]}],"parameters":[{"schema":{"type":"string","pattern":"^ivp_[0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{12}$"},"required":true,"name":"id","in":"path"},{"schema":{"type":"string","pattern":"^org_[0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{12}$","description":"Required organizer tenant id. There is intentionally no default, even for single-grant keys.","example":"org_0199c4e2-1f7a-7c31-8d44-2b9f6a1e05c7"},"required":true,"description":"Required organizer tenant id. There is intentionally no default, even for single-grant keys.","name":"Ticketing-Organizer","in":"header"}],"responses":{"200":{"description":"The invitation pool.","headers":{"Request-Id":{"description":"Identifier for this API request.","schema":{"type":"string","format":"uuid"}}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/InvitationPool"}}}},"400":{"description":"Invalid request","headers":{"Request-Id":{"description":"Identifier for this API request.","schema":{"type":"string","format":"uuid"}}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorEnvelope"}}}},"401":{"description":"Authentication failed","headers":{"Request-Id":{"description":"Identifier for this API request.","schema":{"type":"string","format":"uuid"}}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorEnvelope"}}}},"403":{"description":"Organizer grant required","headers":{"Request-Id":{"description":"Identifier for this API request.","schema":{"type":"string","format":"uuid"}}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorEnvelope"}}}},"404":{"description":"Resource not found","headers":{"Request-Id":{"description":"Identifier for this API request.","schema":{"type":"string","format":"uuid"}}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorEnvelope"}}}},"409":{"description":"Idempotency conflict","headers":{"Request-Id":{"description":"Identifier for this API request.","schema":{"type":"string","format":"uuid"}}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorEnvelope"}}}},"422":{"description":"Request is semantically invalid","headers":{"Request-Id":{"description":"Identifier for this API request.","schema":{"type":"string","format":"uuid"}}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorEnvelope"}}}},"429":{"description":"Rate limited","headers":{"Request-Id":{"description":"Identifier for this API request.","schema":{"type":"string","format":"uuid"}}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorEnvelope"}}}},"500":{"description":"Internal failure","headers":{"Request-Id":{"description":"Identifier for this API request.","schema":{"type":"string","format":"uuid"}}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorEnvelope"}}}},"503":{"description":"A dependency is unavailable. `live_payments_not_configured` means the platform operator must complete live Stripe credential setup before retrying; no Stripe request is made for that refusal. On checkout creation, no session or capacity hold is created either. Other transient dependency failures may be retried.","headers":{"Request-Id":{"description":"Identifier for this API request.","schema":{"type":"string","format":"uuid"}}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorEnvelope"}}}}}},"patch":{"tags":["Invitations"],"summary":"Update an invitation pool","description":"Changes the limit, label, external reference or metadata; the event is fixed. Tickets already issued keep counting: a limit set below what was issued leaves nothing remaining and issues no more, and returns nothing. To give units back, return them of their usage with `POST /v1/invitation_usages/{id}/returns`.","security":[{"bearerAuth":[]}],"parameters":[{"schema":{"type":"string","pattern":"^ivp_[0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{12}$"},"required":true,"name":"id","in":"path"},{"schema":{"type":"string","pattern":"^org_[0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{12}$","description":"Required organizer tenant id. There is intentionally no default, even for single-grant keys.","example":"org_0199c4e2-1f7a-7c31-8d44-2b9f6a1e05c7"},"required":true,"description":"Required organizer tenant id. There is intentionally no default, even for single-grant keys.","name":"Ticketing-Organizer","in":"header"},{"schema":{"type":"string","minLength":1,"description":"Optional replay key for this update operation."},"required":false,"description":"Optional replay key for this update operation.","name":"Idempotency-Key","in":"header"}],"requestBody":{"content":{"application/json":{"schema":{"type":"object","properties":{"limit_units":{"type":"integer","minimum":0,"maximum":100000,"description":"Ticket units this budget allows in all. A maximum, not a reservation: it holds no capacity back from the event. Zero closes it."},"label":{"type":["string","null"],"minLength":1,"maxLength":200},"external_ref":{"type":["string","null"],"minLength":1,"maxLength":255},"metadata":{"type":"object","additionalProperties":{}}},"minProperties":1}}}},"responses":{"200":{"description":"The updated invitation pool.","headers":{"Request-Id":{"description":"Identifier for this API request.","schema":{"type":"string","format":"uuid"}}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/InvitationPool"}}}},"400":{"description":"Invalid request","headers":{"Request-Id":{"description":"Identifier for this API request.","schema":{"type":"string","format":"uuid"}}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorEnvelope"}}}},"401":{"description":"Authentication failed","headers":{"Request-Id":{"description":"Identifier for this API request.","schema":{"type":"string","format":"uuid"}}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorEnvelope"}}}},"403":{"description":"Organizer grant required","headers":{"Request-Id":{"description":"Identifier for this API request.","schema":{"type":"string","format":"uuid"}}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorEnvelope"}}}},"404":{"description":"Resource not found","headers":{"Request-Id":{"description":"Identifier for this API request.","schema":{"type":"string","format":"uuid"}}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorEnvelope"}}}},"409":{"description":"Idempotency conflict","headers":{"Request-Id":{"description":"Identifier for this API request.","schema":{"type":"string","format":"uuid"}}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorEnvelope"}}}},"422":{"description":"Request is semantically invalid","headers":{"Request-Id":{"description":"Identifier for this API request.","schema":{"type":"string","format":"uuid"}}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorEnvelope"}}}},"429":{"description":"Rate limited","headers":{"Request-Id":{"description":"Identifier for this API request.","schema":{"type":"string","format":"uuid"}}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorEnvelope"}}}},"500":{"description":"Internal failure","headers":{"Request-Id":{"description":"Identifier for this API request.","schema":{"type":"string","format":"uuid"}}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorEnvelope"}}}},"503":{"description":"A dependency is unavailable. `live_payments_not_configured` means the platform operator must complete live Stripe credential setup before retrying; no Stripe request is made for that refusal. On checkout creation, no session or capacity hold is created either. Other transient dependency failures may be retried.","headers":{"Request-Id":{"description":"Identifier for this API request.","schema":{"type":"string","format":"uuid"}}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorEnvelope"}}}}}}},"/v1/invitation_allocations":{"get":{"tags":["Invitations"],"summary":"List invitation allocations","description":"Newest first, id-keyset. Each allocation carries what has been issued against it and what it can issue now.","security":[{"bearerAuth":[]}],"parameters":[{"schema":{"type":"integer","minimum":1,"maximum":100,"default":20},"required":false,"name":"limit","in":"query"},{"schema":{"type":"string"},"required":false,"name":"starting_after","in":"query"},{"schema":{"type":"string"},"required":false,"name":"ending_before","in":"query"},{"schema":{"type":"string","pattern":"^evt_[0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{12}$","description":"Only the allocations of this event."},"required":false,"description":"Only the allocations of this event.","name":"event_id","in":"query"},{"schema":{"type":"string","pattern":"^ivp_[0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{12}$","description":"Only the allocations joined to this pool."},"required":false,"description":"Only the allocations joined to this pool.","name":"pool_id","in":"query"},{"schema":{"type":"string","pattern":"^org_[0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{12}$","description":"Required organizer tenant id. There is intentionally no default, even for single-grant keys.","example":"org_0199c4e2-1f7a-7c31-8d44-2b9f6a1e05c7"},"required":true,"description":"Required organizer tenant id. There is intentionally no default, even for single-grant keys.","name":"Ticketing-Organizer","in":"header"}],"responses":{"200":{"description":"Invitation allocations.","headers":{"Request-Id":{"description":"Identifier for this API request.","schema":{"type":"string","format":"uuid"}}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/InvitationAllocationList"}}}},"400":{"description":"Invalid request","headers":{"Request-Id":{"description":"Identifier for this API request.","schema":{"type":"string","format":"uuid"}}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorEnvelope"}}}},"401":{"description":"Authentication failed","headers":{"Request-Id":{"description":"Identifier for this API request.","schema":{"type":"string","format":"uuid"}}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorEnvelope"}}}},"403":{"description":"Organizer grant required","headers":{"Request-Id":{"description":"Identifier for this API request.","schema":{"type":"string","format":"uuid"}}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorEnvelope"}}}},"404":{"description":"Resource not found","headers":{"Request-Id":{"description":"Identifier for this API request.","schema":{"type":"string","format":"uuid"}}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorEnvelope"}}}},"409":{"description":"Idempotency conflict","headers":{"Request-Id":{"description":"Identifier for this API request.","schema":{"type":"string","format":"uuid"}}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorEnvelope"}}}},"422":{"description":"Request is semantically invalid","headers":{"Request-Id":{"description":"Identifier for this API request.","schema":{"type":"string","format":"uuid"}}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorEnvelope"}}}},"429":{"description":"Rate limited","headers":{"Request-Id":{"description":"Identifier for this API request.","schema":{"type":"string","format":"uuid"}}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorEnvelope"}}}},"500":{"description":"Internal failure","headers":{"Request-Id":{"description":"Identifier for this API request.","schema":{"type":"string","format":"uuid"}}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorEnvelope"}}}},"503":{"description":"A dependency is unavailable. `live_payments_not_configured` means the platform operator must complete live Stripe credential setup before retrying; no Stripe request is made for that refusal. On checkout creation, no session or capacity hold is created either. Other transient dependency failures may be retried.","headers":{"Request-Id":{"description":"Identifier for this API request.","schema":{"type":"string","format":"uuid"}}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorEnvelope"}}}}}},"post":{"tags":["Invitations"],"summary":"Create an invitation allocation","description":"An invitation budget for one event: a ticket-unit maximum an organizer hands to whoever it chooses. The engine knows no artist or customer behind it; map your own actors to the returned id. It may also draw on a pool of the same event. An unknown event answers `invalid_reference`, as does a pool that is not the event's. Requires `Idempotency-Key`.","security":[{"bearerAuth":[]}],"parameters":[{"schema":{"type":"string","pattern":"^org_[0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{12}$","description":"Required organizer tenant id. There is intentionally no default, even for single-grant keys.","example":"org_0199c4e2-1f7a-7c31-8d44-2b9f6a1e05c7"},"required":true,"description":"Required organizer tenant id. There is intentionally no default, even for single-grant keys.","name":"Ticketing-Organizer","in":"header"},{"schema":{"type":"string","minLength":1,"description":"Required replay key for this create operation."},"required":true,"description":"Required replay key for this create operation.","name":"Idempotency-Key","in":"header"}],"requestBody":{"content":{"application/json":{"schema":{"type":"object","properties":{"event_id":{"type":"string","pattern":"^evt_[0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{12}$","description":"The event the allocation belongs to. Fixed once created."},"pool_id":{"type":"string","pattern":"^ivp_[0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{12}$","description":"A pool of the same event whose limit the allocation also draws on. Fixed once created; omit it for an allocation bounded only by its own limit."},"limit_units":{"type":"integer","minimum":0,"maximum":100000,"description":"Ticket units this budget allows in all. A maximum, not a reservation: it holds no capacity back from the event. Zero closes it."},"label":{"type":"string","minLength":1,"maxLength":200},"external_ref":{"type":"string","minLength":1,"maxLength":255},"metadata":{"type":"object","additionalProperties":{}}},"required":["event_id","limit_units"]}}}},"responses":{"201":{"description":"The invitation allocation.","headers":{"Request-Id":{"description":"Identifier for this API request.","schema":{"type":"string","format":"uuid"}}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/InvitationAllocation"}}}},"400":{"description":"Invalid request","headers":{"Request-Id":{"description":"Identifier for this API request.","schema":{"type":"string","format":"uuid"}}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorEnvelope"}}}},"401":{"description":"Authentication failed","headers":{"Request-Id":{"description":"Identifier for this API request.","schema":{"type":"string","format":"uuid"}}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorEnvelope"}}}},"403":{"description":"Organizer grant required","headers":{"Request-Id":{"description":"Identifier for this API request.","schema":{"type":"string","format":"uuid"}}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorEnvelope"}}}},"404":{"description":"Resource not found","headers":{"Request-Id":{"description":"Identifier for this API request.","schema":{"type":"string","format":"uuid"}}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorEnvelope"}}}},"409":{"description":"Idempotency conflict","headers":{"Request-Id":{"description":"Identifier for this API request.","schema":{"type":"string","format":"uuid"}}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorEnvelope"}}}},"422":{"description":"Request is semantically invalid","headers":{"Request-Id":{"description":"Identifier for this API request.","schema":{"type":"string","format":"uuid"}}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorEnvelope"}}}},"429":{"description":"Rate limited","headers":{"Request-Id":{"description":"Identifier for this API request.","schema":{"type":"string","format":"uuid"}}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorEnvelope"}}}},"500":{"description":"Internal failure","headers":{"Request-Id":{"description":"Identifier for this API request.","schema":{"type":"string","format":"uuid"}}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorEnvelope"}}}},"503":{"description":"A dependency is unavailable. `live_payments_not_configured` means the platform operator must complete live Stripe credential setup before retrying; no Stripe request is made for that refusal. On checkout creation, no session or capacity hold is created either. Other transient dependency failures may be retried.","headers":{"Request-Id":{"description":"Identifier for this API request.","schema":{"type":"string","format":"uuid"}}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorEnvelope"}}}}}}},"/v1/invitation_allocations/{id}":{"get":{"tags":["Invitations"],"summary":"Retrieve an invitation allocation","security":[{"bearerAuth":[]}],"parameters":[{"schema":{"type":"string","pattern":"^iva_[0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{12}$"},"required":true,"name":"id","in":"path"},{"schema":{"type":"string","pattern":"^org_[0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{12}$","description":"Required organizer tenant id. There is intentionally no default, even for single-grant keys.","example":"org_0199c4e2-1f7a-7c31-8d44-2b9f6a1e05c7"},"required":true,"description":"Required organizer tenant id. There is intentionally no default, even for single-grant keys.","name":"Ticketing-Organizer","in":"header"}],"responses":{"200":{"description":"The invitation allocation.","headers":{"Request-Id":{"description":"Identifier for this API request.","schema":{"type":"string","format":"uuid"}}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/InvitationAllocation"}}}},"400":{"description":"Invalid request","headers":{"Request-Id":{"description":"Identifier for this API request.","schema":{"type":"string","format":"uuid"}}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorEnvelope"}}}},"401":{"description":"Authentication failed","headers":{"Request-Id":{"description":"Identifier for this API request.","schema":{"type":"string","format":"uuid"}}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorEnvelope"}}}},"403":{"description":"Organizer grant required","headers":{"Request-Id":{"description":"Identifier for this API request.","schema":{"type":"string","format":"uuid"}}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorEnvelope"}}}},"404":{"description":"Resource not found","headers":{"Request-Id":{"description":"Identifier for this API request.","schema":{"type":"string","format":"uuid"}}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorEnvelope"}}}},"409":{"description":"Idempotency conflict","headers":{"Request-Id":{"description":"Identifier for this API request.","schema":{"type":"string","format":"uuid"}}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorEnvelope"}}}},"422":{"description":"Request is semantically invalid","headers":{"Request-Id":{"description":"Identifier for this API request.","schema":{"type":"string","format":"uuid"}}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorEnvelope"}}}},"429":{"description":"Rate limited","headers":{"Request-Id":{"description":"Identifier for this API request.","schema":{"type":"string","format":"uuid"}}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorEnvelope"}}}},"500":{"description":"Internal failure","headers":{"Request-Id":{"description":"Identifier for this API request.","schema":{"type":"string","format":"uuid"}}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorEnvelope"}}}},"503":{"description":"A dependency is unavailable. `live_payments_not_configured` means the platform operator must complete live Stripe credential setup before retrying; no Stripe request is made for that refusal. On checkout creation, no session or capacity hold is created either. Other transient dependency failures may be retried.","headers":{"Request-Id":{"description":"Identifier for this API request.","schema":{"type":"string","format":"uuid"}}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorEnvelope"}}}}}},"patch":{"tags":["Invitations"],"summary":"Update an invitation allocation","description":"Changes the limit, label, external reference or metadata; the event and pool are fixed. Tickets already issued keep counting: a limit set below what was issued leaves nothing remaining and issues no more, and returns nothing. To give units back, return them of their usage with `POST /v1/invitation_usages/{id}/returns`.","security":[{"bearerAuth":[]}],"parameters":[{"schema":{"type":"string","pattern":"^iva_[0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{12}$"},"required":true,"name":"id","in":"path"},{"schema":{"type":"string","pattern":"^org_[0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{12}$","description":"Required organizer tenant id. There is intentionally no default, even for single-grant keys.","example":"org_0199c4e2-1f7a-7c31-8d44-2b9f6a1e05c7"},"required":true,"description":"Required organizer tenant id. There is intentionally no default, even for single-grant keys.","name":"Ticketing-Organizer","in":"header"},{"schema":{"type":"string","minLength":1,"description":"Optional replay key for this update operation."},"required":false,"description":"Optional replay key for this update operation.","name":"Idempotency-Key","in":"header"}],"requestBody":{"content":{"application/json":{"schema":{"type":"object","properties":{"limit_units":{"type":"integer","minimum":0,"maximum":100000,"description":"Ticket units this budget allows in all. A maximum, not a reservation: it holds no capacity back from the event. Zero closes it."},"label":{"type":["string","null"],"minLength":1,"maxLength":200},"external_ref":{"type":["string","null"],"minLength":1,"maxLength":255},"metadata":{"type":"object","additionalProperties":{}}},"minProperties":1}}}},"responses":{"200":{"description":"The updated invitation allocation.","headers":{"Request-Id":{"description":"Identifier for this API request.","schema":{"type":"string","format":"uuid"}}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/InvitationAllocation"}}}},"400":{"description":"Invalid request","headers":{"Request-Id":{"description":"Identifier for this API request.","schema":{"type":"string","format":"uuid"}}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorEnvelope"}}}},"401":{"description":"Authentication failed","headers":{"Request-Id":{"description":"Identifier for this API request.","schema":{"type":"string","format":"uuid"}}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorEnvelope"}}}},"403":{"description":"Organizer grant required","headers":{"Request-Id":{"description":"Identifier for this API request.","schema":{"type":"string","format":"uuid"}}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorEnvelope"}}}},"404":{"description":"Resource not found","headers":{"Request-Id":{"description":"Identifier for this API request.","schema":{"type":"string","format":"uuid"}}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorEnvelope"}}}},"409":{"description":"Idempotency conflict","headers":{"Request-Id":{"description":"Identifier for this API request.","schema":{"type":"string","format":"uuid"}}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorEnvelope"}}}},"422":{"description":"Request is semantically invalid","headers":{"Request-Id":{"description":"Identifier for this API request.","schema":{"type":"string","format":"uuid"}}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorEnvelope"}}}},"429":{"description":"Rate limited","headers":{"Request-Id":{"description":"Identifier for this API request.","schema":{"type":"string","format":"uuid"}}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorEnvelope"}}}},"500":{"description":"Internal failure","headers":{"Request-Id":{"description":"Identifier for this API request.","schema":{"type":"string","format":"uuid"}}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorEnvelope"}}}},"503":{"description":"A dependency is unavailable. `live_payments_not_configured` means the platform operator must complete live Stripe credential setup before retrying; no Stripe request is made for that refusal. On checkout creation, no session or capacity hold is created either. Other transient dependency failures may be retried.","headers":{"Request-Id":{"description":"Identifier for this API request.","schema":{"type":"string","format":"uuid"}}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorEnvelope"}}}}}}},"/v1/events/{id}/qualifying_plans":{"get":{"tags":["Memberships"],"summary":"List the memberships an event counts toward","description":"The event-side view of the same rows the plan-side list reads.","security":[{"bearerAuth":[]}],"parameters":[{"schema":{"type":"string","pattern":"^evt_[0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{12}$","example":"evt_0199c4e5-2b10-7f44-8a91-3c7d0e5f8a22"},"required":true,"name":"id","in":"path"},{"schema":{"type":"integer","minimum":1,"maximum":100,"default":20},"required":false,"name":"limit","in":"query"},{"schema":{"type":"string"},"required":false,"name":"starting_after","in":"query"},{"schema":{"type":"string"},"required":false,"name":"ending_before","in":"query"},{"schema":{"type":"string","pattern":"^org_[0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{12}$","description":"Required organizer tenant id. There is intentionally no default, even for single-grant keys.","example":"org_0199c4e2-1f7a-7c31-8d44-2b9f6a1e05c7"},"required":true,"description":"Required organizer tenant id. There is intentionally no default, even for single-grant keys.","name":"Ticketing-Organizer","in":"header"}],"responses":{"200":{"description":"The plans this event counts toward.","headers":{"Request-Id":{"description":"Identifier for this API request.","schema":{"type":"string","format":"uuid"}}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/MembershipQualifyingEventList"}}}},"400":{"description":"Invalid request","headers":{"Request-Id":{"description":"Identifier for this API request.","schema":{"type":"string","format":"uuid"}}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorEnvelope"}}}},"401":{"description":"Authentication failed","headers":{"Request-Id":{"description":"Identifier for this API request.","schema":{"type":"string","format":"uuid"}}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorEnvelope"}}}},"403":{"description":"Organizer grant required","headers":{"Request-Id":{"description":"Identifier for this API request.","schema":{"type":"string","format":"uuid"}}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorEnvelope"}}}},"404":{"description":"Resource not found","headers":{"Request-Id":{"description":"Identifier for this API request.","schema":{"type":"string","format":"uuid"}}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorEnvelope"}}}},"409":{"description":"Idempotency conflict","headers":{"Request-Id":{"description":"Identifier for this API request.","schema":{"type":"string","format":"uuid"}}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorEnvelope"}}}},"422":{"description":"Request is semantically invalid","headers":{"Request-Id":{"description":"Identifier for this API request.","schema":{"type":"string","format":"uuid"}}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorEnvelope"}}}},"429":{"description":"Rate limited","headers":{"Request-Id":{"description":"Identifier for this API request.","schema":{"type":"string","format":"uuid"}}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorEnvelope"}}}},"500":{"description":"Internal failure","headers":{"Request-Id":{"description":"Identifier for this API request.","schema":{"type":"string","format":"uuid"}}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorEnvelope"}}}},"503":{"description":"A dependency is unavailable. `live_payments_not_configured` means the platform operator must complete live Stripe credential setup before retrying; no Stripe request is made for that refusal. On checkout creation, no session or capacity hold is created either. Other transient dependency failures may be retried.","headers":{"Request-Id":{"description":"Identifier for this API request.","schema":{"type":"string","format":"uuid"}}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorEnvelope"}}}}}}},"/v1/membership_plans/{id}/qualifying_events":{"get":{"tags":["Memberships"],"summary":"List the events that count toward a membership plan","description":"Meaningful for a plan whose attendance rule has scope `selected_events`. Rows kept from before the plan counted every event are listed too but ignored while the scope is `all_events`.","security":[{"bearerAuth":[]}],"parameters":[{"schema":{"type":"string","pattern":"^mpl_[0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{12}$"},"required":true,"name":"id","in":"path"},{"schema":{"type":"integer","minimum":1,"maximum":100,"default":20},"required":false,"name":"limit","in":"query"},{"schema":{"type":"string"},"required":false,"name":"starting_after","in":"query"},{"schema":{"type":"string"},"required":false,"name":"ending_before","in":"query"},{"schema":{"type":"string","pattern":"^org_[0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{12}$","description":"Required organizer tenant id. There is intentionally no default, even for single-grant keys.","example":"org_0199c4e2-1f7a-7c31-8d44-2b9f6a1e05c7"},"required":true,"description":"Required organizer tenant id. There is intentionally no default, even for single-grant keys.","name":"Ticketing-Organizer","in":"header"}],"responses":{"200":{"description":"The events that count toward the plan.","headers":{"Request-Id":{"description":"Identifier for this API request.","schema":{"type":"string","format":"uuid"}}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/MembershipQualifyingEventList"}}}},"400":{"description":"Invalid request","headers":{"Request-Id":{"description":"Identifier for this API request.","schema":{"type":"string","format":"uuid"}}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorEnvelope"}}}},"401":{"description":"Authentication failed","headers":{"Request-Id":{"description":"Identifier for this API request.","schema":{"type":"string","format":"uuid"}}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorEnvelope"}}}},"403":{"description":"Organizer grant required","headers":{"Request-Id":{"description":"Identifier for this API request.","schema":{"type":"string","format":"uuid"}}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorEnvelope"}}}},"404":{"description":"Resource not found","headers":{"Request-Id":{"description":"Identifier for this API request.","schema":{"type":"string","format":"uuid"}}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorEnvelope"}}}},"409":{"description":"Idempotency conflict","headers":{"Request-Id":{"description":"Identifier for this API request.","schema":{"type":"string","format":"uuid"}}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorEnvelope"}}}},"422":{"description":"Request is semantically invalid","headers":{"Request-Id":{"description":"Identifier for this API request.","schema":{"type":"string","format":"uuid"}}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorEnvelope"}}}},"429":{"description":"Rate limited","headers":{"Request-Id":{"description":"Identifier for this API request.","schema":{"type":"string","format":"uuid"}}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorEnvelope"}}}},"500":{"description":"Internal failure","headers":{"Request-Id":{"description":"Identifier for this API request.","schema":{"type":"string","format":"uuid"}}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorEnvelope"}}}},"503":{"description":"A dependency is unavailable. `live_payments_not_configured` means the platform operator must complete live Stripe credential setup before retrying; no Stripe request is made for that refusal. On checkout creation, no session or capacity hold is created either. Other transient dependency failures may be retried.","headers":{"Request-Id":{"description":"Identifier for this API request.","schema":{"type":"string","format":"uuid"}}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorEnvelope"}}}}}}},"/v1/events/{id}/qualifying_plans/{plan_id}":{"put":{"tags":["Memberships"],"summary":"Make an event count toward a membership plan","description":"\"Counts toward this membership\": attending this event is a visit for the plan's attendance rule. The event may be in the future and may have no attendance yet. It is independent of membership benefits: counting toward a plan offers no benefit, and offering a benefit counts for nothing. Customers who already attended the event are evaluated at once (at most 200 in the request, the rest within minutes). Sending it again changes nothing and records no activity. Refused with `attendance_rule_not_configured` when the plan has no rule and `attendance_scope_not_selected` when its rule counts every event.","security":[{"bearerAuth":[]}],"parameters":[{"schema":{"type":"string","pattern":"^evt_[0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{12}$","example":"evt_0199c4e5-2b10-7f44-8a91-3c7d0e5f8a22"},"required":true,"name":"id","in":"path"},{"schema":{"type":"string","pattern":"^mpl_[0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{12}$"},"required":true,"name":"plan_id","in":"path"},{"schema":{"type":"string","pattern":"^org_[0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{12}$","description":"Required organizer tenant id. There is intentionally no default, even for single-grant keys.","example":"org_0199c4e2-1f7a-7c31-8d44-2b9f6a1e05c7"},"required":true,"description":"Required organizer tenant id. There is intentionally no default, even for single-grant keys.","name":"Ticketing-Organizer","in":"header"},{"schema":{"type":"string","minLength":1,"description":"Optional replay key for this update operation."},"required":false,"description":"Optional replay key for this update operation.","name":"Idempotency-Key","in":"header"}],"responses":{"200":{"description":"The event's qualification for the plan.","headers":{"Request-Id":{"description":"Identifier for this API request.","schema":{"type":"string","format":"uuid"}}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/MembershipQualifyingEvent"}}}},"400":{"description":"Invalid request","headers":{"Request-Id":{"description":"Identifier for this API request.","schema":{"type":"string","format":"uuid"}}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorEnvelope"}}}},"401":{"description":"Authentication failed","headers":{"Request-Id":{"description":"Identifier for this API request.","schema":{"type":"string","format":"uuid"}}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorEnvelope"}}}},"403":{"description":"Organizer grant required","headers":{"Request-Id":{"description":"Identifier for this API request.","schema":{"type":"string","format":"uuid"}}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorEnvelope"}}}},"404":{"description":"Resource not found","headers":{"Request-Id":{"description":"Identifier for this API request.","schema":{"type":"string","format":"uuid"}}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorEnvelope"}}}},"409":{"description":"Idempotency conflict","headers":{"Request-Id":{"description":"Identifier for this API request.","schema":{"type":"string","format":"uuid"}}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorEnvelope"}}}},"422":{"description":"Request is semantically invalid","headers":{"Request-Id":{"description":"Identifier for this API request.","schema":{"type":"string","format":"uuid"}}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorEnvelope"}}}},"429":{"description":"Rate limited","headers":{"Request-Id":{"description":"Identifier for this API request.","schema":{"type":"string","format":"uuid"}}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorEnvelope"}}}},"500":{"description":"Internal failure","headers":{"Request-Id":{"description":"Identifier for this API request.","schema":{"type":"string","format":"uuid"}}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorEnvelope"}}}},"503":{"description":"A dependency is unavailable. `live_payments_not_configured` means the platform operator must complete live Stripe credential setup before retrying; no Stripe request is made for that refusal. On checkout creation, no session or capacity hold is created either. Other transient dependency failures may be retried.","headers":{"Request-Id":{"description":"Identifier for this API request.","schema":{"type":"string","format":"uuid"}}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorEnvelope"}}}}}},"delete":{"tags":["Memberships"],"summary":"Stop an event counting toward a membership plan","description":"Visits to the event stop counting. Under `maintain`, earned memberships that no longer qualify end; under `keep` nothing is removed. Removing a row that does not exist answers `not_found`; send an Idempotency-Key to retry safely.","security":[{"bearerAuth":[]}],"parameters":[{"schema":{"type":"string","pattern":"^evt_[0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{12}$","example":"evt_0199c4e5-2b10-7f44-8a91-3c7d0e5f8a22"},"required":true,"name":"id","in":"path"},{"schema":{"type":"string","pattern":"^mpl_[0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{12}$"},"required":true,"name":"plan_id","in":"path"},{"schema":{"type":"string","pattern":"^org_[0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{12}$","description":"Required organizer tenant id. There is intentionally no default, even for single-grant keys.","example":"org_0199c4e2-1f7a-7c31-8d44-2b9f6a1e05c7"},"required":true,"description":"Required organizer tenant id. There is intentionally no default, even for single-grant keys.","name":"Ticketing-Organizer","in":"header"},{"schema":{"type":"string","minLength":1,"description":"Optional replay key for this update operation."},"required":false,"description":"Optional replay key for this update operation.","name":"Idempotency-Key","in":"header"}],"responses":{"200":{"description":"The removed qualification.","headers":{"Request-Id":{"description":"Identifier for this API request.","schema":{"type":"string","format":"uuid"}}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/MembershipQualifyingEvent"}}}},"400":{"description":"Invalid request","headers":{"Request-Id":{"description":"Identifier for this API request.","schema":{"type":"string","format":"uuid"}}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorEnvelope"}}}},"401":{"description":"Authentication failed","headers":{"Request-Id":{"description":"Identifier for this API request.","schema":{"type":"string","format":"uuid"}}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorEnvelope"}}}},"403":{"description":"Organizer grant required","headers":{"Request-Id":{"description":"Identifier for this API request.","schema":{"type":"string","format":"uuid"}}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorEnvelope"}}}},"404":{"description":"Resource not found","headers":{"Request-Id":{"description":"Identifier for this API request.","schema":{"type":"string","format":"uuid"}}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorEnvelope"}}}},"409":{"description":"Idempotency conflict","headers":{"Request-Id":{"description":"Identifier for this API request.","schema":{"type":"string","format":"uuid"}}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorEnvelope"}}}},"422":{"description":"Request is semantically invalid","headers":{"Request-Id":{"description":"Identifier for this API request.","schema":{"type":"string","format":"uuid"}}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorEnvelope"}}}},"429":{"description":"Rate limited","headers":{"Request-Id":{"description":"Identifier for this API request.","schema":{"type":"string","format":"uuid"}}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorEnvelope"}}}},"500":{"description":"Internal failure","headers":{"Request-Id":{"description":"Identifier for this API request.","schema":{"type":"string","format":"uuid"}}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorEnvelope"}}}},"503":{"description":"A dependency is unavailable. `live_payments_not_configured` means the platform operator must complete live Stripe credential setup before retrying; no Stripe request is made for that refusal. On checkout creation, no session or capacity hold is created either. Other transient dependency failures may be retried.","headers":{"Request-Id":{"description":"Identifier for this API request.","schema":{"type":"string","format":"uuid"}}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorEnvelope"}}}}}}},"/v1/membership_plans/{id}/qualification":{"get":{"tags":["Memberships"],"summary":"Read a customer's progress toward an earned membership","description":"How many qualifying events the customer has attended inside the plan's rolling window, against the threshold, whether they qualify now, when that lapses without further attendance, and the plan membership they hold (and whether it was earned). Computed from attendance when asked, so it also answers for a customer who has not earned anything. A plan with no attendance rule answers `attendance_rule_not_configured`.","security":[{"bearerAuth":[]}],"parameters":[{"schema":{"type":"string","pattern":"^mpl_[0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{12}$"},"required":true,"name":"id","in":"path"},{"schema":{"type":"string","pattern":"^cus_[0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{12}$","description":"The customer whose progress to read."},"required":true,"description":"The customer whose progress to read.","name":"customer_id","in":"query"},{"schema":{"type":"string","pattern":"^org_[0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{12}$","description":"Required organizer tenant id. There is intentionally no default, even for single-grant keys.","example":"org_0199c4e2-1f7a-7c31-8d44-2b9f6a1e05c7"},"required":true,"description":"Required organizer tenant id. There is intentionally no default, even for single-grant keys.","name":"Ticketing-Organizer","in":"header"}],"responses":{"200":{"description":"The customer's qualification progress.","headers":{"Request-Id":{"description":"Identifier for this API request.","schema":{"type":"string","format":"uuid"}}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/MembershipQualification"}}}},"400":{"description":"Invalid request","headers":{"Request-Id":{"description":"Identifier for this API request.","schema":{"type":"string","format":"uuid"}}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorEnvelope"}}}},"401":{"description":"Authentication failed","headers":{"Request-Id":{"description":"Identifier for this API request.","schema":{"type":"string","format":"uuid"}}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorEnvelope"}}}},"403":{"description":"Organizer grant required","headers":{"Request-Id":{"description":"Identifier for this API request.","schema":{"type":"string","format":"uuid"}}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorEnvelope"}}}},"404":{"description":"Resource not found","headers":{"Request-Id":{"description":"Identifier for this API request.","schema":{"type":"string","format":"uuid"}}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorEnvelope"}}}},"409":{"description":"Idempotency conflict","headers":{"Request-Id":{"description":"Identifier for this API request.","schema":{"type":"string","format":"uuid"}}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorEnvelope"}}}},"422":{"description":"Request is semantically invalid","headers":{"Request-Id":{"description":"Identifier for this API request.","schema":{"type":"string","format":"uuid"}}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorEnvelope"}}}},"429":{"description":"Rate limited","headers":{"Request-Id":{"description":"Identifier for this API request.","schema":{"type":"string","format":"uuid"}}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorEnvelope"}}}},"500":{"description":"Internal failure","headers":{"Request-Id":{"description":"Identifier for this API request.","schema":{"type":"string","format":"uuid"}}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorEnvelope"}}}},"503":{"description":"A dependency is unavailable. `live_payments_not_configured` means the platform operator must complete live Stripe credential setup before retrying; no Stripe request is made for that refusal. On checkout creation, no session or capacity hold is created either. Other transient dependency failures may be retried.","headers":{"Request-Id":{"description":"Identifier for this API request.","schema":{"type":"string","format":"uuid"}}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorEnvelope"}}}}}}},"/v1/events/{id}/cancellation_policy":{"get":{"tags":["Events"],"summary":"Read what cancelling an event does","description":"The organizer's configured cancellation policy for the event. Answers `cancellation_policy_not_configured` until one is saved: there is no default policy, and an event with none cannot be cancelled.","security":[{"bearerAuth":[]}],"parameters":[{"schema":{"type":"string","pattern":"^evt_[0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{12}$","example":"evt_0199c4e5-2b10-7f44-8a91-3c7d0e5f8a22"},"required":true,"name":"id","in":"path"},{"schema":{"type":"string","pattern":"^org_[0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{12}$","description":"Required organizer tenant id. There is intentionally no default, even for single-grant keys.","example":"org_0199c4e2-1f7a-7c31-8d44-2b9f6a1e05c7"},"required":true,"description":"Required organizer tenant id. There is intentionally no default, even for single-grant keys.","name":"Ticketing-Organizer","in":"header"}],"responses":{"200":{"description":"The event's cancellation policy.","headers":{"Request-Id":{"description":"Identifier for this API request.","schema":{"type":"string","format":"uuid"}}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/EventCancellationPolicy"}}}},"400":{"description":"Invalid request","headers":{"Request-Id":{"description":"Identifier for this API request.","schema":{"type":"string","format":"uuid"}}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorEnvelope"}}}},"401":{"description":"Authentication failed","headers":{"Request-Id":{"description":"Identifier for this API request.","schema":{"type":"string","format":"uuid"}}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorEnvelope"}}}},"403":{"description":"Organizer grant required","headers":{"Request-Id":{"description":"Identifier for this API request.","schema":{"type":"string","format":"uuid"}}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorEnvelope"}}}},"404":{"description":"Resource not found","headers":{"Request-Id":{"description":"Identifier for this API request.","schema":{"type":"string","format":"uuid"}}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorEnvelope"}}}},"409":{"description":"Idempotency conflict","headers":{"Request-Id":{"description":"Identifier for this API request.","schema":{"type":"string","format":"uuid"}}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorEnvelope"}}}},"422":{"description":"Request is semantically invalid","headers":{"Request-Id":{"description":"Identifier for this API request.","schema":{"type":"string","format":"uuid"}}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorEnvelope"}}}},"429":{"description":"Rate limited","headers":{"Request-Id":{"description":"Identifier for this API request.","schema":{"type":"string","format":"uuid"}}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorEnvelope"}}}},"500":{"description":"Internal failure","headers":{"Request-Id":{"description":"Identifier for this API request.","schema":{"type":"string","format":"uuid"}}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorEnvelope"}}}},"503":{"description":"A dependency is unavailable. `live_payments_not_configured` means the platform operator must complete live Stripe credential setup before retrying; no Stripe request is made for that refusal. On checkout creation, no session or capacity hold is created either. Other transient dependency failures may be retried.","headers":{"Request-Id":{"description":"Identifier for this API request.","schema":{"type":"string","format":"uuid"}}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorEnvelope"}}}}}},"put":{"tags":["Events"],"summary":"Configure what cancelling an event does","description":"Creates or replaces the policy: all five consequences are required and independent (stop new sales, close pending checkouts, refund paid tickets, disable admission, notify attendees). Saving a policy cancels nothing. The policy is applied automatically when the event is cancelled, which accepts no overrides, and is snapshotted then: a later edit never changes a cancellation that has started. Sending the current settings again changes nothing and records no activity. Requires organizer administrator authority.","security":[{"bearerAuth":[]}],"parameters":[{"schema":{"type":"string","pattern":"^evt_[0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{12}$","example":"evt_0199c4e5-2b10-7f44-8a91-3c7d0e5f8a22"},"required":true,"name":"id","in":"path"},{"schema":{"type":"string","pattern":"^org_[0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{12}$","description":"Required organizer tenant id. There is intentionally no default, even for single-grant keys.","example":"org_0199c4e2-1f7a-7c31-8d44-2b9f6a1e05c7"},"required":true,"description":"Required organizer tenant id. There is intentionally no default, even for single-grant keys.","name":"Ticketing-Organizer","in":"header"},{"schema":{"type":"string","minLength":1,"description":"Optional replay key for this update operation."},"required":false,"description":"Optional replay key for this update operation.","name":"Idempotency-Key","in":"header"}],"requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/EventCancellationPolicyPut"}}}},"responses":{"200":{"description":"The event's cancellation policy.","headers":{"Request-Id":{"description":"Identifier for this API request.","schema":{"type":"string","format":"uuid"}}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/EventCancellationPolicy"}}}},"400":{"description":"Invalid request","headers":{"Request-Id":{"description":"Identifier for this API request.","schema":{"type":"string","format":"uuid"}}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorEnvelope"}}}},"401":{"description":"Authentication failed","headers":{"Request-Id":{"description":"Identifier for this API request.","schema":{"type":"string","format":"uuid"}}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorEnvelope"}}}},"403":{"description":"Organizer grant required","headers":{"Request-Id":{"description":"Identifier for this API request.","schema":{"type":"string","format":"uuid"}}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorEnvelope"}}}},"404":{"description":"Resource not found","headers":{"Request-Id":{"description":"Identifier for this API request.","schema":{"type":"string","format":"uuid"}}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorEnvelope"}}}},"409":{"description":"Idempotency conflict","headers":{"Request-Id":{"description":"Identifier for this API request.","schema":{"type":"string","format":"uuid"}}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorEnvelope"}}}},"422":{"description":"Request is semantically invalid","headers":{"Request-Id":{"description":"Identifier for this API request.","schema":{"type":"string","format":"uuid"}}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorEnvelope"}}}},"429":{"description":"Rate limited","headers":{"Request-Id":{"description":"Identifier for this API request.","schema":{"type":"string","format":"uuid"}}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorEnvelope"}}}},"500":{"description":"Internal failure","headers":{"Request-Id":{"description":"Identifier for this API request.","schema":{"type":"string","format":"uuid"}}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorEnvelope"}}}},"503":{"description":"A dependency is unavailable. `live_payments_not_configured` means the platform operator must complete live Stripe credential setup before retrying; no Stripe request is made for that refusal. On checkout creation, no session or capacity hold is created either. Other transient dependency failures may be retried.","headers":{"Request-Id":{"description":"Identifier for this API request.","schema":{"type":"string","format":"uuid"}}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorEnvelope"}}}}}}},"/v1/events/{id}/cancel":{"post":{"tags":["Events"],"summary":"Cancel an event","description":"Records that the event is cancelled and applies the event's cancellation policy, exactly as the organizer configured it in advance: whether to stop new sales, close pending checkouts, refund paid tickets, disable admission and notify attendees. The request takes only the reason and a confirmation; it accepts no overrides of any of those effects. The policy is snapshotted when this is accepted, so editing it afterwards never changes this cancellation. Stopping sales and disabling admission take effect at once; closing checkouts, refunds and notices run in the background, are repeatable and report their progress on the returned cancellation (read it with `GET /v1/events/{id}/cancellation`). Answers `cancellation_policy_required` when the event has no policy and `event_already_cancelled` when it was cancelled before. Nothing is deleted: orders, tickets, refunds and check-ins are kept. Requires organizer administrator authority.","security":[{"bearerAuth":[]}],"parameters":[{"schema":{"type":"string","pattern":"^evt_[0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{12}$","example":"evt_0199c4e5-2b10-7f44-8a91-3c7d0e5f8a22"},"required":true,"name":"id","in":"path"},{"schema":{"type":"string","pattern":"^org_[0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{12}$","description":"Required organizer tenant id. There is intentionally no default, even for single-grant keys.","example":"org_0199c4e2-1f7a-7c31-8d44-2b9f6a1e05c7"},"required":true,"description":"Required organizer tenant id. There is intentionally no default, even for single-grant keys.","name":"Ticketing-Organizer","in":"header"},{"schema":{"type":"string","minLength":1,"description":"Optional replay key for this update operation."},"required":false,"description":"Optional replay key for this update operation.","name":"Idempotency-Key","in":"header"}],"requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/EventCancel"}}}},"responses":{"202":{"description":"The cancellation, with its policy snapshot and each action's progress.","headers":{"Request-Id":{"description":"Identifier for this API request.","schema":{"type":"string","format":"uuid"}}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/EventCancellation"}}}},"400":{"description":"Invalid request","headers":{"Request-Id":{"description":"Identifier for this API request.","schema":{"type":"string","format":"uuid"}}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorEnvelope"}}}},"401":{"description":"Authentication failed","headers":{"Request-Id":{"description":"Identifier for this API request.","schema":{"type":"string","format":"uuid"}}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorEnvelope"}}}},"403":{"description":"Organizer grant required","headers":{"Request-Id":{"description":"Identifier for this API request.","schema":{"type":"string","format":"uuid"}}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorEnvelope"}}}},"404":{"description":"Resource not found","headers":{"Request-Id":{"description":"Identifier for this API request.","schema":{"type":"string","format":"uuid"}}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorEnvelope"}}}},"409":{"description":"Idempotency conflict","headers":{"Request-Id":{"description":"Identifier for this API request.","schema":{"type":"string","format":"uuid"}}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorEnvelope"}}}},"422":{"description":"Request is semantically invalid","headers":{"Request-Id":{"description":"Identifier for this API request.","schema":{"type":"string","format":"uuid"}}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorEnvelope"}}}},"429":{"description":"Rate limited","headers":{"Request-Id":{"description":"Identifier for this API request.","schema":{"type":"string","format":"uuid"}}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorEnvelope"}}}},"500":{"description":"Internal failure","headers":{"Request-Id":{"description":"Identifier for this API request.","schema":{"type":"string","format":"uuid"}}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorEnvelope"}}}},"503":{"description":"A dependency is unavailable. `live_payments_not_configured` means the platform operator must complete live Stripe credential setup before retrying; no Stripe request is made for that refusal. On checkout creation, no session or capacity hold is created either. Other transient dependency failures may be retried.","headers":{"Request-Id":{"description":"Identifier for this API request.","schema":{"type":"string","format":"uuid"}}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorEnvelope"}}}}}}},"/v1/events/{id}/cancellation":{"get":{"tags":["Events"],"summary":"Read an event's cancellation and its progress","description":"The recorded cancellation: reason, who cancelled, the policy snapshot it applied and, for each of the five actions, whether it is enabled, its status (`pending`, `completed`, `failed` or `skipped`), attempts, how many orders or checkouts it has found and finished, and a `last_error` code when it failed. `status` is `in_progress` while any action is pending, `needs_attention` when none is pending but one failed, and `completed` otherwise. Answers `not_found` for an event that has not been cancelled. Requires organizer administrator authority.","security":[{"bearerAuth":[]}],"parameters":[{"schema":{"type":"string","pattern":"^evt_[0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{12}$","example":"evt_0199c4e5-2b10-7f44-8a91-3c7d0e5f8a22"},"required":true,"name":"id","in":"path"},{"schema":{"type":"string","pattern":"^org_[0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{12}$","description":"Required organizer tenant id. There is intentionally no default, even for single-grant keys.","example":"org_0199c4e2-1f7a-7c31-8d44-2b9f6a1e05c7"},"required":true,"description":"Required organizer tenant id. There is intentionally no default, even for single-grant keys.","name":"Ticketing-Organizer","in":"header"}],"responses":{"200":{"description":"The event's cancellation.","headers":{"Request-Id":{"description":"Identifier for this API request.","schema":{"type":"string","format":"uuid"}}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/EventCancellation"}}}},"400":{"description":"Invalid request","headers":{"Request-Id":{"description":"Identifier for this API request.","schema":{"type":"string","format":"uuid"}}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorEnvelope"}}}},"401":{"description":"Authentication failed","headers":{"Request-Id":{"description":"Identifier for this API request.","schema":{"type":"string","format":"uuid"}}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorEnvelope"}}}},"403":{"description":"Organizer grant required","headers":{"Request-Id":{"description":"Identifier for this API request.","schema":{"type":"string","format":"uuid"}}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorEnvelope"}}}},"404":{"description":"Resource not found","headers":{"Request-Id":{"description":"Identifier for this API request.","schema":{"type":"string","format":"uuid"}}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorEnvelope"}}}},"409":{"description":"Idempotency conflict","headers":{"Request-Id":{"description":"Identifier for this API request.","schema":{"type":"string","format":"uuid"}}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorEnvelope"}}}},"422":{"description":"Request is semantically invalid","headers":{"Request-Id":{"description":"Identifier for this API request.","schema":{"type":"string","format":"uuid"}}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorEnvelope"}}}},"429":{"description":"Rate limited","headers":{"Request-Id":{"description":"Identifier for this API request.","schema":{"type":"string","format":"uuid"}}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorEnvelope"}}}},"500":{"description":"Internal failure","headers":{"Request-Id":{"description":"Identifier for this API request.","schema":{"type":"string","format":"uuid"}}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorEnvelope"}}}},"503":{"description":"A dependency is unavailable. `live_payments_not_configured` means the platform operator must complete live Stripe credential setup before retrying; no Stripe request is made for that refusal. On checkout creation, no session or capacity hold is created either. Other transient dependency failures may be retried.","headers":{"Request-Id":{"description":"Identifier for this API request.","schema":{"type":"string","format":"uuid"}}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorEnvelope"}}}}}}},"/v1/events/{id}/cancellation/retry":{"post":{"tags":["Events"],"summary":"Retry the failed actions of an event's cancellation","description":"Hands the failed actions back to the background executor. A retry resumes where the failure left off: orders already refunded and noticed are not refunded or noticed again, and a refund the provider refused is replaced by a new one. It re-applies the snapshot the cancellation started with, never the current policy. Answers `cancellation_not_retryable` unless the cancellation `needs_attention`. Requires organizer administrator authority.","security":[{"bearerAuth":[]}],"parameters":[{"schema":{"type":"string","pattern":"^evt_[0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{12}$","example":"evt_0199c4e5-2b10-7f44-8a91-3c7d0e5f8a22"},"required":true,"name":"id","in":"path"},{"schema":{"type":"string","pattern":"^org_[0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{12}$","description":"Required organizer tenant id. There is intentionally no default, even for single-grant keys.","example":"org_0199c4e2-1f7a-7c31-8d44-2b9f6a1e05c7"},"required":true,"description":"Required organizer tenant id. There is intentionally no default, even for single-grant keys.","name":"Ticketing-Organizer","in":"header"},{"schema":{"type":"string","minLength":1,"description":"Optional replay key for this update operation."},"required":false,"description":"Optional replay key for this update operation.","name":"Idempotency-Key","in":"header"}],"responses":{"202":{"description":"The cancellation, with the failed actions pending again.","headers":{"Request-Id":{"description":"Identifier for this API request.","schema":{"type":"string","format":"uuid"}}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/EventCancellation"}}}},"400":{"description":"Invalid request","headers":{"Request-Id":{"description":"Identifier for this API request.","schema":{"type":"string","format":"uuid"}}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorEnvelope"}}}},"401":{"description":"Authentication failed","headers":{"Request-Id":{"description":"Identifier for this API request.","schema":{"type":"string","format":"uuid"}}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorEnvelope"}}}},"403":{"description":"Organizer grant required","headers":{"Request-Id":{"description":"Identifier for this API request.","schema":{"type":"string","format":"uuid"}}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorEnvelope"}}}},"404":{"description":"Resource not found","headers":{"Request-Id":{"description":"Identifier for this API request.","schema":{"type":"string","format":"uuid"}}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorEnvelope"}}}},"409":{"description":"Idempotency conflict","headers":{"Request-Id":{"description":"Identifier for this API request.","schema":{"type":"string","format":"uuid"}}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorEnvelope"}}}},"422":{"description":"Request is semantically invalid","headers":{"Request-Id":{"description":"Identifier for this API request.","schema":{"type":"string","format":"uuid"}}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorEnvelope"}}}},"429":{"description":"Rate limited","headers":{"Request-Id":{"description":"Identifier for this API request.","schema":{"type":"string","format":"uuid"}}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorEnvelope"}}}},"500":{"description":"Internal failure","headers":{"Request-Id":{"description":"Identifier for this API request.","schema":{"type":"string","format":"uuid"}}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorEnvelope"}}}},"503":{"description":"A dependency is unavailable. `live_payments_not_configured` means the platform operator must complete live Stripe credential setup before retrying; no Stripe request is made for that refusal. On checkout creation, no session or capacity hold is created either. Other transient dependency failures may be retried.","headers":{"Request-Id":{"description":"Identifier for this API request.","schema":{"type":"string","format":"uuid"}}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorEnvelope"}}}}}}},"/v1/quotas/{id}/availability":{"get":{"tags":["Quotas"],"summary":"Retrieve derived quota availability","description":"Availability is always derived (size minus issued positions minus live holds), never stored. This read is a display value: the sell decision recomputes the same derivation inside the per-quota transaction lock.","security":[{"bearerAuth":[]}],"parameters":[{"schema":{"type":"string","pattern":"^quo_[0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{12}$","example":"quo_0199c4e6-5c81-7d13-b7a0-4f8e2c6b9d34"},"required":true,"name":"id","in":"path"},{"schema":{"type":"string","pattern":"^org_[0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{12}$","description":"Required organizer tenant id. There is intentionally no default, even for single-grant keys.","example":"org_0199c4e2-1f7a-7c31-8d44-2b9f6a1e05c7"},"required":true,"description":"Required organizer tenant id. There is intentionally no default, even for single-grant keys.","name":"Ticketing-Organizer","in":"header"}],"responses":{"200":{"description":"The quota's derived availability.","headers":{"Request-Id":{"description":"Identifier for this API request.","schema":{"type":"string","format":"uuid"}}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/QuotaAvailability"}}}},"400":{"description":"Invalid request","headers":{"Request-Id":{"description":"Identifier for this API request.","schema":{"type":"string","format":"uuid"}}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorEnvelope"}}}},"401":{"description":"Authentication failed","headers":{"Request-Id":{"description":"Identifier for this API request.","schema":{"type":"string","format":"uuid"}}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorEnvelope"}}}},"403":{"description":"Organizer grant required","headers":{"Request-Id":{"description":"Identifier for this API request.","schema":{"type":"string","format":"uuid"}}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorEnvelope"}}}},"404":{"description":"Resource not found","headers":{"Request-Id":{"description":"Identifier for this API request.","schema":{"type":"string","format":"uuid"}}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorEnvelope"}}}},"409":{"description":"Idempotency conflict","headers":{"Request-Id":{"description":"Identifier for this API request.","schema":{"type":"string","format":"uuid"}}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorEnvelope"}}}},"422":{"description":"Request is semantically invalid","headers":{"Request-Id":{"description":"Identifier for this API request.","schema":{"type":"string","format":"uuid"}}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorEnvelope"}}}},"429":{"description":"Rate limited","headers":{"Request-Id":{"description":"Identifier for this API request.","schema":{"type":"string","format":"uuid"}}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorEnvelope"}}}},"500":{"description":"Internal failure","headers":{"Request-Id":{"description":"Identifier for this API request.","schema":{"type":"string","format":"uuid"}}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorEnvelope"}}}},"503":{"description":"A dependency is unavailable. `live_payments_not_configured` means the platform operator must complete live Stripe credential setup before retrying; no Stripe request is made for that refusal. On checkout creation, no session or capacity hold is created either. Other transient dependency failures may be retried.","headers":{"Request-Id":{"description":"Identifier for this API request.","schema":{"type":"string","format":"uuid"}}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorEnvelope"}}}}}}},"/v1/availability":{"get":{"tags":["Quotas"],"summary":"Retrieve derived availability for several quotas at once","description":"The same derivation as the single-quota read, for up to 100 quotas in one request. Ids that name nothing under your organizer are omitted. Availability is a display value: the sell decision recomputes it inside the per-quota transaction lock.","security":[{"bearerAuth":[]}],"parameters":[{"schema":{"type":"string","minLength":1,"description":"Comma-separated quota ids, at most 100. Ids that name nothing under your organizer are omitted from the response rather than reported."},"required":true,"description":"Comma-separated quota ids, at most 100. Ids that name nothing under your organizer are omitted from the response rather than reported.","name":"quota_ids","in":"query"},{"schema":{"type":"string","pattern":"^org_[0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{12}$","description":"Required organizer tenant id. There is intentionally no default, even for single-grant keys.","example":"org_0199c4e2-1f7a-7c31-8d44-2b9f6a1e05c7"},"required":true,"description":"Required organizer tenant id. There is intentionally no default, even for single-grant keys.","name":"Ticketing-Organizer","in":"header"}],"responses":{"200":{"description":"Derived availability for each quota that exists under the organizer.","headers":{"Request-Id":{"description":"Identifier for this API request.","schema":{"type":"string","format":"uuid"}}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/QuotaAvailabilityList"}}}},"400":{"description":"Invalid request","headers":{"Request-Id":{"description":"Identifier for this API request.","schema":{"type":"string","format":"uuid"}}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorEnvelope"}}}},"401":{"description":"Authentication failed","headers":{"Request-Id":{"description":"Identifier for this API request.","schema":{"type":"string","format":"uuid"}}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorEnvelope"}}}},"403":{"description":"Organizer grant required","headers":{"Request-Id":{"description":"Identifier for this API request.","schema":{"type":"string","format":"uuid"}}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorEnvelope"}}}},"404":{"description":"Resource not found","headers":{"Request-Id":{"description":"Identifier for this API request.","schema":{"type":"string","format":"uuid"}}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorEnvelope"}}}},"409":{"description":"Idempotency conflict","headers":{"Request-Id":{"description":"Identifier for this API request.","schema":{"type":"string","format":"uuid"}}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorEnvelope"}}}},"422":{"description":"Request is semantically invalid","headers":{"Request-Id":{"description":"Identifier for this API request.","schema":{"type":"string","format":"uuid"}}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorEnvelope"}}}},"429":{"description":"Rate limited","headers":{"Request-Id":{"description":"Identifier for this API request.","schema":{"type":"string","format":"uuid"}}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorEnvelope"}}}},"500":{"description":"Internal failure","headers":{"Request-Id":{"description":"Identifier for this API request.","schema":{"type":"string","format":"uuid"}}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorEnvelope"}}}},"503":{"description":"A dependency is unavailable. `live_payments_not_configured` means the platform operator must complete live Stripe credential setup before retrying; no Stripe request is made for that refusal. On checkout creation, no session or capacity hold is created either. Other transient dependency failures may be retried.","headers":{"Request-Id":{"description":"Identifier for this API request.","schema":{"type":"string","format":"uuid"}}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorEnvelope"}}}}}}},"/v1/item_issuance":{"get":{"tags":["Items"],"summary":"Retrieve derived issued counts for several items at once","description":"The live positions of each item, for up to 100 items in one request: what has been issued and not revoked, which is what a sales figure counts. Ids that name nothing under your organizer are omitted; an item with no live position reports zero. Derived on each read, never stored. Capacity is separate: read a quota's availability for what is left.","security":[{"bearerAuth":[]}],"parameters":[{"schema":{"type":"string","minLength":1,"description":"Comma-separated item ids, at most 100. Ids that name nothing under your organizer are omitted from the response rather than reported."},"required":true,"description":"Comma-separated item ids, at most 100. Ids that name nothing under your organizer are omitted from the response rather than reported.","name":"item_ids","in":"query"},{"schema":{"type":"string","pattern":"^org_[0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{12}$","description":"Required organizer tenant id. There is intentionally no default, even for single-grant keys.","example":"org_0199c4e2-1f7a-7c31-8d44-2b9f6a1e05c7"},"required":true,"description":"Required organizer tenant id. There is intentionally no default, even for single-grant keys.","name":"Ticketing-Organizer","in":"header"}],"responses":{"200":{"description":"The issued count of each item that exists under the organizer.","headers":{"Request-Id":{"description":"Identifier for this API request.","schema":{"type":"string","format":"uuid"}}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ItemIssuanceList"}}}},"400":{"description":"Invalid request","headers":{"Request-Id":{"description":"Identifier for this API request.","schema":{"type":"string","format":"uuid"}}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorEnvelope"}}}},"401":{"description":"Authentication failed","headers":{"Request-Id":{"description":"Identifier for this API request.","schema":{"type":"string","format":"uuid"}}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorEnvelope"}}}},"403":{"description":"Organizer grant required","headers":{"Request-Id":{"description":"Identifier for this API request.","schema":{"type":"string","format":"uuid"}}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorEnvelope"}}}},"404":{"description":"Resource not found","headers":{"Request-Id":{"description":"Identifier for this API request.","schema":{"type":"string","format":"uuid"}}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorEnvelope"}}}},"409":{"description":"Idempotency conflict","headers":{"Request-Id":{"description":"Identifier for this API request.","schema":{"type":"string","format":"uuid"}}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorEnvelope"}}}},"422":{"description":"Request is semantically invalid","headers":{"Request-Id":{"description":"Identifier for this API request.","schema":{"type":"string","format":"uuid"}}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorEnvelope"}}}},"429":{"description":"Rate limited","headers":{"Request-Id":{"description":"Identifier for this API request.","schema":{"type":"string","format":"uuid"}}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorEnvelope"}}}},"500":{"description":"Internal failure","headers":{"Request-Id":{"description":"Identifier for this API request.","schema":{"type":"string","format":"uuid"}}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorEnvelope"}}}},"503":{"description":"A dependency is unavailable. `live_payments_not_configured` means the platform operator must complete live Stripe credential setup before retrying; no Stripe request is made for that refusal. On checkout creation, no session or capacity hold is created either. Other transient dependency failures may be retried.","headers":{"Request-Id":{"description":"Identifier for this API request.","schema":{"type":"string","format":"uuid"}}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorEnvelope"}}}}}}},"/v1/checkout_sessions":{"post":{"tags":["Checkout sessions"],"summary":"Create a checkout session","description":"Mints the hold, takes the binding quote in checkout_quote mode, reserves the consumable effects it spends, and creates the PaymentIntent on the organizer's connected account. Idempotency-Key is REQUIRED: a duplicate consumes capacity. Creation is keyed-only — a client secret can never create a session. A live organizer without live Stripe credentials receives HTTP 503 `live_payments_not_configured` before any session, capacity hold or provider request; contact the platform operator to complete setup before retrying.","security":[{"bearerAuth":[]}],"parameters":[{"schema":{"type":"string","pattern":"^org_[0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{12}$","description":"Required organizer tenant id. There is intentionally no default, even for single-grant keys.","example":"org_0199c4e2-1f7a-7c31-8d44-2b9f6a1e05c7"},"required":true,"description":"Required organizer tenant id. There is intentionally no default, even for single-grant keys.","name":"Ticketing-Organizer","in":"header"},{"schema":{"type":"string","minLength":1,"description":"Required replay key for this create operation."},"required":true,"description":"Required replay key for this create operation.","name":"Idempotency-Key","in":"header"}],"requestBody":{"content":{"application/json":{"schema":{"type":"object","properties":{"line_items":{"type":"array","items":{"type":"object","properties":{"item_id":{"type":"string","pattern":"^itm_[0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{12}$"},"quantity":{"type":"integer","exclusiveMinimum":0,"maximum":100}},"required":["item_id","quantity"]},"minItems":1,"maxItems":50,"description":"The WHOLE new cart, never a delta: the engine is the sole cart authority and an update states the cart it wants."},"codes":{"type":"array","items":{"type":"string","minLength":1,"maxLength":64},"maxItems":10},"offer":{"type":"object","properties":{"effect_type":{"type":"string","enum":["percent","amount","price_override"],"description":"`percent` takes `percent_bps` off each ticket; `amount` takes `amount_minor` off each ticket; `price_override` sells each ticket at `amount_minor` (zero is free entry). Same meanings as the discount-code effects of the same name."},"percent_bps":{"type":["integer","null"],"description":"`percent` only: basis points off, in (0, 10000]."},"amount_minor":{"type":["integer","null"],"minimum":0,"description":"`amount` and `price_override` only: minor units, per ticket."},"amount_currency":{"type":["string","null"],"pattern":"^[A-Z]{3}$","description":"`amount` and `price_override` only: must equal the cart's currency, or the create is refused with `checkout_offer_not_applicable`."},"item_ids":{"type":"array","items":{"type":"string","pattern":"^itm_[0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{12}$"},"description":"Restricts the offer to these items. With `event_ids` empty too, the offer covers every line. Union semantics, like a discount code's."},"event_ids":{"type":"array","items":{"type":"string","pattern":"^evt_[0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{12}$"},"description":"Restricts the offer to the items of these events."},"label":{"type":"string","minLength":1,"maxLength":120,"description":"What the buyer sees on the effect line, e.g. `Invitation from Sam`."},"reference":{"type":["string","null"],"minLength":1,"maxLength":255,"description":"Your own handle for the offer (an affiliate or invitation id). Echoed on the applied effect as `source.ref` for reconciliation; the engine never interprets it."}},"required":["effect_type","label"],"description":"A checkout-specific offer from your trusted backend, priced by the same engine as a discount code and bound to THIS session only: catalog prices do not change and the buyer sees it applied without typing a code. Best price wins against membership pricing (the member percentage is never applied again to the offer price); it stacks with ordinary codes exactly as a code of its kind would. Refused with `checkout_offer_not_applicable` if it covers no line or is in another currency. Retries with the same Idempotency-Key replay one session. Partner-plane only: a buyer-plane request cannot set or change it."},"customer":{"type":"object","properties":{"id":{"type":"string","pattern":"^cus_[0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{12}$"},"external_ref":{"type":"string","minLength":1,"maxLength":255},"email":{"type":"string","maxLength":320,"format":"email","description":"The buyer's email. Required before payment credentials are issued; the order confirmation goes here."},"name":{"type":["string","null"],"minLength":1,"maxLength":200},"phone":{"type":["string","null"],"pattern":"^(?=(?:\\D*\\d){5})\\+?[\\d ()-]{7,25}$"}}},"return_url":{"type":["string","null"],"format":"uri","description":"HTTPS return URL or the registered lsn://checkout-return app callback."},"metadata":{"type":"object","additionalProperties":{}}},"required":["line_items"]}}}},"responses":{"201":{"description":"The created session, with its buyer client_secret and hosted URL.","headers":{"Request-Id":{"description":"Identifier for this API request.","schema":{"type":"string","format":"uuid"}}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/CheckoutSessionCreated"}}}},"400":{"description":"Invalid request","headers":{"Request-Id":{"description":"Identifier for this API request.","schema":{"type":"string","format":"uuid"}}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorEnvelope"}}}},"401":{"description":"Authentication failed","headers":{"Request-Id":{"description":"Identifier for this API request.","schema":{"type":"string","format":"uuid"}}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorEnvelope"}}}},"403":{"description":"Organizer grant required","headers":{"Request-Id":{"description":"Identifier for this API request.","schema":{"type":"string","format":"uuid"}}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorEnvelope"}}}},"404":{"description":"Resource not found","headers":{"Request-Id":{"description":"Identifier for this API request.","schema":{"type":"string","format":"uuid"}}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorEnvelope"}}}},"409":{"description":"A conflict. RETRYABLE — the same request may succeed shortly: `idempotency_key_in_flight` (an identical request is still running, or the key is being taken over), `checkout_session_conflict` (the session was modified concurrently) and `capacity_locked` (a quota lock timed out under contention). TERMINAL — retrying is futile and the caller must change something: `idempotency_key_reused` (this key was already used with a different body; use a new key), `checkout_session_locked` (payment has started, so the quote is contractual and the cart can no longer change) and `checkout_session_not_open` (the session has expired or completed; create a new one).","headers":{"Request-Id":{"description":"Identifier for this API request.","schema":{"type":"string","format":"uuid"}}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorEnvelope"}}}},"422":{"description":"The request is well-formed but cannot be satisfied. `code` is one of: `insufficient_capacity` (the cart does not fit; an existing hold is left untouched), `item_not_sellable`, `code_not_reservable`, `fee_schedule_not_found`, `fee_schedule_ambiguous`, `fee_exceeds_charge` (an absorbed platform fee would meet or exceed the amount charged), `payment_intent_unavailable`, `connect_account_not_onboardable` (the organizer has no connected payment account), or an event checkout limit: `order_quantity_below_minimum` or `order_quantity_above_maximum` (the event's tickets in this checkout, counted across its items, are outside its per-order limits) or `customer_ticket_limit_exceeded` (the session's customer would pass the event's per-customer cap); `detail` names the event and the limit. On creation, `checkout_offer_not_applicable` means the `offer` does not fit the cart: no line is covered, it is priced in another currency, or discount pricing is switched off for the organizer; nothing was created.","headers":{"Request-Id":{"description":"Identifier for this API request.","schema":{"type":"string","format":"uuid"}}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorEnvelope"}}}},"429":{"description":"Rate limited","headers":{"Request-Id":{"description":"Identifier for this API request.","schema":{"type":"string","format":"uuid"}}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorEnvelope"}}}},"500":{"description":"Internal failure","headers":{"Request-Id":{"description":"Identifier for this API request.","schema":{"type":"string","format":"uuid"}}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorEnvelope"}}}},"503":{"description":"A dependency is unavailable. `live_payments_not_configured` means the platform operator must complete live Stripe credential setup before retrying; no Stripe request is made for that refusal. On checkout creation, no session or capacity hold is created either. Other transient dependency failures may be retried.","headers":{"Request-Id":{"description":"Identifier for this API request.","schema":{"type":"string","format":"uuid"}}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorEnvelope"}}}}}},"get":{"tags":["Checkout sessions"],"summary":"List checkout sessions","security":[{"bearerAuth":[]}],"parameters":[{"schema":{"type":"integer","minimum":1,"maximum":100,"default":20},"required":false,"name":"limit","in":"query"},{"schema":{"type":"string"},"required":false,"name":"starting_after","in":"query"},{"schema":{"type":"string"},"required":false,"name":"ending_before","in":"query"},{"schema":{"type":"string","enum":["open","completed","expired","payment_refused"],"description":"Filters on the STORED status. payment_pending is the derived wire reading of an open session whose payment has started, so it is not a filter value."},"required":false,"description":"Filters on the STORED status. payment_pending is the derived wire reading of an open session whose payment has started, so it is not a filter value.","name":"status","in":"query"},{"schema":{"type":"string","pattern":"^org_[0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{12}$","description":"Required organizer tenant id. There is intentionally no default, even for single-grant keys.","example":"org_0199c4e2-1f7a-7c31-8d44-2b9f6a1e05c7"},"required":true,"description":"Required organizer tenant id. There is intentionally no default, even for single-grant keys.","name":"Ticketing-Organizer","in":"header"}],"responses":{"200":{"description":"A keyset page of checkout sessions.","headers":{"Request-Id":{"description":"Identifier for this API request.","schema":{"type":"string","format":"uuid"}}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/CheckoutSessionList"}}}},"400":{"description":"Invalid request","headers":{"Request-Id":{"description":"Identifier for this API request.","schema":{"type":"string","format":"uuid"}}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorEnvelope"}}}},"401":{"description":"Authentication failed","headers":{"Request-Id":{"description":"Identifier for this API request.","schema":{"type":"string","format":"uuid"}}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorEnvelope"}}}},"403":{"description":"Organizer grant required","headers":{"Request-Id":{"description":"Identifier for this API request.","schema":{"type":"string","format":"uuid"}}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorEnvelope"}}}},"404":{"description":"Resource not found","headers":{"Request-Id":{"description":"Identifier for this API request.","schema":{"type":"string","format":"uuid"}}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorEnvelope"}}}},"409":{"description":"A conflict. RETRYABLE — the same request may succeed shortly: `idempotency_key_in_flight` (an identical request is still running, or the key is being taken over), `checkout_session_conflict` (the session was modified concurrently) and `capacity_locked` (a quota lock timed out under contention). TERMINAL — retrying is futile and the caller must change something: `idempotency_key_reused` (this key was already used with a different body; use a new key), `checkout_session_locked` (payment has started, so the quote is contractual and the cart can no longer change) and `checkout_session_not_open` (the session has expired or completed; create a new one).","headers":{"Request-Id":{"description":"Identifier for this API request.","schema":{"type":"string","format":"uuid"}}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorEnvelope"}}}},"422":{"description":"The request is well-formed but cannot be satisfied. `code` is one of: `insufficient_capacity` (the cart does not fit; an existing hold is left untouched), `item_not_sellable`, `code_not_reservable`, `fee_schedule_not_found`, `fee_schedule_ambiguous`, `fee_exceeds_charge` (an absorbed platform fee would meet or exceed the amount charged), `payment_intent_unavailable`, `connect_account_not_onboardable` (the organizer has no connected payment account), or an event checkout limit: `order_quantity_below_minimum` or `order_quantity_above_maximum` (the event's tickets in this checkout, counted across its items, are outside its per-order limits) or `customer_ticket_limit_exceeded` (the session's customer would pass the event's per-customer cap); `detail` names the event and the limit. On creation, `checkout_offer_not_applicable` means the `offer` does not fit the cart: no line is covered, it is priced in another currency, or discount pricing is switched off for the organizer; nothing was created.","headers":{"Request-Id":{"description":"Identifier for this API request.","schema":{"type":"string","format":"uuid"}}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorEnvelope"}}}},"429":{"description":"Rate limited","headers":{"Request-Id":{"description":"Identifier for this API request.","schema":{"type":"string","format":"uuid"}}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorEnvelope"}}}},"500":{"description":"Internal failure","headers":{"Request-Id":{"description":"Identifier for this API request.","schema":{"type":"string","format":"uuid"}}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorEnvelope"}}}},"503":{"description":"A dependency is unavailable. `live_payments_not_configured` means the platform operator must complete live Stripe credential setup before retrying; no Stripe request is made for that refusal. On checkout creation, no session or capacity hold is created either. Other transient dependency failures may be retried.","headers":{"Request-Id":{"description":"Identifier for this API request.","schema":{"type":"string","format":"uuid"}}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorEnvelope"}}}}}}},"/v1/checkout_sessions/{id}":{"get":{"tags":["Checkout sessions"],"summary":"Retrieve a checkout session","security":[{"bearerAuth":[]}],"parameters":[{"schema":{"type":"string","pattern":"^cs_[0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{12}$","example":"cs_0199c4e9-3d61-7b02-9a44-8e5c1d7f2b30"},"required":true,"name":"id","in":"path"},{"schema":{"type":"string","pattern":"^org_[0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{12}$","description":"Required organizer tenant id. There is intentionally no default, even for single-grant keys.","example":"org_0199c4e2-1f7a-7c31-8d44-2b9f6a1e05c7"},"required":true,"description":"Required organizer tenant id. There is intentionally no default, even for single-grant keys.","name":"Ticketing-Organizer","in":"header"}],"responses":{"200":{"description":"The checkout session.","headers":{"Request-Id":{"description":"Identifier for this API request.","schema":{"type":"string","format":"uuid"}}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/CheckoutSession"}}}},"400":{"description":"Invalid request","headers":{"Request-Id":{"description":"Identifier for this API request.","schema":{"type":"string","format":"uuid"}}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorEnvelope"}}}},"401":{"description":"Authentication failed","headers":{"Request-Id":{"description":"Identifier for this API request.","schema":{"type":"string","format":"uuid"}}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorEnvelope"}}}},"403":{"description":"Organizer grant required","headers":{"Request-Id":{"description":"Identifier for this API request.","schema":{"type":"string","format":"uuid"}}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorEnvelope"}}}},"404":{"description":"Resource not found","headers":{"Request-Id":{"description":"Identifier for this API request.","schema":{"type":"string","format":"uuid"}}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorEnvelope"}}}},"409":{"description":"A conflict. RETRYABLE — the same request may succeed shortly: `idempotency_key_in_flight` (an identical request is still running, or the key is being taken over), `checkout_session_conflict` (the session was modified concurrently) and `capacity_locked` (a quota lock timed out under contention). TERMINAL — retrying is futile and the caller must change something: `idempotency_key_reused` (this key was already used with a different body; use a new key), `checkout_session_locked` (payment has started, so the quote is contractual and the cart can no longer change) and `checkout_session_not_open` (the session has expired or completed; create a new one).","headers":{"Request-Id":{"description":"Identifier for this API request.","schema":{"type":"string","format":"uuid"}}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorEnvelope"}}}},"422":{"description":"The request is well-formed but cannot be satisfied. `code` is one of: `insufficient_capacity` (the cart does not fit; an existing hold is left untouched), `item_not_sellable`, `code_not_reservable`, `fee_schedule_not_found`, `fee_schedule_ambiguous`, `fee_exceeds_charge` (an absorbed platform fee would meet or exceed the amount charged), `payment_intent_unavailable`, `connect_account_not_onboardable` (the organizer has no connected payment account), or an event checkout limit: `order_quantity_below_minimum` or `order_quantity_above_maximum` (the event's tickets in this checkout, counted across its items, are outside its per-order limits) or `customer_ticket_limit_exceeded` (the session's customer would pass the event's per-customer cap); `detail` names the event and the limit. On creation, `checkout_offer_not_applicable` means the `offer` does not fit the cart: no line is covered, it is priced in another currency, or discount pricing is switched off for the organizer; nothing was created.","headers":{"Request-Id":{"description":"Identifier for this API request.","schema":{"type":"string","format":"uuid"}}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorEnvelope"}}}},"429":{"description":"Rate limited","headers":{"Request-Id":{"description":"Identifier for this API request.","schema":{"type":"string","format":"uuid"}}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorEnvelope"}}}},"500":{"description":"Internal failure","headers":{"Request-Id":{"description":"Identifier for this API request.","schema":{"type":"string","format":"uuid"}}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorEnvelope"}}}},"503":{"description":"A dependency is unavailable. `live_payments_not_configured` means the platform operator must complete live Stripe credential setup before retrying; no Stripe request is made for that refusal. On checkout creation, no session or capacity hold is created either. Other transient dependency failures may be retried.","headers":{"Request-Id":{"description":"Identifier for this API request.","schema":{"type":"string","format":"uuid"}}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorEnvelope"}}}}}},"patch":{"tags":["Checkout sessions"],"summary":"Update a checkout session","description":"The universal cart verb. One transaction re-acquires the quota locks over the old and new footprints, adjusts the hold (shrinking frees capacity; growth is atomic keep-or-refuse — a refusal leaves the existing hold untouched and returns insufficient_capacity), re-runs the quote, re-reserves consumables, and amends the same PaymentIntent in place. The latest quote is contractual. A session whose payment has started is locked and refuses with checkout_session_locked.","security":[{"bearerAuth":[]}],"parameters":[{"schema":{"type":"string","pattern":"^cs_[0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{12}$","example":"cs_0199c4e9-3d61-7b02-9a44-8e5c1d7f2b30"},"required":true,"name":"id","in":"path"},{"schema":{"type":"string","pattern":"^org_[0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{12}$","description":"Required organizer tenant id. There is intentionally no default, even for single-grant keys.","example":"org_0199c4e2-1f7a-7c31-8d44-2b9f6a1e05c7"},"required":true,"description":"Required organizer tenant id. There is intentionally no default, even for single-grant keys.","name":"Ticketing-Organizer","in":"header"},{"schema":{"type":"string","minLength":1,"description":"Optional replay key for this update operation."},"required":false,"description":"Optional replay key for this update operation.","name":"Idempotency-Key","in":"header"}],"requestBody":{"content":{"application/json":{"schema":{"type":"object","properties":{"line_items":{"type":"array","items":{"type":"object","properties":{"item_id":{"type":"string","pattern":"^itm_[0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{12}$"},"quantity":{"type":"integer","exclusiveMinimum":0,"maximum":100}},"required":["item_id","quantity"]},"minItems":1,"maxItems":50,"description":"The WHOLE new cart, never a delta: the engine is the sole cart authority and an update states the cart it wants."},"codes":{"type":"array","items":{"type":"string","minLength":1,"maxLength":64},"maxItems":10},"customer":{"type":"object","properties":{"id":{"type":"string","pattern":"^cus_[0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{12}$"},"external_ref":{"type":"string","minLength":1,"maxLength":255},"email":{"type":"string","maxLength":320,"format":"email","description":"The buyer's email. Required before payment credentials are issued; the order confirmation goes here."},"name":{"type":["string","null"],"minLength":1,"maxLength":200},"phone":{"type":["string","null"],"pattern":"^(?=(?:\\D*\\d){5})\\+?[\\d ()-]{7,25}$"}}},"return_url":{"type":["string","null"],"format":"uri","description":"HTTPS return URL or the registered lsn://checkout-return app callback."},"metadata":{"type":"object","additionalProperties":{}}},"minProperties":1}}}},"responses":{"200":{"description":"The checkout session.","headers":{"Request-Id":{"description":"Identifier for this API request.","schema":{"type":"string","format":"uuid"}}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/CheckoutSession"}}}},"400":{"description":"Invalid request","headers":{"Request-Id":{"description":"Identifier for this API request.","schema":{"type":"string","format":"uuid"}}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorEnvelope"}}}},"401":{"description":"Authentication failed","headers":{"Request-Id":{"description":"Identifier for this API request.","schema":{"type":"string","format":"uuid"}}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorEnvelope"}}}},"403":{"description":"Organizer grant required","headers":{"Request-Id":{"description":"Identifier for this API request.","schema":{"type":"string","format":"uuid"}}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorEnvelope"}}}},"404":{"description":"Resource not found","headers":{"Request-Id":{"description":"Identifier for this API request.","schema":{"type":"string","format":"uuid"}}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorEnvelope"}}}},"409":{"description":"A conflict. RETRYABLE — the same request may succeed shortly: `idempotency_key_in_flight` (an identical request is still running, or the key is being taken over), `checkout_session_conflict` (the session was modified concurrently) and `capacity_locked` (a quota lock timed out under contention). TERMINAL — retrying is futile and the caller must change something: `idempotency_key_reused` (this key was already used with a different body; use a new key), `checkout_session_locked` (payment has started, so the quote is contractual and the cart can no longer change) and `checkout_session_not_open` (the session has expired or completed; create a new one).","headers":{"Request-Id":{"description":"Identifier for this API request.","schema":{"type":"string","format":"uuid"}}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorEnvelope"}}}},"422":{"description":"The request is well-formed but cannot be satisfied. `code` is one of: `insufficient_capacity` (the cart does not fit; an existing hold is left untouched), `item_not_sellable`, `code_not_reservable`, `fee_schedule_not_found`, `fee_schedule_ambiguous`, `fee_exceeds_charge` (an absorbed platform fee would meet or exceed the amount charged), `payment_intent_unavailable`, `connect_account_not_onboardable` (the organizer has no connected payment account), or an event checkout limit: `order_quantity_below_minimum` or `order_quantity_above_maximum` (the event's tickets in this checkout, counted across its items, are outside its per-order limits) or `customer_ticket_limit_exceeded` (the session's customer would pass the event's per-customer cap); `detail` names the event and the limit. On creation, `checkout_offer_not_applicable` means the `offer` does not fit the cart: no line is covered, it is priced in another currency, or discount pricing is switched off for the organizer; nothing was created.","headers":{"Request-Id":{"description":"Identifier for this API request.","schema":{"type":"string","format":"uuid"}}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorEnvelope"}}}},"429":{"description":"Rate limited","headers":{"Request-Id":{"description":"Identifier for this API request.","schema":{"type":"string","format":"uuid"}}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorEnvelope"}}}},"500":{"description":"Internal failure","headers":{"Request-Id":{"description":"Identifier for this API request.","schema":{"type":"string","format":"uuid"}}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorEnvelope"}}}},"503":{"description":"A dependency is unavailable. `live_payments_not_configured` means the platform operator must complete live Stripe credential setup before retrying; no Stripe request is made for that refusal. On checkout creation, no session or capacity hold is created either. Other transient dependency failures may be retried.","headers":{"Request-Id":{"description":"Identifier for this API request.","schema":{"type":"string","format":"uuid"}}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorEnvelope"}}}}}}},"/v1/checkout_sessions/{id}/expire":{"post":{"tags":["Checkout sessions"],"summary":"Expire a checkout session","description":"Releases the hold early, releases the consumable reservations it was holding, and cancels the PaymentIntent. Idempotent: a session that is already expired or completed is returned unchanged.","security":[{"bearerAuth":[]}],"parameters":[{"schema":{"type":"string","pattern":"^cs_[0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{12}$","example":"cs_0199c4e9-3d61-7b02-9a44-8e5c1d7f2b30"},"required":true,"name":"id","in":"path"},{"schema":{"type":"string","pattern":"^org_[0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{12}$","description":"Required organizer tenant id. There is intentionally no default, even for single-grant keys.","example":"org_0199c4e2-1f7a-7c31-8d44-2b9f6a1e05c7"},"required":true,"description":"Required organizer tenant id. There is intentionally no default, even for single-grant keys.","name":"Ticketing-Organizer","in":"header"},{"schema":{"type":"string","minLength":1,"description":"Optional replay key for this update operation."},"required":false,"description":"Optional replay key for this update operation.","name":"Idempotency-Key","in":"header"}],"responses":{"200":{"description":"The checkout session.","headers":{"Request-Id":{"description":"Identifier for this API request.","schema":{"type":"string","format":"uuid"}}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/CheckoutSession"}}}},"400":{"description":"Invalid request","headers":{"Request-Id":{"description":"Identifier for this API request.","schema":{"type":"string","format":"uuid"}}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorEnvelope"}}}},"401":{"description":"Authentication failed","headers":{"Request-Id":{"description":"Identifier for this API request.","schema":{"type":"string","format":"uuid"}}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorEnvelope"}}}},"403":{"description":"Organizer grant required","headers":{"Request-Id":{"description":"Identifier for this API request.","schema":{"type":"string","format":"uuid"}}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorEnvelope"}}}},"404":{"description":"Resource not found","headers":{"Request-Id":{"description":"Identifier for this API request.","schema":{"type":"string","format":"uuid"}}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorEnvelope"}}}},"409":{"description":"A conflict. RETRYABLE — the same request may succeed shortly: `idempotency_key_in_flight` (an identical request is still running, or the key is being taken over), `checkout_session_conflict` (the session was modified concurrently) and `capacity_locked` (a quota lock timed out under contention). TERMINAL — retrying is futile and the caller must change something: `idempotency_key_reused` (this key was already used with a different body; use a new key), `checkout_session_locked` (payment has started, so the quote is contractual and the cart can no longer change) and `checkout_session_not_open` (the session has expired or completed; create a new one).","headers":{"Request-Id":{"description":"Identifier for this API request.","schema":{"type":"string","format":"uuid"}}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorEnvelope"}}}},"422":{"description":"The request is well-formed but cannot be satisfied. `code` is one of: `insufficient_capacity` (the cart does not fit; an existing hold is left untouched), `item_not_sellable`, `code_not_reservable`, `fee_schedule_not_found`, `fee_schedule_ambiguous`, `fee_exceeds_charge` (an absorbed platform fee would meet or exceed the amount charged), `payment_intent_unavailable`, `connect_account_not_onboardable` (the organizer has no connected payment account), or an event checkout limit: `order_quantity_below_minimum` or `order_quantity_above_maximum` (the event's tickets in this checkout, counted across its items, are outside its per-order limits) or `customer_ticket_limit_exceeded` (the session's customer would pass the event's per-customer cap); `detail` names the event and the limit. On creation, `checkout_offer_not_applicable` means the `offer` does not fit the cart: no line is covered, it is priced in another currency, or discount pricing is switched off for the organizer; nothing was created.","headers":{"Request-Id":{"description":"Identifier for this API request.","schema":{"type":"string","format":"uuid"}}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorEnvelope"}}}},"429":{"description":"Rate limited","headers":{"Request-Id":{"description":"Identifier for this API request.","schema":{"type":"string","format":"uuid"}}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorEnvelope"}}}},"500":{"description":"Internal failure","headers":{"Request-Id":{"description":"Identifier for this API request.","schema":{"type":"string","format":"uuid"}}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorEnvelope"}}}},"503":{"description":"A dependency is unavailable. `live_payments_not_configured` means the platform operator must complete live Stripe credential setup before retrying; no Stripe request is made for that refusal. On checkout creation, no session or capacity hold is created either. Other transient dependency failures may be retried.","headers":{"Request-Id":{"description":"Identifier for this API request.","schema":{"type":"string","format":"uuid"}}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorEnvelope"}}}}}}},"/v1/buyer/checkout_sessions/{id}":{"get":{"tags":["Buyer plane"],"summary":"Retrieve the buyer's checkout session","security":[{"clientSecretAuth":[]}],"parameters":[{"schema":{"type":"string","pattern":"^cs_[0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{12}$","example":"cs_0199c4e9-3d61-7b02-9a44-8e5c1d7f2b30"},"required":true,"name":"id","in":"path"}],"responses":{"200":{"description":"The buyer's view of the session.","headers":{"Request-Id":{"description":"Identifier for this API request.","schema":{"type":"string","format":"uuid"}}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/BuyerCheckoutSession"}}}},"400":{"description":"Invalid request","headers":{"Request-Id":{"description":"Identifier for this API request.","schema":{"type":"string","format":"uuid"}}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorEnvelope"}}}},"401":{"description":"Authentication failed","headers":{"Request-Id":{"description":"Identifier for this API request.","schema":{"type":"string","format":"uuid"}}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorEnvelope"}}}},"403":{"description":"Organizer grant required","headers":{"Request-Id":{"description":"Identifier for this API request.","schema":{"type":"string","format":"uuid"}}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorEnvelope"}}}},"404":{"description":"Resource not found","headers":{"Request-Id":{"description":"Identifier for this API request.","schema":{"type":"string","format":"uuid"}}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorEnvelope"}}}},"409":{"description":"A conflict. RETRYABLE — the same request may succeed shortly: `idempotency_key_in_flight` (an identical request is still running, or the key is being taken over), `checkout_session_conflict` (the session was modified concurrently) and `capacity_locked` (a quota lock timed out under contention). TERMINAL — retrying is futile and the caller must change something: `idempotency_key_reused` (this key was already used with a different body; use a new key), `checkout_session_locked` (payment has started, so the quote is contractual and the cart can no longer change) and `checkout_session_not_open` (the session has expired or completed; create a new one).","headers":{"Request-Id":{"description":"Identifier for this API request.","schema":{"type":"string","format":"uuid"}}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorEnvelope"}}}},"422":{"description":"The request is well-formed but cannot be satisfied. `code` is one of: `insufficient_capacity` (the cart does not fit; an existing hold is left untouched), `item_not_sellable`, `code_not_reservable`, `fee_schedule_not_found`, `fee_schedule_ambiguous`, `fee_exceeds_charge` (an absorbed platform fee would meet or exceed the amount charged), `payment_intent_unavailable`, `connect_account_not_onboardable` (the organizer has no connected payment account), or an event checkout limit: `order_quantity_below_minimum` or `order_quantity_above_maximum` (the event's tickets in this checkout, counted across its items, are outside its per-order limits) or `customer_ticket_limit_exceeded` (the session's customer would pass the event's per-customer cap); `detail` names the event and the limit. On creation, `checkout_offer_not_applicable` means the `offer` does not fit the cart: no line is covered, it is priced in another currency, or discount pricing is switched off for the organizer; nothing was created.","headers":{"Request-Id":{"description":"Identifier for this API request.","schema":{"type":"string","format":"uuid"}}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorEnvelope"}}}},"429":{"description":"Rate limited","headers":{"Request-Id":{"description":"Identifier for this API request.","schema":{"type":"string","format":"uuid"}}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorEnvelope"}}}},"500":{"description":"Internal failure","headers":{"Request-Id":{"description":"Identifier for this API request.","schema":{"type":"string","format":"uuid"}}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorEnvelope"}}}},"503":{"description":"A dependency is unavailable. `live_payments_not_configured` means the platform operator must complete live Stripe credential setup before retrying; no Stripe request is made for that refusal. On checkout creation, no session or capacity hold is created either. Other transient dependency failures may be retried.","headers":{"Request-Id":{"description":"Identifier for this API request.","schema":{"type":"string","format":"uuid"}}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorEnvelope"}}}}}},"patch":{"tags":["Buyer plane"],"summary":"Update the buyer's cart","description":"The same universal update the partner plane runs, authorized by the session's own client secret. Line items, presented codes and the buyer's own email and name — a buyer can never change the partner's metadata, return URL or customer identity.","security":[{"clientSecretAuth":[]}],"parameters":[{"schema":{"type":"string","pattern":"^cs_[0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{12}$","example":"cs_0199c4e9-3d61-7b02-9a44-8e5c1d7f2b30"},"required":true,"name":"id","in":"path"}],"requestBody":{"content":{"application/json":{"schema":{"type":"object","properties":{"line_items":{"type":"array","items":{"type":"object","properties":{"item_id":{"type":"string","pattern":"^itm_[0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{12}$"},"quantity":{"type":"integer","exclusiveMinimum":0,"maximum":100}},"required":["item_id","quantity"]},"minItems":1,"maxItems":50,"description":"The WHOLE new cart, never a delta: the engine is the sole cart authority and an update states the cart it wants."},"codes":{"type":"array","items":{"type":"string","minLength":1,"maxLength":64},"maxItems":10},"customer":{"type":"object","properties":{"email":{"type":"string","maxLength":320,"format":"email"},"name":{"type":["string","null"],"minLength":1,"maxLength":200},"phone":{"type":["string","null"],"pattern":"^(?=(?:\\D*\\d){5})\\+?[\\d ()-]{7,25}$"}},"required":["email"]}},"minProperties":1}}}},"responses":{"200":{"description":"The buyer's view of the session.","headers":{"Request-Id":{"description":"Identifier for this API request.","schema":{"type":"string","format":"uuid"}}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/BuyerCheckoutSession"}}}},"400":{"description":"Invalid request","headers":{"Request-Id":{"description":"Identifier for this API request.","schema":{"type":"string","format":"uuid"}}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorEnvelope"}}}},"401":{"description":"Authentication failed","headers":{"Request-Id":{"description":"Identifier for this API request.","schema":{"type":"string","format":"uuid"}}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorEnvelope"}}}},"403":{"description":"Organizer grant required","headers":{"Request-Id":{"description":"Identifier for this API request.","schema":{"type":"string","format":"uuid"}}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorEnvelope"}}}},"404":{"description":"Resource not found","headers":{"Request-Id":{"description":"Identifier for this API request.","schema":{"type":"string","format":"uuid"}}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorEnvelope"}}}},"409":{"description":"A conflict. RETRYABLE — the same request may succeed shortly: `idempotency_key_in_flight` (an identical request is still running, or the key is being taken over), `checkout_session_conflict` (the session was modified concurrently) and `capacity_locked` (a quota lock timed out under contention). TERMINAL — retrying is futile and the caller must change something: `idempotency_key_reused` (this key was already used with a different body; use a new key), `checkout_session_locked` (payment has started, so the quote is contractual and the cart can no longer change) and `checkout_session_not_open` (the session has expired or completed; create a new one).","headers":{"Request-Id":{"description":"Identifier for this API request.","schema":{"type":"string","format":"uuid"}}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorEnvelope"}}}},"422":{"description":"The request is well-formed but cannot be satisfied. `code` is one of: `insufficient_capacity` (the cart does not fit; an existing hold is left untouched), `item_not_sellable`, `code_not_reservable`, `fee_schedule_not_found`, `fee_schedule_ambiguous`, `fee_exceeds_charge` (an absorbed platform fee would meet or exceed the amount charged), `payment_intent_unavailable`, `connect_account_not_onboardable` (the organizer has no connected payment account), or an event checkout limit: `order_quantity_below_minimum` or `order_quantity_above_maximum` (the event's tickets in this checkout, counted across its items, are outside its per-order limits) or `customer_ticket_limit_exceeded` (the session's customer would pass the event's per-customer cap); `detail` names the event and the limit. On creation, `checkout_offer_not_applicable` means the `offer` does not fit the cart: no line is covered, it is priced in another currency, or discount pricing is switched off for the organizer; nothing was created.","headers":{"Request-Id":{"description":"Identifier for this API request.","schema":{"type":"string","format":"uuid"}}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorEnvelope"}}}},"429":{"description":"Rate limited","headers":{"Request-Id":{"description":"Identifier for this API request.","schema":{"type":"string","format":"uuid"}}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorEnvelope"}}}},"500":{"description":"Internal failure","headers":{"Request-Id":{"description":"Identifier for this API request.","schema":{"type":"string","format":"uuid"}}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorEnvelope"}}}},"503":{"description":"A dependency is unavailable. `live_payments_not_configured` means the platform operator must complete live Stripe credential setup before retrying; no Stripe request is made for that refusal. On checkout creation, no session or capacity hold is created either. Other transient dependency failures may be retried.","headers":{"Request-Id":{"description":"Identifier for this API request.","schema":{"type":"string","format":"uuid"}}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorEnvelope"}}}}}}},"/v1/buyer/checkout_sessions/{id}/quote":{"post":{"tags":["Buyer plane"],"summary":"Refresh the session's binding quote","description":"Re-runs the quote against the unchanged cart — how a buyer picks up a price effect that became applicable, or a code that has just expired. The refreshed quote replaces the stored one and is what the PaymentIntent is synced to.","security":[{"clientSecretAuth":[]}],"parameters":[{"schema":{"type":"string","pattern":"^cs_[0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{12}$","example":"cs_0199c4e9-3d61-7b02-9a44-8e5c1d7f2b30"},"required":true,"name":"id","in":"path"}],"responses":{"200":{"description":"The buyer's view of the session.","headers":{"Request-Id":{"description":"Identifier for this API request.","schema":{"type":"string","format":"uuid"}}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/BuyerCheckoutSession"}}}},"400":{"description":"Invalid request","headers":{"Request-Id":{"description":"Identifier for this API request.","schema":{"type":"string","format":"uuid"}}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorEnvelope"}}}},"401":{"description":"Authentication failed","headers":{"Request-Id":{"description":"Identifier for this API request.","schema":{"type":"string","format":"uuid"}}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorEnvelope"}}}},"403":{"description":"Organizer grant required","headers":{"Request-Id":{"description":"Identifier for this API request.","schema":{"type":"string","format":"uuid"}}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorEnvelope"}}}},"404":{"description":"Resource not found","headers":{"Request-Id":{"description":"Identifier for this API request.","schema":{"type":"string","format":"uuid"}}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorEnvelope"}}}},"409":{"description":"A conflict. RETRYABLE — the same request may succeed shortly: `idempotency_key_in_flight` (an identical request is still running, or the key is being taken over), `checkout_session_conflict` (the session was modified concurrently) and `capacity_locked` (a quota lock timed out under contention). TERMINAL — retrying is futile and the caller must change something: `idempotency_key_reused` (this key was already used with a different body; use a new key), `checkout_session_locked` (payment has started, so the quote is contractual and the cart can no longer change) and `checkout_session_not_open` (the session has expired or completed; create a new one).","headers":{"Request-Id":{"description":"Identifier for this API request.","schema":{"type":"string","format":"uuid"}}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorEnvelope"}}}},"422":{"description":"The request is well-formed but cannot be satisfied. `code` is one of: `insufficient_capacity` (the cart does not fit; an existing hold is left untouched), `item_not_sellable`, `code_not_reservable`, `fee_schedule_not_found`, `fee_schedule_ambiguous`, `fee_exceeds_charge` (an absorbed platform fee would meet or exceed the amount charged), `payment_intent_unavailable`, `connect_account_not_onboardable` (the organizer has no connected payment account), or an event checkout limit: `order_quantity_below_minimum` or `order_quantity_above_maximum` (the event's tickets in this checkout, counted across its items, are outside its per-order limits) or `customer_ticket_limit_exceeded` (the session's customer would pass the event's per-customer cap); `detail` names the event and the limit. On creation, `checkout_offer_not_applicable` means the `offer` does not fit the cart: no line is covered, it is priced in another currency, or discount pricing is switched off for the organizer; nothing was created.","headers":{"Request-Id":{"description":"Identifier for this API request.","schema":{"type":"string","format":"uuid"}}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorEnvelope"}}}},"429":{"description":"Rate limited","headers":{"Request-Id":{"description":"Identifier for this API request.","schema":{"type":"string","format":"uuid"}}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorEnvelope"}}}},"500":{"description":"Internal failure","headers":{"Request-Id":{"description":"Identifier for this API request.","schema":{"type":"string","format":"uuid"}}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorEnvelope"}}}},"503":{"description":"A dependency is unavailable. `live_payments_not_configured` means the platform operator must complete live Stripe credential setup before retrying; no Stripe request is made for that refusal. On checkout creation, no session or capacity hold is created either. Other transient dependency failures may be retried.","headers":{"Request-Id":{"description":"Identifier for this API request.","schema":{"type":"string","format":"uuid"}}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorEnvelope"}}}}}}},"/v1/buyer/checkout_sessions/{id}/complete":{"post":{"tags":["Buyer plane"],"summary":"Complete a zero-total checkout","description":"Issues a paid order and positions from the session's binding zero-total quote without a PaymentIntent or ledger entry. Requires a buyer email (422 buyer_identity_required); a non-zero quote returns 422 payment_required. Consumable refusal rolls back issuance. Idempotent per session: a completed session returns the same order_id within the closed-session read window (one hour after session expiry).","security":[{"clientSecretAuth":[]}],"parameters":[{"schema":{"type":"string","pattern":"^cs_[0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{12}$","example":"cs_0199c4e9-3d61-7b02-9a44-8e5c1d7f2b30"},"required":true,"name":"id","in":"path"}],"responses":{"200":{"description":"The buyer's view of the session.","headers":{"Request-Id":{"description":"Identifier for this API request.","schema":{"type":"string","format":"uuid"}}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/BuyerCheckoutSession"}}}},"400":{"description":"Invalid request","headers":{"Request-Id":{"description":"Identifier for this API request.","schema":{"type":"string","format":"uuid"}}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorEnvelope"}}}},"401":{"description":"Authentication failed","headers":{"Request-Id":{"description":"Identifier for this API request.","schema":{"type":"string","format":"uuid"}}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorEnvelope"}}}},"403":{"description":"Organizer grant required","headers":{"Request-Id":{"description":"Identifier for this API request.","schema":{"type":"string","format":"uuid"}}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorEnvelope"}}}},"404":{"description":"Resource not found","headers":{"Request-Id":{"description":"Identifier for this API request.","schema":{"type":"string","format":"uuid"}}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorEnvelope"}}}},"409":{"description":"Completion conflict: `checkout_session_not_open` (the session or its capacity hold has expired), `checkout_session_locked` (payment has started), `checkout_session_conflict` (the session changed concurrently; retry), or `capacity_locked` (a quota lock timed out; retry). Completed zero-total sessions replay successfully within the closed-session read window; after that window client-secret authentication rejects the request.","headers":{"Request-Id":{"description":"Identifier for this API request.","schema":{"type":"string","format":"uuid"}}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorEnvelope"}}}},"422":{"description":"Completion refused: `payment_required` (the binding quote is non-zero), `buyer_identity_required` (buyer email is missing), `insufficient_capacity` (capacity cannot be issued), `code_not_reservable` (a consumable price effect refused commitment), or `order_quantity_below_minimum`, `order_quantity_above_maximum` or `customer_ticket_limit_exceeded` (the event's checkout limits, re-checked at completion; nothing is issued).","headers":{"Request-Id":{"description":"Identifier for this API request.","schema":{"type":"string","format":"uuid"}}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorEnvelope"}}}},"429":{"description":"Rate limited","headers":{"Request-Id":{"description":"Identifier for this API request.","schema":{"type":"string","format":"uuid"}}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorEnvelope"}}}},"500":{"description":"Internal failure","headers":{"Request-Id":{"description":"Identifier for this API request.","schema":{"type":"string","format":"uuid"}}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorEnvelope"}}}},"503":{"description":"A dependency is unavailable. `live_payments_not_configured` means the platform operator must complete live Stripe credential setup before retrying; no Stripe request is made for that refusal. On checkout creation, no session or capacity hold is created either. Other transient dependency failures may be retried.","headers":{"Request-Id":{"description":"Identifier for this API request.","schema":{"type":"string","format":"uuid"}}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorEnvelope"}}}}}}},"/v1/buyer/checkout_sessions/{id}/finalize":{"post":{"tags":["Buyer plane"],"summary":"Finalize the session once its payment has gone through","description":"Call this as soon as the payment is confirmed in the browser. The engine reads the session's own payment from the provider and, when it has succeeded or is processing, completes the session there and then — the order and its positions exist when this answers — rather than when the provider's webhook arrives. The request has no body and nothing about it is trusted: the payment's status is only ever the provider's own answer. Always answers the buyer session, exactly as a retrieve does: `completed` with `order_id` once issued; `payment_processing` when the money has moved but the session cannot complete here (the webhook settles it, which may still be `payment_refused` with an automatic refund); unchanged when no payment has started. Idempotent and cheap to repeat: a completed session answers without asking the provider. Allowed on a closed session within the closed-session read window (one hour after session expiry), where it reads the session as it stands. Keep polling the retrieve until a final status either way.","security":[{"clientSecretAuth":[]}],"parameters":[{"schema":{"type":"string","pattern":"^cs_[0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{12}$","example":"cs_0199c4e9-3d61-7b02-9a44-8e5c1d7f2b30"},"required":true,"name":"id","in":"path"}],"responses":{"200":{"description":"The buyer's view of the session.","headers":{"Request-Id":{"description":"Identifier for this API request.","schema":{"type":"string","format":"uuid"}}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/BuyerCheckoutSession"}}}},"400":{"description":"Invalid request","headers":{"Request-Id":{"description":"Identifier for this API request.","schema":{"type":"string","format":"uuid"}}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorEnvelope"}}}},"401":{"description":"Authentication failed","headers":{"Request-Id":{"description":"Identifier for this API request.","schema":{"type":"string","format":"uuid"}}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorEnvelope"}}}},"403":{"description":"Organizer grant required","headers":{"Request-Id":{"description":"Identifier for this API request.","schema":{"type":"string","format":"uuid"}}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorEnvelope"}}}},"404":{"description":"Resource not found","headers":{"Request-Id":{"description":"Identifier for this API request.","schema":{"type":"string","format":"uuid"}}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorEnvelope"}}}},"409":{"description":"A conflict. RETRYABLE — the same request may succeed shortly: `idempotency_key_in_flight` (an identical request is still running, or the key is being taken over), `checkout_session_conflict` (the session was modified concurrently) and `capacity_locked` (a quota lock timed out under contention). TERMINAL — retrying is futile and the caller must change something: `idempotency_key_reused` (this key was already used with a different body; use a new key), `checkout_session_locked` (payment has started, so the quote is contractual and the cart can no longer change) and `checkout_session_not_open` (the session has expired or completed; create a new one).","headers":{"Request-Id":{"description":"Identifier for this API request.","schema":{"type":"string","format":"uuid"}}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorEnvelope"}}}},"422":{"description":"The request is well-formed but cannot be satisfied. `code` is one of: `insufficient_capacity` (the cart does not fit; an existing hold is left untouched), `item_not_sellable`, `code_not_reservable`, `fee_schedule_not_found`, `fee_schedule_ambiguous`, `fee_exceeds_charge` (an absorbed platform fee would meet or exceed the amount charged), `payment_intent_unavailable`, `connect_account_not_onboardable` (the organizer has no connected payment account), or an event checkout limit: `order_quantity_below_minimum` or `order_quantity_above_maximum` (the event's tickets in this checkout, counted across its items, are outside its per-order limits) or `customer_ticket_limit_exceeded` (the session's customer would pass the event's per-customer cap); `detail` names the event and the limit. On creation, `checkout_offer_not_applicable` means the `offer` does not fit the cart: no line is covered, it is priced in another currency, or discount pricing is switched off for the organizer; nothing was created.","headers":{"Request-Id":{"description":"Identifier for this API request.","schema":{"type":"string","format":"uuid"}}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorEnvelope"}}}},"429":{"description":"Rate limited","headers":{"Request-Id":{"description":"Identifier for this API request.","schema":{"type":"string","format":"uuid"}}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorEnvelope"}}}},"500":{"description":"Internal failure","headers":{"Request-Id":{"description":"Identifier for this API request.","schema":{"type":"string","format":"uuid"}}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorEnvelope"}}}},"503":{"description":"A dependency is unavailable. `live_payments_not_configured` means the platform operator must complete live Stripe credential setup before retrying; no Stripe request is made for that refusal. On checkout creation, no session or capacity hold is created either. Other transient dependency failures may be retried.","headers":{"Request-Id":{"description":"Identifier for this API request.","schema":{"type":"string","format":"uuid"}}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorEnvelope"}}}}}}},"/v1/buyer/checkout_sessions/{id}/payment_credentials":{"get":{"tags":["Buyer plane"],"summary":"Fetch the credentials the Payment Element needs","description":"Creates the session's PaymentIntent if the create-time call never landed, and always re-syncs its amount to the session's contractual quote — so a buyer cannot confirm a superseded total.","security":[{"clientSecretAuth":[]}],"parameters":[{"schema":{"type":"string","pattern":"^cs_[0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{12}$","example":"cs_0199c4e9-3d61-7b02-9a44-8e5c1d7f2b30"},"required":true,"name":"id","in":"path"}],"responses":{"200":{"description":"Credentials for confirming this session's payment.","headers":{"Request-Id":{"description":"Identifier for this API request.","schema":{"type":"string","format":"uuid"}}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/BuyerPaymentCredentials"}}}},"400":{"description":"Invalid request","headers":{"Request-Id":{"description":"Identifier for this API request.","schema":{"type":"string","format":"uuid"}}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorEnvelope"}}}},"401":{"description":"Authentication failed","headers":{"Request-Id":{"description":"Identifier for this API request.","schema":{"type":"string","format":"uuid"}}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorEnvelope"}}}},"403":{"description":"Organizer grant required","headers":{"Request-Id":{"description":"Identifier for this API request.","schema":{"type":"string","format":"uuid"}}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorEnvelope"}}}},"404":{"description":"Resource not found","headers":{"Request-Id":{"description":"Identifier for this API request.","schema":{"type":"string","format":"uuid"}}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorEnvelope"}}}},"409":{"description":"A conflict. RETRYABLE — the same request may succeed shortly: `idempotency_key_in_flight` (an identical request is still running, or the key is being taken over), `checkout_session_conflict` (the session was modified concurrently) and `capacity_locked` (a quota lock timed out under contention). TERMINAL — retrying is futile and the caller must change something: `idempotency_key_reused` (this key was already used with a different body; use a new key), `checkout_session_locked` (payment has started, so the quote is contractual and the cart can no longer change) and `checkout_session_not_open` (the session has expired or completed; create a new one).","headers":{"Request-Id":{"description":"Identifier for this API request.","schema":{"type":"string","format":"uuid"}}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorEnvelope"}}}},"422":{"description":"The request is well-formed but cannot be satisfied. `code` is one of: `insufficient_capacity` (the cart does not fit; an existing hold is left untouched), `item_not_sellable`, `code_not_reservable`, `fee_schedule_not_found`, `fee_schedule_ambiguous`, `fee_exceeds_charge` (an absorbed platform fee would meet or exceed the amount charged), `payment_intent_unavailable`, `connect_account_not_onboardable` (the organizer has no connected payment account), or an event checkout limit: `order_quantity_below_minimum` or `order_quantity_above_maximum` (the event's tickets in this checkout, counted across its items, are outside its per-order limits) or `customer_ticket_limit_exceeded` (the session's customer would pass the event's per-customer cap); `detail` names the event and the limit. On creation, `checkout_offer_not_applicable` means the `offer` does not fit the cart: no line is covered, it is priced in another currency, or discount pricing is switched off for the organizer; nothing was created.","headers":{"Request-Id":{"description":"Identifier for this API request.","schema":{"type":"string","format":"uuid"}}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorEnvelope"}}}},"429":{"description":"Rate limited","headers":{"Request-Id":{"description":"Identifier for this API request.","schema":{"type":"string","format":"uuid"}}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorEnvelope"}}}},"500":{"description":"Internal failure","headers":{"Request-Id":{"description":"Identifier for this API request.","schema":{"type":"string","format":"uuid"}}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorEnvelope"}}}},"503":{"description":"A dependency is unavailable. `live_payments_not_configured` means the platform operator must complete live Stripe credential setup before retrying; no Stripe request is made for that refusal. On checkout creation, no session or capacity hold is created either. Other transient dependency failures may be retried.","headers":{"Request-Id":{"description":"Identifier for this API request.","schema":{"type":"string","format":"uuid"}}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorEnvelope"}}}}}}},"/v1/buyer/checkout_sessions/{id}/identity":{"post":{"tags":["Buyer plane"],"summary":"Attest the Lissen buyer on this session","description":"Verifies a Lissen identity action token bound to this session and, in one transaction, sets the session's subject to the attested buyer, records the attestation, and re-runs the quote so member pricing and the PaymentIntent follow. Returns the buyer's saved cards. A refused token is 401 `identity_token_rejected` and changes nothing.","security":[{"clientSecretAuth":[]}],"parameters":[{"schema":{"type":"string","pattern":"^cs_[0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{12}$","example":"cs_0199c4e9-3d61-7b02-9a44-8e5c1d7f2b30"},"required":true,"name":"id","in":"path"}],"requestBody":{"content":{"application/json":{"schema":{"type":"object","properties":{"action_token":{"type":"string","minLength":1,"maxLength":8192,"description":"A Lissen identity action token addressed to `ticketing-api`, purpose `checkout`, bound to THIS session by `context_hash`, valid for five minutes and accepted exactly once."}},"required":["action_token"]}}}},"responses":{"200":{"description":"The attested buyer and their wallet.","headers":{"Request-Id":{"description":"Identifier for this API request.","schema":{"type":"string","format":"uuid"}}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/BuyerIdentity"}}}},"400":{"description":"Invalid request","headers":{"Request-Id":{"description":"Identifier for this API request.","schema":{"type":"string","format":"uuid"}}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorEnvelope"}}}},"401":{"description":"Authentication failed","headers":{"Request-Id":{"description":"Identifier for this API request.","schema":{"type":"string","format":"uuid"}}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorEnvelope"}}}},"403":{"description":"Organizer grant required","headers":{"Request-Id":{"description":"Identifier for this API request.","schema":{"type":"string","format":"uuid"}}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorEnvelope"}}}},"404":{"description":"Resource not found","headers":{"Request-Id":{"description":"Identifier for this API request.","schema":{"type":"string","format":"uuid"}}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorEnvelope"}}}},"409":{"description":"A conflict. RETRYABLE — the same request may succeed shortly: `idempotency_key_in_flight` (an identical request is still running, or the key is being taken over), `checkout_session_conflict` (the session was modified concurrently) and `capacity_locked` (a quota lock timed out under contention). TERMINAL — retrying is futile and the caller must change something: `idempotency_key_reused` (this key was already used with a different body; use a new key), `checkout_session_locked` (payment has started, so the quote is contractual and the cart can no longer change) and `checkout_session_not_open` (the session has expired or completed; create a new one).","headers":{"Request-Id":{"description":"Identifier for this API request.","schema":{"type":"string","format":"uuid"}}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorEnvelope"}}}},"422":{"description":"The request is well-formed but cannot be satisfied. `code` is one of: `insufficient_capacity` (the cart does not fit; an existing hold is left untouched), `item_not_sellable`, `code_not_reservable`, `fee_schedule_not_found`, `fee_schedule_ambiguous`, `fee_exceeds_charge` (an absorbed platform fee would meet or exceed the amount charged), `payment_intent_unavailable`, `connect_account_not_onboardable` (the organizer has no connected payment account), or an event checkout limit: `order_quantity_below_minimum` or `order_quantity_above_maximum` (the event's tickets in this checkout, counted across its items, are outside its per-order limits) or `customer_ticket_limit_exceeded` (the session's customer would pass the event's per-customer cap); `detail` names the event and the limit. On creation, `checkout_offer_not_applicable` means the `offer` does not fit the cart: no line is covered, it is priced in another currency, or discount pricing is switched off for the organizer; nothing was created.","headers":{"Request-Id":{"description":"Identifier for this API request.","schema":{"type":"string","format":"uuid"}}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorEnvelope"}}}},"429":{"description":"Rate limited","headers":{"Request-Id":{"description":"Identifier for this API request.","schema":{"type":"string","format":"uuid"}}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorEnvelope"}}}},"500":{"description":"Internal failure","headers":{"Request-Id":{"description":"Identifier for this API request.","schema":{"type":"string","format":"uuid"}}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorEnvelope"}}}},"503":{"description":"A dependency is unavailable. `live_payments_not_configured` means the platform operator must complete live Stripe credential setup before retrying; no Stripe request is made for that refusal. On checkout creation, no session or capacity hold is created either. Other transient dependency failures may be retried.","headers":{"Request-Id":{"description":"Identifier for this API request.","schema":{"type":"string","format":"uuid"}}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorEnvelope"}}}}}},"delete":{"tags":["Buyer plane"],"summary":"Withdraw the Lissen buyer from this session","description":"Clears the session's attestation and, in the same transaction, returns the subject to anonymous and re-runs the quote, so member pricing and any saved-card authority end with the sign-in. The buyer's email stays. Idempotent: a session with no attestation answers the same.","security":[{"clientSecretAuth":[]}],"parameters":[{"schema":{"type":"string","pattern":"^cs_[0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{12}$","example":"cs_0199c4e9-3d61-7b02-9a44-8e5c1d7f2b30"},"required":true,"name":"id","in":"path"}],"responses":{"200":{"description":"No buyer is attested on the session.","headers":{"Request-Id":{"description":"Identifier for this API request.","schema":{"type":"string","format":"uuid"}}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/BuyerIdentityCleared"}}}},"400":{"description":"Invalid request","headers":{"Request-Id":{"description":"Identifier for this API request.","schema":{"type":"string","format":"uuid"}}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorEnvelope"}}}},"401":{"description":"Authentication failed","headers":{"Request-Id":{"description":"Identifier for this API request.","schema":{"type":"string","format":"uuid"}}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorEnvelope"}}}},"403":{"description":"Organizer grant required","headers":{"Request-Id":{"description":"Identifier for this API request.","schema":{"type":"string","format":"uuid"}}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorEnvelope"}}}},"404":{"description":"Resource not found","headers":{"Request-Id":{"description":"Identifier for this API request.","schema":{"type":"string","format":"uuid"}}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorEnvelope"}}}},"409":{"description":"A conflict. RETRYABLE — the same request may succeed shortly: `idempotency_key_in_flight` (an identical request is still running, or the key is being taken over), `checkout_session_conflict` (the session was modified concurrently) and `capacity_locked` (a quota lock timed out under contention). TERMINAL — retrying is futile and the caller must change something: `idempotency_key_reused` (this key was already used with a different body; use a new key), `checkout_session_locked` (payment has started, so the quote is contractual and the cart can no longer change) and `checkout_session_not_open` (the session has expired or completed; create a new one).","headers":{"Request-Id":{"description":"Identifier for this API request.","schema":{"type":"string","format":"uuid"}}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorEnvelope"}}}},"422":{"description":"The request is well-formed but cannot be satisfied. `code` is one of: `insufficient_capacity` (the cart does not fit; an existing hold is left untouched), `item_not_sellable`, `code_not_reservable`, `fee_schedule_not_found`, `fee_schedule_ambiguous`, `fee_exceeds_charge` (an absorbed platform fee would meet or exceed the amount charged), `payment_intent_unavailable`, `connect_account_not_onboardable` (the organizer has no connected payment account), or an event checkout limit: `order_quantity_below_minimum` or `order_quantity_above_maximum` (the event's tickets in this checkout, counted across its items, are outside its per-order limits) or `customer_ticket_limit_exceeded` (the session's customer would pass the event's per-customer cap); `detail` names the event and the limit. On creation, `checkout_offer_not_applicable` means the `offer` does not fit the cart: no line is covered, it is priced in another currency, or discount pricing is switched off for the organizer; nothing was created.","headers":{"Request-Id":{"description":"Identifier for this API request.","schema":{"type":"string","format":"uuid"}}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorEnvelope"}}}},"429":{"description":"Rate limited","headers":{"Request-Id":{"description":"Identifier for this API request.","schema":{"type":"string","format":"uuid"}}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorEnvelope"}}}},"500":{"description":"Internal failure","headers":{"Request-Id":{"description":"Identifier for this API request.","schema":{"type":"string","format":"uuid"}}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorEnvelope"}}}},"503":{"description":"A dependency is unavailable. `live_payments_not_configured` means the platform operator must complete live Stripe credential setup before retrying; no Stripe request is made for that refusal. On checkout creation, no session or capacity hold is created either. Other transient dependency failures may be retried.","headers":{"Request-Id":{"description":"Identifier for this API request.","schema":{"type":"string","format":"uuid"}}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorEnvelope"}}}}}}},"/v1/buyer/checkout_sessions/{id}/enrolment":{"post":{"tags":["Buyer plane"],"summary":"Ask whether an address already pays with Lissen","description":"One bit, so the checkout can offer Pay with Lissen to a returning buyer. True only for a verified Lissen identity that has at least one saved card; an unknown address, an unverified one, one with no wallet, and a request over the probe budget are all `false`. Nothing else about the person is returned, and no attestation is created.","security":[{"clientSecretAuth":[]}],"parameters":[{"schema":{"type":"string","pattern":"^cs_[0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{12}$","example":"cs_0199c4e9-3d61-7b02-9a44-8e5c1d7f2b30"},"required":true,"name":"id","in":"path"}],"requestBody":{"content":{"application/json":{"schema":{"type":"object","properties":{"email":{"type":"string","maxLength":320,"format":"email"}},"required":["email"]}}}},"responses":{"200":{"description":"Whether that address is enrolled.","headers":{"Request-Id":{"description":"Identifier for this API request.","schema":{"type":"string","format":"uuid"}}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/BuyerEnrolment"}}}},"400":{"description":"Invalid request","headers":{"Request-Id":{"description":"Identifier for this API request.","schema":{"type":"string","format":"uuid"}}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorEnvelope"}}}},"401":{"description":"Authentication failed","headers":{"Request-Id":{"description":"Identifier for this API request.","schema":{"type":"string","format":"uuid"}}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorEnvelope"}}}},"403":{"description":"Organizer grant required","headers":{"Request-Id":{"description":"Identifier for this API request.","schema":{"type":"string","format":"uuid"}}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorEnvelope"}}}},"404":{"description":"Resource not found","headers":{"Request-Id":{"description":"Identifier for this API request.","schema":{"type":"string","format":"uuid"}}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorEnvelope"}}}},"409":{"description":"A conflict. RETRYABLE — the same request may succeed shortly: `idempotency_key_in_flight` (an identical request is still running, or the key is being taken over), `checkout_session_conflict` (the session was modified concurrently) and `capacity_locked` (a quota lock timed out under contention). TERMINAL — retrying is futile and the caller must change something: `idempotency_key_reused` (this key was already used with a different body; use a new key), `checkout_session_locked` (payment has started, so the quote is contractual and the cart can no longer change) and `checkout_session_not_open` (the session has expired or completed; create a new one).","headers":{"Request-Id":{"description":"Identifier for this API request.","schema":{"type":"string","format":"uuid"}}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorEnvelope"}}}},"422":{"description":"The request is well-formed but cannot be satisfied. `code` is one of: `insufficient_capacity` (the cart does not fit; an existing hold is left untouched), `item_not_sellable`, `code_not_reservable`, `fee_schedule_not_found`, `fee_schedule_ambiguous`, `fee_exceeds_charge` (an absorbed platform fee would meet or exceed the amount charged), `payment_intent_unavailable`, `connect_account_not_onboardable` (the organizer has no connected payment account), or an event checkout limit: `order_quantity_below_minimum` or `order_quantity_above_maximum` (the event's tickets in this checkout, counted across its items, are outside its per-order limits) or `customer_ticket_limit_exceeded` (the session's customer would pass the event's per-customer cap); `detail` names the event and the limit. On creation, `checkout_offer_not_applicable` means the `offer` does not fit the cart: no line is covered, it is priced in another currency, or discount pricing is switched off for the organizer; nothing was created.","headers":{"Request-Id":{"description":"Identifier for this API request.","schema":{"type":"string","format":"uuid"}}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorEnvelope"}}}},"429":{"description":"Rate limited","headers":{"Request-Id":{"description":"Identifier for this API request.","schema":{"type":"string","format":"uuid"}}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorEnvelope"}}}},"500":{"description":"Internal failure","headers":{"Request-Id":{"description":"Identifier for this API request.","schema":{"type":"string","format":"uuid"}}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorEnvelope"}}}},"503":{"description":"A dependency is unavailable. `live_payments_not_configured` means the platform operator must complete live Stripe credential setup before retrying; no Stripe request is made for that refusal. On checkout creation, no session or capacity hold is created either. Other transient dependency failures may be retried.","headers":{"Request-Id":{"description":"Identifier for this API request.","schema":{"type":"string","format":"uuid"}}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorEnvelope"}}}}}}},"/v1/buyer/checkout_sessions/{id}/wallet/setup":{"post":{"tags":["Buyer plane"],"summary":"Start entering a new card into the Lissen wallet","description":"A platform SetupIntent to take a new card. For an attested Lissen buyer it is created on their platform Customer, made here if they have none. For anyone else it is created with no Customer at all — the card entry is on screen from the first paint, and a guest's Customer is made only when they pay. Saving and not saving take this same path: whether the card is kept is decided at pay time.","security":[{"clientSecretAuth":[]}],"parameters":[{"schema":{"type":"string","pattern":"^cs_[0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{12}$","example":"cs_0199c4e9-3d61-7b02-9a44-8e5c1d7f2b30"},"required":true,"name":"id","in":"path"}],"responses":{"200":{"description":"Credentials for confirming the platform SetupIntent.","headers":{"Request-Id":{"description":"Identifier for this API request.","schema":{"type":"string","format":"uuid"}}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/BuyerWalletSetup"}}}},"400":{"description":"Invalid request","headers":{"Request-Id":{"description":"Identifier for this API request.","schema":{"type":"string","format":"uuid"}}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorEnvelope"}}}},"401":{"description":"Authentication failed","headers":{"Request-Id":{"description":"Identifier for this API request.","schema":{"type":"string","format":"uuid"}}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorEnvelope"}}}},"403":{"description":"Organizer grant required","headers":{"Request-Id":{"description":"Identifier for this API request.","schema":{"type":"string","format":"uuid"}}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorEnvelope"}}}},"404":{"description":"Resource not found","headers":{"Request-Id":{"description":"Identifier for this API request.","schema":{"type":"string","format":"uuid"}}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorEnvelope"}}}},"409":{"description":"A conflict. RETRYABLE — the same request may succeed shortly: `idempotency_key_in_flight` (an identical request is still running, or the key is being taken over), `checkout_session_conflict` (the session was modified concurrently) and `capacity_locked` (a quota lock timed out under contention). TERMINAL — retrying is futile and the caller must change something: `idempotency_key_reused` (this key was already used with a different body; use a new key), `checkout_session_locked` (payment has started, so the quote is contractual and the cart can no longer change) and `checkout_session_not_open` (the session has expired or completed; create a new one).","headers":{"Request-Id":{"description":"Identifier for this API request.","schema":{"type":"string","format":"uuid"}}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorEnvelope"}}}},"422":{"description":"The request is well-formed but cannot be satisfied. `code` is one of: `insufficient_capacity` (the cart does not fit; an existing hold is left untouched), `item_not_sellable`, `code_not_reservable`, `fee_schedule_not_found`, `fee_schedule_ambiguous`, `fee_exceeds_charge` (an absorbed platform fee would meet or exceed the amount charged), `payment_intent_unavailable`, `connect_account_not_onboardable` (the organizer has no connected payment account), or an event checkout limit: `order_quantity_below_minimum` or `order_quantity_above_maximum` (the event's tickets in this checkout, counted across its items, are outside its per-order limits) or `customer_ticket_limit_exceeded` (the session's customer would pass the event's per-customer cap); `detail` names the event and the limit. On creation, `checkout_offer_not_applicable` means the `offer` does not fit the cart: no line is covered, it is priced in another currency, or discount pricing is switched off for the organizer; nothing was created.","headers":{"Request-Id":{"description":"Identifier for this API request.","schema":{"type":"string","format":"uuid"}}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorEnvelope"}}}},"429":{"description":"Rate limited","headers":{"Request-Id":{"description":"Identifier for this API request.","schema":{"type":"string","format":"uuid"}}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorEnvelope"}}}},"500":{"description":"Internal failure","headers":{"Request-Id":{"description":"Identifier for this API request.","schema":{"type":"string","format":"uuid"}}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorEnvelope"}}}},"503":{"description":"A dependency is unavailable. `live_payments_not_configured` means the platform operator must complete live Stripe credential setup before retrying; no Stripe request is made for that refusal. On checkout creation, no session or capacity hold is created either. Other transient dependency failures may be retried.","headers":{"Request-Id":{"description":"Identifier for this API request.","schema":{"type":"string","format":"uuid"}}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorEnvelope"}}}}}}},"/v1/buyer/checkout_sessions/{id}/wallet/pay":{"post":{"tags":["Buyer plane"],"summary":"Point this session's payment at a wallet card","description":"Ensures the session's PaymentIntent, attaches the named platform method to a Customer, creates or reuses the organizer's Customer on their connected account, clones the method there and amends the intent to it. For an attested Lissen buyer the platform Customer is their wallet and the method joins it; for a guest it is a Customer created now for this session alone, and the method joins a wallet only if the identity plane later attests who paid (the code on the success screen). Returns the CLONE's id: confirm the intent with that method on the connected-account Stripe.js instance — or send `confirm: \"server\"` and the engine confirms it (on session, with an optional Radar session) and answers `payment_intent_status`. Refuses with 422 `buyer_identity_required` when the session names no address, 403 `reverify_required` for an attested buyer past ninety days, 403 `payment_method_not_owned` for another buyer's card, or — only when the engine confirms — 422 `payment_declined` when the card refuses the payment.","security":[{"clientSecretAuth":[]}],"parameters":[{"schema":{"type":"string","pattern":"^cs_[0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{12}$","example":"cs_0199c4e9-3d61-7b02-9a44-8e5c1d7f2b30"},"required":true,"name":"id","in":"path"}],"requestBody":{"content":{"application/json":{"schema":{"type":"object","properties":{"payment_method_id":{"type":"string","minLength":1,"maxLength":255,"description":"A saved card's id, or the payment method a just-confirmed platform SetupIntent produced."},"keep":{"type":"boolean","description":"Whether the buyer asked to save this card with Lissen. Honoured only when the attestation carries the card-reuse consent; without it the card is used once and detached after the payment outcome."},"confirm":{"type":"string","enum":["server"],"description":"`server` asks the engine to confirm the payment itself, on the account it is made on and on session, rather than leaving that to Stripe.js in the browser; the answer then carries `payment_intent_status`. Omitted, nothing changes: the browser confirms with the returned clone, as before."},"radar_session":{"type":"string","minLength":1,"maxLength":255,"description":"With `confirm: \"server\"` only (ignored otherwise): a Radar session the browser made with `stripe.createRadarSession` on the Stripe.js instance for the account the payment is made on (`connected_account_id` from wallet/setup), passed to Stripe as `radar_options.session` so fraud screening still sees the buyer's device. One Stripe refuses is dropped rather than failing the payment."}},"required":["payment_method_id","keep"]}}}},"responses":{"200":{"description":"Credentials for confirming this session's payment.","headers":{"Request-Id":{"description":"Identifier for this API request.","schema":{"type":"string","format":"uuid"}}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/BuyerWalletPayment"}}}},"400":{"description":"Invalid request","headers":{"Request-Id":{"description":"Identifier for this API request.","schema":{"type":"string","format":"uuid"}}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorEnvelope"}}}},"401":{"description":"Authentication failed","headers":{"Request-Id":{"description":"Identifier for this API request.","schema":{"type":"string","format":"uuid"}}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorEnvelope"}}}},"403":{"description":"Organizer grant required","headers":{"Request-Id":{"description":"Identifier for this API request.","schema":{"type":"string","format":"uuid"}}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorEnvelope"}}}},"404":{"description":"Resource not found","headers":{"Request-Id":{"description":"Identifier for this API request.","schema":{"type":"string","format":"uuid"}}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorEnvelope"}}}},"409":{"description":"A conflict. RETRYABLE — the same request may succeed shortly: `idempotency_key_in_flight` (an identical request is still running, or the key is being taken over), `checkout_session_conflict` (the session was modified concurrently) and `capacity_locked` (a quota lock timed out under contention). TERMINAL — retrying is futile and the caller must change something: `idempotency_key_reused` (this key was already used with a different body; use a new key), `checkout_session_locked` (payment has started, so the quote is contractual and the cart can no longer change) and `checkout_session_not_open` (the session has expired or completed; create a new one).","headers":{"Request-Id":{"description":"Identifier for this API request.","schema":{"type":"string","format":"uuid"}}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorEnvelope"}}}},"422":{"description":"The payment cannot go ahead: `buyer_identity_required` (the session names no address), `payment_declined` (with `confirm: \"server\"`, the card refused the payment; `message` is the card's reason for the buyer, `detail.decline_code` Stripe's code when it gave one, except that a decline Stripe asks be shown as a plain one — `fraudulent`, `lost_card`, `stolen_card`, `merchant_blacklist` — is answered as `generic_decline` with a plain message — the session stays open for another card), `payment_intent_unavailable` or `connect_account_not_onboardable`.","headers":{"Request-Id":{"description":"Identifier for this API request.","schema":{"type":"string","format":"uuid"}}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorEnvelope"}}}},"429":{"description":"Rate limited","headers":{"Request-Id":{"description":"Identifier for this API request.","schema":{"type":"string","format":"uuid"}}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorEnvelope"}}}},"500":{"description":"Internal failure","headers":{"Request-Id":{"description":"Identifier for this API request.","schema":{"type":"string","format":"uuid"}}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorEnvelope"}}}},"503":{"description":"A dependency is unavailable. `live_payments_not_configured` means the platform operator must complete live Stripe credential setup before retrying; no Stripe request is made for that refusal. On checkout creation, no session or capacity hold is created either. Other transient dependency failures may be retried.","headers":{"Request-Id":{"description":"Identifier for this API request.","schema":{"type":"string","format":"uuid"}}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorEnvelope"}}}}}}},"/v1/orders":{"get":{"tags":["Orders"],"summary":"List orders","description":"Newest first, id-keyset. An order is minted the moment a checkout session settles (optimistic issuance), or by a comp (`issuance.type: comp`): `payment_state` says whether the money has landed. Each order embeds its positions.","security":[{"bearerAuth":[]}],"parameters":[{"schema":{"type":"integer","minimum":1,"maximum":100,"default":20},"required":false,"name":"limit","in":"query"},{"schema":{"type":"string"},"required":false,"name":"starting_after","in":"query"},{"schema":{"type":"string"},"required":false,"name":"ending_before","in":"query"},{"schema":{"type":"string","pattern":"^cus_[0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{12}$"},"required":false,"name":"customer_id","in":"query"},{"schema":{"type":"string","pattern":"^cs_[0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{12}$"},"required":false,"name":"checkout_session_id","in":"query"},{"schema":{"type":"string","enum":["processing","paid","payment_failed","refund_pending","refunded"]},"required":false,"name":"payment_state","in":"query"},{"schema":{"type":"string","pattern":"^org_[0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{12}$","description":"Required organizer tenant id. There is intentionally no default, even for single-grant keys.","example":"org_0199c4e2-1f7a-7c31-8d44-2b9f6a1e05c7"},"required":true,"description":"Required organizer tenant id. There is intentionally no default, even for single-grant keys.","name":"Ticketing-Organizer","in":"header"}],"responses":{"200":{"description":"A page of orders.","headers":{"Request-Id":{"description":"Identifier for this API request.","schema":{"type":"string","format":"uuid"}}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/OrderList"}}}},"400":{"description":"Invalid request","headers":{"Request-Id":{"description":"Identifier for this API request.","schema":{"type":"string","format":"uuid"}}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorEnvelope"}}}},"401":{"description":"Authentication failed","headers":{"Request-Id":{"description":"Identifier for this API request.","schema":{"type":"string","format":"uuid"}}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorEnvelope"}}}},"403":{"description":"Organizer grant required","headers":{"Request-Id":{"description":"Identifier for this API request.","schema":{"type":"string","format":"uuid"}}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorEnvelope"}}}},"404":{"description":"Resource not found","headers":{"Request-Id":{"description":"Identifier for this API request.","schema":{"type":"string","format":"uuid"}}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorEnvelope"}}}},"409":{"description":"Idempotency conflict","headers":{"Request-Id":{"description":"Identifier for this API request.","schema":{"type":"string","format":"uuid"}}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorEnvelope"}}}},"422":{"description":"Request is semantically invalid","headers":{"Request-Id":{"description":"Identifier for this API request.","schema":{"type":"string","format":"uuid"}}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorEnvelope"}}}},"429":{"description":"Rate limited","headers":{"Request-Id":{"description":"Identifier for this API request.","schema":{"type":"string","format":"uuid"}}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorEnvelope"}}}},"500":{"description":"Internal failure","headers":{"Request-Id":{"description":"Identifier for this API request.","schema":{"type":"string","format":"uuid"}}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorEnvelope"}}}},"503":{"description":"A dependency is unavailable. `live_payments_not_configured` means the platform operator must complete live Stripe credential setup before retrying; no Stripe request is made for that refusal. On checkout creation, no session or capacity hold is created either. Other transient dependency failures may be retried.","headers":{"Request-Id":{"description":"Identifier for this API request.","schema":{"type":"string","format":"uuid"}}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorEnvelope"}}}}}}},"/v1/orders/{id}":{"get":{"tags":["Orders"],"summary":"Retrieve an order","security":[{"bearerAuth":[]}],"parameters":[{"schema":{"type":"string","pattern":"^ord_[0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{12}$"},"required":true,"name":"id","in":"path"},{"schema":{"type":"string","pattern":"^org_[0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{12}$","description":"Required organizer tenant id. There is intentionally no default, even for single-grant keys.","example":"org_0199c4e2-1f7a-7c31-8d44-2b9f6a1e05c7"},"required":true,"description":"Required organizer tenant id. There is intentionally no default, even for single-grant keys.","name":"Ticketing-Organizer","in":"header"}],"responses":{"200":{"description":"The order with its positions.","headers":{"Request-Id":{"description":"Identifier for this API request.","schema":{"type":"string","format":"uuid"}}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Order"}}}},"400":{"description":"Invalid request","headers":{"Request-Id":{"description":"Identifier for this API request.","schema":{"type":"string","format":"uuid"}}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorEnvelope"}}}},"401":{"description":"Authentication failed","headers":{"Request-Id":{"description":"Identifier for this API request.","schema":{"type":"string","format":"uuid"}}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorEnvelope"}}}},"403":{"description":"Organizer grant required","headers":{"Request-Id":{"description":"Identifier for this API request.","schema":{"type":"string","format":"uuid"}}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorEnvelope"}}}},"404":{"description":"Resource not found","headers":{"Request-Id":{"description":"Identifier for this API request.","schema":{"type":"string","format":"uuid"}}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorEnvelope"}}}},"409":{"description":"Idempotency conflict","headers":{"Request-Id":{"description":"Identifier for this API request.","schema":{"type":"string","format":"uuid"}}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorEnvelope"}}}},"422":{"description":"Request is semantically invalid","headers":{"Request-Id":{"description":"Identifier for this API request.","schema":{"type":"string","format":"uuid"}}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorEnvelope"}}}},"429":{"description":"Rate limited","headers":{"Request-Id":{"description":"Identifier for this API request.","schema":{"type":"string","format":"uuid"}}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorEnvelope"}}}},"500":{"description":"Internal failure","headers":{"Request-Id":{"description":"Identifier for this API request.","schema":{"type":"string","format":"uuid"}}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorEnvelope"}}}},"503":{"description":"A dependency is unavailable. `live_payments_not_configured` means the platform operator must complete live Stripe credential setup before retrying; no Stripe request is made for that refusal. On checkout creation, no session or capacity hold is created either. Other transient dependency failures may be retried.","headers":{"Request-Id":{"description":"Identifier for this API request.","schema":{"type":"string","format":"uuid"}}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorEnvelope"}}}}}}},"/v1/positions":{"get":{"tags":["Orders"],"summary":"List positions","description":"One bought unit each, newest first. `status: live` is what the door admits; a revoked position carries why. Filter by order, item, event, status or current holder.","security":[{"bearerAuth":[]}],"parameters":[{"schema":{"type":"integer","minimum":1,"maximum":100,"default":20},"required":false,"name":"limit","in":"query"},{"schema":{"type":"string"},"required":false,"name":"starting_after","in":"query"},{"schema":{"type":"string"},"required":false,"name":"ending_before","in":"query"},{"schema":{"type":"string","pattern":"^ord_[0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{12}$"},"required":false,"name":"order_id","in":"query"},{"schema":{"type":"string","pattern":"^itm_[0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{12}$"},"required":false,"name":"item_id","in":"query"},{"schema":{"type":"string","pattern":"^evt_[0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{12}$"},"required":false,"name":"event_id","in":"query"},{"schema":{"type":"string","enum":["live","revoked"]},"required":false,"name":"status","in":"query"},{"schema":{"type":"string","pattern":"^cus_[0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{12}$","description":"Only positions this customer holds now, whoever bought them: the tickets a holder can see, without the purchaser's other positions."},"required":false,"description":"Only positions this customer holds now, whoever bought them: the tickets a holder can see, without the purchaser's other positions.","name":"holder_customer_id","in":"query"},{"schema":{"type":"string","pattern":"^org_[0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{12}$","description":"Required organizer tenant id. There is intentionally no default, even for single-grant keys.","example":"org_0199c4e2-1f7a-7c31-8d44-2b9f6a1e05c7"},"required":true,"description":"Required organizer tenant id. There is intentionally no default, even for single-grant keys.","name":"Ticketing-Organizer","in":"header"}],"responses":{"200":{"description":"A page of positions.","headers":{"Request-Id":{"description":"Identifier for this API request.","schema":{"type":"string","format":"uuid"}}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/PositionList"}}}},"400":{"description":"Invalid request","headers":{"Request-Id":{"description":"Identifier for this API request.","schema":{"type":"string","format":"uuid"}}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorEnvelope"}}}},"401":{"description":"Authentication failed","headers":{"Request-Id":{"description":"Identifier for this API request.","schema":{"type":"string","format":"uuid"}}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorEnvelope"}}}},"403":{"description":"Organizer grant required","headers":{"Request-Id":{"description":"Identifier for this API request.","schema":{"type":"string","format":"uuid"}}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorEnvelope"}}}},"404":{"description":"Resource not found","headers":{"Request-Id":{"description":"Identifier for this API request.","schema":{"type":"string","format":"uuid"}}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorEnvelope"}}}},"409":{"description":"Idempotency conflict","headers":{"Request-Id":{"description":"Identifier for this API request.","schema":{"type":"string","format":"uuid"}}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorEnvelope"}}}},"422":{"description":"Request is semantically invalid","headers":{"Request-Id":{"description":"Identifier for this API request.","schema":{"type":"string","format":"uuid"}}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorEnvelope"}}}},"429":{"description":"Rate limited","headers":{"Request-Id":{"description":"Identifier for this API request.","schema":{"type":"string","format":"uuid"}}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorEnvelope"}}}},"500":{"description":"Internal failure","headers":{"Request-Id":{"description":"Identifier for this API request.","schema":{"type":"string","format":"uuid"}}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorEnvelope"}}}},"503":{"description":"A dependency is unavailable. `live_payments_not_configured` means the platform operator must complete live Stripe credential setup before retrying; no Stripe request is made for that refusal. On checkout creation, no session or capacity hold is created either. Other transient dependency failures may be retried.","headers":{"Request-Id":{"description":"Identifier for this API request.","schema":{"type":"string","format":"uuid"}}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorEnvelope"}}}}}}},"/v1/positions/{id}":{"get":{"tags":["Orders"],"summary":"Retrieve a position","security":[{"bearerAuth":[]}],"parameters":[{"schema":{"type":"string","pattern":"^pos_[0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{12}$"},"required":true,"name":"id","in":"path"},{"schema":{"type":"string","pattern":"^org_[0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{12}$","description":"Required organizer tenant id. There is intentionally no default, even for single-grant keys.","example":"org_0199c4e2-1f7a-7c31-8d44-2b9f6a1e05c7"},"required":true,"description":"Required organizer tenant id. There is intentionally no default, even for single-grant keys.","name":"Ticketing-Organizer","in":"header"}],"responses":{"200":{"description":"The position.","headers":{"Request-Id":{"description":"Identifier for this API request.","schema":{"type":"string","format":"uuid"}}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Position"}}}},"400":{"description":"Invalid request","headers":{"Request-Id":{"description":"Identifier for this API request.","schema":{"type":"string","format":"uuid"}}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorEnvelope"}}}},"401":{"description":"Authentication failed","headers":{"Request-Id":{"description":"Identifier for this API request.","schema":{"type":"string","format":"uuid"}}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorEnvelope"}}}},"403":{"description":"Organizer grant required","headers":{"Request-Id":{"description":"Identifier for this API request.","schema":{"type":"string","format":"uuid"}}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorEnvelope"}}}},"404":{"description":"Resource not found","headers":{"Request-Id":{"description":"Identifier for this API request.","schema":{"type":"string","format":"uuid"}}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorEnvelope"}}}},"409":{"description":"Idempotency conflict","headers":{"Request-Id":{"description":"Identifier for this API request.","schema":{"type":"string","format":"uuid"}}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorEnvelope"}}}},"422":{"description":"Request is semantically invalid","headers":{"Request-Id":{"description":"Identifier for this API request.","schema":{"type":"string","format":"uuid"}}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorEnvelope"}}}},"429":{"description":"Rate limited","headers":{"Request-Id":{"description":"Identifier for this API request.","schema":{"type":"string","format":"uuid"}}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorEnvelope"}}}},"500":{"description":"Internal failure","headers":{"Request-Id":{"description":"Identifier for this API request.","schema":{"type":"string","format":"uuid"}}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorEnvelope"}}}},"503":{"description":"A dependency is unavailable. `live_payments_not_configured` means the platform operator must complete live Stripe credential setup before retrying; no Stripe request is made for that refusal. On checkout creation, no session or capacity hold is created either. Other transient dependency failures may be retried.","headers":{"Request-Id":{"description":"Identifier for this API request.","schema":{"type":"string","format":"uuid"}}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorEnvelope"}}}}}}},"/v1/customers":{"get":{"tags":["Orders"],"summary":"List customers","description":"The organizer's buyer records, newest first. A customer is minted at checkout from the buyer's email, or from your `external_ref` when you name one; the engine never links customers across organizers.","security":[{"bearerAuth":[]}],"parameters":[{"schema":{"type":"integer","minimum":1,"maximum":100,"default":20},"required":false,"name":"limit","in":"query"},{"schema":{"type":"string"},"required":false,"name":"starting_after","in":"query"},{"schema":{"type":"string"},"required":false,"name":"ending_before","in":"query"},{"schema":{"type":"string","format":"email"},"required":false,"name":"email","in":"query"},{"schema":{"type":"string"},"required":false,"name":"external_ref","in":"query"},{"schema":{"type":"string","pattern":"^org_[0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{12}$","description":"Required organizer tenant id. There is intentionally no default, even for single-grant keys.","example":"org_0199c4e2-1f7a-7c31-8d44-2b9f6a1e05c7"},"required":true,"description":"Required organizer tenant id. There is intentionally no default, even for single-grant keys.","name":"Ticketing-Organizer","in":"header"}],"responses":{"200":{"description":"A page of customers.","headers":{"Request-Id":{"description":"Identifier for this API request.","schema":{"type":"string","format":"uuid"}}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/CustomerList"}}}},"400":{"description":"Invalid request","headers":{"Request-Id":{"description":"Identifier for this API request.","schema":{"type":"string","format":"uuid"}}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorEnvelope"}}}},"401":{"description":"Authentication failed","headers":{"Request-Id":{"description":"Identifier for this API request.","schema":{"type":"string","format":"uuid"}}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorEnvelope"}}}},"403":{"description":"Organizer grant required","headers":{"Request-Id":{"description":"Identifier for this API request.","schema":{"type":"string","format":"uuid"}}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorEnvelope"}}}},"404":{"description":"Resource not found","headers":{"Request-Id":{"description":"Identifier for this API request.","schema":{"type":"string","format":"uuid"}}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorEnvelope"}}}},"409":{"description":"Idempotency conflict","headers":{"Request-Id":{"description":"Identifier for this API request.","schema":{"type":"string","format":"uuid"}}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorEnvelope"}}}},"422":{"description":"Request is semantically invalid","headers":{"Request-Id":{"description":"Identifier for this API request.","schema":{"type":"string","format":"uuid"}}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorEnvelope"}}}},"429":{"description":"Rate limited","headers":{"Request-Id":{"description":"Identifier for this API request.","schema":{"type":"string","format":"uuid"}}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorEnvelope"}}}},"500":{"description":"Internal failure","headers":{"Request-Id":{"description":"Identifier for this API request.","schema":{"type":"string","format":"uuid"}}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorEnvelope"}}}},"503":{"description":"A dependency is unavailable. `live_payments_not_configured` means the platform operator must complete live Stripe credential setup before retrying; no Stripe request is made for that refusal. On checkout creation, no session or capacity hold is created either. Other transient dependency failures may be retried.","headers":{"Request-Id":{"description":"Identifier for this API request.","schema":{"type":"string","format":"uuid"}}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorEnvelope"}}}}}}},"/v1/customers/{id}":{"get":{"tags":["Orders"],"summary":"Retrieve a customer","security":[{"bearerAuth":[]}],"parameters":[{"schema":{"type":"string","pattern":"^cus_[0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{12}$"},"required":true,"name":"id","in":"path"},{"schema":{"type":"string","pattern":"^org_[0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{12}$","description":"Required organizer tenant id. There is intentionally no default, even for single-grant keys.","example":"org_0199c4e2-1f7a-7c31-8d44-2b9f6a1e05c7"},"required":true,"description":"Required organizer tenant id. There is intentionally no default, even for single-grant keys.","name":"Ticketing-Organizer","in":"header"}],"responses":{"200":{"description":"The customer.","headers":{"Request-Id":{"description":"Identifier for this API request.","schema":{"type":"string","format":"uuid"}}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Customer"}}}},"400":{"description":"Invalid request","headers":{"Request-Id":{"description":"Identifier for this API request.","schema":{"type":"string","format":"uuid"}}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorEnvelope"}}}},"401":{"description":"Authentication failed","headers":{"Request-Id":{"description":"Identifier for this API request.","schema":{"type":"string","format":"uuid"}}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorEnvelope"}}}},"403":{"description":"Organizer grant required","headers":{"Request-Id":{"description":"Identifier for this API request.","schema":{"type":"string","format":"uuid"}}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorEnvelope"}}}},"404":{"description":"Resource not found","headers":{"Request-Id":{"description":"Identifier for this API request.","schema":{"type":"string","format":"uuid"}}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorEnvelope"}}}},"409":{"description":"Idempotency conflict","headers":{"Request-Id":{"description":"Identifier for this API request.","schema":{"type":"string","format":"uuid"}}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorEnvelope"}}}},"422":{"description":"Request is semantically invalid","headers":{"Request-Id":{"description":"Identifier for this API request.","schema":{"type":"string","format":"uuid"}}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorEnvelope"}}}},"429":{"description":"Rate limited","headers":{"Request-Id":{"description":"Identifier for this API request.","schema":{"type":"string","format":"uuid"}}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorEnvelope"}}}},"500":{"description":"Internal failure","headers":{"Request-Id":{"description":"Identifier for this API request.","schema":{"type":"string","format":"uuid"}}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorEnvelope"}}}},"503":{"description":"A dependency is unavailable. `live_payments_not_configured` means the platform operator must complete live Stripe credential setup before retrying; no Stripe request is made for that refusal. On checkout creation, no session or capacity hold is created either. Other transient dependency failures may be retried.","headers":{"Request-Id":{"description":"Identifier for this API request.","schema":{"type":"string","format":"uuid"}}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorEnvelope"}}}}}},"patch":{"tags":["Orders"],"summary":"Update a customer's contact details","description":"Changes the customer's current name and email in place. The id, `external_ref`, orders, memberships and positions stay as they are, and an order keeps the `buyer_email` and `buyer_name` it was issued with. Stripe Customers the engine already stores for this customer on the organizer's connected account receive the change, reported by `billing_contact_sync`; the engine never creates or searches for one. An email another customer of this organizer holds answers 409 `customer_email_conflict` and merges nothing.","security":[{"bearerAuth":[]}],"parameters":[{"schema":{"type":"string","pattern":"^cus_[0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{12}$"},"required":true,"name":"id","in":"path"},{"schema":{"type":"string","pattern":"^org_[0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{12}$","description":"Required organizer tenant id. There is intentionally no default, even for single-grant keys.","example":"org_0199c4e2-1f7a-7c31-8d44-2b9f6a1e05c7"},"required":true,"description":"Required organizer tenant id. There is intentionally no default, even for single-grant keys.","name":"Ticketing-Organizer","in":"header"},{"schema":{"type":"string","minLength":1,"description":"Optional replay key for this update operation."},"required":false,"description":"Optional replay key for this update operation.","name":"Idempotency-Key","in":"header"}],"requestBody":{"content":{"application/json":{"schema":{"type":"object","properties":{"name":{"type":["string","null"],"minLength":1,"maxLength":200,"description":"The customer's current name. `null` clears it."},"email":{"type":"string","maxLength":254,"format":"email","description":"The customer's current email, stored lower-cased. It cannot be removed, and an email another customer of this organizer holds is refused with `customer_email_conflict`."}},"minProperties":1}}}},"responses":{"200":{"description":"The updated customer.","headers":{"Request-Id":{"description":"Identifier for this API request.","schema":{"type":"string","format":"uuid"}}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Customer"}}}},"400":{"description":"Invalid request","headers":{"Request-Id":{"description":"Identifier for this API request.","schema":{"type":"string","format":"uuid"}}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorEnvelope"}}}},"401":{"description":"Authentication failed","headers":{"Request-Id":{"description":"Identifier for this API request.","schema":{"type":"string","format":"uuid"}}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorEnvelope"}}}},"403":{"description":"Organizer grant required","headers":{"Request-Id":{"description":"Identifier for this API request.","schema":{"type":"string","format":"uuid"}}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorEnvelope"}}}},"404":{"description":"Resource not found","headers":{"Request-Id":{"description":"Identifier for this API request.","schema":{"type":"string","format":"uuid"}}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorEnvelope"}}}},"409":{"description":"A conflict. `customer_email_conflict`: another customer of this organizer already has this email; nothing changed and nothing was merged. `idempotency_key_in_flight` or `idempotency_key_reused`: an idempotency conflict.","headers":{"Request-Id":{"description":"Identifier for this API request.","schema":{"type":"string","format":"uuid"}}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorEnvelope"}}}},"422":{"description":"Request is semantically invalid","headers":{"Request-Id":{"description":"Identifier for this API request.","schema":{"type":"string","format":"uuid"}}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorEnvelope"}}}},"429":{"description":"Rate limited","headers":{"Request-Id":{"description":"Identifier for this API request.","schema":{"type":"string","format":"uuid"}}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorEnvelope"}}}},"500":{"description":"Internal failure","headers":{"Request-Id":{"description":"Identifier for this API request.","schema":{"type":"string","format":"uuid"}}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorEnvelope"}}}},"503":{"description":"A dependency is unavailable. `live_payments_not_configured` means the platform operator must complete live Stripe credential setup before retrying; no Stripe request is made for that refusal. On checkout creation, no session or capacity hold is created either. Other transient dependency failures may be retried.","headers":{"Request-Id":{"description":"Identifier for this API request.","schema":{"type":"string","format":"uuid"}}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorEnvelope"}}}}}}},"/v1/comps":{"post":{"tags":["Orders"],"summary":"Issue complimentary tickets","description":"Issues `quantity` free positions of an existing item to a recipient in one transaction, as an ordinary paid order totalling zero with no payment, ledger entry or fee. Sale windows and gated or membership unlocks do not apply; an inactive item, or one with no event, is refused, and capacity is checked unless `capacity_override` is true. With `allocation_id` the tickets are also charged to that invitation allocation and its pool, and refused with `invitation_allowance_exceeded` if either lacks room; the capacity override never skips that. The order carries `issuance.type: comp`, and the feed receives `order.created` and one `position.created` per unit. Retrying with the same Idempotency-Key returns the same order.","security":[{"bearerAuth":[]}],"parameters":[{"schema":{"type":"string","pattern":"^org_[0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{12}$","description":"Required organizer tenant id. There is intentionally no default, even for single-grant keys.","example":"org_0199c4e2-1f7a-7c31-8d44-2b9f6a1e05c7"},"required":true,"description":"Required organizer tenant id. There is intentionally no default, even for single-grant keys.","name":"Ticketing-Organizer","in":"header"},{"schema":{"type":"string","minLength":1,"description":"Required replay key for this create operation."},"required":true,"description":"Required replay key for this create operation.","name":"Idempotency-Key","in":"header"}],"requestBody":{"content":{"application/json":{"schema":{"type":"object","properties":{"item_id":{"type":"string","pattern":"^itm_[0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{12}$"},"quantity":{"type":"integer","exclusiveMinimum":0,"maximum":100},"recipient":{"type":"object","properties":{"id":{"type":"string","pattern":"^cus_[0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{12}$","description":"An existing customer of this organizer, who must have an email. Supply it alone."},"external_ref":{"type":"string","minLength":1,"maxLength":255,"description":"Your reference for the recipient. With an email it finds or creates the customer; alone it must name a customer that already has an email."},"email":{"type":"string","maxLength":320,"format":"email","description":"Where the tickets are delivered. Finds or creates the customer by email when no external_ref is given."},"name":{"type":["string","null"],"minLength":1,"maxLength":200}}},"capacity_override":{"type":"boolean","default":false,"description":"Issue even when the item's quotas have no room. The positions still count against every linked quota, and no quota size changes. Defaults to false: capacity is checked as for a sale. It never overrides an invitation allowance."},"allocation_id":{"type":"string","pattern":"^iva_[0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{12}$","description":"An invitation allocation of this organizer to charge the issued tickets to, one unit per ticket. It must belong to the item's event. The request is refused with `invitation_allowance_exceeded` unless the allocation, and the pool it joined, both have room for the whole quantity; nothing is consumed by a refusal, and a retry with the same Idempotency-Key never consumes twice. Omit it for an ordinary comp. The engine knows no actor behind an allocation, and the recipient is still the customer named in `recipient`."},"metadata":{"type":"object","additionalProperties":{}}},"required":["item_id","quantity","recipient"]}}}},"responses":{"201":{"description":"The comp order with its positions.","headers":{"Request-Id":{"description":"Identifier for this API request.","schema":{"type":"string","format":"uuid"}}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Order"}}}},"400":{"description":"Invalid request","headers":{"Request-Id":{"description":"Identifier for this API request.","schema":{"type":"string","format":"uuid"}}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorEnvelope"}}}},"401":{"description":"Authentication failed","headers":{"Request-Id":{"description":"Identifier for this API request.","schema":{"type":"string","format":"uuid"}}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorEnvelope"}}}},"403":{"description":"Organizer grant required","headers":{"Request-Id":{"description":"Identifier for this API request.","schema":{"type":"string","format":"uuid"}}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorEnvelope"}}}},"404":{"description":"Resource not found","headers":{"Request-Id":{"description":"Identifier for this API request.","schema":{"type":"string","format":"uuid"}}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorEnvelope"}}}},"409":{"description":"Idempotency conflict","headers":{"Request-Id":{"description":"Identifier for this API request.","schema":{"type":"string","format":"uuid"}}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorEnvelope"}}}},"422":{"description":"Request is semantically invalid","headers":{"Request-Id":{"description":"Identifier for this API request.","schema":{"type":"string","format":"uuid"}}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorEnvelope"}}}},"429":{"description":"Rate limited","headers":{"Request-Id":{"description":"Identifier for this API request.","schema":{"type":"string","format":"uuid"}}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorEnvelope"}}}},"500":{"description":"Internal failure","headers":{"Request-Id":{"description":"Identifier for this API request.","schema":{"type":"string","format":"uuid"}}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorEnvelope"}}}},"503":{"description":"A dependency is unavailable. `live_payments_not_configured` means the platform operator must complete live Stripe credential setup before retrying; no Stripe request is made for that refusal. On checkout creation, no session or capacity hold is created either. Other transient dependency failures may be retried.","headers":{"Request-Id":{"description":"Identifier for this API request.","schema":{"type":"string","format":"uuid"}}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorEnvelope"}}}}}}},"/v1/membership_benefits/{id}/guest_invitations":{"get":{"tags":["Memberships"],"summary":"List the invitations made under a guest benefit","description":"Newest first, id-keyset: one row per accepted guest invitation, naming the inviting member, the allowance bucket, the units, the units you have returned and the comp order. This is the benefit's usage and its audit evidence; rows are never rewritten, and the engine never gives a spent unit back by itself. Its `id` is what `POST /v1/invitation_usages/{id}/returns` gives units back of. `not_found` when the id is not a `guest_invitation` benefit of this organizer.","security":[{"bearerAuth":[]}],"parameters":[{"schema":{"type":"string","pattern":"^mbn_[0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{12}$"},"required":true,"name":"id","in":"path"},{"schema":{"type":"integer","minimum":1,"maximum":100,"default":20},"required":false,"name":"limit","in":"query"},{"schema":{"type":"string"},"required":false,"name":"starting_after","in":"query"},{"schema":{"type":"string"},"required":false,"name":"ending_before","in":"query"},{"schema":{"type":"string","pattern":"^mbs_[0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{12}$","description":"Only the invitations made under this membership."},"required":false,"description":"Only the invitations made under this membership.","name":"membership_id","in":"query"},{"schema":{"type":"string","pattern":"^evt_[0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{12}$","description":"Only the invitations to this event."},"required":false,"description":"Only the invitations to this event.","name":"event_id","in":"query"},{"schema":{"type":"string","pattern":"^org_[0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{12}$","description":"Required organizer tenant id. There is intentionally no default, even for single-grant keys.","example":"org_0199c4e2-1f7a-7c31-8d44-2b9f6a1e05c7"},"required":true,"description":"Required organizer tenant id. There is intentionally no default, even for single-grant keys.","name":"Ticketing-Organizer","in":"header"}],"responses":{"200":{"description":"The invitations made under the benefit.","headers":{"Request-Id":{"description":"Identifier for this API request.","schema":{"type":"string","format":"uuid"}}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/GuestInvitationUsageList"}}}},"400":{"description":"Invalid request","headers":{"Request-Id":{"description":"Identifier for this API request.","schema":{"type":"string","format":"uuid"}}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorEnvelope"}}}},"401":{"description":"Authentication failed","headers":{"Request-Id":{"description":"Identifier for this API request.","schema":{"type":"string","format":"uuid"}}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorEnvelope"}}}},"403":{"description":"Organizer grant required","headers":{"Request-Id":{"description":"Identifier for this API request.","schema":{"type":"string","format":"uuid"}}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorEnvelope"}}}},"404":{"description":"Resource not found","headers":{"Request-Id":{"description":"Identifier for this API request.","schema":{"type":"string","format":"uuid"}}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorEnvelope"}}}},"409":{"description":"Idempotency conflict","headers":{"Request-Id":{"description":"Identifier for this API request.","schema":{"type":"string","format":"uuid"}}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorEnvelope"}}}},"422":{"description":"Request is semantically invalid","headers":{"Request-Id":{"description":"Identifier for this API request.","schema":{"type":"string","format":"uuid"}}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorEnvelope"}}}},"429":{"description":"Rate limited","headers":{"Request-Id":{"description":"Identifier for this API request.","schema":{"type":"string","format":"uuid"}}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorEnvelope"}}}},"500":{"description":"Internal failure","headers":{"Request-Id":{"description":"Identifier for this API request.","schema":{"type":"string","format":"uuid"}}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorEnvelope"}}}},"503":{"description":"A dependency is unavailable. `live_payments_not_configured` means the platform operator must complete live Stripe credential setup before retrying; no Stripe request is made for that refusal. On checkout creation, no session or capacity hold is created either. Other transient dependency failures may be retried.","headers":{"Request-Id":{"description":"Identifier for this API request.","schema":{"type":"string","format":"uuid"}}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorEnvelope"}}}}}}},"/v1/memberships/{id}/guest_allowance":{"get":{"tags":["Memberships"],"summary":"Retrieve a member's guest allowance","description":"The inviting member's configured limit, units used and units remaining for one `guest_invitation` benefit, in the bucket the clock (and the event, for `per_event`) puts them in: what to show the member before they invite. It reads committed usage and takes no lock, so the answer to an invitation is the decision, not this. It does not judge the membership's eligibility or the benefit's assignment to an event; `POST /v1/guest_invitations` does. `not_found` when the membership does not exist or the benefit is not a guest invitation benefit of its plan.","security":[{"bearerAuth":[]}],"parameters":[{"schema":{"type":"string","pattern":"^mbs_[0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{12}$"},"required":true,"name":"id","in":"path"},{"schema":{"type":"string","pattern":"^mbn_[0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{12}$","description":"A `guest_invitation` benefit of the membership's plan."},"required":true,"description":"A `guest_invitation` benefit of the membership's plan.","name":"benefit_id","in":"query"},{"schema":{"type":"string","pattern":"^evt_[0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{12}$","description":"The event the member is inviting to. Required for a `per_event` allowance, whose bucket is the event; optional for `per_period`, whose bucket is shared by every event."},"required":false,"description":"The event the member is inviting to. Required for a `per_event` allowance, whose bucket is the event; optional for `per_period`, whose bucket is shared by every event.","name":"event_id","in":"query"},{"schema":{"type":"string","pattern":"^org_[0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{12}$","description":"Required organizer tenant id. There is intentionally no default, even for single-grant keys.","example":"org_0199c4e2-1f7a-7c31-8d44-2b9f6a1e05c7"},"required":true,"description":"Required organizer tenant id. There is intentionally no default, even for single-grant keys.","name":"Ticketing-Organizer","in":"header"}],"responses":{"200":{"description":"The member's allowance in the current bucket.","headers":{"Request-Id":{"description":"Identifier for this API request.","schema":{"type":"string","format":"uuid"}}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/GuestAllowance"}}}},"400":{"description":"Invalid request","headers":{"Request-Id":{"description":"Identifier for this API request.","schema":{"type":"string","format":"uuid"}}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorEnvelope"}}}},"401":{"description":"Authentication failed","headers":{"Request-Id":{"description":"Identifier for this API request.","schema":{"type":"string","format":"uuid"}}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorEnvelope"}}}},"403":{"description":"Organizer grant required","headers":{"Request-Id":{"description":"Identifier for this API request.","schema":{"type":"string","format":"uuid"}}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorEnvelope"}}}},"404":{"description":"Resource not found","headers":{"Request-Id":{"description":"Identifier for this API request.","schema":{"type":"string","format":"uuid"}}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorEnvelope"}}}},"409":{"description":"Idempotency conflict","headers":{"Request-Id":{"description":"Identifier for this API request.","schema":{"type":"string","format":"uuid"}}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorEnvelope"}}}},"422":{"description":"Request is semantically invalid","headers":{"Request-Id":{"description":"Identifier for this API request.","schema":{"type":"string","format":"uuid"}}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorEnvelope"}}}},"429":{"description":"Rate limited","headers":{"Request-Id":{"description":"Identifier for this API request.","schema":{"type":"string","format":"uuid"}}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorEnvelope"}}}},"500":{"description":"Internal failure","headers":{"Request-Id":{"description":"Identifier for this API request.","schema":{"type":"string","format":"uuid"}}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorEnvelope"}}}},"503":{"description":"A dependency is unavailable. `live_payments_not_configured` means the platform operator must complete live Stripe credential setup before retrying; no Stripe request is made for that refusal. On checkout creation, no session or capacity hold is created either. Other transient dependency failures may be retried.","headers":{"Request-Id":{"description":"Identifier for this API request.","schema":{"type":"string","format":"uuid"}}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorEnvelope"}}}}}}},"/v1/guest_invitations":{"post":{"tags":["Memberships"],"summary":"Invite a guest with a member's allowance","description":"Issues `quantity` free tickets of an item to a recipient, as an ordinary comp order, and spends that many units of the inviting member's guest allowance in one transaction. The allowance, the member's eligibility, the benefit's scope and event capacity are all checked before anything is written, and a refusal consumes nothing: `membership_not_eligible`, `guest_benefit_not_applicable`, `invitation_allowance_exceeded` (`detail.shortfalls` names the limit, usage and remaining units) or `insufficient_capacity`. There is no capacity override. The recipient needs no account: an email finds or creates their customer, who holds the tickets, and the feed receives `order.created` and one `position.created` per ticket for you to deliver. Idempotency-Key is required; retrying with it returns the same invitation and spends nothing twice. The engine never restores an allowance by itself: tickets that are later transferred or canceled keep counting until you give their units back with `POST /v1/invitation_usages/{id}/returns` (`issuance.guest_invitation.usage_id`).","security":[{"bearerAuth":[]}],"parameters":[{"schema":{"type":"string","pattern":"^org_[0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{12}$","description":"Required organizer tenant id. There is intentionally no default, even for single-grant keys.","example":"org_0199c4e2-1f7a-7c31-8d44-2b9f6a1e05c7"},"required":true,"description":"Required organizer tenant id. There is intentionally no default, even for single-grant keys.","name":"Ticketing-Organizer","in":"header"},{"schema":{"type":"string","minLength":1,"description":"Required replay key for this create operation."},"required":true,"description":"Required replay key for this create operation.","name":"Idempotency-Key","in":"header"}],"requestBody":{"content":{"application/json":{"schema":{"type":"object","properties":{"membership_id":{"type":"string","pattern":"^mbs_[0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{12}$","description":"The inviting member's membership, as your own authentication has established. It must be of this organizer and give member benefits now (active, or past due inside its benefit grace)."},"benefit_id":{"type":"string","pattern":"^mbn_[0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{12}$","description":"The `guest_invitation` benefit of the membership's plan whose allowance this spends. It must be assigned to the item's event (and, for an items-scoped assignment, to the item)."},"item_id":{"type":"string","pattern":"^itm_[0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{12}$","description":"The ticket type the guest receives."},"quantity":{"type":"integer","exclusiveMinimum":0,"maximum":100,"default":1,"description":"Guest tickets to issue. The allowance counts these units, not requests."},"recipient":{"type":"object","properties":{"id":{"type":"string","pattern":"^cus_[0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{12}$","description":"An existing customer of this organizer, who must have an email. Supply it alone."},"external_ref":{"type":"string","minLength":1,"maxLength":255,"description":"Your reference for the recipient. With an email it finds or creates the customer; alone it must name a customer that already has an email."},"email":{"type":"string","maxLength":320,"format":"email","description":"Where the tickets are delivered. Finds or creates the customer by email when no external_ref is given."},"name":{"type":["string","null"],"minLength":1,"maxLength":200}}},"metadata":{"type":"object","additionalProperties":{}}},"required":["membership_id","benefit_id","item_id","recipient"]}}}},"responses":{"201":{"description":"The guest invitation: the issued order, who invited and the member's remaining allowance.","headers":{"Request-Id":{"description":"Identifier for this API request.","schema":{"type":"string","format":"uuid"}}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/GuestInvitation"}}}},"400":{"description":"Invalid request","headers":{"Request-Id":{"description":"Identifier for this API request.","schema":{"type":"string","format":"uuid"}}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorEnvelope"}}}},"401":{"description":"Authentication failed","headers":{"Request-Id":{"description":"Identifier for this API request.","schema":{"type":"string","format":"uuid"}}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorEnvelope"}}}},"403":{"description":"Organizer grant required","headers":{"Request-Id":{"description":"Identifier for this API request.","schema":{"type":"string","format":"uuid"}}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorEnvelope"}}}},"404":{"description":"Resource not found","headers":{"Request-Id":{"description":"Identifier for this API request.","schema":{"type":"string","format":"uuid"}}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorEnvelope"}}}},"409":{"description":"Idempotency conflict","headers":{"Request-Id":{"description":"Identifier for this API request.","schema":{"type":"string","format":"uuid"}}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorEnvelope"}}}},"422":{"description":"Request is semantically invalid","headers":{"Request-Id":{"description":"Identifier for this API request.","schema":{"type":"string","format":"uuid"}}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorEnvelope"}}}},"429":{"description":"Rate limited","headers":{"Request-Id":{"description":"Identifier for this API request.","schema":{"type":"string","format":"uuid"}}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorEnvelope"}}}},"500":{"description":"Internal failure","headers":{"Request-Id":{"description":"Identifier for this API request.","schema":{"type":"string","format":"uuid"}}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorEnvelope"}}}},"503":{"description":"A dependency is unavailable. `live_payments_not_configured` means the platform operator must complete live Stripe credential setup before retrying; no Stripe request is made for that refusal. On checkout creation, no session or capacity hold is created either. Other transient dependency failures may be retried.","headers":{"Request-Id":{"description":"Identifier for this API request.","schema":{"type":"string","format":"uuid"}}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorEnvelope"}}}}}}},"/v1/invitation_usages/{id}/returns":{"post":{"tags":["Invitations"],"summary":"Give back units of an invitation usage","description":"Gives back some or all of the ticket units one invitation usage took, so the budgets it was charged to can issue them again: an invitation allocation and its pool, or the inviting member's guest allowance in the usage's bucket. The engine never does this by itself: cancelling the tickets (a refund-and-revoke), transferring them or cancelling the event leaves the units counting, and whether they come back is your decision. A return does not change the order or its tickets, and works whether or not they were cancelled. The usage id is `issuance.invitation.usage_id` or `issuance.guest_invitation.usage_id` on the order, or the `id` of a guest invitation usage. A return is checked under the same locks as an issuance against those budgets, so concurrent returns can never give back more than the usage took. A usage with nothing left to return answers `409 invitation_usage_fully_returned`; `units` above what is left answers `409 invitation_return_exceeds_remaining` with `detail.remaining_units`. An unknown usage, or another organizer's, answers `404 not_found`. The feed receives `invitation_return.created`. Idempotency-Key is required; retrying with it returns the same return and gives nothing back twice.","security":[{"bearerAuth":[]}],"parameters":[{"schema":{"type":"string","pattern":"^ivu_[0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{12}$"},"required":true,"name":"id","in":"path"},{"schema":{"type":"string","pattern":"^org_[0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{12}$","description":"Required organizer tenant id. There is intentionally no default, even for single-grant keys.","example":"org_0199c4e2-1f7a-7c31-8d44-2b9f6a1e05c7"},"required":true,"description":"Required organizer tenant id. There is intentionally no default, even for single-grant keys.","name":"Ticketing-Organizer","in":"header"},{"schema":{"type":"string","minLength":1,"description":"Required replay key for this create operation."},"required":true,"description":"Required replay key for this create operation.","name":"Idempotency-Key","in":"header"}],"requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/InvitationReturnCreate"}}}},"responses":{"201":{"description":"The return.","headers":{"Request-Id":{"description":"Identifier for this API request.","schema":{"type":"string","format":"uuid"}}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/InvitationReturn"}}}},"400":{"description":"Invalid request","headers":{"Request-Id":{"description":"Identifier for this API request.","schema":{"type":"string","format":"uuid"}}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorEnvelope"}}}},"401":{"description":"Authentication failed","headers":{"Request-Id":{"description":"Identifier for this API request.","schema":{"type":"string","format":"uuid"}}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorEnvelope"}}}},"403":{"description":"Organizer grant required","headers":{"Request-Id":{"description":"Identifier for this API request.","schema":{"type":"string","format":"uuid"}}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorEnvelope"}}}},"404":{"description":"Resource not found","headers":{"Request-Id":{"description":"Identifier for this API request.","schema":{"type":"string","format":"uuid"}}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorEnvelope"}}}},"409":{"description":"Idempotency conflict","headers":{"Request-Id":{"description":"Identifier for this API request.","schema":{"type":"string","format":"uuid"}}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorEnvelope"}}}},"422":{"description":"Request is semantically invalid","headers":{"Request-Id":{"description":"Identifier for this API request.","schema":{"type":"string","format":"uuid"}}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorEnvelope"}}}},"429":{"description":"Rate limited","headers":{"Request-Id":{"description":"Identifier for this API request.","schema":{"type":"string","format":"uuid"}}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorEnvelope"}}}},"500":{"description":"Internal failure","headers":{"Request-Id":{"description":"Identifier for this API request.","schema":{"type":"string","format":"uuid"}}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorEnvelope"}}}},"503":{"description":"A dependency is unavailable. `live_payments_not_configured` means the platform operator must complete live Stripe credential setup before retrying; no Stripe request is made for that refusal. On checkout creation, no session or capacity hold is created either. Other transient dependency failures may be retried.","headers":{"Request-Id":{"description":"Identifier for this API request.","schema":{"type":"string","format":"uuid"}}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorEnvelope"}}}}}}},"/v1/positions/{id}/transfer":{"post":{"tags":["Orders"],"summary":"Transfer a position","description":"Moves the position to another customer immediately, on behalf of its current holder. The position keeps its id, admission code and QR, price and payment, and its quota use; the purchaser's order still lists it, now with the new `holder_customer_id`. Only the current holder can transfer, so the purchaser cannot take a transferred position back, and a copy of the QR proves nothing. An admitted or revoked position is refused. Requires the organizer's API key: `acting_customer` is your attestation of who is acting, which a signed-in owner or Lissen staff member cannot give; they change a holder with a holder correction instead. The feed receives `position.holder_changed` (and `customer.created` when an email mints the recipient). Retrying with the same Idempotency-Key returns the same result and never transfers twice.","security":[{"bearerAuth":[]}],"parameters":[{"schema":{"type":"string","pattern":"^pos_[0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{12}$"},"required":true,"name":"id","in":"path"},{"schema":{"type":"string","pattern":"^org_[0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{12}$","description":"Required organizer tenant id. There is intentionally no default, even for single-grant keys.","example":"org_0199c4e2-1f7a-7c31-8d44-2b9f6a1e05c7"},"required":true,"description":"Required organizer tenant id. There is intentionally no default, even for single-grant keys.","name":"Ticketing-Organizer","in":"header"},{"schema":{"type":"string","minLength":1,"description":"Required replay key for this create operation."},"required":true,"description":"Required replay key for this create operation.","name":"Idempotency-Key","in":"header"}],"requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/PositionTransferCreate"}}}},"responses":{"200":{"description":"The position, with its new holder.","headers":{"Request-Id":{"description":"Identifier for this API request.","schema":{"type":"string","format":"uuid"}}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Position"}}}},"400":{"description":"Invalid request. `invalid_reference` when the acting customer or the destination names no customer of this organizer; `missing_idempotency_key` without an Idempotency-Key.","headers":{"Request-Id":{"description":"Identifier for this API request.","schema":{"type":"string","format":"uuid"}}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorEnvelope"}}}},"401":{"description":"Authentication failed","headers":{"Request-Id":{"description":"Identifier for this API request.","schema":{"type":"string","format":"uuid"}}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorEnvelope"}}}},"403":{"description":"`not_position_holder`: the acting customer does not hold the position now. Buying it, or having held it before, does not count. `staff_identity_not_permitted`: the request was signed in as an owner or Lissen staff member rather than made with the organizer's API key.","headers":{"Request-Id":{"description":"Identifier for this API request.","schema":{"type":"string","format":"uuid"}}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorEnvelope"}}}},"404":{"description":"`not_found`: no such position for this organizer.","headers":{"Request-Id":{"description":"Identifier for this API request.","schema":{"type":"string","format":"uuid"}}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorEnvelope"}}}},"409":{"description":"`already_checked_in`: the position has been admitted, so it can no longer be transferred (an organizer holder correction still can). `idempotency_key_in_flight` or `idempotency_key_reused` for an idempotency conflict.","headers":{"Request-Id":{"description":"Identifier for this API request.","schema":{"type":"string","format":"uuid"}}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorEnvelope"}}}},"422":{"description":"`position_revoked`: the position was revoked (payment failure, refund or dispute) and cannot change holder. `holder_unchanged`: the destination already holds it.","headers":{"Request-Id":{"description":"Identifier for this API request.","schema":{"type":"string","format":"uuid"}}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorEnvelope"}}}},"429":{"description":"Rate limited","headers":{"Request-Id":{"description":"Identifier for this API request.","schema":{"type":"string","format":"uuid"}}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorEnvelope"}}}},"500":{"description":"Internal failure","headers":{"Request-Id":{"description":"Identifier for this API request.","schema":{"type":"string","format":"uuid"}}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorEnvelope"}}}},"503":{"description":"A dependency is unavailable. `live_payments_not_configured` means the platform operator must complete live Stripe credential setup before retrying; no Stripe request is made for that refusal. On checkout creation, no session or capacity hold is created either. Other transient dependency failures may be retried.","headers":{"Request-Id":{"description":"Identifier for this API request.","schema":{"type":"string","format":"uuid"}}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorEnvelope"}}}}}}},"/v1/positions/{id}/holder_correction":{"post":{"tags":["Orders"],"summary":"Correct a position's holder","description":"The organizer's override for a mistaken holder: moves the position to the destination without the current holder's authority, and records the reason and who made the change. Allowed after admission; check-in records are left exactly as they were. A revoked position is refused. The feed receives `position.holder_changed` with `holder_change.kind: correction`. Retrying with the same Idempotency-Key returns the same result.","security":[{"bearerAuth":[]}],"parameters":[{"schema":{"type":"string","pattern":"^pos_[0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{12}$"},"required":true,"name":"id","in":"path"},{"schema":{"type":"string","pattern":"^org_[0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{12}$","description":"Required organizer tenant id. There is intentionally no default, even for single-grant keys.","example":"org_0199c4e2-1f7a-7c31-8d44-2b9f6a1e05c7"},"required":true,"description":"Required organizer tenant id. There is intentionally no default, even for single-grant keys.","name":"Ticketing-Organizer","in":"header"},{"schema":{"type":"string","minLength":1,"description":"Required replay key for this create operation."},"required":true,"description":"Required replay key for this create operation.","name":"Idempotency-Key","in":"header"}],"requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/PositionHolderCorrectionCreate"}}}},"responses":{"200":{"description":"The position, with its corrected holder.","headers":{"Request-Id":{"description":"Identifier for this API request.","schema":{"type":"string","format":"uuid"}}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Position"}}}},"400":{"description":"Invalid request. `invalid_reference` when the destination names no customer of this organizer; `missing_idempotency_key` without an Idempotency-Key.","headers":{"Request-Id":{"description":"Identifier for this API request.","schema":{"type":"string","format":"uuid"}}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorEnvelope"}}}},"401":{"description":"Authentication failed","headers":{"Request-Id":{"description":"Identifier for this API request.","schema":{"type":"string","format":"uuid"}}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorEnvelope"}}}},"403":{"description":"Organizer grant required","headers":{"Request-Id":{"description":"Identifier for this API request.","schema":{"type":"string","format":"uuid"}}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorEnvelope"}}}},"404":{"description":"`not_found`: no such position for this organizer.","headers":{"Request-Id":{"description":"Identifier for this API request.","schema":{"type":"string","format":"uuid"}}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorEnvelope"}}}},"409":{"description":"`idempotency_key_in_flight` or `idempotency_key_reused` for an idempotency conflict.","headers":{"Request-Id":{"description":"Identifier for this API request.","schema":{"type":"string","format":"uuid"}}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorEnvelope"}}}},"422":{"description":"`position_revoked`: the position was revoked (payment failure, refund or dispute) and cannot change holder. `holder_unchanged`: the destination already holds it.","headers":{"Request-Id":{"description":"Identifier for this API request.","schema":{"type":"string","format":"uuid"}}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorEnvelope"}}}},"429":{"description":"Rate limited","headers":{"Request-Id":{"description":"Identifier for this API request.","schema":{"type":"string","format":"uuid"}}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorEnvelope"}}}},"500":{"description":"Internal failure","headers":{"Request-Id":{"description":"Identifier for this API request.","schema":{"type":"string","format":"uuid"}}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorEnvelope"}}}},"503":{"description":"A dependency is unavailable. `live_payments_not_configured` means the platform operator must complete live Stripe credential setup before retrying; no Stripe request is made for that refusal. On checkout creation, no session or capacity hold is created either. Other transient dependency failures may be retried.","headers":{"Request-Id":{"description":"Identifier for this API request.","schema":{"type":"string","format":"uuid"}}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorEnvelope"}}}}}}},"/v1/position_claims":{"post":{"tags":["Orders"],"summary":"Claim positions sent to a verified address","description":"A ticket transferred to an email is held by the organizer's anonymous customer for that address, because a sender's typing proves nothing. Once you have signed the recipient in and verified that address, claim it for them. If no customer carries your `external_ref` yet, the anonymous customer takes it and keeps everything it holds. If one does, every non-revoked position the anonymous customer holds moves to that customer; each move is a holder change with `kind: claim`, and the feed receives one `position.holder_changed` per position. Orders the anonymous customer placed stay with it: this is not a customer merge. Requires the organizer's API key: the claim is your attestation of who the customer is. `not_found` when no anonymous customer has the address or it holds nothing to claim, which is also what a replayed claim with a new key answers.","security":[{"bearerAuth":[]}],"parameters":[{"schema":{"type":"string","pattern":"^org_[0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{12}$","description":"Required organizer tenant id. There is intentionally no default, even for single-grant keys.","example":"org_0199c4e2-1f7a-7c31-8d44-2b9f6a1e05c7"},"required":true,"description":"Required organizer tenant id. There is intentionally no default, even for single-grant keys.","name":"Ticketing-Organizer","in":"header"},{"schema":{"type":"string","minLength":1,"description":"Required replay key for this create operation."},"required":true,"description":"Required replay key for this create operation.","name":"Idempotency-Key","in":"header"}],"requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/PositionClaimCreate"}}}},"responses":{"200":{"description":"The claimed positions and the customer that holds them.","headers":{"Request-Id":{"description":"Identifier for this API request.","schema":{"type":"string","format":"uuid"}}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/PositionClaim"}}}},"400":{"description":"Invalid request","headers":{"Request-Id":{"description":"Identifier for this API request.","schema":{"type":"string","format":"uuid"}}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorEnvelope"}}}},"401":{"description":"Authentication failed","headers":{"Request-Id":{"description":"Identifier for this API request.","schema":{"type":"string","format":"uuid"}}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorEnvelope"}}}},"403":{"description":"`staff_identity_not_permitted`: a signed-in owner or Lissen staff member cannot attest a customer's identity; use the organizer's API key.","headers":{"Request-Id":{"description":"Identifier for this API request.","schema":{"type":"string","format":"uuid"}}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorEnvelope"}}}},"404":{"description":"`not_found`: no anonymous customer of this organizer has the address, or it holds no position to claim.","headers":{"Request-Id":{"description":"Identifier for this API request.","schema":{"type":"string","format":"uuid"}}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorEnvelope"}}}},"409":{"description":"Idempotency conflict","headers":{"Request-Id":{"description":"Identifier for this API request.","schema":{"type":"string","format":"uuid"}}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorEnvelope"}}}},"422":{"description":"Request is semantically invalid","headers":{"Request-Id":{"description":"Identifier for this API request.","schema":{"type":"string","format":"uuid"}}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorEnvelope"}}}},"429":{"description":"Rate limited","headers":{"Request-Id":{"description":"Identifier for this API request.","schema":{"type":"string","format":"uuid"}}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorEnvelope"}}}},"500":{"description":"Internal failure","headers":{"Request-Id":{"description":"Identifier for this API request.","schema":{"type":"string","format":"uuid"}}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorEnvelope"}}}},"503":{"description":"A dependency is unavailable. `live_payments_not_configured` means the platform operator must complete live Stripe credential setup before retrying; no Stripe request is made for that refusal. On checkout creation, no session or capacity hold is created either. Other transient dependency failures may be retried.","headers":{"Request-Id":{"description":"Identifier for this API request.","schema":{"type":"string","format":"uuid"}}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorEnvelope"}}}}}}},"/v1/positions/{id}/holder_changes":{"get":{"tags":["Orders"],"summary":"List a position's holder changes","description":"Every transfer, correction and claim of the position, newest first. Append-only: a change is never edited or removed. A position that never changed holder has an empty list; its first holder is the order's customer.","security":[{"bearerAuth":[]}],"parameters":[{"schema":{"type":"string","pattern":"^pos_[0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{12}$"},"required":true,"name":"id","in":"path"},{"schema":{"type":"integer","minimum":1,"maximum":100,"default":20},"required":false,"name":"limit","in":"query"},{"schema":{"type":"string"},"required":false,"name":"starting_after","in":"query"},{"schema":{"type":"string"},"required":false,"name":"ending_before","in":"query"},{"schema":{"type":"string","pattern":"^org_[0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{12}$","description":"Required organizer tenant id. There is intentionally no default, even for single-grant keys.","example":"org_0199c4e2-1f7a-7c31-8d44-2b9f6a1e05c7"},"required":true,"description":"Required organizer tenant id. There is intentionally no default, even for single-grant keys.","name":"Ticketing-Organizer","in":"header"}],"responses":{"200":{"description":"A page of holder changes.","headers":{"Request-Id":{"description":"Identifier for this API request.","schema":{"type":"string","format":"uuid"}}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/PositionHolderChangeList"}}}},"400":{"description":"Invalid request","headers":{"Request-Id":{"description":"Identifier for this API request.","schema":{"type":"string","format":"uuid"}}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorEnvelope"}}}},"401":{"description":"Authentication failed","headers":{"Request-Id":{"description":"Identifier for this API request.","schema":{"type":"string","format":"uuid"}}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorEnvelope"}}}},"403":{"description":"Organizer grant required","headers":{"Request-Id":{"description":"Identifier for this API request.","schema":{"type":"string","format":"uuid"}}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorEnvelope"}}}},"404":{"description":"Resource not found","headers":{"Request-Id":{"description":"Identifier for this API request.","schema":{"type":"string","format":"uuid"}}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorEnvelope"}}}},"409":{"description":"Idempotency conflict","headers":{"Request-Id":{"description":"Identifier for this API request.","schema":{"type":"string","format":"uuid"}}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorEnvelope"}}}},"422":{"description":"Request is semantically invalid","headers":{"Request-Id":{"description":"Identifier for this API request.","schema":{"type":"string","format":"uuid"}}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorEnvelope"}}}},"429":{"description":"Rate limited","headers":{"Request-Id":{"description":"Identifier for this API request.","schema":{"type":"string","format":"uuid"}}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorEnvelope"}}}},"500":{"description":"Internal failure","headers":{"Request-Id":{"description":"Identifier for this API request.","schema":{"type":"string","format":"uuid"}}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorEnvelope"}}}},"503":{"description":"A dependency is unavailable. `live_payments_not_configured` means the platform operator must complete live Stripe credential setup before retrying; no Stripe request is made for that refusal. On checkout creation, no session or capacity hold is created either. Other transient dependency failures may be retried.","headers":{"Request-Id":{"description":"Identifier for this API request.","schema":{"type":"string","format":"uuid"}}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorEnvelope"}}}}}}},"/v1/attendances":{"get":{"tags":["Check-in"],"summary":"List attendance","description":"Visits derived from check-ins: one per customer and event, supported by the event's admitted, non-voided check-ins that credit the customer. Supply `customer_id` for the events a customer attended, `event_id` for the customers credited with attending an event, or both to ask whether one customer attended one event (at most one visit). A voided, superseded or rejected scan supports nothing, and a visit disappears when its last supporting admission is voided or its credit is corrected away. Buying a ticket is not attendance. Page with `starting_after` set to the last visit's `event_id` (listing a customer's events) or `customer_id` (listing an event's attendees). The feed reports each change as `attendance.recorded` and `attendance.removed`.","security":[{"bearerAuth":[]}],"parameters":[{"schema":{"type":"integer","minimum":1,"maximum":100,"default":20},"required":false,"name":"limit","in":"query"},{"schema":{"type":"string"},"required":false,"name":"starting_after","in":"query"},{"schema":{"type":"string"},"required":false,"name":"ending_before","in":"query"},{"schema":{"type":"string","pattern":"^cus_[0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{12}$","description":"List the events this customer attended."},"required":false,"description":"List the events this customer attended.","name":"customer_id","in":"query"},{"schema":{"type":"string","pattern":"^evt_[0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{12}$","description":"List the customers credited with attending this event."},"required":false,"description":"List the customers credited with attending this event.","name":"event_id","in":"query"},{"schema":{"type":"string","pattern":"^org_[0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{12}$","description":"Required organizer tenant id. There is intentionally no default, even for single-grant keys.","example":"org_0199c4e2-1f7a-7c31-8d44-2b9f6a1e05c7"},"required":true,"description":"Required organizer tenant id. There is intentionally no default, even for single-grant keys.","name":"Ticketing-Organizer","in":"header"}],"responses":{"200":{"description":"A page of visits.","headers":{"Request-Id":{"description":"Identifier for this API request.","schema":{"type":"string","format":"uuid"}}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/AttendanceList"}}}},"400":{"description":"Invalid request","headers":{"Request-Id":{"description":"Identifier for this API request.","schema":{"type":"string","format":"uuid"}}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorEnvelope"}}}},"401":{"description":"Authentication failed","headers":{"Request-Id":{"description":"Identifier for this API request.","schema":{"type":"string","format":"uuid"}}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorEnvelope"}}}},"403":{"description":"Organizer grant required","headers":{"Request-Id":{"description":"Identifier for this API request.","schema":{"type":"string","format":"uuid"}}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorEnvelope"}}}},"404":{"description":"Resource not found","headers":{"Request-Id":{"description":"Identifier for this API request.","schema":{"type":"string","format":"uuid"}}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorEnvelope"}}}},"409":{"description":"Idempotency conflict","headers":{"Request-Id":{"description":"Identifier for this API request.","schema":{"type":"string","format":"uuid"}}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorEnvelope"}}}},"422":{"description":"Request is semantically invalid","headers":{"Request-Id":{"description":"Identifier for this API request.","schema":{"type":"string","format":"uuid"}}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorEnvelope"}}}},"429":{"description":"Rate limited","headers":{"Request-Id":{"description":"Identifier for this API request.","schema":{"type":"string","format":"uuid"}}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorEnvelope"}}}},"500":{"description":"Internal failure","headers":{"Request-Id":{"description":"Identifier for this API request.","schema":{"type":"string","format":"uuid"}}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorEnvelope"}}}},"503":{"description":"A dependency is unavailable. `live_payments_not_configured` means the platform operator must complete live Stripe credential setup before retrying; no Stripe request is made for that refusal. On checkout creation, no session or capacity hold is created either. Other transient dependency failures may be retried.","headers":{"Request-Id":{"description":"Identifier for this API request.","schema":{"type":"string","format":"uuid"}}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorEnvelope"}}}}}}},"/v1/checkins/{id}/credit_correction":{"post":{"tags":["Check-in"],"summary":"Correct who an admission credits","description":"The organizer's audited override for attendance: moves an admitted check-in's credit to another customer, with a reason. The check-in itself (scan time, door pass, outcome) is unchanged; the previous and new customer, the actor and the reason are recorded. The feed receives `checkin.credit_changed`, then `attendance.removed` for the customer who loses their only supporting admission and `attendance.recorded` for the customer who gains the visit. A later correction of the position's holder does not move the credit, so this is the only way to change recorded attendance. A voided, superseded or rejected check-in is refused. Retrying with the same Idempotency-Key returns the same result.","security":[{"bearerAuth":[]}],"parameters":[{"schema":{"type":"string","pattern":"^chk_[0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{12}$"},"required":true,"name":"id","in":"path"},{"schema":{"type":"string","pattern":"^org_[0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{12}$","description":"Required organizer tenant id. There is intentionally no default, even for single-grant keys.","example":"org_0199c4e2-1f7a-7c31-8d44-2b9f6a1e05c7"},"required":true,"description":"Required organizer tenant id. There is intentionally no default, even for single-grant keys.","name":"Ticketing-Organizer","in":"header"},{"schema":{"type":"string","minLength":1,"description":"Required replay key for this create operation."},"required":true,"description":"Required replay key for this create operation.","name":"Idempotency-Key","in":"header"}],"requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/CheckinCreditCorrectionCreate"}}}},"responses":{"200":{"description":"The check-in, with its corrected credit.","headers":{"Request-Id":{"description":"Identifier for this API request.","schema":{"type":"string","format":"uuid"}}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Checkin"}}}},"400":{"description":"Invalid request. `invalid_reference` when the customer names no customer of this organizer; `missing_idempotency_key` without an Idempotency-Key.","headers":{"Request-Id":{"description":"Identifier for this API request.","schema":{"type":"string","format":"uuid"}}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorEnvelope"}}}},"401":{"description":"Authentication failed","headers":{"Request-Id":{"description":"Identifier for this API request.","schema":{"type":"string","format":"uuid"}}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorEnvelope"}}}},"403":{"description":"Organizer grant required","headers":{"Request-Id":{"description":"Identifier for this API request.","schema":{"type":"string","format":"uuid"}}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorEnvelope"}}}},"404":{"description":"`checkin_not_found`: no such check-in for this organizer.","headers":{"Request-Id":{"description":"Identifier for this API request.","schema":{"type":"string","format":"uuid"}}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorEnvelope"}}}},"409":{"description":"`checkin_not_admitted`: only an admitted check-in credits a customer. `idempotency_key_in_flight` or `idempotency_key_reused` for an idempotency conflict.","headers":{"Request-Id":{"description":"Identifier for this API request.","schema":{"type":"string","format":"uuid"}}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorEnvelope"}}}},"422":{"description":"`credit_unchanged`: the customer is already credited with this admission.","headers":{"Request-Id":{"description":"Identifier for this API request.","schema":{"type":"string","format":"uuid"}}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorEnvelope"}}}},"429":{"description":"Rate limited","headers":{"Request-Id":{"description":"Identifier for this API request.","schema":{"type":"string","format":"uuid"}}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorEnvelope"}}}},"500":{"description":"Internal failure","headers":{"Request-Id":{"description":"Identifier for this API request.","schema":{"type":"string","format":"uuid"}}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorEnvelope"}}}},"503":{"description":"A dependency is unavailable. `live_payments_not_configured` means the platform operator must complete live Stripe credential setup before retrying; no Stripe request is made for that refusal. On checkout creation, no session or capacity hold is created either. Other transient dependency failures may be retried.","headers":{"Request-Id":{"description":"Identifier for this API request.","schema":{"type":"string","format":"uuid"}}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorEnvelope"}}}}}}},"/v1/waitlist_entries":{"post":{"tags":["Waitlist"],"summary":"Join an item's waitlist","description":"Adds an entry to an item-scoped waitlist: an email, with a name when the buyer gave one, and the signed-in customer's external ref when the partner has one. An ordinary item's waitlist opens only when it has no derived availability; an approval-gated item's is open whenever the item is on sale. The request is keyed because it creates a durable entry and sends a notification activity.","security":[{"bearerAuth":[]}],"parameters":[{"schema":{"type":"string","pattern":"^org_[0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{12}$","description":"Required organizer tenant id. There is intentionally no default, even for single-grant keys.","example":"org_0199c4e2-1f7a-7c31-8d44-2b9f6a1e05c7"},"required":true,"description":"Required organizer tenant id. There is intentionally no default, even for single-grant keys.","name":"Ticketing-Organizer","in":"header"},{"schema":{"type":"string","minLength":1,"description":"Required replay key for this create operation."},"required":true,"description":"Required replay key for this create operation.","name":"Idempotency-Key","in":"header"}],"requestBody":{"content":{"application/json":{"schema":{"type":"object","properties":{"item_id":{"type":"string","pattern":"^itm_[0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{12}$"},"name":{"type":["string","null"],"minLength":1,"description":"The buyer's name, when one was given. An entry needs only an email."},"email":{"type":"string","format":"email"},"phone":{"type":["string","null"],"pattern":"^(?=(?:\\D*\\d){5})\\+?[\\d ()-]{7,25}$"},"quantity":{"type":"integer","exclusiveMinimum":0,"maximum":100,"description":"Units asked for (default 1). A promotion reserves and invites exactly this many."},"customer":{"type":"object","properties":{"external_ref":{"type":"string","minLength":1,"maxLength":255}},"required":["external_ref"],"description":"Who is joining, as the partner's own auth attests them: the external ref it stores for the customer, as on a checkout session. Automatic promotion puts the entry ahead of arrival order while that customer holds a membership with a `waitlist_priority` benefit assigned to the item, judged at each promotion. Omit it for a buyer the partner has not signed in; the entry is then served in arrival order."},"metadata":{"type":"object","additionalProperties":{}}},"required":["item_id","email"]}}}},"responses":{"201":{"description":"The created waitlist entry.","headers":{"Request-Id":{"description":"Identifier for this API request.","schema":{"type":"string","format":"uuid"}}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/WaitlistEntry"}}}},"400":{"description":"Invalid request","headers":{"Request-Id":{"description":"Identifier for this API request.","schema":{"type":"string","format":"uuid"}}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorEnvelope"}}}},"401":{"description":"Authentication failed","headers":{"Request-Id":{"description":"Identifier for this API request.","schema":{"type":"string","format":"uuid"}}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorEnvelope"}}}},"403":{"description":"Organizer grant required","headers":{"Request-Id":{"description":"Identifier for this API request.","schema":{"type":"string","format":"uuid"}}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorEnvelope"}}}},"404":{"description":"Resource not found","headers":{"Request-Id":{"description":"Identifier for this API request.","schema":{"type":"string","format":"uuid"}}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorEnvelope"}}}},"409":{"description":"A conflict. RETRYABLE — the same request may succeed shortly: `idempotency_key_in_flight` (an identical request is still running, or the key is being taken over), `checkout_session_conflict` (the session was modified concurrently) and `capacity_locked` (a quota lock timed out under contention). TERMINAL — retrying is futile and the caller must change something: `idempotency_key_reused` (this key was already used with a different body; use a new key), `checkout_session_locked` (payment has started, so the quote is contractual and the cart can no longer change) and `checkout_session_not_open` (the session has expired or completed; create a new one).","headers":{"Request-Id":{"description":"Identifier for this API request.","schema":{"type":"string","format":"uuid"}}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorEnvelope"}}}},"422":{"description":"The request is well-formed but cannot be satisfied. `code` is one of: `insufficient_capacity` (the cart does not fit; an existing hold is left untouched), `item_not_sellable`, `code_not_reservable`, `fee_schedule_not_found`, `fee_schedule_ambiguous`, `fee_exceeds_charge` (an absorbed platform fee would meet or exceed the amount charged), `payment_intent_unavailable`, `connect_account_not_onboardable` (the organizer has no connected payment account), or an event checkout limit: `order_quantity_below_minimum` or `order_quantity_above_maximum` (the event's tickets in this checkout, counted across its items, are outside its per-order limits) or `customer_ticket_limit_exceeded` (the session's customer would pass the event's per-customer cap); `detail` names the event and the limit. On creation, `checkout_offer_not_applicable` means the `offer` does not fit the cart: no line is covered, it is priced in another currency, or discount pricing is switched off for the organizer; nothing was created.","headers":{"Request-Id":{"description":"Identifier for this API request.","schema":{"type":"string","format":"uuid"}}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorEnvelope"}}}},"429":{"description":"Rate limited","headers":{"Request-Id":{"description":"Identifier for this API request.","schema":{"type":"string","format":"uuid"}}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorEnvelope"}}}},"500":{"description":"Internal failure","headers":{"Request-Id":{"description":"Identifier for this API request.","schema":{"type":"string","format":"uuid"}}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorEnvelope"}}}},"503":{"description":"A dependency is unavailable. `live_payments_not_configured` means the platform operator must complete live Stripe credential setup before retrying; no Stripe request is made for that refusal. On checkout creation, no session or capacity hold is created either. Other transient dependency failures may be retried.","headers":{"Request-Id":{"description":"Identifier for this API request.","schema":{"type":"string","format":"uuid"}}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorEnvelope"}}}}}},"get":{"tags":["Waitlist"],"summary":"List waitlist entries","security":[{"bearerAuth":[]}],"parameters":[{"schema":{"type":"integer","minimum":1,"maximum":100,"default":20},"required":false,"name":"limit","in":"query"},{"schema":{"type":"string"},"required":false,"name":"starting_after","in":"query"},{"schema":{"type":"string"},"required":false,"name":"ending_before","in":"query"},{"schema":{"type":"string","pattern":"^itm_[0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{12}$"},"required":false,"name":"item_id","in":"query"},{"schema":{"type":"string","pattern":"^evt_[0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{12}$"},"required":false,"name":"event_id","in":"query"},{"schema":{"type":"string","enum":["waiting","invited","converted","lapsed","rejected"]},"required":false,"name":"status","in":"query"},{"schema":{"type":"string","pattern":"^org_[0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{12}$","description":"Required organizer tenant id. There is intentionally no default, even for single-grant keys.","example":"org_0199c4e2-1f7a-7c31-8d44-2b9f6a1e05c7"},"required":true,"description":"Required organizer tenant id. There is intentionally no default, even for single-grant keys.","name":"Ticketing-Organizer","in":"header"}],"responses":{"200":{"description":"A keyset page of waitlist entries.","headers":{"Request-Id":{"description":"Identifier for this API request.","schema":{"type":"string","format":"uuid"}}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/WaitlistEntryList"}}}},"400":{"description":"Invalid request","headers":{"Request-Id":{"description":"Identifier for this API request.","schema":{"type":"string","format":"uuid"}}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorEnvelope"}}}},"401":{"description":"Authentication failed","headers":{"Request-Id":{"description":"Identifier for this API request.","schema":{"type":"string","format":"uuid"}}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorEnvelope"}}}},"403":{"description":"Organizer grant required","headers":{"Request-Id":{"description":"Identifier for this API request.","schema":{"type":"string","format":"uuid"}}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorEnvelope"}}}},"404":{"description":"Resource not found","headers":{"Request-Id":{"description":"Identifier for this API request.","schema":{"type":"string","format":"uuid"}}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorEnvelope"}}}},"409":{"description":"A conflict. RETRYABLE — the same request may succeed shortly: `idempotency_key_in_flight` (an identical request is still running, or the key is being taken over), `checkout_session_conflict` (the session was modified concurrently) and `capacity_locked` (a quota lock timed out under contention). TERMINAL — retrying is futile and the caller must change something: `idempotency_key_reused` (this key was already used with a different body; use a new key), `checkout_session_locked` (payment has started, so the quote is contractual and the cart can no longer change) and `checkout_session_not_open` (the session has expired or completed; create a new one).","headers":{"Request-Id":{"description":"Identifier for this API request.","schema":{"type":"string","format":"uuid"}}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorEnvelope"}}}},"422":{"description":"The request is well-formed but cannot be satisfied. `code` is one of: `insufficient_capacity` (the cart does not fit; an existing hold is left untouched), `item_not_sellable`, `code_not_reservable`, `fee_schedule_not_found`, `fee_schedule_ambiguous`, `fee_exceeds_charge` (an absorbed platform fee would meet or exceed the amount charged), `payment_intent_unavailable`, `connect_account_not_onboardable` (the organizer has no connected payment account), or an event checkout limit: `order_quantity_below_minimum` or `order_quantity_above_maximum` (the event's tickets in this checkout, counted across its items, are outside its per-order limits) or `customer_ticket_limit_exceeded` (the session's customer would pass the event's per-customer cap); `detail` names the event and the limit. On creation, `checkout_offer_not_applicable` means the `offer` does not fit the cart: no line is covered, it is priced in another currency, or discount pricing is switched off for the organizer; nothing was created.","headers":{"Request-Id":{"description":"Identifier for this API request.","schema":{"type":"string","format":"uuid"}}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorEnvelope"}}}},"429":{"description":"Rate limited","headers":{"Request-Id":{"description":"Identifier for this API request.","schema":{"type":"string","format":"uuid"}}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorEnvelope"}}}},"500":{"description":"Internal failure","headers":{"Request-Id":{"description":"Identifier for this API request.","schema":{"type":"string","format":"uuid"}}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorEnvelope"}}}},"503":{"description":"A dependency is unavailable. `live_payments_not_configured` means the platform operator must complete live Stripe credential setup before retrying; no Stripe request is made for that refusal. On checkout creation, no session or capacity hold is created either. Other transient dependency failures may be retried.","headers":{"Request-Id":{"description":"Identifier for this API request.","schema":{"type":"string","format":"uuid"}}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorEnvelope"}}}}}}},"/v1/waitlist_entries/{id}":{"get":{"tags":["Waitlist"],"summary":"Retrieve a waitlist entry","security":[{"bearerAuth":[]}],"parameters":[{"schema":{"type":"string","pattern":"^wl_[0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{12}$"},"required":true,"name":"id","in":"path"},{"schema":{"type":"string","pattern":"^org_[0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{12}$","description":"Required organizer tenant id. There is intentionally no default, even for single-grant keys.","example":"org_0199c4e2-1f7a-7c31-8d44-2b9f6a1e05c7"},"required":true,"description":"Required organizer tenant id. There is intentionally no default, even for single-grant keys.","name":"Ticketing-Organizer","in":"header"}],"responses":{"200":{"description":"The waitlist entry.","headers":{"Request-Id":{"description":"Identifier for this API request.","schema":{"type":"string","format":"uuid"}}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/WaitlistEntry"}}}},"400":{"description":"Invalid request","headers":{"Request-Id":{"description":"Identifier for this API request.","schema":{"type":"string","format":"uuid"}}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorEnvelope"}}}},"401":{"description":"Authentication failed","headers":{"Request-Id":{"description":"Identifier for this API request.","schema":{"type":"string","format":"uuid"}}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorEnvelope"}}}},"403":{"description":"Organizer grant required","headers":{"Request-Id":{"description":"Identifier for this API request.","schema":{"type":"string","format":"uuid"}}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorEnvelope"}}}},"404":{"description":"Resource not found","headers":{"Request-Id":{"description":"Identifier for this API request.","schema":{"type":"string","format":"uuid"}}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorEnvelope"}}}},"409":{"description":"A conflict. RETRYABLE — the same request may succeed shortly: `idempotency_key_in_flight` (an identical request is still running, or the key is being taken over), `checkout_session_conflict` (the session was modified concurrently) and `capacity_locked` (a quota lock timed out under contention). TERMINAL — retrying is futile and the caller must change something: `idempotency_key_reused` (this key was already used with a different body; use a new key), `checkout_session_locked` (payment has started, so the quote is contractual and the cart can no longer change) and `checkout_session_not_open` (the session has expired or completed; create a new one).","headers":{"Request-Id":{"description":"Identifier for this API request.","schema":{"type":"string","format":"uuid"}}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorEnvelope"}}}},"422":{"description":"The request is well-formed but cannot be satisfied. `code` is one of: `insufficient_capacity` (the cart does not fit; an existing hold is left untouched), `item_not_sellable`, `code_not_reservable`, `fee_schedule_not_found`, `fee_schedule_ambiguous`, `fee_exceeds_charge` (an absorbed platform fee would meet or exceed the amount charged), `payment_intent_unavailable`, `connect_account_not_onboardable` (the organizer has no connected payment account), or an event checkout limit: `order_quantity_below_minimum` or `order_quantity_above_maximum` (the event's tickets in this checkout, counted across its items, are outside its per-order limits) or `customer_ticket_limit_exceeded` (the session's customer would pass the event's per-customer cap); `detail` names the event and the limit. On creation, `checkout_offer_not_applicable` means the `offer` does not fit the cart: no line is covered, it is priced in another currency, or discount pricing is switched off for the organizer; nothing was created.","headers":{"Request-Id":{"description":"Identifier for this API request.","schema":{"type":"string","format":"uuid"}}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorEnvelope"}}}},"429":{"description":"Rate limited","headers":{"Request-Id":{"description":"Identifier for this API request.","schema":{"type":"string","format":"uuid"}}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorEnvelope"}}}},"500":{"description":"Internal failure","headers":{"Request-Id":{"description":"Identifier for this API request.","schema":{"type":"string","format":"uuid"}}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorEnvelope"}}}},"503":{"description":"A dependency is unavailable. `live_payments_not_configured` means the platform operator must complete live Stripe credential setup before retrying; no Stripe request is made for that refusal. On checkout creation, no session or capacity hold is created either. Other transient dependency failures may be retried.","headers":{"Request-Id":{"description":"Identifier for this API request.","schema":{"type":"string","format":"uuid"}}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorEnvelope"}}}}}}},"/v1/waitlist_entries/{id}/remove":{"post":{"tags":["Waitlist"],"summary":"Remove a waiting entry","security":[{"bearerAuth":[]}],"parameters":[{"schema":{"type":"string","pattern":"^wl_[0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{12}$"},"required":true,"name":"id","in":"path"},{"schema":{"type":"string","pattern":"^org_[0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{12}$","description":"Required organizer tenant id. There is intentionally no default, even for single-grant keys.","example":"org_0199c4e2-1f7a-7c31-8d44-2b9f6a1e05c7"},"required":true,"description":"Required organizer tenant id. There is intentionally no default, even for single-grant keys.","name":"Ticketing-Organizer","in":"header"},{"schema":{"type":"string","minLength":1,"description":"Optional replay key for this update operation."},"required":false,"description":"Optional replay key for this update operation.","name":"Idempotency-Key","in":"header"}],"responses":{"200":{"description":"The waitlist entry.","headers":{"Request-Id":{"description":"Identifier for this API request.","schema":{"type":"string","format":"uuid"}}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/WaitlistEntry"}}}},"400":{"description":"Invalid request","headers":{"Request-Id":{"description":"Identifier for this API request.","schema":{"type":"string","format":"uuid"}}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorEnvelope"}}}},"401":{"description":"Authentication failed","headers":{"Request-Id":{"description":"Identifier for this API request.","schema":{"type":"string","format":"uuid"}}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorEnvelope"}}}},"403":{"description":"Organizer grant required","headers":{"Request-Id":{"description":"Identifier for this API request.","schema":{"type":"string","format":"uuid"}}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorEnvelope"}}}},"404":{"description":"Resource not found","headers":{"Request-Id":{"description":"Identifier for this API request.","schema":{"type":"string","format":"uuid"}}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorEnvelope"}}}},"409":{"description":"A conflict. RETRYABLE — the same request may succeed shortly: `idempotency_key_in_flight` (an identical request is still running, or the key is being taken over), `checkout_session_conflict` (the session was modified concurrently) and `capacity_locked` (a quota lock timed out under contention). TERMINAL — retrying is futile and the caller must change something: `idempotency_key_reused` (this key was already used with a different body; use a new key), `checkout_session_locked` (payment has started, so the quote is contractual and the cart can no longer change) and `checkout_session_not_open` (the session has expired or completed; create a new one).","headers":{"Request-Id":{"description":"Identifier for this API request.","schema":{"type":"string","format":"uuid"}}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorEnvelope"}}}},"422":{"description":"The request is well-formed but cannot be satisfied. `code` is one of: `insufficient_capacity` (the cart does not fit; an existing hold is left untouched), `item_not_sellable`, `code_not_reservable`, `fee_schedule_not_found`, `fee_schedule_ambiguous`, `fee_exceeds_charge` (an absorbed platform fee would meet or exceed the amount charged), `payment_intent_unavailable`, `connect_account_not_onboardable` (the organizer has no connected payment account), or an event checkout limit: `order_quantity_below_minimum` or `order_quantity_above_maximum` (the event's tickets in this checkout, counted across its items, are outside its per-order limits) or `customer_ticket_limit_exceeded` (the session's customer would pass the event's per-customer cap); `detail` names the event and the limit. On creation, `checkout_offer_not_applicable` means the `offer` does not fit the cart: no line is covered, it is priced in another currency, or discount pricing is switched off for the organizer; nothing was created.","headers":{"Request-Id":{"description":"Identifier for this API request.","schema":{"type":"string","format":"uuid"}}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorEnvelope"}}}},"429":{"description":"Rate limited","headers":{"Request-Id":{"description":"Identifier for this API request.","schema":{"type":"string","format":"uuid"}}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorEnvelope"}}}},"500":{"description":"Internal failure","headers":{"Request-Id":{"description":"Identifier for this API request.","schema":{"type":"string","format":"uuid"}}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorEnvelope"}}}},"503":{"description":"A dependency is unavailable. `live_payments_not_configured` means the platform operator must complete live Stripe credential setup before retrying; no Stripe request is made for that refusal. On checkout creation, no session or capacity hold is created either. Other transient dependency failures may be retried.","headers":{"Request-Id":{"description":"Identifier for this API request.","schema":{"type":"string","format":"uuid"}}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorEnvelope"}}}}}}},"/v1/waitlist_entries/{id}/reject":{"post":{"tags":["Waitlist"],"summary":"Reject a waiting entry","description":"Records the organiser's refusal of a waiting entry. The entry becomes rejected, takes no capacity, and is never promoted by a later refund.","security":[{"bearerAuth":[]}],"parameters":[{"schema":{"type":"string","pattern":"^wl_[0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{12}$"},"required":true,"name":"id","in":"path"},{"schema":{"type":"string","pattern":"^org_[0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{12}$","description":"Required organizer tenant id. There is intentionally no default, even for single-grant keys.","example":"org_0199c4e2-1f7a-7c31-8d44-2b9f6a1e05c7"},"required":true,"description":"Required organizer tenant id. There is intentionally no default, even for single-grant keys.","name":"Ticketing-Organizer","in":"header"},{"schema":{"type":"string","minLength":1,"description":"Optional replay key for this update operation."},"required":false,"description":"Optional replay key for this update operation.","name":"Idempotency-Key","in":"header"}],"responses":{"200":{"description":"The waitlist entry.","headers":{"Request-Id":{"description":"Identifier for this API request.","schema":{"type":"string","format":"uuid"}}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/WaitlistEntry"}}}},"400":{"description":"Invalid request","headers":{"Request-Id":{"description":"Identifier for this API request.","schema":{"type":"string","format":"uuid"}}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorEnvelope"}}}},"401":{"description":"Authentication failed","headers":{"Request-Id":{"description":"Identifier for this API request.","schema":{"type":"string","format":"uuid"}}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorEnvelope"}}}},"403":{"description":"Organizer grant required","headers":{"Request-Id":{"description":"Identifier for this API request.","schema":{"type":"string","format":"uuid"}}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorEnvelope"}}}},"404":{"description":"Resource not found","headers":{"Request-Id":{"description":"Identifier for this API request.","schema":{"type":"string","format":"uuid"}}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorEnvelope"}}}},"409":{"description":"A conflict. RETRYABLE — the same request may succeed shortly: `idempotency_key_in_flight` (an identical request is still running, or the key is being taken over), `checkout_session_conflict` (the session was modified concurrently) and `capacity_locked` (a quota lock timed out under contention). TERMINAL — retrying is futile and the caller must change something: `idempotency_key_reused` (this key was already used with a different body; use a new key), `checkout_session_locked` (payment has started, so the quote is contractual and the cart can no longer change) and `checkout_session_not_open` (the session has expired or completed; create a new one).","headers":{"Request-Id":{"description":"Identifier for this API request.","schema":{"type":"string","format":"uuid"}}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorEnvelope"}}}},"422":{"description":"The request is well-formed but cannot be satisfied. `code` is one of: `insufficient_capacity` (the cart does not fit; an existing hold is left untouched), `item_not_sellable`, `code_not_reservable`, `fee_schedule_not_found`, `fee_schedule_ambiguous`, `fee_exceeds_charge` (an absorbed platform fee would meet or exceed the amount charged), `payment_intent_unavailable`, `connect_account_not_onboardable` (the organizer has no connected payment account), or an event checkout limit: `order_quantity_below_minimum` or `order_quantity_above_maximum` (the event's tickets in this checkout, counted across its items, are outside its per-order limits) or `customer_ticket_limit_exceeded` (the session's customer would pass the event's per-customer cap); `detail` names the event and the limit. On creation, `checkout_offer_not_applicable` means the `offer` does not fit the cart: no line is covered, it is priced in another currency, or discount pricing is switched off for the organizer; nothing was created.","headers":{"Request-Id":{"description":"Identifier for this API request.","schema":{"type":"string","format":"uuid"}}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorEnvelope"}}}},"429":{"description":"Rate limited","headers":{"Request-Id":{"description":"Identifier for this API request.","schema":{"type":"string","format":"uuid"}}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorEnvelope"}}}},"500":{"description":"Internal failure","headers":{"Request-Id":{"description":"Identifier for this API request.","schema":{"type":"string","format":"uuid"}}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorEnvelope"}}}},"503":{"description":"A dependency is unavailable. `live_payments_not_configured` means the platform operator must complete live Stripe credential setup before retrying; no Stripe request is made for that refusal. On checkout creation, no session or capacity hold is created either. Other transient dependency failures may be retried.","headers":{"Request-Id":{"description":"Identifier for this API request.","schema":{"type":"string","format":"uuid"}}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorEnvelope"}}}}}}},"/v1/waitlist_entries/{id}/promote":{"post":{"tags":["Waitlist"],"summary":"Promote a waitlist entry","description":"Reserves the entry's quantity of the item's quota footprint and creates an invitation checkout session for the configured invitation window. When the item is approval-gated and the invitation's quote totals zero, the order is issued in the same request and the entry is returned as converted, with no checkout link. An invitee who already holds the event's `max_tickets_per_customer` is refused with 422 `customer_ticket_limit_exceeded` (`param: \"id\"`); the entry stays waiting and no unit is reserved.","security":[{"bearerAuth":[]}],"parameters":[{"schema":{"type":"string","pattern":"^wl_[0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{12}$"},"required":true,"name":"id","in":"path"},{"schema":{"type":"string","pattern":"^org_[0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{12}$","description":"Required organizer tenant id. There is intentionally no default, even for single-grant keys.","example":"org_0199c4e2-1f7a-7c31-8d44-2b9f6a1e05c7"},"required":true,"description":"Required organizer tenant id. There is intentionally no default, even for single-grant keys.","name":"Ticketing-Organizer","in":"header"},{"schema":{"type":"string","minLength":1,"description":"Required replay key for this create operation."},"required":true,"description":"Required replay key for this create operation.","name":"Idempotency-Key","in":"header"}],"responses":{"200":{"description":"The waitlist entry.","headers":{"Request-Id":{"description":"Identifier for this API request.","schema":{"type":"string","format":"uuid"}}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/WaitlistEntry"}}}},"400":{"description":"Invalid request","headers":{"Request-Id":{"description":"Identifier for this API request.","schema":{"type":"string","format":"uuid"}}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorEnvelope"}}}},"401":{"description":"Authentication failed","headers":{"Request-Id":{"description":"Identifier for this API request.","schema":{"type":"string","format":"uuid"}}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorEnvelope"}}}},"403":{"description":"Organizer grant required","headers":{"Request-Id":{"description":"Identifier for this API request.","schema":{"type":"string","format":"uuid"}}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorEnvelope"}}}},"404":{"description":"Resource not found","headers":{"Request-Id":{"description":"Identifier for this API request.","schema":{"type":"string","format":"uuid"}}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorEnvelope"}}}},"409":{"description":"A conflict. RETRYABLE — the same request may succeed shortly: `idempotency_key_in_flight` (an identical request is still running, or the key is being taken over), `checkout_session_conflict` (the session was modified concurrently) and `capacity_locked` (a quota lock timed out under contention). TERMINAL — retrying is futile and the caller must change something: `idempotency_key_reused` (this key was already used with a different body; use a new key), `checkout_session_locked` (payment has started, so the quote is contractual and the cart can no longer change) and `checkout_session_not_open` (the session has expired or completed; create a new one).","headers":{"Request-Id":{"description":"Identifier for this API request.","schema":{"type":"string","format":"uuid"}}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorEnvelope"}}}},"422":{"description":"The request is well-formed but cannot be satisfied. `code` is one of: `insufficient_capacity` (the cart does not fit; an existing hold is left untouched), `item_not_sellable`, `code_not_reservable`, `fee_schedule_not_found`, `fee_schedule_ambiguous`, `fee_exceeds_charge` (an absorbed platform fee would meet or exceed the amount charged), `payment_intent_unavailable`, `connect_account_not_onboardable` (the organizer has no connected payment account), or an event checkout limit: `order_quantity_below_minimum` or `order_quantity_above_maximum` (the event's tickets in this checkout, counted across its items, are outside its per-order limits) or `customer_ticket_limit_exceeded` (the session's customer would pass the event's per-customer cap); `detail` names the event and the limit. On creation, `checkout_offer_not_applicable` means the `offer` does not fit the cart: no line is covered, it is priced in another currency, or discount pricing is switched off for the organizer; nothing was created.","headers":{"Request-Id":{"description":"Identifier for this API request.","schema":{"type":"string","format":"uuid"}}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorEnvelope"}}}},"429":{"description":"Rate limited","headers":{"Request-Id":{"description":"Identifier for this API request.","schema":{"type":"string","format":"uuid"}}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorEnvelope"}}}},"500":{"description":"Internal failure","headers":{"Request-Id":{"description":"Identifier for this API request.","schema":{"type":"string","format":"uuid"}}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorEnvelope"}}}},"503":{"description":"A dependency is unavailable. `live_payments_not_configured` means the platform operator must complete live Stripe credential setup before retrying; no Stripe request is made for that refusal. On checkout creation, no session or capacity hold is created either. Other transient dependency failures may be retried.","headers":{"Request-Id":{"description":"Identifier for this API request.","schema":{"type":"string","format":"uuid"}}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorEnvelope"}}}}}}},"/v1/refunds":{"post":{"tags":["Refunds"],"summary":"Refund selected positions or a membership payment","description":"With `membership_charge_id`, returns part of a settled membership payment and nothing else: the membership, its benefits and renewal, and any ticket are left as they are, and the refund is never treated as paying an overdue renewal. Otherwise `refund_and_revoke` (the default) returns each named position's remaining refundable amount, including its booking fee, and revokes the positions immediately. `money_only` returns `amount_minor` against the named live positions and leaves them live. The refund is processing until Stripe confirms it; a request above the remaining refundable balance is refused with `refund_amount_exceeds_refundable`. A `refund_and_revoke` naming a position whose money-only refund is still processing is refused with `position_not_refundable` until that refund settles. An order that took no payment (a comp, a guest invitation or a zero-total checkout) has no money to return: a `refund_and_revoke` cancels its named tickets as a `completed` refund of 0 with no Stripe call, and a `money_only` refund of it is refused with `order_not_refundable`. Cancelling gives back no invitation allocation, pool or guest allowance units the order spent; give them back yourself with `POST /v1/invitation_usages/{id}/returns`.","security":[{"bearerAuth":[]}],"parameters":[{"schema":{"type":"string","pattern":"^org_[0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{12}$","description":"Required organizer tenant id. There is intentionally no default, even for single-grant keys.","example":"org_0199c4e2-1f7a-7c31-8d44-2b9f6a1e05c7"},"required":true,"description":"Required organizer tenant id. There is intentionally no default, even for single-grant keys.","name":"Ticketing-Organizer","in":"header"},{"schema":{"type":"string","minLength":1,"description":"Required replay key for this create operation."},"required":true,"description":"Required replay key for this create operation.","name":"Idempotency-Key","in":"header"}],"requestBody":{"content":{"application/json":{"schema":{"type":"object","properties":{"order_id":{"type":"string","pattern":"^ord_[0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{12}$","description":"The order whose positions are refunded. Give exactly one of `order_id` or `membership_charge_id`."},"position_ids":{"type":"array","items":{"type":"string","pattern":"^pos_[0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{12}$"},"minItems":1,"description":"Required with `order_id`; refused with `membership_charge_id`."},"membership_charge_id":{"type":"string","pattern":"^mch_[0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{12}$","description":"Refund (part of) a settled membership payment. Needs `amount_minor`; `type` may only be `money_only`. The membership is left exactly as it is: not cancelled, paused or switched, its benefits and renewal schedule unchanged, no ticket revoked. A refund is never treated as paying an overdue renewal."},"type":{"type":"string","enum":["refund_and_revoke","money_only"],"description":"`refund_and_revoke` returns each position's remaining refundable amount and revokes it: the ticket no longer admits. `money_only` returns `amount_minor` against the positions and leaves them live: same ticket, same holder, same capacity. Defaults to `refund_and_revoke` for an order and to `money_only` for a membership charge."},"amount_minor":{"type":"integer","exclusiveMinimum":0,"description":"Required for `money_only` and for a membership charge, refused for `refund_and_revoke`: the money to return, in the order's or charge's currency minor units. It may not exceed the order's `amount_refundable_minor` and what the named positions still hold, or the charge's `amount_refundable_minor`."},"reason":{"type":"string","enum":["requested_by_customer","duplicate","fraudulent"],"default":"requested_by_customer"},"metadata":{"type":"object","additionalProperties":{}}}}}}},"responses":{"201":{"description":"The processing refund.","headers":{"Request-Id":{"description":"Identifier for this API request.","schema":{"type":"string","format":"uuid"}}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Refund"}}}},"400":{"description":"Invalid request","headers":{"Request-Id":{"description":"Identifier for this API request.","schema":{"type":"string","format":"uuid"}}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorEnvelope"}}}},"401":{"description":"Authentication failed","headers":{"Request-Id":{"description":"Identifier for this API request.","schema":{"type":"string","format":"uuid"}}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorEnvelope"}}}},"403":{"description":"Organizer grant required","headers":{"Request-Id":{"description":"Identifier for this API request.","schema":{"type":"string","format":"uuid"}}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorEnvelope"}}}},"404":{"description":"Resource not found","headers":{"Request-Id":{"description":"Identifier for this API request.","schema":{"type":"string","format":"uuid"}}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorEnvelope"}}}},"409":{"description":"Idempotency conflict","headers":{"Request-Id":{"description":"Identifier for this API request.","schema":{"type":"string","format":"uuid"}}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorEnvelope"}}}},"422":{"description":"Request is semantically invalid","headers":{"Request-Id":{"description":"Identifier for this API request.","schema":{"type":"string","format":"uuid"}}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorEnvelope"}}}},"429":{"description":"Rate limited","headers":{"Request-Id":{"description":"Identifier for this API request.","schema":{"type":"string","format":"uuid"}}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorEnvelope"}}}},"500":{"description":"Internal failure","headers":{"Request-Id":{"description":"Identifier for this API request.","schema":{"type":"string","format":"uuid"}}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorEnvelope"}}}},"503":{"description":"A dependency is unavailable. `live_payments_not_configured` means the platform operator must complete live Stripe credential setup before retrying; no Stripe request is made for that refusal. On checkout creation, no session or capacity hold is created either. Other transient dependency failures may be retried.","headers":{"Request-Id":{"description":"Identifier for this API request.","schema":{"type":"string","format":"uuid"}}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorEnvelope"}}}}}},"get":{"tags":["Refunds"],"summary":"List refunds","security":[{"bearerAuth":[]}],"parameters":[{"schema":{"type":"integer","minimum":1,"maximum":100,"default":20},"required":false,"name":"limit","in":"query"},{"schema":{"type":"string"},"required":false,"name":"starting_after","in":"query"},{"schema":{"type":"string"},"required":false,"name":"ending_before","in":"query"},{"schema":{"type":"string","pattern":"^ord_[0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{12}$"},"required":false,"name":"order_id","in":"query"},{"schema":{"type":"string","pattern":"^mbs_[0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{12}$"},"required":false,"name":"membership_id","in":"query"},{"schema":{"type":"string","pattern":"^mch_[0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{12}$"},"required":false,"name":"membership_charge_id","in":"query"},{"schema":{"type":"string","enum":["processing","completed","failed"]},"required":false,"name":"status","in":"query"},{"schema":{"type":"string","enum":["true","false"]},"required":false,"name":"external","in":"query"},{"schema":{"type":"string","pattern":"^org_[0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{12}$","description":"Required organizer tenant id. There is intentionally no default, even for single-grant keys.","example":"org_0199c4e2-1f7a-7c31-8d44-2b9f6a1e05c7"},"required":true,"description":"Required organizer tenant id. There is intentionally no default, even for single-grant keys.","name":"Ticketing-Organizer","in":"header"}],"responses":{"200":{"description":"Refunds newest first.","headers":{"Request-Id":{"description":"Identifier for this API request.","schema":{"type":"string","format":"uuid"}}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/RefundList"}}}},"400":{"description":"Invalid request","headers":{"Request-Id":{"description":"Identifier for this API request.","schema":{"type":"string","format":"uuid"}}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorEnvelope"}}}},"401":{"description":"Authentication failed","headers":{"Request-Id":{"description":"Identifier for this API request.","schema":{"type":"string","format":"uuid"}}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorEnvelope"}}}},"403":{"description":"Organizer grant required","headers":{"Request-Id":{"description":"Identifier for this API request.","schema":{"type":"string","format":"uuid"}}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorEnvelope"}}}},"404":{"description":"Resource not found","headers":{"Request-Id":{"description":"Identifier for this API request.","schema":{"type":"string","format":"uuid"}}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorEnvelope"}}}},"409":{"description":"Idempotency conflict","headers":{"Request-Id":{"description":"Identifier for this API request.","schema":{"type":"string","format":"uuid"}}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorEnvelope"}}}},"422":{"description":"Request is semantically invalid","headers":{"Request-Id":{"description":"Identifier for this API request.","schema":{"type":"string","format":"uuid"}}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorEnvelope"}}}},"429":{"description":"Rate limited","headers":{"Request-Id":{"description":"Identifier for this API request.","schema":{"type":"string","format":"uuid"}}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorEnvelope"}}}},"500":{"description":"Internal failure","headers":{"Request-Id":{"description":"Identifier for this API request.","schema":{"type":"string","format":"uuid"}}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorEnvelope"}}}},"503":{"description":"A dependency is unavailable. `live_payments_not_configured` means the platform operator must complete live Stripe credential setup before retrying; no Stripe request is made for that refusal. On checkout creation, no session or capacity hold is created either. Other transient dependency failures may be retried.","headers":{"Request-Id":{"description":"Identifier for this API request.","schema":{"type":"string","format":"uuid"}}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorEnvelope"}}}}}}},"/v1/memberships/{id}/charges":{"get":{"tags":["Memberships"],"summary":"List a membership's payments","description":"The settled payments the engine recorded for a membership, newest first, each with what has been refunded and what can still be. Refund a payment with `POST /v1/refunds` and its `membership_charge_id`; the refunds of a payment are listed with `GET /v1/refunds?membership_charge_id=`.","security":[{"bearerAuth":[]}],"parameters":[{"schema":{"type":"string","pattern":"^mbs_[0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{12}$"},"required":true,"name":"id","in":"path"},{"schema":{"type":"integer","minimum":1,"maximum":100,"default":20},"required":false,"name":"limit","in":"query"},{"schema":{"type":"string"},"required":false,"name":"starting_after","in":"query"},{"schema":{"type":"string"},"required":false,"name":"ending_before","in":"query"},{"schema":{"type":"string","pattern":"^org_[0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{12}$","description":"Required organizer tenant id. There is intentionally no default, even for single-grant keys.","example":"org_0199c4e2-1f7a-7c31-8d44-2b9f6a1e05c7"},"required":true,"description":"Required organizer tenant id. There is intentionally no default, even for single-grant keys.","name":"Ticketing-Organizer","in":"header"}],"responses":{"200":{"description":"The membership's payments.","headers":{"Request-Id":{"description":"Identifier for this API request.","schema":{"type":"string","format":"uuid"}}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/MembershipChargeList"}}}},"400":{"description":"Invalid request","headers":{"Request-Id":{"description":"Identifier for this API request.","schema":{"type":"string","format":"uuid"}}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorEnvelope"}}}},"401":{"description":"Authentication failed","headers":{"Request-Id":{"description":"Identifier for this API request.","schema":{"type":"string","format":"uuid"}}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorEnvelope"}}}},"403":{"description":"Organizer grant required","headers":{"Request-Id":{"description":"Identifier for this API request.","schema":{"type":"string","format":"uuid"}}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorEnvelope"}}}},"404":{"description":"Resource not found","headers":{"Request-Id":{"description":"Identifier for this API request.","schema":{"type":"string","format":"uuid"}}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorEnvelope"}}}},"409":{"description":"Idempotency conflict","headers":{"Request-Id":{"description":"Identifier for this API request.","schema":{"type":"string","format":"uuid"}}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorEnvelope"}}}},"422":{"description":"Request is semantically invalid","headers":{"Request-Id":{"description":"Identifier for this API request.","schema":{"type":"string","format":"uuid"}}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorEnvelope"}}}},"429":{"description":"Rate limited","headers":{"Request-Id":{"description":"Identifier for this API request.","schema":{"type":"string","format":"uuid"}}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorEnvelope"}}}},"500":{"description":"Internal failure","headers":{"Request-Id":{"description":"Identifier for this API request.","schema":{"type":"string","format":"uuid"}}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorEnvelope"}}}},"503":{"description":"A dependency is unavailable. `live_payments_not_configured` means the platform operator must complete live Stripe credential setup before retrying; no Stripe request is made for that refusal. On checkout creation, no session or capacity hold is created either. Other transient dependency failures may be retried.","headers":{"Request-Id":{"description":"Identifier for this API request.","schema":{"type":"string","format":"uuid"}}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorEnvelope"}}}}}}},"/v1/refunds/{id}":{"get":{"tags":["Refunds"],"summary":"Retrieve a refund","security":[{"bearerAuth":[]}],"parameters":[{"schema":{"type":"string","pattern":"^rfd_[0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{12}$"},"required":true,"name":"id","in":"path"},{"schema":{"type":"string","pattern":"^org_[0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{12}$","description":"Required organizer tenant id. There is intentionally no default, even for single-grant keys.","example":"org_0199c4e2-1f7a-7c31-8d44-2b9f6a1e05c7"},"required":true,"description":"Required organizer tenant id. There is intentionally no default, even for single-grant keys.","name":"Ticketing-Organizer","in":"header"}],"responses":{"200":{"description":"The refund.","headers":{"Request-Id":{"description":"Identifier for this API request.","schema":{"type":"string","format":"uuid"}}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Refund"}}}},"400":{"description":"Invalid request","headers":{"Request-Id":{"description":"Identifier for this API request.","schema":{"type":"string","format":"uuid"}}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorEnvelope"}}}},"401":{"description":"Authentication failed","headers":{"Request-Id":{"description":"Identifier for this API request.","schema":{"type":"string","format":"uuid"}}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorEnvelope"}}}},"403":{"description":"Organizer grant required","headers":{"Request-Id":{"description":"Identifier for this API request.","schema":{"type":"string","format":"uuid"}}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorEnvelope"}}}},"404":{"description":"Resource not found","headers":{"Request-Id":{"description":"Identifier for this API request.","schema":{"type":"string","format":"uuid"}}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorEnvelope"}}}},"409":{"description":"Idempotency conflict","headers":{"Request-Id":{"description":"Identifier for this API request.","schema":{"type":"string","format":"uuid"}}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorEnvelope"}}}},"422":{"description":"Request is semantically invalid","headers":{"Request-Id":{"description":"Identifier for this API request.","schema":{"type":"string","format":"uuid"}}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorEnvelope"}}}},"429":{"description":"Rate limited","headers":{"Request-Id":{"description":"Identifier for this API request.","schema":{"type":"string","format":"uuid"}}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorEnvelope"}}}},"500":{"description":"Internal failure","headers":{"Request-Id":{"description":"Identifier for this API request.","schema":{"type":"string","format":"uuid"}}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorEnvelope"}}}},"503":{"description":"A dependency is unavailable. `live_payments_not_configured` means the platform operator must complete live Stripe credential setup before retrying; no Stripe request is made for that refusal. On checkout creation, no session or capacity hold is created either. Other transient dependency failures may be retried.","headers":{"Request-Id":{"description":"Identifier for this API request.","schema":{"type":"string","format":"uuid"}}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorEnvelope"}}}}}}},"/v1/disputes":{"get":{"tags":["Refunds"],"summary":"List disputes","security":[{"bearerAuth":[]}],"parameters":[{"schema":{"type":"integer","minimum":1,"maximum":100,"default":20},"required":false,"name":"limit","in":"query"},{"schema":{"type":"string"},"required":false,"name":"starting_after","in":"query"},{"schema":{"type":"string"},"required":false,"name":"ending_before","in":"query"},{"schema":{"type":"string","pattern":"^ord_[0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{12}$"},"required":false,"name":"order_id","in":"query"},{"schema":{"type":"string","enum":["open","won","lost"]},"required":false,"name":"status","in":"query"},{"schema":{"type":"string","pattern":"^org_[0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{12}$","description":"Required organizer tenant id. There is intentionally no default, even for single-grant keys.","example":"org_0199c4e2-1f7a-7c31-8d44-2b9f6a1e05c7"},"required":true,"description":"Required organizer tenant id. There is intentionally no default, even for single-grant keys.","name":"Ticketing-Organizer","in":"header"}],"responses":{"200":{"description":"Disputes newest first.","headers":{"Request-Id":{"description":"Identifier for this API request.","schema":{"type":"string","format":"uuid"}}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/DisputeList"}}}},"400":{"description":"Invalid request","headers":{"Request-Id":{"description":"Identifier for this API request.","schema":{"type":"string","format":"uuid"}}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorEnvelope"}}}},"401":{"description":"Authentication failed","headers":{"Request-Id":{"description":"Identifier for this API request.","schema":{"type":"string","format":"uuid"}}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorEnvelope"}}}},"403":{"description":"Organizer grant required","headers":{"Request-Id":{"description":"Identifier for this API request.","schema":{"type":"string","format":"uuid"}}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorEnvelope"}}}},"404":{"description":"Resource not found","headers":{"Request-Id":{"description":"Identifier for this API request.","schema":{"type":"string","format":"uuid"}}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorEnvelope"}}}},"409":{"description":"Idempotency conflict","headers":{"Request-Id":{"description":"Identifier for this API request.","schema":{"type":"string","format":"uuid"}}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorEnvelope"}}}},"422":{"description":"Request is semantically invalid","headers":{"Request-Id":{"description":"Identifier for this API request.","schema":{"type":"string","format":"uuid"}}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorEnvelope"}}}},"429":{"description":"Rate limited","headers":{"Request-Id":{"description":"Identifier for this API request.","schema":{"type":"string","format":"uuid"}}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorEnvelope"}}}},"500":{"description":"Internal failure","headers":{"Request-Id":{"description":"Identifier for this API request.","schema":{"type":"string","format":"uuid"}}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorEnvelope"}}}},"503":{"description":"A dependency is unavailable. `live_payments_not_configured` means the platform operator must complete live Stripe credential setup before retrying; no Stripe request is made for that refusal. On checkout creation, no session or capacity hold is created either. Other transient dependency failures may be retried.","headers":{"Request-Id":{"description":"Identifier for this API request.","schema":{"type":"string","format":"uuid"}}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorEnvelope"}}}}}}},"/v1/disputes/{id}":{"get":{"tags":["Refunds"],"summary":"Retrieve a dispute","security":[{"bearerAuth":[]}],"parameters":[{"schema":{"type":"string","pattern":"^dsp_[0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{12}$"},"required":true,"name":"id","in":"path"},{"schema":{"type":"string","pattern":"^org_[0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{12}$","description":"Required organizer tenant id. There is intentionally no default, even for single-grant keys.","example":"org_0199c4e2-1f7a-7c31-8d44-2b9f6a1e05c7"},"required":true,"description":"Required organizer tenant id. There is intentionally no default, even for single-grant keys.","name":"Ticketing-Organizer","in":"header"}],"responses":{"200":{"description":"The dispute.","headers":{"Request-Id":{"description":"Identifier for this API request.","schema":{"type":"string","format":"uuid"}}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Dispute"}}}},"400":{"description":"Invalid request","headers":{"Request-Id":{"description":"Identifier for this API request.","schema":{"type":"string","format":"uuid"}}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorEnvelope"}}}},"401":{"description":"Authentication failed","headers":{"Request-Id":{"description":"Identifier for this API request.","schema":{"type":"string","format":"uuid"}}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorEnvelope"}}}},"403":{"description":"Organizer grant required","headers":{"Request-Id":{"description":"Identifier for this API request.","schema":{"type":"string","format":"uuid"}}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorEnvelope"}}}},"404":{"description":"Resource not found","headers":{"Request-Id":{"description":"Identifier for this API request.","schema":{"type":"string","format":"uuid"}}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorEnvelope"}}}},"409":{"description":"Idempotency conflict","headers":{"Request-Id":{"description":"Identifier for this API request.","schema":{"type":"string","format":"uuid"}}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorEnvelope"}}}},"422":{"description":"Request is semantically invalid","headers":{"Request-Id":{"description":"Identifier for this API request.","schema":{"type":"string","format":"uuid"}}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorEnvelope"}}}},"429":{"description":"Rate limited","headers":{"Request-Id":{"description":"Identifier for this API request.","schema":{"type":"string","format":"uuid"}}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorEnvelope"}}}},"500":{"description":"Internal failure","headers":{"Request-Id":{"description":"Identifier for this API request.","schema":{"type":"string","format":"uuid"}}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorEnvelope"}}}},"503":{"description":"A dependency is unavailable. `live_payments_not_configured` means the platform operator must complete live Stripe credential setup before retrying; no Stripe request is made for that refusal. On checkout creation, no session or capacity hold is created either. Other transient dependency failures may be retried.","headers":{"Request-Id":{"description":"Identifier for this API request.","schema":{"type":"string","format":"uuid"}}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorEnvelope"}}}}}}},"/v1/ledger_entries":{"get":{"tags":["Money"],"summary":"List ledger entries","description":"Confirmed Stripe money movements, newest first. Amounts are positive; entry_type tells you the direction.","security":[{"bearerAuth":[]}],"parameters":[{"schema":{"type":"integer","minimum":1,"maximum":100,"default":20},"required":false,"name":"limit","in":"query"},{"schema":{"type":"string"},"required":false,"name":"starting_after","in":"query"},{"schema":{"type":"string"},"required":false,"name":"ending_before","in":"query"},{"schema":{"type":"string","enum":["ticket_sale","membership_charge","refund","platform_fee","platform_fee_refund","dispute_debit","dispute_reversal","dispute_fee"]},"required":false,"name":"entry_type","in":"query"},{"schema":{"type":"string","pattern":"^ord_[0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{12}$"},"required":false,"name":"order_id","in":"query"},{"schema":{"type":"string","pattern":"^[A-Z]{3}$"},"required":false,"name":"currency","in":"query"},{"schema":{"type":"string","pattern":"^org_[0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{12}$","description":"Required organizer tenant id. There is intentionally no default, even for single-grant keys.","example":"org_0199c4e2-1f7a-7c31-8d44-2b9f6a1e05c7"},"required":true,"description":"Required organizer tenant id. There is intentionally no default, even for single-grant keys.","name":"Ticketing-Organizer","in":"header"}],"responses":{"200":{"description":"Ledger entries newest first.","headers":{"Request-Id":{"description":"Identifier for this API request.","schema":{"type":"string","format":"uuid"}}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/LedgerEntryList"}}}},"400":{"description":"Invalid request","headers":{"Request-Id":{"description":"Identifier for this API request.","schema":{"type":"string","format":"uuid"}}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorEnvelope"}}}},"401":{"description":"Authentication failed","headers":{"Request-Id":{"description":"Identifier for this API request.","schema":{"type":"string","format":"uuid"}}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorEnvelope"}}}},"403":{"description":"Organizer grant required","headers":{"Request-Id":{"description":"Identifier for this API request.","schema":{"type":"string","format":"uuid"}}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorEnvelope"}}}},"404":{"description":"Resource not found","headers":{"Request-Id":{"description":"Identifier for this API request.","schema":{"type":"string","format":"uuid"}}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorEnvelope"}}}},"409":{"description":"Idempotency conflict","headers":{"Request-Id":{"description":"Identifier for this API request.","schema":{"type":"string","format":"uuid"}}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorEnvelope"}}}},"422":{"description":"Request is semantically invalid","headers":{"Request-Id":{"description":"Identifier for this API request.","schema":{"type":"string","format":"uuid"}}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorEnvelope"}}}},"429":{"description":"Rate limited","headers":{"Request-Id":{"description":"Identifier for this API request.","schema":{"type":"string","format":"uuid"}}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorEnvelope"}}}},"500":{"description":"Internal failure","headers":{"Request-Id":{"description":"Identifier for this API request.","schema":{"type":"string","format":"uuid"}}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorEnvelope"}}}},"503":{"description":"A dependency is unavailable. `live_payments_not_configured` means the platform operator must complete live Stripe credential setup before retrying; no Stripe request is made for that refusal. On checkout creation, no session or capacity hold is created either. Other transient dependency failures may be retried.","headers":{"Request-Id":{"description":"Identifier for this API request.","schema":{"type":"string","format":"uuid"}}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorEnvelope"}}}}}}},"/v1/notification_provider":{"get":{"tags":["Notification provider"],"summary":"Retrieve the notification provider connection","description":"The organizer's single provider connection. Credentials are write-only and are never included in this response.","security":[{"bearerAuth":[]}],"parameters":[{"schema":{"type":"string","pattern":"^org_[0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{12}$","description":"Required organizer tenant id. There is intentionally no default, even for single-grant keys.","example":"org_0199c4e2-1f7a-7c31-8d44-2b9f6a1e05c7"},"required":true,"description":"Required organizer tenant id. There is intentionally no default, even for single-grant keys.","name":"Ticketing-Organizer","in":"header"}],"responses":{"200":{"description":"The provider connection, with credentials redacted.","headers":{"Request-Id":{"description":"Identifier for this API request.","schema":{"type":"string","format":"uuid"}}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/NotificationProvider"}}}},"400":{"description":"Invalid request","headers":{"Request-Id":{"description":"Identifier for this API request.","schema":{"type":"string","format":"uuid"}}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorEnvelope"}}}},"401":{"description":"Authentication failed","headers":{"Request-Id":{"description":"Identifier for this API request.","schema":{"type":"string","format":"uuid"}}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorEnvelope"}}}},"403":{"description":"Organizer grant required","headers":{"Request-Id":{"description":"Identifier for this API request.","schema":{"type":"string","format":"uuid"}}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorEnvelope"}}}},"404":{"description":"Resource not found","headers":{"Request-Id":{"description":"Identifier for this API request.","schema":{"type":"string","format":"uuid"}}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorEnvelope"}}}},"409":{"description":"Idempotency conflict","headers":{"Request-Id":{"description":"Identifier for this API request.","schema":{"type":"string","format":"uuid"}}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorEnvelope"}}}},"422":{"description":"Request is semantically invalid","headers":{"Request-Id":{"description":"Identifier for this API request.","schema":{"type":"string","format":"uuid"}}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorEnvelope"}}}},"429":{"description":"Rate limited","headers":{"Request-Id":{"description":"Identifier for this API request.","schema":{"type":"string","format":"uuid"}}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorEnvelope"}}}},"500":{"description":"Internal failure","headers":{"Request-Id":{"description":"Identifier for this API request.","schema":{"type":"string","format":"uuid"}}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorEnvelope"}}}},"503":{"description":"A dependency is unavailable. `live_payments_not_configured` means the platform operator must complete live Stripe credential setup before retrying; no Stripe request is made for that refusal. On checkout creation, no session or capacity hold is created either. Other transient dependency failures may be retried.","headers":{"Request-Id":{"description":"Identifier for this API request.","schema":{"type":"string","format":"uuid"}}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorEnvelope"}}}}}},"patch":{"tags":["Notification provider"],"summary":"Connect or update the notification provider","description":"Upserts the organizer's single provider connection, emitting notification_provider.created on the first connect and notification_provider.updated afterwards. The messages map is replaced wholesale; an omitted or disabled message type is silent — that is the suppression semantics.","security":[{"bearerAuth":[]}],"parameters":[{"schema":{"type":"string","pattern":"^org_[0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{12}$","description":"Required organizer tenant id. There is intentionally no default, even for single-grant keys.","example":"org_0199c4e2-1f7a-7c31-8d44-2b9f6a1e05c7"},"required":true,"description":"Required organizer tenant id. There is intentionally no default, even for single-grant keys.","name":"Ticketing-Organizer","in":"header"},{"schema":{"type":"string","minLength":1,"description":"Optional replay key for this update operation."},"required":false,"description":"Optional replay key for this update operation.","name":"Idempotency-Key","in":"header"}],"requestBody":{"content":{"application/json":{"schema":{"type":"object","properties":{"kind":{"type":"string","enum":["customerio"]},"credentials":{"$ref":"#/components/schemas/NotificationProviderCredentials"},"messages":{"$ref":"#/components/schemas/NotificationMessagesInput"},"metadata":{"type":"object","additionalProperties":{}}},"minProperties":1}}}},"responses":{"200":{"description":"The provider connection, with credentials redacted.","headers":{"Request-Id":{"description":"Identifier for this API request.","schema":{"type":"string","format":"uuid"}}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/NotificationProvider"}}}},"400":{"description":"Invalid request","headers":{"Request-Id":{"description":"Identifier for this API request.","schema":{"type":"string","format":"uuid"}}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorEnvelope"}}}},"401":{"description":"Authentication failed","headers":{"Request-Id":{"description":"Identifier for this API request.","schema":{"type":"string","format":"uuid"}}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorEnvelope"}}}},"403":{"description":"Organizer grant required","headers":{"Request-Id":{"description":"Identifier for this API request.","schema":{"type":"string","format":"uuid"}}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorEnvelope"}}}},"404":{"description":"Resource not found","headers":{"Request-Id":{"description":"Identifier for this API request.","schema":{"type":"string","format":"uuid"}}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorEnvelope"}}}},"409":{"description":"Idempotency conflict","headers":{"Request-Id":{"description":"Identifier for this API request.","schema":{"type":"string","format":"uuid"}}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorEnvelope"}}}},"422":{"description":"Request is semantically invalid","headers":{"Request-Id":{"description":"Identifier for this API request.","schema":{"type":"string","format":"uuid"}}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorEnvelope"}}}},"429":{"description":"Rate limited","headers":{"Request-Id":{"description":"Identifier for this API request.","schema":{"type":"string","format":"uuid"}}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorEnvelope"}}}},"500":{"description":"Internal failure","headers":{"Request-Id":{"description":"Identifier for this API request.","schema":{"type":"string","format":"uuid"}}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorEnvelope"}}}},"503":{"description":"A dependency is unavailable. `live_payments_not_configured` means the platform operator must complete live Stripe credential setup before retrying; no Stripe request is made for that refusal. On checkout creation, no session or capacity hold is created either. Other transient dependency failures may be retried.","headers":{"Request-Id":{"description":"Identifier for this API request.","schema":{"type":"string","format":"uuid"}}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorEnvelope"}}}}}}},"/v1/activities/{id}/notifications":{"get":{"tags":["Notification provider"],"summary":"Retrieve an activity's notification sends","description":"For each message type the activity's type triggers, in catalog order, whether the engine sends it for this activity and where its send stands in the attempt log. An activity that triggers no message answers an empty list. Send records are kept for about thirty days, so an older activity reads `none`. Never includes a recipient, a payload or a provider error.","security":[{"bearerAuth":[]}],"parameters":[{"schema":{"type":"string","pattern":"^act_[0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{12}$","example":"act_0199c4ea-6f52-7e87-b1d9-2a7c4e0b8f13"},"required":true,"name":"id","in":"path"},{"schema":{"type":"string","pattern":"^org_[0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{12}$","description":"Required organizer tenant id. There is intentionally no default, even for single-grant keys.","example":"org_0199c4e2-1f7a-7c31-8d44-2b9f6a1e05c7"},"required":true,"description":"Required organizer tenant id. There is intentionally no default, even for single-grant keys.","name":"Ticketing-Organizer","in":"header"}],"responses":{"200":{"description":"The activity's message types and their send state.","headers":{"Request-Id":{"description":"Identifier for this API request.","schema":{"type":"string","format":"uuid"}}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ActivityNotificationList"}}}},"400":{"description":"Invalid request","headers":{"Request-Id":{"description":"Identifier for this API request.","schema":{"type":"string","format":"uuid"}}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorEnvelope"}}}},"401":{"description":"Authentication failed","headers":{"Request-Id":{"description":"Identifier for this API request.","schema":{"type":"string","format":"uuid"}}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorEnvelope"}}}},"403":{"description":"Organizer grant required","headers":{"Request-Id":{"description":"Identifier for this API request.","schema":{"type":"string","format":"uuid"}}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorEnvelope"}}}},"404":{"description":"Resource not found","headers":{"Request-Id":{"description":"Identifier for this API request.","schema":{"type":"string","format":"uuid"}}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorEnvelope"}}}},"409":{"description":"Idempotency conflict","headers":{"Request-Id":{"description":"Identifier for this API request.","schema":{"type":"string","format":"uuid"}}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorEnvelope"}}}},"422":{"description":"Request is semantically invalid","headers":{"Request-Id":{"description":"Identifier for this API request.","schema":{"type":"string","format":"uuid"}}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorEnvelope"}}}},"429":{"description":"Rate limited","headers":{"Request-Id":{"description":"Identifier for this API request.","schema":{"type":"string","format":"uuid"}}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorEnvelope"}}}},"500":{"description":"Internal failure","headers":{"Request-Id":{"description":"Identifier for this API request.","schema":{"type":"string","format":"uuid"}}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorEnvelope"}}}},"503":{"description":"A dependency is unavailable. `live_payments_not_configured` means the platform operator must complete live Stripe credential setup before retrying; no Stripe request is made for that refusal. On checkout creation, no session or capacity hold is created either. Other transient dependency failures may be retried.","headers":{"Request-Id":{"description":"Identifier for this API request.","schema":{"type":"string","format":"uuid"}}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorEnvelope"}}}}}}},"/v1/activities/{id}/notifications/claim":{"post":{"tags":["Notification provider"],"summary":"Claim an activity's notification send","description":"For an organizer that sends a message itself: claims the one send of this message for this activity in the attempt log the engine's notification sink claims in, before you call your provider. Whichever of the two claims first sends it: the engine steps aside for a send you have claimed, and you must not send one it holds or has settled. Claiming does not consult the wiring; read `GET /v1/activities/{id}/notifications` to decide whether the message is yours to send. A claim not settled within about ten minutes is recorded `ambiguous` and never sent again. A `400` when the activity's type does not trigger the message.","security":[{"bearerAuth":[]}],"parameters":[{"schema":{"type":"string","pattern":"^act_[0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{12}$","example":"act_0199c4ea-6f52-7e87-b1d9-2a7c4e0b8f13"},"required":true,"name":"id","in":"path"},{"schema":{"type":"string","pattern":"^org_[0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{12}$","description":"Required organizer tenant id. There is intentionally no default, even for single-grant keys.","example":"org_0199c4e2-1f7a-7c31-8d44-2b9f6a1e05c7"},"required":true,"description":"Required organizer tenant id. There is intentionally no default, even for single-grant keys.","name":"Ticketing-Organizer","in":"header"}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/NotificationSendClaimRequest"}}}},"responses":{"200":{"description":"Your claim, or who holds or settled the send.","headers":{"Request-Id":{"description":"Identifier for this API request.","schema":{"type":"string","format":"uuid"}}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/NotificationSendClaim"}}}},"400":{"description":"Invalid request","headers":{"Request-Id":{"description":"Identifier for this API request.","schema":{"type":"string","format":"uuid"}}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorEnvelope"}}}},"401":{"description":"Authentication failed","headers":{"Request-Id":{"description":"Identifier for this API request.","schema":{"type":"string","format":"uuid"}}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorEnvelope"}}}},"403":{"description":"Organizer grant required","headers":{"Request-Id":{"description":"Identifier for this API request.","schema":{"type":"string","format":"uuid"}}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorEnvelope"}}}},"404":{"description":"Resource not found","headers":{"Request-Id":{"description":"Identifier for this API request.","schema":{"type":"string","format":"uuid"}}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorEnvelope"}}}},"409":{"description":"Idempotency conflict","headers":{"Request-Id":{"description":"Identifier for this API request.","schema":{"type":"string","format":"uuid"}}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorEnvelope"}}}},"422":{"description":"Request is semantically invalid","headers":{"Request-Id":{"description":"Identifier for this API request.","schema":{"type":"string","format":"uuid"}}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorEnvelope"}}}},"429":{"description":"Rate limited","headers":{"Request-Id":{"description":"Identifier for this API request.","schema":{"type":"string","format":"uuid"}}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorEnvelope"}}}},"500":{"description":"Internal failure","headers":{"Request-Id":{"description":"Identifier for this API request.","schema":{"type":"string","format":"uuid"}}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorEnvelope"}}}},"503":{"description":"A dependency is unavailable. `live_payments_not_configured` means the platform operator must complete live Stripe credential setup before retrying; no Stripe request is made for that refusal. On checkout creation, no session or capacity hold is created either. Other transient dependency failures may be retried.","headers":{"Request-Id":{"description":"Identifier for this API request.","schema":{"type":"string","format":"uuid"}}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorEnvelope"}}}}}}},"/v1/activities/{id}/notifications/settle":{"post":{"tags":["Notification provider"],"summary":"Settle a notification send claim","description":"Records what became of a send you claimed: `sent`, `released` or `ambiguous`. Answers the message's state afterwards, as the activity's notifications read does. Settling a claim that is no longer yours is a `409` `notification_claim_not_held` and changes nothing.","security":[{"bearerAuth":[]}],"parameters":[{"schema":{"type":"string","pattern":"^act_[0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{12}$","example":"act_0199c4ea-6f52-7e87-b1d9-2a7c4e0b8f13"},"required":true,"name":"id","in":"path"},{"schema":{"type":"string","pattern":"^org_[0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{12}$","description":"Required organizer tenant id. There is intentionally no default, even for single-grant keys.","example":"org_0199c4e2-1f7a-7c31-8d44-2b9f6a1e05c7"},"required":true,"description":"Required organizer tenant id. There is intentionally no default, even for single-grant keys.","name":"Ticketing-Organizer","in":"header"}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/NotificationSendSettlement"}}}},"responses":{"200":{"description":"The message's send state after the settlement.","headers":{"Request-Id":{"description":"Identifier for this API request.","schema":{"type":"string","format":"uuid"}}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ActivityNotification"}}}},"400":{"description":"Invalid request","headers":{"Request-Id":{"description":"Identifier for this API request.","schema":{"type":"string","format":"uuid"}}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorEnvelope"}}}},"401":{"description":"Authentication failed","headers":{"Request-Id":{"description":"Identifier for this API request.","schema":{"type":"string","format":"uuid"}}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorEnvelope"}}}},"403":{"description":"Organizer grant required","headers":{"Request-Id":{"description":"Identifier for this API request.","schema":{"type":"string","format":"uuid"}}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorEnvelope"}}}},"404":{"description":"Resource not found","headers":{"Request-Id":{"description":"Identifier for this API request.","schema":{"type":"string","format":"uuid"}}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorEnvelope"}}}},"409":{"description":"`notification_claim_not_held`: the claim is not one your own sender holds on this message. It was already settled or given back, it was recorded `ambiguous` after the claim window, or it is the engine's. Read the message's state rather than sending it again.","headers":{"Request-Id":{"description":"Identifier for this API request.","schema":{"type":"string","format":"uuid"}}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorEnvelope"}}}},"422":{"description":"Request is semantically invalid","headers":{"Request-Id":{"description":"Identifier for this API request.","schema":{"type":"string","format":"uuid"}}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorEnvelope"}}}},"429":{"description":"Rate limited","headers":{"Request-Id":{"description":"Identifier for this API request.","schema":{"type":"string","format":"uuid"}}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorEnvelope"}}}},"500":{"description":"Internal failure","headers":{"Request-Id":{"description":"Identifier for this API request.","schema":{"type":"string","format":"uuid"}}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorEnvelope"}}}},"503":{"description":"A dependency is unavailable. `live_payments_not_configured` means the platform operator must complete live Stripe credential setup before retrying; no Stripe request is made for that refusal. On checkout creation, no session or capacity hold is created either. Other transient dependency failures may be retried.","headers":{"Request-Id":{"description":"Identifier for this API request.","schema":{"type":"string","format":"uuid"}}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorEnvelope"}}}}}}},"/v1/entitlement_providers":{"get":{"tags":["Entitlement providers"],"summary":"List entitlement providers","description":"The external providers registered for the organizer, newest first. In-engine providers (discount codes, memberships) are not listed.","security":[{"bearerAuth":[]}],"parameters":[{"schema":{"type":"integer","minimum":1,"maximum":100,"default":20},"required":false,"name":"limit","in":"query"},{"schema":{"type":"string"},"required":false,"name":"starting_after","in":"query"},{"schema":{"type":"string"},"required":false,"name":"ending_before","in":"query"},{"schema":{"type":"string","pattern":"^org_[0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{12}$","description":"Required organizer tenant id. There is intentionally no default, even for single-grant keys.","example":"org_0199c4e2-1f7a-7c31-8d44-2b9f6a1e05c7"},"required":true,"description":"Required organizer tenant id. There is intentionally no default, even for single-grant keys.","name":"Ticketing-Organizer","in":"header"}],"responses":{"200":{"description":"Entitlement providers.","headers":{"Request-Id":{"description":"Identifier for this API request.","schema":{"type":"string","format":"uuid"}}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/EntitlementProviderList"}}}},"400":{"description":"Invalid request","headers":{"Request-Id":{"description":"Identifier for this API request.","schema":{"type":"string","format":"uuid"}}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorEnvelope"}}}},"401":{"description":"Authentication failed","headers":{"Request-Id":{"description":"Identifier for this API request.","schema":{"type":"string","format":"uuid"}}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorEnvelope"}}}},"403":{"description":"Organizer grant required","headers":{"Request-Id":{"description":"Identifier for this API request.","schema":{"type":"string","format":"uuid"}}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorEnvelope"}}}},"404":{"description":"Resource not found","headers":{"Request-Id":{"description":"Identifier for this API request.","schema":{"type":"string","format":"uuid"}}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorEnvelope"}}}},"409":{"description":"Idempotency conflict","headers":{"Request-Id":{"description":"Identifier for this API request.","schema":{"type":"string","format":"uuid"}}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorEnvelope"}}}},"422":{"description":"Request is semantically invalid","headers":{"Request-Id":{"description":"Identifier for this API request.","schema":{"type":"string","format":"uuid"}}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorEnvelope"}}}},"429":{"description":"Rate limited","headers":{"Request-Id":{"description":"Identifier for this API request.","schema":{"type":"string","format":"uuid"}}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorEnvelope"}}}},"500":{"description":"Internal failure","headers":{"Request-Id":{"description":"Identifier for this API request.","schema":{"type":"string","format":"uuid"}}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorEnvelope"}}}},"503":{"description":"A dependency is unavailable. `live_payments_not_configured` means the platform operator must complete live Stripe credential setup before retrying; no Stripe request is made for that refusal. On checkout creation, no session or capacity hold is created either. Other transient dependency failures may be retried.","headers":{"Request-Id":{"description":"Identifier for this API request.","schema":{"type":"string","format":"uuid"}}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorEnvelope"}}}}}},"post":{"tags":["Entitlement providers"],"summary":"Register an entitlement provider","description":"Registers an external provider for the organizer, active from the start, emitting entitlement_provider.registered. Registration is the organizer's consent to let the provider discount their sales; switch it off again with a PATCH. It does not make the engine call the provider by itself.","security":[{"bearerAuth":[]}],"parameters":[{"schema":{"type":"string","pattern":"^org_[0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{12}$","description":"Required organizer tenant id. There is intentionally no default, even for single-grant keys.","example":"org_0199c4e2-1f7a-7c31-8d44-2b9f6a1e05c7"},"required":true,"description":"Required organizer tenant id. There is intentionally no default, even for single-grant keys.","name":"Ticketing-Organizer","in":"header"},{"schema":{"type":"string","minLength":1,"description":"Required replay key for this create operation."},"required":true,"description":"Required replay key for this create operation.","name":"Idempotency-Key","in":"header"}],"requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/EntitlementProviderCreate"}}}},"responses":{"201":{"description":"The registered provider.","headers":{"Request-Id":{"description":"Identifier for this API request.","schema":{"type":"string","format":"uuid"}}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/EntitlementProvider"}}}},"400":{"description":"Invalid request","headers":{"Request-Id":{"description":"Identifier for this API request.","schema":{"type":"string","format":"uuid"}}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorEnvelope"}}}},"401":{"description":"Authentication failed","headers":{"Request-Id":{"description":"Identifier for this API request.","schema":{"type":"string","format":"uuid"}}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorEnvelope"}}}},"403":{"description":"Organizer grant required","headers":{"Request-Id":{"description":"Identifier for this API request.","schema":{"type":"string","format":"uuid"}}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorEnvelope"}}}},"404":{"description":"Resource not found","headers":{"Request-Id":{"description":"Identifier for this API request.","schema":{"type":"string","format":"uuid"}}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorEnvelope"}}}},"409":{"description":"Idempotency conflict","headers":{"Request-Id":{"description":"Identifier for this API request.","schema":{"type":"string","format":"uuid"}}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorEnvelope"}}}},"422":{"description":"Request is semantically invalid","headers":{"Request-Id":{"description":"Identifier for this API request.","schema":{"type":"string","format":"uuid"}}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorEnvelope"}}}},"429":{"description":"Rate limited","headers":{"Request-Id":{"description":"Identifier for this API request.","schema":{"type":"string","format":"uuid"}}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorEnvelope"}}}},"500":{"description":"Internal failure","headers":{"Request-Id":{"description":"Identifier for this API request.","schema":{"type":"string","format":"uuid"}}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorEnvelope"}}}},"503":{"description":"A dependency is unavailable. `live_payments_not_configured` means the platform operator must complete live Stripe credential setup before retrying; no Stripe request is made for that refusal. On checkout creation, no session or capacity hold is created either. Other transient dependency failures may be retried.","headers":{"Request-Id":{"description":"Identifier for this API request.","schema":{"type":"string","format":"uuid"}}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorEnvelope"}}}}}}},"/v1/entitlement_providers/{id}":{"get":{"tags":["Entitlement providers"],"summary":"Retrieve an entitlement provider","security":[{"bearerAuth":[]}],"parameters":[{"schema":{"type":"string","pattern":"^ep_[0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{12}$"},"required":true,"name":"id","in":"path"},{"schema":{"type":"string","pattern":"^org_[0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{12}$","description":"Required organizer tenant id. There is intentionally no default, even for single-grant keys.","example":"org_0199c4e2-1f7a-7c31-8d44-2b9f6a1e05c7"},"required":true,"description":"Required organizer tenant id. There is intentionally no default, even for single-grant keys.","name":"Ticketing-Organizer","in":"header"}],"responses":{"200":{"description":"The entitlement provider, with its signing secret redacted.","headers":{"Request-Id":{"description":"Identifier for this API request.","schema":{"type":"string","format":"uuid"}}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/EntitlementProvider"}}}},"400":{"description":"Invalid request","headers":{"Request-Id":{"description":"Identifier for this API request.","schema":{"type":"string","format":"uuid"}}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorEnvelope"}}}},"401":{"description":"Authentication failed","headers":{"Request-Id":{"description":"Identifier for this API request.","schema":{"type":"string","format":"uuid"}}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorEnvelope"}}}},"403":{"description":"Organizer grant required","headers":{"Request-Id":{"description":"Identifier for this API request.","schema":{"type":"string","format":"uuid"}}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorEnvelope"}}}},"404":{"description":"Resource not found","headers":{"Request-Id":{"description":"Identifier for this API request.","schema":{"type":"string","format":"uuid"}}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorEnvelope"}}}},"409":{"description":"Idempotency conflict","headers":{"Request-Id":{"description":"Identifier for this API request.","schema":{"type":"string","format":"uuid"}}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorEnvelope"}}}},"422":{"description":"Request is semantically invalid","headers":{"Request-Id":{"description":"Identifier for this API request.","schema":{"type":"string","format":"uuid"}}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorEnvelope"}}}},"429":{"description":"Rate limited","headers":{"Request-Id":{"description":"Identifier for this API request.","schema":{"type":"string","format":"uuid"}}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorEnvelope"}}}},"500":{"description":"Internal failure","headers":{"Request-Id":{"description":"Identifier for this API request.","schema":{"type":"string","format":"uuid"}}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorEnvelope"}}}},"503":{"description":"A dependency is unavailable. `live_payments_not_configured` means the platform operator must complete live Stripe credential setup before retrying; no Stripe request is made for that refusal. On checkout creation, no session or capacity hold is created either. Other transient dependency failures may be retried.","headers":{"Request-Id":{"description":"Identifier for this API request.","schema":{"type":"string","format":"uuid"}}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorEnvelope"}}}}}},"patch":{"tags":["Entitlement providers"],"summary":"Update an entitlement provider","description":"Edits the callback URLs, replaces the signing secret, or switches the provider on or off. Switching emits entitlement_provider.registered or entitlement_provider.deregistered; any other edit emits entitlement_provider.updated.","security":[{"bearerAuth":[]}],"parameters":[{"schema":{"type":"string","pattern":"^ep_[0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{12}$"},"required":true,"name":"id","in":"path"},{"schema":{"type":"string","pattern":"^org_[0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{12}$","description":"Required organizer tenant id. There is intentionally no default, even for single-grant keys.","example":"org_0199c4e2-1f7a-7c31-8d44-2b9f6a1e05c7"},"required":true,"description":"Required organizer tenant id. There is intentionally no default, even for single-grant keys.","name":"Ticketing-Organizer","in":"header"},{"schema":{"type":"string","minLength":1,"description":"Optional replay key for this update operation."},"required":false,"description":"Optional replay key for this update operation.","name":"Idempotency-Key","in":"header"}],"requestBody":{"content":{"application/json":{"schema":{"type":"object","properties":{"quote_url":{"type":"string","maxLength":2048,"format":"uri"},"commit_url":{"type":["string","null"],"maxLength":2048,"format":"uri"},"signing_secret":{"type":"string","minLength":32,"maxLength":256,"description":"The key the engine signs its callbacks to this provider with. Write-only: choose a random value of at least 32 characters, keep a copy for verifying signatures, and replace it here to rotate. It is stored encrypted and never returned.","writeOnly":true},"status":{"type":"string","enum":["active","disabled"]},"metadata":{"type":"object","additionalProperties":{}}},"minProperties":1}}}},"responses":{"200":{"description":"The updated provider.","headers":{"Request-Id":{"description":"Identifier for this API request.","schema":{"type":"string","format":"uuid"}}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/EntitlementProvider"}}}},"400":{"description":"Invalid request","headers":{"Request-Id":{"description":"Identifier for this API request.","schema":{"type":"string","format":"uuid"}}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorEnvelope"}}}},"401":{"description":"Authentication failed","headers":{"Request-Id":{"description":"Identifier for this API request.","schema":{"type":"string","format":"uuid"}}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorEnvelope"}}}},"403":{"description":"Organizer grant required","headers":{"Request-Id":{"description":"Identifier for this API request.","schema":{"type":"string","format":"uuid"}}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorEnvelope"}}}},"404":{"description":"Resource not found","headers":{"Request-Id":{"description":"Identifier for this API request.","schema":{"type":"string","format":"uuid"}}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorEnvelope"}}}},"409":{"description":"Idempotency conflict","headers":{"Request-Id":{"description":"Identifier for this API request.","schema":{"type":"string","format":"uuid"}}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorEnvelope"}}}},"422":{"description":"Request is semantically invalid","headers":{"Request-Id":{"description":"Identifier for this API request.","schema":{"type":"string","format":"uuid"}}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorEnvelope"}}}},"429":{"description":"Rate limited","headers":{"Request-Id":{"description":"Identifier for this API request.","schema":{"type":"string","format":"uuid"}}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorEnvelope"}}}},"500":{"description":"Internal failure","headers":{"Request-Id":{"description":"Identifier for this API request.","schema":{"type":"string","format":"uuid"}}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorEnvelope"}}}},"503":{"description":"A dependency is unavailable. `live_payments_not_configured` means the platform operator must complete live Stripe credential setup before retrying; no Stripe request is made for that refusal. On checkout creation, no session or capacity hold is created either. Other transient dependency failures may be retried.","headers":{"Request-Id":{"description":"Identifier for this API request.","schema":{"type":"string","format":"uuid"}}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorEnvelope"}}}}}}},"/v1/webhook_endpoints":{"get":{"tags":["Webhooks"],"summary":"List webhook endpoints","security":[{"bearerAuth":[]}],"parameters":[{"schema":{"type":"integer","minimum":1,"maximum":100,"default":20},"required":false,"name":"limit","in":"query"},{"schema":{"type":"string"},"required":false,"name":"starting_after","in":"query"},{"schema":{"type":"string"},"required":false,"name":"ending_before","in":"query"},{"schema":{"type":"string","pattern":"^org_[0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{12}$","description":"Required organizer tenant id. There is intentionally no default, even for single-grant keys.","example":"org_0199c4e2-1f7a-7c31-8d44-2b9f6a1e05c7"},"required":true,"description":"Required organizer tenant id. There is intentionally no default, even for single-grant keys.","name":"Ticketing-Organizer","in":"header"}],"responses":{"200":{"description":"Webhook endpoints.","headers":{"Request-Id":{"description":"Identifier for this API request.","schema":{"type":"string","format":"uuid"}}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/WebhookEndpointList"}}}},"400":{"description":"Invalid request","headers":{"Request-Id":{"description":"Identifier for this API request.","schema":{"type":"string","format":"uuid"}}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorEnvelope"}}}},"401":{"description":"Authentication failed","headers":{"Request-Id":{"description":"Identifier for this API request.","schema":{"type":"string","format":"uuid"}}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorEnvelope"}}}},"403":{"description":"Organizer grant required","headers":{"Request-Id":{"description":"Identifier for this API request.","schema":{"type":"string","format":"uuid"}}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorEnvelope"}}}},"404":{"description":"Resource not found","headers":{"Request-Id":{"description":"Identifier for this API request.","schema":{"type":"string","format":"uuid"}}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorEnvelope"}}}},"409":{"description":"Idempotency conflict","headers":{"Request-Id":{"description":"Identifier for this API request.","schema":{"type":"string","format":"uuid"}}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorEnvelope"}}}},"422":{"description":"Request is semantically invalid","headers":{"Request-Id":{"description":"Identifier for this API request.","schema":{"type":"string","format":"uuid"}}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorEnvelope"}}}},"429":{"description":"Rate limited","headers":{"Request-Id":{"description":"Identifier for this API request.","schema":{"type":"string","format":"uuid"}}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorEnvelope"}}}},"500":{"description":"Internal failure","headers":{"Request-Id":{"description":"Identifier for this API request.","schema":{"type":"string","format":"uuid"}}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorEnvelope"}}}},"503":{"description":"A dependency is unavailable. `live_payments_not_configured` means the platform operator must complete live Stripe credential setup before retrying; no Stripe request is made for that refusal. On checkout creation, no session or capacity hold is created either. Other transient dependency failures may be retried.","headers":{"Request-Id":{"description":"Identifier for this API request.","schema":{"type":"string","format":"uuid"}}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorEnvelope"}}}}}},"post":{"tags":["Webhooks"],"summary":"Create a webhook endpoint","security":[{"bearerAuth":[]}],"parameters":[{"schema":{"type":"string","pattern":"^org_[0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{12}$","description":"Required organizer tenant id. There is intentionally no default, even for single-grant keys.","example":"org_0199c4e2-1f7a-7c31-8d44-2b9f6a1e05c7"},"required":true,"description":"Required organizer tenant id. There is intentionally no default, even for single-grant keys.","name":"Ticketing-Organizer","in":"header"},{"schema":{"type":"string","minLength":1,"description":"Required replay key for this create operation."},"required":true,"description":"Required replay key for this create operation.","name":"Idempotency-Key","in":"header"}],"requestBody":{"content":{"application/json":{"schema":{"type":"object","properties":{"url":{"type":"string","format":"uri"},"enabled_types":{"type":"array","items":{"type":"string"},"minItems":1},"status":{"type":"string","enum":["enabled","disabled"]},"metadata":{"type":"object","additionalProperties":{}}},"required":["url","enabled_types"]}}}},"responses":{"201":{"description":"Webhook endpoint and one-time signing secret.","headers":{"Request-Id":{"description":"Identifier for this API request.","schema":{"type":"string","format":"uuid"}}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/WebhookEndpointCreated"}}}},"400":{"description":"Invalid request","headers":{"Request-Id":{"description":"Identifier for this API request.","schema":{"type":"string","format":"uuid"}}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorEnvelope"}}}},"401":{"description":"Authentication failed","headers":{"Request-Id":{"description":"Identifier for this API request.","schema":{"type":"string","format":"uuid"}}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorEnvelope"}}}},"403":{"description":"Organizer grant required","headers":{"Request-Id":{"description":"Identifier for this API request.","schema":{"type":"string","format":"uuid"}}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorEnvelope"}}}},"404":{"description":"Resource not found","headers":{"Request-Id":{"description":"Identifier for this API request.","schema":{"type":"string","format":"uuid"}}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorEnvelope"}}}},"409":{"description":"Idempotency conflict","headers":{"Request-Id":{"description":"Identifier for this API request.","schema":{"type":"string","format":"uuid"}}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorEnvelope"}}}},"422":{"description":"Request is semantically invalid","headers":{"Request-Id":{"description":"Identifier for this API request.","schema":{"type":"string","format":"uuid"}}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorEnvelope"}}}},"429":{"description":"Rate limited","headers":{"Request-Id":{"description":"Identifier for this API request.","schema":{"type":"string","format":"uuid"}}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorEnvelope"}}}},"500":{"description":"Internal failure","headers":{"Request-Id":{"description":"Identifier for this API request.","schema":{"type":"string","format":"uuid"}}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorEnvelope"}}}},"503":{"description":"A dependency is unavailable. `live_payments_not_configured` means the platform operator must complete live Stripe credential setup before retrying; no Stripe request is made for that refusal. On checkout creation, no session or capacity hold is created either. Other transient dependency failures may be retried.","headers":{"Request-Id":{"description":"Identifier for this API request.","schema":{"type":"string","format":"uuid"}}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorEnvelope"}}}}}}},"/v1/webhook_endpoints/{id}":{"get":{"tags":["Webhooks"],"summary":"Retrieve a webhook endpoint","security":[{"bearerAuth":[]}],"parameters":[{"schema":{"type":"string","pattern":"^we_[0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{12}$"},"required":true,"name":"id","in":"path"},{"schema":{"type":"string","pattern":"^org_[0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{12}$","description":"Required organizer tenant id. There is intentionally no default, even for single-grant keys.","example":"org_0199c4e2-1f7a-7c31-8d44-2b9f6a1e05c7"},"required":true,"description":"Required organizer tenant id. There is intentionally no default, even for single-grant keys.","name":"Ticketing-Organizer","in":"header"}],"responses":{"200":{"description":"Webhook endpoint.","headers":{"Request-Id":{"description":"Identifier for this API request.","schema":{"type":"string","format":"uuid"}}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/WebhookEndpoint"}}}},"400":{"description":"Invalid request","headers":{"Request-Id":{"description":"Identifier for this API request.","schema":{"type":"string","format":"uuid"}}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorEnvelope"}}}},"401":{"description":"Authentication failed","headers":{"Request-Id":{"description":"Identifier for this API request.","schema":{"type":"string","format":"uuid"}}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorEnvelope"}}}},"403":{"description":"Organizer grant required","headers":{"Request-Id":{"description":"Identifier for this API request.","schema":{"type":"string","format":"uuid"}}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorEnvelope"}}}},"404":{"description":"Resource not found","headers":{"Request-Id":{"description":"Identifier for this API request.","schema":{"type":"string","format":"uuid"}}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorEnvelope"}}}},"409":{"description":"Idempotency conflict","headers":{"Request-Id":{"description":"Identifier for this API request.","schema":{"type":"string","format":"uuid"}}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorEnvelope"}}}},"422":{"description":"Request is semantically invalid","headers":{"Request-Id":{"description":"Identifier for this API request.","schema":{"type":"string","format":"uuid"}}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorEnvelope"}}}},"429":{"description":"Rate limited","headers":{"Request-Id":{"description":"Identifier for this API request.","schema":{"type":"string","format":"uuid"}}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorEnvelope"}}}},"500":{"description":"Internal failure","headers":{"Request-Id":{"description":"Identifier for this API request.","schema":{"type":"string","format":"uuid"}}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorEnvelope"}}}},"503":{"description":"A dependency is unavailable. `live_payments_not_configured` means the platform operator must complete live Stripe credential setup before retrying; no Stripe request is made for that refusal. On checkout creation, no session or capacity hold is created either. Other transient dependency failures may be retried.","headers":{"Request-Id":{"description":"Identifier for this API request.","schema":{"type":"string","format":"uuid"}}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorEnvelope"}}}}}},"patch":{"tags":["Webhooks"],"summary":"Update a webhook endpoint","security":[{"bearerAuth":[]}],"parameters":[{"schema":{"type":"string","pattern":"^we_[0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{12}$"},"required":true,"name":"id","in":"path"},{"schema":{"type":"string","pattern":"^org_[0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{12}$","description":"Required organizer tenant id. There is intentionally no default, even for single-grant keys.","example":"org_0199c4e2-1f7a-7c31-8d44-2b9f6a1e05c7"},"required":true,"description":"Required organizer tenant id. There is intentionally no default, even for single-grant keys.","name":"Ticketing-Organizer","in":"header"},{"schema":{"type":"string","minLength":1,"description":"Optional replay key for this update operation."},"required":false,"description":"Optional replay key for this update operation.","name":"Idempotency-Key","in":"header"}],"requestBody":{"content":{"application/json":{"schema":{"type":"object","properties":{"url":{"type":"string","format":"uri"},"enabled_types":{"type":"array","items":{"type":"string"},"minItems":1},"status":{"type":"string","enum":["enabled","disabled"]},"metadata":{"type":"object","additionalProperties":{}}},"minProperties":1}}}},"responses":{"200":{"description":"Updated webhook endpoint.","headers":{"Request-Id":{"description":"Identifier for this API request.","schema":{"type":"string","format":"uuid"}}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/WebhookEndpoint"}}}},"400":{"description":"Invalid request","headers":{"Request-Id":{"description":"Identifier for this API request.","schema":{"type":"string","format":"uuid"}}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorEnvelope"}}}},"401":{"description":"Authentication failed","headers":{"Request-Id":{"description":"Identifier for this API request.","schema":{"type":"string","format":"uuid"}}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorEnvelope"}}}},"403":{"description":"Organizer grant required","headers":{"Request-Id":{"description":"Identifier for this API request.","schema":{"type":"string","format":"uuid"}}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorEnvelope"}}}},"404":{"description":"Resource not found","headers":{"Request-Id":{"description":"Identifier for this API request.","schema":{"type":"string","format":"uuid"}}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorEnvelope"}}}},"409":{"description":"Idempotency conflict","headers":{"Request-Id":{"description":"Identifier for this API request.","schema":{"type":"string","format":"uuid"}}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorEnvelope"}}}},"422":{"description":"Request is semantically invalid","headers":{"Request-Id":{"description":"Identifier for this API request.","schema":{"type":"string","format":"uuid"}}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorEnvelope"}}}},"429":{"description":"Rate limited","headers":{"Request-Id":{"description":"Identifier for this API request.","schema":{"type":"string","format":"uuid"}}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorEnvelope"}}}},"500":{"description":"Internal failure","headers":{"Request-Id":{"description":"Identifier for this API request.","schema":{"type":"string","format":"uuid"}}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorEnvelope"}}}},"503":{"description":"A dependency is unavailable. `live_payments_not_configured` means the platform operator must complete live Stripe credential setup before retrying; no Stripe request is made for that refusal. On checkout creation, no session or capacity hold is created either. Other transient dependency failures may be retried.","headers":{"Request-Id":{"description":"Identifier for this API request.","schema":{"type":"string","format":"uuid"}}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorEnvelope"}}}}}},"delete":{"tags":["Webhooks"],"summary":"Delete a webhook endpoint","security":[{"bearerAuth":[]}],"parameters":[{"schema":{"type":"string","pattern":"^we_[0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{12}$"},"required":true,"name":"id","in":"path"},{"schema":{"type":"string","pattern":"^org_[0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{12}$","description":"Required organizer tenant id. There is intentionally no default, even for single-grant keys.","example":"org_0199c4e2-1f7a-7c31-8d44-2b9f6a1e05c7"},"required":true,"description":"Required organizer tenant id. There is intentionally no default, even for single-grant keys.","name":"Ticketing-Organizer","in":"header"},{"schema":{"type":"string","minLength":1,"description":"Optional replay key for this update operation."},"required":false,"description":"Optional replay key for this update operation.","name":"Idempotency-Key","in":"header"}],"responses":{"200":{"description":"Deleted webhook endpoint.","headers":{"Request-Id":{"description":"Identifier for this API request.","schema":{"type":"string","format":"uuid"}}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/WebhookEndpoint"}}}},"400":{"description":"Invalid request","headers":{"Request-Id":{"description":"Identifier for this API request.","schema":{"type":"string","format":"uuid"}}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorEnvelope"}}}},"401":{"description":"Authentication failed","headers":{"Request-Id":{"description":"Identifier for this API request.","schema":{"type":"string","format":"uuid"}}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorEnvelope"}}}},"403":{"description":"Organizer grant required","headers":{"Request-Id":{"description":"Identifier for this API request.","schema":{"type":"string","format":"uuid"}}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorEnvelope"}}}},"404":{"description":"Resource not found","headers":{"Request-Id":{"description":"Identifier for this API request.","schema":{"type":"string","format":"uuid"}}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorEnvelope"}}}},"409":{"description":"Idempotency conflict","headers":{"Request-Id":{"description":"Identifier for this API request.","schema":{"type":"string","format":"uuid"}}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorEnvelope"}}}},"422":{"description":"Request is semantically invalid","headers":{"Request-Id":{"description":"Identifier for this API request.","schema":{"type":"string","format":"uuid"}}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorEnvelope"}}}},"429":{"description":"Rate limited","headers":{"Request-Id":{"description":"Identifier for this API request.","schema":{"type":"string","format":"uuid"}}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorEnvelope"}}}},"500":{"description":"Internal failure","headers":{"Request-Id":{"description":"Identifier for this API request.","schema":{"type":"string","format":"uuid"}}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorEnvelope"}}}},"503":{"description":"A dependency is unavailable. `live_payments_not_configured` means the platform operator must complete live Stripe credential setup before retrying; no Stripe request is made for that refusal. On checkout creation, no session or capacity hold is created either. Other transient dependency failures may be retried.","headers":{"Request-Id":{"description":"Identifier for this API request.","schema":{"type":"string","format":"uuid"}}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorEnvelope"}}}}}}},"/v1/webhook_endpoints/{id}/rotate":{"post":{"tags":["Webhooks"],"summary":"Rotate a webhook signing secret","security":[{"bearerAuth":[]}],"parameters":[{"schema":{"type":"string","pattern":"^we_[0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{12}$"},"required":true,"name":"id","in":"path"},{"schema":{"type":"string","pattern":"^org_[0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{12}$","description":"Required organizer tenant id. There is intentionally no default, even for single-grant keys.","example":"org_0199c4e2-1f7a-7c31-8d44-2b9f6a1e05c7"},"required":true,"description":"Required organizer tenant id. There is intentionally no default, even for single-grant keys.","name":"Ticketing-Organizer","in":"header"},{"schema":{"type":"string","minLength":1,"description":"Optional replay key for this update operation."},"required":false,"description":"Optional replay key for this update operation.","name":"Idempotency-Key","in":"header"}],"responses":{"200":{"description":"Endpoint and one-time new signing secret.","headers":{"Request-Id":{"description":"Identifier for this API request.","schema":{"type":"string","format":"uuid"}}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/WebhookEndpointCreated"}}}},"400":{"description":"Invalid request","headers":{"Request-Id":{"description":"Identifier for this API request.","schema":{"type":"string","format":"uuid"}}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorEnvelope"}}}},"401":{"description":"Authentication failed","headers":{"Request-Id":{"description":"Identifier for this API request.","schema":{"type":"string","format":"uuid"}}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorEnvelope"}}}},"403":{"description":"Organizer grant required","headers":{"Request-Id":{"description":"Identifier for this API request.","schema":{"type":"string","format":"uuid"}}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorEnvelope"}}}},"404":{"description":"Resource not found","headers":{"Request-Id":{"description":"Identifier for this API request.","schema":{"type":"string","format":"uuid"}}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorEnvelope"}}}},"409":{"description":"Idempotency conflict","headers":{"Request-Id":{"description":"Identifier for this API request.","schema":{"type":"string","format":"uuid"}}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorEnvelope"}}}},"422":{"description":"Request is semantically invalid","headers":{"Request-Id":{"description":"Identifier for this API request.","schema":{"type":"string","format":"uuid"}}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorEnvelope"}}}},"429":{"description":"Rate limited","headers":{"Request-Id":{"description":"Identifier for this API request.","schema":{"type":"string","format":"uuid"}}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorEnvelope"}}}},"500":{"description":"Internal failure","headers":{"Request-Id":{"description":"Identifier for this API request.","schema":{"type":"string","format":"uuid"}}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorEnvelope"}}}},"503":{"description":"A dependency is unavailable. `live_payments_not_configured` means the platform operator must complete live Stripe credential setup before retrying; no Stripe request is made for that refusal. On checkout creation, no session or capacity hold is created either. Other transient dependency failures may be retried.","headers":{"Request-Id":{"description":"Identifier for this API request.","schema":{"type":"string","format":"uuid"}}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorEnvelope"}}}}}}},"/v1/connect/onboarding":{"post":{"tags":["Connect"],"summary":"Start hosted onboarding for a new connected account","description":"Creates the organizer's connected account if it has none, then returns a fresh single-use Stripe onboarding link. Safe to repeat: at most one account is ever created per organizer.","security":[{"bearerAuth":[]}],"parameters":[{"schema":{"type":"string","pattern":"^org_[0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{12}$","description":"Required organizer tenant id. There is intentionally no default, even for single-grant keys.","example":"org_0199c4e2-1f7a-7c31-8d44-2b9f6a1e05c7"},"required":true,"description":"Required organizer tenant id. There is intentionally no default, even for single-grant keys.","name":"Ticketing-Organizer","in":"header"}],"requestBody":{"content":{"application/json":{"schema":{"type":"object","properties":{"return_url":{"type":"string","format":"uri","description":"Where Stripe returns the organizer after onboarding. Defaults to the engine's own landing page."},"refresh_url":{"type":"string","format":"uri","description":"Where Stripe sends the organizer once the link has expired. Defaults to the engine's own landing page."},"email":{"type":"string","format":"email"}}}}}},"responses":{"201":{"description":"A single-use hosted onboarding link.","headers":{"Request-Id":{"description":"Identifier for this API request.","schema":{"type":"string","format":"uuid"}}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ConnectOnboardingLink"}}}},"400":{"description":"Invalid request","headers":{"Request-Id":{"description":"Identifier for this API request.","schema":{"type":"string","format":"uuid"}}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorEnvelope"}}}},"401":{"description":"Authentication failed","headers":{"Request-Id":{"description":"Identifier for this API request.","schema":{"type":"string","format":"uuid"}}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorEnvelope"}}}},"403":{"description":"Organizer grant required","headers":{"Request-Id":{"description":"Identifier for this API request.","schema":{"type":"string","format":"uuid"}}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorEnvelope"}}}},"404":{"description":"Resource not found","headers":{"Request-Id":{"description":"Identifier for this API request.","schema":{"type":"string","format":"uuid"}}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorEnvelope"}}}},"409":{"description":"Idempotency conflict","headers":{"Request-Id":{"description":"Identifier for this API request.","schema":{"type":"string","format":"uuid"}}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorEnvelope"}}}},"422":{"description":"Request is semantically invalid","headers":{"Request-Id":{"description":"Identifier for this API request.","schema":{"type":"string","format":"uuid"}}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorEnvelope"}}}},"429":{"description":"Rate limited","headers":{"Request-Id":{"description":"Identifier for this API request.","schema":{"type":"string","format":"uuid"}}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorEnvelope"}}}},"500":{"description":"Internal failure","headers":{"Request-Id":{"description":"Identifier for this API request.","schema":{"type":"string","format":"uuid"}}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorEnvelope"}}}},"503":{"description":"A dependency is unavailable. `live_payments_not_configured` means the platform operator must complete live Stripe credential setup before retrying; no Stripe request is made for that refusal. On checkout creation, no session or capacity hold is created either. Other transient dependency failures may be retried.","headers":{"Request-Id":{"description":"Identifier for this API request.","schema":{"type":"string","format":"uuid"}}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorEnvelope"}}}}}}},"/v1/connect/oauth/authorization":{"post":{"tags":["Connect"],"summary":"Build an authorization URL to attach an existing Stripe account","description":"Returns the Stripe OAuth authorization URL for this organizer. An API key, organizer owner, or dashboard user may start it; the engine's OAuth callback attaches the authorized account, then returns the organizer to return_url. A revoked API-key grant returns 403 organizer_not_granted; revoked owner or staff authorization returns opaque 400 connect_state_invalid because the callback is an unauthenticated browser hop.","security":[{"bearerAuth":[]}],"parameters":[{"schema":{"type":"string","pattern":"^org_[0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{12}$","description":"Required organizer tenant id. There is intentionally no default, even for single-grant keys.","example":"org_0199c4e2-1f7a-7c31-8d44-2b9f6a1e05c7"},"required":true,"description":"Required organizer tenant id. There is intentionally no default, even for single-grant keys.","name":"Ticketing-Organizer","in":"header"}],"requestBody":{"content":{"application/json":{"schema":{"type":"object","properties":{"return_url":{"type":"string","format":"uri","description":"Where the organizer is sent once the engine has attached the account."},"email":{"type":"string","format":"email"}}}}}},"responses":{"201":{"description":"The authorization URL and the expiry of its signed state.","headers":{"Request-Id":{"description":"Identifier for this API request.","schema":{"type":"string","format":"uuid"}}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ConnectAuthorization"}}}},"400":{"description":"Invalid request","headers":{"Request-Id":{"description":"Identifier for this API request.","schema":{"type":"string","format":"uuid"}}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorEnvelope"}}}},"401":{"description":"Authentication failed","headers":{"Request-Id":{"description":"Identifier for this API request.","schema":{"type":"string","format":"uuid"}}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorEnvelope"}}}},"403":{"description":"Organizer grant required","headers":{"Request-Id":{"description":"Identifier for this API request.","schema":{"type":"string","format":"uuid"}}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorEnvelope"}}}},"404":{"description":"Resource not found","headers":{"Request-Id":{"description":"Identifier for this API request.","schema":{"type":"string","format":"uuid"}}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorEnvelope"}}}},"409":{"description":"Idempotency conflict","headers":{"Request-Id":{"description":"Identifier for this API request.","schema":{"type":"string","format":"uuid"}}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorEnvelope"}}}},"422":{"description":"Request is semantically invalid","headers":{"Request-Id":{"description":"Identifier for this API request.","schema":{"type":"string","format":"uuid"}}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorEnvelope"}}}},"429":{"description":"Rate limited","headers":{"Request-Id":{"description":"Identifier for this API request.","schema":{"type":"string","format":"uuid"}}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorEnvelope"}}}},"500":{"description":"Internal failure","headers":{"Request-Id":{"description":"Identifier for this API request.","schema":{"type":"string","format":"uuid"}}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorEnvelope"}}}},"503":{"description":"A dependency is unavailable. `live_payments_not_configured` means the platform operator must complete live Stripe credential setup before retrying; no Stripe request is made for that refusal. On checkout creation, no session or capacity hold is created either. Other transient dependency failures may be retried.","headers":{"Request-Id":{"description":"Identifier for this API request.","schema":{"type":"string","format":"uuid"}}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorEnvelope"}}}}}}},"/v1/activities":{"get":{"tags":["Activities"],"summary":"List activities","description":"Reverse-chronological id-keyset feed. Sweep recovery is cursor-free created[gte] overlap re-read, deduplicated by act_ id; cursor plus created[gte] is legal but cannot recover a late commit. Unknown or invalid stored snapshots are returned as an envelope with data.object redacted to its id.","security":[{"bearerAuth":[]}],"parameters":[{"schema":{"type":"integer","minimum":1,"maximum":100,"default":20},"required":false,"name":"limit","in":"query"},{"schema":{"type":"string"},"required":false,"name":"starting_after","in":"query"},{"schema":{"type":"string"},"required":false,"name":"ending_before","in":"query"},{"schema":{"type":"string","description":"An exact activity type or a resource wildcard such as order.*."},"required":false,"description":"An exact activity type or a resource wildcard such as order.*.","name":"type","in":"query"},{"schema":{"type":"string","description":"The id of the resource snapshot in data.object."},"required":false,"description":"The id of the resource snapshot in data.object.","name":"resource","in":"query"},{"schema":{"type":"string","description":"The actor id in the activity envelope."},"required":false,"description":"The actor id in the activity envelope.","name":"actor","in":"query"},{"schema":{"type":"string","format":"date-time","description":"Inclusive activity creation lower bound for reconciliation overlap re-reads."},"required":false,"description":"Inclusive activity creation lower bound for reconciliation overlap re-reads.","name":"created[gte]","in":"query"},{"schema":{"type":"string","pattern":"^org_[0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{12}$","description":"Required organizer tenant id. There is intentionally no default, even for single-grant keys.","example":"org_0199c4e2-1f7a-7c31-8d44-2b9f6a1e05c7"},"required":true,"description":"Required organizer tenant id. There is intentionally no default, even for single-grant keys.","name":"Ticketing-Organizer","in":"header"}],"responses":{"200":{"description":"A reverse-chronological keyset page of organizer-visible activities.","headers":{"Request-Id":{"description":"Identifier for this API request.","schema":{"type":"string","format":"uuid"}}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ActivityList"}}}},"400":{"description":"Invalid request","headers":{"Request-Id":{"description":"Identifier for this API request.","schema":{"type":"string","format":"uuid"}}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorEnvelope"}}}},"401":{"description":"Authentication failed","headers":{"Request-Id":{"description":"Identifier for this API request.","schema":{"type":"string","format":"uuid"}}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorEnvelope"}}}},"403":{"description":"Organizer grant required","headers":{"Request-Id":{"description":"Identifier for this API request.","schema":{"type":"string","format":"uuid"}}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorEnvelope"}}}},"404":{"description":"Resource not found","headers":{"Request-Id":{"description":"Identifier for this API request.","schema":{"type":"string","format":"uuid"}}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorEnvelope"}}}},"409":{"description":"Idempotency conflict","headers":{"Request-Id":{"description":"Identifier for this API request.","schema":{"type":"string","format":"uuid"}}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorEnvelope"}}}},"422":{"description":"Request is semantically invalid","headers":{"Request-Id":{"description":"Identifier for this API request.","schema":{"type":"string","format":"uuid"}}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorEnvelope"}}}},"429":{"description":"Rate limited","headers":{"Request-Id":{"description":"Identifier for this API request.","schema":{"type":"string","format":"uuid"}}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorEnvelope"}}}},"500":{"description":"Internal failure","headers":{"Request-Id":{"description":"Identifier for this API request.","schema":{"type":"string","format":"uuid"}}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorEnvelope"}}}},"503":{"description":"A dependency is unavailable. `live_payments_not_configured` means the platform operator must complete live Stripe credential setup before retrying; no Stripe request is made for that refusal. On checkout creation, no session or capacity hold is created either. Other transient dependency failures may be retried.","headers":{"Request-Id":{"description":"Identifier for this API request.","schema":{"type":"string","format":"uuid"}}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorEnvelope"}}}}}}},"/v1/activities/{id}":{"get":{"tags":["Activities"],"summary":"Retrieve an activity","security":[{"bearerAuth":[]}],"parameters":[{"schema":{"type":"string","pattern":"^act_[0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{12}$","example":"act_0199c4ea-6f52-7e87-b1d9-2a7c4e0b8f13"},"required":true,"name":"id","in":"path"},{"schema":{"type":"string","pattern":"^org_[0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{12}$","description":"Required organizer tenant id. There is intentionally no default, even for single-grant keys.","example":"org_0199c4e2-1f7a-7c31-8d44-2b9f6a1e05c7"},"required":true,"description":"Required organizer tenant id. There is intentionally no default, even for single-grant keys.","name":"Ticketing-Organizer","in":"header"}],"responses":{"200":{"description":"An organizer-visible activity. Unknown or invalid stored snapshots are returned with data.object redacted to its id.","headers":{"Request-Id":{"description":"Identifier for this API request.","schema":{"type":"string","format":"uuid"}}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Activity"}}}},"400":{"description":"Invalid request","headers":{"Request-Id":{"description":"Identifier for this API request.","schema":{"type":"string","format":"uuid"}}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorEnvelope"}}}},"401":{"description":"Authentication failed","headers":{"Request-Id":{"description":"Identifier for this API request.","schema":{"type":"string","format":"uuid"}}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorEnvelope"}}}},"403":{"description":"Organizer grant required","headers":{"Request-Id":{"description":"Identifier for this API request.","schema":{"type":"string","format":"uuid"}}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorEnvelope"}}}},"404":{"description":"Resource not found","headers":{"Request-Id":{"description":"Identifier for this API request.","schema":{"type":"string","format":"uuid"}}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorEnvelope"}}}},"409":{"description":"Idempotency conflict","headers":{"Request-Id":{"description":"Identifier for this API request.","schema":{"type":"string","format":"uuid"}}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorEnvelope"}}}},"422":{"description":"Request is semantically invalid","headers":{"Request-Id":{"description":"Identifier for this API request.","schema":{"type":"string","format":"uuid"}}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorEnvelope"}}}},"429":{"description":"Rate limited","headers":{"Request-Id":{"description":"Identifier for this API request.","schema":{"type":"string","format":"uuid"}}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorEnvelope"}}}},"500":{"description":"Internal failure","headers":{"Request-Id":{"description":"Identifier for this API request.","schema":{"type":"string","format":"uuid"}}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorEnvelope"}}}},"503":{"description":"A dependency is unavailable. `live_payments_not_configured` means the platform operator must complete live Stripe credential setup before retrying; no Stripe request is made for that refusal. On checkout creation, no session or capacity hold is created either. Other transient dependency failures may be retried.","headers":{"Request-Id":{"description":"Identifier for this API request.","schema":{"type":"string","format":"uuid"}}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorEnvelope"}}}}}}}},"webhooks":{}}