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