stripe 9.4.0.pre.beta.3 → 9.4.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.
- checksums.yaml +4 -4
- data/CHANGELOG.md +46 -212
- data/OPENAPI_VERSION +1 -1
- data/README.md +0 -11
- data/VERSION +1 -1
- data/lib/data/ca-certificates.crt +290 -3340
- data/lib/stripe/api_operations/request.rb +0 -2
- data/lib/stripe/api_version.rb +0 -1
- data/lib/stripe/object_types.rb +1 -17
- data/lib/stripe/resources/financial_connections/account.rb +0 -39
- data/lib/stripe/resources/issuing/token.rb +14 -0
- data/lib/stripe/resources/payment_method_configuration.rb +14 -1
- data/lib/stripe/resources/quote.rb +0 -94
- data/lib/stripe/resources/setup_intent.rb +11 -12
- data/lib/stripe/resources/subscription_schedule.rb +0 -18
- data/lib/stripe/resources/terminal/reader.rb +0 -54
- data/lib/stripe/resources/token.rb +11 -11
- data/lib/stripe/resources.rb +1 -17
- data/lib/stripe/stripe_client.rb +26 -60
- data/lib/stripe/stripe_configuration.rb +0 -2
- data/lib/stripe/util.rb +1 -8
- data/lib/stripe/version.rb +1 -1
- data/lib/stripe.rb +0 -46
- metadata +9 -26
- data/lib/stripe/request_signing_authenticator.rb +0 -83
- data/lib/stripe/resources/capital/financing_offer.rb +0 -32
- data/lib/stripe/resources/capital/financing_summary.rb +0 -12
- data/lib/stripe/resources/capital/financing_transaction.rb +0 -13
- data/lib/stripe/resources/confirmation_token.rb +0 -11
- data/lib/stripe/resources/customer_session.rb +0 -12
- data/lib/stripe/resources/financial_connections/inferred_balance.rb +0 -13
- data/lib/stripe/resources/financial_connections/transaction.rb +0 -13
- data/lib/stripe/resources/gift_cards/card.rb +0 -25
- data/lib/stripe/resources/gift_cards/transaction.rb +0 -56
- data/lib/stripe/resources/issuing/personalization_design.rb +0 -77
- data/lib/stripe/resources/issuing/physical_bundle.rb +0 -13
- data/lib/stripe/resources/order.rb +0 -89
- data/lib/stripe/resources/quote_phase.rb +0 -29
- data/lib/stripe/resources/quote_preview_invoice.rb +0 -42
- data/lib/stripe/resources/quote_preview_schedule.rb +0 -10
- data/lib/stripe/resources/tax/form.rb +0 -39
- data/lib/stripe/resources/tax/registration.rb +0 -19
checksums.yaml
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
---
|
|
2
2
|
SHA256:
|
|
3
|
-
metadata.gz:
|
|
4
|
-
data.tar.gz:
|
|
3
|
+
metadata.gz: b361fb138adbe5b02bd793ae3a84489533332aadd2b41e8354f89e0a96aedd31
|
|
4
|
+
data.tar.gz: 7e34e220d50db4d0d574979ec5a55e2028856cc2272ef126ec7313356d8dcfdb
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: 101d719b2a471467d14d8b24c435b4f7503a53530759af7e77f2c3479c2fa7c27411dee10b4e1463ca84f06c6ae49a1de8189bc2dd71b9c5750e2edb8c936da8
|
|
7
|
+
data.tar.gz: 12f7cb90a529e0e9860496095a71f194805f554225bcff66c14e6117572e6122b1d5d9c097f21f887250dc1e38734255bb5f95ba05202f1c0ea0c6fd408c216f
|
data/CHANGELOG.md
CHANGED
|
@@ -1,14 +1,11 @@
|
|
|
1
1
|
# Changelog
|
|
2
|
+
## 9.4.1 - 2026-10-23
|
|
3
|
+
* Update the bundled CA certificates
|
|
2
4
|
|
|
3
|
-
## 9.4.0
|
|
4
|
-
* [#
|
|
5
|
-
*
|
|
6
|
-
|
|
7
|
-
## 9.4.0-beta.2 - 2023-09-21
|
|
8
|
-
* [#1273](https://github.com/stripe/stripe-ruby/pull/1273) Update generated code for beta
|
|
9
|
-
|
|
10
|
-
## 9.4.0-beta.1 - 2023-09-14
|
|
11
|
-
* Updated stable APIs to the latest version
|
|
5
|
+
## 9.4.0 - 2023-10-05
|
|
6
|
+
* [#1277](https://github.com/stripe/stripe-ruby/pull/1277) Update generated code
|
|
7
|
+
* Add support for new resources `Issuing.Token`
|
|
8
|
+
* Add support for `list`, `retrieve`, and `update` methods on resource `Token`
|
|
12
9
|
|
|
13
10
|
## 9.3.0 - 2023-09-14
|
|
14
11
|
* [#1272](https://github.com/stripe/stripe-ruby/pull/1272) Update generated code
|
|
@@ -18,38 +15,18 @@
|
|
|
18
15
|
* Add support for `capture`, `create`, `expire`, `increment`, and `reverse` test helper methods on resource `Issuing.Authorization`
|
|
19
16
|
* Add support for `create_force_capture`, `create_unlinked_refund`, and `refund` test helper methods on resource `Issuing.Transaction`
|
|
20
17
|
|
|
21
|
-
## 9.3.0-beta.1 - 2023-09-07
|
|
22
|
-
* [#1269](https://github.com/stripe/stripe-ruby/pull/1269) Update generated code for beta
|
|
23
|
-
* Release specs are identical.
|
|
24
|
-
* [#1268](https://github.com/stripe/stripe-ruby/pull/1268) Update generated code for beta
|
|
25
|
-
* Remove support for `submit_card` test helper method on resource `Issuing.Card`
|
|
26
|
-
* [#1265](https://github.com/stripe/stripe-ruby/pull/1265) Update generated code for beta
|
|
27
|
-
* Rename `Quote.preview_invoices` to `QuotePreviewInvoice.list` and `Quote.preview_schedules` to `QuotePreviewSchedules.list`
|
|
28
|
-
* [#1264](https://github.com/stripe/stripe-ruby/pull/1264) Update generated code for beta
|
|
29
|
-
* Add support for new resources `QuotePreviewInvoice` and `QuotePreviewSchedule`
|
|
30
|
-
* [#1259](https://github.com/stripe/stripe-ruby/pull/1259) Update generated code for beta
|
|
31
|
-
|
|
32
|
-
* [#1257](https://github.com/stripe/stripe-ruby/pull/1257) Update generated code for beta
|
|
33
|
-
|
|
34
|
-
* [#1254](https://github.com/stripe/stripe-ruby/pull/1254) Update generated code for beta
|
|
35
|
-
* Add support for `submit_card` test helper method on resource `Issuing.Card`
|
|
36
|
-
* [#1252](https://github.com/stripe/stripe-ruby/pull/1252) Remove developer_message support
|
|
37
|
-
|
|
38
18
|
## 9.2.0 - 2023-09-07
|
|
39
19
|
* [#1267](https://github.com/stripe/stripe-ruby/pull/1267) Update generated code
|
|
40
20
|
* Add support for new resource `PaymentMethodDomain`
|
|
41
21
|
* Add support for `create`, `list`, `retrieve`, `update`, and `validate` methods on resource `PaymentMethodDomain`
|
|
42
22
|
|
|
43
|
-
## 9.2.0-beta.1 - 2023-08-31
|
|
44
|
-
* [#1265](https://github.com/stripe/stripe-ruby/pull/1265) Update generated code for beta
|
|
45
|
-
* Rename `Quote.preview_invoices` to `QuotePreviewInvoice.list` and `Quote.preview_schedules` to `QuotePreviewSchedules.list`
|
|
46
|
-
|
|
47
23
|
## 9.1.0 - 2023-08-31
|
|
48
24
|
* [#1266](https://github.com/stripe/stripe-ruby/pull/1266) Update generated code
|
|
49
25
|
* Add support for new resource `AccountSession`
|
|
50
26
|
* Add support for `create` method on resource `AccountSession`
|
|
51
27
|
* [#1262](https://github.com/stripe/stripe-ruby/pull/1262) Explicitly format timestamp in SignatureVerificationError message
|
|
52
28
|
|
|
29
|
+
|
|
53
30
|
## 9.0.0 - 2023-08-16
|
|
54
31
|
**⚠️ ACTION REQUIRED: the breaking change in this release likely affects you ⚠️**
|
|
55
32
|
|
|
@@ -82,39 +59,10 @@
|
|
|
82
59
|
|
|
83
60
|
That is, instead of upgrading stripe-ruby and separately upgrading your Stripe API Version through the Stripe Dashboard. whenever you upgrade major versions of stripe-ruby, you should also upgrade your integration to be compatible with the latest Stripe API version.
|
|
84
61
|
|
|
85
|
-
## 9.0.0-beta.1 - 2023-08-24
|
|
86
|
-
* [#1264](https://github.com/stripe/stripe-ruby/pull/1264) Update generated code for beta
|
|
87
|
-
* Add support for new resources `QuotePreviewInvoice` and `QuotePreviewSchedule`
|
|
88
|
-
* [#1259](https://github.com/stripe/stripe-ruby/pull/1259) Update generated code for beta
|
|
89
|
-
|
|
90
|
-
## 8.8.0-beta.1 - 2023-08-10
|
|
91
|
-
* [#1257](https://github.com/stripe/stripe-ruby/pull/1257) Update generated code for beta
|
|
92
|
-
* Updated stable APIs to the latest version
|
|
93
|
-
|
|
94
62
|
## 8.7.0 - 2023-08-10
|
|
95
63
|
* [#1256](https://github.com/stripe/stripe-ruby/pull/1256) Update generated code
|
|
96
64
|
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.
|
|
97
65
|
|
|
98
|
-
## 8.7.0-beta.3 - 2023-08-03
|
|
99
|
-
* [#1254](https://github.com/stripe/stripe-ruby/pull/1254) Update generated code for beta
|
|
100
|
-
* Add support for `submit_card` test helper method on resource `Issuing.Card`
|
|
101
|
-
* [#1252](https://github.com/stripe/stripe-ruby/pull/1252) Remove developer_message support
|
|
102
|
-
|
|
103
|
-
## 8.7.0-beta.2 - 2023-07-28
|
|
104
|
-
* [#1251](https://github.com/stripe/stripe-ruby/pull/1251) Update generated code for beta
|
|
105
|
-
* Add support for new resource `Tax.Form`
|
|
106
|
-
* Add support for `list`, `pdf`, and `retrieve` methods on resource `Form`
|
|
107
|
-
* [#1249](https://github.com/stripe/stripe-ruby/pull/1249) Update generated code for beta
|
|
108
|
-
* [#1246](https://github.com/stripe/stripe-ruby/pull/1246) Update generated code for beta
|
|
109
|
-
|
|
110
|
-
## 8.7.0-beta.1 - 2023-07-13
|
|
111
|
-
* [#1245](https://github.com/stripe/stripe-ruby/pull/1245) Update generated code for beta
|
|
112
|
-
Release specs are identical.
|
|
113
|
-
* [#1243](https://github.com/stripe/stripe-ruby/pull/1243) Update generated code for beta
|
|
114
|
-
* Add support for new resource `PaymentMethodConfiguration`
|
|
115
|
-
* Add support for `create`, `list`, `retrieve`, and `update` methods on resource `PaymentMethodConfiguration`
|
|
116
|
-
* [#1239](https://github.com/stripe/stripe-ruby/pull/1239) Update generated code for beta
|
|
117
|
-
|
|
118
66
|
## 8.6.0 - 2023-07-13
|
|
119
67
|
* [#1244](https://github.com/stripe/stripe-ruby/pull/1244) Update generated code
|
|
120
68
|
* Add support for new resource `Tax.Settings`
|
|
@@ -143,37 +91,6 @@
|
|
|
143
91
|
|
|
144
92
|
* [#1204](https://github.com/stripe/stripe-ruby/pull/1204) Update generated code
|
|
145
93
|
|
|
146
|
-
## 8.6.0-beta.6 - 2023-06-22
|
|
147
|
-
* [#1237](https://github.com/stripe/stripe-ruby/pull/1237) Update generated code for beta
|
|
148
|
-
* Add support for new resource `CustomerSession`
|
|
149
|
-
* Add support for `create` method on resource `CustomerSession`
|
|
150
|
-
* [#1233](https://github.com/stripe/stripe-ruby/pull/1233) Update generated code for beta
|
|
151
|
-
* [#1229](https://github.com/stripe/stripe-ruby/pull/1229) Update generated code for beta
|
|
152
|
-
|
|
153
|
-
## 8.6.0-beta.5 - 2023-06-01
|
|
154
|
-
* [#1227](https://github.com/stripe/stripe-ruby/pull/1227) Update generated code for beta
|
|
155
|
-
* [#1228](https://github.com/stripe/stripe-ruby/pull/1228) Document raw_request
|
|
156
|
-
* [#1222](https://github.com/stripe/stripe-ruby/pull/1222) Update generated code for beta
|
|
157
|
-
* [#1224](https://github.com/stripe/stripe-ruby/pull/1224) Handle developer message in preview error responses
|
|
158
|
-
|
|
159
|
-
## 8.6.0-beta.4 - 2023-05-19
|
|
160
|
-
* [#1220](https://github.com/stripe/stripe-ruby/pull/1220) Update generated code for beta
|
|
161
|
-
* Add support for `subscribe` and `unsubscribe` methods on resource `FinancialConnections.Account`
|
|
162
|
-
* [#1217](https://github.com/stripe/stripe-ruby/pull/1217) Add raw_request
|
|
163
|
-
* [#1216](https://github.com/stripe/stripe-ruby/pull/1216) Update generated code for beta
|
|
164
|
-
* [#1214](https://github.com/stripe/stripe-ruby/pull/1214) Update generated code for beta
|
|
165
|
-
|
|
166
|
-
## 8.6.0-beta.3 - 2023-04-17
|
|
167
|
-
* [#1211](https://github.com/stripe/stripe-ruby/pull/1211) Update generated code for beta
|
|
168
|
-
* [#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
|
|
169
|
-
|
|
170
|
-
## 8.6.0-beta.2 - 2023-04-13
|
|
171
|
-
* [#1206](https://github.com/stripe/stripe-ruby/pull/1206) Update generated code for beta
|
|
172
|
-
* Add support for `collect_payment_method` and `confirm_payment_intent` methods on resource `Terminal.Reader`
|
|
173
|
-
* [#1205](https://github.com/stripe/stripe-ruby/pull/1205) Update generated code for beta
|
|
174
|
-
|
|
175
|
-
## 8.6.0-beta.1 - 2023-03-30
|
|
176
|
-
* [#1202](https://github.com/stripe/stripe-ruby/pull/1202) Update generated code for beta
|
|
177
94
|
|
|
178
95
|
## 8.5.0 - 2023-03-30
|
|
179
96
|
* [#1203](https://github.com/stripe/stripe-ruby/pull/1203) Update generated code
|
|
@@ -181,11 +98,6 @@
|
|
|
181
98
|
* 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.
|
|
182
99
|
* [#1201](https://github.com/stripe/stripe-ruby/pull/1201) Update save deprecation message
|
|
183
100
|
|
|
184
|
-
## 8.5.0-beta.1 - 2023-03-23
|
|
185
|
-
* [#1194](https://github.com/stripe/stripe-ruby/pull/1194) Update generated code for beta (new)
|
|
186
|
-
* Add support for new resources `Tax.CalculationLineItem` and `Tax.TransactionLineItem`
|
|
187
|
-
* Add support for `collect_inputs` method on resource `Terminal.Reader`
|
|
188
|
-
|
|
189
101
|
## 8.4.0 - 2023-03-23
|
|
190
102
|
* [#1197](https://github.com/stripe/stripe-ruby/pull/1197) Update generated code (new)
|
|
191
103
|
* Add support for new resources `Tax.CalculationLineItem`, `Tax.Calculation`, `Tax.TransactionLineItem`, and `Tax.Transaction`
|
|
@@ -193,91 +105,18 @@
|
|
|
193
105
|
* Add support for `create_from_calculation`, `create_reversal`, `create`, `list_line_items`, and `retrieve` methods on resource `Transaction`
|
|
194
106
|
* [#1152](https://github.com/stripe/stripe-ruby/pull/1152) Symbolize hash keys inside `convert_to_stripe_object_with_params`
|
|
195
107
|
|
|
196
|
-
## 8.4.0-beta.4 - 2023-03-16
|
|
197
|
-
* [#1189](https://github.com/stripe/stripe-ruby/pull/1189) Update generated code for beta (new)
|
|
198
|
-
* Add support for `create_from_calculation` method on resource `Tax.Transaction`
|
|
199
|
-
* [#1188](https://github.com/stripe/stripe-ruby/pull/1188) Update generated code for beta (new)
|
|
200
|
-
* Remove support for resources `Capital.FinancingOffer` and `Capital.FinancingSummary`
|
|
201
|
-
* Remove support for `list`, `mark_delivered`, and `retrieve` methods on resource `FinancingOffer`
|
|
202
|
-
* Remove support for `retrieve` method on resource `FinancingSummary`
|
|
203
|
-
* [#1187](https://github.com/stripe/stripe-ruby/pull/1187) Merge upstream master
|
|
204
|
-
|
|
205
|
-
## 8.4.0-beta.3 - 2023-03-09
|
|
206
|
-
* [#1184](https://github.com/stripe/stripe-ruby/pull/1184) API Updates for beta branch
|
|
207
|
-
* Updated stable APIs to the latest version
|
|
208
|
-
* Remove support for `list_transactions` method on resource `Tax.Transaction`
|
|
209
|
-
|
|
210
|
-
## 8.4.0-beta.2 - 2023-03-03
|
|
211
|
-
* [#1183](https://github.com/stripe/stripe-ruby/pull/1183) API Updates for beta branch
|
|
212
|
-
* Updated stable APIs to the latest version
|
|
213
|
-
* Add support for new resources `Issuing.CardBundle` and `Issuing.CardDesign`
|
|
214
|
-
* Add support for `list` and `retrieve` methods on resource `CardBundle`
|
|
215
|
-
* Add support for `list`, `retrieve`, and `update` methods on resource `CardDesign`
|
|
216
|
-
|
|
217
|
-
## 8.4.0-beta.1 - 2023-02-23
|
|
218
|
-
* [#1182](https://github.com/stripe/stripe-ruby/pull/1182) API Updates for beta branch
|
|
219
|
-
* Updated stable APIs to the latest version
|
|
220
|
-
|
|
221
108
|
## 8.3.0 - 2023-02-16
|
|
222
109
|
* [#1175](https://github.com/stripe/stripe-ruby/pull/1175) API Updates
|
|
223
110
|
* Add support for `refund_payment` method on resource `Terminal.Reader`
|
|
224
111
|
|
|
225
|
-
## 8.3.0-beta.1 - 2023-02-02
|
|
226
|
-
* [#1174](https://github.com/stripe/stripe-ruby/pull/1174) API Updates for beta branch
|
|
227
|
-
* Updated stable APIs to the latest version
|
|
228
|
-
* Add support for new resource `FinancialConnections.Transaction`
|
|
229
|
-
* Add support for `list` method on resource `Transaction`
|
|
230
|
-
|
|
231
112
|
## 8.2.0 - 2023-02-02
|
|
232
113
|
* [#1173](https://github.com/stripe/stripe-ruby/pull/1173) API Updates
|
|
233
114
|
* Add support for `resume` method on resource `Subscription`
|
|
234
115
|
* [#1171](https://github.com/stripe/stripe-ruby/pull/1171) Remove unused `partial` param from `initialize_from`
|
|
235
116
|
|
|
236
|
-
## 8.2.0-beta.3 - 2023-01-26
|
|
237
|
-
* [#1172](https://github.com/stripe/stripe-ruby/pull/1172) API Updates for beta branch
|
|
238
|
-
* Updated stable APIs to the latest version
|
|
239
|
-
* Add support for `list_transactions` method on resource `Tax.Transaction`
|
|
240
|
-
|
|
241
|
-
## 8.2.0-beta.2 - 2023-01-19
|
|
242
|
-
* [#1170](https://github.com/stripe/stripe-ruby/pull/1170) API Updates for beta branch
|
|
243
|
-
* Updated stable APIs to the latest version
|
|
244
|
-
* Add support for `Tax.Settings` resource.
|
|
245
|
-
|
|
246
|
-
## 8.2.0-beta.1 - 2023-01-12
|
|
247
|
-
* [#1167](https://github.com/stripe/stripe-ruby/pull/1167) API Updates for beta branch
|
|
248
|
-
* Updated stable APIs to the latest version
|
|
249
|
-
* Change `quote.draft_quote` implementation to from calling `POST /v1/quotes/{quote}/draft` to `POST /v1/quotes/{quote}/mark_draft`
|
|
250
|
-
* Add support for `Tax::Register` resource
|
|
251
|
-
|
|
252
117
|
## 8.1.0 - 2023-01-12
|
|
253
118
|
* [#1162](https://github.com/stripe/stripe-ruby/pull/1162) Improve request events instrumentation
|
|
254
119
|
|
|
255
|
-
## 8.1.0-beta.4 - 2023-01-05
|
|
256
|
-
* [#1164](https://github.com/stripe/stripe-ruby/pull/1164) API Updates for beta branch
|
|
257
|
-
* Updated stable APIs to the latest version
|
|
258
|
-
* Add support for `mark_stale_quote` method on resource `Quote`
|
|
259
|
-
|
|
260
|
-
## 8.1.0-beta.3 - 2022-12-22
|
|
261
|
-
* [#1158](https://github.com/stripe/stripe-ruby/pull/1158) API Updates for beta branch
|
|
262
|
-
* Updated stable APIs to the latest version
|
|
263
|
-
* Move `TaxCalculation` and `TaxTransaction` to `Tax::Calculation` and `Tax::Transaction`.
|
|
264
|
-
|
|
265
|
-
## 8.1.0-beta.2 - 2022-12-15
|
|
266
|
-
* [#1156](https://github.com/stripe/stripe-ruby/pull/1156) API Updates for beta branch
|
|
267
|
-
* Updated stable APIs to the latest version
|
|
268
|
-
* Add support for new resources `TaxCalculation`, and `TaxTransaction`
|
|
269
|
-
* Add support for `create` and `list_line_items` methods on resource `TaxCalculation`
|
|
270
|
-
* Add support for `create_reversal`, `create`, and `retrieve` methods on resource `TaxTransaction`
|
|
271
|
-
* [#1155](https://github.com/stripe/stripe-ruby/pull/1155) API Updates for beta branch
|
|
272
|
-
* Updated stable APIs to the latest version
|
|
273
|
-
* Add support for new resource `QuoteLine`.
|
|
274
|
-
|
|
275
|
-
## 8.1.0-beta.1 - 2022-12-08
|
|
276
|
-
* [#1153](https://github.com/stripe/stripe-ruby/pull/1153) API Updates for beta branch
|
|
277
|
-
* Updated stable APIs to the latest version
|
|
278
|
-
* [#1146](https://github.com/stripe/stripe-ruby/pull/1146) API Updates for beta branch
|
|
279
|
-
* Updated stable APIs to the latest version
|
|
280
|
-
|
|
281
120
|
## 8.0.0 - 2022-11-16
|
|
282
121
|
* [#1144](https://github.com/stripe/stripe-ruby/pull/1144) Next major release changes
|
|
283
122
|
|
|
@@ -285,29 +124,30 @@ Breaking changes that arose during code generation of the library that we postpo
|
|
|
285
124
|
|
|
286
125
|
"⚠️" symbol highlights breaking changes.
|
|
287
126
|
|
|
288
|
-
|
|
289
|
-
|
|
290
|
-
|
|
291
|
-
|
|
292
|
-
|
|
293
|
-
|
|
294
|
-
|
|
295
|
-
|
|
127
|
+
### Deprecated
|
|
128
|
+
- The `save` method is deprecated. Prefer the static `update` method that doesn't require retrieval of the resource to update it.
|
|
129
|
+
``` ruby
|
|
130
|
+
# before
|
|
131
|
+
refund = Stripe::Refund.retrieve("re_123")
|
|
132
|
+
refund.description = "Refund description"
|
|
133
|
+
refund.save
|
|
134
|
+
|
|
135
|
+
# after
|
|
136
|
+
Stripe::Refund.update("re_123", description: "Refund description")
|
|
137
|
+
```
|
|
296
138
|
|
|
297
|
-
|
|
298
|
-
|
|
299
|
-
|
|
300
|
-
|
|
139
|
+
### ⚠️ Removed
|
|
140
|
+
- Removed deprecated `Sku` resource.
|
|
141
|
+
- Removed deprecated `Orders` resource.
|
|
142
|
+
- Removed deprecated `delete` method on `Subscription` resource. Please use `cancel` method instead.
|
|
143
|
+
```ruby
|
|
144
|
+
# before
|
|
145
|
+
Stripe::Subscription::delete("sub_12345")
|
|
301
146
|
|
|
302
|
-
|
|
303
|
-
|
|
304
|
-
|
|
305
|
-
* Add support for the beta [Gift Card API](https://stripe.com/docs/gift-cards).
|
|
147
|
+
# after
|
|
148
|
+
Stripe::Subscription::cancel("sub_12345")
|
|
149
|
+
```
|
|
306
150
|
|
|
307
|
-
## 7.2.0-beta.1 - 2022-08-23
|
|
308
|
-
* [#1122](https://github.com/stripe/stripe-ruby/pull/1122) API Updates for beta branch
|
|
309
|
-
- Updated stable APIs to the latest version
|
|
310
|
-
- `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)
|
|
311
151
|
|
|
312
152
|
## 7.1.0 - 2022-08-19
|
|
313
153
|
* [#1116](https://github.com/stripe/stripe-ruby/pull/1116) API Updates
|
|
@@ -316,16 +156,6 @@ Breaking changes that arose during code generation of the library that we postpo
|
|
|
316
156
|
* [#1117](https://github.com/stripe/stripe-ruby/pull/1117) Refresh rubocop config.
|
|
317
157
|
* [#1115](https://github.com/stripe/stripe-ruby/pull/1115) Add a support section to the readme
|
|
318
158
|
|
|
319
|
-
## 7.1.0-beta.2 - 2022-08-11
|
|
320
|
-
* [#1113](https://github.com/stripe/stripe-ruby/pull/1113) API Updates for beta branch
|
|
321
|
-
- Updated stable APIs to the latest version
|
|
322
|
-
- Add `refund_payment` method to Terminal resource
|
|
323
|
-
|
|
324
|
-
## 7.1.0-beta.1 - 2022-08-03
|
|
325
|
-
* [#1107](https://github.com/stripe/stripe-ruby/pull/1107) API Updates for beta branch
|
|
326
|
-
- Updated stable APIs to the latest version
|
|
327
|
-
- Added the `Order` resource support
|
|
328
|
-
|
|
329
159
|
## 7.0.0 - 2022-08-02
|
|
330
160
|
|
|
331
161
|
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.
|
|
@@ -337,19 +167,21 @@ Breaking changes that arose during code generation of the library that we postpo
|
|
|
337
167
|
* [#1090](https://github.com/stripe/stripe-ruby/pull/1090) Use auto-generation for `Invoice` methods
|
|
338
168
|
* [#1103](https://github.com/stripe/stripe-ruby/pull/1103) Next major release changes
|
|
339
169
|
|
|
340
|
-
|
|
341
|
-
*
|
|
342
|
-
|
|
343
|
-
|
|
344
|
-
|
|
345
|
-
|
|
346
|
-
|
|
347
|
-
|
|
348
|
-
|
|
349
|
-
|
|
350
|
-
*
|
|
351
|
-
|
|
352
|
-
*
|
|
170
|
+
### ⚠️ Changed
|
|
171
|
+
* `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.
|
|
172
|
+
* Update default bundle of CA certificates to April 26, 2022.
|
|
173
|
+
|
|
174
|
+
### Deprecated
|
|
175
|
+
* Deprecate `delete` method on `Subscription` resource. Please use `cancel` method instead.
|
|
176
|
+
|
|
177
|
+
### ⚠️ Removed
|
|
178
|
+
* Remove `details` method from `Issuing.Card` resource. The method was not supported.
|
|
179
|
+
* Remove `Issuing.CardDetails` resource. Read more at https://stripe.com/docs/issuing/cards/virtual.
|
|
180
|
+
* Remove `create` method from `ReportType` resource. The method was not supported.
|
|
181
|
+
* Remove `usage_record_summaries` method from `SubscriptionItem` resource. Please use `list_usage_record_summaries` method instead.
|
|
182
|
+
* Remove `AlipayAccount`, `BitcoinReceiver`, `BitcoinTransaction`, `Issuing::CardDetails`, `Recipient`, ` RecipientTransfer`, and `ThreeDSecure` resources. The resources were deprecated or no longer in use.
|
|
183
|
+
* Remove ability to list `Card` resource for a `Recipient`.
|
|
184
|
+
* Remove `cancel` method from `Transfer` resource. The method was deprecated.
|
|
353
185
|
|
|
354
186
|
## 6.5.0 - 2022-06-29
|
|
355
187
|
* [#1084](https://github.com/stripe/stripe-ruby/pull/1084) API Updates
|
|
@@ -379,6 +211,8 @@ Breaking changes that arose during code generation of the library that we postpo
|
|
|
379
211
|
* 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`
|
|
380
212
|
* Add support for `retrieve_payment_method` method on resource `Customer`
|
|
381
213
|
* Add support for `list_owners` and `list` methods on resource `FinancialConnections.Account`
|
|
214
|
+
|
|
215
|
+
|
|
382
216
|
|
|
383
217
|
## 6.0.0 - 2022-05-09
|
|
384
218
|
* [#1056](https://github.com/stripe/stripe-ruby/pull/1056) API Updates
|
|
@@ -394,6 +228,7 @@ Breaking changes that arose during code generation of the library that we postpo
|
|
|
394
228
|
## 5.55.0 - 2022-05-05
|
|
395
229
|
* [#1055](https://github.com/stripe/stripe-ruby/pull/1055) API Updates
|
|
396
230
|
* Add support for new resources `FinancialConnections.AccountOwner`, `FinancialConnections.AccountOwnership`, `FinancialConnections.Account`, and `FinancialConnections.Session`
|
|
231
|
+
|
|
397
232
|
|
|
398
233
|
## 5.54.0 - 2022-05-03
|
|
399
234
|
* [#1053](https://github.com/stripe/stripe-ruby/pull/1053) API Updates
|
|
@@ -1424,4 +1259,3 @@ Identical to 1.56.0 above. I incorrectly cut a patch-level release.
|
|
|
1424
1259
|
<!--
|
|
1425
1260
|
# vim: set tw=0:
|
|
1426
1261
|
-->
|
|
1427
|
-
|
data/OPENAPI_VERSION
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
|
|
1
|
+
v580
|
data/README.md
CHANGED
|
@@ -323,17 +323,6 @@ 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
|
-
|
|
337
326
|
## Support
|
|
338
327
|
|
|
339
328
|
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
|
-
9.4.
|
|
1
|
+
9.4.1
|