---
title: Stripeではじめるサブスクリプション - どんな料金体系がStripeで実現できるのか？ / JP_Stripes Tokyo 202309
tags:  #stripe #サブスクリプション #決済システム  
author: [Hidetaka Okamoto](https://www.docswell.com/user/hidetaka-stripe)
site: [Docswell](https://www.docswell.com/)
thumbnail: https://bcdn.docswell.com/page/4EMVXD23EW.jpg?width=480
description: JP_Stripes Tokyoでの登壇資料です
published: September 27, 23
canonical: https://www.docswell.com/s/hidetaka-stripe/KP9L7Q-jpstripes-tokyo-202309
---
# Page. 1

![Page Image](https://bcdn.docswell.com/page/4EMVXD23EW.jpg)

JP_Stripes東京 Vol.10
Stripeではじめるサブスクリプション
どんな料金体系がStripeで実現できるのか？
@hidetaka_dev
Updated June 2023


# Page. 2

![Page Image](https://bcdn.docswell.com/page/PER2N4MR79.jpg)

Stripeではじめるサブスクリプション- どんな料金体系がStripeで実現できるのか？
料金モデルを知ることで、ビジネスの柔軟性を高めよう
定額・
段階
定額＋
従量
従量
2


# Page. 3

![Page Image](https://bcdn.docswell.com/page/P7XDN2VYJX.jpg)

JP_Stripes東京 Vol.10
👋 Hello!
Hidetaka Okamoto(岡本秀高)
Developer Advocate @ Stripe
AWS Community Builder
💬 @hidetaka_dev
✉ hideokamoto@stripe.com
Hyogo / Kyoto, Japan


# Page. 4

![Page Image](https://bcdn.docswell.com/page/37KXNMQ4JD.jpg)

Stripeではじめるサブスクリプション- どんな料金体系がStripeで実現できるのか？
なぜ今「価格」の話なのか？
40%
価格の最適化を検討している企業の割合
サブスクリプションと課金請求管理の現状に関する報告書- Stripe
https://prtimes.jp/main/html/rd/p/000000041.000077879.html
https://stripe.com/sessions
4


# Page. 5

![Page Image](https://bcdn.docswell.com/page/LJ35VYPD75.jpg)

Stripeではじめるサブスクリプション- どんな料金体系がStripeで実現できるのか？
なぜ今「価格」の話なのか？
40%
43%
価格の最適化を検討している企業の割合
解約率が今後増加するだろうと
予想する企業の割合
サブスクリプションと課金請求管理の現状に関する報告書- Stripe
https://prtimes.jp/main/html/rd/p/000000041.000077879.html
https://stripe.com/sessions
5


# Page. 6

![Page Image](https://bcdn.docswell.com/page/8JDD85L2JG.jpg)

Stripeではじめるサブスクリプション- どんな料金体系がStripeで実現できるのか？
「価格」は解約理由になりやすい
顧客がサブスクリプションを解約する
主な原因は何だと考えていますか？
価格
サービスが顧客のニーズ
を満たせなかった
サービスが不要になった
競合サービスへの移行
その他・わからない
サブスクリプションと課金請求管理の現状に関する報告書- Stripe
https://prtimes.jp/main/html/rd/p/000000041.000077879.html
https://stripe.com/sessions
6


# Page. 7

![Page Image](https://bcdn.docswell.com/page/VEPX8G2LJ8.jpg)

Stripeではじめるサブスクリプション- どんな料金体系がStripeで実現できるのか？
「価格」は解約理由になりやすい
顧客がサブスクリプションを解約する
主な原因は何だと考えていますか？
価格
サービスが顧客のニーズ
を満たせなかった
25%
サービスが不要になった
競合サービスへの移行
その他・わからない
顧客離れ対策で、
価格を引き下げることを検討する企業の割合
サブスクリプションと課金請求管理の現状に関する報告書- Stripe
https://prtimes.jp/main/html/rd/p/000000041.000077879.html
https://stripe.com/sessions
7


# Page. 8

![Page Image](https://bcdn.docswell.com/page/27VLN6D6EQ.jpg)

価格設定と料金プラン設定は
SaaSの収益性に
大きな影響を与える
8


# Page. 9

![Page Image](https://bcdn.docswell.com/page/5JGXKNY27L.jpg)



# Page. 10

![Page Image](https://bcdn.docswell.com/page/47Q8NQM9EP.jpg)

複雑な課金ロジックをシ
ンプルに
●
継続課金
週 / 月 / 年 / カスタム
●
単発の請求との組み合わせ
初回手数料・更新料など
●
柔軟な価格モデル
従量課金や段階的価格
●
割引・トライアル
●
etc…


# Page. 11

![Page Image](https://bcdn.docswell.com/page/KE42GN4R71.jpg)

Stripeではじめるサブスクリプション- どんな料金体系がStripeで実現できるのか？
Stripe Billingで作れる料金体系モデルの例
● 標準の料金体系
● パッケージ料金体系
● 数量ベースの料金体系
● 段階的な料金体系
11


# Page. 12

![Page Image](https://bcdn.docswell.com/page/L71MD54VJG.jpg)

Stripeの料金体系モデルいろいろ
標準の料金体系
●
１つの価格
●
合計額は
数量に比例
●
1,000円
51ユーザー
-&gt; 51,000円


# Page. 13

![Page Image](https://bcdn.docswell.com/page/G7W3Y5X372.jpg)

Stripeの料金体系モデルいろいろ
パッケージ
料金体系
●
１つの価格
●
ユニット単位で
合計金額が増加
●
10,000円
51ユーザー
-&gt; 60,000円


# Page. 14

![Page Image](https://bcdn.docswell.com/page/4JZVXN6G73.jpg)

Stripeの料金体系モデルいろいろ
数量ベースの
料金体系
●
数量ごとの価格
●
ユニット単価は
該当数量で決定
●
左表の価格
51ユーザー
-&gt; 45,900円


# Page. 15

![Page Image](https://bcdn.docswell.com/page/YE65482QJV.jpg)

Stripeの料金体系モデルいろいろ
段階的な
料金体系
●
数量ごとの価格
●
ユニット単価は
該当数量で決定
●
左表の価格
51ユーザー
-&gt; 59,900円


# Page. 16

![Page Image](https://bcdn.docswell.com/page/GE5YQ922E4.jpg)

Stripeではじめるサブスクリプション- どんな料金体系がStripeで実現できるのか？
サービスの使われ方に応じた料金モデルの選定
● 数量に比例した請求金額 -&gt; 標準な料金体系
● 特定ユニット単位で金額を変更 -&gt; パッケージな料金体系
● 数量に応じて全体の単価を変更 -&gt; 数量ベースな料金体系
● 閾値ごとに単価を設定 -&gt; 段階的な料金体系
● 定額 + 従量課金の組み合わせ -&gt; 数量ベース or 段階的
16


# Page. 17

![Page Image](https://bcdn.docswell.com/page/972GP2417R.jpg)

多岐にわたる料金体系を
どのように実装するか？
17


# Page. 18

![Page Image](https://bcdn.docswell.com/page/DJYV5YM4JM.jpg)

Billing概要
Billing オブジェクト間の処理の流れ
Products
Customer
Prices
500 円 / 月
1000 円 / 月
機能料金
会員料金
10000 円 / 年
18


# Page. 19

![Page Image](https://bcdn.docswell.com/page/V7NMNPW6E8.jpg)

Billing概要
Billing オブジェクト間の処理の流れ
Products
Customer
Subscription
Prices
500 円 / 月
Invoices
Paid: Aug. 2020
1000 円 / 月
機能料金
会員料金
10000 円 / 年
19


# Page. 20

![Page Image](https://bcdn.docswell.com/page/YJ9NR3XRJ3.jpg)

Billing概要
Billing オブジェクト間の処理の流れ
Products
Customer
Subscription
Prices
500 円 / 月
Invoices
Paid: Aug. 2020
1000 円 / 月
機能料金
会員料金
10000 円 / 年
Paid: July. 2020
20


# Page. 21

![Page Image](https://bcdn.docswell.com/page/GJ8KWM2GED.jpg)

Billing概要
料金や商品の中身を、サブスクリプションは意識しない
Products
Customer
Subscription
Prices
500 円 / 月
Invoices
申し込み処理で、
料金体系の違いは
考慮しなくて良い
Paid: Aug. 2020
1000 円 / 月
機能料金
会員料金
10000 円 / 年
Paid: July. 2020
Paid: June 2020
21


# Page. 22

![Page Image](https://bcdn.docswell.com/page/LJLZN32X7R.jpg)

サブスクリプションの作り方
await stripe.subscriptions.create({
customer: &#039;cus_xxxxxx&#039;,
items: [{
price: &#039;price_xxxxxxx&#039;,
quantity: 51,
}]
})
料金IDと顧客ID
数量を指定する


# Page. 23

![Page Image](https://bcdn.docswell.com/page/47MVXD837W.jpg)

サブスクリプションの作り方
await stripe.subscriptions.create({
customer: &#039;cus_xxxxxx&#039;,
items: [{
price: &#039;price_xxxxxxx&#039;,
quantity: 51,
}],
promotion_code: &#039;promo_xxx&#039;,
trial_period_days: 7,
})
割引や
トライアルの
設定


# Page. 24

![Page Image](https://bcdn.docswell.com/page/P7R2N45RJ9.jpg)

サブスクリプションの作り方
await stripe.subscriptions.create({
customer: &#039;cus_xxxxxx&#039;,
items: [{
price: &#039;price_xxxxxxx&#039;,
quantity: 51,
}],
trial_period_days: 7,
trial_settings: {
end_behavior: {
missing_payment_method: &#039;cancel&#039;,
},
},
})
トライアルで、
支払い方法を
後から登録する


# Page. 25

![Page Image](https://bcdn.docswell.com/page/PJXDN2KYEX.jpg)

サブスクリプションの作り方
await stripe.subscriptions.create({
customer: &#039;cus_xxxxxx&#039;,
items: [{
price: &#039;price_xxxxxxx&#039;,
quantity: 51,
}]
})
料金IDと顧客ID
数量を指定する


# Page. 26

![Page Image](https://bcdn.docswell.com/page/3JKXNM54ED.jpg)

サブスクリプションの作り方
const session = await stripe.checkout .sessions .create({
success_url: &#039;https://example.com/thanks &#039;,
cancel_url: &#039;https://example.com &#039;,
line_items: [{
price: &#039;price_xxx&#039;,
quantity: 1,
},{
price: &#039;price_xxx&#039;,
quantity: 1,
}],
mode: &#039;subscription&#039; ,
})
return Response .redirect (session.url, 303)
Checkoutでは、
初回手数料ありの
サブスクリプションも
提供することが可能


# Page. 27

![Page Image](https://bcdn.docswell.com/page/LE35VYKDJ5.jpg)

Stripeではじめるサブスクリプション- どんな料金体系がStripeで実現できるのか？
実装時には、料金体系の違いは意識せずに済む
● Subscription / Price / Customerそれぞれ独立したデータ
● 「どのIDの料金でサブスクリプションを作るか？」だけ
意識すれば、申し込みフローのAPI組み込みが可能
● Checkout ( リダイレクト型申し込みフォーム )では、
初回手数料などの1回きり請求も、まとめて処理できる
27


# Page. 28

![Page Image](https://bcdn.docswell.com/page/8EDD8532EG.jpg)

One more thing
28


# Page. 29

![Page Image](https://bcdn.docswell.com/page/V7PX8G4LE8.jpg)

Stripeで「従量課金・使っただけ課金」を実装する
Usage based billing（従量課金）
従量課金プランの作成
顧客への課金
使用量の記録
subscription
amount: 1400
invoice
item
item
Plan
amount: 800
usage record
amount: 200
quantity: 4
currency: JPY
timestamp: 1586475800
interval: week
usage_type: metered
item
item
Plan
amount: 600
usage record
amount: 100
quantity: 6
currency: JPY
timestamp: 1585872000
interval: week
usage_type: metered
29


# Page. 30

![Page Image](https://bcdn.docswell.com/page/2JVLN6X67Q.jpg)

Stripeで「従量課金・使っただけ課金」を実装する
UsageRecordで、「どれだけ使ったか」を登録
const subscription = await stripe.subscriptions.retrieve(&#039;sub_xxxx&#039;);
const usageRecordPrice = subscription.items.data.find(item =&gt; {
return item.price.recurring?.usage_type === &#039;metered&#039;;
});
if (usageRecordPrice) {
await stripe.subscriptionItems.createUsageRecord(usageRecordPrice.id, {
action: &#039;set&#039;,
quantity: 10,
timestamp: Math.floor(new Date().getTime() / 1000)
});
}
30


# Page. 31

![Page Image](https://bcdn.docswell.com/page/5EGXKNV2JL.jpg)

Stripeで「従量課金・使っただけ課金」を実装する
Stripeで「従量課金」を実装する
● サブスクリプションの作成方法は同じ
● 「どれだけ使ったか」をUsage Recordとして登録
○ 登録しないと、「数量０」として扱われる
● SubscriptionのIDではなく、
SubscriptionLineItemsのIDを使う
○ 「サブスクリプション(sub_xxx)の、
この請求項目(si_xxx)についてUsageを登録する」
31


# Page. 32

![Page Image](https://bcdn.docswell.com/page/4JQ8NQ697P.jpg)



# Page. 33

![Page Image](https://bcdn.docswell.com/page/K742GNMRJ1.jpg)



# Page. 34

![Page Image](https://bcdn.docswell.com/page/LJ1MD58VEG.jpg)



# Page. 35

![Page Image](https://bcdn.docswell.com/page/GJW3Y5Z3J2.jpg)

Stripeのデータを使った、レポート分析や成長施策
BilligのダッシュボードでMRRやLTVを確認
35


# Page. 36

![Page Image](https://bcdn.docswell.com/page/4EZVXN1GJ3.jpg)

Stripeのデータを使った、レポート分析や成長施策
BilligのダッシュボードでMRRやLTVを確認
36


# Page. 37

![Page Image](https://bcdn.docswell.com/page/Y76548LQEV.jpg)

Stripe Sigmaで
SQLを使った
より詳細な分析も


# Page. 38

![Page Image](https://bcdn.docswell.com/page/G75YQ91274.jpg)

Revenue and Finance Automation ( RFA )


# Page. 39

![Page Image](https://bcdn.docswell.com/page/9J2GP211JR.jpg)

Life
Time
Value
顧客が取引を終了するまでに、
平均継続期間
x 平均売上高
x 粗利率
いくら企業に支払ったか
https://stripe.com/sessions
39


# Page. 40

![Page Image](https://bcdn.docswell.com/page/DEYV5YZ4EM.jpg)

適切な価格設定は、
「平均売上高の向上」に貢献する
40


# Page. 41

![Page Image](https://bcdn.docswell.com/page/VJNMNP3678.jpg)

Stripeではじめるサブスクリプション- どんな料金体系がStripeで実現できるのか？
「売上・決済」から「収益」へ
https://offers.hubspot.jp/state-of-revops-report
HubSpot: Revenue Operations ( RevOps )
https://stripe.com/jp/use-cases/finance-automation
Stripe: Revenue And Finance Automation ( RFA )
https://stripe.com/sessions
41


# Page. 42

![Page Image](https://bcdn.docswell.com/page/YE9NR39RE3.jpg)

AWS &amp; Stripeで
RevOps
https://www.docswell.com/s/hidetaka-stripe/K
YWMN9-revops-stripe-aws


# Page. 43

![Page Image](https://bcdn.docswell.com/page/GE8KWM9G7D.jpg)

10/4 オンライン
https://stripe.events/saas-webinar


# Page. 44

![Page Image](https://bcdn.docswell.com/page/LELZN3WXJR.jpg)

Stripeではじめるサブスクリプション- どんな料金体系がStripeで実現できるのか？
まとめ
● Stripeでは、様々な料金体系のサブスクリプションが作れる
● 料金体系ごとの実装方法は、ほとんど同じ
● レポートやSigmaで、価格が最適かを検証しよう
● RevOps / RFAなど、
「収益を最大化するための取り組み」をはじめよう
44


# Page. 45

![Page Image](https://bcdn.docswell.com/page/4JMVXD93JW.jpg)

Stripe Billing
サブスクリプション変更管理
subscription
価格の変更
subscription
item
price A
item
price B
既存サブスクリプションを別の価格オブジェクトに変更する
日割り計算
ビジネス要件に合わせて柔軟にオン・オフできる
45


# Page. 46

![Page Image](https://bcdn.docswell.com/page/PJR2N4GRE9.jpg)

サブスクリプション変更管理
Invoice RetriveUpcoming APIで変更をプレビュー
const subscription = await stripe.subscriptions.retrieve(&#039;sub_49ty4767H20z6a&#039;);
const items = [{
id: subscription.items.data[0].id,
Price: &#039;price_CBb6IXqvTLXp3f&#039;, // 変更したい項目
}];
const invoice = await stripe.invoices.retrieveUpcoming({
customer: &#039;cus_4fdAW5ftNQow1a&#039;,
subscription: &#039;sub_49ty4767H20z6a&#039;,
subscription_items: items,
subscription_proration_date: Math.floor(Date.now() / 1000),
});
46


