@visa/cli 2.7.0-rc.5 → 2.7.1-rc.10
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/README.md +10 -10
- package/dist/cli.js +126 -125
- package/dist/mcp-server/index.js +23 -23
- package/native/bin/win32-x64/visa-keychain-win.exe +0 -0
- package/package.json +4 -4
- package/server.json +2 -2
package/README.md
CHANGED
|
@@ -59,10 +59,10 @@ visa-cli cards remove <id> # Remove an enrolled card
|
|
|
59
59
|
visa-cli balance show # Prepaid balance + recent ledger entries
|
|
60
60
|
visa-cli balance topup --amount 5 # Top up balance from your default card (Touch ID)
|
|
61
61
|
|
|
62
|
-
#
|
|
63
|
-
visa-cli
|
|
64
|
-
visa-cli
|
|
65
|
-
visa-cli
|
|
62
|
+
# Visa Keys for apps and agents
|
|
63
|
+
visa-cli keys create my-demo-app # Create a Visa Key (prints the VisaKey_... key once)
|
|
64
|
+
visa-cli keys list # List Visa Keys
|
|
65
|
+
visa-cli keys revoke <id> # Revoke a Visa Key
|
|
66
66
|
|
|
67
67
|
# Run merchant tools
|
|
68
68
|
visa-cli generate image|video|music|speech|3d # Generate media with merchant tools
|
|
@@ -137,17 +137,17 @@ visa-cli status
|
|
|
137
137
|
|
|
138
138
|
---
|
|
139
139
|
|
|
140
|
-
##
|
|
140
|
+
## Visa Keys for apps and agents
|
|
141
141
|
|
|
142
|
-
Approved users can create
|
|
142
|
+
Approved users can create Visa Keys from the CLI with their existing login:
|
|
143
143
|
|
|
144
144
|
```bash
|
|
145
|
-
visa-cli
|
|
146
|
-
visa-cli
|
|
147
|
-
visa-cli
|
|
145
|
+
visa-cli keys create my-demo-app --tools fal-flux-pro,or-gpt-4o-mini --daily-cap 5 --total-cap 200
|
|
146
|
+
visa-cli keys list
|
|
147
|
+
visa-cli keys revoke 1
|
|
148
148
|
```
|
|
149
149
|
|
|
150
|
-
The create command prints the raw `VisaKey_...` key once. Store it in your app or agent secret store and send it as `X-Api-Key`. Paid
|
|
150
|
+
The create command prints the raw `VisaKey_...` key once. Store it in your app or agent secret store and send it as `X-Api-Key`. Paid Visa Key calls use `/v1/api/tools/:tool/execute` for direct JSON execution. Direct `/v1/api/shortcuts/:tool` card charges are retired. Use `--daily-cap USD` and `--total-cap USD` to keep key spend bounded.
|
|
151
151
|
|
|
152
152
|
---
|
|
153
153
|
|