billing-verification

Compare original and translation side by side

🇺🇸

Original

English
🇨🇳

Translation

Chinese

Credyt Verify

Credyt 验证

Run a full billing cycle test against a product to confirm everything is wired up correctly. Produces a clear pass/fail result for each step.
This is the standalone version of the verification that runs automatically at the end of
/credyt:billing-setup
. Use this when you want to verify a product on its own — for example, after making changes in the Credyt dashboard, or to troubleshoot a billing issue.
针对某一产品运行完整的账单周期测试,以确认所有配置均正确。为每个步骤生成清晰的通过/失败结果。
这是
/credyt:billing-setup
结束时自动运行的验证的独立版本。当您希望单独验证某一产品时使用此工具——例如,在Credyt仪表板中进行更改后,或排查账单问题时。

Determine what to verify

确定要验证的内容

If the user specified a product (e.g.,
/credyt:billing-verification image_gen_std
), use that. The
$ARGUMENTS
value is the product code or name.
If no product was specified, call
credyt:list_products
and ask which one to test:
"Which product do you want to verify? Here's what you have set up: [list products]"
Once a product is identified, retrieve its details with
credyt:get_product
and determine:
  • The event type it expects
  • The usage type (unit, volume, or both)
  • The asset it charges in (USD, credits, etc.)
  • Any required dimensions or volume fields
  • The expected price per event
Summarize this to the user before proceeding:
"I'll test '[Product Name]'. It expects an event of type '[event_type]' and should charge [price] per [unit/volume]. Let me run through the full cycle..."
如果用户指定了产品(例如
/credyt:billing-verification image_gen_std
),则使用该产品。
$ARGUMENTS
值为产品代码或名称。
如果未指定产品,请调用
credyt:list_products
并询问要测试哪一个:
"您想要验证哪个产品?以下是您已设置的产品:[产品列表]"
确定产品后,使用
credyt:get_product
获取其详细信息,并确定:
  • 它期望的事件类型
  • 使用类型(单位、容量,或两者兼有)
  • 计费资产(USD、积分等)
  • 任何必填维度或容量字段
  • 预期的每事件价格
在继续之前,向用户总结这些信息:
"我将测试'[产品名称]'。它期望类型为'[event_type]'的事件,每[单位/容量]应收取[价格]。让我运行完整的周期测试..."

Run the verification

运行验证

Follow the six-step procedure in
skills/billing-verification/references/procedure.md
. Execute each step, track pass/fail, and stop to troubleshoot if any step fails.
After all steps pass, add:
Your billing is configured correctly. Run
/credyt:billing-integration
when you're ready to wire this into your app.
If any step failed, suggest running
/credyt:billing-setup
to correct the configuration, then
/credyt:billing-verification
again.
遵循
skills/billing-verification/references/procedure.md
中的六步流程。执行每个步骤,记录通过/失败情况,如果任何步骤失败则停止并排查问题。
所有步骤通过后,添加以下内容:
您的账单配置正确。当您准备好将其接入您的应用时,请运行
/credyt:billing-integration
如果任何步骤失败,建议运行
/credyt:billing-setup
以更正配置,然后再次运行
/credyt:billing-verification

Cleanup note

清理说明

"The test customer will stay in your account — since you're in test mode, this won't affect anything. You can delete it from the Credyt dashboard if you want."
"测试客户将保留在您的账户中——由于您处于测试模式,这不会产生任何影响。您可以在Credyt仪表板中删除它。"