From 15b0f08c67214c4dec82b60b2324a1a13c836cc8 Mon Sep 17 00:00:00 2001 From: navin10sharma <3096611+navin10sharma@users.noreply.github.com> Date: Tue, 17 Nov 2026 20:33:55 +0530 Subject: [PATCH 01/10] Link the public API reference in AGENTS.md --- AGENTS.md | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/AGENTS.md b/AGENTS.md index d343a3f..cefa832 100644 --- a/AGENTS.md +++ b/AGENTS.md @@ -8,9 +8,9 @@ be usable from a browser. - **No runtime dependencies.** JDK only: `java.net.http.HttpClient`, `javax.crypto.Mac`, and a hand-written JSON codec in `Json.java`. Keep it that way — a server SDK that drags in a dependency tree is a supply-chain surface for every customer. -- **The public surface is defined upstream** by `workers/api/src/publicApi.ts` in the app repo. +- **The public surface is the SeatLayer server API**: [reference](https://docs.seatlayer.io/server-api/) and [OpenAPI document](https://docs.seatlayer.io/openapi.json). A method here must map to an operation listed there. Do not wrap internal routes. -- **Method names are the operationIds** from that manifest. Renaming one is a breaking change +- **Method names are the operationIds** in that OpenAPI document. Renaming one is a breaking change across every SeatLayer server SDK, not just this package. - **Ergonomics live here, not in the transport.** Things like "capabilities is required" and "expectedUpdatedAt is required" are deliberate divergences from the raw API; each one has a From fea95b9af61b46207d8fb6f5bd22e93737a8c3b8 Mon Sep 17 00:00:00 2001 From: navin10sharma <3096611+navin10sharma@users.noreply.github.com> Date: Tue, 17 Nov 2026 20:33:55 +0530 Subject: [PATCH 02/10] Update the performance summary --- README.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/README.md b/README.md index 32e5fa8..8defc4c 100644 --- a/README.md +++ b/README.md @@ -27,7 +27,7 @@ Two-step shape: the buyer picks and holds seats in the client with your public k ## Scale evidence -Benchmarked on public 100,000-, 150,000- and 200,000-seat venue fixtures on 15 September 2026: 200,000 seats chart-ready in 1.95 s, desktop, local production build. Fixtures, method and run logs: https://github.com/seatlayer/seatlayer-performance. Live 200,000-seat stadium demo: https://app.seatlayer.io/demo/play/century-stadium-200k. This is renderer evidence, not a concurrent-buyer claim. +Benchmarked on public 100,000-, 150,000- and 200,000-seat venue fixtures on 15 September 2026: 200,000 seats chart-ready in 1.95 s, desktop, local production build. Tested at 10,000 concurrent buyers on one event: seat hold p99 9 ms, zero server errors. Method, fixtures and raw runs: https://github.com/seatlayer/seatlayer-performance. Live 200,000-seat stadium demo: https://app.seatlayer.io/demo/play/century-stadium-200k. ## Install the Java and Kotlin seat booking SDK From 03f54728c2179e100f50e614ee3741108871d06b Mon Sep 17 00:00:00 2001 From: navin10sharma <3096611+navin10sharma@users.noreply.github.com> Date: Tue, 17 Nov 2026 20:56:29 +0530 Subject: [PATCH 03/10] Correct the season operation count --- README.md | 20 +++++++++++--------- 1 file changed, 11 insertions(+), 9 deletions(-) diff --git a/README.md b/README.md index 8defc4c..e5c42d8 100644 --- a/README.md +++ b/README.md @@ -93,14 +93,16 @@ The hint is best effort, not a data-residency guarantee. See the ## Fixed Renewable Seasons -`seatlayer.seasons()` exposes 87 trusted organizer operations: the 48 from -version `0.7.0`, plus performances, package prices (each price may name a -`priceTypeKey`: `adult`, `child`, `concession`, `senior` or `student`), checkout -tests, holders, Season orders, hosted renewals, renewal quotes, intents and -checkouts, reports, CSV exports, and the -bulk refund of a cancelled date (`refundSeasonPerformance`) and the release of -lapsed renewal offers (`releaseSeasonLapsedOffers`) with their jobs -(`listSeasonBulkJobs`, `retrieveSeasonBulkJob`). +`seatlayer.seasons()` has all 90 season operations: seasons and their packages, +dates and package prices (per price type, set with `priceTypeKey`: `adult`, +`child`, `concession`, `senior` or `student`), sales windows, checkout tests, +buyer sessions and booking, holder imports and the holder list, season orders, +renewals (offers, quotes, intents, checkouts and hosted renewal links), date +changes and cancellations, season seats, bulk refunds with their jobs, sales and +seat reports, CSV exports, audit and support export. The bulk refund of a +cancelled date is `refundSeasonPerformance`, the release of lapsed renewal offers +is `releaseSeasonLapsedOffers`, and their jobs are read with `listSeasonBulkJobs` +and `retrieveSeasonBulkJob`. After the test hold/book/cancel journey and matching webhook deliveries, `validateSeasonBuyerRehearsal(seasonKey)` sends no evidence body; SeatLayer @@ -483,7 +485,7 @@ outbox, and support operations. | `webhooks()` | `list` `create` `update` `delete` `listDeliveries` | | `workspaces()` | `list` `create` `retrieve` `update` | | `performanceGroups()` | `list` `create` `retrieve` `delete` `activate` `close` `retrieveLifecycle` `createBuyerAccessSession` `listBuyerAccessSessions` `revokeBuyerAccessSession` `retrieveHold` `bookHold` `retrieveBooking` | -| `seasons()` | 87 operations for catalogue and Plan lifecycle, performances, package prices, sales windows, checkout tests, buyer access and booking, holders and holder imports, Season orders, renewals, hosted renewals and renewal checkouts, occurrence returns and amendments, bulk refunds, lapsed offer releases and jobs, reports and CSV exports, audit, outbox, and support export | +| `seasons()` | 90 operations for catalogue and Plan lifecycle, performances, package prices, sales windows, checkout tests, buyer access and booking, holders and holder imports, Season orders, renewals, hosted renewals and renewal checkouts, occurrence returns and amendments, bulk refunds, lapsed offer releases and jobs, reports and CSV exports, audit, outbox, and support export | Full reference: [SeatLayer Java server SDK guide](https://docs.seatlayer.io/server-sdk/java/) From c0529e2a17b158f0821c60eae1fdf4f264c9c3c4 Mon Sep 17 00:00:00 2001 From: navin10sharma <3096611+navin10sharma@users.noreply.github.com> Date: Tue, 17 Nov 2026 20:56:29 +0530 Subject: [PATCH 04/10] Plain wording for the season sections --- README.md | 22 +++++++++++++--------- 1 file changed, 13 insertions(+), 9 deletions(-) diff --git a/README.md b/README.md index e5c42d8..cf9cf76 100644 --- a/README.md +++ b/README.md @@ -104,11 +104,13 @@ cancelled date is `refundSeasonPerformance`, the release of lapsed renewal offer is `releaseSeasonLapsedOffers`, and their jobs are read with `listSeasonBulkJobs` and `retrieveSeasonBulkJob`. -After the test hold/book/cancel journey and matching webhook deliveries, -`validateSeasonBuyerRehearsal(seasonKey)` sends no evidence body; SeatLayer -discovers the retained chain automatically. Retrieved Season holds contain -inventory identity, not an authoritative amount. Your platform owns package -price, payment, order, tax, refunds, benefits, and ticket or pass delivery. +Before you open sales, run one test hold, booking and cancellation with their +webhooks, then call `validateSeasonBuyerRehearsal(seasonKey)`. It finds those test +records itself, so it takes no body. Until a test like this or a checkout test has +passed, opening sales answers with a `checkout_test_missing` warning. A season +hold lists each date's seat, category and quantity but no price: when you run your +own checkout, you set the package price and take the payment, and you issue the +tickets. ```java Map checked = seatlayer.seasons().validateSeason(Map.of( @@ -119,10 +121,12 @@ Map created = seatlayer.seasons().createSeason(Map.of( "season-create-2027"); ``` -Treat `202` as accepted work and poll `retrieveSeasonLifecycle()` with the -returned operation identity. Buyer-session minting and domain-exact booking, -cancellation, and renewal actions remain single-attempt; only declared -header-replay catalogue mutations retry automatically. +A `202` answer means the work was accepted and is still running: keep the returned +operation id and poll `retrieveSeasonLifecycle()` until it finishes. Bookings, +cancellations and renewal commits are sent once and never retried by the SDK, so +give each one your own stable id; sending the same id again is safe. A buyer +session is sent once too, but it cannot be repeated: if its answer is lost, revoke +what was created and create one new session. When SeatLayer takes the Season's payments, renew a holder with no hosted page: read the price, start a checkout, and send the holder to `payment.url`. For a From 4648d6b80edf2000b9f9b14fe65fa1fbd37b5914 Mon Sep 17 00:00:00 2001 From: navin10sharma <3096611+navin10sharma@users.noreply.github.com> Date: Tue, 17 Nov 2026 20:56:29 +0530 Subject: [PATCH 05/10] Plain wording for capabilities and orders --- README.md | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) diff --git a/README.md b/README.md index cf9cf76..83ffc45 100644 --- a/README.md +++ b/README.md @@ -359,9 +359,8 @@ Map session = seatlayer.sessions().createManageSession( `capabilities` is **required** by this SDK even though the raw API safely defaults an omitted list to view-only (`event:view`). Keeping the argument required makes browser authority visible at every -call site. Grant the smallest set the page needs. For Platform/SDK events, `event:cancel` returns a -booking's inventory to sale but does not move gateway money; eligible Managed Ticketing refunds use -the separate `event:refund` capability. +call site. Grant the smallest set the page needs. `event:cancel` puts a booking back on sale; it +does not refund anyone. To refund an order that SeatLayer's checkout took, grant `event:refund`. ## Webhooks From 5a3247f9cf3556110e2f8c83199db9e15d105611 Mon Sep 17 00:00:00 2001 From: navin10sharma <3096611+navin10sharma@users.noreply.github.com> Date: Tue, 17 Nov 2026 20:56:29 +0530 Subject: [PATCH 06/10] Update the pricing line --- README.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/README.md b/README.md index 83ffc45..8237ea2 100644 --- a/README.md +++ b/README.md @@ -23,7 +23,7 @@ seat inventory through one typed ticketing API client. Two-step shape: the buyer picks and holds seats in the client with your public key, then this SDK confirms the booking from your server with your secret key while your platform keeps checkout and its own payment provider. -**Start here:** [Quickstart](https://docs.seatlayer.io/start/quickstart/) · [Holds and checkout](https://docs.seatlayer.io/buyer-sdk/holds-and-checkout/) · [Java server SDK guide](https://docs.seatlayer.io/server-sdk/java/) · [SDK catalog](https://docs.seatlayer.io/sdk-catalog.json) · [Pricing](https://seatlayer.io/pricing/): $0 entry, 100 free confirmed-sold-seat credits per organization each month, then $0.10 down to $0.05 a credit, and credits never expire. +**Start here:** [Quickstart](https://docs.seatlayer.io/start/quickstart/) · [Holds and checkout](https://docs.seatlayer.io/buyer-sdk/holds-and-checkout/) · [Java server SDK guide](https://docs.seatlayer.io/server-sdk/java/) · [SDK catalog](https://docs.seatlayer.io/sdk-catalog.json) · [Pricing](https://seatlayer.io/pricing/): 100 sold seats free every month, then 10¢ down to 5¢ per sold seat. No subscription, and purchased credits never expire. Test mode is free. ## Scale evidence From 821223b34e1825dfd0edff9de6ffacbdf22b5dbd Mon Sep 17 00:00:00 2001 From: navin10sharma <3096611+navin10sharma@users.noreply.github.com> Date: Tue, 17 Nov 2026 20:56:29 +0530 Subject: [PATCH 07/10] Update the payment provider answer --- README.md | 11 +++++------ 1 file changed, 5 insertions(+), 6 deletions(-) diff --git a/README.md b/README.md index 8237ea2..aa8f7cc 100644 --- a/README.md +++ b/README.md @@ -523,12 +523,11 @@ seats already booked under that reference are not sold again. ### Can I use my own payment provider? -Yes. This server SDK does not process payment in a Platform/SDK integration. Charge through the -provider you already use, calculating the total from each server-inspected hold item's -`unitPrice`, `quantity`, and `currency`, then call `inventory().book(...)` with your charge or order -id as the `bookingRef`. Managed Ticketing is a separate product path with organizer-connected -payments. The [holds and checkout guide](https://docs.seatlayer.io/buyer-sdk/holds-and-checkout/) -walks through the full handoff. +Yes. Nothing in this SDK takes a payment: your server charges the hold's total through the provider +you already use, then books the seats with your order id as `bookingRef`, and SeatLayer never +touches the money. If you would rather SeatLayer run the checkout for an event +(`events().replaceEventBuyerCheckout(...)`), buyers pay through one of 14 payment gateways, +including Stripe, PayPal and Square, straight into your own account. ## Continue your Java integration From 53881935413c319a0950e5828bf396ffd67f7baa Mon Sep 17 00:00:00 2001 From: navin10sharma <3096611+navin10sharma@users.noreply.github.com> Date: Tue, 17 Nov 2026 20:56:29 +0530 Subject: [PATCH 08/10] Remove the current-release sentence --- README.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/README.md b/README.md index aa8f7cc..eed5e2f 100644 --- a/README.md +++ b/README.md @@ -43,7 +43,7 @@ Benchmarked on public 100,000-, 150,000- and 200,000-seat venue fixtures on 15 S implementation 'io.seatlayer:seatlayer-java:0.9.0' ``` -Published on Maven Central as `io.seatlayer:seatlayer-java`; `0.9.0` is the current release, so no +Published on Maven Central as `io.seatlayer:seatlayer-java`, so no extra repository declaration is needed. Requires Java 17 or newer. **Zero runtime dependencies**: the SDK uses `java.net.http.HttpClient` and `javax.crypto.Mac` from the JDK plus a small hand-written JSON codec, so it never forces a Jackson or OkHttp version on an application that already has one. From 719ca3d05f5004e6a757e9e6d7e3f98815635cee Mon Sep 17 00:00:00 2001 From: navin10sharma <3096611+navin10sharma@users.noreply.github.com> Date: Tue, 17 Nov 2026 20:56:29 +0530 Subject: [PATCH 09/10] Replace the two-step line with how it works --- README.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/README.md b/README.md index eed5e2f..4a49c2d 100644 --- a/README.md +++ b/README.md @@ -21,7 +21,7 @@ seat inventory through one typed ticketing API client. > Android app or anything a ticket buyer can reach. Browser and mobile surfaces get short-lived, > origin-bound tokens that you mint here. -Two-step shape: the buyer picks and holds seats in the client with your public key, then this SDK confirms the booking from your server with your secret key while your platform keeps checkout and its own payment provider. +**How it works:** the buyer picks and holds seats in your website or app with your public key. Your server then reads the hold, takes the payment through your own provider, and books the seats with this SDK and your secret key. **Start here:** [Quickstart](https://docs.seatlayer.io/start/quickstart/) · [Holds and checkout](https://docs.seatlayer.io/buyer-sdk/holds-and-checkout/) · [Java server SDK guide](https://docs.seatlayer.io/server-sdk/java/) · [SDK catalog](https://docs.seatlayer.io/sdk-catalog.json) · [Pricing](https://seatlayer.io/pricing/): 100 sold seats free every month, then 10¢ down to 5¢ per sold seat. No subscription, and purchased credits never expire. Test mode is free. From 73567a099abcc29d28cfdc7b0c4868e8c09dac03 Mon Sep 17 00:00:00 2001 From: navin10sharma <3096611+navin10sharma@users.noreply.github.com> Date: Tue, 17 Nov 2026 21:11:40 +0530 Subject: [PATCH 10/10] Correct the performance summary and the season notes --- README.md | 8 +++----- 1 file changed, 3 insertions(+), 5 deletions(-) diff --git a/README.md b/README.md index 4a49c2d..5b47d7c 100644 --- a/README.md +++ b/README.md @@ -27,7 +27,7 @@ seat inventory through one typed ticketing API client. ## Scale evidence -Benchmarked on public 100,000-, 150,000- and 200,000-seat venue fixtures on 15 September 2026: 200,000 seats chart-ready in 1.95 s, desktop, local production build. Tested at 10,000 concurrent buyers on one event: seat hold p99 9 ms, zero server errors. Method, fixtures and raw runs: https://github.com/seatlayer/seatlayer-performance. Live 200,000-seat stadium demo: https://app.seatlayer.io/demo/play/century-stadium-200k. +Benchmarked on public 100,000-, 150,000- and 200,000-seat venue fixtures on 15 September 2026: 200,000 seats chart-ready in 1.95 s, desktop, local production build. Tested at 10,000 simulated concurrent buyers on one 12,000-seat event (18 September 2026): engine-side hold latency p99 9 ms, zero server errors. Method, fixtures and run files: https://github.com/seatlayer/seatlayer-performance. Live 200,000-seat stadium demo: https://app.seatlayer.io/demo/play/century-stadium-200k. ## Install the Java and Kotlin seat booking SDK @@ -106,8 +106,7 @@ and `retrieveSeasonBulkJob`. Before you open sales, run one test hold, booking and cancellation with their webhooks, then call `validateSeasonBuyerRehearsal(seasonKey)`. It finds those test -records itself, so it takes no body. Until a test like this or a checkout test has -passed, opening sales answers with a `checkout_test_missing` warning. A season +records itself, so it takes no body. With your own checkout, until a test like this or a checkout test has passed, opening sales answers with a `checkout_test_missing` warning. A season hold lists each date's seat, category and quantity but no price: when you run your own checkout, you set the package price and take the payment, and you issue the tickets. @@ -124,8 +123,7 @@ Map created = seatlayer.seasons().createSeason(Map.of( A `202` answer means the work was accepted and is still running: keep the returned operation id and poll `retrieveSeasonLifecycle()` until it finishes. Bookings, cancellations and renewal commits are sent once and never retried by the SDK, so -give each one your own stable id; sending the same id again is safe. A buyer -session is sent once too, but it cannot be repeated: if its answer is lost, revoke +give each one your own stable id; sending the same id again is safe. A buyer session is sent once too, and repeating it is not safe: if its answer is lost, revoke what was created and create one new session. When SeatLayer takes the Season's payments, renew a holder with no hosted page: