Contract 4d1e0ad · updated 2026-11-11
Lissen Ticketing

Memberships

Try itGET https://pr-7228-ticketing-api.erik-1c8.workers.dev/v1/membership_plans

Credentials are held in memory for this page only — never stored, never sent anywhere but the API above. They are cleared when you navigate away or close the tab.

Still needed: API key (this operation is keyed), Ticketing-Organizer (every keyed request names its tenant)

Authorization

bearerAuth
AuthorizationBearer <token>

In: header

Query Parameters

limit?integer
Range1 <= value <= 100
Default20
starting_after?string
ending_before?string

Header Parameters

Ticketing-Organizer*string

Required organizer tenant id. There is intentionally no default, even for single-grant keys.

Match^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}$

Response Body

application/json

application/json

application/json

application/json

application/json

application/json

application/json

application/json

application/json

application/json

curl -X GET "https://example.com/v1/membership_plans" \  -H "Ticketing-Organizer: string"
{  "data": [    {      "id": "string",      "name": "string",      "currency": "string",      "price_minor": 0,      "interval": "month",      "percent_off_bps": 0,      "unlocks_gated_items": true,      "active": true,      "enrollment_open": true,      "member_cap": 1,      "enrollment": {        "status": "open",        "places_left": 0      },      "required_plan_id": "string",      "exclusive_group": "string",      "grace_days": 0,      "attendance_rule": {        "threshold": 1,        "window_months": 1,        "retention": "keep",        "scope": "all_events"      },      "created_at": "2019-08-24T14:15:22Z",      "updated_at": "2019-08-24T14:15:22Z",      "metadata": {        "property1": null,        "property2": null      }    }  ],  "has_more": true}
Try itPOST https://pr-7228-ticketing-api.erik-1c8.workers.dev/v1/membership_plans

Credentials are held in memory for this page only — never stored, never sent anywhere but the API above. They are cleared when you navigate away or close the tab.

Still needed: API key (this operation is keyed), Ticketing-Organizer (every keyed request names its tenant), Idempotency-Key (required header parameter), Body (is missing name, currency, price_minor)

Authorization

bearerAuth
AuthorizationBearer <token>

In: header

Header Parameters

Ticketing-Organizer*string

Required organizer tenant id. There is intentionally no default, even for single-grant keys.

Match^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}$
Idempotency-Key*string

Required replay key for this create operation.

Length1 <= length

Request Body

application/json

TypeScript Definitions

Use the request body type in TypeScript.

name*string
Length1 <= length <= 200
currency*string
Match^[A-Z]{3}$
price_minor*integer

The price per interval in minor units. 0 makes a free plan: no payment, no connected account, no renewal.

Range0 <= value
interval?|

Required for a paid plan. Omit or send null for a free plan.

Value in

  • "month"
  • "year"
  • null
percent_off_bps?|
Range1 <= value <= 10000
unlocks_gated_items?boolean
active?boolean
enrollment_open?boolean

Close (false) or reopen (true) the plan to new signups without deactivating it. Existing memberships are untouched.

member_cap?|

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.

Range1 <= value <= 1000000
required_plan_id?|

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.

Match^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}$
exclusive_group?|

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.

Length1 <= length <= 100
grace_days?integer

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.

Range0 <= value <= 365
attendance_rule?|

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?

Response Body

application/json

application/json

application/json

application/json

application/json

application/json

application/json

application/json

application/json

application/json

curl -X POST "https://example.com/v1/membership_plans" \  -H "Ticketing-Organizer: string" \  -H "Idempotency-Key: string" \  -H "Content-Type: application/json" \  -d '{    "name": "string",    "currency": "string",    "price_minor": 0  }'
{  "id": "string",  "name": "string",  "currency": "string",  "price_minor": 0,  "interval": "month",  "percent_off_bps": 0,  "unlocks_gated_items": true,  "active": true,  "enrollment_open": true,  "member_cap": 1,  "enrollment": {    "status": "open",    "places_left": 0  },  "required_plan_id": "string",  "exclusive_group": "string",  "grace_days": 0,  "attendance_rule": {    "threshold": 1,    "window_months": 1,    "retention": "keep",    "scope": "all_events"  },  "created_at": "2019-08-24T14:15:22Z",  "updated_at": "2019-08-24T14:15:22Z",  "metadata": {    "property1": null,    "property2": null  }}
Try itGET https://pr-7228-ticketing-api.erik-1c8.workers.dev/v1/membership_plans/{id}

Credentials are held in memory for this page only — never stored, never sent anywhere but the API above. They are cleared when you navigate away or close the tab.

Still needed: API key (this operation is keyed), Ticketing-Organizer (every keyed request names its tenant), id (required path parameter)

Authorization

bearerAuth
AuthorizationBearer <token>

In: header

Path Parameters

id*string
Match^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}$

Header Parameters

Ticketing-Organizer*string

Required organizer tenant id. There is intentionally no default, even for single-grant keys.

Match^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}$

Response Body

application/json

application/json

application/json

application/json

application/json

application/json

application/json

application/json

application/json

application/json

curl -X GET "https://example.com/v1/membership_plans/string" \  -H "Ticketing-Organizer: string"
{  "id": "string",  "name": "string",  "currency": "string",  "price_minor": 0,  "interval": "month",  "percent_off_bps": 0,  "unlocks_gated_items": true,  "active": true,  "enrollment_open": true,  "member_cap": 1,  "enrollment": {    "status": "open",    "places_left": 0  },  "required_plan_id": "string",  "exclusive_group": "string",  "grace_days": 0,  "attendance_rule": {    "threshold": 1,    "window_months": 1,    "retention": "keep",    "scope": "all_events"  },  "created_at": "2019-08-24T14:15:22Z",  "updated_at": "2019-08-24T14:15:22Z",  "metadata": {    "property1": null,    "property2": null  }}
Try itPOST https://pr-7228-ticketing-api.erik-1c8.workers.dev/v1/membership_plans/{id}

Credentials are held in memory for this page only — never stored, never sent anywhere but the API above. They are cleared when you navigate away or close the tab.

Still needed: API key (this operation is keyed), Ticketing-Organizer (every keyed request names its tenant), id (required path parameter)

Authorization

bearerAuth
AuthorizationBearer <token>

In: header

Path Parameters

id*string
Match^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}$

Header Parameters

Ticketing-Organizer*string

Required organizer tenant id. There is intentionally no default, even for single-grant keys.

Match^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}$
Idempotency-Key?string

Optional replay key for this update operation.

Length1 <= length

Request Body

application/json

TypeScript Definitions

Use the request body type in TypeScript.

Properties1 <= properties
name?string
Length1 <= length <= 200
percent_off_bps?|
Range1 <= value <= 10000
unlocks_gated_items?boolean
active?boolean
enrollment_open?boolean

