Closed beta · run Worlds on your machineBrowse worlds →

Worlds / Payments and billing / Square

Square world

A local Square seller with locations, payments, orders, catalog items and Terminal checkouts. Test the agent that refunds in-person sales, fixes catalog prices and works within refund windows.

PaymentsRefundsOrdersCatalogTerminal
Book a demo
Square · Transactions · Mission StIllustrative
TimeItemsTotalStatus
9:14 AMOat latte, croissant$11.25Completed
9:31 AMCold brew x2$9.50CompletedRefunded $4.75
10:02 AMBeans 12oz$18.00CompletedRefunded $18.00
10:40 AMCatering box$142.00CompletedRefunded $142.00
11:05 AMDrip coffee$3.25Completed

fig. 1 · illustrative replica · the agent's changes land as you scroll

What's in this world

What you get when you open Square. Seeded, local, yours to break.

Seeded records

locations
3 stores with their own devices
payments
300 COMPLETED, 6 CANCELED, 4 FAILED
orders
300 with line items and tenders
catalog
85 ITEM objects, 140 ITEM_VARIATION objects
terminal checkouts
2 stuck IN_PROGRESS

Agent jobs you can test

  1. Refund a payment or part of an order
  2. Update item variation prices in the catalog
  3. Cancel a stuck Terminal checkout

What your agent can get wrong here

The reply sounds right. The record is what counts.

ActionWhat the world recordsCommon mistake
Partial refundrefund amount_money against the order line itemRefunds the whole catering order for one missing tray
Change a priceITEM_VARIATION price_money at the right locationChanges the price at all three locations instead of one
Cancel a checkoutterminal checkout status and device_idCancels a checkout on the wrong device mid-sale
Refund an old salepayment created_at against the refund windowTries a card refund past the window instead of a cash refund

Example test

Describe the job. Review the checks before anything runs.

Brief · plain EnglishIllustrative

A catering customer was missing one $28 tray. Refund only that tray on the 10:40 order. Raise the oat latte price to $6.25 at Mission St only.
Drafted test · reviewDrafting
  1. 01Refund on the 10:40 order is $28.00
  2. 02No other refunds on the catering order
  3. 03Oat latte variation price $6.25 at Mission St
  4. 04Oat latte price unchanged at the other two locations
  5. 05No Terminal checkout canceled on device MS-02

fig. 2 · illustrative brief and drafted checks

Failures you can inject

Make it a bad day on purpose.

effectA refund with a reused idempotency_key and new amount is rejectedfires before the handler · state untouched · same result every run

Evidence

StatusIncluded in the closed beta, like every world in the catalog. Apply and tell us the workflow you want to test.Known limitations