@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 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
- # API tokens for apps and agents
63
- visa-cli tokens create my-demo-app # Create an API token (prints the VisaKey_... key once)
64
- visa-cli tokens list # List API tokens
65
- visa-cli tokens revoke <id> # Revoke an API token
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
- ## API tokens for apps and agents
140
+ ## Visa Keys for apps and agents
141
141
 
142
- Approved users can create API tokens from the CLI with their existing login:
142
+ Approved users can create Visa Keys from the CLI with their existing login:
143
143
 
144
144
  ```bash
145
- visa-cli tokens create my-demo-app --tools fal-flux-pro,or-gpt-4o-mini --daily-cap 5 --total-cap 200 --expires 2026-12-31
146
- visa-cli tokens list
147
- visa-cli tokens revoke 1
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 API-token calls use `/v1/api/tools/:tool/execute` for direct JSON execution. Direct `/v1/api/shortcuts/:tool` card charges are retired. Use `--total-cap USD` for a lifetime key guardrail and `--expires YYYY-MM-DD` to make a key stop working automatically.
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