Skip to content

Open-source platform for 3D AI agents. Turn text or a photo into a rigged, animated GLB avatar, give it an LLM brain, memory and a wallet, and embed it anywhere with one web component. Remote MCP server, x402 payments, Three.js, browser-native.

fix(x402): give the print-order and knock listings their result-card examples

nirholasa203fb4d2599
diff --git a/api/_lib/service-catalog/services/knock.js b/api/_lib/service-catalog/services/knock.js
index d6e345ba0..9675b7d82 100644
--- a/api/_lib/service-catalog/services/knock.js
+++ b/api/_lib/service-catalog/services/knock.js
@@ -46,5 +46,17 @@ export default {
request_id: { type: 'string', maxLength: 80, description: 'Idempotency key. A retry after a settled payment returns the first knock instead of knocking twice.' },
},
},
+ // What a settled knock returns. The receipt URL is the whole point for a
+ // caller with no account: it is how they read the reply.
+ outputExample: {
+ ok: true,
+ knock_id: 'c1b0a2d4-7e33-4f01-9a55-2b7c1d0e9f4a',
+ delivered_to: 'nirholas',
+ announced: true,
+ importance: 78,
+ paid: '0.05',
+ receipt_url: 'https://three.ws/knock/receipt/c1b0a2d4-7e33-4f01-9a55-2b7c1d0e9f4a',
+ duplicate: false,
+ },
storefronts: ['x402scan'],
};
diff --git a/api/_lib/service-catalog/services/print-order.js b/api/_lib/service-catalog/services/print-order.js
index cf67aa975..89ea2d8e2 100644
--- a/api/_lib/service-catalog/services/print-order.js
+++ b/api/_lib/service-catalog/services/print-order.js
@@ -62,5 +62,21 @@ export default {
note: { type: 'string', maxLength: 500, description: 'Optional note for the operator, kept on the order timeline.' },
},
},
+ // What a settled call returns. Directories render this as the result card, so
+ // it is the shape a buyer sees before they decide to pay, not decoration.
+ outputExample: {
+ ok: true,
+ order_id: 'c1b0a2d4-7e33-4f01-9a55-2b7c1d0e9f4a',
+ status: 'screening',
+ paid_usdc: '48.20',
+ material: 'resin-standard',
+ finish: 'as-printed',
+ quantity: 1,
+ target_height_mm: 140,
+ lead_time_days: 14,
+ ship_to: { city: 'London', country: 'GB' },
+ settlement_signature: '5vJqYyDpNfNMrGVFrTHbXwLXqmoLTeMoiUAvHi1cwYRTPjPUwmT8bQfMDHLtwBoNw6vzYBBhw8vY9WEbEBcRZJ4W',
+ track_url: 'https://three.ws/api/print/orders/c1b0a2d4-7e33-4f01-9a55-2b7c1d0e9f4a',
+ },
storefronts: ['x402scan'],
};