跳到文档正文
浏览和搜索
本页内容

get_payment_link

获取一个付款链接,供对方支付订阅欠款:未付发票、用稳定币支付的续费,或用银行卡支付一张等待稳定币付款的发票。read 级:只需 API key。同名 MCP 工具需要 tweetstream:billing 权限范围。

POST/api/agent/actions/get_payment_link

授权

  • Authorizationstringheader必填使用 TweetStream API 密钥进行 Bearer 认证:Bearer <key>。

请求体

  • familyenum<string>必填
  • targetenum<string>必填invoice: the open card invoice. renewal: the stablecoin payment of the open renewal. outstanding_invoice_card: pay by card an invoice waiting on a stablecoin payment.

响应字段

  • expiresAtstring必填
  • outcomeenum<string>必填
  • urlstring必填

响应

  • 200成功
  • 400输入不符合该操作的 schema(INVALID_REQUEST)
  • 401API key 缺失或无效
  • 403请求带有外部 Origin
  • 429已达到速率限制(RATE_LIMITED),请在 retryAfterSeconds 秒后重试
  • 503暂时不可用,请稍后重试