Close (false) or reopen (true) the plan to new signups without deactivating it. Existing memberships are untouched.

member_cap?|

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.

Range1 <= value <= 1000000
required_plan_id?|

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.

Match^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}$
exclusive_group?|

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.

Length1 <= length <= 100
grace_days?integer

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.

Range0 <= value <= 365
attendance_rule?|

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?

Response Body

application/json

application/json

application/json

application/json

application/json

application/json

application/json

application/json

application/json

application/json

curl -X POST "https://example.com/v1/membership_plans/string" \  -H "Ticketing-Organizer: string" \  -H "Content-Type: application/json" \  -d '{}'
{  "id": "string",  "name": "string",  "currency": "string",  "price_minor": 0,  "interval": "month",  "percent_off_bps": 0,  "unlocks_gated_items": true,  "active": true,  "enrollment_open": true,  "member_cap": 1,  "enrollment": {    "status": "open",    "places_left": 0  },  "required_plan_id": "string",  "exclusive_group": "string",  "grace_days": 0,  "attendance_rule": {    "threshold": 1,    "window_months": 1,    "retention": "keep",    "scope": "all_events"  },  "created_at": "2019-08-24T14:15:22Z",  "updated_at": "2019-08-24T14:15:22Z",  "metadata": {    "property1": null,    "property2": null  }}
Try itPOST https://pr-7228-ticketing-api.erik-1c8.workers.dev/v1/membership_plans/{id}/price

Credentials are held in memory for this page only — never stored, never sent anywhere but the API above. They are cleared when you navigate away or close the tab.

Still needed: API key (this operation is keyed), Ticketing-Organizer (every keyed request names its tenant), id (required path parameter), Idempotency-Key (required header parameter), Body (is missing price_minor)

Authorization

bearerAuth
AuthorizationBearer <token>

In: header

Path Parameters

id*string
Match^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}$

Header Parameters

Ticketing-Organizer*string

Required organizer tenant id. There is intentionally no default, even for single-grant keys.

Match^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}$
Idempotency-Key*string

Required replay key for this create operation.

Length1 <= length

Request Body

application/json

TypeScript Definitions

Use the request body type in TypeScript.

price_minor*integer

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.

Range0 < value

Response Body

application/json

application/json

application/json

application/json

application/json

application/json

application/json

application/json

application/json

application/json

curl -X POST "https://example.com/v1/membership_plans/string/price" \  -H "Ticketing-Organizer: string" \  -H "Idempotency-Key: string" \  -H "Content-Type: application/json" \  -d '{    "price_minor": 1  }'
{  "id": "string",  "name": "string",  "currency": "string",  "price_minor": 0,  "interval": "month",  "percent_off_bps": 0,  "unlocks_gated_items": true,  "active": true,  "enrollment_open": true,  "member_cap": 1,  "enrollment": {    "status": "open",    "places_left": 0  },  "required_plan_id": "string",  "exclusive_group": "string",  "grace_days": 0,  "attendance_rule": {    "threshold": 1,    "window_months": 1,    "retention": "keep",    "scope": "all_events"  },  "created_at": "2019-08-24T14:15:22Z",  "updated_at": "2019-08-24T14:15:22Z",  "metadata": {    "property1": null,    "property2": null  }}
Try itGET https://pr-7228-ticketing-api.erik-1c8.workers.dev/v1/membership_plan_groups

Credentials are held in memory for this page only — never stored, never sent anywhere but the API above. They are cleared when you navigate away or close the tab.

Still needed: API key (this operation is keyed), Ticketing-Organizer (every keyed request names its tenant)

Authorization

bearerAuth
AuthorizationBearer <token>

In: header

Header Parameters

Ticketing-Organizer*string

Required organizer tenant id. There is intentionally no default, even for single-grant keys.

Match^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}$

Response Body

application/json

application/json

application/json

application/json

application/json

application/json

application/json

application/json

application/json

application/json

curl -X GET "https://example.com/v1/membership_plan_groups" \  -H "Ticketing-Organizer: string"
{  "data": [    {      "object": "membership_plan_group",      "name": "string",      "plan_ids": [        "string"      ],      "conflicts": [        {          "customer_id": "string",          "membership_ids": [            "string"          ]        }      ]    }  ]}
Try itGET https://pr-7228-ticketing-api.erik-1c8.workers.dev/v1/memberships

Credentials are held in memory for this page only — never stored, never sent anywhere but the API above. They are cleared when you navigate away or close the tab.

Still needed: API key (this operation is keyed), Ticketing-Organizer (every keyed request names its tenant)

Authorization

bearerAuth
AuthorizationBearer <token>

In: header

Query Parameters

limit?integer
Range1 <= value <= 100
Default20
starting_after?string
ending_before?string
customer_id?string
Match^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?string
Length1 <= length <= 255
plan_id?string
Match^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}$
status?string

Value in

  • "incomplete"
  • "active"
  • "past_due"
  • "paused"
  • "canceled"

Header Parameters

Ticketing-Organizer*string

Required organizer tenant id. There is intentionally no default, even for single-grant keys.

Match^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}$

Response Body

application/json

application/json

application/json

application/json

application/json

application/json

application/json

application/json

application/json

application/json

curl -X GET "https://example.com/v1/memberships" \  -H "Ticketing-Organizer: string"
{  "data": [    {      "id": "string",      "object": "membership",      "plan_id": "string",      "customer_id": "string",      "status": "incomplete",      "current_period_end": "2019-08-24T14:15:22Z",      "cancel_at_period_end": true,      "started_at": "2019-08-24T14:15:22Z",      "ended_at": "2019-08-24T14:15:22Z",      "grace_started_at": "2019-08-24T14:15:22Z",      "grace_ends_at": "2019-08-24T14:15:22Z",      "in_grace": true,      "next_charge_at": "2019-08-24T14:15:22Z",      "source": "joined",      "price_minor": 0,      "price_applies_at": "2019-08-24T14:15:22Z",      "created_at": "2019-08-24T14:15:22Z",      "metadata": {        "property1": null,        "property2": null      }    }  ],  "has_more": true}
Try itPOST https://pr-7228-ticketing-api.erik-1c8.workers.dev/v1/memberships

Credentials are held in memory for this page only — never stored, never sent anywhere but the API above. They are cleared when you navigate away or close the tab.

Still needed: API key (this operation is keyed), Ticketing-Organizer (every keyed request names its tenant), Idempotency-Key (required header parameter), Body (is missing plan_id, customer)

Authorization

bearerAuth
AuthorizationBearer <token>

In: header

Header Parameters

Ticketing-Organizer*string

