@itpay/cli 2.1.41 → 2.1.44

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (148) hide show
  1. package/README.md +12 -5
  2. package/assets/sell-preview/index.html +6 -0
  3. package/assets/sell-preview/preview.js +9 -0
  4. package/bin/darwin-amd64/itpay-sell +0 -0
  5. package/bin/darwin-arm64/itpay-sell +0 -0
  6. package/bin/linux-amd64/itpay-sell +0 -0
  7. package/bin/linux-arm64/itpay-sell +0 -0
  8. package/bin/windows-amd64/itpay-sell.exe +0 -0
  9. package/dist/src/client/backend.js +38 -2
  10. package/dist/src/client/http.js +2 -0
  11. package/dist/src/commands/aftercare.js +12 -0
  12. package/dist/src/commands/buy.js +17 -58
  13. package/dist/src/commands/cart.js +17 -15
  14. package/dist/src/commands/catalog.js +39 -14
  15. package/dist/src/commands/checkout.js +146 -5
  16. package/dist/src/commands/checkout_handoff.js +11 -61
  17. package/dist/src/commands/docs.js +7 -18
  18. package/dist/src/commands/guidance.js +1 -134
  19. package/dist/src/commands/install.js +6 -3
  20. package/dist/src/commands/order.js +34 -3
  21. package/dist/src/commands/orders.js +4 -9
  22. package/dist/src/commands/pay.js +1 -1
  23. package/dist/src/commands/presentation.js +153 -0
  24. package/dist/src/commands/rail_catalog.js +1 -0
  25. package/dist/src/commands/readyz.js +1 -1
  26. package/dist/src/commands/refund.js +13 -57
  27. package/dist/src/commands/services/actions.js +133 -0
  28. package/dist/src/commands/services/commerce.js +197 -0
  29. package/dist/src/commands/services/lifecycle.js +418 -0
  30. package/dist/src/commands/services/results.js +130 -0
  31. package/dist/src/commands/services.js +14 -1068
  32. package/dist/src/commands/skill.js +8 -5
  33. package/dist/src/commands/vault.js +27 -20
  34. package/dist/src/commands/vault_handoff.js +18 -0
  35. package/dist/src/main.js +332 -46
  36. package/dist/src/render/browser.js +65 -0
  37. package/dist/src/render/checkout_handoff.js +101 -0
  38. package/dist/src/render/checkout_plan.js +47 -0
  39. package/dist/src/render/markdown.js +0 -3
  40. package/dist/src/render/qr.js +1 -1
  41. package/dist/src/sell/commands.js +80 -0
  42. package/dist/src/sell/contract.js +86 -0
  43. package/dist/src/sell/local.js +260 -0
  44. package/dist/src/sell/mcp.js +49 -0
  45. package/dist/src/sell/preview.js +70 -0
  46. package/dist/src/sell/sync.js +145 -0
  47. package/dist/src/services/adapter.js +1 -0
  48. package/dist/src/services/presentation.js +198 -0
  49. package/dist/src/services/rail/actions.js +51 -0
  50. package/dist/src/services/rail/adapter.js +36 -0
  51. package/dist/src/services/rail/aftercare.js +45 -0
  52. package/dist/src/services/rail/catalog.js +261 -0
  53. package/dist/src/services/rail/checkout.js +19 -0
  54. package/dist/src/services/rail/fulfillment.js +76 -0
  55. package/dist/src/services/rail/guide.js +110 -0
  56. package/dist/src/services/rail/invocation.js +54 -0
  57. package/dist/src/services/rail/page.js +76 -0
  58. package/dist/src/services/rail/pagination.js +6 -0
  59. package/dist/src/services/rail/query.js +71 -0
  60. package/dist/src/services/rail/readers.js +107 -0
  61. package/dist/src/services/rail/reading.js +125 -0
  62. package/dist/src/services/rail/recovery.js +51 -0
  63. package/dist/src/services/rail/results.js +378 -0
  64. package/dist/src/services/rail/review.js +268 -0
  65. package/dist/src/services/rail/saved.js +49 -0
  66. package/dist/src/services/rail/wait.js +11 -0
  67. package/dist/src/services/registry.js +31 -0
  68. package/dist/src/services/schema.js +21 -0
  69. package/dist/src/services/shared/envelope.js +184 -0
  70. package/dist/src/services/shared/input.js +39 -0
  71. package/dist/src/services/shared/pagination.js +28 -0
  72. package/dist/src/services/shared/platform.js +365 -0
  73. package/dist/src/services/shared/refund.js +40 -0
  74. package/dist/src/services/shared/workflow.js +28 -0
  75. package/dist/src/state/account_auth.js +354 -0
  76. package/dist/src/state/cart_session.js +4 -1
  77. package/dist/src/state/client_context.js +72 -0
  78. package/dist/src/state/config.js +44 -14
  79. package/dist/src/state/device_authority.js +402 -72
  80. package/dist/src/state/task_journal.js +90 -0
  81. package/docs/agent/buyer/cart-checkout.json +8 -6
  82. package/docs/agent/buyer/catalog-list.json +29 -9
  83. package/docs/agent/buyer/identity-and-sessions.json +26 -9
  84. package/docs/agent/buyer/install-and-setup.json +17 -15
  85. package/docs/agent/buyer/orders-refunds.json +25 -9
  86. package/docs/agent/buyer/payment-flow.json +6 -4
  87. package/docs/agent/buyer/purchased-content.json +18 -4
  88. package/docs/agent/buyer/quickstart.json +26 -17
  89. package/docs/agent/buyer/rail-booking.json +176 -0
  90. package/docs/agent/buyer/rail-fast-checkout.json +48 -0
  91. package/docs/agent/buyer/render-hosts.json +23 -12
  92. package/docs/agent/buyer/service-feedback.json +4 -3
  93. package/docs/cli-reference/agent-types.md +7 -2
  94. package/docs/cli-reference/commands/aftercare.md +15 -0
  95. package/docs/cli-reference/commands/auth.md +96 -0
  96. package/docs/cli-reference/commands/buy.md +2 -1
  97. package/docs/cli-reference/commands/cart/add.md +5 -1
  98. package/docs/cli-reference/commands/cart/clear.md +1 -1
  99. package/docs/cli-reference/commands/cart/index.md +1 -1
  100. package/docs/cli-reference/commands/cart/next.md +5 -1
  101. package/docs/cli-reference/commands/cart/remove.md +1 -1
  102. package/docs/cli-reference/commands/cart/show.md +1 -1
  103. package/docs/cli-reference/commands/catalog/index.md +1 -1
  104. package/docs/cli-reference/commands/catalog/list.md +2 -2
  105. package/docs/cli-reference/commands/checkout.md +12 -2
  106. package/docs/cli-reference/commands/device.md +18 -11
  107. package/docs/cli-reference/commands/docs/index.md +1 -1
  108. package/docs/cli-reference/commands/docs/list.md +1 -1
  109. package/docs/cli-reference/commands/docs/search.md +1 -1
  110. package/docs/cli-reference/commands/docs/show.md +1 -1
  111. package/docs/cli-reference/commands/install.md +8 -6
  112. package/docs/cli-reference/commands/next.md +1 -1
  113. package/docs/cli-reference/commands/order.md +1 -1
  114. package/docs/cli-reference/commands/pay.md +1 -1
  115. package/docs/cli-reference/commands/readyz.md +11 -11
  116. package/docs/cli-reference/commands/refund/cancel.md +1 -1
  117. package/docs/cli-reference/commands/refund/create.md +1 -1
  118. package/docs/cli-reference/commands/refund/get.md +2 -2
  119. package/docs/cli-reference/commands/refund/index.md +1 -1
  120. package/docs/cli-reference/commands/refund/list.md +1 -1
  121. package/docs/cli-reference/commands/refund/watch.md +1 -1
  122. package/docs/cli-reference/commands/sell.md +1364 -0
  123. package/docs/cli-reference/commands/services/action.md +24 -3
  124. package/docs/cli-reference/commands/services/checkout.md +17 -2
  125. package/docs/cli-reference/commands/services/events.md +1 -1
  126. package/docs/cli-reference/commands/services/get.md +4 -2
  127. package/docs/cli-reference/commands/services/index.md +4 -3
  128. package/docs/cli-reference/commands/services/invoke.md +6 -4
  129. package/docs/cli-reference/commands/services/list.md +1 -1
  130. package/docs/cli-reference/commands/services/next.md +78 -12
  131. package/docs/cli-reference/commands/services/page.md +71 -0
  132. package/docs/cli-reference/commands/services/quote.md +4 -4
  133. package/docs/cli-reference/commands/services/read-result.md +17 -6
  134. package/docs/cli-reference/commands/services/run.md +152 -0
  135. package/docs/cli-reference/commands/services/start.md +5 -3
  136. package/docs/cli-reference/commands/vault/access.md +5 -1
  137. package/docs/cli-reference/conventions.md +4 -6
  138. package/docs/cli-reference/index.md +10 -1
  139. package/docs/sell.md +84 -0
  140. package/package.json +20 -12
  141. package/skills/itpay/SKILL.md +112 -102
  142. package/docs/skill-bundle-rollout/01-mcp-authentication.md +0 -134
  143. package/docs/skill-bundle-rollout/02-platform-bundle-repositories.md +0 -210
  144. package/docs/skill-bundle-rollout/03-platform-publishing.md +0 -161
  145. package/docs/skill-bundle-rollout/04-first-wave-platforms.md +0 -69
  146. package/docs/skill-bundle-rollout/05-sync-operations.md +0 -62
  147. package/docs/skill-bundle-rollout/README.md +0 -151
  148. /package/bin/{itp → itp.mjs} +0 -0
