The store's assistant at Encore Seats, on CyberSource

Run the fictional Encore Seats box office with its assistant and its operations assistant, hold two tickets, reach the "Pay for your tickets" link, and see the assistant read the order back.

What this run is

The store's assistant is Encore Assistant, the blueprint's shopping agent over the entertainment example's events, holds, tickets, and transfers, with the tender card the processor layer adds. CyberSource takes the payment on a Pay by Link page while the server-side hold timer runs. The operations assistant in the merchant app answers from the processor's numbers and the example's pacing view.

Running it

Set up once with ./setup.sh, copy platforms/cybersource/.env.example to platforms/cybersource/.env, and put ANTHROPIC_API_KEY in it. CYBERSOURCE_MERCHANT_ID, CYBERSOURCE_KEY_ID, and CYBERSOURCE_SECRET_KEY together switch the run to the CyberSource test API; without all three it is simulated.

platforms/cybersource/first-party/run.sh

The script prints "CyberSource: live (test environment)" or "CyberSource: simulated", then starts the API on 8019, the storefront on 3019, and the merchant app on 3119. --all is the default.

platforms/cybersource/first-party/run.sh --merchant

starts the API and the merchant app;

platforms/cybersource/first-party/run.sh --api-only

starts the API alone.

Surface URL
Ticketing storefront with Encore Assistant http://localhost:3019
Merchant app with the operations assistant http://localhost:3119
Merchant API http://localhost:8019

The storefront and merchant app are the blueprint's vendored entertainment apps; their page chrome reads "ACME Tickets" while the assistant, the brand route, and the checkout link carry Encore Seats.

A scripted walkthrough

This merchant has not been run against CyberSource's test API; the walkthrough is the simulated run as checked on 8 September 2026, with the live step described from the adapter's code.

  1. Ask for tickets: "Two tickets to The Headliner on Friday, actual seats, all-in prices" (the storefront's first starter prompt). The assistant searches the events; the Friday show has a GA pit at $112, a lower bowl at $89, and an upper terrace at $54.50.
  2. Hold them: "Hold two lower bowl tickets while I find my card." The ticketing example places a timed hold; the panel shows the seats, the fees, and the timer.
  3. Ask how to pay: "Can I pay in 4, and does my gift card apply?" The tender card shows Klarna pay in 4 for carts between $50 and $2,000, the demo user's $40 gift balance, PayPal, Apple Pay, Google Pay, and card. The assistant names the tender asked about and lets the card carry the figures.
  4. Check out: "Set up checkout." The assistant stages the held tickets with CyberSource. Live, this is a POST /ipl/v2/payment-links call whose response carries the link; the model sees only that the checkout is staged. The conversation shows a link labeled "Pay for your tickets · Encore Seats".
  5. Pay. Live, the link opens CyberSource's Pay by Link page. CyberSource's test cards are Visa 4111 1111 1111 1111 or Mastercard 5555 5555 5555 4444, any future expiry, any CVV.
  6. Return. The adapter stores no return URL on the link. The storefront learns the outcome from its status poll: GET /checkout/{id}/status on the merchant API makes the adapter read GET /ipl/v2/payment-links/{id}, and a PAID or COMPLETED status records the order and queues the note. This read has not been run live.
  7. Ask about it: "Are my tickets confirmed?" The assistant answers from the queued note and the order list, which now carries the tickets as an order.

What the simulated mode shows instead

Without the CyberSource variables, steps 1 to 4 are the same and the link opens a local page at http://localhost:8019/checkout/cko_…, headed "Encore Seats, Secure checkout · CyberSource", with the order and one button per tender carrying the same figures as the tender card. Pressing a tender completes a demo payment; the storefront's poll sees completed, the note is queued, and step 7 works unchanged. The page states that the assistant which staged the checkout never sees it and cannot press its buttons.

The operations assistant in the merchant app

Open http://localhost:3119. The merchant app is the entertainment example's, with its event pacing view and the operations assistant on the side. The overview's payments block comes from the gateway's payments_summary (verticals/encore_seats/api/main.py), so the assistant answers "How are payments looking this week?" with settled volume, authorization rate, agent-initiated share, and open disputes. A box office's questions fit the payments-operations skill well: "Which tender carries the most disputes?" reads the disputes table joined to transactions; "What did resale settle at last week?" reads settled_volume for the period; a dispute due within seven days leads the answer with its reason code and deadline.

Its metric names are settled_volume, auth_rate, dispute_rate, chargebacks, agent_initiated_share, and tender_mix:<tender> (tender_mix:klarna, tender_mix:gift_card). On a live account, transactions come from Transaction Search (POST /tss/v2/searches); settlements and disputes are report files at CyberSource, so the ledger stands in. Nothing in the conversation moves money; a dispute response is described as the next step in the Business Center.

Stopping

Ctrl-C stops all three processes. A busy port 8019 means a previous run is still up.