360 Secure SkillHub
360 安全技能中心

stripe-pay

帮助用户使用 Stripe CLI 向其他 Stripe 企业或 Stripe Profile 标识转账;在缺少确切收款人信息时可通过 Stripe Directory 查找或核验收款人,并在执行前展示转账详情等待确认。若转账不可用,会返回收款方支付链接供 Checkout 完成付款,并提示相关账户配置要求。

分类:自动化
stripe
热度 0.00
最近更新 2026-11-07 12:05:08

安装

发给 Agent
帮我安装这个技能:npx secure-skills-cli add stripe/ai/stripe-pay
兼容性
通用兼容
联网要求
需要联网
数据出网
必须出网
Metadata
name
stripe-pay
description
Helps users send funds to another Stripe business, transfer money to a Stripe Profile handle or network ID, or ask whether an agent can pay a Stripe business. Use Stripe Directory to find or verify a recipient when the user doesn't provide an exact Stripe Profile handle or network ID.
metadata
{"short-description":"Send funds to Stripe businesses"}
allowed-tools
["Bash(stripe directory *)","Bash(stripe pay *)","Bash(stripe whoami *)"]

stripe pay

Use stripe pay to send money from the authenticated Stripe business to another Stripe business identified by a Stripe Profile handle, for example @recipient.

For the financial-account transfer workflow documented here, both the sender and the receiving business must have a Stripe Profile. In addition:

If the user needs details about financial accounts, read Money Management. In this workflow, the command resolves the recipient’s payout configuration, which can route the payout to an attached financial account or linked bank account, and reports the fee and delivery timing before confirmation. Don’t assume that a transfer is free or instant.

Eligible transfers take priority. If the sender has no eligible financial account or the recipient has no eligible transfer destination, stripe pay offers the recipient’s configured payment link, if available. Insufficient funds and currency errors alone don’t trigger this fallback.

For status: payment_link_available and transfer_sent: false, give the user payment_link_url to complete payment in Checkout, where they must enter the amount and check the currency. Transfer arguments don’t carry over. Don’t report payment success from returning or opening the URL, or rerun with --yes to pay the link.

Safety Rules

  1. Don’t send money unless the user explicitly asks you to make the transfer.
  2. Before running a command that can send money, show the exact stripe pay ... command you plan to run and get confirmation.
  3. Use --agent or --json first so the user can review the transfer details.
  4. Don’t pass -y or --yes until after the user confirms the reviewed transfer.
  5. Don’t guess at the user’s intent. Don’t guess at the username, financial account ID, amount, currency, internal note, memo, or any other detail. Always confirm with the user.
  6. Don’t print full API keys back to the user.

Choose the workflow

Read the documentation to accomplish your goal. You must read the relevant page before taking action:

Goal Documentation
Find or verify a recipient when the user doesn’t provide an exact Stripe Profile handle or network ID Use Stripe Directory with AI agents
Review, send, handle approval, resume, or dry-run a transfer stripe pay CLI reference
Create or manage a Stripe Profile, including a recipient’s transfer destination Stripe Profile
Set up or understand an eligible financial account Money Management

Handle setup errors

If stripe pay reports missing setup instead of returning a payment link, don’t continue the transfer. Explain what’s missing and give the user the corresponding next step. Before explaining how to resolve the error, read the documentation for the missing requirement in the workflow table:

  • If the sender is missing a Stripe Profile, tell the user to create one.
  • If the sender is missing an eligible financial account, tell the user to set up Global Payouts with an eligible financial account.
  • If the sender is missing both requirements, tell the user to complete both setup steps before trying the transfer again.
  • If the recipient doesn’t have an eligible transfer destination linked to their Stripe Profile, tell the user that the recipient must complete that setup before the transfer can proceed. Don’t retry the transfer until the recipient’s setup is corrected.
  • If the recipient is missing or invalid, read and follow the Stripe Directory agent workflow. If the user can provide the recipient’s exact Stripe Profile handle or network ID, ask them for it.

For sender setup, direct the user to the relevant Dashboard page: