只读查询 Stripe 实时单价与预计到账积分(Cache-Control: no-store)。amount 为整数 quota-USD 购买数量(1–10000,非美分也非积分)。要求原生登录会话或具备 wallet:read 的 PAT,拒绝推理 API Key。Stripe 优惠码若已启用则在 Checkout 应用,此时 discount_reason=checkout_promotion_only;未启用时为 no_discount,以 promotion_codes_enabled 为准,不改变预计购买积分。预览不创建订单、不冻结资金。
GET
/oneaster/v1/billing/stripe/preview身份验证
Authorizationstring必填使用登录取得的 native access_token(部分接口支持带对应权限的 PAT);身份要求:登录 access_token。
Authorization: Bearer $ONEASTER_ACCESS_TOKEN
参数
amountinteger必填query