stripe 8.7.1 → 8.8.0.pre.beta.1

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (37) hide show
  1. checksums.yaml +4 -4
  2. data/CHANGELOG.md +179 -46
  3. data/README.md +11 -0
  4. data/VERSION +1 -1
  5. data/lib/data/ca-certificates.crt +3340 -290
  6. data/lib/stripe/api_operations/request.rb +2 -0
  7. data/lib/stripe/api_version.rb +1 -0
  8. data/lib/stripe/object_types.rb +16 -0
  9. data/lib/stripe/request_signing_authenticator.rb +83 -0
  10. data/lib/stripe/resources/account_session.rb +17 -0
  11. data/lib/stripe/resources/capital/financing_offer.rb +32 -0
  12. data/lib/stripe/resources/capital/financing_summary.rb +12 -0
  13. data/lib/stripe/resources/capital/financing_transaction.rb +13 -0
  14. data/lib/stripe/resources/customer_session.rb +12 -0
  15. data/lib/stripe/resources/financial_connections/account.rb +39 -0
  16. data/lib/stripe/resources/financial_connections/inferred_balance.rb +13 -0
  17. data/lib/stripe/resources/financial_connections/transaction.rb +13 -0
  18. data/lib/stripe/resources/gift_cards/card.rb +25 -0
  19. data/lib/stripe/resources/gift_cards/transaction.rb +56 -0
  20. data/lib/stripe/resources/issuing/card.rb +18 -0
  21. data/lib/stripe/resources/issuing/card_bundle.rb +13 -0
  22. data/lib/stripe/resources/issuing/card_design.rb +58 -0
  23. data/lib/stripe/resources/order.rb +89 -0
  24. data/lib/stripe/resources/payment_method_configuration.rb +13 -0
  25. data/lib/stripe/resources/quote.rb +131 -0
  26. data/lib/stripe/resources/quote_phase.rb +29 -0
  27. data/lib/stripe/resources/subscription_schedule.rb +18 -0
  28. data/lib/stripe/resources/tax/form.rb +39 -0
  29. data/lib/stripe/resources/tax/registration.rb +19 -0
  30. data/lib/stripe/resources/terminal/reader.rb +54 -0
  31. data/lib/stripe/resources.rb +16 -0
  32. data/lib/stripe/stripe_client.rb +60 -26
  33. data/lib/stripe/stripe_configuration.rb +3 -0
  34. data/lib/stripe/util.rb +8 -1
  35. data/lib/stripe/version.rb +1 -1
  36. data/lib/stripe.rb +47 -0
  37. metadata +25 -8
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: fae889ea7bd690b2759a8fd0a37d4e22db6136dc3c8bee518eadaef01cc71f48
4
- data.tar.gz: f4a9bf83c30bed0748fa87142ae2455bf2ea7be684bbaa26ce860e09d2f56e7d
3
+ metadata.gz: b0de08fc5f1cb9d9c47b3d80f1368ca40a6706663dfa0d23a0d21a460cdc5825
4
+ data.tar.gz: fbc517ff91bb982af50f3d2e669d543f76bc1c6dd7af0c1f1721ecc172a56f27
5
5
  SHA512:
6
- metadata.gz: b69d035d450ab1a253ddde0a4ed89826bc29da2d6cfb621a20fe508b3ec32e71daf425d78b5ecfb807401bc712b02f98f3323e7dc8061ff97e277da111c7e6fa
7
- data.tar.gz: 3da219f2168e312b016591d5d63ca0e890dbfb32ded747f9e8b6d41c57c5b2de29fce0e6684b5d278bc6b6d336882504f42b4d903213e0bcf86cbe480126f500
6
+ metadata.gz: 4b1ce589c5e10c768b2417562b8c5f741dd15928bfd2af38560113da1739fb1297ddb77ac39eea27d8c78637de8bb285961e550d1b75c78b5c2f810bfde44730
7
+ data.tar.gz: e347a8acb938323c4754dfea8f75fc313764c3698e31f49c4231f56970b278486e6644df11435d244e9a4606dd1dc87499fa88beeb3aa1ce19313fd440e89f65
data/CHANGELOG.md CHANGED
@@ -1,11 +1,30 @@
1
1
  # Changelog
