调至内容部分
创建账户
或
登录
Stripe 文档徽标
/
询问人工智能
创建账户
登录
开始
付款
销售收入
平台和交易市场
资金管理
开发人员资源
概览
版本管理
更改日志
升级您的 API 版本
升级 SDK 版本
基础功能
SDK
API
测试
Stripe CLI
项目示例
工具
Workbench
开发人员管理平台
Stripe Shell
Stripe for Visual Studio Code
功能
工作流程
事件接收端
Stripe 健康警报文件上传
AI 解决方案
代理工具包
模型上下文协议
安全与隐私
安全
Stripebot web crawler
隐私
扩展 Stripe
构建 Stripe 应用程序
    概览
    开始
    创建应用程序
    Stripe Apps 的原理
    示例应用程序
    构建应用
    存储密钥
    API 认证方法
    授权流程
    服务器端逻辑
    侦听事件
    处理不同模式
    启用沙盒支持
    应用设置页面
    构建 UI
    轻松入驻
    发布您的应用
    分发选择
    上传您的应用
    版本与发布
    测试您的应用
    发布您的应用
    推广您的应用
    添加深度链接
    创建安装链接
    在 UI 扩展中分配角色
    安装后操作
    应用程序分析
    嵌入式组件
    嵌入第三方 Stripe 应用
    迁移到 Stripe 应用
    迁移或构建扩展
    将插件迁移到 Stripe 应用程序或 Stripe Connect
    参考编号
    应用描述文件
    CLI
    扩展 SDK
    权限
    视口
    设计样式
    组件
使用 Stripe 的应用程序
合作伙伴
合作伙伴生态
合作伙伴认证
首页开发人员资源Build Stripe apps

Stripe Apps CLI reference

Install the Stripe Apps command line interface and use it to manage your app.

The Stripe Apps CLI helps you create, develop, configure, and upload your Stripe app using the terminal.

开始前

  1. Log in to the Stripe Dashboard using your existing Stripe account, or by creating a new one.
  2. Install the Stripe CLI.
  3. Log in to the CLI using the same account you logged into the Stripe Dashboard with.
    Command Line
    stripe login
  4. Verify that you’re using CLI version 1.8.11 or newer.
    Command Line
    stripe version # expected output: stripe version 1.8.11

Install the CLI plugin

To install the Stripe Apps CLI plugin, run:

Command Line
stripe plugin install apps

Upgrade the CLI plugin

To get the latest version of the Stripe Apps CLI plugin, run:

Command Line
stripe plugin upgrade apps

Command overview

CommandDescription
createCreate a new Stripe app.
startStart a development server for viewing your app in the Stripe Dashboard. Use the --manifest flag to load an extended manifest file.
addAdd a building block for developing your app.
removeRemove a building block from your stripe-app.json file.
grantGrant configuration access to your app.
revokeRevoke configuration access to your app.
setSet a configuration value within the app manifest.
uploadUpload your app to be submitted for review.
versionPrint the version of Stripe Apps CLI plugin.

另见

  • App manifest reference
  • Permissions reference
  • How UI extensions work
  • Upload and install your Stripe App
此页面的内容有帮助吗?
是否
  • 需要帮助?联系支持。
  • 加入我们的早期使用计划。
  • 查看我们的更改日志。
  • 有问题?联系销售。
  • LLM? Read llms.txt.
  • Powered by Markdoc