Required organizer tenant id. There is intentionally no default, even for single-grant keys.

Match^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}$
Idempotency-Key*string

Required replay key for this create operation.

Length1 <= length

Request Body

application/json

TypeScript Definitions

Use the request body type in TypeScript.

plan_id*string
Match^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*
first_charge_at?string

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.

Formatdate-time
saved_payment_method?

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?

Response Body

application/json

application/json

application/json

application/json

application/json

application/json

application/json

application/json

application/json

application/json

curl -X POST "https://example.com/v1/memberships" \  -H "Ticketing-Organizer: string" \  -H "Idempotency-Key: string" \  -H "Content-Type: application/json" \  -d '{    "plan_id": "string",    "customer": {      "email": "user@example.com"    }  }'
{  "membership": {    "id": "string",    "object": "membership",    "plan_id": "string",    "customer_id": "string",    "status": "incomplete",    "current_period_end": "2019-08-24T14:15:22Z",    "cancel_at_period_end": true,    "started_at": "2019-08-24T14:15:22Z",    "ended_at": "2019-08-24T14:15:22Z",    "grace_started_at": "2019-08-24T14:15:22Z",    "grace_ends_at": "2019-08-24T14:15:22Z",    "in_grace": true,    "next_charge_at": "2019-08-24T14:15:22Z",    "source": "joined",    "price_minor": 0,    "price_applies_at": "2019-08-24T14:15:22Z",    "created_at": "2019-08-24T14:15:22Z",    "metadata": {      "property1": null,      "property2": null    }  },  "payment": {    "payment_intent_client_secret": "string",    "connected_account_id": "string",    "publishable_key": "string"  },  "setup": {    "setup_intent_client_secret": "string",    "connected_account_id": "string",    "publishable_key": "string"  }}
Try itGET https://pr-7228-ticketing-api.erik-1c8.workers.dev/v1/memberships/{id}

Credentials are held in memory for this page only — never stored, never sent anywhere but the API above. They are cleared when you navigate away or close the tab.

Still needed: API key (this operation is keyed), Ticketing-Organizer (every keyed request names its tenant), id (required path parameter)

Authorization

bearerAuth
AuthorizationBearer <token>

In: header

Path Parameters

id*string
Match^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}$

Header Parameters

Ticketing-Organizer*string

Required organizer tenant id. There is intentionally no default, even for single-grant keys.

Match^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}$

Response Body

application/json

application/json

application/json

application/json

application/json

application/json

application/json

application/json

application/json

application/json

curl -X GET "https://example.com/v1/memberships/string" \  -H "Ticketing-Organizer: string"
{  "id": "string",  "object": "membership",  "plan_id": "string",  "customer_id": "string",  "status": "incomplete",  "current_period_end": "2019-08-24T14:15:22Z",  "cancel_at_period_end": true,  "started_at": "2019-08-24T14:15:22Z",  "ended_at": "2019-08-24T14:15:22Z",  "grace_started_at": "2019-08-24T14:15:22Z",  "grace_ends_at": "2019-08-24T14:15:22Z",  "in_grace": true,  "next_charge_at": "2019-08-24T14:15:22Z",  "source": "joined",  "price_minor": 0,  "price_applies_at": "2019-08-24T14:15:22Z",  "created_at": "2019-08-24T14:15:22Z",  "metadata": {    "property1": null,    "property2": null  }}
Try itPOST https://pr-7228-ticketing-api.erik-1c8.workers.dev/v1/memberships/{id}/payment_method_update_sessions

Credentials are held in memory for this page only — never stored, never sent anywhere but the API above. They are cleared when you navigate away or close the tab.

Still needed: API key (this operation is keyed), Ticketing-Organizer (every keyed request names its tenant), id (required path parameter), Body (is missing return_url)

Authorization

bearerAuth
AuthorizationBearer <token>

In: header

Path Parameters

id*string
Match^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}$

Header Parameters

Ticketing-Organizer*string

Required organizer tenant id. There is intentionally no default, even for single-grant keys.

Match^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}$

Request Body

application/json

TypeScript Definitions

Use the request body type in TypeScript.

return_url*string

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.

Formaturi
customer_id?string

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.

Match^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}$

Response Body

application/json

application/json

application/json

application/json

application/json

application/json

application/json

application/json

application/json

application/json

curl -X POST "https://example.com/v1/memberships/string/payment_method_update_sessions" \  -H "Ticketing-Organizer: string" \  -H "Content-Type: application/json" \  -d '{    "return_url": "http://example.com"  }'
{  "object": "membership_payment_method_update_session",  "membership_id": "string",  "url": "http://example.com"}
Try itPOST https://pr-7228-ticketing-api.erik-1c8.workers.dev/v1/memberships/{id}/cancel

Credentials are held in memory for this page only — never stored, never sent anywhere but the API above. They are cleared when you navigate away or close the tab.

Still needed: API key (this operation is keyed), Ticketing-Organizer (every keyed request names its tenant), id (required path parameter)

Authorization

bearerAuth
AuthorizationBearer <token>

In: header

Path Parameters

id*string
Match^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}$

Header Parameters

Ticketing-Organizer*string

Required organizer tenant id. There is intentionally no default, even for single-grant keys.

Match^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}$
Idempotency-Key?string

Optional replay key for this update operation.

Length1 <= length

Response Body

application/json

application/json

application/json

application/json

application/json

application/json

application/json

application/json

application/json

application/json

curl -X POST "https://example.com/v1/memberships/string/cancel" \  -H "Ticketing-Organizer: string"
{  "id": "string",  "object": "membership",  "plan_id": "string",  "customer_id": "string",  "status": "incomplete",  "current_period_end": "2019-08-24T14:15:22Z",  "cancel_at_period_end": true,  "started_at": "2019-08-24T14:15:22Z",  "ended_at": "2019-08-24T14:15:22Z",  "grace_started_at": "2019-08-24T14:15:22Z",  "grace_ends_at": "2019-08-24T14:15:22Z",  "in_grace": true,  "next_charge_at": "2019-08-24T14:15:22Z",  "source": "joined",  "price_minor": 0,  "price_applies_at": "2019-08-24T14:15:22Z",  "created_at": "2019-08-24T14:15:22Z",  "metadata": {    "property1": null,    "property2": null  }}
Try itPOST https://pr-7228-ticketing-api.erik-1c8.workers.dev/v1/memberships/{id}/pause

Credentials are held in memory for this page only — never stored, never sent anywhere but the API above. They are cleared when you navigate away or close the tab.

Still needed: API key (this operation is keyed), Ticketing-Organizer (every keyed request names its tenant), id (required path parameter), Idempotency-Key (required header parameter)

Authorization

bearerAuth
AuthorizationBearer <token>

In: header

Path Parameters

id*string
Match^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}$

Header Parameters

Ticketing-Organizer*string

Required organizer tenant id. There is intentionally no default, even for single-grant keys.

Match^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}$
Idempotency-Key*string

Required replay key for this create operation.

Length1 <= length

Response Body

application/json

application/json

application/json

application/json

application/json

application/json

application/json

application/json

application/json

application/json

curl -X POST "https://example.com/v1/memberships/string/pause" \  -H "Ticketing-Organizer: string" \  -H "Idempotency-Key: string"
{  "id": "string",  "object": "membership",  "plan_id": "string",  "customer_id": "string",  "status": "incomplete",  "current_period_end": "2019-08-24T14:15:22Z",  "cancel_at_period_end": true,  "started_at": "2019-08-24T14:15:22Z",  "ended_at": "2019-08-24T14:15:22Z",  "grace_started_at": "2019-08-24T14:15:22Z",  "grace_ends_at": "2019-08-24T14:15:22Z",  "in_grace": true,  "next_charge_at": "2019-08-24T14:15:22Z",  "source": "joined",  "price_minor": 0,  "price_applies_at": "2019-08-24T14:15:22Z",  "created_at": "2019-08-24T14:15:22Z",  "metadata": {    "property1": null,    "property2": null  }}
Try itPOST https://pr-7228-ticketing-api.erik-1c8.workers.dev/v1/memberships/{id}/resume

Credentials are held in memory for this page only — never stored, never sent anywhere but the API above. They are cleared when you navigate away or close the tab.

Still needed: API key (this operation is keyed), Ticketing-Organizer (every keyed request names its tenant), id (required path parameter), Idempotency-Key (required header parameter)

Authorization

bearerAuth
AuthorizationBearer <token>

In: header

Path Parameters

id*string
Match^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}$

Header Parameters

Ticketing-Organizer*string

Required organizer tenant id. There is intentionally no default, even for single-grant keys.

Match^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}$
Idempotency-Key*string

Required replay key for this create operation.

Length1 <= length

Response Body

application/json

application/json

application/json

application/json

application/json

application/json

application/json

application/json

application/json

application/json

curl -X POST "https://example.com/v1/memberships/string/resume" \  -H "Ticketing-Organizer: string" \  -H "Idempotency-Key: string"
{  "membership": {    "id": "string",    "object": "membership",    "plan_id": "string",    "customer_id": "string",    "status": "incomplete",    "current_period_end": "2019-08-24T14:15:22Z",    "cancel_at_period_end": true,    "started_at": "2019-08-24T14:15:22Z",    "ended_at": "2019-08-24T14:15:22Z",    "grace_started_at": "2019-08-24T14:15:22Z",    "grace_ends_at": "2019-08-24T14:15:22Z",    "in_grace": true,    "next_charge_at": "2019-08-24T14:15:22Z",    "source": "joined",    "price_minor": 0,    "price_applies_at": "2019-08-24T14:15:22Z",    "created_at": "2019-08-24T14:15:22Z",    "metadata": {      "property1": null,      "property2": null    }  },  "payment": {    "payment_intent_client_secret": "string",    "connected_account_id": "string",    "publishable_key": "string"  }}
Try itPOST https://pr-7228-ticketing-api.erik-1c8.workers.dev/v1/memberships/{id}/undo_cancellation

Credentials are held in memory for this page only — never stored, never sent anywhere but the API above. They are cleared when you navigate away or close the tab.

Still needed: API key (this operation is keyed), Ticketing-Organizer (every keyed request names its tenant), id (required path parameter), Idempotency-Key (required header parameter)

Authorization

bearerAuth
AuthorizationBearer <token>

In: header

Path Parameters

id*string
Match^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}$

Header Parameters

Ticketing-Organizer*string

Required organizer tenant id. There is intentionally no default, even for single-grant keys.

Match^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}$
Idempotency-Key*string

Required replay key for this create operation.

Length1 <= length

Response Body

application/json

application/json

application/json

application/json

application/json

application/json

application/json

application/json

application/json

application/json

curl -X POST "https://example.com/v1/memberships/string/undo_cancellation" \  -H "Ticketing-Organizer: string" \  -H "Idempotency-Key: string"
{  "id": "string",  "object": "membership",  "plan_id": "string",  "customer_id": "string",  "status": "incomplete",  "current_period_end": "2019-08-24T14:15:22Z",  "cancel_at_period_end": true,  "started_at": "2019-08-24T14:15:22Z",  "ended_at": "2019-08-24T14:15:22Z",  "grace_started_at": "2019-08-24T14:15:22Z",  "grace_ends_at": "2019-08-24T14:15:22Z",  "in_grace": true,  "next_charge_at": "2019-08-24T14:15:22Z",  "source": "joined",  "price_minor": 0,  "price_applies_at": "2019-08-24T14:15:22Z",  "created_at": "2019-08-24T14:15:22Z",  "metadata": {    "property1": null,    "property2": null  }}
Try itPOST https://pr-7228-ticketing-api.erik-1c8.workers.dev/v1/memberships/{id}/next_charge

Credentials are held in memory for this page only — never stored, never sent anywhere but the API above. They are cleared when you navigate away or close the tab.

Still needed: API key (this operation is keyed), Ticketing-Organizer (every keyed request names its tenant), id (required path parameter), Idempotency-Key (required header parameter), Body (is missing at)

Authorization

bearerAuth
AuthorizationBearer <token>

In: header

Path Parameters

id*string
Match^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}$

Header Parameters

Ticketing-Organizer*string

Required organizer tenant id. There is intentionally no default, even for single-grant keys.

Match^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}$
Idempotency-Key*string

Required replay key for this create operation.

Length1 <= length

Request Body

application/json

TypeScript Definitions

Use the request body type in TypeScript.

at*|

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.

Response Body

application/json

application/json

application/json

application/json

application/json

application/json

application/json

application/json

application/json

application/json

curl -X POST "https://example.com/v1/memberships/string/next_charge" \  -H "Ticketing-Organizer: string" \  -H "Idempotency-Key: string" \  -H "Content-Type: application/json" \  -d '{    "at": "now"  }'
{  "membership": {    "id": "string",    "object": "membership",    "plan_id": "string",    "customer_id": "string",    "status": "incomplete",    "current_period_end": "2019-08-24T14:15:22Z",    "cancel_at_period_end": true,    "started_at": "2019-08-24T14:15:22Z",    "ended_at": "2019-08-24T14:15:22Z",    "grace_started_at": "2019-08-24T14:15:22Z",    "grace_ends_at": "2019-08-24T14:15:22Z",    "in_grace": true,    "next_charge_at": "2019-08-24T14:15:22Z",    "source": "joined",    "price_minor": 0,    "price_applies_at": "2019-08-24T14:15:22Z",    "created_at": "2019-08-24T14:15:22Z",    "metadata": {      "property1": null,      "property2": null    }  },  "charge_attempt": {    "outcome": "paid",    "decline_code": "string"  }}
Try itGET https://pr-7228-ticketing-api.erik-1c8.workers.dev/v1/membership_benefits