2
2
 
3
- ## 8.7.1 - 2026-10-23
4
- * Update the bundled CA certificates
3
+ ## 8.8.0-beta.1 - 2023-08-10
4
+ * [#1257](https://github.com/stripe/stripe-ruby/pull/1257) Update generated code for beta
5
+ * Updated stable APIs to the latest version
6
+
7
+ ## 8.7.0-beta.3 - 2023-08-03
8
+ * [#1254](https://github.com/stripe/stripe-ruby/pull/1254) Update generated code for beta
9
+ * Add support for `submit_card` test helper method on resource `Issuing.Card`
10
+ * [#1252](https://github.com/stripe/stripe-ruby/pull/1252) Remove developer_message support
11
+
12
+ ## 8.7.0-beta.2 - 2023-07-28
13
+ * [#1251](https://github.com/stripe/stripe-ruby/pull/1251) Update generated code for beta
14
+ * Add support for new resource `Tax.Form`
15
+ * Add support for `list`, `pdf`, and `retrieve` methods on resource `Form`
16
+ * [#1249](https://github.com/stripe/stripe-ruby/pull/1249) Update generated code for beta
17
+ * [#1246](https://github.com/stripe/stripe-ruby/pull/1246) Update generated code for beta
18
+
19
+
20
+ ## 8.7.0-beta.1 - 2023-07-13
21
+ * [#1245](https://github.com/stripe/stripe-ruby/pull/1245) Update generated code for beta
22
+ Release specs are identical.
23
+ * [#1243](https://github.com/stripe/stripe-ruby/pull/1243) Update generated code for beta
24
+ * Add support for new resource `PaymentMethodConfiguration`
25
+ * Add support for `create`, `list`, `retrieve`, and `update` methods on resource `PaymentMethodConfiguration`
26
+ * [#1239](https://github.com/stripe/stripe-ruby/pull/1239) Update generated code for beta
5
27
 
6
- ## 8.7.0 - 2023-08-10
7
- * [#1256](https://github.com/stripe/stripe-ruby/pull/1256) Update generated code
8
- Add resources `Tax::CalculationLineItem`, `Tax::TransactionLineItem`, and `Treasury::FinancialAccountFeatures`. These resources have no methods on them, but do represent the return type of methods elsewhere.
9
28
 
10
29
  ## 8.6.0 - 2023-07-13
11
30
  * [#1244](https://github.com/stripe/stripe-ruby/pull/1244) Update generated code
@@ -27,7 +46,7 @@
27
46
 
28
47
  * [#1225](https://github.com/stripe/stripe-ruby/pull/1225) Downgrade jaro_winkler
29
48
  * [#1219](https://github.com/stripe/stripe-ruby/pull/1219) Update generated code
30
-
49
+
31
50
  Documentation updates.
32
51
  * [#1215](https://github.com/stripe/stripe-ruby/pull/1215) Update generated code
33
52
 
@@ -35,13 +54,49 @@
35
54
 
36
55
  * [#1204](https://github.com/stripe/stripe-ruby/pull/1204) Update generated code
37
56
 
57
+ ## 8.6.0-beta.6 - 2023-06-22
58
+ * [#1237](https://github.com/stripe/stripe-ruby/pull/1237) Update generated code for beta
59
+ * Add support for new resource `CustomerSession`
60
+ * Add support for `create` method on resource `CustomerSession`
61
+ * [#1233](https://github.com/stripe/stripe-ruby/pull/1233) Update generated code for beta
62
+ * [#1229](https://github.com/stripe/stripe-ruby/pull/1229) Update generated code for beta
63
+
64
+ ## 8.6.0-beta.5 - 2023-06-01
65
+ * [#1227](https://github.com/stripe/stripe-ruby/pull/1227) Update generated code for beta
66
+ * [#1228](https://github.com/stripe/stripe-ruby/pull/1228) Document raw_request
67
+ * [#1222](https://github.com/stripe/stripe-ruby/pull/1222) Update generated code for beta
68
+ * [#1224](https://github.com/stripe/stripe-ruby/pull/1224) Handle developer message in preview error responses
69
+
70
+ ## 8.6.0-beta.4 - 2023-05-19
71
+ * [#1220](https://github.com/stripe/stripe-ruby/pull/1220) Update generated code for beta
72
+ * Add support for `subscribe` and `unsubscribe` methods on resource `FinancialConnections.Account`
73
+ * [#1217](https://github.com/stripe/stripe-ruby/pull/1217) Add raw_request
74
+ * [#1216](https://github.com/stripe/stripe-ruby/pull/1216) Update generated code for beta
75
+ * [#1214](https://github.com/stripe/stripe-ruby/pull/1214) Update generated code for beta
76
+
77
+ ## 8.6.0-beta.3 - 2023-04-17
78
+ * [#1211](https://github.com/stripe/stripe-ruby/pull/1211) Update generated code for beta
79
+ * [#1210](https://github.com/stripe/stripe-ruby/pull/1210), [#1212](https://github.com/stripe/stripe-ruby/pull/1212), [#1213](https://github.com/stripe/stripe-ruby/pull/1213) Add support for request signing
80
+
81
+ ## 8.6.0-beta.2 - 2023-04-13
82
+ * [#1206](https://github.com/stripe/stripe-ruby/pull/1206) Update generated code for beta
83
+ * Add support for `collect_payment_method` and `confirm_payment_intent` methods on resource `Terminal.Reader`
84
+ * [#1205](https://github.com/stripe/stripe-ruby/pull/1205) Update generated code for beta
85
+
86
+ ## 8.6.0-beta.1 - 2023-03-30
87
+ * [#1202](https://github.com/stripe/stripe-ruby/pull/1202) Update generated code for beta
38
88
 
39
89
  ## 8.5.0 - 2023-03-30
40
90
  * [#1203](https://github.com/stripe/stripe-ruby/pull/1203) Update generated code
41
- * Remove support for `create` method on resource `Tax.Transaction`
91
+ * Remove support for `create` method on resource `Tax.Transaction`
42
92
  * This is not a breaking change, as this method was deprecated before the Tax Transactions API was released in favor of the `create_from_calculation` method.
43
93
  * [#1201](https://github.com/stripe/stripe-ruby/pull/1201) Update save deprecation message
44
94
 
95
+ ## 8.5.0-beta.1 - 2023-03-23
96
+ * [#1194](https://github.com/stripe/stripe-ruby/pull/1194) Update generated code for beta (new)
97
+ * Add support for new resources `Tax.CalculationLineItem` and `Tax.TransactionLineItem`
98
+ * Add support for `collect_inputs` method on resource `Terminal.Reader`
99
+
45
100
  ## 8.4.0 - 2023-03-23
46
101
  * [#1197](https://github.com/stripe/stripe-ruby/pull/1197) Update generated code (new)
47
102
  * Add support for new resources `Tax.CalculationLineItem`, `Tax.Calculation`, `Tax.TransactionLineItem`, and `Tax.Transaction`
@@ -49,18 +104,91 @@
49
104
  * Add support for `create_from_calculation`, `create_reversal`, `create`, `list_line_items`, and `retrieve` methods on resource `Transaction`
50
105
  * [#1152](https://github.com/stripe/stripe-ruby/pull/1152) Symbolize hash keys inside `convert_to_stripe_object_with_params`
51
106
 
107
+ ## 8.4.0-beta.4 - 2023-03-16
108
+ * [#1189](https://github.com/stripe/stripe-ruby/pull/1189) Update generated code for beta (new)
109
+ * Add support for `create_from_calculation` method on resource `Tax.Transaction`
110
+ * [#1188](https://github.com/stripe/stripe-ruby/pull/1188) Update generated code for beta (new)
111
+ * Remove support for resources `Capital.FinancingOffer` and `Capital.FinancingSummary`
112
+ * Remove support for `list`, `mark_delivered`, and `retrieve` methods on resource `FinancingOffer`
113
+ * Remove support for `retrieve` method on resource `FinancingSummary`
114
+ * [#1187](https://github.com/stripe/stripe-ruby/pull/1187) Merge upstream master
115
+
116
+ ## 8.4.0-beta.3 - 2023-03-09
117
+ * [#1184](https://github.com/stripe/stripe-ruby/pull/1184) API Updates for beta branch
118
+ * Updated stable APIs to the latest version
119
+ * Remove support for `list_transactions` method on resource `Tax.Transaction`
120
+
121
+ ## 8.4.0-beta.2 - 2023-03-03
122
+ * [#1183](https://github.com/stripe/stripe-ruby/pull/1183) API Updates for beta branch
123
+ * Updated stable APIs to the latest version
124
+ * Add support for new resources `Issuing.CardBundle` and `Issuing.CardDesign`
125
+ * Add support for `list` and `retrieve` methods on resource `CardBundle`
126
+ * Add support for `list`, `retrieve`, and `update` methods on resource `CardDesign`
127
+
128
+ ## 8.4.0-beta.1 - 2023-02-23
129
+ * [#1182](https://github.com/stripe/stripe-ruby/pull/1182) API Updates for beta branch
130
+ * Updated stable APIs to the latest version
131
+
52
132
  ## 8.3.0 - 2023-02-16
53
133
  * [#1175](https://github.com/stripe/stripe-ruby/pull/1175) API Updates
54
134
  * Add support for `refund_payment` method on resource `Terminal.Reader`
55
135
 
136
+ ## 8.3.0-beta.1 - 2023-02-02
137
+ * [#1174](https://github.com/stripe/stripe-ruby/pull/1174) API Updates for beta branch
138
+ * Updated stable APIs to the latest version
139
+ * Add support for new resource `FinancialConnections.Transaction`
140
+ * Add support for `list` method on resource `Transaction`
141
+
56
142
  ## 8.2.0 - 2023-02-02
57
143
  * [#1173](https://github.com/stripe/stripe-ruby/pull/1173) API Updates
58
144
  * Add support for `resume` method on resource `Subscription`
59
145
  * [#1171](https://github.com/stripe/stripe-ruby/pull/1171) Remove unused `partial` param from `initialize_from`
60
146
 
147
+ ## 8.2.0-beta.3 - 2023-01-26
148
+ * [#1172](https://github.com/stripe/stripe-ruby/pull/1172) API Updates for beta branch
149
+ * Updated stable APIs to the latest version
150
+ * Add support for `list_transactions` method on resource `Tax.Transaction`
151
+
152
+ ## 8.2.0-beta.2 - 2023-01-19
153
+ * [#1170](https://github.com/stripe/stripe-ruby/pull/1170) API Updates for beta branch
154
+ * Updated stable APIs to the latest version
155
+ * Add support for `Tax.Settings` resource.
156
+
157
+ ## 8.2.0-beta.1 - 2023-01-12
158
+ * [#1167](https://github.com/stripe/stripe-ruby/pull/1167) API Updates for beta branch
159
+ * Updated stable APIs to the latest version
160
+ * Change `quote.draft_quote` implementation to from calling `POST /v1/quotes/{quote}/draft` to `POST /v1/quotes/{quote}/mark_draft`
161
+ * Add support for `Tax::Register` resource
162
+
61
163
  ## 8.1.0 - 2023-01-12
62
164
  * [#1162](https://github.com/stripe/stripe-ruby/pull/1162) Improve request events instrumentation
63
165
 
166
+ ## 8.1.0-beta.4 - 2023-01-05
167
+ * [#1164](https://github.com/stripe/stripe-ruby/pull/1164) API Updates for beta branch
168
+ * Updated stable APIs to the latest version
169
+ * Add support for `mark_stale_quote` method on resource `Quote`
170
+
171
+ ## 8.1.0-beta.3 - 2022-12-22
172
+ * [#1158](https://github.com/stripe/stripe-ruby/pull/1158) API Updates for beta branch
173
+ * Updated stable APIs to the latest version
174
+ * Move `TaxCalculation` and `TaxTransaction` to `Tax::Calculation` and `Tax::Transaction`.
175
+
176
+ ## 8.1.0-beta.2 - 2022-12-15
177
+ * [#1156](https://github.com/stripe/stripe-ruby/pull/1156) API Updates for beta branch
178
+ * Updated stable APIs to the latest version
179
+ * Add support for new resources `TaxCalculation`, and `TaxTransaction`
180
+ * Add support for `create` and `list_line_items` methods on resource `TaxCalculation`
181
+ * Add support for `create_reversal`, `create`, and `retrieve` methods on resource `TaxTransaction`
182
+ * [#1155](https://github.com/stripe/stripe-ruby/pull/1155) API Updates for beta branch
183
+ * Updated stable APIs to the latest version
184
+ * Add support for new resource `QuoteLine`.
185
+
186
+ ## 8.1.0-beta.1 - 2022-12-08
187
+ * [#1153](https://github.com/stripe/stripe-ruby/pull/1153) API Updates for beta branch
188
+ * Updated stable APIs to the latest version
189
+ * [#1146](https://github.com/stripe/stripe-ruby/pull/1146) API Updates for beta branch
190
+ * Updated stable APIs to the latest version
191
+
64
192
  ## 8.0.0 - 2022-11-16
65
193
  * [#1144](https://github.com/stripe/stripe-ruby/pull/1144) Next major release changes
66
194
 
@@ -68,30 +196,29 @@ Breaking changes that arose during code generation of the library that we postpo
68
196
 
69
197
  "⚠️" symbol highlights breaking changes.
70
198
 
71
- ### Deprecated
72
- - The `save` method is deprecated. Prefer the static `update` method that doesn't require retrieval of the resource to update it.
73
- ``` ruby
74
- # before
75
- refund = Stripe::Refund.retrieve("re_123")
76
- refund.description = "Refund description"
77
- refund.save
78
-
79
- # after
80
- Stripe::Refund.update("re_123", description: "Refund description")
81
- ```
199
+ ## 7.2.0-beta.5 - 2022-11-02
200
+ * [#1139](https://github.com/stripe/stripe-ruby/pull/1139) API Updates for beta branch
201
+ * Updated beta APIs to the latest stable version
202
+ * [#1135](https://github.com/stripe/stripe-ruby/pull/1135) API Updates for beta branch
203
+ * Updated stable APIs to the latest version
204
+
205
+ ## 7.2.0-beta.4 - 2022-10-07
206
+ * [#999](https://github.com/stripe/stripe-ruby/pull/999) DESCRIBE CHANGES HERE (try to use the same style, tense, etc. as the other entries)
82
207
 
83
- ### ⚠️ Removed
84
- - Removed deprecated `Sku` resource.
85
- - Removed deprecated `Orders` resource.
86
- - Removed deprecated `delete` method on `Subscription` resource. Please use `cancel` method instead.
87
- ```ruby
88
- # before
89
- Stripe::Subscription::delete("sub_12345")
208
+ ## 7.2.0-beta.3 - 2022-09-26
209
+ * [#1129](https://github.com/stripe/stripe-ruby/pull/1129) API Updates for beta branch
210
+ * Updated stable APIs to the latest version
211
+ * Add `FinancingOffer`, `FinancingSummary` and `FinancingTransaction` resources.
90
212
 
91
- # after
92
- Stripe::Subscription::cancel("sub_12345")
93
- ```
213
+ ## 7.2.0-beta.2 - 2022-08-26
214
+ * [#1127](https://github.com/stripe/stripe-ruby/pull/1127) API Updates for beta branch
215
+ * Updated stable APIs to the latest version
216
+ * Add support for the beta [Gift Card API](https://stripe.com/docs/gift-cards).
94
217
 
218
+ ## 7.2.0-beta.1 - 2022-08-23
219
+ * [#1122](https://github.com/stripe/stripe-ruby/pull/1122) API Updates for beta branch
220
+ - Updated stable APIs to the latest version
221
+ - `Stripe-Version` beta headers are not pinned by-default and need to be manually specified, please refer to [beta SDKs README section](https://github.com/stripe/stripe-ruby/blob/master/README.md#beta-sdks)
95
222
 
96
223
  ## 7.1.0 - 2022-08-19
97
224
  * [#1116](https://github.com/stripe/stripe-ruby/pull/1116) API Updates
@@ -100,6 +227,16 @@ Breaking changes that arose during code generation of the library that we postpo
100
227
  * [#1117](https://github.com/stripe/stripe-ruby/pull/1117) Refresh rubocop config.
101
228
  * [#1115](https://github.com/stripe/stripe-ruby/pull/1115) Add a support section to the readme
102
229
 
230
+ ## 7.1.0-beta.2 - 2022-08-11
231
+ * [#1113](https://github.com/stripe/stripe-ruby/pull/1113) API Updates for beta branch
232
+ - Updated stable APIs to the latest version
233
+ - Add `refund_payment` method to Terminal resource
234
+
235
+ ## 7.1.0-beta.1 - 2022-08-03
236
+ * [#1107](https://github.com/stripe/stripe-ruby/pull/1107) API Updates for beta branch
237
+ - Updated stable APIs to the latest version
238
+ - Added the `Order` resource support
239
+
103
240
  ## 7.0.0 - 2022-08-02
104
241
 
105
242
  Breaking changes that arose during code generation of the library that we postponed for the next major version. For changes to the SDK, read more detailed description at https://github.com/stripe/stripe-ruby/wiki/Migration-guide-for-v7. For changes to the Stripe products, read more at https://stripe.com/docs/upgrades#2022-08-01.
@@ -111,21 +248,19 @@ Breaking changes that arose during code generation of the library that we postpo
111
248
  * [#1090](https://github.com/stripe/stripe-ruby/pull/1090) Use auto-generation for `Invoice` methods
112
249
  * [#1103](https://github.com/stripe/stripe-ruby/pull/1103) Next major release changes
113
250
 
114
- ### ⚠️ Changed
115
- * `retrieve_cash_balance` and `update_cash_balance` methods on `Customer` resource no longer requires the second argument to always be `nil`. The methods now now take in `customer_id`, `params`, and `opts` parameters.
116
- * Update default bundle of CA certificates to April 26, 2022.
117
-
118
- ### Deprecated
119
- * Deprecate `delete` method on `Subscription` resource. Please use `cancel` method instead.
120
-
121
- ### ⚠️ Removed
122
- * Remove `details` method from `Issuing.Card` resource. The method was not supported.
123
- * Remove `Issuing.CardDetails` resource. Read more at https://stripe.com/docs/issuing/cards/virtual.
124
- * Remove `create` method from `ReportType` resource. The method was not supported.
125
- * Remove `usage_record_summaries` method from `SubscriptionItem` resource. Please use `list_usage_record_summaries` method instead.
126
- * Remove `AlipayAccount`, `BitcoinReceiver`, `BitcoinTransaction`, `Issuing::CardDetails`, `Recipient`, ` RecipientTransfer`, and `ThreeDSecure` resources. The resources were deprecated or no longer in use.
127
- * Remove ability to list `Card` resource for a `Recipient`.
128
- * Remove `cancel` method from `Transfer` resource. The method was deprecated.
251
+ ## 6.6.0-beta.1 - 2022-07-22
252
+ * [#1100](https://github.com/stripe/stripe-ruby/pull/1100) API Updates for beta branch
253
+ - Updated stable APIs to the latest version
254
+ - Add `QuotePhase` resource
255
+ * [#1097](https://github.com/stripe/stripe-ruby/pull/1097) API Updates for beta branch
256
+ - Updated stable APIs to the latest version
257
+ - Add `SubscriptionSchedule.amend` method.
258
+ * [#1093](https://github.com/stripe/stripe-ruby/pull/1093) API Updates for beta branch
259
+ - Include `server_side_confirmation_beta=v1` beta
260
+ - Add `secretKeyConfirmation` to `PaymentIntent`
261
+ * [#1085](https://github.com/stripe/stripe-ruby/pull/1085) API Updates for beta branch
262
+ - Updated stable APIs to the latest version
263
+ * [#1075](https://github.com/stripe/stripe-ruby/pull/1075) Use the generated API version
129
264
 
130
265
  ## 6.5.0 - 2022-06-29
131
266
  * [#1084](https://github.com/stripe/stripe-ruby/pull/1084) API Updates
@@ -155,8 +290,6 @@ Breaking changes that arose during code generation of the library that we postpo
155
290
  * Add support for new resources `Treasury.CreditReversal`, `Treasury.DebitReversal`, `Treasury.FinancialAccountFeatures`, `Treasury.FinancialAccount`, `Treasury.FlowDetails`, `Treasury.InboundTransfer`, `Treasury.OutboundPayment`, `Treasury.OutboundTransfer`, `Treasury.ReceivedCredit`, `Treasury.ReceivedDebit`, `Treasury.TransactionEntry`, and `Treasury.Transaction`
156
291
  * Add support for `retrieve_payment_method` method on resource `Customer`
157
292
  * Add support for `list_owners` and `list` methods on resource `FinancialConnections.Account`
158
-
159
-
160
293
 
161
294
  ## 6.0.0 - 2022-05-09
162
295
  * [#1056](https://github.com/stripe/stripe-ruby/pull/1056) API Updates
@@ -172,7 +305,6 @@ Breaking changes that arose during code generation of the library that we postpo
172
305
  ## 5.55.0 - 2022-05-05
173
306
  * [#1055](https://github.com/stripe/stripe-ruby/pull/1055) API Updates
174
307
  * Add support for new resources `FinancialConnections.AccountOwner`, `FinancialConnections.AccountOwnership`, `FinancialConnections.Account`, and `FinancialConnections.Session`
175
-
176
308
 
177
309
  ## 5.54.0 - 2022-05-03
178
310
  * [#1053](https://github.com/stripe/stripe-ruby/pull/1053) API Updates
@@ -1203,3 +1335,4 @@ Identical to 1.56.0 above. I incorrectly cut a patch-level release.
1203
1335
  <!--
1204
1336
  # vim: set tw=0:
1205
1337
  -->
1338
+
data/README.md CHANGED
@@ -323,6 +323,17 @@ If your beta feature requires a `Stripe-Version` header to be sent, use the `Str
323
323
  Stripe.api_version += "; feature_beta=v3"
324
324
  ```
325
325
 
326
+ ### Custom requests
327
+
328
+ If you would like to send a request to an undocumented API (for example you are in a private beta), or if you prefer to bypass the method definitions in the library and specify your request details directly, you can use the `raw_request` method on `Stripe`.
329
+
330
+ ```ruby
331
+ resp = Stripe.raw_request(:post, "/v1/beta_endpoint", {param: 123}, {stripe_version: "2022-11-15; feature_beta=v3"})
332
+
333
+ # (Optional) resp is a StripeResponse. You can use `Stripe.deserialize` to get a StripeObject.
334
+ deserialized_resp = Stripe.deserialize(resp.http_body)
335
+ ```
336
+
326
337
  ## Support
327
338
 
328
339
  New features and bug fixes are released on the latest major version of the Stripe Ruby library. If you are on an older major version, we recommend that you upgrade to the latest in order to use the new features and bug fixes including those for security vulnerabilities. Older major versions of the package will continue to be available for use, but will not be receiving any updates.
data/VERSION CHANGED
@@ -1 +1 @@
1
- 8.7.1
1
+ 8.8.0-beta.1