stripe 10.12.0.pre.beta.1 → 10.12.0
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/CHANGELOG.md +49 -292
- data/OPENAPI_VERSION +1 -1
- data/README.md +0 -11
- data/VERSION +1 -1
- data/lib/stripe/api_operations/request.rb +1 -2
- data/lib/stripe/api_version.rb +0 -1
- data/lib/stripe/object_types.rb +4 -25
- data/lib/stripe/resources/account.rb +1 -1
- data/lib/stripe/resources/charge.rb +1 -1
- data/lib/stripe/resources/customer.rb +1 -12
- data/lib/stripe/resources/financial_connections/account.rb +0 -3
- data/lib/stripe/resources/invoice.rb +0 -53
- data/lib/stripe/resources/issuing/authorization.rb +24 -24
- data/lib/stripe/resources/issuing/card.rb +22 -22
- data/lib/stripe/resources/issuing/personalization_design.rb +14 -14
- data/lib/stripe/resources/payment_intent.rb +0 -50
- data/lib/stripe/resources/quote.rb +0 -104
- data/lib/stripe/resources/source.rb +1 -1
- data/lib/stripe/resources/subscription_item.rb +1 -1
- data/lib/stripe/resources/subscription_schedule.rb +0 -20
- data/lib/stripe/resources/tax/settings.rb +0 -1
- data/lib/stripe/resources/terminal/reader.rb +0 -60
- data/lib/stripe/resources/transfer.rb +1 -1
- data/lib/stripe/resources/treasury/inbound_transfer.rb +14 -14
- data/lib/stripe/resources/treasury/outbound_payment.rb +14 -14
- data/lib/stripe/resources/treasury/outbound_transfer.rb +14 -14
- data/lib/stripe/resources.rb +0 -19
- data/lib/stripe/stripe_client.rb +28 -62
- data/lib/stripe/stripe_configuration.rb +1 -2
- data/lib/stripe/util.rb +1 -8
- data/lib/stripe/version.rb +1 -1
- data/lib/stripe.rb +0 -54
- metadata +4 -24
- data/lib/stripe/request_signing_authenticator.rb +0 -79
- data/lib/stripe/resources/account_notice.rb +0 -32
- data/lib/stripe/resources/capital/financing_offer.rb +0 -49
- data/lib/stripe/resources/capital/financing_summary.rb +0 -15
- data/lib/stripe/resources/capital/financing_transaction.rb +0 -27
- data/lib/stripe/resources/confirmation_token.rb +0 -16
- data/lib/stripe/resources/customer_entitlement.rb +0 -12
- data/lib/stripe/resources/customer_entitlement_summary.rb +0 -12
- data/lib/stripe/resources/entitlements/feature.rb +0 -38
- data/lib/stripe/resources/financial_connections/account_inferred_balance.rb +0 -14
- data/lib/stripe/resources/gift_cards/card.rb +0 -59
- data/lib/stripe/resources/gift_cards/transaction.rb +0 -93
- data/lib/stripe/resources/invoice_payment.rb +0 -12
- data/lib/stripe/resources/issuing/credit_underwriting_record.rb +0 -88
- data/lib/stripe/resources/margin.rb +0 -37
- data/lib/stripe/resources/order.rb +0 -120
- data/lib/stripe/resources/quote_phase.rb +0 -39
- data/lib/stripe/resources/quote_preview_invoice.rb +0 -43
- data/lib/stripe/resources/quote_preview_subscription_schedule.rb +0 -11
- data/lib/stripe/resources/tax/form.rb +0 -49
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 9e52a05420bec18e9240d0d9c32a9d71021d6d3ca55a29ddcc131f1a1f6c7729
|
4
|
+
data.tar.gz: a16df9ff4b6fa6b4ecbf0c85aa981f3e6a79554a57999ad05d22ae92ae292df5
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 680a5346daf24fbff0ce55bfa9a2e6c4b8dd91a495ff40307ed40f60b2453b7928eebd17b0e1a15e08be67fb3e1d30ae648b5c02ab953642b70efaa5fb53186e
|
7
|
+
data.tar.gz: 1f3c9cd397e61df0e7a355fdb05b8f5fb6fd90d5df77c2c5ee5f3093ae08808dd82bd598203f5c6019cf76e0724cddcbb2200a1c6ad6722508800e32fa86a5c2
|
data/CHANGELOG.md
CHANGED
@@ -1,13 +1,13 @@
|
|
1
1
|
# Changelog
|
2
|
-
|
3
|
-
|
4
|
-
*
|
5
|
-
|
6
|
-
*
|
7
|
-
|
8
|
-
* [#
|
9
|
-
|
10
|
-
* [#
|
2
|
+
## 10.12.0 - 2024-03-14
|
3
|
+
* [#1359](https://github.com/stripe/stripe-ruby/pull/1359) Update generated code
|
4
|
+
* Add support for new resources `Issuing.PersonalizationDesign` and `Issuing.PhysicalBundle`
|
5
|
+
* Add support for `create`, `list`, `retrieve`, and `update` methods on resource `PersonalizationDesign`
|
6
|
+
* Add support for `list` and `retrieve` methods on resource `PhysicalBundle`
|
7
|
+
* [#1354](https://github.com/stripe/stripe-ruby/pull/1354) Refactor after SDK based generation pattern
|
8
|
+
* [#1347](https://github.com/stripe/stripe-ruby/pull/1347) Reorder methods with lexographical sort
|
9
|
+
* [#1355](https://github.com/stripe/stripe-ruby/pull/1355) Disable Metrics/ClassLength
|
10
|
+
* [#1351](https://github.com/stripe/stripe-ruby/pull/1351) Update CHANGELOG.md
|
11
11
|
|
12
12
|
## 10.11.0 - 2024-02-29
|
13
13
|
* [#1348](https://github.com/stripe/stripe-ruby/pull/1348) Use sorbet gem instead of sorbet-static
|
@@ -15,9 +15,6 @@
|
|
15
15
|
* Add `list_refunds` and `retrieve_refund` methods on resource `Charge`.
|
16
16
|
* [#1345](https://github.com/stripe/stripe-ruby/pull/1345) Update README to use add_beta_version
|
17
17
|
|
18
|
-
## 10.11.0-beta.1 - 2024-02-22
|
19
|
-
* [#1335](https://github.com/stripe/stripe-ruby/pull/1335) Update generated code for beta
|
20
|
-
|
21
18
|
## 10.10.0 - 2024-02-22
|
22
19
|
* [#1336](https://github.com/stripe/stripe-ruby/pull/1336) Update generated code
|
23
20
|
- Add `InvoiceLineItem.update` method.
|
@@ -26,33 +23,18 @@
|
|
26
23
|
* The `delete` method now sends a DELETE request to `/v1/tax_ids/{id}` instead of `/v1/customers/{customer}/tax_ids/{id}`. The endpoints are functionally the same when operating on a Customer Tax ID.
|
27
24
|
* The `resource_url` method on `TaxId` now returns the top-level `/v1/tax_ids/{id}` path instead of the `/v1/customers/{customer}/tax_ids/{id}` path.
|
28
25
|
|
29
|
-
## 10.10.0-beta.1 - 2024-02-16
|
30
|
-
* [#1332](https://github.com/stripe/stripe-ruby/pull/1332) Update generated code for beta
|
31
|
-
* Add support for `decrement_authorization` method on resource `PaymentIntent`
|
32
|
-
* [#1328](https://github.com/stripe/stripe-ruby/pull/1328) Update generated code for beta
|
33
|
-
|
34
26
|
## 10.9.0 - 2024-02-15
|
35
27
|
* [#1329](https://github.com/stripe/stripe-ruby/pull/1329) Update generated code
|
36
28
|
* Fixed bug where `TaxId` resource `delete` method sent request to wrong URL (https://github.com/stripe/stripe-ruby/issues/1333)
|
37
29
|
* [#1324](https://github.com/stripe/stripe-ruby/pull/1324) Start running Sorbet in CI
|
38
30
|
* [#1327](https://github.com/stripe/stripe-ruby/pull/1327) Add methods for dynamically referenced constants
|
39
31
|
|
40
|
-
## 10.9.0-beta.1 - 2024-02-08
|
41
|
-
* [#1321](https://github.com/stripe/stripe-ruby/pull/1321) Update generated code for beta
|
42
|
-
* Release specs are identical.
|
43
|
-
|
44
32
|
## 10.8.0 - 2024-02-08
|
45
33
|
* [#1322](https://github.com/stripe/stripe-ruby/pull/1322) Update generated code
|
46
34
|
* [#1323](https://github.com/stripe/stripe-ruby/pull/1323) Extract other CRUDL api operations from mixins
|
47
35
|
* Extract more CRUDL operations, namely `create`, `delete`, `update`, and `list` into the resources. These methods will no longer rely on the APIOperation mixins.
|
48
36
|
* [#1314](https://github.com/stripe/stripe-ruby/pull/1314) Update mocha gem to 1.16
|
49
37
|
|
50
|
-
## 10.8.0-beta.1 - 2024-02-01
|
51
|
-
* [#1318](https://github.com/stripe/stripe-ruby/pull/1318) Update generated code for beta
|
52
|
-
* Add support for new resources `Entitlements.Event` and `Entitlements.Feature`
|
53
|
-
* Add support for `create` method on resource `Event`
|
54
|
-
* Add support for `create` and `list` methods on resource `Feature`
|
55
|
-
|
56
38
|
## 10.7.1 - 2024-02-05
|
57
39
|
* [#1320](https://github.com/stripe/stripe-ruby/pull/1320) Remove spurious _search deprecation messages (https://github.com/stripe/stripe-ruby/issues/1319)
|
58
40
|
|
@@ -61,34 +43,15 @@
|
|
61
43
|
* Removes list method mixin from child resources, as these methods always return `InvalidRequestError` and never succeed
|
62
44
|
* [#1311](https://github.com/stripe/stripe-ruby/pull/1311) Use the deprecation gem in search and clean up usage of the gem
|
63
45
|
|
64
|
-
## 10.7.0-beta.3 - 2024-01-25
|
65
|
-
* [#1313](https://github.com/stripe/stripe-ruby/pull/1313) Update generated code for beta
|
66
|
-
* Add support for `create_preview` method on resource `Invoice`
|
67
|
-
* [#1307](https://github.com/stripe/stripe-ruby/pull/1307) Beta: report raw request usage
|
68
|
-
|
69
|
-
## 10.7.0-beta.2 - 2024-01-19
|
70
|
-
* [#1307](https://github.com/stripe/stripe-ruby/pull/1307) Beta: report raw request usage
|
71
|
-
|
72
|
-
## 10.7.0-beta.1 - 2024-01-12
|
73
|
-
* [#1309](https://github.com/stripe/stripe-ruby/pull/1309) Update generated code for beta
|
74
|
-
* [#1305](https://github.com/stripe/stripe-ruby/pull/1305) Update generated code for beta
|
75
|
-
|
76
46
|
## 10.6.0 - 2024-01-12
|
77
47
|
* [#1310](https://github.com/stripe/stripe-ruby/pull/1310) Update generated code
|
78
48
|
* Add support for new resource `CustomerSession`
|
79
49
|
* Add support for `create` method on resource `CustomerSession`
|
80
50
|
|
81
|
-
## 10.6.0-beta.1 - 2024-01-04
|
82
|
-
* [#1302](https://github.com/stripe/stripe-ruby/pull/1302) Update generated code for beta
|
83
|
-
* Updated stable APIs to the latest version
|
84
|
-
|
85
51
|
## 10.5.0 - 2024-01-04
|
86
52
|
* [#1306](https://github.com/stripe/stripe-ruby/pull/1306) Update generated code
|
87
53
|
* Add support for `retrieve` method on resource `Tax.Registration`
|
88
54
|
|
89
|
-
## 10.5.0-beta.1 - 2023-12-22
|
90
|
-
* [#1302](https://github.com/stripe/stripe-ruby/pull/1302) Update generated code for beta
|
91
|
-
|
92
55
|
## 10.4.0 - 2023-12-22
|
93
56
|
* [#1303](https://github.com/stripe/stripe-ruby/pull/1303) Update generated code
|
94
57
|
* Add support for new resource `FinancialConnections.Transaction`
|
@@ -96,16 +59,9 @@
|
|
96
59
|
* Add support for `subscribe` and `unsubscribe` methods on resource `FinancialConnections.Account`
|
97
60
|
* [#1304](https://github.com/stripe/stripe-ruby/pull/1304) Add support for updatable singleton resources
|
98
61
|
|
99
|
-
## 10.4.0-beta.1 - 2023-12-14
|
100
|
-
Updated stable APIs to the latest version
|
101
|
-
|
102
62
|
## 10.3.0 - 2023-12-14
|
103
63
|
* [#1294](https://github.com/stripe/stripe-ruby/pull/1294) Support sending parameters inside singleton retrieve
|
104
64
|
|
105
|
-
## 10.3.0-beta.1 - 2023-11-30
|
106
|
-
* [#1298](https://github.com/stripe/stripe-ruby/pull/1298) Update generated code for beta
|
107
|
-
* [#1296](https://github.com/stripe/stripe-ruby/pull/1296) Merge master into beta
|
108
|
-
|
109
65
|
## 10.2.0 - 2023-11-30
|
110
66
|
* [#1292](https://github.com/stripe/stripe-ruby/pull/1292) Update generated code
|
111
67
|
* Add support for new resources `Climate.Order`, `Climate.Product`, and `Climate.Supplier`
|
@@ -118,26 +74,12 @@
|
|
118
74
|
|
119
75
|
* [#1288](https://github.com/stripe/stripe-ruby/pull/1288) Update generated code
|
120
76
|
|
121
|
-
## 10.2.0-beta.1 - 2023-11-02
|
122
|
-
* [#1287](https://github.com/stripe/stripe-ruby/pull/1287) Update generated code for beta
|
123
|
-
* Add support for `attach_payment_intent` method on resource `Invoice`
|
124
|
-
* [#1285](https://github.com/stripe/stripe-ruby/pull/1285) Update generated code for beta
|
125
77
|
|
126
78
|
## 10.1.0 - 2023-11-02
|
127
79
|
* [#1286](https://github.com/stripe/stripe-ruby/pull/1286) Update generated code
|
128
80
|
* Add support for new resource `Tax.Registration`
|
129
81
|
* Add support for `create`, `list`, and `update` methods on resource `Registration`
|
130
82
|
|
131
|
-
## 10.1.0-beta.2 - 2023-10-26
|
132
|
-
* [#1285](https://github.com/stripe/stripe-ruby/pull/1285) Update generated code for beta
|
133
|
-
* Add support for new resource `Margin`
|
134
|
-
* Add support for `create`, `list`, `retrieve`, and `update` methods on resource `Margin`
|
135
|
-
|
136
|
-
## 10.1.0-beta.1 - 2023-10-17
|
137
|
-
* [#1284](https://github.com/stripe/stripe-ruby/pull/1284) Update generated code for beta
|
138
|
-
- Update pinned API version to `2023-10-16`
|
139
|
-
* [#1282](https://github.com/stripe/stripe-ruby/pull/1282) Update generated code for beta
|
140
|
-
|
141
83
|
## 10.0.0 - 2023-10-16
|
142
84
|
* This release changes the pinned API version to `2023-10-16`. Please read the [API Upgrade Guide](https://stripe.com/docs/upgrades#2023-10-16) and carefully review the API changes before upgrading `stripe-ruby`.
|
143
85
|
* [#1283](https://github.com/stripe/stripe-ruby/pull/1283) Update generated code
|
@@ -145,33 +87,11 @@
|
|
145
87
|
* [#1281](https://github.com/stripe/stripe-ruby/pull/1281) Update generated code
|
146
88
|
* Documentation only changes
|
147
89
|
|
148
|
-
## 9.5.0-beta.2 - 2023-10-12
|
149
|
-
* [#1280](https://github.com/stripe/stripe-ruby/pull/1280) Update generated code for beta
|
150
|
-
* Add support for new resources `AccountNotice` and `Issuing.CreditUnderwritingRecord`
|
151
|
-
* Add support for `list`, `retrieve`, and `update` methods on resource `AccountNotice`
|
152
|
-
* Add support for `correct`, `create_from_application`, `create_from_proactive_review`, `list`, `report_decision`, and `retrieve` methods on resource `CreditUnderwritingRecord`
|
153
|
-
|
154
|
-
## 9.5.0-beta.1 - 2023-10-05
|
155
|
-
* [#1278](https://github.com/stripe/stripe-ruby/pull/1278) Update generated code for beta
|
156
|
-
* Add support for `mark_draft` and `mark_stale` methods on resource `Quote`
|
157
|
-
* Remove support for `draft_quote` and `mark_stale_quote` methods on resource `Quote`
|
158
|
-
* Rename `preview_invoice_lines` to `list_preview_invoice_lines` on resource `Quote`
|
159
|
-
|
160
90
|
## 9.4.0 - 2023-10-05
|
161
91
|
* [#1277](https://github.com/stripe/stripe-ruby/pull/1277) Update generated code
|
162
92
|
* Add support for new resources `Issuing.Token`
|
163
93
|
* Add support for `list`, `retrieve`, and `update` methods on resource `Token`
|
164
94
|
|
165
|
-
## 9.4.0-beta.3 - 2023-09-28
|
166
|
-
* [#1276](https://github.com/stripe/stripe-ruby/pull/1276) Update generated code for beta
|
167
|
-
* Rename resources `Issuing.CardDesign` and `Issuing.CardBundle` to `Issuing.PersonalizationDesign` and `Issuing.PhysicalBundle`
|
168
|
-
|
169
|
-
## 9.4.0-beta.2 - 2023-09-21
|
170
|
-
* [#1273](https://github.com/stripe/stripe-ruby/pull/1273) Update generated code for beta
|
171
|
-
|
172
|
-
## 9.4.0-beta.1 - 2023-09-14
|
173
|
-
* Updated stable APIs to the latest version
|
174
|
-
|
175
95
|
## 9.3.0 - 2023-09-14
|
176
96
|
* [#1272](https://github.com/stripe/stripe-ruby/pull/1272) Update generated code
|
177
97
|
* Add support for new resource `PaymentMethodConfiguration`
|
@@ -180,38 +100,18 @@
|
|
180
100
|
* Add support for `capture`, `create`, `expire`, `increment`, and `reverse` test helper methods on resource `Issuing.Authorization`
|
181
101
|
* Add support for `create_force_capture`, `create_unlinked_refund`, and `refund` test helper methods on resource `Issuing.Transaction`
|
182
102
|
|
183
|
-
## 9.3.0-beta.1 - 2023-09-07
|
184
|
-
* [#1269](https://github.com/stripe/stripe-ruby/pull/1269) Update generated code for beta
|
185
|
-
* Release specs are identical.
|
186
|
-
* [#1268](https://github.com/stripe/stripe-ruby/pull/1268) Update generated code for beta
|
187
|
-
* Remove support for `submit_card` test helper method on resource `Issuing.Card`
|
188
|
-
* [#1265](https://github.com/stripe/stripe-ruby/pull/1265) Update generated code for beta
|
189
|
-
* Rename `Quote.preview_invoices` to `QuotePreviewInvoice.list` and `Quote.preview_schedules` to `QuotePreviewSchedules.list`
|
190
|
-
* [#1264](https://github.com/stripe/stripe-ruby/pull/1264) Update generated code for beta
|
191
|
-
* Add support for new resources `QuotePreviewInvoice` and `QuotePreviewSchedule`
|
192
|
-
* [#1259](https://github.com/stripe/stripe-ruby/pull/1259) Update generated code for beta
|
193
|
-
|
194
|
-
* [#1257](https://github.com/stripe/stripe-ruby/pull/1257) Update generated code for beta
|
195
|
-
|
196
|
-
* [#1254](https://github.com/stripe/stripe-ruby/pull/1254) Update generated code for beta
|
197
|
-
* Add support for `submit_card` test helper method on resource `Issuing.Card`
|
198
|
-
* [#1252](https://github.com/stripe/stripe-ruby/pull/1252) Remove developer_message support
|
199
|
-
|
200
103
|
## 9.2.0 - 2023-09-07
|
201
104
|
* [#1267](https://github.com/stripe/stripe-ruby/pull/1267) Update generated code
|
202
105
|
* Add support for new resource `PaymentMethodDomain`
|
203
106
|
* Add support for `create`, `list`, `retrieve`, `update`, and `validate` methods on resource `PaymentMethodDomain`
|
204
107
|
|
205
|
-
## 9.2.0-beta.1 - 2023-08-31
|
206
|
-
* [#1265](https://github.com/stripe/stripe-ruby/pull/1265) Update generated code for beta
|
207
|
-
* Rename `Quote.preview_invoices` to `QuotePreviewInvoice.list` and `Quote.preview_schedules` to `QuotePreviewSchedules.list`
|
208
|
-
|
209
108
|
## 9.1.0 - 2023-08-31
|
210
109
|
* [#1266](https://github.com/stripe/stripe-ruby/pull/1266) Update generated code
|
211
110
|
* Add support for new resource `AccountSession`
|
212
111
|
* Add support for `create` method on resource `AccountSession`
|
213
112
|
* [#1262](https://github.com/stripe/stripe-ruby/pull/1262) Explicitly format timestamp in SignatureVerificationError message
|
214
113
|
|
114
|
+
|
215
115
|
## 9.0.0 - 2023-08-16
|
216
116
|
**⚠️ ACTION REQUIRED: the breaking change in this release likely affects you ⚠️**
|
217
117
|
|
@@ -244,39 +144,10 @@
|
|
244
144
|
|
245
145
|
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.
|
246
146
|
|
247
|
-
## 9.0.0-beta.1 - 2023-08-24
|
248
|
-
* [#1264](https://github.com/stripe/stripe-ruby/pull/1264) Update generated code for beta
|
249
|
-
* Add support for new resources `QuotePreviewInvoice` and `QuotePreviewSchedule`
|
250
|
-
* [#1259](https://github.com/stripe/stripe-ruby/pull/1259) Update generated code for beta
|
251
|
-
|
252
|
-
## 8.8.0-beta.1 - 2023-08-10
|
253
|
-
* [#1257](https://github.com/stripe/stripe-ruby/pull/1257) Update generated code for beta
|
254
|
-
* Updated stable APIs to the latest version
|
255
|
-
|
256
147
|
## 8.7.0 - 2023-08-10
|
257
148
|
* [#1256](https://github.com/stripe/stripe-ruby/pull/1256) Update generated code
|
258
149
|
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.
|
259
150
|
|
260
|
-
## 8.7.0-beta.3 - 2023-08-03
|
261
|
-
* [#1254](https://github.com/stripe/stripe-ruby/pull/1254) Update generated code for beta
|
262
|
-
* Add support for `submit_card` test helper method on resource `Issuing.Card`
|
263
|
-
* [#1252](https://github.com/stripe/stripe-ruby/pull/1252) Remove developer_message support
|
264
|
-
|
265
|
-
## 8.7.0-beta.2 - 2023-07-28
|
266
|
-
* [#1251](https://github.com/stripe/stripe-ruby/pull/1251) Update generated code for beta
|
267
|
-
* Add support for new resource `Tax.Form`
|
268
|
-
* Add support for `list`, `pdf`, and `retrieve` methods on resource `Form`
|
269
|
-
* [#1249](https://github.com/stripe/stripe-ruby/pull/1249) Update generated code for beta
|
270
|
-
* [#1246](https://github.com/stripe/stripe-ruby/pull/1246) Update generated code for beta
|
271
|
-
|
272
|
-
## 8.7.0-beta.1 - 2023-07-13
|
273
|
-
* [#1245](https://github.com/stripe/stripe-ruby/pull/1245) Update generated code for beta
|
274
|
-
Release specs are identical.
|
275
|
-
* [#1243](https://github.com/stripe/stripe-ruby/pull/1243) Update generated code for beta
|
276
|
-
* Add support for new resource `PaymentMethodConfiguration`
|
277
|
-
* Add support for `create`, `list`, `retrieve`, and `update` methods on resource `PaymentMethodConfiguration`
|
278
|
-
* [#1239](https://github.com/stripe/stripe-ruby/pull/1239) Update generated code for beta
|
279
|
-
|
280
151
|
## 8.6.0 - 2023-07-13
|
281
152
|
* [#1244](https://github.com/stripe/stripe-ruby/pull/1244) Update generated code
|
282
153
|
* Add support for new resource `Tax.Settings`
|
@@ -305,37 +176,6 @@
|
|
305
176
|
|
306
177
|
* [#1204](https://github.com/stripe/stripe-ruby/pull/1204) Update generated code
|
307
178
|
|
308
|
-
## 8.6.0-beta.6 - 2023-06-22
|
309
|
-
* [#1237](https://github.com/stripe/stripe-ruby/pull/1237) Update generated code for beta
|
310
|
-
* Add support for new resource `CustomerSession`
|
311
|
-
* Add support for `create` method on resource `CustomerSession`
|
312
|
-
* [#1233](https://github.com/stripe/stripe-ruby/pull/1233) Update generated code for beta
|
313
|
-
* [#1229](https://github.com/stripe/stripe-ruby/pull/1229) Update generated code for beta
|
314
|
-
|
315
|
-
## 8.6.0-beta.5 - 2023-06-01
|
316
|
-
* [#1227](https://github.com/stripe/stripe-ruby/pull/1227) Update generated code for beta
|
317
|
-
* [#1228](https://github.com/stripe/stripe-ruby/pull/1228) Document raw_request
|
318
|
-
* [#1222](https://github.com/stripe/stripe-ruby/pull/1222) Update generated code for beta
|
319
|
-
* [#1224](https://github.com/stripe/stripe-ruby/pull/1224) Handle developer message in preview error responses
|
320
|
-
|
321
|
-
## 8.6.0-beta.4 - 2023-05-19
|
322
|
-
* [#1220](https://github.com/stripe/stripe-ruby/pull/1220) Update generated code for beta
|
323
|
-
* Add support for `subscribe` and `unsubscribe` methods on resource `FinancialConnections.Account`
|
324
|
-
* [#1217](https://github.com/stripe/stripe-ruby/pull/1217) Add raw_request
|
325
|
-
* [#1216](https://github.com/stripe/stripe-ruby/pull/1216) Update generated code for beta
|
326
|
-
* [#1214](https://github.com/stripe/stripe-ruby/pull/1214) Update generated code for beta
|
327
|
-
|
328
|
-
## 8.6.0-beta.3 - 2023-04-17
|
329
|
-
* [#1211](https://github.com/stripe/stripe-ruby/pull/1211) Update generated code for beta
|
330
|
-
* [#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
|
331
|
-
|
332
|
-
## 8.6.0-beta.2 - 2023-04-13
|
333
|
-
* [#1206](https://github.com/stripe/stripe-ruby/pull/1206) Update generated code for beta
|
334
|
-
* Add support for `collect_payment_method` and `confirm_payment_intent` methods on resource `Terminal.Reader`
|
335
|
-
* [#1205](https://github.com/stripe/stripe-ruby/pull/1205) Update generated code for beta
|
336
|
-
|
337
|
-
## 8.6.0-beta.1 - 2023-03-30
|
338
|
-
* [#1202](https://github.com/stripe/stripe-ruby/pull/1202) Update generated code for beta
|
339
179
|
|
340
180
|
## 8.5.0 - 2023-03-30
|
341
181
|
* [#1203](https://github.com/stripe/stripe-ruby/pull/1203) Update generated code
|
@@ -343,11 +183,6 @@
|
|
343
183
|
* 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.
|
344
184
|
* [#1201](https://github.com/stripe/stripe-ruby/pull/1201) Update save deprecation message
|
345
185
|
|
346
|
-
## 8.5.0-beta.1 - 2023-03-23
|
347
|
-
* [#1194](https://github.com/stripe/stripe-ruby/pull/1194) Update generated code for beta (new)
|
348
|
-
* Add support for new resources `Tax.CalculationLineItem` and `Tax.TransactionLineItem`
|
349
|
-
* Add support for `collect_inputs` method on resource `Terminal.Reader`
|
350
|
-
|
351
186
|
## 8.4.0 - 2023-03-23
|
352
187
|
* [#1197](https://github.com/stripe/stripe-ruby/pull/1197) Update generated code (new)
|
353
188
|
* Add support for new resources `Tax.CalculationLineItem`, `Tax.Calculation`, `Tax.TransactionLineItem`, and `Tax.Transaction`
|
@@ -355,91 +190,18 @@
|
|
355
190
|
* Add support for `create_from_calculation`, `create_reversal`, `create`, `list_line_items`, and `retrieve` methods on resource `Transaction`
|
356
191
|
* [#1152](https://github.com/stripe/stripe-ruby/pull/1152) Symbolize hash keys inside `convert_to_stripe_object_with_params`
|
357
192
|
|
358
|
-
## 8.4.0-beta.4 - 2023-03-16
|
359
|
-
* [#1189](https://github.com/stripe/stripe-ruby/pull/1189) Update generated code for beta (new)
|
360
|
-
* Add support for `create_from_calculation` method on resource `Tax.Transaction`
|
361
|
-
* [#1188](https://github.com/stripe/stripe-ruby/pull/1188) Update generated code for beta (new)
|
362
|
-
* Remove support for resources `Capital.FinancingOffer` and `Capital.FinancingSummary`
|
363
|
-
* Remove support for `list`, `mark_delivered`, and `retrieve` methods on resource `FinancingOffer`
|
364
|
-
* Remove support for `retrieve` method on resource `FinancingSummary`
|
365
|
-
* [#1187](https://github.com/stripe/stripe-ruby/pull/1187) Merge upstream master
|
366
|
-
|
367
|
-
## 8.4.0-beta.3 - 2023-03-09
|
368
|
-
* [#1184](https://github.com/stripe/stripe-ruby/pull/1184) API Updates for beta branch
|
369
|
-
* Updated stable APIs to the latest version
|
370
|
-
* Remove support for `list_transactions` method on resource `Tax.Transaction`
|
371
|
-
|
372
|
-
## 8.4.0-beta.2 - 2023-03-03
|
373
|
-
* [#1183](https://github.com/stripe/stripe-ruby/pull/1183) API Updates for beta branch
|
374
|
-
* Updated stable APIs to the latest version
|
375
|
-
* Add support for new resources `Issuing.CardBundle` and `Issuing.CardDesign`
|
376
|
-
* Add support for `list` and `retrieve` methods on resource `CardBundle`
|
377
|
-
* Add support for `list`, `retrieve`, and `update` methods on resource `CardDesign`
|
378
|
-
|
379
|
-
## 8.4.0-beta.1 - 2023-02-23
|
380
|
-
* [#1182](https://github.com/stripe/stripe-ruby/pull/1182) API Updates for beta branch
|
381
|
-
* Updated stable APIs to the latest version
|
382
|
-
|
383
193
|
## 8.3.0 - 2023-02-16
|
384
194
|
* [#1175](https://github.com/stripe/stripe-ruby/pull/1175) API Updates
|
385
195
|
* Add support for `refund_payment` method on resource `Terminal.Reader`
|
386
196
|
|
387
|
-
## 8.3.0-beta.1 - 2023-02-02
|
388
|
-
* [#1174](https://github.com/stripe/stripe-ruby/pull/1174) API Updates for beta branch
|
389
|
-
* Updated stable APIs to the latest version
|
390
|
-
* Add support for new resource `FinancialConnections.Transaction`
|
391
|
-
* Add support for `list` method on resource `Transaction`
|
392
|
-
|
393
197
|
## 8.2.0 - 2023-02-02
|
394
198
|
* [#1173](https://github.com/stripe/stripe-ruby/pull/1173) API Updates
|
395
199
|
* Add support for `resume` method on resource `Subscription`
|
396
200
|
* [#1171](https://github.com/stripe/stripe-ruby/pull/1171) Remove unused `partial` param from `initialize_from`
|
397
201
|
|
398
|
-
## 8.2.0-beta.3 - 2023-01-26
|
399
|
-
* [#1172](https://github.com/stripe/stripe-ruby/pull/1172) API Updates for beta branch
|
400
|
-
* Updated stable APIs to the latest version
|
401
|
-
* Add support for `list_transactions` method on resource `Tax.Transaction`
|
402
|
-
|
403
|
-
## 8.2.0-beta.2 - 2023-01-19
|
404
|
-
* [#1170](https://github.com/stripe/stripe-ruby/pull/1170) API Updates for beta branch
|
405
|
-
* Updated stable APIs to the latest version
|
406
|
-
* Add support for `Tax.Settings` resource.
|
407
|
-
|
408
|
-
## 8.2.0-beta.1 - 2023-01-12
|
409
|
-
* [#1167](https://github.com/stripe/stripe-ruby/pull/1167) API Updates for beta branch
|
410
|
-
* Updated stable APIs to the latest version
|
411
|
-
* Change `quote.draft_quote` implementation to from calling `POST /v1/quotes/{quote}/draft` to `POST /v1/quotes/{quote}/mark_draft`
|
412
|
-
* Add support for `Tax::Register` resource
|
413
|
-
|
414
202
|
## 8.1.0 - 2023-01-12
|
415
203
|
* [#1162](https://github.com/stripe/stripe-ruby/pull/1162) Improve request events instrumentation
|
416
204
|
|
417
|
-
## 8.1.0-beta.4 - 2023-01-05
|
418
|
-
* [#1164](https://github.com/stripe/stripe-ruby/pull/1164) API Updates for beta branch
|
419
|
-
* Updated stable APIs to the latest version
|
420
|
-
* Add support for `mark_stale_quote` method on resource `Quote`
|
421
|
-
|
422
|
-
## 8.1.0-beta.3 - 2022-12-22
|
423
|
-
* [#1158](https://github.com/stripe/stripe-ruby/pull/1158) API Updates for beta branch
|
424
|
-
* Updated stable APIs to the latest version
|
425
|
-
* Move `TaxCalculation` and `TaxTransaction` to `Tax::Calculation` and `Tax::Transaction`.
|
426
|
-
|
427
|
-
## 8.1.0-beta.2 - 2022-12-15
|
428
|
-
* [#1156](https://github.com/stripe/stripe-ruby/pull/1156) API Updates for beta branch
|
429
|
-
* Updated stable APIs to the latest version
|
430
|
-
* Add support for new resources `TaxCalculation`, and `TaxTransaction`
|
431
|
-
* Add support for `create` and `list_line_items` methods on resource `TaxCalculation`
|
432
|
-
* Add support for `create_reversal`, `create`, and `retrieve` methods on resource `TaxTransaction`
|
433
|
-
* [#1155](https://github.com/stripe/stripe-ruby/pull/1155) API Updates for beta branch
|
434
|
-
* Updated stable APIs to the latest version
|
435
|
-
* Add support for new resource `QuoteLine`.
|
436
|
-
|
437
|
-
## 8.1.0-beta.1 - 2022-12-08
|
438
|
-
* [#1153](https://github.com/stripe/stripe-ruby/pull/1153) API Updates for beta branch
|
439
|
-
* Updated stable APIs to the latest version
|
440
|
-
* [#1146](https://github.com/stripe/stripe-ruby/pull/1146) API Updates for beta branch
|
441
|
-
* Updated stable APIs to the latest version
|
442
|
-
|
443
205
|
## 8.0.0 - 2022-11-16
|
444
206
|
* [#1144](https://github.com/stripe/stripe-ruby/pull/1144) Next major release changes
|
445
207
|
|
@@ -447,29 +209,30 @@ Breaking changes that arose during code generation of the library that we postpo
|
|
447
209
|
|
448
210
|
"⚠️" symbol highlights breaking changes.
|
449
211
|
|
450
|
-
|
451
|
-
|
452
|
-
|
453
|
-
|
454
|
-
|
455
|
-
|
456
|
-
|
457
|
-
|
212
|
+
### Deprecated
|
213
|
+
- The `save` method is deprecated. Prefer the static `update` method that doesn't require retrieval of the resource to update it.
|
214
|
+
``` ruby
|
215
|
+
# before
|
216
|
+
refund = Stripe::Refund.retrieve("re_123")
|
217
|
+
refund.description = "Refund description"
|
218
|
+
refund.save
|
219
|
+
|
220
|
+
# after
|
221
|
+
Stripe::Refund.update("re_123", description: "Refund description")
|
222
|
+
```
|
458
223
|
|
459
|
-
|
460
|
-
|
461
|
-
|
462
|
-
|
224
|
+
### ⚠️ Removed
|
225
|
+
- Removed deprecated `Sku` resource.
|
226
|
+
- Removed deprecated `Orders` resource.
|
227
|
+
- Removed deprecated `delete` method on `Subscription` resource. Please use `cancel` method instead.
|
228
|
+
```ruby
|
229
|
+
# before
|
230
|
+
Stripe::Subscription::delete("sub_12345")
|
463
231
|
|
464
|
-
|
465
|
-
|
466
|
-
|
467
|
-
* Add support for the beta [Gift Card API](https://stripe.com/docs/gift-cards).
|
232
|
+
# after
|
233
|
+
Stripe::Subscription::cancel("sub_12345")
|
234
|
+
```
|
468
235
|
|
469
|
-
## 7.2.0-beta.1 - 2022-08-23
|
470
|
-
* [#1122](https://github.com/stripe/stripe-ruby/pull/1122) API Updates for beta branch
|
471
|
-
- Updated stable APIs to the latest version
|
472
|
-
- `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)
|
473
236
|
|
474
237
|
## 7.1.0 - 2022-08-19
|
475
238
|
* [#1116](https://github.com/stripe/stripe-ruby/pull/1116) API Updates
|
@@ -478,16 +241,6 @@ Breaking changes that arose during code generation of the library that we postpo
|
|
478
241
|
* [#1117](https://github.com/stripe/stripe-ruby/pull/1117) Refresh rubocop config.
|
479
242
|
* [#1115](https://github.com/stripe/stripe-ruby/pull/1115) Add a support section to the readme
|
480
243
|
|
481
|
-
## 7.1.0-beta.2 - 2022-08-11
|
482
|
-
* [#1113](https://github.com/stripe/stripe-ruby/pull/1113) API Updates for beta branch
|
483
|
-
- Updated stable APIs to the latest version
|
484
|
-
- Add `refund_payment` method to Terminal resource
|
485
|
-
|
486
|
-
## 7.1.0-beta.1 - 2022-08-03
|
487
|
-
* [#1107](https://github.com/stripe/stripe-ruby/pull/1107) API Updates for beta branch
|
488
|
-
- Updated stable APIs to the latest version
|
489
|
-
- Added the `Order` resource support
|
490
|
-
|
491
244
|
## 7.0.0 - 2022-08-02
|
492
245
|
|
493
246
|
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.
|
@@ -499,19 +252,21 @@ Breaking changes that arose during code generation of the library that we postpo
|
|
499
252
|
* [#1090](https://github.com/stripe/stripe-ruby/pull/1090) Use auto-generation for `Invoice` methods
|
500
253
|
* [#1103](https://github.com/stripe/stripe-ruby/pull/1103) Next major release changes
|
501
254
|
|
502
|
-
|
503
|
-
*
|
504
|
-
|
505
|
-
|
506
|
-
|
507
|
-
|
508
|
-
|
509
|
-
|
510
|
-
|
511
|
-
|
512
|
-
*
|
513
|
-
|
514
|
-
*
|
255
|
+
### ⚠️ Changed
|
256
|
+
* `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.
|
257
|
+
* Update default bundle of CA certificates to April 26, 2022.
|
258
|
+
|
259
|
+
### Deprecated
|
260
|
+
* Deprecate `delete` method on `Subscription` resource. Please use `cancel` method instead.
|
261
|
+
|
262
|
+
### ⚠️ Removed
|
263
|
+
* Remove `details` method from `Issuing.Card` resource. The method was not supported.
|
264
|
+
* Remove `Issuing.CardDetails` resource. Read more at https://stripe.com/docs/issuing/cards/virtual.
|
265
|
+
* Remove `create` method from `ReportType` resource. The method was not supported.
|
266
|
+
* Remove `usage_record_summaries` method from `SubscriptionItem` resource. Please use `list_usage_record_summaries` method instead.
|
267
|
+
* Remove `AlipayAccount`, `BitcoinReceiver`, `BitcoinTransaction`, `Issuing::CardDetails`, `Recipient`, ` RecipientTransfer`, and `ThreeDSecure` resources. The resources were deprecated or no longer in use.
|
268
|
+
* Remove ability to list `Card` resource for a `Recipient`.
|
269
|
+
* Remove `cancel` method from `Transfer` resource. The method was deprecated.
|
515
270
|
|
516
271
|
## 6.5.0 - 2022-06-29
|
517
272
|
* [#1084](https://github.com/stripe/stripe-ruby/pull/1084) API Updates
|
@@ -541,6 +296,8 @@ Breaking changes that arose during code generation of the library that we postpo
|
|
541
296
|
* 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`
|
542
297
|
* Add support for `retrieve_payment_method` method on resource `Customer`
|
543
298
|
* Add support for `list_owners` and `list` methods on resource `FinancialConnections.Account`
|
299
|
+
|
300
|
+
|
544
301
|
|
545
302
|
## 6.0.0 - 2022-05-09
|
546
303
|
* [#1056](https://github.com/stripe/stripe-ruby/pull/1056) API Updates
|
@@ -556,6 +313,7 @@ Breaking changes that arose during code generation of the library that we postpo
|
|
556
313
|
## 5.55.0 - 2022-05-05
|
557
314
|
* [#1055](https://github.com/stripe/stripe-ruby/pull/1055) API Updates
|
558
315
|
* Add support for new resources `FinancialConnections.AccountOwner`, `FinancialConnections.AccountOwnership`, `FinancialConnections.Account`, and `FinancialConnections.Session`
|
316
|
+
|
559
317
|
|
560
318
|
## 5.54.0 - 2022-05-03
|
561
319
|
* [#1053](https://github.com/stripe/stripe-ruby/pull/1053) API Updates
|
@@ -1586,4 +1344,3 @@ Identical to 1.56.0 above. I incorrectly cut a patch-level release.
|
|
1586
1344
|
<!--
|
1587
1345
|
# vim: set tw=0:
|
1588
1346
|
-->
|
1589
|
-
|
data/OPENAPI_VERSION
CHANGED
@@ -1 +1 @@
|
|
1
|
-
|
1
|
+
v878
|
data/README.md
CHANGED
@@ -341,17 +341,6 @@ If your beta feature requires a `Stripe-Version` header to be sent, set the `Str
|
|
341
341
|
Stripe.add_beta_version("feature_beta", "v3")
|
342
342
|
```
|
343
343
|
|
344
|
-
### Custom requests
|
345
|
-
|
346
|
-
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`.
|
347
|
-
|
348
|
-
```ruby
|
349
|
-
resp = Stripe.raw_request(:post, "/v1/beta_endpoint", {param: 123}, {stripe_version: "2022-11-15; feature_beta=v3"})
|
350
|
-
|
351
|
-
# (Optional) resp is a StripeResponse. You can use `Stripe.deserialize` to get a StripeObject.
|
352
|
-
deserialized_resp = Stripe.deserialize(resp.http_body)
|
353
|
-
```
|
354
|
-
|
355
344
|
## Support
|
356
345
|
|
357
346
|
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
|
-
10.12.0
|
1
|
+
10.12.0
|
@@ -48,14 +48,13 @@ module Stripe
|
|
48
48
|
api_key = headers.delete(:api_key)
|
49
49
|
api_base = headers.delete(:api_base)
|
50
50
|
client = headers.delete(:client)
|
51
|
-
api_mode = headers.delete(:api_mode)
|
52
51
|
# Assume all remaining opts must be headers
|
53
52
|
|
54
53
|
resp, opts[:api_key] = client.send(
|
55
54
|
client_request_method_sym,
|
56
55
|
method, url,
|
57
56
|
api_base: api_base, api_key: api_key,
|
58
|
-
headers: headers, params: params, usage: usage,
|
57
|
+
headers: headers, params: params, usage: usage,
|
59
58
|
&read_body_chunk_block
|
60
59
|
)
|
61
60
|
|