@whop/cli 0.30.0 → 0.32.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/README.md CHANGED
@@ -9,6 +9,7 @@ whop products create --title "Pro membership" # something to sell
9
9
  whop checkout-configurations create --variant_id plan_xxx # a link that accepts money
10
10
  whop media generate --type image --prompt "launch art" # make an ad creative
11
11
  whop ads create … # run it as an ad
12
+ whop send @alice 25 # send money to anyone by @username or email
12
13
  whop payouts create … # send earnings to your bank
13
14
  whop stats time-series list # how it's all going
14
15
  ```
@@ -17,7 +18,7 @@ With the CLI you can:
17
18
 
18
19
  - **Ship software**: build and deploy hosted web apps to `*.whop.site` or your own domain, with previews, rollbacks, secrets, and production logs
19
20
  - **Sell anything**: products, one-time / recurring / trial pricing, checkout links
20
- - **Move money**: payouts, transfers, deposits, currency swaps, spending cards
21
+ - **Move money**: send to anyone by @username or email, payouts, transfers, deposits, currency swaps, spending cards
21
22
  - **Advertise**: generate AI images and video, run ad campaigns
22
23
  - **Hire**: post bounties with escrowed rewards, review submissions, pay the winners
23
24
  - **Measure**: financial, audience, and traffic stats, plus tracked people and events
@@ -140,6 +141,8 @@ whop products update prod_xxxxxxxx --gallery_images '[{"id":"file_xxxxxxxx"}]'
140
141
 
141
142
  Money moves through the same surface: payouts, transfers, deposits, swaps, and cards. Payouts and card issuing require identity verification (`whop verifications`). Steps that need a browser, like KYC, show up as a link to open.
142
143
 
144
+ `whop send @sam 10` sends 10 USD to a Whop user from your business: it finds them, shows who will receive it, and asks before sending. Add `--from biz_xxx` to send from another business, or `--dry-run` to see the recipient without sending. The CLI can't send from a personal balance.
145
+
143
146
  Use `whop transfers get-claim-link <id>` to retrieve a funded claim link by its `airdrp_` ID or public claim code. ID reads require `airdrop_link:basic:read` on the funding business or ownership of the funding personal account; a claim code allows a public preview.
144
147
 
145
148
  ## Read trading activity
@@ -183,8 +186,8 @@ whop media generate --type image --prompt "A running club at sunrise" --wait
183
186
  whop ads create \
184
187
  --title "Launch ad" --headlines "Find your stride" --call_to_action sign_up \
185
188
  --url "https://whop.com/your-store" \
186
- --creatives '[{"id":"file_x"}]' --external_accounts '[{"id":"sacc_x"}]' \
187
- --ad_group '{"title":"US broad","conversion_location":"website","ad_campaign":{"title":"Growth","platform":"whop","objective":"sales","status":"draft","budget_amount":25,"budget_optimization":"ad_campaign"}}'
189
+ --creatives '[{"id":"file_x"}]' \
190
+ --ad_group '{"title":"US broad","ad_campaign":{"title":"Growth","objective":"sales","status":"draft","budget_amount":25,"budget_optimization":"ad_campaign"}}'
188
191
  whop ad-campaigns update <adcamp_id> --status active # launch when ready
189
192
  ```
190
193