Reference
Hosted checkout
What a hosted checkout page calls.
Every operation below is also in the OpenAPI document. One that names an MCP tool can be called through the MCP server; one that names none cannot.
What /c/:id renders#
GET /v1/checkout/{id}
Operation id getCheckoutPage.
What a hosted checkout page draws: the event, what is on offer and whether the link is active (an inactive link answers active: false and why).
Who may call it. Whoever holds the id in the path (a hosted checkout link).
| Parameter | In | Type | Description |
|---|---|---|---|
id * | path | string | An id starting with chl_. |
code | query | string | A code to check and to unlock hidden items with. A direct caller sends it in the Tickets-Code header instead, since a request log keeps every URL; an MCP agent passes it here. |
Answers 200. The page (an inactive link too: active false, inactive_reason says why).
Fields (CheckoutPage)
| Field | Type | Description |
|---|---|---|
object * | "checkout_page" | |
id * | string | An id starting with chl_. |
mode * | "test" | "live" | test: the page says so and pays only with the test provider. |
org * | OrgFace | An org as holders see it: its name, branding, how to reach it, and how My tickets signs in. |
event * | CheckoutEvent | The event as the hosted checkout needs it: what a holder sees, plus every question and consent text the details step asks. |
availability * | Availability | What can be bought right now: public items, and hidden ones a sent code unlocks. Comp-only and archived items never show. |
code * | string | null | |
discount_on_next_step * | boolean | The link's code takes something off that the prices here don't show yet (a per-order cap, or a percentage that doesn't divide evenly): the hold prices it. |
active * | boolean | false: the page shows its closed screen (inactive_reason); holds and orders answer checkout_link_inactive. |
inactive_reason * | "turned_off" | "expired" | "full" | null | turned_off (by the organizer), expired (expires_at passed), full (limit reached); null while active. |
expires_at * | string | null | An instant in ISO 8601 with its zone, e.g. 2027-07-17T20:00:00Z. Answers are always UTC. |
* required
Errors of its own. feature_disabled. The errors every operation can answer are on the errors page.
Hold from the hosted page#
POST /v1/checkout/{id}/holds
Operation id checkoutHold.
A hold made from a hosted checkout page. Only for the link in the path.
Who may call it. Whoever holds the id in the path (a hosted checkout link).
| Parameter | In | Type | Description |
|---|---|---|---|
id * | path | string | An id starting with chl_. |
Request body (CheckoutHoldInput)
| Field | Type | Description |
|---|---|---|
items * | array of HoldItemInput | |
code | string | A promo or access code as typed; case does not matter. |
email | string (email) | An email address. |
attribution | CheckoutTouchInput | |
replaces | string | This buyer's earlier hold on this link: it does not stand in this one's way, can no longer be paid once this one is taken, and is released when this one exists. Refused, it stays as it was. |
* required
{
"items": [
{
"ticket_type": "tt_ga_weekend",
"quantity": 2
}
]
}Answers 201. Held.
Fields (Hold)
| Field | Type | Description |
|---|---|---|
object * | "hold" | |
id * | string | An id starting with hold_. |
mode * | Mode | test or live, decided by the key (rt_test_… or rt_live_…). Test and live data never mix. |
event * | string | An id starting with evt_. |
status * | HoldStatus | active, consumed (became an order), released, expired. |
items * | array of OrderItem | |
code * | string | null | The code applied. A code with max_uses has one use reserved for this hold while it is active. |
price * | PriceBreakdown | The authoritative price, computed by us. Show exactly this. Percentages round half up per line, to the minor unit. |
email * | string | null | |
attribution * | Attribution | null | |
checkout_link * | string | null | The hosted checkout link it was made through; only that link may turn it into an order. |
device * | string | null | The door device that made it (a gate sale); only a door sale may consume it. |
expires_at * | string (date-time) | An instant in ISO 8601 with its zone, e.g. 2027-07-17T20:00:00Z. Answers are always UTC. |
extended * | boolean | |
order * | string | null | The order it became. |
created_at * | string (date-time) | An instant in ISO 8601 with its zone, e.g. 2027-07-17T20:00:00Z. Answers are always UTC. |
released_at * | string | null | An instant in ISO 8601 with its zone, e.g. 2027-07-17T20:00:00Z. Answers are always UTC. |
expired_at * | string | null | An instant in ISO 8601 with its zone, e.g. 2027-07-17T20:00:00Z. Answers are always UTC. |
consumed_at * | string | null | An instant in ISO 8601 with its zone, e.g. 2027-07-17T20:00:00Z. Answers are always UTC. |
metadata * | Metadata | Your own key-value pairs (up to 50; keys up to 40 characters, values up to 500). We store and return them and never act on them. |
* required
Errors of its own. feature_disabled, provider_unavailable, checkout_link_inactive, hold_expired, hold_released, hold_consumed, event_not_on_sale, sold_out, quantity_unavailable, sale_not_started, sale_ended, ticket_type_unavailable, order_minimum_not_met, order_maximum_exceeded, too_many_tickets, code_invalid, code_expired, code_exhausted, code_not_applicable. The errors every operation can answer are on the errors page.
What became of a hold on the hosted page#
GET /v1/checkout/{id}/holds/{hold}
Operation id getCheckoutHold.
What became of a hold on a hosted checkout page: its status and the order it became, for a page that lost the answer to Pay. Nothing about the buyer. Only for the link in the path.
Who may call it. Whoever holds the id in the path (a hosted checkout link).
| Parameter | In | Type | Description |
|---|---|---|---|
id * | path | string | An id starting with chl_. |
hold * | path | string | An id starting with hold_. |
Answers 200. Its status and the order it became. A hold made anywhere but this link answers resource_missing.
Fields (CheckoutHoldStatus)
| Field | Type | Description |
|---|---|---|
object * | "checkout_hold_status" | |
id * | string | An id starting with hold_. |
status * | "active" | "consumed" | "released" | "expired" | active (a payment started on it may still be running), consumed (it became an order), released, expired. |
expires_at * | string (date-time) | An instant in ISO 8601 with its zone, e.g. 2027-07-17T20:00:00Z. Answers are always UTC. |
order * | string | null | The order it became. |
* required
Errors of its own. feature_disabled. The errors every operation can answer are on the errors page.
Let go of a hold on the hosted page#
DELETE /v1/checkout/{id}/holds/{hold}
Operation id releaseCheckoutHold.
Lets go of a hold on a hosted checkout page: its tickets and its place on the link go back at once. A hold that became an order, or has a payment running, is left alone and says so. Only for the link in the path.
Who may call it. Whoever holds the id in the path (a hosted checkout link).
| Parameter | In | Type | Description |
|---|---|---|---|
id * | path | string | An id starting with chl_. |
hold * | path | string | An id starting with hold_. |
Answers 200. Its status now: released, or what it already was. A hold with a payment running stays active. A hold made anywhere but this link answers resource_missing.
Fields (CheckoutHoldStatus)
| Field | Type | Description |
|---|---|---|
object * | "checkout_hold_status" | |
id * | string | An id starting with hold_. |
status * | "active" | "consumed" | "released" | "expired" | active (a payment started on it may still be running), consumed (it became an order), released, expired. |
expires_at * | string (date-time) | An instant in ISO 8601 with its zone, e.g. 2027-07-17T20:00:00Z. Answers are always UTC. |
order * | string | null | The order it became. |
* required
Errors of its own. feature_disabled. The errors every operation can answer are on the errors page.
Pay on the hosted page#
POST /v1/checkout/{id}/orders
Operation id checkoutOrder.
Pays on a hosted checkout page and answers the buyer's ticket page with its private link. A hold that was not made from this link answers resource_missing.
Who may call it. Whoever holds the id in the path (a hosted checkout link).
| Parameter | In | Type | Description |
|---|---|---|---|
id * | path | string | An id starting with chl_. |
Request body (CheckoutOrderInput)
| Field | Type | Description |
|---|---|---|
hold * | string | An id starting with hold_. |
buyer * | BuyerInput | |
answers | Answers | Answers by question key, at most 250. |
attendees | array of AttendeeInput | |
payment * | object | The test provider until a processor is connected. free: only for a hold whose total is 0, when no card is asked for. |
* required
{
"hold": "hold_abc123",
"buyer": {
"name": "Jordan Rivera",
"email": "jordan@example.com"
},
"payment": {
"provider": "test",
"token": "tok_success"
}
}Answers 200. The order this hold already became, to the same buyer email, whatever the link is now.
Fields (HolderView)
| Field | Type | Description |
|---|---|---|
object * | "holder_view" | |
mode * | "test" | "live" | The mode the tickets are in: a test ticket says so on the page. |
org * | OrgFace | An org as holders see it: its name, branding, how to reach it, and how My tickets signs in. |
event * | PublicEvent | null | The event (null on My tickets, which spans events: each ticket says its own). |
events * | array of PublicEvent | Every event the tickets belong to. |
order * | object | The order, on an order link only (the buyer's): null on a ticket link and on My tickets, where each ticket says its order_number. |
tickets * | array of HolderTicket | |
url * | string | null | This page's own link, when it was just made (a transfer accepted). |
* required
Answers 201. Paid: the buyer's ticket page, with its link. A hold made anywhere but this link answers resource_missing.
Fields (HolderView)
| Field | Type | Description |
|---|---|---|
object * | "holder_view" | |
mode * | "test" | "live" | The mode the tickets are in: a test ticket says so on the page. |
org * | OrgFace | An org as holders see it: its name, branding, how to reach it, and how My tickets signs in. |
event * | PublicEvent | null | The event (null on My tickets, which spans events: each ticket says its own). |
events * | array of PublicEvent | Every event the tickets belong to. |
order * | object | The order, on an order link only (the buyer's): null on a ticket link and on My tickets, where each ticket says its order_number. |
tickets * | array of HolderTicket | |
url * | string | null | This page's own link, when it was just made (a transfer accepted). |
* required
Errors of its own. feature_disabled, checkout_link_inactive, hold_expired, hold_released, hold_consumed, payment_declined, payment_failed, provider_unavailable. The errors every operation can answer are on the errors page.