Credentials are held in memory for this page only — never stored, never sent anywhere but the API above. They are cleared when you navigate away or close the tab.

Still needed: API key (this operation is keyed), Ticketing-Organizer (every keyed request names its tenant)

Authorization

bearerAuth
AuthorizationBearer <token>

In: header

Query Parameters

limit?integer
Range1 <= value <= 100
Default20
starting_after?string
ending_before?string
plan_id?string

Only the benefits of this plan.

Match^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}$

Header Parameters

Ticketing-Organizer*string

Required organizer tenant id. There is intentionally no default, even for single-grant keys.

Match^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}$

Response Body

application/json

application/json

application/json

application/json

application/json

application/json

application/json

application/json

application/json

application/json

curl -X GET "https://example.com/v1/membership_benefits" \  -H "Ticketing-Organizer: string"
{  "data": [    {      "id": "string",      "object": "membership_benefit",      "plan_id": "string",      "name": "string",      "kind": "percent_off",      "percent_off_bps": 1,      "guest_allowance": {        "units": 1,        "mode": "per_event",        "period": "week"      },      "created_at": "2019-08-24T14:15:22Z",      "updated_at": "2019-08-24T14:15:22Z",      "metadata": {        "property1": null,        "property2": null      }    }  ],  "has_more": true}
Try itPOST https://pr-7228-ticketing-api.erik-1c8.workers.dev/v1/membership_benefits

Credentials are held in memory for this page only — never stored, never sent anywhere but the API above. They are cleared when you navigate away or close the tab.

Still needed: API key (this operation is keyed), Ticketing-Organizer (every keyed request names its tenant), Idempotency-Key (required header parameter), Body (is missing plan_id, name, kind)

Authorization

bearerAuth
AuthorizationBearer <token>

In: header

Header Parameters

Ticketing-Organizer*string

Required organizer tenant id. There is intentionally no default, even for single-grant keys.

Match^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}$
Idempotency-Key*string

Required replay key for this create operation.

Length1 <= length

Request Body

application/json

TypeScript Definitions

Use the request body type in TypeScript.

plan_id*string

The plan whose active members receive the benefit. Fixed once created.

Match^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*string
Length1 <= length <= 200
kind*string

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.

Value in

  • "percent_off"
  • "unlock"
  • "guest_invitation"
  • "waitlist_priority"
  • "fee_waiver"
percent_off_bps?|

Required for percent_off, in basis points (1000 is 10%). Omit or send null for the other kinds.

Range1 <= value <= 10000
guest_allowance?|

Required for guest_invitation; omit or send null for the other kinds.

metadata?

Response Body

application/json

application/json

application/json

application/json

application/json

application/json

application/json

application/json

application/json

application/json

curl -X POST "https://example.com/v1/membership_benefits" \  -H "Ticketing-Organizer: string" \  -H "Idempotency-Key: string" \  -H "Content-Type: application/json" \  -d '{    "plan_id": "string",    "name": "string",    "kind": "percent_off"  }'
{  "id": "string",  "object": "membership_benefit",  "plan_id": "string",  "name": "string",  "kind": "percent_off",  "percent_off_bps": 1,  "guest_allowance": {    "units": 1,    "mode": "per_event",    "period": "week"  },  "created_at": "2019-08-24T14:15:22Z",  "updated_at": "2019-08-24T14:15:22Z",  "metadata": {    "property1": null,    "property2": null  }}
Try itGET https://pr-7228-ticketing-api.erik-1c8.workers.dev/v1/membership_benefits/{id}

Credentials are held in memory for this page only — never stored, never sent anywhere but the API above. They are cleared when you navigate away or close the tab.

Still needed: API key (this operation is keyed), Ticketing-Organizer (every keyed request names its tenant), id (required path parameter)

Authorization

bearerAuth
AuthorizationBearer <token>

In: header

Path Parameters

id*string
Match^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}$

Header Parameters

Ticketing-Organizer*string

Required organizer tenant id. There is intentionally no default, even for single-grant keys.

Match^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}$

Response Body

application/json

application/json

application/json

application/json

application/json

application/json

application/json

application/json

application/json

application/json

curl -X GET "https://example.com/v1/membership_benefits/string" \  -H "Ticketing-Organizer: string"
{  "id": "string",  "object": "membership_benefit",  "plan_id": "string",  "name": "string",  "kind": "percent_off",  "percent_off_bps": 1,  "guest_allowance": {    "units": 1,    "mode": "per_event",    "period": "week"  },  "created_at": "2019-08-24T14:15:22Z",  "updated_at": "2019-08-24T14:15:22Z",  "metadata": {    "property1": null,    "property2": null  }}
Try itPATCH https://pr-7228-ticketing-api.erik-1c8.workers.dev/v1/membership_benefits/{id}

Credentials are held in memory for this page only — never stored, never sent anywhere but the API above. They are cleared when you navigate away or close the tab.

Still needed: API key (this operation is keyed), Ticketing-Organizer (every keyed request names its tenant), id (required path parameter)

Authorization

bearerAuth
AuthorizationBearer <token>

In: header

Path Parameters

id*string
Match^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}$

Header Parameters

Ticketing-Organizer*string

Required organizer tenant id. There is intentionally no default, even for single-grant keys.

Match^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}$
Idempotency-Key?string

Optional replay key for this update operation.

Length1 <= length

Request Body

application/json

TypeScript Definitions

Use the request body type in TypeScript.

Properties1 <= properties
name?string
Length1 <= length <= 200
percent_off_bps?integer

Only for a percent_off benefit.

Range1 <= value <= 10000
guest_allowance?

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?

Response Body

application/json

application/json

application/json

application/json

application/json

application/json

application/json

application/json

application/json

application/json

curl -X PATCH "https://example.com/v1/membership_benefits/string" \  -H "Ticketing-Organizer: string" \  -H "Content-Type: application/json" \  -d '{}'
{  "id": "string",  "object": "membership_benefit",  "plan_id": "string",  "name": "string",  "kind": "percent_off",  "percent_off_bps": 1,  "guest_allowance": {    "units": 1,    "mode": "per_event",    "period": "week"  },  "created_at": "2019-08-24T14:15:22Z",  "updated_at": "2019-08-24T14:15:22Z",  "metadata": {    "property1": null,    "property2": null  }}
Try itGET https://pr-7228-ticketing-api.erik-1c8.workers.dev/v1/membership_benefits/{id}/assignments

