@itpay/cli 2.0.39 → 2.1.0
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.
- package/assets/sell-preview/index.html +6 -0
- package/assets/sell-preview/preview.js +9 -0
- package/bin/darwin-amd64/itpay-sell +0 -0
- package/bin/darwin-arm64/itpay-sell +0 -0
- package/bin/linux-amd64/itpay-sell +0 -0
- package/bin/linux-arm64/itpay-sell +0 -0
- package/bin/windows-amd64/itpay-sell.exe +0 -0
- package/dist/src/client/backend.js +6 -0
- package/dist/src/commands/services.js +6 -4
- package/dist/src/main.js +2 -0
- package/dist/src/sell/auth.js +70 -0
- package/dist/src/sell/commands.js +80 -0
- package/dist/src/sell/contract.js +84 -0
- package/dist/src/sell/local.js +260 -0
- package/dist/src/sell/mcp.js +49 -0
- package/dist/src/sell/preview.js +70 -0
- package/dist/src/sell/sync.js +145 -0
- package/dist/src/state/config.js +31 -12
- package/docs/cli-reference/commands/sell.md +1342 -0
- package/docs/cli-reference/index.md +4 -0
- package/docs/sell.md +56 -0
- package/package.json +10 -6
- package/skills/itpay/SKILL.md +9 -2
|
@@ -0,0 +1,1342 @@
|
|
|
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
|
+
- Current public runtime is synchronous, acyclic, single entry, per-call pricing, one payment node, and delivery on success. Quota, prepaid consumption and async workflows are not publishable.
|
|
27
|
+
- Local reports are diagnostics, not platform approval evidence. Platform verification is required; existing valid evidence may be reused. Admin approval never repeats Provider calls.
|
|
28
|
+
- Every visual view reads the same YAML. Layout is presentation only.
|
|
29
|
+
- Disclosure/confirmation binds the version being acted on. Do not turn `--confirm` into blanket permission for later changes.
|
|
30
|
+
- Never approve real submissions or perform real payments in automated development tests.
|
|
31
|
+
|
|
32
|
+
## Local recovery and packaging
|
|
33
|
+
|
|
34
|
+
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.
|
|
35
|
+
|
|
36
|
+
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.
|
|
37
|
+
|
|
38
|
+
For repository builds, run `scripts/v3/build-sell-runtime.sh`, build `apps/web/vite.sell-preview.config.ts`, and then build/package `apps/cli`. Packaging rejects missing native binaries or preview assets. `scripts/v3/sync-sell-contract.mjs --check` verifies that the CLI command contracts match the backend/MCP package.
|
|
39
|
+
|
|
40
|
+
Example local MCP configuration (use the existing authenticated CLI account):
|
|
41
|
+
|
|
42
|
+
```json
|
|
43
|
+
{
|
|
44
|
+
"mcpServers": {
|
|
45
|
+
"itpay-sell": {
|
|
46
|
+
"command": "itpay",
|
|
47
|
+
"args": ["sell", "mcp", "--stdio", "--project", "/absolute/path/to/service"],
|
|
48
|
+
"env": {"ITPAY_BACKEND_URL": "https://sandbox.itpay.ai"}
|
|
49
|
+
}
|
|
50
|
+
}
|
|
51
|
+
}
|
|
52
|
+
```
|
|
53
|
+
|
|
54
|
+
## Command reference
|
|
55
|
+
|
|
56
|
+
### itpay sell
|
|
57
|
+
|
|
58
|
+
Create, test and submit your service for review
|
|
59
|
+
|
|
60
|
+
```text
|
|
61
|
+
Usage: itpay sell [options] [command]
|
|
62
|
+
|
|
63
|
+
Create, test and submit your service for review
|
|
64
|
+
|
|
65
|
+
Options:
|
|
66
|
+
-h, --help display help for command
|
|
67
|
+
|
|
68
|
+
Commands:
|
|
69
|
+
status [options] List existing merchant memberships
|
|
70
|
+
guide [options] Read authoritative publication blockers and next actions
|
|
71
|
+
library
|
|
72
|
+
sources
|
|
73
|
+
credentials
|
|
74
|
+
services
|
|
75
|
+
workflow
|
|
76
|
+
fixtures
|
|
77
|
+
pricing
|
|
78
|
+
verify [options] Start platform verification for an explicitly saved version
|
|
79
|
+
runs
|
|
80
|
+
submission
|
|
81
|
+
init [options] Local Sell: init
|
|
82
|
+
config [options] Local Sell: config
|
|
83
|
+
test
|
|
84
|
+
push [options]
|
|
85
|
+
pull [options]
|
|
86
|
+
mcp [options] Serve local Seller MCP over stdio
|
|
87
|
+
help [command] display help for command
|
|
88
|
+
```
|
|
89
|
+
|
|
90
|
+
### itpay sell status
|
|
91
|
+
|
|
92
|
+
List existing merchant memberships
|
|
93
|
+
|
|
94
|
+
```text
|
|
95
|
+
Usage: itpay sell status [options]
|
|
96
|
+
|
|
97
|
+
List existing merchant memberships
|
|
98
|
+
|
|
99
|
+
Options:
|
|
100
|
+
--json Structured output
|
|
101
|
+
--input-json <file> Request fields as JSON
|
|
102
|
+
-h, --help display help for command
|
|
103
|
+
```
|
|
104
|
+
|
|
105
|
+
### itpay sell guide
|
|
106
|
+
|
|
107
|
+
Read authoritative publication blockers and next actions
|
|
108
|
+
|
|
109
|
+
```text
|
|
110
|
+
Usage: itpay sell guide [options]
|
|
111
|
+
|
|
112
|
+
Read authoritative publication blockers and next actions
|
|
113
|
+
|
|
114
|
+
Options:
|
|
115
|
+
--json Structured output
|
|
116
|
+
--input-json <file> Request fields as JSON
|
|
117
|
+
--merchant-id <value> merchant_id
|
|
118
|
+
-h, --help display help for command
|
|
119
|
+
```
|
|
120
|
+
|
|
121
|
+
### itpay sell library
|
|
122
|
+
|
|
123
|
+
|
|
124
|
+
|
|
125
|
+
```text
|
|
126
|
+
Usage: itpay sell library [options] [command]
|
|
127
|
+
|
|
128
|
+
Options:
|
|
129
|
+
-h, --help display help for command
|
|
130
|
+
|
|
131
|
+
Commands:
|
|
132
|
+
search [options] Search available API contracts
|
|
133
|
+
get [options] Inspect an API contract
|
|
134
|
+
help [command] display help for command
|
|
135
|
+
```
|
|
136
|
+
|
|
137
|
+
### itpay sell library search
|
|
138
|
+
|
|
139
|
+
Search available API contracts
|
|
140
|
+
|
|
141
|
+
```text
|
|
142
|
+
Usage: itpay sell library search [options]
|
|
143
|
+
|
|
144
|
+
Search available API contracts
|
|
145
|
+
|
|
146
|
+
Options:
|
|
147
|
+
--json Structured output
|
|
148
|
+
--input-json <file> Request fields as JSON
|
|
149
|
+
-h, --help display help for command
|
|
150
|
+
```
|
|
151
|
+
|
|
152
|
+
### itpay sell library get
|
|
153
|
+
|
|
154
|
+
Inspect an API contract
|
|
155
|
+
|
|
156
|
+
```text
|
|
157
|
+
Usage: itpay sell library get [options]
|
|
158
|
+
|
|
159
|
+
Inspect an API contract
|
|
160
|
+
|
|
161
|
+
Options:
|
|
162
|
+
--json Structured output
|
|
163
|
+
--input-json <file> Request fields as JSON
|
|
164
|
+
--library-api-id <value> library_api_id
|
|
165
|
+
-h, --help display help for command
|
|
166
|
+
```
|
|
167
|
+
|
|
168
|
+
### itpay sell sources
|
|
169
|
+
|
|
170
|
+
|
|
171
|
+
|
|
172
|
+
```text
|
|
173
|
+
Usage: itpay sell sources [options] [command]
|
|
174
|
+
|
|
175
|
+
Options:
|
|
176
|
+
-h, --help display help for command
|
|
177
|
+
|
|
178
|
+
Commands:
|
|
179
|
+
list [options] List imported API sources
|
|
180
|
+
inspect [options] Inspect imported operations and verification results
|
|
181
|
+
import [options] Import an OpenAPI source without inventing request
|
|
182
|
+
contracts
|
|
183
|
+
library [options] Bind a platform library source
|
|
184
|
+
probe [options] Verify selected API requests on the platform
|
|
185
|
+
add [options] Local Sell: sources add
|
|
186
|
+
help [command] display help for command
|
|
187
|
+
```
|
|
188
|
+
|
|
189
|
+
### itpay sell sources list
|
|
190
|
+
|
|
191
|
+
List imported API sources
|
|
192
|
+
|
|
193
|
+
```text
|
|
194
|
+
Usage: itpay sell sources list [options]
|
|
195
|
+
|
|
196
|
+
List imported API sources
|
|
197
|
+
|
|
198
|
+
Options:
|
|
199
|
+
--json Structured output
|
|
200
|
+
--input-json <file> Request fields as JSON
|
|
201
|
+
--merchant-id <value> merchant_id
|
|
202
|
+
-h, --help display help for command
|
|
203
|
+
```
|
|
204
|
+
|
|
205
|
+
### itpay sell sources inspect
|
|
206
|
+
|
|
207
|
+
Inspect imported operations and verification results
|
|
208
|
+
|
|
209
|
+
```text
|
|
210
|
+
Usage: itpay sell sources inspect [options]
|
|
211
|
+
|
|
212
|
+
Inspect imported operations and verification results
|
|
213
|
+
|
|
214
|
+
Options:
|
|
215
|
+
--json Structured output
|
|
216
|
+
--input-json <file> Request fields as JSON
|
|
217
|
+
--merchant-id <value> merchant_id
|
|
218
|
+
--intake-id <value> intake_id
|
|
219
|
+
-h, --help display help for command
|
|
220
|
+
```
|
|
221
|
+
|
|
222
|
+
### itpay sell sources import
|
|
223
|
+
|
|
224
|
+
Import an OpenAPI source without inventing request contracts
|
|
225
|
+
|
|
226
|
+
```text
|
|
227
|
+
Usage: itpay sell sources import [options]
|
|
228
|
+
|
|
229
|
+
Import an OpenAPI source without inventing request contracts
|
|
230
|
+
|
|
231
|
+
Options:
|
|
232
|
+
--json Structured output
|
|
233
|
+
--input-json <file> Request fields as JSON
|
|
234
|
+
--merchant-id <value> merchant_id
|
|
235
|
+
-h, --help display help for command
|
|
236
|
+
```
|
|
237
|
+
|
|
238
|
+
### itpay sell sources library
|
|
239
|
+
|
|
240
|
+
Bind a platform library source
|
|
241
|
+
|
|
242
|
+
```text
|
|
243
|
+
Usage: itpay sell sources library [options]
|
|
244
|
+
|
|
245
|
+
Bind a platform library source
|
|
246
|
+
|
|
247
|
+
Options:
|
|
248
|
+
--json Structured output
|
|
249
|
+
--input-json <file> Request fields as JSON
|
|
250
|
+
--merchant-id <value> merchant_id
|
|
251
|
+
-h, --help display help for command
|
|
252
|
+
```
|
|
253
|
+
|
|
254
|
+
### itpay sell sources probe
|
|
255
|
+
|
|
256
|
+
Verify selected API requests on the platform
|
|
257
|
+
|
|
258
|
+
```text
|
|
259
|
+
Usage: itpay sell sources probe [options]
|
|
260
|
+
|
|
261
|
+
Verify selected API requests on the platform
|
|
262
|
+
|
|
263
|
+
Options:
|
|
264
|
+
--json Structured output
|
|
265
|
+
--input-json <file> Request fields as JSON
|
|
266
|
+
--merchant-id <value> merchant_id
|
|
267
|
+
--intake-id <value> intake_id
|
|
268
|
+
--confirm User explicitly confirmed the disclosed version/action
|
|
269
|
+
-h, --help display help for command
|
|
270
|
+
```
|
|
271
|
+
|
|
272
|
+
### itpay sell sources add
|
|
273
|
+
|
|
274
|
+
Local Sell: sources add
|
|
275
|
+
|
|
276
|
+
```text
|
|
277
|
+
Usage: itpay sell sources add [options]
|
|
278
|
+
|
|
279
|
+
Local Sell: sources add
|
|
280
|
+
|
|
281
|
+
Options:
|
|
282
|
+
--project <directory> Project directory (default: ".")
|
|
283
|
+
--file <file>
|
|
284
|
+
--url <https-url>
|
|
285
|
+
--name <name>
|
|
286
|
+
--service-id <id>
|
|
287
|
+
--provider-key <key>
|
|
288
|
+
--profile <id>
|
|
289
|
+
--merchant-id <id>
|
|
290
|
+
--environment <environment>
|
|
291
|
+
--version-id <id>
|
|
292
|
+
--run <id>
|
|
293
|
+
--confirm
|
|
294
|
+
--json
|
|
295
|
+
-h, --help display help for command
|
|
296
|
+
```
|
|
297
|
+
|
|
298
|
+
### itpay sell credentials
|
|
299
|
+
|
|
300
|
+
|
|
301
|
+
|
|
302
|
+
```text
|
|
303
|
+
Usage: itpay sell credentials [options] [command]
|
|
304
|
+
|
|
305
|
+
Options:
|
|
306
|
+
-h, --help display help for command
|
|
307
|
+
|
|
308
|
+
Commands:
|
|
309
|
+
status [options] Read credential bindings without secret values
|
|
310
|
+
bind [options] Local Sell: credentials bind
|
|
311
|
+
upload [options] Local Sell: credentials upload
|
|
312
|
+
help [command] display help for command
|
|
313
|
+
```
|
|
314
|
+
|
|
315
|
+
### itpay sell credentials status
|
|
316
|
+
|
|
317
|
+
Read credential bindings without secret values
|
|
318
|
+
|
|
319
|
+
```text
|
|
320
|
+
Usage: itpay sell credentials status [options]
|
|
321
|
+
|
|
322
|
+
Read credential bindings without secret values
|
|
323
|
+
|
|
324
|
+
Options:
|
|
325
|
+
--json Structured output
|
|
326
|
+
--input-json <file> Request fields as JSON
|
|
327
|
+
--merchant-id <value> merchant_id
|
|
328
|
+
-h, --help display help for command
|
|
329
|
+
```
|
|
330
|
+
|
|
331
|
+
### itpay sell credentials bind
|
|
332
|
+
|
|
333
|
+
Local Sell: credentials bind
|
|
334
|
+
|
|
335
|
+
```text
|
|
336
|
+
Usage: itpay sell credentials bind [options]
|
|
337
|
+
|
|
338
|
+
Local Sell: credentials bind
|
|
339
|
+
|
|
340
|
+
Options:
|
|
341
|
+
--project <directory> Project directory (default: ".")
|
|
342
|
+
--file <file>
|
|
343
|
+
--url <https-url>
|
|
344
|
+
--name <name>
|
|
345
|
+
--service-id <id>
|
|
346
|
+
--provider-key <key>
|
|
347
|
+
--profile <id>
|
|
348
|
+
--merchant-id <id>
|
|
349
|
+
--environment <environment>
|
|
350
|
+
--version-id <id>
|
|
351
|
+
--run <id>
|
|
352
|
+
--confirm
|
|
353
|
+
--json
|
|
354
|
+
-h, --help display help for command
|
|
355
|
+
```
|
|
356
|
+
|
|
357
|
+
### itpay sell credentials upload
|
|
358
|
+
|
|
359
|
+
Local Sell: credentials upload
|
|
360
|
+
|
|
361
|
+
```text
|
|
362
|
+
Usage: itpay sell credentials upload [options]
|
|
363
|
+
|
|
364
|
+
Local Sell: credentials upload
|
|
365
|
+
|
|
366
|
+
Options:
|
|
367
|
+
--project <directory> Project directory (default: ".")
|
|
368
|
+
--file <file>
|
|
369
|
+
--url <https-url>
|
|
370
|
+
--name <name>
|
|
371
|
+
--service-id <id>
|
|
372
|
+
--provider-key <key>
|
|
373
|
+
--profile <id>
|
|
374
|
+
--merchant-id <id>
|
|
375
|
+
--environment <environment>
|
|
376
|
+
--version-id <id>
|
|
377
|
+
--run <id>
|
|
378
|
+
--confirm
|
|
379
|
+
--json
|
|
380
|
+
-h, --help display help for command
|
|
381
|
+
```
|
|
382
|
+
|
|
383
|
+
### itpay sell services
|
|
384
|
+
|
|
385
|
+
|
|
386
|
+
|
|
387
|
+
```text
|
|
388
|
+
Usage: itpay sell services [options] [command]
|
|
389
|
+
|
|
390
|
+
Options:
|
|
391
|
+
-h, --help display help for command
|
|
392
|
+
|
|
393
|
+
Commands:
|
|
394
|
+
list [options] List own service drafts and publication state
|
|
395
|
+
create [options] Create a platform service draft
|
|
396
|
+
icon [options] Upload a PNG/JPEG service icon, max 512 KiB, as signed JSON
|
|
397
|
+
get [options] Read the current workflow and service settings
|
|
398
|
+
help [command] display help for command
|
|
399
|
+
```
|
|
400
|
+
|
|
401
|
+
### itpay sell services list
|
|
402
|
+
|
|
403
|
+
List own service drafts and publication state
|
|
404
|
+
|
|
405
|
+
```text
|
|
406
|
+
Usage: itpay sell services list [options]
|
|
407
|
+
|
|
408
|
+
List own service drafts and publication state
|
|
409
|
+
|
|
410
|
+
Options:
|
|
411
|
+
--json Structured output
|
|
412
|
+
--input-json <file> Request fields as JSON
|
|
413
|
+
--merchant-id <value> merchant_id
|
|
414
|
+
-h, --help display help for command
|
|
415
|
+
```
|
|
416
|
+
|
|
417
|
+
### itpay sell services create
|
|
418
|
+
|
|
419
|
+
Create a platform service draft
|
|
420
|
+
|
|
421
|
+
```text
|
|
422
|
+
Usage: itpay sell services create [options]
|
|
423
|
+
|
|
424
|
+
Create a platform service draft
|
|
425
|
+
|
|
426
|
+
Options:
|
|
427
|
+
--json Structured output
|
|
428
|
+
--input-json <file> Request fields as JSON
|
|
429
|
+
--merchant-id <value> merchant_id
|
|
430
|
+
-h, --help display help for command
|
|
431
|
+
```
|
|
432
|
+
|
|
433
|
+
### itpay sell services icon
|
|
434
|
+
|
|
435
|
+
Upload a PNG/JPEG service icon, max 512 KiB, as signed JSON
|
|
436
|
+
|
|
437
|
+
```text
|
|
438
|
+
Usage: itpay sell services icon [options]
|
|
439
|
+
|
|
440
|
+
Upload a PNG/JPEG service icon, max 512 KiB, as signed JSON
|
|
441
|
+
|
|
442
|
+
Options:
|
|
443
|
+
--json Structured output
|
|
444
|
+
--input-json <file> Request fields as JSON
|
|
445
|
+
--merchant-id <value> merchant_id
|
|
446
|
+
--draft-id <value> draft_id
|
|
447
|
+
-h, --help display help for command
|
|
448
|
+
```
|
|
449
|
+
|
|
450
|
+
### itpay sell services get
|
|
451
|
+
|
|
452
|
+
Read the current workflow and service settings
|
|
453
|
+
|
|
454
|
+
```text
|
|
455
|
+
Usage: itpay sell services get [options]
|
|
456
|
+
|
|
457
|
+
Read the current workflow and service settings
|
|
458
|
+
|
|
459
|
+
Options:
|
|
460
|
+
--json Structured output
|
|
461
|
+
--input-json <file> Request fields as JSON
|
|
462
|
+
--merchant-id <value> merchant_id
|
|
463
|
+
--draft-id <value> draft_id
|
|
464
|
+
-h, --help display help for command
|
|
465
|
+
```
|
|
466
|
+
|
|
467
|
+
### itpay sell workflow
|
|
468
|
+
|
|
469
|
+
|
|
470
|
+
|
|
471
|
+
```text
|
|
472
|
+
Usage: itpay sell workflow [options] [command]
|
|
473
|
+
|
|
474
|
+
Options:
|
|
475
|
+
-h, --help display help for command
|
|
476
|
+
|
|
477
|
+
Commands:
|
|
478
|
+
catalog [options] Read exact supported node templates and required
|
|
479
|
+
configuration
|
|
480
|
+
plan [options] Explicitly use ItPay AI planning and platform
|
|
481
|
+
verification
|
|
482
|
+
plan-get [options] Read the AI candidate and diagnostics
|
|
483
|
+
plan-apply [options] Apply a reviewed AI candidate to the draft
|
|
484
|
+
upload [options] Update the platform workflow with optimistic
|
|
485
|
+
concurrency
|
|
486
|
+
validate-platform [options] Validate using the same public runtime rules as
|
|
487
|
+
approval
|
|
488
|
+
versions
|
|
489
|
+
import [options] Local Sell: workflow import
|
|
490
|
+
validate [options] Local Sell: workflow validate
|
|
491
|
+
confirm [options] Local Sell: workflow confirm
|
|
492
|
+
preview [options]
|
|
493
|
+
help [command] display help for command
|
|
494
|
+
```
|
|
495
|
+
|
|
496
|
+
### itpay sell workflow catalog
|
|
497
|
+
|
|
498
|
+
Read exact supported node templates and required configuration
|
|
499
|
+
|
|
500
|
+
```text
|
|
501
|
+
Usage: itpay sell workflow catalog [options]
|
|
502
|
+
|
|
503
|
+
Read exact supported node templates and required configuration
|
|
504
|
+
|
|
505
|
+
Options:
|
|
506
|
+
--json Structured output
|
|
507
|
+
--input-json <file> Request fields as JSON
|
|
508
|
+
--merchant-id <value> merchant_id
|
|
509
|
+
-h, --help display help for command
|
|
510
|
+
```
|
|
511
|
+
|
|
512
|
+
### itpay sell workflow plan
|
|
513
|
+
|
|
514
|
+
Explicitly use ItPay AI planning and platform verification
|
|
515
|
+
|
|
516
|
+
```text
|
|
517
|
+
Usage: itpay sell workflow plan [options]
|
|
518
|
+
|
|
519
|
+
Explicitly use ItPay AI planning and platform verification
|
|
520
|
+
|
|
521
|
+
Options:
|
|
522
|
+
--json Structured output
|
|
523
|
+
--input-json <file> Request fields as JSON
|
|
524
|
+
--merchant-id <value> merchant_id
|
|
525
|
+
--draft-id <value> draft_id
|
|
526
|
+
--confirm User explicitly confirmed the disclosed version/action
|
|
527
|
+
-h, --help display help for command
|
|
528
|
+
```
|
|
529
|
+
|
|
530
|
+
### itpay sell workflow plan-get
|
|
531
|
+
|
|
532
|
+
Read the AI candidate and diagnostics
|
|
533
|
+
|
|
534
|
+
```text
|
|
535
|
+
Usage: itpay sell workflow plan-get [options]
|
|
536
|
+
|
|
537
|
+
Read the AI candidate and diagnostics
|
|
538
|
+
|
|
539
|
+
Options:
|
|
540
|
+
--json Structured output
|
|
541
|
+
--input-json <file> Request fields as JSON
|
|
542
|
+
--merchant-id <value> merchant_id
|
|
543
|
+
--draft-id <value> draft_id
|
|
544
|
+
--run-id <value> run_id
|
|
545
|
+
-h, --help display help for command
|
|
546
|
+
```
|
|
547
|
+
|
|
548
|
+
### itpay sell workflow plan-apply
|
|
549
|
+
|
|
550
|
+
Apply a reviewed AI candidate to the draft
|
|
551
|
+
|
|
552
|
+
```text
|
|
553
|
+
Usage: itpay sell workflow plan-apply [options]
|
|
554
|
+
|
|
555
|
+
Apply a reviewed AI candidate to the draft
|
|
556
|
+
|
|
557
|
+
Options:
|
|
558
|
+
--json Structured output
|
|
559
|
+
--input-json <file> Request fields as JSON
|
|
560
|
+
--merchant-id <value> merchant_id
|
|
561
|
+
--draft-id <value> draft_id
|
|
562
|
+
--run-id <value> run_id
|
|
563
|
+
--confirm User explicitly confirmed the disclosed version/action
|
|
564
|
+
-h, --help display help for command
|
|
565
|
+
```
|
|
566
|
+
|
|
567
|
+
### itpay sell workflow upload
|
|
568
|
+
|
|
569
|
+
Update the platform workflow with optimistic concurrency
|
|
570
|
+
|
|
571
|
+
```text
|
|
572
|
+
Usage: itpay sell workflow upload [options]
|
|
573
|
+
|
|
574
|
+
Update the platform workflow with optimistic concurrency
|
|
575
|
+
|
|
576
|
+
Options:
|
|
577
|
+
--json Structured output
|
|
578
|
+
--input-json <file> Request fields as JSON
|
|
579
|
+
--merchant-id <value> merchant_id
|
|
580
|
+
--draft-id <value> draft_id
|
|
581
|
+
-h, --help display help for command
|
|
582
|
+
```
|
|
583
|
+
|
|
584
|
+
### itpay sell workflow validate-platform
|
|
585
|
+
|
|
586
|
+
Validate using the same public runtime rules as approval
|
|
587
|
+
|
|
588
|
+
```text
|
|
589
|
+
Usage: itpay sell workflow validate-platform [options]
|
|
590
|
+
|
|
591
|
+
Validate using the same public runtime rules as approval
|
|
592
|
+
|
|
593
|
+
Options:
|
|
594
|
+
--json Structured output
|
|
595
|
+
--input-json <file> Request fields as JSON
|
|
596
|
+
--merchant-id <value> merchant_id
|
|
597
|
+
--draft-id <value> draft_id
|
|
598
|
+
-h, --help display help for command
|
|
599
|
+
```
|
|
600
|
+
|
|
601
|
+
### itpay sell workflow versions
|
|
602
|
+
|
|
603
|
+
|
|
604
|
+
|
|
605
|
+
```text
|
|
606
|
+
Usage: itpay sell workflow versions [options] [command]
|
|
607
|
+
|
|
608
|
+
Options:
|
|
609
|
+
-h, --help display help for command
|
|
610
|
+
|
|
611
|
+
Commands:
|
|
612
|
+
list-platform [options] List explicitly saved platform versions
|
|
613
|
+
save-platform [options] Save an explicit immutable platform version
|
|
614
|
+
delete-platform [options] Delete an eligible saved version and its runs
|
|
615
|
+
save [options] Local Sell: workflow versions save
|
|
616
|
+
list [options] Local Sell: workflow versions list
|
|
617
|
+
use [options] Local Sell: workflow versions use
|
|
618
|
+
delete [options] Local Sell: workflow versions delete
|
|
619
|
+
help [command] display help for command
|
|
620
|
+
```
|
|
621
|
+
|
|
622
|
+
### itpay sell workflow versions list-platform
|
|
623
|
+
|
|
624
|
+
List explicitly saved platform versions
|
|
625
|
+
|
|
626
|
+
```text
|
|
627
|
+
Usage: itpay sell workflow versions list-platform [options]
|
|
628
|
+
|
|
629
|
+
List explicitly saved platform versions
|
|
630
|
+
|
|
631
|
+
Options:
|
|
632
|
+
--json Structured output
|
|
633
|
+
--input-json <file> Request fields as JSON
|
|
634
|
+
--merchant-id <value> merchant_id
|
|
635
|
+
--draft-id <value> draft_id
|
|
636
|
+
-h, --help display help for command
|
|
637
|
+
```
|
|
638
|
+
|
|
639
|
+
### itpay sell workflow versions save-platform
|
|
640
|
+
|
|
641
|
+
Save an explicit immutable platform version
|
|
642
|
+
|
|
643
|
+
```text
|
|
644
|
+
Usage: itpay sell workflow versions save-platform [options]
|
|
645
|
+
|
|
646
|
+
Save an explicit immutable platform version
|
|
647
|
+
|
|
648
|
+
Options:
|
|
649
|
+
--json Structured output
|
|
650
|
+
--input-json <file> Request fields as JSON
|
|
651
|
+
--merchant-id <value> merchant_id
|
|
652
|
+
--draft-id <value> draft_id
|
|
653
|
+
-h, --help display help for command
|
|
654
|
+
```
|
|
655
|
+
|
|
656
|
+
### itpay sell workflow versions delete-platform
|
|
657
|
+
|
|
658
|
+
Delete an eligible saved version and its runs
|
|
659
|
+
|
|
660
|
+
```text
|
|
661
|
+
Usage: itpay sell workflow versions delete-platform [options]
|
|
662
|
+
|
|
663
|
+
Delete an eligible saved version and its runs
|
|
664
|
+
|
|
665
|
+
Options:
|
|
666
|
+
--json Structured output
|
|
667
|
+
--input-json <file> Request fields as JSON
|
|
668
|
+
--merchant-id <value> merchant_id
|
|
669
|
+
--draft-id <value> draft_id
|
|
670
|
+
--version-id <value> version_id
|
|
671
|
+
--confirm User explicitly confirmed the disclosed version/action
|
|
672
|
+
-h, --help display help for command
|
|
673
|
+
```
|
|
674
|
+
|
|
675
|
+
### itpay sell workflow versions save
|
|
676
|
+
|
|
677
|
+
Local Sell: workflow versions save
|
|
678
|
+
|
|
679
|
+
```text
|
|
680
|
+
Usage: itpay sell workflow versions save [options]
|
|
681
|
+
|
|
682
|
+
Local Sell: workflow versions save
|
|
683
|
+
|
|
684
|
+
Options:
|
|
685
|
+
--project <directory> Project directory (default: ".")
|
|
686
|
+
--file <file>
|
|
687
|
+
--url <https-url>
|
|
688
|
+
--name <name>
|
|
689
|
+
--service-id <id>
|
|
690
|
+
--provider-key <key>
|
|
691
|
+
--profile <id>
|
|
692
|
+
--merchant-id <id>
|
|
693
|
+
--environment <environment>
|
|
694
|
+
--version-id <id>
|
|
695
|
+
--run <id>
|
|
696
|
+
--confirm
|
|
697
|
+
--json
|
|
698
|
+
-h, --help display help for command
|
|
699
|
+
```
|
|
700
|
+
|
|
701
|
+
### itpay sell workflow versions list
|
|
702
|
+
|
|
703
|
+
Local Sell: workflow versions list
|
|
704
|
+
|
|
705
|
+
```text
|
|
706
|
+
Usage: itpay sell workflow versions list [options]
|
|
707
|
+
|
|
708
|
+
Local Sell: workflow versions list
|
|
709
|
+
|
|
710
|
+
Options:
|
|
711
|
+
--project <directory> Project directory (default: ".")
|
|
712
|
+
--file <file>
|
|
713
|
+
--url <https-url>
|
|
714
|
+
--name <name>
|
|
715
|
+
--service-id <id>
|
|
716
|
+
--provider-key <key>
|
|
717
|
+
--profile <id>
|
|
718
|
+
--merchant-id <id>
|
|
719
|
+
--environment <environment>
|
|
720
|
+
--version-id <id>
|
|
721
|
+
--run <id>
|
|
722
|
+
--confirm
|
|
723
|
+
--json
|
|
724
|
+
-h, --help display help for command
|
|
725
|
+
```
|
|
726
|
+
|
|
727
|
+
### itpay sell workflow versions use
|
|
728
|
+
|
|
729
|
+
Local Sell: workflow versions use
|
|
730
|
+
|
|
731
|
+
```text
|
|
732
|
+
Usage: itpay sell workflow versions use [options]
|
|
733
|
+
|
|
734
|
+
Local Sell: workflow versions use
|
|
735
|
+
|
|
736
|
+
Options:
|
|
737
|
+
--project <directory> Project directory (default: ".")
|
|
738
|
+
--file <file>
|
|
739
|
+
--url <https-url>
|
|
740
|
+
--name <name>
|
|
741
|
+
--service-id <id>
|
|
742
|
+
--provider-key <key>
|
|
743
|
+
--profile <id>
|
|
744
|
+
--merchant-id <id>
|
|
745
|
+
--environment <environment>
|
|
746
|
+
--version-id <id>
|
|
747
|
+
--run <id>
|
|
748
|
+
--confirm
|
|
749
|
+
--json
|
|
750
|
+
-h, --help display help for command
|
|
751
|
+
```
|
|
752
|
+
|
|
753
|
+
### itpay sell workflow versions delete
|
|
754
|
+
|
|
755
|
+
Local Sell: workflow versions delete
|
|
756
|
+
|
|
757
|
+
```text
|
|
758
|
+
Usage: itpay sell workflow versions delete [options]
|
|
759
|
+
|
|
760
|
+
Local Sell: workflow versions delete
|
|
761
|
+
|
|
762
|
+
Options:
|
|
763
|
+
--project <directory> Project directory (default: ".")
|
|
764
|
+
--file <file>
|
|
765
|
+
--url <https-url>
|
|
766
|
+
--name <name>
|
|
767
|
+
--service-id <id>
|
|
768
|
+
--provider-key <key>
|
|
769
|
+
--profile <id>
|
|
770
|
+
--merchant-id <id>
|
|
771
|
+
--environment <environment>
|
|
772
|
+
--version-id <id>
|
|
773
|
+
--run <id>
|
|
774
|
+
--confirm
|
|
775
|
+
--json
|
|
776
|
+
-h, --help display help for command
|
|
777
|
+
```
|
|
778
|
+
|
|
779
|
+
### itpay sell workflow import
|
|
780
|
+
|
|
781
|
+
Local Sell: workflow import
|
|
782
|
+
|
|
783
|
+
```text
|
|
784
|
+
Usage: itpay sell workflow import [options]
|
|
785
|
+
|
|
786
|
+
Local Sell: workflow import
|
|
787
|
+
|
|
788
|
+
Options:
|
|
789
|
+
--project <directory> Project directory (default: ".")
|
|
790
|
+
--file <file>
|
|
791
|
+
--url <https-url>
|
|
792
|
+
--name <name>
|
|
793
|
+
--service-id <id>
|
|
794
|
+
--provider-key <key>
|
|
795
|
+
--profile <id>
|
|
796
|
+
--merchant-id <id>
|
|
797
|
+
--environment <environment>
|
|
798
|
+
--version-id <id>
|
|
799
|
+
--run <id>
|
|
800
|
+
--confirm
|
|
801
|
+
--json
|
|
802
|
+
-h, --help display help for command
|
|
803
|
+
```
|
|
804
|
+
|
|
805
|
+
### itpay sell workflow validate
|
|
806
|
+
|
|
807
|
+
Local Sell: workflow validate
|
|
808
|
+
|
|
809
|
+
```text
|
|
810
|
+
Usage: itpay sell workflow validate [options]
|
|
811
|
+
|
|
812
|
+
Local Sell: workflow validate
|
|
813
|
+
|
|
814
|
+
Options:
|
|
815
|
+
--project <directory> Project directory (default: ".")
|
|
816
|
+
--file <file>
|
|
817
|
+
--url <https-url>
|
|
818
|
+
--name <name>
|
|
819
|
+
--service-id <id>
|
|
820
|
+
--provider-key <key>
|
|
821
|
+
--profile <id>
|
|
822
|
+
--merchant-id <id>
|
|
823
|
+
--environment <environment>
|
|
824
|
+
--version-id <id>
|
|
825
|
+
--run <id>
|
|
826
|
+
--confirm
|
|
827
|
+
--json
|
|
828
|
+
-h, --help display help for command
|
|
829
|
+
```
|
|
830
|
+
|
|
831
|
+
### itpay sell workflow confirm
|
|
832
|
+
|
|
833
|
+
Local Sell: workflow confirm
|
|
834
|
+
|
|
835
|
+
```text
|
|
836
|
+
Usage: itpay sell workflow confirm [options]
|
|
837
|
+
|
|
838
|
+
Local Sell: workflow confirm
|
|
839
|
+
|
|
840
|
+
Options:
|
|
841
|
+
--project <directory> Project directory (default: ".")
|
|
842
|
+
--file <file>
|
|
843
|
+
--url <https-url>
|
|
844
|
+
--name <name>
|
|
845
|
+
--service-id <id>
|
|
846
|
+
--provider-key <key>
|
|
847
|
+
--profile <id>
|
|
848
|
+
--merchant-id <id>
|
|
849
|
+
--environment <environment>
|
|
850
|
+
--version-id <id>
|
|
851
|
+
--run <id>
|
|
852
|
+
--confirm
|
|
853
|
+
--json
|
|
854
|
+
-h, --help display help for command
|
|
855
|
+
```
|
|
856
|
+
|
|
857
|
+
### itpay sell workflow preview
|
|
858
|
+
|
|
859
|
+
|
|
860
|
+
|
|
861
|
+
```text
|
|
862
|
+
Usage: itpay sell workflow preview [options]
|
|
863
|
+
|
|
864
|
+
Options:
|
|
865
|
+
--project <directory> Project directory (default: ".")
|
|
866
|
+
-h, --help display help for command
|
|
867
|
+
```
|
|
868
|
+
|
|
869
|
+
### itpay sell fixtures
|
|
870
|
+
|
|
871
|
+
|
|
872
|
+
|
|
873
|
+
```text
|
|
874
|
+
Usage: itpay sell fixtures [options] [command]
|
|
875
|
+
|
|
876
|
+
Options:
|
|
877
|
+
-h, --help display help for command
|
|
878
|
+
|
|
879
|
+
Commands:
|
|
880
|
+
get [options] Read test inputs
|
|
881
|
+
set [options] Save explicit test inputs
|
|
882
|
+
help [command] display help for command
|
|
883
|
+
```
|
|
884
|
+
|
|
885
|
+
### itpay sell fixtures get
|
|
886
|
+
|
|
887
|
+
Read test inputs
|
|
888
|
+
|
|
889
|
+
```text
|
|
890
|
+
Usage: itpay sell fixtures get [options]
|
|
891
|
+
|
|
892
|
+
Read test inputs
|
|
893
|
+
|
|
894
|
+
Options:
|
|
895
|
+
--json Structured output
|
|
896
|
+
--input-json <file> Request fields as JSON
|
|
897
|
+
--merchant-id <value> merchant_id
|
|
898
|
+
--draft-id <value> draft_id
|
|
899
|
+
-h, --help display help for command
|
|
900
|
+
```
|
|
901
|
+
|
|
902
|
+
### itpay sell fixtures set
|
|
903
|
+
|
|
904
|
+
Save explicit test inputs
|
|
905
|
+
|
|
906
|
+
```text
|
|
907
|
+
Usage: itpay sell fixtures set [options]
|
|
908
|
+
|
|
909
|
+
Save explicit test inputs
|
|
910
|
+
|
|
911
|
+
Options:
|
|
912
|
+
--json Structured output
|
|
913
|
+
--input-json <file> Request fields as JSON
|
|
914
|
+
--merchant-id <value> merchant_id
|
|
915
|
+
--draft-id <value> draft_id
|
|
916
|
+
-h, --help display help for command
|
|
917
|
+
```
|
|
918
|
+
|
|
919
|
+
### itpay sell pricing
|
|
920
|
+
|
|
921
|
+
|
|
922
|
+
|
|
923
|
+
```text
|
|
924
|
+
Usage: itpay sell pricing [options] [command]
|
|
925
|
+
|
|
926
|
+
Options:
|
|
927
|
+
-h, --help display help for command
|
|
928
|
+
|
|
929
|
+
Commands:
|
|
930
|
+
get [options] Read the current price and refund policy
|
|
931
|
+
set [options] Set per-call price and platform refund policy
|
|
932
|
+
help [command] display help for command
|
|
933
|
+
```
|
|
934
|
+
|
|
935
|
+
### itpay sell pricing get
|
|
936
|
+
|
|
937
|
+
Read the current price and refund policy
|
|
938
|
+
|
|
939
|
+
```text
|
|
940
|
+
Usage: itpay sell pricing get [options]
|
|
941
|
+
|
|
942
|
+
Read the current price and refund policy
|
|
943
|
+
|
|
944
|
+
Options:
|
|
945
|
+
--json Structured output
|
|
946
|
+
--input-json <file> Request fields as JSON
|
|
947
|
+
--merchant-id <value> merchant_id
|
|
948
|
+
--draft-id <value> draft_id
|
|
949
|
+
-h, --help display help for command
|
|
950
|
+
```
|
|
951
|
+
|
|
952
|
+
### itpay sell pricing set
|
|
953
|
+
|
|
954
|
+
Set per-call price and platform refund policy
|
|
955
|
+
|
|
956
|
+
```text
|
|
957
|
+
Usage: itpay sell pricing set [options]
|
|
958
|
+
|
|
959
|
+
Set per-call price and platform refund policy
|
|
960
|
+
|
|
961
|
+
Options:
|
|
962
|
+
--json Structured output
|
|
963
|
+
--input-json <file> Request fields as JSON
|
|
964
|
+
--merchant-id <value> merchant_id
|
|
965
|
+
--draft-id <value> draft_id
|
|
966
|
+
-h, --help display help for command
|
|
967
|
+
```
|
|
968
|
+
|
|
969
|
+
### itpay sell verify
|
|
970
|
+
|
|
971
|
+
Start platform verification for an explicitly saved version
|
|
972
|
+
|
|
973
|
+
```text
|
|
974
|
+
Usage: itpay sell verify [options]
|
|
975
|
+
|
|
976
|
+
Start platform verification for an explicitly saved version
|
|
977
|
+
|
|
978
|
+
Options:
|
|
979
|
+
--json Structured output
|
|
980
|
+
--input-json <file> Request fields as JSON
|
|
981
|
+
--merchant-id <value> merchant_id
|
|
982
|
+
--draft-id <value> draft_id
|
|
983
|
+
--confirm User explicitly confirmed the disclosed version/action
|
|
984
|
+
-h, --help display help for command
|
|
985
|
+
```
|
|
986
|
+
|
|
987
|
+
### itpay sell runs
|
|
988
|
+
|
|
989
|
+
|
|
990
|
+
|
|
991
|
+
```text
|
|
992
|
+
Usage: itpay sell runs [options] [command]
|
|
993
|
+
|
|
994
|
+
Options:
|
|
995
|
+
-h, --help display help for command
|
|
996
|
+
|
|
997
|
+
Commands:
|
|
998
|
+
get [options] Inspect platform test nodes and diagnostics
|
|
999
|
+
confirm [options] Confirm the exact disclosed platform test side effects
|
|
1000
|
+
help [command] display help for command
|
|
1001
|
+
```
|
|
1002
|
+
|
|
1003
|
+
### itpay sell runs get
|
|
1004
|
+
|
|
1005
|
+
Inspect platform test nodes and diagnostics
|
|
1006
|
+
|
|
1007
|
+
```text
|
|
1008
|
+
Usage: itpay sell runs get [options]
|
|
1009
|
+
|
|
1010
|
+
Inspect platform test nodes and diagnostics
|
|
1011
|
+
|
|
1012
|
+
Options:
|
|
1013
|
+
--json Structured output
|
|
1014
|
+
--input-json <file> Request fields as JSON
|
|
1015
|
+
--merchant-id <value> merchant_id
|
|
1016
|
+
--draft-id <value> draft_id
|
|
1017
|
+
--run-id <value> run_id
|
|
1018
|
+
-h, --help display help for command
|
|
1019
|
+
```
|
|
1020
|
+
|
|
1021
|
+
### itpay sell runs confirm
|
|
1022
|
+
|
|
1023
|
+
Confirm the exact disclosed platform test side effects
|
|
1024
|
+
|
|
1025
|
+
```text
|
|
1026
|
+
Usage: itpay sell runs confirm [options]
|
|
1027
|
+
|
|
1028
|
+
Confirm the exact disclosed platform test side effects
|
|
1029
|
+
|
|
1030
|
+
Options:
|
|
1031
|
+
--json Structured output
|
|
1032
|
+
--input-json <file> Request fields as JSON
|
|
1033
|
+
--merchant-id <value> merchant_id
|
|
1034
|
+
--draft-id <value> draft_id
|
|
1035
|
+
--run-id <value> run_id
|
|
1036
|
+
--confirm User explicitly confirmed the disclosed version/action
|
|
1037
|
+
-h, --help display help for command
|
|
1038
|
+
```
|
|
1039
|
+
|
|
1040
|
+
### itpay sell submission
|
|
1041
|
+
|
|
1042
|
+
|
|
1043
|
+
|
|
1044
|
+
```text
|
|
1045
|
+
Usage: itpay sell submission [options] [command]
|
|
1046
|
+
|
|
1047
|
+
Options:
|
|
1048
|
+
-h, --help display help for command
|
|
1049
|
+
|
|
1050
|
+
Commands:
|
|
1051
|
+
preview [options] Read publication readiness and required agreements
|
|
1052
|
+
submit [options] Submit the confirmed version for review, never approve it
|
|
1053
|
+
get [options] Read the actual review/publication result
|
|
1054
|
+
withdraw [options] Withdraw own pending submission
|
|
1055
|
+
watch [options]
|
|
1056
|
+
help [command] display help for command
|
|
1057
|
+
```
|
|
1058
|
+
|
|
1059
|
+
### itpay sell submission preview
|
|
1060
|
+
|
|
1061
|
+
Read publication readiness and required agreements
|
|
1062
|
+
|
|
1063
|
+
```text
|
|
1064
|
+
Usage: itpay sell submission preview [options]
|
|
1065
|
+
|
|
1066
|
+
Read publication readiness and required agreements
|
|
1067
|
+
|
|
1068
|
+
Options:
|
|
1069
|
+
--json Structured output
|
|
1070
|
+
--input-json <file> Request fields as JSON
|
|
1071
|
+
--merchant-id <value> merchant_id
|
|
1072
|
+
-h, --help display help for command
|
|
1073
|
+
```
|
|
1074
|
+
|
|
1075
|
+
### itpay sell submission submit
|
|
1076
|
+
|
|
1077
|
+
Submit the confirmed version for review, never approve it
|
|
1078
|
+
|
|
1079
|
+
```text
|
|
1080
|
+
Usage: itpay sell submission submit [options]
|
|
1081
|
+
|
|
1082
|
+
Submit the confirmed version for review, never approve it
|
|
1083
|
+
|
|
1084
|
+
Options:
|
|
1085
|
+
--json Structured output
|
|
1086
|
+
--input-json <file> Request fields as JSON
|
|
1087
|
+
--merchant-id <value> merchant_id
|
|
1088
|
+
--draft-id <value> draft_id
|
|
1089
|
+
--confirm User explicitly confirmed the disclosed version/action
|
|
1090
|
+
-h, --help display help for command
|
|
1091
|
+
```
|
|
1092
|
+
|
|
1093
|
+
### itpay sell submission get
|
|
1094
|
+
|
|
1095
|
+
Read the actual review/publication result
|
|
1096
|
+
|
|
1097
|
+
```text
|
|
1098
|
+
Usage: itpay sell submission get [options]
|
|
1099
|
+
|
|
1100
|
+
Read the actual review/publication result
|
|
1101
|
+
|
|
1102
|
+
Options:
|
|
1103
|
+
--json Structured output
|
|
1104
|
+
--input-json <file> Request fields as JSON
|
|
1105
|
+
--merchant-id <value> merchant_id
|
|
1106
|
+
--submission-id <value> submission_id
|
|
1107
|
+
-h, --help display help for command
|
|
1108
|
+
```
|
|
1109
|
+
|
|
1110
|
+
### itpay sell submission withdraw
|
|
1111
|
+
|
|
1112
|
+
Withdraw own pending submission
|
|
1113
|
+
|
|
1114
|
+
```text
|
|
1115
|
+
Usage: itpay sell submission withdraw [options]
|
|
1116
|
+
|
|
1117
|
+
Withdraw own pending submission
|
|
1118
|
+
|
|
1119
|
+
Options:
|
|
1120
|
+
--json Structured output
|
|
1121
|
+
--input-json <file> Request fields as JSON
|
|
1122
|
+
--merchant-id <value> merchant_id
|
|
1123
|
+
--submission-id <value> submission_id
|
|
1124
|
+
--confirm User explicitly confirmed the disclosed
|
|
1125
|
+
version/action
|
|
1126
|
+
-h, --help display help for command
|
|
1127
|
+
```
|
|
1128
|
+
|
|
1129
|
+
### itpay sell submission watch
|
|
1130
|
+
|
|
1131
|
+
|
|
1132
|
+
|
|
1133
|
+
```text
|
|
1134
|
+
Usage: itpay sell submission watch [options]
|
|
1135
|
+
|
|
1136
|
+
Options:
|
|
1137
|
+
--merchant-id <id>
|
|
1138
|
+
--submission-id <id>
|
|
1139
|
+
--timeout <seconds> Maximum wait (default: "120")
|
|
1140
|
+
--json
|
|
1141
|
+
-h, --help display help for command
|
|
1142
|
+
```
|
|
1143
|
+
|
|
1144
|
+
### itpay sell init
|
|
1145
|
+
|
|
1146
|
+
Local Sell: init
|
|
1147
|
+
|
|
1148
|
+
```text
|
|
1149
|
+
Usage: itpay sell init [options]
|
|
1150
|
+
|
|
1151
|
+
Local Sell: init
|
|
1152
|
+
|
|
1153
|
+
Options:
|
|
1154
|
+
--project <directory> Project directory (default: ".")
|
|
1155
|
+
--file <file>
|
|
1156
|
+
--url <https-url>
|
|
1157
|
+
--name <name>
|
|
1158
|
+
--service-id <id>
|
|
1159
|
+
--provider-key <key>
|
|
1160
|
+
--profile <id>
|
|
1161
|
+
--merchant-id <id>
|
|
1162
|
+
--environment <environment>
|
|
1163
|
+
--version-id <id>
|
|
1164
|
+
--run <id>
|
|
1165
|
+
--confirm
|
|
1166
|
+
--json
|
|
1167
|
+
-h, --help display help for command
|
|
1168
|
+
```
|
|
1169
|
+
|
|
1170
|
+
### itpay sell config
|
|
1171
|
+
|
|
1172
|
+
Local Sell: config
|
|
1173
|
+
|
|
1174
|
+
```text
|
|
1175
|
+
Usage: itpay sell config [options]
|
|
1176
|
+
|
|
1177
|
+
Local Sell: config
|
|
1178
|
+
|
|
1179
|
+
Options:
|
|
1180
|
+
--project <directory> Project directory (default: ".")
|
|
1181
|
+
--file <file>
|
|
1182
|
+
--url <https-url>
|
|
1183
|
+
--name <name>
|
|
1184
|
+
--service-id <id>
|
|
1185
|
+
--provider-key <key>
|
|
1186
|
+
--profile <id>
|
|
1187
|
+
--merchant-id <id>
|
|
1188
|
+
--environment <environment>
|
|
1189
|
+
--version-id <id>
|
|
1190
|
+
--run <id>
|
|
1191
|
+
--confirm
|
|
1192
|
+
--json
|
|
1193
|
+
-h, --help display help for command
|
|
1194
|
+
```
|
|
1195
|
+
|
|
1196
|
+
### itpay sell test
|
|
1197
|
+
|
|
1198
|
+
|
|
1199
|
+
|
|
1200
|
+
```text
|
|
1201
|
+
Usage: itpay sell test [options] [command]
|
|
1202
|
+
|
|
1203
|
+
Options:
|
|
1204
|
+
-h, --help display help for command
|
|
1205
|
+
|
|
1206
|
+
Commands:
|
|
1207
|
+
run [options] Local Sell: test run
|
|
1208
|
+
resume [options] Local Sell: test resume
|
|
1209
|
+
get [options] Local Sell: test get
|
|
1210
|
+
help [command] display help for command
|
|
1211
|
+
```
|
|
1212
|
+
|
|
1213
|
+
### itpay sell test run
|
|
1214
|
+
|
|
1215
|
+
Local Sell: test run
|
|
1216
|
+
|
|
1217
|
+
```text
|
|
1218
|
+
Usage: itpay sell test run [options]
|
|
1219
|
+
|
|
1220
|
+
Local Sell: test run
|
|
1221
|
+
|
|
1222
|
+
Options:
|
|
1223
|
+
--project <directory> Project directory (default: ".")
|
|
1224
|
+
--file <file>
|
|
1225
|
+
--url <https-url>
|
|
1226
|
+
--name <name>
|
|
1227
|
+
--service-id <id>
|
|
1228
|
+
--provider-key <key>
|
|
1229
|
+
--profile <id>
|
|
1230
|
+
--merchant-id <id>
|
|
1231
|
+
--environment <environment>
|
|
1232
|
+
--version-id <id>
|
|
1233
|
+
--run <id>
|
|
1234
|
+
--confirm
|
|
1235
|
+
--json
|
|
1236
|
+
-h, --help display help for command
|
|
1237
|
+
```
|
|
1238
|
+
|
|
1239
|
+
### itpay sell test resume
|
|
1240
|
+
|
|
1241
|
+
Local Sell: test resume
|
|
1242
|
+
|
|
1243
|
+
```text
|
|
1244
|
+
Usage: itpay sell test resume [options]
|
|
1245
|
+
|
|
1246
|
+
Local Sell: test resume
|
|
1247
|
+
|
|
1248
|
+
Options:
|
|
1249
|
+
--project <directory> Project directory (default: ".")
|
|
1250
|
+
--file <file>
|
|
1251
|
+
--url <https-url>
|
|
1252
|
+
--name <name>
|
|
1253
|
+
--service-id <id>
|
|
1254
|
+
--provider-key <key>
|
|
1255
|
+
--profile <id>
|
|
1256
|
+
--merchant-id <id>
|
|
1257
|
+
--environment <environment>
|
|
1258
|
+
--version-id <id>
|
|
1259
|
+
--run <id>
|
|
1260
|
+
--confirm
|
|
1261
|
+
--json
|
|
1262
|
+
-h, --help display help for command
|
|
1263
|
+
```
|
|
1264
|
+
|
|
1265
|
+
### itpay sell test get
|
|
1266
|
+
|
|
1267
|
+
Local Sell: test get
|
|
1268
|
+
|
|
1269
|
+
```text
|
|
1270
|
+
Usage: itpay sell test get [options]
|
|
1271
|
+
|
|
1272
|
+
Local Sell: test get
|
|
1273
|
+
|
|
1274
|
+
Options:
|
|
1275
|
+
--project <directory> Project directory (default: ".")
|
|
1276
|
+
--file <file>
|
|
1277
|
+
--url <https-url>
|
|
1278
|
+
--name <name>
|
|
1279
|
+
--service-id <id>
|
|
1280
|
+
--provider-key <key>
|
|
1281
|
+
--profile <id>
|
|
1282
|
+
--merchant-id <id>
|
|
1283
|
+
--environment <environment>
|
|
1284
|
+
--version-id <id>
|
|
1285
|
+
--run <id>
|
|
1286
|
+
--confirm
|
|
1287
|
+
--json
|
|
1288
|
+
-h, --help display help for command
|
|
1289
|
+
```
|
|
1290
|
+
|
|
1291
|
+
### itpay sell push
|
|
1292
|
+
|
|
1293
|
+
|
|
1294
|
+
|
|
1295
|
+
```text
|
|
1296
|
+
Usage: itpay sell push [options]
|
|
1297
|
+
|
|
1298
|
+
Options:
|
|
1299
|
+
--project <directory> Project directory (default: ".")
|
|
1300
|
+
--merchant-id <id>
|
|
1301
|
+
--draft-id <id>
|
|
1302
|
+
--bindings <file> Local profile ID to platform credential profile ID map
|
|
1303
|
+
--confirm
|
|
1304
|
+
--json
|
|
1305
|
+
-h, --help display help for command
|
|
1306
|
+
```
|
|
1307
|
+
|
|
1308
|
+
### itpay sell pull
|
|
1309
|
+
|
|
1310
|
+
|
|
1311
|
+
|
|
1312
|
+
```text
|
|
1313
|
+
Usage: itpay sell pull [options]
|
|
1314
|
+
|
|
1315
|
+
Options:
|
|
1316
|
+
--project <directory> Project directory (default: ".")
|
|
1317
|
+
--merchant-id <id>
|
|
1318
|
+
--draft-id <id>
|
|
1319
|
+
--bindings <file> Local profile ID to platform credential profile ID map
|
|
1320
|
+
--confirm
|
|
1321
|
+
--json
|
|
1322
|
+
-h, --help display help for command
|
|
1323
|
+
```
|
|
1324
|
+
|
|
1325
|
+
### itpay sell mcp
|
|
1326
|
+
|
|
1327
|
+
Serve local Seller MCP over stdio
|
|
1328
|
+
|
|
1329
|
+
```text
|
|
1330
|
+
Usage: itpay sell mcp [options]
|
|
1331
|
+
|
|
1332
|
+
Serve local Seller MCP over stdio
|
|
1333
|
+
|
|
1334
|
+
Options:
|
|
1335
|
+
--stdio
|
|
1336
|
+
--project <directory> Project directory (default: ".")
|
|
1337
|
+
-h, --help display help for command
|
|
1338
|
+
```
|
|
1339
|
+
|
|
1340
|
+
## Seller login and dev
|
|
1341
|
+
|
|
1342
|
+
Use `ITPAY_BACKEND_URL=https://dev.itpay.ai itpay sell auth login --json` 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 --json`. 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 --json` 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.
|