返回 Stripe
将 Knoon AI 与 Stripe 连接以自动化 AI 工作流。
Update a Stripe draft invoice.
stripeDefaultUpdateInvoice
测试版
内部
权限
没有可显示的项目。
可选权限
没有可显示的项目。
参数
| 名称 | 类型 | 描述 | 必填 |
|---|---|---|---|
| invoiceId | mustache | Stripe invoice ID (e.g. "in_12345"). | 是的 |
| payload | mustache | JSON payload string to send to Stripe (for example metadata, description, due_date, or days_until_due). | 是的 |
回报
| 名称 | 类型 | 描述 |
|---|---|---|
| id | string | Invoice ID. |
| status | string | Invoice status. |
| customerId | string | Stripe customer ID. |
| subscriptionId | string | Stripe subscription ID when available. |
| paymentIntentId | string | Payment intent ID when available. |
| collectionMethod | string | Invoice collection method. |
| amountDue | number | Amount due. |
| amountPaid | number | Amount paid. |
| amountRemaining | number | Amount remaining. |
| currency | string | Invoice currency. |
| hostedInvoiceUrl | string | Hosted invoice URL when available. |
| invoicePdf | string | Invoice PDF URL when available. |
| number | string | Invoice number. |
| dueDate | string | Invoice due date (ISO). |
| createdAt | string | Invoice creation time (ISO). |
| finalizedAt | string | Invoice finalization time (ISO) when available. |
| paidAt | string | Invoice paid time (ISO) when available. |
| voidedAt | string | Invoice voided time (ISO) when available. |