Credentials are held in memory for this page only — never stored, never sent anywhere but the API above. They are cleared when you navigate away or close the tab.

Still needed: API key (this operation is keyed), Ticketing-Organizer (every keyed request names its tenant), id (required path parameter)

Authorization

bearerAuth
AuthorizationBearer <token>

In: header

Path Parameters

id*string
Match^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}$

Query Parameters

limit?integer
Range1 <= value <= 100
Default20
starting_after?string
ending_before?string

Header Parameters

Ticketing-Organizer*string

Required organizer tenant id. There is intentionally no default, even for single-grant keys.

Match^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}$

Response Body

application/json

application/json

application/json

application/json

application/json

application/json

application/json

application/json

application/json

application/json

curl -X GET "https://example.com/v1/membership_benefits/string/assignments" \  -H "Ticketing-Organizer: string"
{  "data": [    {      "id": "string",      "object": "membership_benefit_assignment",      "benefit_id": "string",      "event_id": "string",      "scope": "event",      "item_ids": [        "string"      ],      "created_at": "2019-08-24T14:15:22Z",      "updated_at": "2019-08-24T14:15:22Z"    }  ],  "has_more": true}
Try itGET https://pr-7228-ticketing-api.erik-1c8.workers.dev/v1/events/{id}/membership_benefits

Credentials are held in memory for this page only — never stored, never sent anywhere but the API above. They are cleared when you navigate away or close the tab.

Still needed: API key (this operation is keyed), Ticketing-Organizer (every keyed request names its tenant), id (required path parameter)

Authorization

bearerAuth
AuthorizationBearer <token>

In: header

Path Parameters

id*string
Match^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}$

Query Parameters

limit?integer
Range1 <= value <= 100
Default20
starting_after?string
ending_before?string

Header Parameters

Ticketing-Organizer*string

Required organizer tenant id. There is intentionally no default, even for single-grant keys.

Match^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}$

Response Body

application/json

application/json

application/json

application/json

application/json

application/json

application/json

application/json

application/json

application/json

curl -X GET "https://example.com/v1/events/string/membership_benefits" \  -H "Ticketing-Organizer: string"
{  "data": [    {      "id": "string",      "object": "membership_benefit_assignment",      "benefit_id": "string",      "event_id": "string",      "scope": "event",      "item_ids": [        "string"      ],      "created_at": "2019-08-24T14:15:22Z",      "updated_at": "2019-08-24T14:15:22Z"    }  ],  "has_more": true}
Try itPUT https://pr-7228-ticketing-api.erik-1c8.workers.dev/v1/events/{id}/membership_benefits/{benefit_id}

Credentials are held in memory for this page only — never stored, never sent anywhere but the API above. They are cleared when you navigate away or close the tab.

Still needed: API key (this operation is keyed), Ticketing-Organizer (every keyed request names its tenant), id (required path parameter), benefit_id (required path parameter), Body (is missing scope)

Authorization

bearerAuth
AuthorizationBearer <token>

In: header

Path Parameters

id*string
Match^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}$
benefit_id*string
Match^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}$

Header Parameters

Ticketing-Organizer*string

Required organizer tenant id. There is intentionally no default, even for single-grant keys.

Match^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}$
Idempotency-Key?string

Optional replay key for this update operation.

Length1 <= length

Request Body

application/json

TypeScript Definitions

Use the request body type in TypeScript.

scope*string

event covers every item of the event, including items added later. items covers only item_ids.

Value in

  • "event"
  • "items"
item_ids?array<>

Required and non-empty for items: items of this event. Omit or send an empty list for event.

Response Body

application/json

application/json

application/json

application/json

application/json

application/json

application/json

application/json

application/json

application/json

curl -X PUT "https://example.com/v1/events/string/membership_benefits/string" \  -H "Ticketing-Organizer: string" \  -H "Content-Type: application/json" \  -d '{    "scope": "event"  }'
{  "id": "string",  "object": "membership_benefit_assignment",  "benefit_id": "string",  "event_id": "string",  "scope": "event",  "item_ids": [    "string"  ],  "created_at": "2019-08-24T14:15:22Z",  "updated_at": "2019-08-24T14:15:22Z"}
Try itDELETE https://pr-7228-ticketing-api.erik-1c8.workers.dev/v1/events/{id}/membership_benefits/{benefit_id}

Credentials are held in memory for this page only — never stored, never sent anywhere but the API above. They are cleared when you navigate away or close the tab.

Still needed: API key (this operation is keyed), Ticketing-Organizer (every keyed request names its tenant), id (required path parameter), benefit_id (required path parameter)

Authorization

bearerAuth
AuthorizationBearer <token>

In: header

Path Parameters

id*string
Match^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}$
benefit_id*string
Match^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}$

Header Parameters

Ticketing-Organizer*string

Required organizer tenant id. There is intentionally no default, even for single-grant keys.

Match^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}$
Idempotency-Key?string

Optional replay key for this update operation.

Length1 <= length

Response Body

application/json

application/json

application/json

application/json

application/json

application/json

application/json

application/json

application/json

application/json

curl -X DELETE "https://example.com/v1/events/string/membership_benefits/string" \  -H "Ticketing-Organizer: string"
{  "id": "string",  "object": "membership_benefit_assignment",  "benefit_id": "string",  "event_id": "string",  "scope": "event",  "item_ids": [    "string"  ],  "created_at": "2019-08-24T14:15:22Z",  "updated_at": "2019-08-24T14:15:22Z"}
Try itGET https://pr-7228-ticketing-api.erik-1c8.workers.dev/v1/events/{id}/qualifying_plans

Credentials are held in memory for this page only — never stored, never sent anywhere but the API above. They are cleared when you navigate away or close the tab.

Still needed: API key (this operation is keyed), Ticketing-Organizer (every keyed request names its tenant), id (required path parameter)

Authorization

bearerAuth
AuthorizationBearer <token>

In: header

Path Parameters

id*string
Match^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}$

Query Parameters

limit?integer
Range1 <= value <= 100
Default20
starting_after?string
ending_before?string

Header Parameters

Ticketing-Organizer*string

Required organizer tenant id. There is intentionally no default, even for single-grant keys.

Match^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}$

Response Body

application/json

application/json

application/json

application/json

application/json

application/json

application/json

application/json

application/json

application/json

curl -X GET "https://example.com/v1/events/string/qualifying_plans" \  -H "Ticketing-Organizer: string"
{  "data": [    {      "id": "string",      "object": "membership_qualifying_event",      "plan_id": "string",      "event_id": "string",      "created_at": "2019-08-24T14:15:22Z"    }  ],  "has_more": true}
Try itGET https://pr-7228-ticketing-api.erik-1c8.workers.dev/v1/membership_plans/{id}/qualifying_events

