stripe-backend
星标13
分支0
更新时间2026年5月23日 14:10
Stripe Backend
安装
用 Codex 或 Claude 帮你安装 复制这段 Prompt,粘贴到 Codex、Claude 或其他助手里,让它检查 Skill 页面并帮你完成安装。
SKILL.md
readonly菜单
Stripe Backend
用 Codex 或 Claude 帮你安装 复制这段 Prompt,粘贴到 Codex、Claude 或其他助手里,让它检查 Skill 页面并帮你完成安装。
基于 SOC 职业分类
Dev In Browser
Fastapi_Stripe
Fix Tests
Implement Fastapi Routes
Plan Only
Python Command
| name | stripe-backend |
| description | Stripe Backend |
cast(object, ...) should not be used. Can you instead cast expandable fields to PaymentIntent, or whatever their expandable type is?from stripe import Charge can we use top-level imports instead of importing from private packages?customer = getattr(session, "customer", None) instead just access session.customer and assert that it is not null. Use the pattern for all stripe objects.auto_paging_iter for example stripe_client.prices.list(params={ ... }).auto_paging_iter()StripeClient is used everywhere and type it as such. When using this client, all API params should be a dictionary inside a params= kwarg.amount_refunded=0 when the charge is disputed. The dispute amount only exists in the balance_transactions of the dispute object.