stripe 10.5.0.pre.beta.1 → 10.5.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 +43 -249
- 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 +0 -20
- data/lib/stripe/resources/account.rb +8 -0
- data/lib/stripe/resources/apps/secret.rb +2 -0
- data/lib/stripe/resources/charge.rb +10 -0
- data/lib/stripe/resources/checkout/session.rb +8 -0
- data/lib/stripe/resources/climate/order.rb +8 -0
- data/lib/stripe/resources/credit_note.rb +4 -0
- data/lib/stripe/resources/customer.rb +16 -0
- data/lib/stripe/resources/dispute.rb +6 -0
- data/lib/stripe/resources/financial_connections/account.rb +10 -3
- data/lib/stripe/resources/identity/verification_session.rb +44 -0
- data/lib/stripe/resources/invoice.rb +20 -21
- data/lib/stripe/resources/issuing/authorization.rb +17 -0
- data/lib/stripe/resources/issuing/card.rb +8 -0
- data/lib/stripe/resources/issuing/dispute.rb +2 -0
- data/lib/stripe/resources/issuing/transaction.rb +4 -0
- data/lib/stripe/resources/payment_intent.rb +118 -0
- data/lib/stripe/resources/payment_link.rb +2 -0
- data/lib/stripe/resources/payment_method.rb +28 -0
- data/lib/stripe/resources/payment_method_domain.rb +12 -0
- data/lib/stripe/resources/payout.rb +8 -0
- data/lib/stripe/resources/quote.rb +12 -94
- data/lib/stripe/resources/refund.rb +8 -0
- data/lib/stripe/resources/review.rb +2 -0
- data/lib/stripe/resources/setup_intent.rb +36 -0
- data/lib/stripe/resources/source.rb +2 -0
- data/lib/stripe/resources/subscription.rb +14 -0
- data/lib/stripe/resources/subscription_schedule.rb +4 -18
- data/lib/stripe/resources/tax/calculation.rb +2 -0
- data/lib/stripe/resources/tax/transaction.rb +4 -0
- data/lib/stripe/resources/terminal/reader.rb +12 -54
- data/lib/stripe/resources/test_helpers/test_clock.rb +2 -0
- data/lib/stripe/resources/topup.rb +2 -0
- data/lib/stripe/resources/treasury/financial_account.rb +4 -0
- data/lib/stripe/resources/treasury/inbound_transfer.rb +8 -0
- data/lib/stripe/resources/treasury/outbound_payment.rb +8 -0
- data/lib/stripe/resources/treasury/outbound_transfer.rb +8 -0
- data/lib/stripe/resources/treasury/received_credit.rb +1 -0
- data/lib/stripe/resources/treasury/received_debit.rb +1 -0
- 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 -46
- metadata +4 -24
- data/lib/stripe/request_signing_authenticator.rb +0 -79
- data/lib/stripe/resources/account_notice.rb +0 -14
- 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 -13
- data/lib/stripe/resources/customer_session.rb +0 -12
- data/lib/stripe/resources/financial_connections/account_inferred_balance.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/invoice_payment.rb +0 -11
- data/lib/stripe/resources/issuing/credit_underwriting_record.rb +0 -69
- data/lib/stripe/resources/issuing/personalization_design.rb +0 -77
- data/lib/stripe/resources/issuing/physical_bundle.rb +0 -13
- data/lib/stripe/resources/margin.rb +0 -14
- 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_subscription_schedule.rb +0 -10
- data/lib/stripe/resources/tax/form.rb +0 -39
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 35cb5568b5c580eb40e2b085b86fe4aaacf8acdbdd3279fe5298dbaf17b95686
|
4
|
+
data.tar.gz: '049a91783c7afab8e987f6e14cc659854b86c26d5434921c8b09afcc292e0b7d'
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 85d1cf80fca4a8299e739bc41ab933f0b4ddcd0bce3d2adb52e7ab308838e96bd7bdf9627f8f1f1f56ed2a888c2cd963a17bebd9be86f290a52fd90e8f761d0b
|
7
|
+
data.tar.gz: e3fb60e7165b3b5592ef31c2c85d504eb4240e3ff63e68968c3bebe4200a5d3677db588de3c31e6d0e64b2ba52fe00d172c04ae1dade871f02e1b83add14680a
|
data/CHANGELOG.md
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
# Changelog
|
2
|
-
|
3
|
-
|
4
|
-
*
|
2
|
+
## 10.5.0 - 2024-01-04
|
3
|
+
* [#1306](https://github.com/stripe/stripe-ruby/pull/1306) Update generated code
|
4
|
+
* Add support for `retrieve` method on resource `Tax.Registration`
|
5
5
|
|
6
6
|
## 10.4.0 - 2023-12-22
|
7
7
|
* [#1303](https://github.com/stripe/stripe-ruby/pull/1303) Update generated code
|
@@ -10,16 +10,9 @@
|
|
10
10
|
* Add support for `subscribe` and `unsubscribe` methods on resource `FinancialConnections.Account`
|
11
11
|
* [#1304](https://github.com/stripe/stripe-ruby/pull/1304) Add support for updatable singleton resources
|
12
12
|
|
13
|
-
## 10.4.0-beta.1 - 2023-12-14
|
14
|
-
Updated stable APIs to the latest version
|
15
|
-
|
16
13
|
## 10.3.0 - 2023-12-14
|
17
14
|
* [#1294](https://github.com/stripe/stripe-ruby/pull/1294) Support sending parameters inside singleton retrieve
|
18
15
|
|
19
|
-
## 10.3.0-beta.1 - 2023-11-30
|
20
|
-
* [#1298](https://github.com/stripe/stripe-ruby/pull/1298) Update generated code for beta
|
21
|
-
* [#1296](https://github.com/stripe/stripe-ruby/pull/1296) Merge master into beta
|
22
|
-
|
23
16
|
## 10.2.0 - 2023-11-30
|
24
17
|
* [#1292](https://github.com/stripe/stripe-ruby/pull/1292) Update generated code
|
25
18
|
* Add support for new resources `Climate.Order`, `Climate.Product`, and `Climate.Supplier`
|
@@ -32,26 +25,12 @@
|
|
32
25
|
|
33
26
|
* [#1288](https://github.com/stripe/stripe-ruby/pull/1288) Update generated code
|
34
27
|
|
35
|
-
## 10.2.0-beta.1 - 2023-11-02
|
36
|
-
* [#1287](https://github.com/stripe/stripe-ruby/pull/1287) Update generated code for beta
|
37
|
-
* Add support for `attach_payment_intent` method on resource `Invoice`
|
38
|
-
* [#1285](https://github.com/stripe/stripe-ruby/pull/1285) Update generated code for beta
|
39
28
|
|
40
29
|
## 10.1.0 - 2023-11-02
|
41
30
|
* [#1286](https://github.com/stripe/stripe-ruby/pull/1286) Update generated code
|
42
31
|
* Add support for new resource `Tax.Registration`
|
43
32
|
* Add support for `create`, `list`, and `update` methods on resource `Registration`
|
44
33
|
|
45
|
-
## 10.1.0-beta.2 - 2023-10-26
|
46
|
-
* [#1285](https://github.com/stripe/stripe-ruby/pull/1285) Update generated code for beta
|
47
|
-
* Add support for new resource `Margin`
|
48
|
-
* Add support for `create`, `list`, `retrieve`, and `update` methods on resource `Margin`
|
49
|
-
|
50
|
-
## 10.1.0-beta.1 - 2023-10-17
|
51
|
-
* [#1284](https://github.com/stripe/stripe-ruby/pull/1284) Update generated code for beta
|
52
|
-
- Update pinned API version to `2023-10-16`
|
53
|
-
* [#1282](https://github.com/stripe/stripe-ruby/pull/1282) Update generated code for beta
|
54
|
-
|
55
34
|
## 10.0.0 - 2023-10-16
|
56
35
|
* 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`.
|
57
36
|
* [#1283](https://github.com/stripe/stripe-ruby/pull/1283) Update generated code
|
@@ -59,33 +38,11 @@
|
|
59
38
|
* [#1281](https://github.com/stripe/stripe-ruby/pull/1281) Update generated code
|
60
39
|
* Documentation only changes
|
61
40
|
|
62
|
-
## 9.5.0-beta.2 - 2023-10-12
|
63
|
-
* [#1280](https://github.com/stripe/stripe-ruby/pull/1280) Update generated code for beta
|
64
|
-
* Add support for new resources `AccountNotice` and `Issuing.CreditUnderwritingRecord`
|
65
|
-
* Add support for `list`, `retrieve`, and `update` methods on resource `AccountNotice`
|
66
|
-
* Add support for `correct`, `create_from_application`, `create_from_proactive_review`, `list`, `report_decision`, and `retrieve` methods on resource `CreditUnderwritingRecord`
|
67
|
-
|
68
|
-
## 9.5.0-beta.1 - 2023-10-05
|
69
|
-
* [#1278](https://github.com/stripe/stripe-ruby/pull/1278) Update generated code for beta
|
70
|
-
* Add support for `mark_draft` and `mark_stale` methods on resource `Quote`
|
71
|
-
* Remove support for `draft_quote` and `mark_stale_quote` methods on resource `Quote`
|
72
|
-
* Rename `preview_invoice_lines` to `list_preview_invoice_lines` on resource `Quote`
|
73
|
-
|
74
41
|
## 9.4.0 - 2023-10-05
|
75
42
|
* [#1277](https://github.com/stripe/stripe-ruby/pull/1277) Update generated code
|
76
43
|
* Add support for new resources `Issuing.Token`
|
77
44
|
* Add support for `list`, `retrieve`, and `update` methods on resource `Token`
|
78
45
|
|
79
|
-
## 9.4.0-beta.3 - 2023-09-28
|
80
|
-
* [#1276](https://github.com/stripe/stripe-ruby/pull/1276) Update generated code for beta
|
81
|
-
* Rename resources `Issuing.CardDesign` and `Issuing.CardBundle` to `Issuing.PersonalizationDesign` and `Issuing.PhysicalBundle`
|
82
|
-
|
83
|
-
## 9.4.0-beta.2 - 2023-09-21
|
84
|
-
* [#1273](https://github.com/stripe/stripe-ruby/pull/1273) Update generated code for beta
|
85
|
-
|
86
|
-
## 9.4.0-beta.1 - 2023-09-14
|
87
|
-
* Updated stable APIs to the latest version
|
88
|
-
|
89
46
|
## 9.3.0 - 2023-09-14
|
90
47
|
* [#1272](https://github.com/stripe/stripe-ruby/pull/1272) Update generated code
|
91
48
|
* Add support for new resource `PaymentMethodConfiguration`
|
@@ -94,38 +51,18 @@
|
|
94
51
|
* Add support for `capture`, `create`, `expire`, `increment`, and `reverse` test helper methods on resource `Issuing.Authorization`
|
95
52
|
* Add support for `create_force_capture`, `create_unlinked_refund`, and `refund` test helper methods on resource `Issuing.Transaction`
|
96
53
|
|
97
|
-
## 9.3.0-beta.1 - 2023-09-07
|
98
|
-
* [#1269](https://github.com/stripe/stripe-ruby/pull/1269) Update generated code for beta
|
99
|
-
* Release specs are identical.
|
100
|
-
* [#1268](https://github.com/stripe/stripe-ruby/pull/1268) Update generated code for beta
|
101
|
-
* Remove support for `submit_card` test helper method on resource `Issuing.Card`
|
102
|
-
* [#1265](https://github.com/stripe/stripe-ruby/pull/1265) Update generated code for beta
|
103
|
-
* Rename `Quote.preview_invoices` to `QuotePreviewInvoice.list` and `Quote.preview_schedules` to `QuotePreviewSchedules.list`
|
104
|
-
* [#1264](https://github.com/stripe/stripe-ruby/pull/1264) Update generated code for beta
|
105
|
-
* Add support for new resources `QuotePreviewInvoice` and `QuotePreviewSchedule`
|
106
|
-
* [#1259](https://github.com/stripe/stripe-ruby/pull/1259) Update generated code for beta
|
107
|
-
|
108
|
-
* [#1257](https://github.com/stripe/stripe-ruby/pull/1257) Update generated code for beta
|
109
|
-
|
110
|
-
* [#1254](https://github.com/stripe/stripe-ruby/pull/1254) Update generated code for beta
|
111
|
-
* Add support for `submit_card` test helper method on resource `Issuing.Card`
|
112
|
-
* [#1252](https://github.com/stripe/stripe-ruby/pull/1252) Remove developer_message support
|
113
|
-
|
114
54
|
## 9.2.0 - 2023-09-07
|
115
55
|
* [#1267](https://github.com/stripe/stripe-ruby/pull/1267) Update generated code
|
116
56
|
* Add support for new resource `PaymentMethodDomain`
|
117
57
|
* Add support for `create`, `list`, `retrieve`, `update`, and `validate` methods on resource `PaymentMethodDomain`
|
118
58
|
|
119
|
-
## 9.2.0-beta.1 - 2023-08-31
|
120
|
-
* [#1265](https://github.com/stripe/stripe-ruby/pull/1265) Update generated code for beta
|
121
|
-
* Rename `Quote.preview_invoices` to `QuotePreviewInvoice.list` and `Quote.preview_schedules` to `QuotePreviewSchedules.list`
|
122
|
-
|
123
59
|
## 9.1.0 - 2023-08-31
|
124
60
|
* [#1266](https://github.com/stripe/stripe-ruby/pull/1266) Update generated code
|
125
61
|
* Add support for new resource `AccountSession`
|
126
62
|
* Add support for `create` method on resource `AccountSession`
|
127
63
|
* [#1262](https://github.com/stripe/stripe-ruby/pull/1262) Explicitly format timestamp in SignatureVerificationError message
|
128
64
|
|
65
|
+
|
129
66
|
## 9.0.0 - 2023-08-16
|
130
67
|
**⚠️ ACTION REQUIRED: the breaking change in this release likely affects you ⚠️**
|
131
68
|
|
@@ -158,39 +95,10 @@
|
|
158
95
|
|
159
96
|
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.
|
160
97
|
|
161
|
-
## 9.0.0-beta.1 - 2023-08-24
|
162
|
-
* [#1264](https://github.com/stripe/stripe-ruby/pull/1264) Update generated code for beta
|
163
|
-
* Add support for new resources `QuotePreviewInvoice` and `QuotePreviewSchedule`
|
164
|
-
* [#1259](https://github.com/stripe/stripe-ruby/pull/1259) Update generated code for beta
|
165
|
-
|
166
|
-
## 8.8.0-beta.1 - 2023-08-10
|
167
|
-
* [#1257](https://github.com/stripe/stripe-ruby/pull/1257) Update generated code for beta
|
168
|
-
* Updated stable APIs to the latest version
|
169
|
-
|
170
98
|
## 8.7.0 - 2023-08-10
|
171
99
|
* [#1256](https://github.com/stripe/stripe-ruby/pull/1256) Update generated code
|
172
100
|
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.
|
173
101
|
|
174
|
-
## 8.7.0-beta.3 - 2023-08-03
|
175
|
-
* [#1254](https://github.com/stripe/stripe-ruby/pull/1254) Update generated code for beta
|
176
|
-
* Add support for `submit_card` test helper method on resource `Issuing.Card`
|
177
|
-
* [#1252](https://github.com/stripe/stripe-ruby/pull/1252) Remove developer_message support
|
178
|
-
|
179
|
-
## 8.7.0-beta.2 - 2023-07-28
|
180
|
-
* [#1251](https://github.com/stripe/stripe-ruby/pull/1251) Update generated code for beta
|
181
|
-
* Add support for new resource `Tax.Form`
|
182
|
-
* Add support for `list`, `pdf`, and `retrieve` methods on resource `Form`
|
183
|
-
* [#1249](https://github.com/stripe/stripe-ruby/pull/1249) Update generated code for beta
|
184
|
-
* [#1246](https://github.com/stripe/stripe-ruby/pull/1246) Update generated code for beta
|
185
|
-
|
186
|
-
## 8.7.0-beta.1 - 2023-07-13
|
187
|
-
* [#1245](https://github.com/stripe/stripe-ruby/pull/1245) Update generated code for beta
|
188
|
-
Release specs are identical.
|
189
|
-
* [#1243](https://github.com/stripe/stripe-ruby/pull/1243) Update generated code for beta
|
190
|
-
* Add support for new resource `PaymentMethodConfiguration`
|
191
|
-
* Add support for `create`, `list`, `retrieve`, and `update` methods on resource `PaymentMethodConfiguration`
|
192
|
-
* [#1239](https://github.com/stripe/stripe-ruby/pull/1239) Update generated code for beta
|
193
|
-
|
194
102
|
## 8.6.0 - 2023-07-13
|
195
103
|
* [#1244](https://github.com/stripe/stripe-ruby/pull/1244) Update generated code
|
196
104
|
* Add support for new resource `Tax.Settings`
|
@@ -219,37 +127,6 @@
|
|
219
127
|
|
220
128
|
* [#1204](https://github.com/stripe/stripe-ruby/pull/1204) Update generated code
|
221
129
|
|
222
|
-
## 8.6.0-beta.6 - 2023-06-22
|
223
|
-
* [#1237](https://github.com/stripe/stripe-ruby/pull/1237) Update generated code for beta
|
224
|
-
* Add support for new resource `CustomerSession`
|
225
|
-
* Add support for `create` method on resource `CustomerSession`
|
226
|
-
* [#1233](https://github.com/stripe/stripe-ruby/pull/1233) Update generated code for beta
|
227
|
-
* [#1229](https://github.com/stripe/stripe-ruby/pull/1229) Update generated code for beta
|
228
|
-
|
229
|
-
## 8.6.0-beta.5 - 2023-06-01
|
230
|
-
* [#1227](https://github.com/stripe/stripe-ruby/pull/1227) Update generated code for beta
|
231
|
-
* [#1228](https://github.com/stripe/stripe-ruby/pull/1228) Document raw_request
|
232
|
-
* [#1222](https://github.com/stripe/stripe-ruby/pull/1222) Update generated code for beta
|
233
|
-
* [#1224](https://github.com/stripe/stripe-ruby/pull/1224) Handle developer message in preview error responses
|
234
|
-
|
235
|
-
## 8.6.0-beta.4 - 2023-05-19
|
236
|
-
* [#1220](https://github.com/stripe/stripe-ruby/pull/1220) Update generated code for beta
|
237
|
-
* Add support for `subscribe` and `unsubscribe` methods on resource `FinancialConnections.Account`
|
238
|
-
* [#1217](https://github.com/stripe/stripe-ruby/pull/1217) Add raw_request
|
239
|
-
* [#1216](https://github.com/stripe/stripe-ruby/pull/1216) Update generated code for beta
|
240
|
-
* [#1214](https://github.com/stripe/stripe-ruby/pull/1214) Update generated code for beta
|
241
|
-
|
242
|
-
## 8.6.0-beta.3 - 2023-04-17
|
243
|
-
* [#1211](https://github.com/stripe/stripe-ruby/pull/1211) Update generated code for beta
|
244
|
-
* [#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
|
245
|
-
|
246
|
-
## 8.6.0-beta.2 - 2023-04-13
|
247
|
-
* [#1206](https://github.com/stripe/stripe-ruby/pull/1206) Update generated code for beta
|
248
|
-
* Add support for `collect_payment_method` and `confirm_payment_intent` methods on resource `Terminal.Reader`
|
249
|
-
* [#1205](https://github.com/stripe/stripe-ruby/pull/1205) Update generated code for beta
|
250
|
-
|
251
|
-
## 8.6.0-beta.1 - 2023-03-30
|
252
|
-
* [#1202](https://github.com/stripe/stripe-ruby/pull/1202) Update generated code for beta
|
253
130
|
|
254
131
|
## 8.5.0 - 2023-03-30
|
255
132
|
* [#1203](https://github.com/stripe/stripe-ruby/pull/1203) Update generated code
|
@@ -257,11 +134,6 @@
|
|
257
134
|
* 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.
|
258
135
|
* [#1201](https://github.com/stripe/stripe-ruby/pull/1201) Update save deprecation message
|
259
136
|
|
260
|
-
## 8.5.0-beta.1 - 2023-03-23
|
261
|
-
* [#1194](https://github.com/stripe/stripe-ruby/pull/1194) Update generated code for beta (new)
|
262
|
-
* Add support for new resources `Tax.CalculationLineItem` and `Tax.TransactionLineItem`
|
263
|
-
* Add support for `collect_inputs` method on resource `Terminal.Reader`
|
264
|
-
|
265
137
|
## 8.4.0 - 2023-03-23
|
266
138
|
* [#1197](https://github.com/stripe/stripe-ruby/pull/1197) Update generated code (new)
|
267
139
|
* Add support for new resources `Tax.CalculationLineItem`, `Tax.Calculation`, `Tax.TransactionLineItem`, and `Tax.Transaction`
|
@@ -269,91 +141,18 @@
|
|
269
141
|
* Add support for `create_from_calculation`, `create_reversal`, `create`, `list_line_items`, and `retrieve` methods on resource `Transaction`
|
270
142
|
* [#1152](https://github.com/stripe/stripe-ruby/pull/1152) Symbolize hash keys inside `convert_to_stripe_object_with_params`
|
271
143
|
|
272
|
-
## 8.4.0-beta.4 - 2023-03-16
|
273
|
-
* [#1189](https://github.com/stripe/stripe-ruby/pull/1189) Update generated code for beta (new)
|
274
|
-
* Add support for `create_from_calculation` method on resource `Tax.Transaction`
|
275
|
-
* [#1188](https://github.com/stripe/stripe-ruby/pull/1188) Update generated code for beta (new)
|
276
|
-
* Remove support for resources `Capital.FinancingOffer` and `Capital.FinancingSummary`
|
277
|
-
* Remove support for `list`, `mark_delivered`, and `retrieve` methods on resource `FinancingOffer`
|
278
|
-
* Remove support for `retrieve` method on resource `FinancingSummary`
|
279
|
-
* [#1187](https://github.com/stripe/stripe-ruby/pull/1187) Merge upstream master
|
280
|
-
|
281
|
-
## 8.4.0-beta.3 - 2023-03-09
|
282
|
-
* [#1184](https://github.com/stripe/stripe-ruby/pull/1184) API Updates for beta branch
|
283
|
-
* Updated stable APIs to the latest version
|
284
|
-
* Remove support for `list_transactions` method on resource `Tax.Transaction`
|
285
|
-
|
286
|
-
## 8.4.0-beta.2 - 2023-03-03
|
287
|
-
* [#1183](https://github.com/stripe/stripe-ruby/pull/1183) API Updates for beta branch
|
288
|
-
* Updated stable APIs to the latest version
|
289
|
-
* Add support for new resources `Issuing.CardBundle` and `Issuing.CardDesign`
|
290
|
-
* Add support for `list` and `retrieve` methods on resource `CardBundle`
|
291
|
-
* Add support for `list`, `retrieve`, and `update` methods on resource `CardDesign`
|
292
|
-
|
293
|
-
## 8.4.0-beta.1 - 2023-02-23
|
294
|
-
* [#1182](https://github.com/stripe/stripe-ruby/pull/1182) API Updates for beta branch
|
295
|
-
* Updated stable APIs to the latest version
|
296
|
-
|
297
144
|
## 8.3.0 - 2023-02-16
|
298
145
|
* [#1175](https://github.com/stripe/stripe-ruby/pull/1175) API Updates
|
299
146
|
* Add support for `refund_payment` method on resource `Terminal.Reader`
|
300
147
|
|
301
|
-
## 8.3.0-beta.1 - 2023-02-02
|
302
|
-
* [#1174](https://github.com/stripe/stripe-ruby/pull/1174) API Updates for beta branch
|
303
|
-
* Updated stable APIs to the latest version
|
304
|
-
* Add support for new resource `FinancialConnections.Transaction`
|
305
|
-
* Add support for `list` method on resource `Transaction`
|
306
|
-
|
307
148
|
## 8.2.0 - 2023-02-02
|
308
149
|
* [#1173](https://github.com/stripe/stripe-ruby/pull/1173) API Updates
|
309
150
|
* Add support for `resume` method on resource `Subscription`
|
310
151
|
* [#1171](https://github.com/stripe/stripe-ruby/pull/1171) Remove unused `partial` param from `initialize_from`
|
311
152
|
|
312
|
-
## 8.2.0-beta.3 - 2023-01-26
|
313
|
-
* [#1172](https://github.com/stripe/stripe-ruby/pull/1172) API Updates for beta branch
|
314
|
-
* Updated stable APIs to the latest version
|
315
|
-
* Add support for `list_transactions` method on resource `Tax.Transaction`
|
316
|
-
|
317
|
-
## 8.2.0-beta.2 - 2023-01-19
|
318
|
-
* [#1170](https://github.com/stripe/stripe-ruby/pull/1170) API Updates for beta branch
|
319
|
-
* Updated stable APIs to the latest version
|
320
|
-
* Add support for `Tax.Settings` resource.
|
321
|
-
|
322
|
-
## 8.2.0-beta.1 - 2023-01-12
|
323
|
-
* [#1167](https://github.com/stripe/stripe-ruby/pull/1167) API Updates for beta branch
|
324
|
-
* Updated stable APIs to the latest version
|
325
|
-
* Change `quote.draft_quote` implementation to from calling `POST /v1/quotes/{quote}/draft` to `POST /v1/quotes/{quote}/mark_draft`
|
326
|
-
* Add support for `Tax::Register` resource
|
327
|
-
|
328
153
|
## 8.1.0 - 2023-01-12
|
329
154
|
* [#1162](https://github.com/stripe/stripe-ruby/pull/1162) Improve request events instrumentation
|
330
155
|
|
331
|
-
## 8.1.0-beta.4 - 2023-01-05
|
332
|
-
* [#1164](https://github.com/stripe/stripe-ruby/pull/1164) API Updates for beta branch
|
333
|
-
* Updated stable APIs to the latest version
|
334
|
-
* Add support for `mark_stale_quote` method on resource `Quote`
|
335
|
-
|
336
|
-
## 8.1.0-beta.3 - 2022-12-22
|
337
|
-
* [#1158](https://github.com/stripe/stripe-ruby/pull/1158) API Updates for beta branch
|
338
|
-
* Updated stable APIs to the latest version
|
339
|
-
* Move `TaxCalculation` and `TaxTransaction` to `Tax::Calculation` and `Tax::Transaction`.
|
340
|
-
|
341
|
-
## 8.1.0-beta.2 - 2022-12-15
|
342
|
-
* [#1156](https://github.com/stripe/stripe-ruby/pull/1156) API Updates for beta branch
|
343
|
-
* Updated stable APIs to the latest version
|
344
|
-
* Add support for new resources `TaxCalculation`, and `TaxTransaction`
|
345
|
-
* Add support for `create` and `list_line_items` methods on resource `TaxCalculation`
|
346
|
-
* Add support for `create_reversal`, `create`, and `retrieve` methods on resource `TaxTransaction`
|
347
|
-
* [#1155](https://github.com/stripe/stripe-ruby/pull/1155) API Updates for beta branch
|
348
|
-
* Updated stable APIs to the latest version
|
349
|
-
* Add support for new resource `QuoteLine`.
|
350
|
-
|
351
|
-
## 8.1.0-beta.1 - 2022-12-08
|
352
|
-
* [#1153](https://github.com/stripe/stripe-ruby/pull/1153) API Updates for beta branch
|
353
|
-
* Updated stable APIs to the latest version
|
354
|
-
* [#1146](https://github.com/stripe/stripe-ruby/pull/1146) API Updates for beta branch
|
355
|
-
* Updated stable APIs to the latest version
|
356
|
-
|
357
156
|
## 8.0.0 - 2022-11-16
|
358
157
|
* [#1144](https://github.com/stripe/stripe-ruby/pull/1144) Next major release changes
|
359
158
|
|
@@ -361,29 +160,30 @@ Breaking changes that arose during code generation of the library that we postpo
|
|
361
160
|
|
362
161
|
"⚠️" symbol highlights breaking changes.
|
363
162
|
|
364
|
-
|
365
|
-
|
366
|
-
|
367
|
-
|
368
|
-
|
369
|
-
|
370
|
-
|
371
|
-
|
163
|
+
### Deprecated
|
164
|
+
- The `save` method is deprecated. Prefer the static `update` method that doesn't require retrieval of the resource to update it.
|
165
|
+
``` ruby
|
166
|
+
# before
|
167
|
+
refund = Stripe::Refund.retrieve("re_123")
|
168
|
+
refund.description = "Refund description"
|
169
|
+
refund.save
|
170
|
+
|
171
|
+
# after
|
172
|
+
Stripe::Refund.update("re_123", description: "Refund description")
|
173
|
+
```
|
372
174
|
|
373
|
-
|
374
|
-
|
375
|
-
|
376
|
-
|
175
|
+
### ⚠️ Removed
|
176
|
+
- Removed deprecated `Sku` resource.
|
177
|
+
- Removed deprecated `Orders` resource.
|
178
|
+
- Removed deprecated `delete` method on `Subscription` resource. Please use `cancel` method instead.
|
179
|
+
```ruby
|
180
|
+
# before
|
181
|
+
Stripe::Subscription::delete("sub_12345")
|
377
182
|
|
378
|
-
|
379
|
-
|
380
|
-
|
381
|
-
* Add support for the beta [Gift Card API](https://stripe.com/docs/gift-cards).
|
183
|
+
# after
|
184
|
+
Stripe::Subscription::cancel("sub_12345")
|
185
|
+
```
|
382
186
|
|
383
|
-
## 7.2.0-beta.1 - 2022-08-23
|
384
|
-
* [#1122](https://github.com/stripe/stripe-ruby/pull/1122) API Updates for beta branch
|
385
|
-
- Updated stable APIs to the latest version
|
386
|
-
- `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)
|
387
187
|
|
388
188
|
## 7.1.0 - 2022-08-19
|
389
189
|
* [#1116](https://github.com/stripe/stripe-ruby/pull/1116) API Updates
|
@@ -392,16 +192,6 @@ Breaking changes that arose during code generation of the library that we postpo
|
|
392
192
|
* [#1117](https://github.com/stripe/stripe-ruby/pull/1117) Refresh rubocop config.
|
393
193
|
* [#1115](https://github.com/stripe/stripe-ruby/pull/1115) Add a support section to the readme
|
394
194
|
|
395
|
-
## 7.1.0-beta.2 - 2022-08-11
|
396
|
-
* [#1113](https://github.com/stripe/stripe-ruby/pull/1113) API Updates for beta branch
|
397
|
-
- Updated stable APIs to the latest version
|
398
|
-
- Add `refund_payment` method to Terminal resource
|
399
|
-
|
400
|
-
## 7.1.0-beta.1 - 2022-08-03
|
401
|
-
* [#1107](https://github.com/stripe/stripe-ruby/pull/1107) API Updates for beta branch
|
402
|
-
- Updated stable APIs to the latest version
|
403
|
-
- Added the `Order` resource support
|
404
|
-
|
405
195
|
## 7.0.0 - 2022-08-02
|
406
196
|
|
407
197
|
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.
|
@@ -413,19 +203,21 @@ Breaking changes that arose during code generation of the library that we postpo
|
|
413
203
|
* [#1090](https://github.com/stripe/stripe-ruby/pull/1090) Use auto-generation for `Invoice` methods
|
414
204
|
* [#1103](https://github.com/stripe/stripe-ruby/pull/1103) Next major release changes
|
415
205
|
|
416
|
-
|
417
|
-
*
|
418
|
-
|
419
|
-
|
420
|
-
|
421
|
-
|
422
|
-
|
423
|
-
|
424
|
-
|
425
|
-
|
426
|
-
*
|
427
|
-
|
428
|
-
*
|
206
|
+
### ⚠️ Changed
|
207
|
+
* `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.
|
208
|
+
* Update default bundle of CA certificates to April 26, 2022.
|
209
|
+
|
210
|
+
### Deprecated
|
211
|
+
* Deprecate `delete` method on `Subscription` resource. Please use `cancel` method instead.
|
212
|
+
|
213
|
+
### ⚠️ Removed
|
214
|
+
* Remove `details` method from `Issuing.Card` resource. The method was not supported.
|
215
|
+
* Remove `Issuing.CardDetails` resource. Read more at https://stripe.com/docs/issuing/cards/virtual.
|
216
|
+
* Remove `create` method from `ReportType` resource. The method was not supported.
|
217
|
+
* Remove `usage_record_summaries` method from `SubscriptionItem` resource. Please use `list_usage_record_summaries` method instead.
|
218
|
+
* Remove `AlipayAccount`, `BitcoinReceiver`, `BitcoinTransaction`, `Issuing::CardDetails`, `Recipient`, ` RecipientTransfer`, and `ThreeDSecure` resources. The resources were deprecated or no longer in use.
|
219
|
+
* Remove ability to list `Card` resource for a `Recipient`.
|
220
|
+
* Remove `cancel` method from `Transfer` resource. The method was deprecated.
|
429
221
|
|
430
222
|
## 6.5.0 - 2022-06-29
|
431
223
|
* [#1084](https://github.com/stripe/stripe-ruby/pull/1084) API Updates
|
@@ -455,6 +247,8 @@ Breaking changes that arose during code generation of the library that we postpo
|
|
455
247
|
* 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`
|
456
248
|
* Add support for `retrieve_payment_method` method on resource `Customer`
|
457
249
|
* Add support for `list_owners` and `list` methods on resource `FinancialConnections.Account`
|
250
|
+
|
251
|
+
|
458
252
|
|
459
253
|
## 6.0.0 - 2022-05-09
|
460
254
|
* [#1056](https://github.com/stripe/stripe-ruby/pull/1056) API Updates
|
@@ -470,6 +264,7 @@ Breaking changes that arose during code generation of the library that we postpo
|
|
470
264
|
## 5.55.0 - 2022-05-05
|
471
265
|
* [#1055](https://github.com/stripe/stripe-ruby/pull/1055) API Updates
|
472
266
|
* Add support for new resources `FinancialConnections.AccountOwner`, `FinancialConnections.AccountOwnership`, `FinancialConnections.Account`, and `FinancialConnections.Session`
|
267
|
+
|
473
268
|
|
474
269
|
## 5.54.0 - 2022-05-03
|
475
270
|
* [#1053](https://github.com/stripe/stripe-ruby/pull/1053) API Updates
|
@@ -1500,4 +1295,3 @@ Identical to 1.56.0 above. I incorrectly cut a patch-level release.
|
|
1500
1295
|
<!--
|
1501
1296
|
# vim: set tw=0:
|
1502
1297
|
-->
|
1503
|
-
|
data/OPENAPI_VERSION
CHANGED
@@ -1 +1 @@
|
|
1
|
-
|
1
|
+
v742
|
data/README.md
CHANGED
@@ -324,17 +324,6 @@ If your beta feature requires a `Stripe-Version` header to be sent, use the `Str
|
|
324
324
|
Stripe.api_version += "; feature_beta=v3"
|
325
325
|
```
|
326
326
|
|
327
|
-
### Custom requests
|
328
|
-
|
329
|
-
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`.
|
330
|
-
|
331
|
-
```ruby
|
332
|
-
resp = Stripe.raw_request(:post, "/v1/beta_endpoint", {param: 123}, {stripe_version: "2022-11-15; feature_beta=v3"})
|
333
|
-
|
334
|
-
# (Optional) resp is a StripeResponse. You can use `Stripe.deserialize` to get a StripeObject.
|
335
|
-
deserialized_resp = Stripe.deserialize(resp.http_body)
|
336
|
-
```
|
337
|
-
|
338
327
|
## Support
|
339
328
|
|
340
329
|
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.5.0
|
1
|
+
10.5.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
|
|
data/lib/stripe/api_version.rb
CHANGED
data/lib/stripe/object_types.rb
CHANGED
@@ -14,7 +14,6 @@ module Stripe
|
|
14
14
|
# business objects
|
15
15
|
Account::OBJECT_NAME => Account,
|
16
16
|
AccountLink::OBJECT_NAME => AccountLink,
|
17
|
-
AccountNotice::OBJECT_NAME => AccountNotice,
|
18
17
|
AccountSession::OBJECT_NAME => AccountSession,
|
19
18
|
ApplePayDomain::OBJECT_NAME => ApplePayDomain,
|
20
19
|
ApplicationFee::OBJECT_NAME => ApplicationFee,
|
@@ -26,9 +25,6 @@ module Stripe
|
|
26
25
|
BillingPortal::Configuration::OBJECT_NAME => BillingPortal::Configuration,
|
27
26
|
BillingPortal::Session::OBJECT_NAME => BillingPortal::Session,
|
28
27
|
Capability::OBJECT_NAME => Capability,
|
29
|
-
Capital::FinancingOffer::OBJECT_NAME => Capital::FinancingOffer,
|
30
|
-
Capital::FinancingSummary::OBJECT_NAME => Capital::FinancingSummary,
|
31
|
-
Capital::FinancingTransaction::OBJECT_NAME => Capital::FinancingTransaction,
|
32
28
|
Card::OBJECT_NAME => Card,
|
33
29
|
CashBalance::OBJECT_NAME => CashBalance,
|
34
30
|
Charge::OBJECT_NAME => Charge,
|
@@ -36,7 +32,6 @@ module Stripe
|
|
36
32
|
Climate::Order::OBJECT_NAME => Climate::Order,
|
37
33
|
Climate::Product::OBJECT_NAME => Climate::Product,
|
38
34
|
Climate::Supplier::OBJECT_NAME => Climate::Supplier,
|
39
|
-
ConfirmationToken::OBJECT_NAME => ConfirmationToken,
|
40
35
|
CountrySpec::OBJECT_NAME => CountrySpec,
|
41
36
|
Coupon::OBJECT_NAME => Coupon,
|
42
37
|
CreditNote::OBJECT_NAME => CreditNote,
|
@@ -44,7 +39,6 @@ module Stripe
|
|
44
39
|
Customer::OBJECT_NAME => Customer,
|
45
40
|
CustomerBalanceTransaction::OBJECT_NAME => CustomerBalanceTransaction,
|
46
41
|
CustomerCashBalanceTransaction::OBJECT_NAME => CustomerCashBalanceTransaction,
|
47
|
-
CustomerSession::OBJECT_NAME => CustomerSession,
|
48
42
|
Discount::OBJECT_NAME => Discount,
|
49
43
|
Dispute::OBJECT_NAME => Dispute,
|
50
44
|
EphemeralKey::OBJECT_NAME => EphemeralKey,
|
@@ -54,36 +48,26 @@ module Stripe
|
|
54
48
|
File::OBJECT_NAME_ALT => File,
|
55
49
|
FileLink::OBJECT_NAME => FileLink,
|
56
50
|
FinancialConnections::Account::OBJECT_NAME => FinancialConnections::Account,
|
57
|
-
FinancialConnections::AccountInferredBalance::OBJECT_NAME =>
|
58
|
-
FinancialConnections::AccountInferredBalance,
|
59
51
|
FinancialConnections::AccountOwner::OBJECT_NAME => FinancialConnections::AccountOwner,
|
60
52
|
FinancialConnections::AccountOwnership::OBJECT_NAME =>
|
61
53
|
FinancialConnections::AccountOwnership,
|
62
54
|
FinancialConnections::Session::OBJECT_NAME => FinancialConnections::Session,
|
63
55
|
FinancialConnections::Transaction::OBJECT_NAME => FinancialConnections::Transaction,
|
64
56
|
FundingInstructions::OBJECT_NAME => FundingInstructions,
|
65
|
-
GiftCards::Card::OBJECT_NAME => GiftCards::Card,
|
66
|
-
GiftCards::Transaction::OBJECT_NAME => GiftCards::Transaction,
|
67
57
|
Identity::VerificationReport::OBJECT_NAME => Identity::VerificationReport,
|
68
58
|
Identity::VerificationSession::OBJECT_NAME => Identity::VerificationSession,
|
69
59
|
Invoice::OBJECT_NAME => Invoice,
|
70
60
|
InvoiceItem::OBJECT_NAME => InvoiceItem,
|
71
61
|
InvoiceLineItem::OBJECT_NAME => InvoiceLineItem,
|
72
|
-
InvoicePayment::OBJECT_NAME => InvoicePayment,
|
73
62
|
Issuing::Authorization::OBJECT_NAME => Issuing::Authorization,
|
74
63
|
Issuing::Card::OBJECT_NAME => Issuing::Card,
|
75
64
|
Issuing::Cardholder::OBJECT_NAME => Issuing::Cardholder,
|
76
|
-
Issuing::CreditUnderwritingRecord::OBJECT_NAME => Issuing::CreditUnderwritingRecord,
|
77
65
|
Issuing::Dispute::OBJECT_NAME => Issuing::Dispute,
|
78
|
-
Issuing::PersonalizationDesign::OBJECT_NAME => Issuing::PersonalizationDesign,
|
79
|
-
Issuing::PhysicalBundle::OBJECT_NAME => Issuing::PhysicalBundle,
|
80
66
|
Issuing::Token::OBJECT_NAME => Issuing::Token,
|
81
67
|
Issuing::Transaction::OBJECT_NAME => Issuing::Transaction,
|
82
68
|
LineItem::OBJECT_NAME => LineItem,
|
83
69
|
LoginLink::OBJECT_NAME => LoginLink,
|
84
70
|
Mandate::OBJECT_NAME => Mandate,
|
85
|
-
Margin::OBJECT_NAME => Margin,
|
86
|
-
Order::OBJECT_NAME => Order,
|
87
71
|
PaymentIntent::OBJECT_NAME => PaymentIntent,
|
88
72
|
PaymentLink::OBJECT_NAME => PaymentLink,
|
89
73
|
PaymentMethod::OBJECT_NAME => PaymentMethod,
|
@@ -96,9 +80,6 @@ module Stripe
|
|
96
80
|
Product::OBJECT_NAME => Product,
|
97
81
|
PromotionCode::OBJECT_NAME => PromotionCode,
|
98
82
|
Quote::OBJECT_NAME => Quote,
|
99
|
-
QuotePhase::OBJECT_NAME => QuotePhase,
|
100
|
-
QuotePreviewInvoice::OBJECT_NAME => QuotePreviewInvoice,
|
101
|
-
QuotePreviewSubscriptionSchedule::OBJECT_NAME => QuotePreviewSubscriptionSchedule,
|
102
83
|
Radar::EarlyFraudWarning::OBJECT_NAME => Radar::EarlyFraudWarning,
|
103
84
|
Radar::ValueList::OBJECT_NAME => Radar::ValueList,
|
104
85
|
Radar::ValueListItem::OBJECT_NAME => Radar::ValueListItem,
|
@@ -118,7 +99,6 @@ module Stripe
|
|
118
99
|
SubscriptionSchedule::OBJECT_NAME => SubscriptionSchedule,
|
119
100
|
Tax::Calculation::OBJECT_NAME => Tax::Calculation,
|
120
101
|
Tax::CalculationLineItem::OBJECT_NAME => Tax::CalculationLineItem,
|
121
|
-
Tax::Form::OBJECT_NAME => Tax::Form,
|
122
102
|
Tax::Registration::OBJECT_NAME => Tax::Registration,
|
123
103
|
Tax::Settings::OBJECT_NAME => Tax::Settings,
|
124
104
|
Tax::Transaction::OBJECT_NAME => Tax::Transaction,
|
@@ -25,6 +25,7 @@ module Stripe
|
|
25
25
|
resource_plural: "capabilities"
|
26
26
|
nested_resource_class_methods :person, operations: %i[create retrieve update delete list]
|
27
27
|
|
28
|
+
# Returns a list of people associated with the account's legal entity. The people are returned sorted by creation date, with the most recent people appearing first.
|
28
29
|
def persons(params = {}, opts = {})
|
29
30
|
request_stripe_object(
|
30
31
|
method: :get,
|
@@ -34,6 +35,9 @@ module Stripe
|
|
34
35
|
)
|
35
36
|
end
|
36
37
|
|
38
|
+
# With [Connect](https://stripe.com/docs/connect), you may flag accounts as suspicious.
|
39
|
+
#
|
40
|
+
# Test-mode Custom and Express accounts can be rejected at any time. Accounts created using live-mode keys may only be rejected once all balances are zero.
|
37
41
|
def reject(params = {}, opts = {})
|
38
42
|
request_stripe_object(
|
39
43
|
method: :post,
|
@@ -43,6 +47,7 @@ module Stripe
|
|
43
47
|
)
|
44
48
|
end
|
45
49
|
|
50
|
+
# Returns a list of people associated with the account's legal entity. The people are returned sorted by creation date, with the most recent people appearing first.
|
46
51
|
def self.persons(account, params = {}, opts = {})
|
47
52
|
request_stripe_object(
|
48
53
|
method: :get,
|
@@ -52,6 +57,9 @@ module Stripe
|
|
52
57
|
)
|
53
58
|
end
|
54
59
|
|
60
|
+
# With [Connect](https://stripe.com/docs/connect), you may flag accounts as suspicious.
|
61
|
+
#
|
62
|
+
# Test-mode Custom and Express accounts can be rejected at any time. Accounts created using live-mode keys may only be rejected once all balances are zero.
|
55
63
|
def self.reject(account, params = {}, opts = {})
|
56
64
|
request_stripe_object(
|
57
65
|
method: :post,
|
@@ -18,6 +18,7 @@ module Stripe
|
|
18
18
|
|
19
19
|
OBJECT_NAME = "apps.secret"
|
20
20
|
|
21
|
+
# Deletes a secret from the secret store by name and scope.
|
21
22
|
def self.delete_where(params = {}, opts = {})
|
22
23
|
request_stripe_object(
|
23
24
|
method: :post,
|
@@ -27,6 +28,7 @@ module Stripe
|
|
27
28
|
)
|
28
29
|
end
|
29
30
|
|
31
|
+
# Finds a secret in the secret store by name and scope.
|
30
32
|
def self.find(params = {}, opts = {})
|
31
33
|
request_stripe_object(
|
32
34
|
method: :get,
|