Credentials are held in memory for this page only — never stored, never sent anywhere but the API above. They are cleared when you navigate away or close the tab.

Still needed: API key (this operation is keyed), Ticketing-Organizer (every keyed request names its tenant), id (required path parameter)

Authorization

bearerAuth
AuthorizationBearer <token>

In: header

Path Parameters

id*string
Match^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}$

Query Parameters

limit?integer
Range1 <= value <= 100
Default20
starting_after?string
ending_before?string

Header Parameters

Ticketing-Organizer*string

Required organizer tenant id. There is intentionally no default, even for single-grant keys.

Match^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}$

Response Body

application/json

application/json

application/json

application/json

application/json

application/json

application/json

application/json

application/json

application/json

curl -X GET "https://example.com/v1/membership_plans/string/qualifying_events" \  -H "Ticketing-Organizer: string"
{  "data": [    {      "id": "string",      "object": "membership_qualifying_event",      "plan_id": "string",      "event_id": "string",      "created_at": "2019-08-24T14:15:22Z"    }  ],  "has_more": true}
Try itPUT https://pr-7228-ticketing-api.erik-1c8.workers.dev/v1/events/{id}/qualifying_plans/{plan_id}

Credentials are held in memory for this page only — never stored, never sent anywhere but the API above. They are cleared when you navigate away or close the tab.

Still needed: API key (this operation is keyed), Ticketing-Organizer (every keyed request names its tenant), id (required path parameter), plan_id (required path parameter)

Authorization

bearerAuth
AuthorizationBearer <token>

In: header

Path Parameters

id*string
Match^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}$
plan_id*string
Match^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}$

Header Parameters

Ticketing-Organizer*string

Required organizer tenant id. There is intentionally no default, even for single-grant keys.

Match^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}$
Idempotency-Key?string

Optional replay key for this update operation.

Length1 <= length

Response Body

application/json

application/json

application/json

application/json

application/json

application/json

application/json

application/json

application/json

application/json

curl -X PUT "https://example.com/v1/events/string/qualifying_plans/string" \  -H "Ticketing-Organizer: string"
{  "id": "string",  "object": "membership_qualifying_event",  "plan_id": "string",  "event_id": "string",  "created_at": "2019-08-24T14:15:22Z"}
Try itDELETE https://pr-7228-ticketing-api.erik-1c8.workers.dev/v1/events/{id}/qualifying_plans/{plan_id}

Credentials are held in memory for this page only — never stored, never sent anywhere but the API above. They are cleared when you navigate away or close the tab.

Still needed: API key (this operation is keyed), Ticketing-Organizer (every keyed request names its tenant), id (required path parameter), plan_id (required path parameter)

Authorization

bearerAuth
AuthorizationBearer <token>

In: header

Path Parameters

id*string
Match^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}$
plan_id*string
Match^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}$

Header Parameters

Ticketing-Organizer*string

Required organizer tenant id. There is intentionally no default, even for single-grant keys.

Match^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}$
Idempotency-Key?string

Optional replay key for this update operation.

Length1 <= length

Response Body

application/json

application/json

application/json

application/json

application/json

application/json

application/json

application/json

application/json

application/json

curl -X DELETE "https://example.com/v1/events/string/qualifying_plans/string" \  -H "Ticketing-Organizer: string"
{  "id": "string",  "object": "membership_qualifying_event",  "plan_id": "string",  "event_id": "string",  "created_at": "2019-08-24T14:15:22Z"}
Try itGET https://pr-7228-ticketing-api.erik-1c8.workers.dev/v1/membership_plans/{id}/qualification

Credentials are held in memory for this page only — never stored, never sent anywhere but the API above. They are cleared when you navigate away or close the tab.

Still needed: API key (this operation is keyed), Ticketing-Organizer (every keyed request names its tenant), id (required path parameter), customer_id (required query parameter)

Authorization

bearerAuth
AuthorizationBearer <token>

In: header

Path Parameters

id*string
Match^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}$

Query Parameters

customer_id*string

The customer whose progress to read.

Match^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}$

Header Parameters

Ticketing-Organizer*string

Required organizer tenant id. There is intentionally no default, even for single-grant keys.

Match^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}$

Response Body

application/json

application/json

application/json

application/json

application/json

application/json

application/json

application/json

application/json

application/json

curl -X GET "https://example.com/v1/membership_plans/string/qualification?customer_id=string" \  -H "Ticketing-Organizer: string"
{  "object": "membership_qualification",  "plan_id": "string",  "customer_id": "string",  "attendance_rule": {    "threshold": 1,    "window_months": 1,    "retention": "keep",    "scope": "all_events"  },  "visits_counted": 0,  "threshold": 1,  "window_start": "2019-08-24T14:15:22Z",  "window_end": "2019-08-24T14:15:22Z",  "qualified": true,  "qualified_until": "2019-08-24T14:15:22Z",  "visits": [    {      "event_id": "string",      "first_admitted_at": "2019-08-24T14:15:22Z"    }  ],  "membership_id": "string",  "earned": true}
Try itGET https://pr-7228-ticketing-api.erik-1c8.workers.dev/v1/membership_benefits/{id}/guest_invitations

Credentials are held in memory for this page only — never stored, never sent anywhere but the API above. They are cleared when you navigate away or close the tab.

Still needed: API key (this operation is keyed), Ticketing-Organizer (every keyed request names its tenant), id (required path parameter)

Authorization

bearerAuth
AuthorizationBearer <token>

In: header

Path Parameters

id*string
Match^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}$

Query Parameters

limit?integer
Range1 <= value <= 100
Default20
starting_after?string
ending_before?string
membership_id?string

Only the invitations made under this membership.

Match^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}$
event_id?string

Only the invitations to this event.

Match^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}$

Header Parameters

Ticketing-Organizer*string

Required organizer tenant id. There is intentionally no default, even for single-grant keys.

Match^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}$

Response Body

application/json

application/json

application/json

application/json

application/json

application/json

application/json

application/json

application/json

application/json

curl -X GET "https://example.com/v1/membership_benefits/string/guest_invitations" \  -H "Ticketing-Organizer: string"
{  "data": [    {      "object": "guest_invitation_usage",      "id": "string",      "benefit_id": "string",      "membership_id": "string",      "inviter_customer_id": "string",      "event_id": "string",      "order_id": "string",      "bucket": "string",      "units": 1,      "returned_units": 0,      "created_at": "2019-08-24T14:15:22Z"    }  ],  "has_more": true}
Try itGET https://pr-7228-ticketing-api.erik-1c8.workers.dev/v1/memberships/{id}/guest_allowance

