🖥
#Stripe CLI のコマンド扱えるリソースの一覧を確認する ( stripe resources help )
こうだ
発行できるイベントの一覧に近いのだろうか?
イベントという言い方は違うのかもしれない
$ stripe resources help
Available commands:
3d_secure
account_links
accounts
apple_pay_domains
application_fees
balance
balance_transactions
bank_accounts
capabilities
cards
charges
checkout
country_specs
coupons
credit_notes
customer_balance_transactions
customers
disputes
ephemeral_keys
events
exchange_rates
external_accounts
fee_refunds
file_links
files
invoiceitems
invoices
issuing
line_items
login_links
mandates
order_returns
orders
payment_intents
payment_methods
payment_sources
payouts
persons
plans
products
radar
refunds
reporting
reviews
scheduled_query_runs
setup_intents
skus
sources
subscription_items
subscription_schedules
subscriptions
tax_ids
tax_rates
terminal
tokens
topups
transfer_reversals
transfers
usage_records
webhook_endpoints
Use "stripe [command] --help" for more information about a command.
Stripe は親切なので
リソース名を指定してコマンドを叩くと、いろいろ教えてくれる
$ stripe payment_intents
Usage:
stripe payment_intents <operation> [parameters...]
Available Operations:
cancel
capture
confirm
create
list
retrieve
update
Flags:
-h, --help help for payment_intents
Global Flags:
--api-key string Your API key to use for the command
--color string turn on/off color output (on, off, auto)
--config string config file (default is $HOME/.config/stripe/config.toml)
--device-name string device name
--log-level string log level (debug, info, warn, error) (default "info")
-p, --project-name string the project name to read from for config (default "default")
Use "stripe payment_intents [command] --help" for more information about a command.
Original by Github issue
チャットメンバー募集
何か質問、悩み事、相談などあればLINEオープンチャットもご利用ください。
公開日時
2019-12-07
Discussion