@@ -0,0 +1,1364 @@
1
+ # Sell Agent guide
2
+
3
+ `itpay sell` is the Seller command namespace. Buyer `services` commands remain separate. Read `itpay sell guide --json` first, authenticate with `itpay sell auth login` and complete the standard ItPay browser login, then run `itpay sell auth status`, then use `sell status` to select the user's existing merchant. An unverified merchant must finish KYB and payout setup in the dashboard.
4
+
5
+ ## Local-first workflow
6
+
7
+ 1. `sell init --project <directory> --service-id <id> --name <name>` creates a local project. `sell config --file <json>` sets price, policy and explicit test fixtures. Never invent prices or required API inputs.
8
+ 2. `sell library search/get` reads platform sources. `sell sources add --file <OpenAPI> --provider-key <key>` compiles local contracts with the platform importer. `sell workflow import --file <workflow.yaml>` preserves the submitted workflow and reports unsupported semantics. Read `sell workflow catalog` for supported node configuration.
9
+ 3. Generate or modify `workflow.yaml` in the user's Agent using the exact source contracts. Bind `providerOperationVersionId`, credential profile and input/output mappings explicitly. The first workflow ID must equal the service ID. Missing mappings, incompatible schema, unsupported content types or unsupported workflow semantics block execution. Do not remove unknown fields to conceal a compatibility error.
10
+ 4. `sell credentials bind --profile <id> --file <bindings.json>` accepts field-to-environment-variable mappings, never secret values. `sell credentials upload` uploads those environment values directly to the authenticated merchant after approval; values must not appear in chat, workflow files or generated docs. Platform-managed secrets cannot be downloaded.
11
+ 5. `sell workflow validate`, then `sell workflow versions save --name <name>`. Runs never create saved versions. `sell test run --confirm` performs actual Provider calls on this machine, with simulated payment/refund/delivery gates. `sell test get --run <id>` reads results. `sell test resume` never blindly replays an unknown request.
12
+ 6. `sell workflow preview` serves the existing Builder on loopback only. Review its exact YAML, price and version; then use `sell workflow confirm --confirm` only after user agreement.
13
+ 7. `sell push --merchant-id <id> --bindings <profile-map.json> --confirm` uploads the confirmed package. Profile map values are platform profile IDs, not secrets. Optimistic revisions prevent overwriting another editor. An ambiguous write requires explicit pull/reconciliation, never guessed retries.
14
+ 8. Inspect platform-imported operations and perform any required `sell sources probe` with explicit test inputs. Follow the backend Guide and the upload's returned version/revision fields to run `sell verify`. Disclose and confirm API side effects, including the exact risk hash if the platform returns an additional confirmation barrier.
15
+ 9. `sell submission preview` returns the workflow, price, policy and current agreements. After user approval, `sell submission submit` sends the exact revision, terms version and required confirmations. This requests review; it does not publish or approve.
16
+ 10. Use `sell submission get` and `sell services list/get` to follow the actual outcome. Rejected/withdrawn/taken-down services can be edited and resubmitted through the same process. Once published, verify with buyer `catalog list`.
17
+
18
+ All platform operations accept `--input-json <file>` for their declared fields and `--merchant-id`/`--draft-id` where appropriate. Run each command's `--help`; do not invent options. `sell guide --merchant-id <id> --input-json <file>` with `{"draft_id":"..."}` returns server-derived next actions.
19
+
20
+ ## MCP
21
+
22
+ `itpay sell mcp --stdio --project <directory>` exposes local creation, import, versioning, testing, preview, sync and platform actions. It reuses the local CLI identity. Remote MCP exposes only platform actions and cannot read paths on the user's machine. Use the local server for real local tests and file access. New remote grants require the appropriate `itpay.seller.read/write/test/submit` scopes; old buyer grants do not gain Seller authority.
23
+
24
+ ## Invariants
25
+
26
+ - The current runtime accepts bounded, acyclic, single-entry workflows with multiple API nodes. Free queries can use quota and explicit human confirmation; paid workflows use one payment node and either fixed per-call pricing or a trusted pre-payment dynamic quote. Prepaid balance billing remains unsupported.
27
+ - Protected railway fulfillment resumes through the platform booking Owner only after verified payment and Web passenger confirmation. A standalone API probe cannot supply a payment identity or passenger records. Follow the server Guide for actual acceptance and publication blockers; local graph validation is not live ticket-issuance evidence.
28
+ - Local reports are diagnostics, not platform approval evidence. Platform verification is required; existing valid evidence may be reused. Admin approval never repeats Provider calls.
29
+ - Every visual view reads the same YAML. Layout is presentation only.
30
+ - Disclosure/confirmation binds the version being acted on. Do not turn `--confirm` into blanket permission for later changes.
31
+ - Never approve real submissions or perform real payments in automated development tests.
32
+
33
+ ## Local recovery and packaging
34
+
35
+ The local `.itpay-sell` directory contains private fixtures, reports and the encrypted run journal's local key. Exclude it from Git and shared artifacts. A terminated process may leave `runner.lock`; inspect the journal and ensure no runner is active before manual recovery. A request with an unknown outcome is never automatically replayed.
36
+
37
+ Local reports never substitute for the platform verification gate. Repeated upload of an unchanged saved version reuses its cloud version; a changed cloud revision or fixture revision requires explicit pull/review.
38
+
39
+ For CLI repository builds, run `node scripts/fetch-sell-runtime.mjs` to obtain the exact checksummed native runtime in `seller-runtime.lock.json`, then `npm run test:package`. The committed `assets/sell-preview` directory supplies the local Builder. Packaging rejects missing native binaries or preview assets; do not substitute an arbitrary local binary for the locked release.
40
+
41
+ Example local MCP configuration (use the existing authenticated CLI account):
42
+
43
+ ```json
44
+ {
45
+ "mcpServers": {
46
+ "itpay-sell": {
47
+ "command": "itpay",
48
+ "args": ["sell", "mcp", "--stdio", "--project", "/absolute/path/to/service"],
49
+ "env": {"ITPAY_BACKEND_URL": "https://sandbox.itpay.ai"}
50
+ }
51
+ }
52
+ }
53
+ ```
54
+
55
+ ## Command reference
56
+
57
+ ### itpay sell
58
+
59
+ Create, test and submit your service for review
60
+
61
+ ```text
62
+ Usage: itpay sell [options] [command]
63
+
64
+ Create, test and submit your service for review
65
+
66
+ Options:
67
+ -h, --help display help for command
68
+
69
+ Commands:
70
+ status [options] List existing merchant memberships
71
+ guide [options] Read authoritative publication blockers and next actions
72
+ library
73
+ sources
74
+ credentials
75
+ services
76
+ workflow
77
+ fixtures
78
+ pricing
79
+ verify [options] Start platform verification for an explicitly saved version
80
+ runs
81
+ submission
82
+ init [options] Local Sell: init
83
+ config [options] Local Sell: config
84
+ test
85
+ push [options]
86
+ pull [options]
87
+ mcp [options] Serve local Seller MCP over stdio
88
+ help [command] display help for command
89
+ ```
90
+
91
+ ### itpay sell status
92
+
93
+ List existing merchant memberships
94
+
95
+ ```text
96
+ Usage: itpay sell status [options]
97
+
98
+ List existing merchant memberships
99
+
100
+ Options:
101
+ --json Structured output
102
+ --input-json <file> Request fields as JSON
103
+ -h, --help display help for command
104
+ ```
105
+
106
+ ### itpay sell guide
107
+
108
+ Read authoritative publication blockers and next actions
109
+
110
+ ```text
111
+ Usage: itpay sell guide [options]
112
+
113
+ Read authoritative publication blockers and next actions
114
+
115
+ Options:
116
+ --json Structured output
117
+ --input-json <file> Request fields as JSON
118
+ --merchant-id <value> merchant_id
119
+ -h, --help display help for command
120
+ ```
121
+
122
+ ### itpay sell library
123
+
124
+
125
+
126
+ ```text
127
+ Usage: itpay sell library [options] [command]
128
+
129
+ Options:
130
+ -h, --help display help for command
131
+
132
+ Commands:
133
+ search [options] Search available API contracts
134
+ get [options] Inspect an API contract
135
+ help [command] display help for command
136
+ ```
137
+
138
+ ### itpay sell library search
139
+
140
+ Search available API contracts
141
+
142
+ ```text
143
+ Usage: itpay sell library search [options]
144
+
145
+ Search available API contracts
146
+
147
+ Options:
148
+ --json Structured output
149
+ --input-json <file> Request fields as JSON
150
+ -h, --help display help for command
151
+ ```
152
+
153
+ ### itpay sell library get
154
+
155
+ Inspect an API contract
156
+
157
+ ```text
158
+ Usage: itpay sell library get [options]
159
+
160
+ Inspect an API contract
161
+
162
+ Options:
163
+ --json Structured output
164
+ --input-json <file> Request fields as JSON
165
+ --library-api-id <value> library_api_id
166
+ -h, --help display help for command
167
+ ```
168
+
169
+ ### itpay sell sources
170
+
171
+
172
+
173
+ ```text
174
+ Usage: itpay sell sources [options] [command]
175
+
176
+ Options:
177
+ -h, --help display help for command
178
+
179
+ Commands:
180
+ list [options] List imported API sources
181
+ inspect [options] Inspect imported operations and verification results
182
+ import [options] Import an OpenAPI source without inventing request
183
+ contracts
184
+ library [options] Bind a platform library source
185
+ probe [options] Verify selected API requests on the platform
186
+ add [options] Local Sell: sources add
187
+ help [command] display help for command
188
+ ```
189
+
190
+ ### itpay sell sources list
191
+
192
+ List imported API sources
193
+
194
+ ```text
195
+ Usage: itpay sell sources list [options]
196
+
197
+ List imported API sources
198
+
199
+ Options:
200
+ --json Structured output
201
+ --input-json <file> Request fields as JSON
202
+ --merchant-id <value> merchant_id
203
+ -h, --help display help for command
204
+ ```
205
+
206
+ ### itpay sell sources inspect
207
+
208
+ Inspect imported operations and verification results
209
+
210
+ ```text
211
+ Usage: itpay sell sources inspect [options]
212
+
213
+ Inspect imported operations and verification results
214
+
215
+ Options:
216
+ --json Structured output
217
+ --input-json <file> Request fields as JSON
218
+ --merchant-id <value> merchant_id
219
+ --intake-id <value> intake_id
220
+ -h, --help display help for command
221
+ ```
222
+
223
+ ### itpay sell sources import
224
+
225
+ Import an OpenAPI source without inventing request contracts
226
+
227
+ ```text
228
+ Usage: itpay sell sources import [options]
229
+
230
+ Import an OpenAPI source without inventing request contracts
231
+
232
+ Options:
233
+ --json Structured output
234
+ --input-json <file> Request fields as JSON
235
+ --merchant-id <value> merchant_id
236
+ -h, --help display help for command
237
+ ```
238
+
239
+ ### itpay sell sources library
240
+
241
+ Bind a platform library source
242
+
243
+ ```text
244
+ Usage: itpay sell sources library [options]
245
+
246
+ Bind a platform library source
247
+
248
+ Options:
249
+ --json Structured output
250
+ --input-json <file> Request fields as JSON
251
+ --merchant-id <value> merchant_id
252
+ -h, --help display help for command
253
+ ```
254
+
255
+ ### itpay sell sources probe
256
+
257
+ Verify selected API requests on the platform
258
+
259
+ ```text
260
+ Usage: itpay sell sources probe [options]
261
+
262
+ Verify selected API requests on the platform
263
+
264
+ Options:
265
+ --json Structured output
266
+ --input-json <file> Request fields as JSON
267
+ --merchant-id <value> merchant_id
268
+ --intake-id <value> intake_id
269
+ --confirm User explicitly confirmed the disclosed version/action
270
+ -h, --help display help for command
271
+ ```
272
+
273
+ ### itpay sell sources add
274
+
275
+ Local Sell: sources add
276
+
277
+ ```text
278
+ Usage: itpay sell sources add [options]
279
+
280
+ Local Sell: sources add
281
+
282
+ Options:
283
+ --project <directory> Project directory (default: ".")
284
+ --file <file>
285
+ --url <https-url>
286
+ --name <name>
287
+ --service-id <id>
288
+ --provider-key <key>
289
+ --profile <id>
290
+ --merchant-id <id>
291
+ --environment <environment>
292
+ --version-id <id>
293
+ --run <id>
294
+ --confirm
295
+ --json
296
+ -h, --help display help for command
297
+ ```
298
+
299
+ ### itpay sell credentials
300
+
301
+
302
+
303
+ ```text
304
+ Usage: itpay sell credentials [options] [command]
305
+
306
+ Options:
307
+ -h, --help display help for command
308
+
309
+ Commands:
310
+ status [options] Read credential bindings without secret values
311
+ bind [options] Local Sell: credentials bind
312
+ upload [options] Local Sell: credentials upload
313
+ help [command] display help for command
314
+ ```
315
+
316
+ ### itpay sell credentials status
317
+
318
+ Read credential bindings without secret values
319
+
320
+ ```text
321
+ Usage: itpay sell credentials status [options]
322
+
323
+ Read credential bindings without secret values
324
+
325
+ Options:
326
+ --json Structured output
327
+ --input-json <file> Request fields as JSON
328
+ --merchant-id <value> merchant_id
329
+ -h, --help display help for command
330
+ ```
331
+
332
+ ### itpay sell credentials bind
333
+
334
+ Local Sell: credentials bind
335
+
336
+ ```text
337
+ Usage: itpay sell credentials bind [options]
338
+
339
+ Local Sell: credentials bind
340
+
341
+ Options:
342
+ --project <directory> Project directory (default: ".")
343
+ --file <file>
344
+ --url <https-url>
345
+ --name <name>
346
+ --service-id <id>
347
+ --provider-key <key>
348
+ --profile <id>
349
+ --merchant-id <id>
350
+ --environment <environment>
351
+ --version-id <id>
352
+ --run <id>
353
+ --confirm
354
+ --json
355
+ -h, --help display help for command
356
+ ```
357
+
358
+ ### itpay sell credentials upload
359
+
360
+ Local Sell: credentials upload
361
+
362
+ ```text
363
+ Usage: itpay sell credentials upload [options]
364
+
365
+ Local Sell: credentials upload
366
+
367
+ Options:
368
+ --project <directory> Project directory (default: ".")
369
+ --file <file>
370
+ --url <https-url>
371
+ --name <name>
372
+ --service-id <id>
373
+ --provider-key <key>
374
+ --profile <id>
375
+ --merchant-id <id>
376
+ --environment <environment>
377
+ --version-id <id>
378
+ --run <id>
379
+ --confirm
380
+ --json
381
+ -h, --help display help for command
382
+ ```
383
+
384
+ ### itpay sell services
385
+
386
+
387
+
388
+ ```text
389
+ Usage: itpay sell services [options] [command]
390
+
391
+ Options:
392
+ -h, --help display help for command
393
+
394
+ Commands:
395
+ list [options] List own service drafts and publication state
396
+ create [options] Create a platform service draft
397
+ icon [options] Upload a PNG/JPEG service icon, max 512 KiB, as signed JSON
398
+ get [options] Read the current workflow and service settings
399
+ help [command] display help for command
400
+ ```
401
+
402
+ ### itpay sell services list
403
+
404
+ List own service drafts and publication state
405
+
406
+ ```text
407
+ Usage: itpay sell services list [options]
408
+
409
+ List own service drafts and publication state
410
+
411
+ Options:
412
+ --json Structured output
413
+ --input-json <file> Request fields as JSON
414
+ --merchant-id <value> merchant_id
415
+ -h, --help display help for command
416
+ ```
417
+
418
+ ### itpay sell services create
419
+
420
+ Create a platform service draft
421
+
422
+ ```text
423
+ Usage: itpay sell services create [options]
424
+
425
+ Create a platform service draft
426
+
427
+ Options:
428
+ --json Structured output
429
+ --input-json <file> Request fields as JSON
430
+ --merchant-id <value> merchant_id
431
+ -h, --help display help for command
432
+ ```
433
+
434
+ ### itpay sell services icon
435
+
436
+ Upload a PNG/JPEG service icon, max 512 KiB, as signed JSON
437
+
438
+ ```text
439
+ Usage: itpay sell services icon [options]
440
+
441
+ Upload a PNG/JPEG service icon, max 512 KiB, as signed JSON
442
+
443
+ Options:
444
+ --json Structured output
445
+ --input-json <file> Request fields as JSON
446
+ --merchant-id <value> merchant_id
447
+ --draft-id <value> draft_id
448
+ -h, --help display help for command
449
+ ```
450
+
451
+ ### itpay sell services get
452
+
453
+ Read the current workflow and service settings
454
+
455
+ ```text
456
+ Usage: itpay sell services get [options]
457
+
458
+ Read the current workflow and service settings
459
+
460
+ Options:
461
+ --json Structured output
462
+ --input-json <file> Request fields as JSON
463
+ --merchant-id <value> merchant_id
464
+ --draft-id <value> draft_id
465
+ -h, --help display help for command
466
+ ```
467
+
468
+ ### itpay sell workflow
469
+
470
+
471
+
472
+ ```text
473
+ Usage: itpay sell workflow [options] [command]
474
+
475
+ Options:
476
+ -h, --help display help for command
477
+
478
+ Commands:
479
+ catalog [options] Read exact supported node templates and required
480
+ configuration
481
+ plan [options] Explicitly use ItPay AI planning and platform
482
+ verification
483
+ plan-get [options] Read the AI candidate and diagnostics
484
+ plan-apply [options] Apply a reviewed AI candidate to the draft
485
+ upload [options] Update the platform workflow with optimistic
486
+ concurrency
487
+ validate-platform [options] Validate using the same public runtime rules as
488
+ approval
489
+ versions
490
+ import [options] Local Sell: workflow import
491
+ validate [options] Local Sell: workflow validate
492
+ confirm [options] Local Sell: workflow confirm
493
+ preview [options]
494
+ help [command] display help for command
495
+ ```
496
+
497
+ ### itpay sell workflow catalog
498
+
499
+ Read exact supported node templates and required configuration
500
+
501
+ ```text
502
+ Usage: itpay sell workflow catalog [options]
503
+
504
+ Read exact supported node templates and required configuration
505
+
506
+ Options:
507
+ --json Structured output
508
+ --input-json <file> Request fields as JSON
509
+ --merchant-id <value> merchant_id
510
+ -h, --help display help for command
511
+ ```
512
+
513
+ ### itpay sell workflow plan
514
+
515
+ Explicitly use ItPay AI planning and platform verification
516
+
517
+ ```text
518
+ Usage: itpay sell workflow plan [options]
519
+
520
+ Explicitly use ItPay AI planning and platform verification
521
+
522
+ Options:
523
+ --json Structured output
524
+ --input-json <file> Request fields as JSON
525
+ --merchant-id <value> merchant_id
526
+ --draft-id <value> draft_id
527
+ --confirm User explicitly confirmed the disclosed version/action
528
+ -h, --help display help for command
529
+ ```
530
+
531
+ ### itpay sell workflow plan-get
532
+
533
+ Read the AI candidate and diagnostics
534
+
535
+ ```text
536
+ Usage: itpay sell workflow plan-get [options]
537
+
538
+ Read the AI candidate and diagnostics
539
+
540
+ Options:
541
+ --json Structured output
542
+ --input-json <file> Request fields as JSON
543
+ --merchant-id <value> merchant_id
544
+ --draft-id <value> draft_id
545
+ --run-id <value> run_id
546
+ -h, --help display help for command
547
+ ```
548
+
549
+ ### itpay sell workflow plan-apply
550
+
551
+ Apply a reviewed AI candidate to the draft
552
+
553
+ ```text
554
+ Usage: itpay sell workflow plan-apply [options]
555
+
556
+ Apply a reviewed AI candidate to the draft
557
+
558
+ Options:
559
+ --json Structured output
560
+ --input-json <file> Request fields as JSON
561
+ --merchant-id <value> merchant_id
562
+ --draft-id <value> draft_id
563
+ --run-id <value> run_id
564
+ --confirm User explicitly confirmed the disclosed version/action
565
+ -h, --help display help for command
566
+ ```
567
+
568
+ ### itpay sell workflow upload
569
+
570
+ Update the platform workflow with optimistic concurrency
571
+
572
+ ```text
573
+ Usage: itpay sell workflow upload [options]
574
+
575
+ Update the platform workflow with optimistic concurrency
576
+
577
+ Options:
578
+ --json Structured output
579
+ --input-json <file> Request fields as JSON
580
+ --merchant-id <value> merchant_id
581
+ --draft-id <value> draft_id
582
+ -h, --help display help for command
583
+ ```
584
+
585
+ ### itpay sell workflow validate-platform
586
+
587
+ Validate using the same public runtime rules as approval
588
+
589
+ ```text
590
+ Usage: itpay sell workflow validate-platform [options]
591
+
592
+ Validate using the same public runtime rules as approval
593
+
594
+ Options:
595
+ --json Structured output
596
+ --input-json <file> Request fields as JSON
597
+ --merchant-id <value> merchant_id
598
+ --draft-id <value> draft_id
599
+ -h, --help display help for command
600
+ ```
601
+
602
+ ### itpay sell workflow versions
603
+
604
+
605
+
606
+ ```text
607
+ Usage: itpay sell workflow versions [options] [command]
608
+
609
+ Options:
610
+ -h, --help display help for command
611
+
612
+ Commands:
613
+ list-platform [options] List explicitly saved platform versions
614
+ save-platform [options] Save an explicit immutable platform version
615
+ delete-platform [options] Delete an eligible saved version and its runs
616
+ save [options] Local Sell: workflow versions save
617
+ list [options] Local Sell: workflow versions list
618
+ use [options] Local Sell: workflow versions use
619
+ delete [options] Local Sell: workflow versions delete
620
+ help [command] display help for command
621
+ ```
622
+
623
+ ### itpay sell workflow versions list-platform
624
+
625
+ List explicitly saved platform versions
626
+
627
+ ```text
628
+ Usage: itpay sell workflow versions list-platform [options]
629
+
630
+ List explicitly saved platform versions
631
+
632
+ Options:
633
+ --json Structured output
634
+ --input-json <file> Request fields as JSON
635
+ --merchant-id <value> merchant_id
636
+ --draft-id <value> draft_id
637
+ -h, --help display help for command
638
+ ```
639
+
640
+ ### itpay sell workflow versions save-platform
641
+
642
+ Save an explicit immutable platform version
643
+
644
+ ```text
645
+ Usage: itpay sell workflow versions save-platform [options]
646
+
647
+ Save an explicit immutable platform version
648
+
649
+ Options:
650
+ --json Structured output
651
+ --input-json <file> Request fields as JSON
652
+ --merchant-id <value> merchant_id
653
+ --draft-id <value> draft_id
654
+ -h, --help display help for command
655
+ ```
656
+
657
+ ### itpay sell workflow versions delete-platform
658
+
659
+ Delete an eligible saved version and its runs
660
+
661
+ ```text
662
+ Usage: itpay sell workflow versions delete-platform [options]
663
+
664
+ Delete an eligible saved version and its runs
665
+
666
+ Options:
667
+ --json Structured output
668
+ --input-json <file> Request fields as JSON
669
+ --merchant-id <value> merchant_id
670
+ --draft-id <value> draft_id
671
+ --version-id <value> version_id
672
+ --confirm User explicitly confirmed the disclosed version/action
673
+ -h, --help display help for command
674
+ ```
675
+
676
+ ### itpay sell workflow versions save
677
+
678
+ Local Sell: workflow versions save
679
+
680
+ ```text
681
+ Usage: itpay sell workflow versions save [options]
682
+
683
+ Local Sell: workflow versions save
684
+
685
+ Options:
686
+ --project <directory> Project directory (default: ".")
687
+ --file <file>
688
+ --url <https-url>
689
+ --name <name>
690
+ --service-id <id>
691
+ --provider-key <key>
692
+ --profile <id>
693
+ --merchant-id <id>
694
+ --environment <environment>
695
+ --version-id <id>
696
+ --run <id>
697
+ --confirm
698
+ --json
699
+ -h, --help display help for command
700
+ ```
701
+
702
+ ### itpay sell workflow versions list
703
+
704
+ Local Sell: workflow versions list
705
+
706
+ ```text
707
+ Usage: itpay sell workflow versions list [options]
708
+
709
+ Local Sell: workflow versions list
710
+
711
+ Options:
712
+ --project <directory> Project directory (default: ".")
713
+ --file <file>
714
+ --url <https-url>
715
+ --name <name>
716
+ --service-id <id>
717
+ --provider-key <key>
718
+ --profile <id>
719
+ --merchant-id <id>
720
+ --environment <environment>
721
+ --version-id <id>
722
+ --run <id>
723
+ --confirm
724
+ --json
725
+ -h, --help display help for command
726
+ ```
727
+
728
+ ### itpay sell workflow versions use
729
+
730
+ Local Sell: workflow versions use
731
+
732
+ ```text
733
+ Usage: itpay sell workflow versions use [options]
734
+
735
+ Local Sell: workflow versions use
736
+
737
+ Options:
738
+ --project <directory> Project directory (default: ".")
739
+ --file <file>
740
+ --url <https-url>
741
+ --name <name>
742
+ --service-id <id>
743
+ --provider-key <key>
744
+ --profile <id>
745
+ --merchant-id <id>
746
+ --environment <environment>
747
+ --version-id <id>
748
+ --run <id>
749
+ --confirm
750
+ --json
751
+ -h, --help display help for command
752
+ ```
753
+
754
+ ### itpay sell workflow versions delete
755
+
756
+ Local Sell: workflow versions delete
757
+
758
+ ```text
759
+ Usage: itpay sell workflow versions delete [options]
760
+
761
+ Local Sell: workflow versions delete
762
+
763
+ Options:
764
+ --project <directory> Project directory (default: ".")
765
+ --file <file>
766
+ --url <https-url>
767
+ --name <name>
768
+ --service-id <id>
769
+ --provider-key <key>
770
+ --profile <id>
771
+ --merchant-id <id>
772
+ --environment <environment>
773
+ --version-id <id>
774
+ --run <id>
775
+ --confirm
776
+ --json
777
+ -h, --help display help for command
778
+ ```
779
+
780
+ ### itpay sell workflow import
781
+
782
+ Local Sell: workflow import
783
+
784
+ ```text
785
+ Usage: itpay sell workflow import [options]
786
+
787
+ Local Sell: workflow import
788
+
789
+ Options:
790
+ --project <directory> Project directory (default: ".")
791
+ --file <file>
792
+ --url <https-url>
793
+ --name <name>
794
+ --service-id <id>
795
+ --provider-key <key>
796
+ --profile <id>
797
+ --merchant-id <id>
798
+ --environment <environment>
799
+ --version-id <id>
800
+ --run <id>
801
+ --confirm
802
+ --json
803
+ -h, --help display help for command
804
+ ```
805
+
806
+ ### itpay sell workflow validate
807
+
808
+ Local Sell: workflow validate
809
+
810
+ ```text
811
+ Usage: itpay sell workflow validate [options]
812
+
813
+ Local Sell: workflow validate
814
+
815
+ Options:
816
+ --project <directory> Project directory (default: ".")
817
+ --file <file>
818
+ --url <https-url>
819
+ --name <name>
820
+ --service-id <id>
821
+ --provider-key <key>
822
+ --profile <id>
823
+ --merchant-id <id>
824
+ --environment <environment>
825
+ --version-id <id>
826
+ --run <id>
827
+ --confirm
828
+ --json
829
+ -h, --help display help for command
830
+ ```
831
+
832
+ ### itpay sell workflow confirm
833
+
834
+ Local Sell: workflow confirm
835
+
836
+ ```text
837
+ Usage: itpay sell workflow confirm [options]
838
+
839
+ Local Sell: workflow confirm
840
+
841
+ Options:
842
+ --project <directory> Project directory (default: ".")
843
+ --file <file>
844
+ --url <https-url>
845
+ --name <name>
846
+ --service-id <id>
847
+ --provider-key <key>
848
+ --profile <id>
849
+ --merchant-id <id>
850
+ --environment <environment>
851
+ --version-id <id>
852
+ --run <id>
853
+ --confirm
854
+ --json
855
+ -h, --help display help for command
856
+ ```
857
+
858
+ ### itpay sell workflow preview
859
+
860
+
861
+
862
+ ```text
863
+ Usage: itpay sell workflow preview [options]
864
+
865
+ Options:
866
+ --project <directory> Project directory (default: ".")
867
+ -h, --help display help for command
868
+ ```
869
+
870
+ ### itpay sell fixtures
871
+
872
+
873
+
874
+ ```text
875
+ Usage: itpay sell fixtures [options] [command]
876
+
877
+ Options:
878
+ -h, --help display help for command
879
+
880
+ Commands:
881
+ get [options] Read test inputs
882
+ set [options] Save explicit test inputs
883
+ help [command] display help for command
884
+ ```
885
+
886
+ ### itpay sell fixtures get
887
+
888
+ Read test inputs
889
+
890
+ ```text
891
+ Usage: itpay sell fixtures get [options]
892
+
893
+ Read test inputs
894
+
895
+ Options:
896
+ --json Structured output
897
+ --input-json <file> Request fields as JSON
898
+ --merchant-id <value> merchant_id
899
+ --draft-id <value> draft_id
900
+ -h, --help display help for command
901
+ ```
902
+
903
+ ### itpay sell fixtures set
904
+
905
+ Save explicit test inputs
906
+
907
+ ```text
908
+ Usage: itpay sell fixtures set [options]
909
+
910
+ Save explicit test inputs
911
+
912
+ Options:
913
+ --json Structured output
914
+ --input-json <file> Request fields as JSON
915
+ --merchant-id <value> merchant_id
916
+ --draft-id <value> draft_id
917
+ -h, --help display help for command
918
+ ```
919
+
920
+ ### itpay sell pricing
921
+
922
+
923
+
924
+ ```text
925
+ Usage: itpay sell pricing [options] [command]
926
+
927
+ Options:
928
+ -h, --help display help for command
929
+
930
+ Commands:
931
+ get [options] Read the current price and refund policy
932
+ set [options] Set per-call price and platform refund policy
933
+ help [command] display help for command
934
+ ```
935
+
936
+ ### itpay sell pricing get
937
+
938
+ Read the current price and refund policy
939
+
940
+ ```text
941
+ Usage: itpay sell pricing get [options]
942
+
943
+ Read the current price and refund policy
944
+
945
+ Options:
946
+ --json Structured output
947
+ --input-json <file> Request fields as JSON
948
+ --merchant-id <value> merchant_id
949
+ --draft-id <value> draft_id
950
+ -h, --help display help for command
951
+ ```
952
+
953
+ ### itpay sell pricing set
954
+
955
+ Set per-call price and platform refund policy
956
+
957
+ ```text
958
+ Usage: itpay sell pricing set [options]
959
+
960
+ Set per-call price and platform refund policy
961
+
962
+ Options:
963
+ --json Structured output
964
+ --input-json <file> Request fields as JSON
965
+ --merchant-id <value> merchant_id
966
+ --draft-id <value> draft_id
967
+ -h, --help display help for command
968
+ ```
969
+
970
+ ### itpay sell verify
971
+
972
+ Start platform verification for an explicitly saved version
973
+
974
+ ```text
975
+ Usage: itpay sell verify [options]
976
+
977
+ Start platform verification for an explicitly saved version
978
+
979
+ Options:
980
+ --json Structured output
981
+ --input-json <file> Request fields as JSON
982
+ --merchant-id <value> merchant_id
983
+ --draft-id <value> draft_id
984
+ --confirm User explicitly confirmed the disclosed version/action
985
+ -h, --help display help for command
986
+ ```
987
+
988
+ ### itpay sell runs
989
+
990
+
991
+
992
+ ```text
993
+ Usage: itpay sell runs [options] [command]
994
+
995
+ Options:
996
+ -h, --help display help for command
997
+
998
+ Commands:
999
+ get [options] Inspect platform test nodes and diagnostics
1000
+ confirm [options] Confirm the exact disclosed platform test side effects
1001
+ help [command] display help for command
1002
+ ```
1003
+
1004
+ ### itpay sell runs get
1005
+
1006
+ Inspect platform test nodes and diagnostics
1007
+
1008
+ ```text
1009
+ Usage: itpay sell runs get [options]
1010
+
1011
+ Inspect platform test nodes and diagnostics
1012
+
1013
+ Options:
1014
+ --json Structured output
1015
+ --input-json <file> Request fields as JSON
1016
+ --merchant-id <value> merchant_id
1017
+ --draft-id <value> draft_id
1018
+ --run-id <value> run_id
1019
+ -h, --help display help for command
1020
+ ```
1021
+
1022
+ ### itpay sell runs confirm
1023
+
1024
+ Confirm the exact disclosed platform test side effects
1025
+
1026
+ ```text
1027
+ Usage: itpay sell runs confirm [options]
1028
+
1029
+ Confirm the exact disclosed platform test side effects
1030
+
1031
+ Options:
1032
+ --json Structured output
1033
+ --input-json <file> Request fields as JSON
1034
+ --merchant-id <value> merchant_id
1035
+ --draft-id <value> draft_id
1036
+ --run-id <value> run_id
1037
+ --confirm User explicitly confirmed the disclosed version/action
1038
+ -h, --help display help for command
1039
+ ```
1040
+
1041
+ ### itpay sell submission
1042
+
1043
+
1044
+
1045
+ ```text
1046
+ Usage: itpay sell submission [options] [command]
1047
+
1048
+ Options:
1049
+ -h, --help display help for command
1050
+
1051
+ Commands:
1052
+ preview [options] Read publication readiness and required agreements
1053
+ submit [options] Submit the confirmed version for review, never approve it
1054
+ get [options] Read the actual review/publication result
1055
+ withdraw [options] Withdraw own pending submission
1056
+ watch [options]
1057
+ help [command] display help for command
1058
+ ```
1059
+
1060
+ ### itpay sell submission preview
1061
+
1062
+ Read publication readiness and required agreements
1063
+
1064
+ ```text
1065
+ Usage: itpay sell submission preview [options]
1066
+
1067
+ Read publication readiness and required agreements
1068
+
1069
+ Options:
1070
+ --json Structured output
1071
+ --input-json <file> Request fields as JSON
1072
+ --merchant-id <value> merchant_id
1073
+ -h, --help display help for command
1074
+ ```
1075
+
1076
+ ### itpay sell submission submit
1077
+
1078
+ Submit the confirmed version for review, never approve it
1079
+
1080
+ ```text
1081
+ Usage: itpay sell submission submit [options]
1082
+
1083
+ Submit the confirmed version for review, never approve it
1084
+
1085
+ Options:
1086
+ --json Structured output
1087
+ --input-json <file> Request fields as JSON
1088
+ --merchant-id <value> merchant_id
1089
+ --draft-id <value> draft_id
1090
+ --confirm User explicitly confirmed the disclosed version/action
1091
+ -h, --help display help for command
1092
+ ```
1093
+
1094
+ ### itpay sell submission get
1095
+
1096
+ Read the actual review/publication result
1097
+
1098
+ ```text
1099
+ Usage: itpay sell submission get [options]
1100
+
1101
+ Read the actual review/publication result
1102
+
1103
+ Options:
1104
+ --json Structured output
1105
+ --input-json <file> Request fields as JSON
1106
+ --merchant-id <value> merchant_id
1107
+ --submission-id <value> submission_id
1108
+ -h, --help display help for command
1109
+ ```
1110
+
1111
+ ### itpay sell submission withdraw
1112
+
1113
+ Withdraw own pending submission
1114
+
1115
+ ```text
1116
+ Usage: itpay sell submission withdraw [options]
1117
+
1118
+ Withdraw own pending submission
1119
+
1120
+ Options:
1121
+ --json Structured output
1122
+ --input-json <file> Request fields as JSON
1123
+ --merchant-id <value> merchant_id
1124
+ --submission-id <value> submission_id
1125
+ --confirm User explicitly confirmed the disclosed
1126
+ version/action
1127
+ -h, --help display help for command
1128
+ ```
1129
+
1130
+ ### itpay sell submission watch
1131
+
1132
+
1133
+
1134
+ ```text
1135
+ Usage: itpay sell submission watch [options]
1136
+
1137
+ Options:
1138
+ --merchant-id <id>
1139
+ --submission-id <id>
1140
+ --timeout <seconds> Maximum wait (default: "120")
1141
+ --json
1142
+ -h, --help display help for command
1143
+ ```
1144
+
1145
+ ### itpay sell init
1146
+
1147
+ Local Sell: init
1148
+
1149
+ ```text
1150
+ Usage: itpay sell init [options]
1151
+
1152
+ Local Sell: init
1153
+
1154
+ Options:
1155
+ --project <directory> Project directory (default: ".")
1156
+ --file <file>
1157
+ --url <https-url>
1158
+ --name <name>
1159
+ --service-id <id>
1160
+ --provider-key <key>
1161
+ --profile <id>
1162
+ --merchant-id <id>
1163
+ --environment <environment>
1164
+ --version-id <id>
1165
+ --run <id>
1166
+ --confirm
1167
+ --json
1168
+ -h, --help display help for command
1169
+ ```
1170
+
1171
+ ### itpay sell config
1172
+
1173
+ Local Sell: config
1174
+
1175
+ ```text
1176
+ Usage: itpay sell config [options]
1177
+
1178
+ Local Sell: config
1179
+
1180
+ Options:
1181
+ --project <directory> Project directory (default: ".")
1182
+ --file <file>
1183
+ --url <https-url>
1184
+ --name <name>
1185
+ --service-id <id>
1186
+ --provider-key <key>
1187
+ --profile <id>
1188
+ --merchant-id <id>
1189
+ --environment <environment>
1190
+ --version-id <id>
1191
+ --run <id>
1192
+ --confirm
1193
+ --json
1194
+ -h, --help display help for command
1195
+ ```
1196
+
1197
+ ### itpay sell test
1198
+
1199
+
1200
+
1201
+ ```text
1202
+ Usage: itpay sell test [options] [command]
1203
+
1204
+ Options:
1205
+ -h, --help display help for command
1206
+
1207
+ Commands:
1208
+ run [options] Local Sell: test run
1209
+ resume [options] Local Sell: test resume
1210
+ get [options] Local Sell: test get
1211
+ help [command] display help for command
1212
+ ```
1213
+
1214
+ ### itpay sell test run
1215
+
1216
+ Local Sell: test run
1217
+
1218
+ ```text
1219
+ Usage: itpay sell test run [options]
1220
+
1221
+ Local Sell: test run
1222
+
1223
+ Options:
1224
+ --project <directory> Project directory (default: ".")
1225
+ --file <file>
1226
+ --url <https-url>
1227
+ --name <name>
1228
+ --service-id <id>
1229
+ --provider-key <key>
1230
+ --profile <id>
1231
+ --merchant-id <id>
1232
+ --environment <environment>
1233
+ --version-id <id>
1234
+ --run <id>
1235
+ --confirm
1236
+ --json
1237
+ -h, --help display help for command
1238
+ ```
1239
+
1240
+ ### itpay sell test resume
1241
+
1242
+ Local Sell: test resume
1243
+
1244
+ ```text
1245
+ Usage: itpay sell test resume [options]
1246
+
1247
+ Local Sell: test resume
1248
+
1249
+ Options:
1250
+ --project <directory> Project directory (default: ".")
1251
+ --file <file>
1252
+ --url <https-url>
1253
+ --name <name>
1254
+ --service-id <id>
1255
+ --provider-key <key>
1256
+ --profile <id>
1257
+ --merchant-id <id>
1258
+ --environment <environment>
1259
+ --version-id <id>
1260
+ --run <id>
1261
+ --confirm
1262
+ --json
1263
+ -h, --help display help for command
1264
+ ```
1265
+
1266
+ ### itpay sell test get
1267
+
1268
+ Local Sell: test get
1269
+
1270
+ ```text
1271
+ Usage: itpay sell test get [options]
1272
+
1273
+ Local Sell: test get
1274
+
1275
+ Options:
1276
+ --project <directory> Project directory (default: ".")
1277
+ --file <file>
1278
+ --url <https-url>
1279
+ --name <name>
1280
+ --service-id <id>
1281
+ --provider-key <key>
1282
+ --profile <id>
1283
+ --merchant-id <id>
1284
+ --environment <environment>
1285
+ --version-id <id>
1286
+ --run <id>
1287
+ --confirm
1288
+ --json
1289
+ -h, --help display help for command
1290
+ ```
1291
+
1292
+ ### itpay sell push
1293
+
1294
+
1295
+
1296
+ ```text
1297
+ Usage: itpay sell push [options]
1298
+
1299
+ Options:
1300
+ --project <directory> Project directory (default: ".")
1301
+ --merchant-id <id>
1302
+ --draft-id <id>
1303
+ --bindings <file> Local profile ID to platform credential profile ID map
1304
+ --confirm
1305
+ --json
1306
+ -h, --help display help for command
1307
+ ```
1308
+
1309
+ ### itpay sell pull
1310
+
1311
+
1312
+
1313
+ ```text
1314
+ Usage: itpay sell pull [options]
1315
+
1316
+ Options:
1317
+ --project <directory> Project directory (default: ".")
1318
+ --merchant-id <id>
1319
+ --draft-id <id>
1320
+ --bindings <file> Local profile ID to platform credential profile ID map
1321
+ --confirm
1322
+ --json
1323
+ -h, --help display help for command
1324
+ ```
1325
+
1326
+ ### itpay sell mcp
1327
+
1328
+ Serve local Seller MCP over stdio
1329
+
1330
+ ```text
1331
+ Usage: itpay sell mcp [options]
1332
+
1333
+ Serve local Seller MCP over stdio
1334
+
1335
+ Options:
1336
+ --stdio
1337
+ --project <directory> Project directory (default: ".")
1338
+ -h, --help display help for command
1339
+ ```
1340
+
1341
+ ## Seller login and dev
1342
+
1343
+ Use `ITPAY_BACKEND_URL=https://dev.itpay.ai itpay sell auth login` to receive the normal ItPay authorization link. After browser login and required email verification, run `ITPAY_BACKEND_URL=https://dev.itpay.ai itpay sell auth status`. The CLI claims its own account session through the standard API and stores it in an owner-only file; never copy tokens or browser cookies. `itpay sell auth logout` revokes this session. Keep the same backend prefix on subsequent commands; production, dev, and sandbox state are isolated. Agent device enrollment does not grant Seller organization access.
1344
+
1345
+ ## Private dev live checkout acceptance
1346
+
1347
+ `itpay sell tests start-checkout --merchant-id <merchant> --draft-id <draft> --input-json <file> --confirm --json`
1348
+
1349
+ Requires the dev server in live Provider mode, an account-scoped platform admin session,
1350
+ and an active enrolled Agent already bound to the same buyer. The JSON contains
1351
+ `expected_revision` and `agent_instance_id`. Save exactly one success fixture first.
1352
+ This queues a private canary execution; it does not publish a service or pay for a ticket.
1353
+ Disclose the live query side effects before using `--confirm`.
1354
+
1355
+ Resume the returned `service_execution_id` using the normal workflow commands through
1356
+ that Agent. The user confirms the route and submits passenger details in the protected
1357
+ Checkout page. Only a verified payment callback permits supplier creation/payment.
1358
+
1359
+ `itpay sell tests accept-checkout --merchant-id <merchant> --draft-id <draft> --execution-id <execution> --confirm --json`
1360
+
1361
+ Records server-observed completed delivery and issued tickets for the exact frozen
1362
+ workflow, fixture and dependency hashes. Pending, partial, manual-recovery, unpaid or
1363
+ changed tests cannot pass. No payment or issuance assertions are accepted as input.
1364
+ Then use the normal submission and admin review flow; this test alone is not publication.