Credentials are held in memory for this page only — never stored, never sent anywhere but the API above. They are cleared when you navigate away or close the tab.

Still needed: API key (this operation is keyed), Ticketing-Organizer (every keyed request names its tenant), id (required path parameter), benefit_id (required query parameter)

Authorization

bearerAuth
AuthorizationBearer <token>

In: header

Path Parameters

id*string
Match^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}$

Query Parameters

benefit_id*string

A guest_invitation benefit of the membership's plan.

Match^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?string

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.

Match^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}$

Header Parameters

Ticketing-Organizer*string

Required organizer tenant id. There is intentionally no default, even for single-grant keys.

Match^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}$

Response Body

application/json

application/json

application/json

application/json

application/json

application/json

application/json

application/json

application/json

application/json

curl -X GET "https://example.com/v1/memberships/string/guest_allowance?benefit_id=string" \  -H "Ticketing-Organizer: string"
{  "object": "guest_allowance",  "benefit_id": "string",  "membership_id": "string",  "customer_id": "string",  "event_id": "string",  "mode": "per_event",  "period": "week",  "bucket": {    "key": "string",    "starts_at": "2019-08-24T14:15:22Z",    "ends_at": "2019-08-24T14:15:22Z"  },  "limit_units": 1,  "used_units": 0,  "remaining_units": 0}
Try itPOST https://pr-7228-ticketing-api.erik-1c8.workers.dev/v1/guest_invitations

Credentials are held in memory for this page only — never stored, never sent anywhere but the API above. They are cleared when you navigate away or close the tab.

Still needed: API key (this operation is keyed), Ticketing-Organizer (every keyed request names its tenant), Idempotency-Key (required header parameter), Body (is missing membership_id, benefit_id, item_id, recipient)

Authorization

bearerAuth
AuthorizationBearer <token>

In: header

Header Parameters

Ticketing-Organizer*string

Required organizer tenant id. There is intentionally no default, even for single-grant keys.

Match^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}$
Idempotency-Key*string

Required replay key for this create operation.

Length1 <= length

Request Body

application/json

TypeScript Definitions

Use the request body type in TypeScript.

membership_id*string

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).

Match^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}$
benefit_id*string

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).

Match^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}$
item_id*string

The ticket type the guest receives.

Match^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?integer

Guest tickets to issue. The allowance counts these units, not requests.

Range0 < value <= 100
Default1
recipient*
metadata?

Response Body

application/json

application/json

application/json

application/json

application/json

application/json

application/json

application/json

application/json

application/json

curl -X POST "https://example.com/v1/guest_invitations" \  -H "Ticketing-Organizer: string" \  -H "Idempotency-Key: string" \  -H "Content-Type: application/json" \  -d '{    "membership_id": "string",    "benefit_id": "string",    "item_id": "string",    "recipient": {}  }'
{  "object": "guest_invitation",  "inviter": {    "membership_id": "string",    "customer_id": "string",    "benefit_id": "string"  },  "order": {    "id": "string",    "customer_id": "string",    "checkout_session_id": "string",    "issuance": {      "type": "checkout",      "capacity_override": true,      "invitation": {        "usage_id": "string",        "allocation_id": "string",        "pool_id": "string",        "units": 1,        "returned_units": 0      },      "guest_invitation": {        "benefit_id": "string",        "membership_id": "string",        "inviter_customer_id": "string",        "bucket": "string",        "usage_id": "string",        "units": 1,        "returned_units": 0      }    },    "currency": "string",    "total_minor": 0,    "booking_fee_minor": 0,    "platform_fee_minor": 0,    "payment_state": "string",    "buyer_email": "string",    "buyer_name": "string",    "buyer_phone": null,    "applied_effects": [      null    ],    "positions": [      {        "id": "string",        "order_id": "string",        "customer_id": "string",        "holder_customer_id": "string",        "item_id": "string",        "event_id": "string",        "description": "string",        "currency": "string",        "list_price_minor": 0,        "price_minor": 0,        "booking_fee_minor": 0,        "platform_fee_minor": 0,        "admission_code": "string",        "status": "live",        "revoked_at": "2019-08-24T14:15:22Z",        "revocation_reason": "string",        "event": {          "id": "string",          "name": "string",          "starts_at": "2019-08-24T14:15:22Z",          "timezone": "string",          "venue_name": "string",          "venue_address": "string"        },        "created": "2019-08-24T14:15:22Z",        "metadata": {          "property1": null,          "property2": null        },        "qr_image_url": "string"      }    ],    "event": {      "id": "string",      "name": "string",      "starts_at": "2019-08-24T14:15:22Z",      "timezone": "string",      "venue_name": "string",      "venue_address": "string"    },    "psp_refs": {      "property1": null,      "property2": null    },    "created": "2019-08-24T14:15:22Z",    "metadata": {      "property1": null,      "property2": null    },    "amount_refunded_minor": 0,    "amount_refundable_minor": 0  },  "allowance": {    "object": "guest_allowance",    "benefit_id": "string",    "membership_id": "string",    "customer_id": "string",    "event_id": "string",    "mode": "per_event",    "period": "week",    "bucket": {      "key": "string",      "starts_at": "2019-08-24T14:15:22Z",      "ends_at": "2019-08-24T14:15:22Z"    },    "limit_units": 1,    "used_units": 0,    "remaining_units": 0  }}
Try itGET https://pr-7228-ticketing-api.erik-1c8.workers.dev/v1/memberships/{id}/charges

Credentials are held in memory for this page only — never stored, never sent anywhere but the API above. They are cleared when you navigate away or close the tab.

Still needed: API key (this operation is keyed), Ticketing-Organizer (every keyed request names its tenant), id (required path parameter)

Authorization

bearerAuth
AuthorizationBearer <token>

In: header

Path Parameters

id*string
Match^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}$

Query Parameters

limit?integer
Range1 <= value <= 100
Default20
starting_after?string
ending_before?string

Header Parameters

Ticketing-Organizer*string

Required organizer tenant id. There is intentionally no default, even for single-grant keys.

Match^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}$

Response Body

application/json

application/json

application/json

application/json

application/json

application/json

application/json

application/json

application/json

application/json

curl -X GET "https://example.com/v1/memberships/string/charges" \  -H "Ticketing-Organizer: string"
{  "data": [    {      "id": "string",      "object": "membership_charge",      "membership_id": "string",      "currency": "string",      "amount_minor": 1,      "application_fee_minor": 0,      "tax_minor": 0,      "amount_refunded_minor": 0,      "amount_refundable_minor": 0,      "refundable": true,      "psp_refs": {        "property1": null,        "property2": null      },      "created": "2019-08-24T14:15:22Z"    }  ],  "has_more": true}