レートカードを使用した従量課金の設定非公開プレビュー
レート表とサブスクリプションを使用して、複雑な料金モデルで顧客に請求します。
Use rate cards to model hundreds of pay-as-you-go usage-based prices and group them into a single rate card. Add new prices for new features to existing rate cards and roll them out to your existing customers immediately without writing any code.
This guide uses a fictional AI company called Alpaca AI to demonstrate how to create a pricing model with rate cards, subscribe a customer to the rate card, and record usage with meters.
詳しくは、レートカードの仕組みをご覧ください。
プライベートプレビュー
レートカードは現在非公開ベータ版でのみ利用可能であり、すべての Stripe ユーザーを対象とした一般提供が開始されるまでに、機能や実装手順が変更される可能性があります。Sign up here to join the private preview.
はじめに
Rate cards use API endpoints in the /v2
namespace, such as Rate card subscriptions v2. Learn more about the /v2 and /v1 namespaces.
レートカードを作成する
Use the Stripe Dashboard or API to create a rate card that includes different rates for each pricing option.
Alpaca AI では、仮想の設定を基に次のようなレートカードが作成されます。
- 1 カ月のサービス期間
- USD
- 税抜き価格
- 100 ユニットあたり 0.04 USD の従量制価格
You need to associate each rate in a rate card with a meter.
顧客をレートカードに登録する
After you create a rate card, you can start subscribing customers.
When you subscribe your customer to the rate card, you also define the billing cadence–how often to create invoices for your customer. When creating a billing cadence, you can specify collection settings using either charge_
or send_
. When charge_
is selected and an invoice is created, the customer’s default payment method is automatically charged. With the send_
option, customers will receive an invoice they need to pay manually.
顧客の使用状況を記録する
顧客をレートカードに登録した後、メーターにメーターイベントを送信することで、サービスの使用量を記録できます。
Create a preview invoice
Create a preview invoice to see a preview of a customer’s invoice that includes details such as the meter price and usage quantity.