stripe 13.4.0 → 13.4.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 +4 -2
- data/OPENAPI_VERSION +1 -1
- data/VERSION +1 -1
- data/lib/stripe/resources/account.rb +4 -4
- data/lib/stripe/resources/apple_pay_domain.rb +2 -2
- data/lib/stripe/resources/billing_portal/configuration.rb +2 -2
- data/lib/stripe/resources/charge.rb +2 -2
- data/lib/stripe/resources/checkout/session.rb +2 -2
- data/lib/stripe/resources/climate/order.rb +2 -2
- data/lib/stripe/resources/coupon.rb +4 -4
- data/lib/stripe/resources/customer.rb +4 -4
- data/lib/stripe/resources/dispute.rb +2 -2
- data/lib/stripe/resources/ephemeral_key.rb +2 -2
- data/lib/stripe/resources/file_link.rb +2 -2
- data/lib/stripe/resources/identity/verification_session.rb +2 -2
- data/lib/stripe/resources/invoice.rb +4 -4
- data/lib/stripe/resources/invoice_item.rb +4 -4
- data/lib/stripe/resources/invoice_line_item.rb +2 -2
- data/lib/stripe/resources/issuing/authorization.rb +2 -2
- data/lib/stripe/resources/issuing/card.rb +2 -2
- data/lib/stripe/resources/issuing/cardholder.rb +2 -2
- data/lib/stripe/resources/issuing/dispute.rb +2 -2
- data/lib/stripe/resources/issuing/personalization_design.rb +2 -2
- data/lib/stripe/resources/issuing/token.rb +2 -2
- data/lib/stripe/resources/issuing/transaction.rb +2 -2
- data/lib/stripe/resources/payment_intent.rb +2 -2
- data/lib/stripe/resources/payment_link.rb +2 -2
- data/lib/stripe/resources/payment_method.rb +2 -2
- data/lib/stripe/resources/payment_method_configuration.rb +2 -2
- data/lib/stripe/resources/payment_method_domain.rb +2 -2
- data/lib/stripe/resources/payout.rb +2 -2
- data/lib/stripe/resources/plan.rb +4 -4
- data/lib/stripe/resources/price.rb +2 -2
- data/lib/stripe/resources/promotion_code.rb +2 -2
- data/lib/stripe/resources/quote.rb +2 -2
- data/lib/stripe/resources/radar/value_list.rb +4 -4
- data/lib/stripe/resources/radar/value_list_item.rb +2 -2
- data/lib/stripe/resources/refund.rb +2 -2
- data/lib/stripe/resources/setup_intent.rb +2 -2
- data/lib/stripe/resources/shipping_rate.rb +2 -2
- data/lib/stripe/resources/source.rb +2 -2
- data/lib/stripe/resources/subscription.rb +2 -2
- data/lib/stripe/resources/subscription_item.rb +4 -4
- data/lib/stripe/resources/subscription_schedule.rb +2 -2
- data/lib/stripe/resources/tax_rate.rb +2 -2
- data/lib/stripe/resources/terminal/configuration.rb +4 -4
- data/lib/stripe/resources/terminal/location.rb +4 -4
- data/lib/stripe/resources/terminal/reader.rb +4 -4
- data/lib/stripe/resources/test_helpers/test_clock.rb +2 -2
- data/lib/stripe/resources/topup.rb +2 -2
- data/lib/stripe/resources/transfer.rb +2 -2
- data/lib/stripe/resources/treasury/financial_account.rb +2 -2
- data/lib/stripe/resources/webhook_endpoint.rb +4 -4
- data/lib/stripe/version.rb +1 -1
- metadata +2 -3
- data/CONTRIBUTING.md +0 -25
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 2638ea0597055a2869c08a1c8ee7048e4cdabf5e5cb38c9f7890d2c9973d75c7
|
4
|
+
data.tar.gz: d8db160ddd21528d73155b979da9435d176fb51d42cbf388d108c67e50228016
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 4dd0a07340287d574b50102282eeef702dbc20a9a60c3636bc895629d844db1ade530006b66230c2bedfe29582b2e62614d09888273793a8e554106a387ebfef
|
7
|
+
data.tar.gz: f9784d26d9ac9b37141ce5b5d22951d1cd1b61286622da678b3fd3d8511b8f84795ebe85db58f2dcf785995b547073d7ad262e07c8be06b502d1370dcf470878
|
data/CHANGELOG.md
CHANGED
@@ -1,4 +1,8 @@
|
|
1
1
|
# Changelog
|
2
|
+
## 13.4.1 - 2025-01-28
|
3
|
+
* [#1528](https://github.com/stripe/stripe-ruby/pull/1528) Update generated code
|
4
|
+
* ⚠️ Bugfix: `invoice` and `line_item_id` can be passed to `update` method in `InvoiceLineItem`.
|
5
|
+
|
2
6
|
## 13.4.0 - 2025-01-27
|
3
7
|
* [#1510](https://github.com/stripe/stripe-ruby/pull/1510) Update generated code
|
4
8
|
* Add support for `close` method on resource `Treasury.FinancialAccount`
|
@@ -6,8 +10,6 @@
|
|
6
10
|
* [#1519](https://github.com/stripe/stripe-ruby/pull/1519) Fixed typos in CONTRIBUTING.MD
|
7
11
|
* [#1513](https://github.com/stripe/stripe-ruby/pull/1513) add justfile
|
8
12
|
* [#1515](https://github.com/stripe/stripe-ruby/pull/1515) Added CONTRIBUTING.md file
|
9
|
-
* Other:
|
10
|
-
* ⚠️ Bugfix: `invoice` and `line_item_id` can be passed to `update` method in `InvoiceLineItem`.
|
11
13
|
|
12
14
|
## 13.3.1 - 2025-01-13
|
13
15
|
* [#1512](https://github.com/stripe/stripe-ruby/pull/1512) Import global configuration for options not available on StripeClient options
|
data/OPENAPI_VERSION
CHANGED
@@ -1 +1 @@
|
|
1
|
-
|
1
|
+
v1463
|
data/VERSION
CHANGED
@@ -1 +1 @@
|
|
1
|
-
13.4.
|
1
|
+
13.4.1
|
@@ -51,10 +51,10 @@ module Stripe
|
|
51
51
|
# Live-mode accounts where Stripe is responsible for negative account balances cannot be deleted, which includes Standard accounts. Live-mode accounts where your platform is liable for negative account balances, which includes Custom and Express accounts, can be deleted when all [balances](https://stripe.com/api/balance/balance_object) are zero.
|
52
52
|
#
|
53
53
|
# If you want to delete your own account, use the [account information tab in your account settings](https://dashboard.stripe.com/settings/account) instead.
|
54
|
-
def self.delete(
|
54
|
+
def self.delete(account, params = {}, opts = {})
|
55
55
|
request_stripe_object(
|
56
56
|
method: :delete,
|
57
|
-
path: format("/v1/accounts/%<
|
57
|
+
path: format("/v1/accounts/%<account>s", { account: CGI.escape(account) }),
|
58
58
|
params: params,
|
59
59
|
opts: opts
|
60
60
|
)
|
@@ -138,10 +138,10 @@ module Stripe
|
|
138
138
|
#
|
139
139
|
# To update your own account, use the [Dashboard](https://dashboard.stripe.com/settings/account). Refer to our
|
140
140
|
# [Connect](https://stripe.com/docs/connect/updating-accounts) documentation to learn more about updating accounts.
|
141
|
-
def self.update(
|
141
|
+
def self.update(account, params = {}, opts = {})
|
142
142
|
request_stripe_object(
|
143
143
|
method: :post,
|
144
|
-
path: format("/v1/accounts/%<
|
144
|
+
path: format("/v1/accounts/%<account>s", { account: CGI.escape(account) }),
|
145
145
|
params: params,
|
146
146
|
opts: opts
|
147
147
|
)
|
@@ -24,10 +24,10 @@ module Stripe
|
|
24
24
|
end
|
25
25
|
|
26
26
|
# Delete an apple pay domain.
|
27
|
-
def self.delete(
|
27
|
+
def self.delete(domain, params = {}, opts = {})
|
28
28
|
request_stripe_object(
|
29
29
|
method: :delete,
|
30
|
-
path: format("/v1/apple_pay/domains/%<
|
30
|
+
path: format("/v1/apple_pay/domains/%<domain>s", { domain: CGI.escape(domain) }),
|
31
31
|
params: params,
|
32
32
|
opts: opts
|
33
33
|
)
|
@@ -35,10 +35,10 @@ module Stripe
|
|
35
35
|
end
|
36
36
|
|
37
37
|
# Updates a configuration that describes the functionality of the customer portal.
|
38
|
-
def self.update(
|
38
|
+
def self.update(configuration, params = {}, opts = {})
|
39
39
|
request_stripe_object(
|
40
40
|
method: :post,
|
41
|
-
path: format("/v1/billing_portal/configurations/%<
|
41
|
+
path: format("/v1/billing_portal/configurations/%<configuration>s", { configuration: CGI.escape(configuration) }),
|
42
42
|
params: params,
|
43
43
|
opts: opts
|
44
44
|
)
|
@@ -69,10 +69,10 @@ module Stripe
|
|
69
69
|
end
|
70
70
|
|
71
71
|
# Updates the specified charge by setting the values of the parameters passed. Any parameters not provided will be left unchanged.
|
72
|
-
def self.update(
|
72
|
+
def self.update(charge, params = {}, opts = {})
|
73
73
|
request_stripe_object(
|
74
74
|
method: :post,
|
75
|
-
path: format("/v1/charges/%<
|
75
|
+
path: format("/v1/charges/%<charge>s", { charge: CGI.escape(charge) }),
|
76
76
|
params: params,
|
77
77
|
opts: opts
|
78
78
|
)
|
@@ -92,10 +92,10 @@ module Stripe
|
|
92
92
|
end
|
93
93
|
|
94
94
|
# Updates a Session object.
|
95
|
-
def self.update(
|
95
|
+
def self.update(session, params = {}, opts = {})
|
96
96
|
request_stripe_object(
|
97
97
|
method: :post,
|
98
|
-
path: format("/v1/checkout/sessions/%<
|
98
|
+
path: format("/v1/checkout/sessions/%<session>s", { session: CGI.escape(session) }),
|
99
99
|
params: params,
|
100
100
|
opts: opts
|
101
101
|
)
|
@@ -54,10 +54,10 @@ module Stripe
|
|
54
54
|
end
|
55
55
|
|
56
56
|
# Updates the specified order by setting the values of the parameters passed.
|
57
|
-
def self.update(
|
57
|
+
def self.update(order, params = {}, opts = {})
|
58
58
|
request_stripe_object(
|
59
59
|
method: :post,
|
60
|
-
path: format("/v1/climate/orders/%<
|
60
|
+
path: format("/v1/climate/orders/%<order>s", { order: CGI.escape(order) }),
|
61
61
|
params: params,
|
62
62
|
opts: opts
|
63
63
|
)
|
@@ -24,10 +24,10 @@ module Stripe
|
|
24
24
|
end
|
25
25
|
|
26
26
|
# You can delete coupons via the [coupon management](https://dashboard.stripe.com/coupons) page of the Stripe dashboard. However, deleting a coupon does not affect any customers who have already applied the coupon; it means that new customers can't redeem the coupon. You can also delete coupons via the API.
|
27
|
-
def self.delete(
|
27
|
+
def self.delete(coupon, params = {}, opts = {})
|
28
28
|
request_stripe_object(
|
29
29
|
method: :delete,
|
30
|
-
path: format("/v1/coupons/%<
|
30
|
+
path: format("/v1/coupons/%<coupon>s", { coupon: CGI.escape(coupon) }),
|
31
31
|
params: params,
|
32
32
|
opts: opts
|
33
33
|
)
|
@@ -49,10 +49,10 @@ module Stripe
|
|
49
49
|
end
|
50
50
|
|
51
51
|
# Updates the metadata of a coupon. Other coupon details (currency, duration, amount_off) are, by design, not editable.
|
52
|
-
def self.update(
|
52
|
+
def self.update(coupon, params = {}, opts = {})
|
53
53
|
request_stripe_object(
|
54
54
|
method: :post,
|
55
|
-
path: format("/v1/coupons/%<
|
55
|
+
path: format("/v1/coupons/%<coupon>s", { coupon: CGI.escape(coupon) }),
|
56
56
|
params: params,
|
57
57
|
opts: opts
|
58
58
|
)
|
@@ -52,10 +52,10 @@ module Stripe
|
|
52
52
|
end
|
53
53
|
|
54
54
|
# Permanently deletes a customer. It cannot be undone. Also immediately cancels any active subscriptions on the customer.
|
55
|
-
def self.delete(
|
55
|
+
def self.delete(customer, params = {}, opts = {})
|
56
56
|
request_stripe_object(
|
57
57
|
method: :delete,
|
58
|
-
path: format("/v1/customers/%<
|
58
|
+
path: format("/v1/customers/%<customer>s", { customer: CGI.escape(customer) }),
|
59
59
|
params: params,
|
60
60
|
opts: opts
|
61
61
|
)
|
@@ -157,10 +157,10 @@ module Stripe
|
|
157
157
|
# Updates the specified customer by setting the values of the parameters passed. Any parameters not provided will be left unchanged. For example, if you pass the source parameter, that becomes the customer's active source (e.g., a card) to be used for all charges in the future. When you update a customer to a new valid card source by passing the source parameter: for each of the customer's current subscriptions, if the subscription bills automatically and is in the past_due state, then the latest open invoice for the subscription with automatic collection enabled will be retried. This retry will not count as an automatic retry, and will not affect the next regularly scheduled payment for the invoice. Changing the default_source for a customer will not trigger this behavior.
|
158
158
|
#
|
159
159
|
# This request accepts mostly the same arguments as the customer creation call.
|
160
|
-
def self.update(
|
160
|
+
def self.update(customer, params = {}, opts = {})
|
161
161
|
request_stripe_object(
|
162
162
|
method: :post,
|
163
|
-
path: format("/v1/customers/%<
|
163
|
+
path: format("/v1/customers/%<customer>s", { customer: CGI.escape(customer) }),
|
164
164
|
params: params,
|
165
165
|
opts: opts
|
166
166
|
)
|
@@ -48,10 +48,10 @@ module Stripe
|
|
48
48
|
# When you get a dispute, contacting your customer is always the best first step. If that doesn't work, you can submit evidence to help us resolve the dispute in your favor. You can do this in your [dashboard](https://dashboard.stripe.com/disputes), but if you prefer, you can use the API to submit evidence programmatically.
|
49
49
|
#
|
50
50
|
# Depending on your dispute type, different evidence fields will give you a better chance of winning your dispute. To figure out which evidence fields to provide, see our [guide to dispute types](https://stripe.com/docs/disputes/categories).
|
51
|
-
def self.update(
|
51
|
+
def self.update(dispute, params = {}, opts = {})
|
52
52
|
request_stripe_object(
|
53
53
|
method: :post,
|
54
|
-
path: format("/v1/disputes/%<
|
54
|
+
path: format("/v1/disputes/%<dispute>s", { dispute: CGI.escape(dispute) }),
|
55
55
|
params: params,
|
56
56
|
opts: opts
|
57
57
|
)
|
@@ -12,10 +12,10 @@ module Stripe
|
|
12
12
|
end
|
13
13
|
|
14
14
|
# Invalidates a short-lived API key for a given resource.
|
15
|
-
def self.delete(
|
15
|
+
def self.delete(key, params = {}, opts = {})
|
16
16
|
request_stripe_object(
|
17
17
|
method: :delete,
|
18
|
-
path: format("/v1/ephemeral_keys/%<
|
18
|
+
path: format("/v1/ephemeral_keys/%<key>s", { key: CGI.escape(key) }),
|
19
19
|
params: params,
|
20
20
|
opts: opts
|
21
21
|
)
|
@@ -26,10 +26,10 @@ module Stripe
|
|
26
26
|
end
|
27
27
|
|
28
28
|
# Updates an existing file link object. Expired links can no longer be updated.
|
29
|
-
def self.update(
|
29
|
+
def self.update(link, params = {}, opts = {})
|
30
30
|
request_stripe_object(
|
31
31
|
method: :post,
|
32
|
-
path: format("/v1/file_links/%<
|
32
|
+
path: format("/v1/file_links/%<link>s", { link: CGI.escape(link) }),
|
33
33
|
params: params,
|
34
34
|
opts: opts
|
35
35
|
)
|
@@ -134,10 +134,10 @@ module Stripe
|
|
134
134
|
#
|
135
135
|
# When the session status is requires_input, you can use this method to update the
|
136
136
|
# verification check and options.
|
137
|
-
def self.update(
|
137
|
+
def self.update(session, params = {}, opts = {})
|
138
138
|
request_stripe_object(
|
139
139
|
method: :post,
|
140
|
-
path: format("/v1/identity/verification_sessions/%<
|
140
|
+
path: format("/v1/identity/verification_sessions/%<session>s", { session: CGI.escape(session) }),
|
141
141
|
params: params,
|
142
142
|
opts: opts
|
143
143
|
)
|
@@ -91,10 +91,10 @@ module Stripe
|
|
91
91
|
end
|
92
92
|
|
93
93
|
# Permanently deletes a one-off invoice draft. This cannot be undone. Attempts to delete invoices that are no longer in a draft state will fail; once an invoice has been finalized or if an invoice is for a subscription, it must be [voided](https://stripe.com/docs/api#void_invoice).
|
94
|
-
def self.delete(
|
94
|
+
def self.delete(invoice, params = {}, opts = {})
|
95
95
|
request_stripe_object(
|
96
96
|
method: :delete,
|
97
|
-
path: format("/v1/invoices/%<
|
97
|
+
path: format("/v1/invoices/%<invoice>s", { invoice: CGI.escape(invoice) }),
|
98
98
|
params: params,
|
99
99
|
opts: opts
|
100
100
|
)
|
@@ -254,10 +254,10 @@ module Stripe
|
|
254
254
|
# If you would like to stop the Stripe Billing engine from automatically finalizing, reattempting payments on,
|
255
255
|
# sending reminders for, or [automatically reconciling](https://stripe.com/docs/billing/invoices/reconciliation) invoices, pass
|
256
256
|
# auto_advance=false.
|
257
|
-
def self.update(
|
257
|
+
def self.update(invoice, params = {}, opts = {})
|
258
258
|
request_stripe_object(
|
259
259
|
method: :post,
|
260
|
-
path: format("/v1/invoices/%<
|
260
|
+
path: format("/v1/invoices/%<invoice>s", { invoice: CGI.escape(invoice) }),
|
261
261
|
params: params,
|
262
262
|
opts: opts
|
263
263
|
)
|
@@ -30,10 +30,10 @@ module Stripe
|
|
30
30
|
end
|
31
31
|
|
32
32
|
# Deletes an invoice item, removing it from an invoice. Deleting invoice items is only possible when they're not attached to invoices, or if it's attached to a draft invoice.
|
33
|
-
def self.delete(
|
33
|
+
def self.delete(invoiceitem, params = {}, opts = {})
|
34
34
|
request_stripe_object(
|
35
35
|
method: :delete,
|
36
|
-
path: format("/v1/invoiceitems/%<
|
36
|
+
path: format("/v1/invoiceitems/%<invoiceitem>s", { invoiceitem: CGI.escape(invoiceitem) }),
|
37
37
|
params: params,
|
38
38
|
opts: opts
|
39
39
|
)
|
@@ -55,10 +55,10 @@ module Stripe
|
|
55
55
|
end
|
56
56
|
|
57
57
|
# Updates the amount or description of an invoice item on an upcoming invoice. Updating an invoice item is only possible before the invoice it's attached to is closed.
|
58
|
-
def self.update(
|
58
|
+
def self.update(invoiceitem, params = {}, opts = {})
|
59
59
|
request_stripe_object(
|
60
60
|
method: :post,
|
61
|
-
path: format("/v1/invoiceitems/%<
|
61
|
+
path: format("/v1/invoiceitems/%<invoiceitem>s", { invoiceitem: CGI.escape(invoiceitem) }),
|
62
62
|
params: params,
|
63
63
|
opts: opts
|
64
64
|
)
|
@@ -17,10 +17,10 @@ module Stripe
|
|
17
17
|
# so they can only be updated through this endpoint. Other fields, such as amount, live on both the invoice
|
18
18
|
# item and the invoice line item, so updates on this endpoint will propagate to the invoice item as well.
|
19
19
|
# Updating an invoice's line item is only possible before the invoice is finalized.
|
20
|
-
def self.update(
|
20
|
+
def self.update(invoice, line_item_id, params = {}, opts = {})
|
21
21
|
request_stripe_object(
|
22
22
|
method: :post,
|
23
|
-
path: format("/v1/invoices/%<invoice>s/lines/%<
|
23
|
+
path: format("/v1/invoices/%<invoice>s/lines/%<line_item_id>s", { invoice: CGI.escape(invoice), line_item_id: CGI.escape(line_item_id) }),
|
24
24
|
params: params,
|
25
25
|
opts: opts
|
26
26
|
)
|
@@ -85,10 +85,10 @@ module Stripe
|
|
85
85
|
end
|
86
86
|
|
87
87
|
# Updates the specified Issuing Authorization object by setting the values of the parameters passed. Any parameters not provided will be left unchanged.
|
88
|
-
def self.update(
|
88
|
+
def self.update(authorization, params = {}, opts = {})
|
89
89
|
request_stripe_object(
|
90
90
|
method: :post,
|
91
|
-
path: format("/v1/issuing/authorizations/%<
|
91
|
+
path: format("/v1/issuing/authorizations/%<authorization>s", { authorization: CGI.escape(authorization) }),
|
92
92
|
params: params,
|
93
93
|
opts: opts
|
94
94
|
)
|
@@ -25,10 +25,10 @@ module Stripe
|
|
25
25
|
end
|
26
26
|
|
27
27
|
# Updates the specified Issuing Card object by setting the values of the parameters passed. Any parameters not provided will be left unchanged.
|
28
|
-
def self.update(
|
28
|
+
def self.update(card, params = {}, opts = {})
|
29
29
|
request_stripe_object(
|
30
30
|
method: :post,
|
31
|
-
path: format("/v1/issuing/cards/%<
|
31
|
+
path: format("/v1/issuing/cards/%<card>s", { card: CGI.escape(card) }),
|
32
32
|
params: params,
|
33
33
|
opts: opts
|
34
34
|
)
|
@@ -37,10 +37,10 @@ module Stripe
|
|
37
37
|
end
|
38
38
|
|
39
39
|
# Updates the specified Issuing Cardholder object by setting the values of the parameters passed. Any parameters not provided will be left unchanged.
|
40
|
-
def self.update(
|
40
|
+
def self.update(cardholder, params = {}, opts = {})
|
41
41
|
request_stripe_object(
|
42
42
|
method: :post,
|
43
|
-
path: format("/v1/issuing/cardholders/%<
|
43
|
+
path: format("/v1/issuing/cardholders/%<cardholder>s", { cardholder: CGI.escape(cardholder) }),
|
44
44
|
params: params,
|
45
45
|
opts: opts
|
46
46
|
)
|
@@ -57,10 +57,10 @@ module Stripe
|
|
57
57
|
end
|
58
58
|
|
59
59
|
# Updates the specified Issuing Dispute object by setting the values of the parameters passed. Any parameters not provided will be left unchanged. Properties on the evidence object can be unset by passing in an empty string.
|
60
|
-
def self.update(
|
60
|
+
def self.update(dispute, params = {}, opts = {})
|
61
61
|
request_stripe_object(
|
62
62
|
method: :post,
|
63
|
-
path: format("/v1/issuing/disputes/%<
|
63
|
+
path: format("/v1/issuing/disputes/%<dispute>s", { dispute: CGI.escape(dispute) }),
|
64
64
|
params: params,
|
65
65
|
opts: opts
|
66
66
|
)
|
@@ -35,10 +35,10 @@ module Stripe
|
|
35
35
|
end
|
36
36
|
|
37
37
|
# Updates a card personalization object.
|
38
|
-
def self.update(
|
38
|
+
def self.update(personalization_design, params = {}, opts = {})
|
39
39
|
request_stripe_object(
|
40
40
|
method: :post,
|
41
|
-
path: format("/v1/issuing/personalization_designs/%<
|
41
|
+
path: format("/v1/issuing/personalization_designs/%<personalization_design>s", { personalization_design: CGI.escape(personalization_design) }),
|
42
42
|
params: params,
|
43
43
|
opts: opts
|
44
44
|
)
|
@@ -19,10 +19,10 @@ module Stripe
|
|
19
19
|
end
|
20
20
|
|
21
21
|
# Attempts to update the specified Issuing Token object to the status specified.
|
22
|
-
def self.update(
|
22
|
+
def self.update(token, params = {}, opts = {})
|
23
23
|
request_stripe_object(
|
24
24
|
method: :post,
|
25
|
-
path: format("/v1/issuing/tokens/%<
|
25
|
+
path: format("/v1/issuing/tokens/%<token>s", { token: CGI.escape(token) }),
|
26
26
|
params: params,
|
27
27
|
opts: opts
|
28
28
|
)
|
@@ -28,10 +28,10 @@ module Stripe
|
|
28
28
|
end
|
29
29
|
|
30
30
|
# Updates the specified Issuing Transaction object by setting the values of the parameters passed. Any parameters not provided will be left unchanged.
|
31
|
-
def self.update(
|
31
|
+
def self.update(transaction, params = {}, opts = {})
|
32
32
|
request_stripe_object(
|
33
33
|
method: :post,
|
34
|
-
path: format("/v1/issuing/transactions/%<
|
34
|
+
path: format("/v1/issuing/transactions/%<transaction>s", { transaction: CGI.escape(transaction) }),
|
35
35
|
params: params,
|
36
36
|
opts: opts
|
37
37
|
)
|
@@ -273,10 +273,10 @@ module Stripe
|
|
273
273
|
# always requires you to confirm the PaymentIntent again. If you prefer to
|
274
274
|
# update and confirm at the same time, we recommend updating properties through
|
275
275
|
# the [confirm API](https://stripe.com/docs/api/payment_intents/confirm) instead.
|
276
|
-
def self.update(
|
276
|
+
def self.update(intent, params = {}, opts = {})
|
277
277
|
request_stripe_object(
|
278
278
|
method: :post,
|
279
|
-
path: format("/v1/payment_intents/%<
|
279
|
+
path: format("/v1/payment_intents/%<intent>s", { intent: CGI.escape(intent) }),
|
280
280
|
params: params,
|
281
281
|
opts: opts
|
282
282
|
)
|
@@ -48,10 +48,10 @@ module Stripe
|
|
48
48
|
end
|
49
49
|
|
50
50
|
# Updates a payment link.
|
51
|
-
def self.update(
|
51
|
+
def self.update(payment_link, params = {}, opts = {})
|
52
52
|
request_stripe_object(
|
53
53
|
method: :post,
|
54
|
-
path: format("/v1/payment_links/%<
|
54
|
+
path: format("/v1/payment_links/%<payment_link>s", { payment_link: CGI.escape(payment_link) }),
|
55
55
|
params: params,
|
56
56
|
opts: opts
|
57
57
|
)
|
@@ -94,10 +94,10 @@ module Stripe
|
|
94
94
|
end
|
95
95
|
|
96
96
|
# Updates a PaymentMethod object. A PaymentMethod must be attached a customer to be updated.
|
97
|
-
def self.update(
|
97
|
+
def self.update(payment_method, params = {}, opts = {})
|
98
98
|
request_stripe_object(
|
99
99
|
method: :post,
|
100
|
-
path: format("/v1/payment_methods/%<
|
100
|
+
path: format("/v1/payment_methods/%<payment_method>s", { payment_method: CGI.escape(payment_method) }),
|
101
101
|
params: params,
|
102
102
|
opts: opts
|
103
103
|
)
|
@@ -47,10 +47,10 @@ module Stripe
|
|
47
47
|
end
|
48
48
|
|
49
49
|
# Update payment method configuration
|
50
|
-
def self.update(
|
50
|
+
def self.update(configuration, params = {}, opts = {})
|
51
51
|
request_stripe_object(
|
52
52
|
method: :post,
|
53
|
-
path: format("/v1/payment_method_configurations/%<
|
53
|
+
path: format("/v1/payment_method_configurations/%<configuration>s", { configuration: CGI.escape(configuration) }),
|
54
54
|
params: params,
|
55
55
|
opts: opts
|
56
56
|
)
|
@@ -37,10 +37,10 @@ module Stripe
|
|
37
37
|
end
|
38
38
|
|
39
39
|
# Updates an existing payment method domain.
|
40
|
-
def self.update(
|
40
|
+
def self.update(payment_method_domain, params = {}, opts = {})
|
41
41
|
request_stripe_object(
|
42
42
|
method: :post,
|
43
|
-
path: format("/v1/payment_method_domains/%<
|
43
|
+
path: format("/v1/payment_method_domains/%<payment_method_domain>s", { payment_method_domain: CGI.escape(payment_method_domain) }),
|
44
44
|
params: params,
|
45
45
|
opts: opts
|
46
46
|
)
|
@@ -79,10 +79,10 @@ module Stripe
|
|
79
79
|
end
|
80
80
|
|
81
81
|
# Updates the specified payout by setting the values of the parameters you pass. We don't change parameters that you don't provide. This request only accepts the metadata as arguments.
|
82
|
-
def self.update(
|
82
|
+
def self.update(payout, params = {}, opts = {})
|
83
83
|
request_stripe_object(
|
84
84
|
method: :post,
|
85
|
-
path: format("/v1/payouts/%<
|
85
|
+
path: format("/v1/payouts/%<payout>s", { payout: CGI.escape(payout) }),
|
86
86
|
params: params,
|
87
87
|
opts: opts
|
88
88
|
)
|
@@ -27,10 +27,10 @@ module Stripe
|
|
27
27
|
end
|
28
28
|
|
29
29
|
# Deleting plans means new subscribers can't be added. Existing subscribers aren't affected.
|
30
|
-
def self.delete(
|
30
|
+
def self.delete(plan, params = {}, opts = {})
|
31
31
|
request_stripe_object(
|
32
32
|
method: :delete,
|
33
|
-
path: format("/v1/plans/%<
|
33
|
+
path: format("/v1/plans/%<plan>s", { plan: CGI.escape(plan) }),
|
34
34
|
params: params,
|
35
35
|
opts: opts
|
36
36
|
)
|
@@ -52,10 +52,10 @@ module Stripe
|
|
52
52
|
end
|
53
53
|
|
54
54
|
# Updates the specified plan by setting the values of the parameters passed. Any parameters not provided are left unchanged. By design, you cannot change a plan's ID, amount, currency, or billing cycle.
|
55
|
-
def self.update(
|
55
|
+
def self.update(plan, params = {}, opts = {})
|
56
56
|
request_stripe_object(
|
57
57
|
method: :post,
|
58
|
-
path: format("/v1/plans/%<
|
58
|
+
path: format("/v1/plans/%<plan>s", { plan: CGI.escape(plan) }),
|
59
59
|
params: params,
|
60
60
|
opts: opts
|
61
61
|
)
|
@@ -38,10 +38,10 @@ module Stripe
|
|
38
38
|
end
|
39
39
|
|
40
40
|
# Updates the specified price by setting the values of the parameters passed. Any parameters not provided are left unchanged.
|
41
|
-
def self.update(
|
41
|
+
def self.update(price, params = {}, opts = {})
|
42
42
|
request_stripe_object(
|
43
43
|
method: :post,
|
44
|
-
path: format("/v1/prices/%<
|
44
|
+
path: format("/v1/prices/%<price>s", { price: CGI.escape(price) }),
|
45
45
|
params: params,
|
46
46
|
opts: opts
|
47
47
|
)
|
@@ -25,10 +25,10 @@ module Stripe
|
|
25
25
|
end
|
26
26
|
|
27
27
|
# Updates the specified promotion code by setting the values of the parameters passed. Most fields are, by design, not editable.
|
28
|
-
def self.update(
|
28
|
+
def self.update(promotion_code, params = {}, opts = {})
|
29
29
|
request_stripe_object(
|
30
30
|
method: :post,
|
31
|
-
path: format("/v1/promotion_codes/%<
|
31
|
+
path: format("/v1/promotion_codes/%<promotion_code>s", { promotion_code: CGI.escape(promotion_code) }),
|
32
32
|
params: params,
|
33
33
|
opts: opts
|
34
34
|
)
|
@@ -151,10 +151,10 @@ module Stripe
|
|
151
151
|
end
|
152
152
|
|
153
153
|
# A quote models prices and services for a customer.
|
154
|
-
def self.update(
|
154
|
+
def self.update(quote, params = {}, opts = {})
|
155
155
|
request_stripe_object(
|
156
156
|
method: :post,
|
157
|
-
path: format("/v1/quotes/%<
|
157
|
+
path: format("/v1/quotes/%<quote>s", { quote: CGI.escape(quote) }),
|
158
158
|
params: params,
|
159
159
|
opts: opts
|
160
160
|
)
|
@@ -28,10 +28,10 @@ module Stripe
|
|
28
28
|
end
|
29
29
|
|
30
30
|
# Deletes a ValueList object, also deleting any items contained within the value list. To be deleted, a value list must not be referenced in any rules.
|
31
|
-
def self.delete(
|
31
|
+
def self.delete(value_list, params = {}, opts = {})
|
32
32
|
request_stripe_object(
|
33
33
|
method: :delete,
|
34
|
-
path: format("/v1/radar/value_lists/%<
|
34
|
+
path: format("/v1/radar/value_lists/%<value_list>s", { value_list: CGI.escape(value_list) }),
|
35
35
|
params: params,
|
36
36
|
opts: opts
|
37
37
|
)
|
@@ -58,10 +58,10 @@ module Stripe
|
|
58
58
|
end
|
59
59
|
|
60
60
|
# Updates a ValueList object by setting the values of the parameters passed. Any parameters not provided will be left unchanged. Note that item_type is immutable.
|
61
|
-
def self.update(
|
61
|
+
def self.update(value_list, params = {}, opts = {})
|
62
62
|
request_stripe_object(
|
63
63
|
method: :post,
|
64
|
-
path: format("/v1/radar/value_lists/%<
|
64
|
+
path: format("/v1/radar/value_lists/%<value_list>s", { value_list: CGI.escape(value_list) }),
|
65
65
|
params: params,
|
66
66
|
opts: opts
|
67
67
|
)
|
@@ -27,10 +27,10 @@ module Stripe
|
|
27
27
|
end
|
28
28
|
|
29
29
|
# Deletes a ValueListItem object, removing it from its parent value list.
|
30
|
-
def self.delete(
|
30
|
+
def self.delete(item, params = {}, opts = {})
|
31
31
|
request_stripe_object(
|
32
32
|
method: :delete,
|
33
|
-
path: format("/v1/radar/value_list_items/%<
|
33
|
+
path: format("/v1/radar/value_list_items/%<item>s", { item: CGI.escape(item) }),
|
34
34
|
params: params,
|
35
35
|
opts: opts
|
36
36
|
)
|
@@ -64,10 +64,10 @@ module Stripe
|
|
64
64
|
# Updates the refund that you specify by setting the values of the passed parameters. Any parameters that you don't provide remain unchanged.
|
65
65
|
#
|
66
66
|
# This request only accepts metadata as an argument.
|
67
|
-
def self.update(
|
67
|
+
def self.update(refund, params = {}, opts = {})
|
68
68
|
request_stripe_object(
|
69
69
|
method: :post,
|
70
|
-
path: format("/v1/refunds/%<
|
70
|
+
path: format("/v1/refunds/%<refund>s", { refund: CGI.escape(refund) }),
|
71
71
|
params: params,
|
72
72
|
opts: opts
|
73
73
|
)
|
@@ -117,10 +117,10 @@ module Stripe
|
|
117
117
|
end
|
118
118
|
|
119
119
|
# Updates a SetupIntent object.
|
120
|
-
def self.update(
|
120
|
+
def self.update(intent, params = {}, opts = {})
|
121
121
|
request_stripe_object(
|
122
122
|
method: :post,
|
123
|
-
path: format("/v1/setup_intents/%<
|
123
|
+
path: format("/v1/setup_intents/%<intent>s", { intent: CGI.escape(intent) }),
|
124
124
|
params: params,
|
125
125
|
opts: opts
|
126
126
|
)
|
@@ -25,10 +25,10 @@ module Stripe
|
|
25
25
|
end
|
26
26
|
|
27
27
|
# Updates an existing shipping rate object.
|
28
|
-
def self.update(
|
28
|
+
def self.update(shipping_rate_token, params = {}, opts = {})
|
29
29
|
request_stripe_object(
|
30
30
|
method: :post,
|
31
|
-
path: format("/v1/shipping_rates/%<
|
31
|
+
path: format("/v1/shipping_rates/%<shipping_rate_token>s", { shipping_rate_token: CGI.escape(shipping_rate_token) }),
|
32
32
|
params: params,
|
33
33
|
opts: opts
|
34
34
|
)
|
@@ -32,10 +32,10 @@ module Stripe
|
|
32
32
|
# Updates the specified source by setting the values of the parameters passed. Any parameters not provided will be left unchanged.
|
33
33
|
#
|
34
34
|
# This request accepts the metadata and owner as arguments. It is also possible to update type specific information for selected payment methods. Please refer to our [payment method guides](https://stripe.com/docs/sources) for more detail.
|
35
|
-
def self.update(
|
35
|
+
def self.update(source, params = {}, opts = {})
|
36
36
|
request_stripe_object(
|
37
37
|
method: :post,
|
38
|
-
path: format("/v1/sources/%<
|
38
|
+
path: format("/v1/sources/%<source>s", { source: CGI.escape(source) }),
|
39
39
|
params: params,
|
40
40
|
opts: opts
|
41
41
|
)
|
@@ -134,10 +134,10 @@ module Stripe
|
|
134
134
|
# If you don't want to prorate, set the proration_behavior option to none. With this option, the customer is billed 100 on May 1 and 200 on June 1. Similarly, if you set proration_behavior to none when switching between different billing intervals (for example, from monthly to yearly), we don't generate any credits for the old subscription's unused time. We still reset the billing date and bill immediately for the new subscription.
|
135
135
|
#
|
136
136
|
# Updating the quantity on a subscription many times in an hour may result in [rate limiting. If you need to bill for a frequently changing quantity, consider integrating <a href="/docs/billing/subscriptions/usage-based">usage-based billing](https://stripe.com/docs/rate-limits) instead.
|
137
|
-
def self.update(
|
137
|
+
def self.update(subscription_exposed_id, params = {}, opts = {})
|
138
138
|
request_stripe_object(
|
139
139
|
method: :post,
|
140
|
-
path: format("/v1/subscriptions/%<
|
140
|
+
path: format("/v1/subscriptions/%<subscription_exposed_id>s", { subscription_exposed_id: CGI.escape(subscription_exposed_id) }),
|
141
141
|
params: params,
|
142
142
|
opts: opts
|
143
143
|
)
|
@@ -32,10 +32,10 @@ module Stripe
|
|
32
32
|
end
|
33
33
|
|
34
34
|
# Deletes an item from the subscription. Removing a subscription item from a subscription will not cancel the subscription.
|
35
|
-
def self.delete(
|
35
|
+
def self.delete(item, params = {}, opts = {})
|
36
36
|
request_stripe_object(
|
37
37
|
method: :delete,
|
38
|
-
path: format("/v1/subscription_items/%<
|
38
|
+
path: format("/v1/subscription_items/%<item>s", { item: CGI.escape(item) }),
|
39
39
|
params: params,
|
40
40
|
opts: opts
|
41
41
|
)
|
@@ -62,10 +62,10 @@ module Stripe
|
|
62
62
|
end
|
63
63
|
|
64
64
|
# Updates the plan or quantity of an item on a current subscription.
|
65
|
-
def self.update(
|
65
|
+
def self.update(item, params = {}, opts = {})
|
66
66
|
request_stripe_object(
|
67
67
|
method: :post,
|
68
|
-
path: format("/v1/subscription_items/%<
|
68
|
+
path: format("/v1/subscription_items/%<item>s", { item: CGI.escape(item) }),
|
69
69
|
params: params,
|
70
70
|
opts: opts
|
71
71
|
)
|
@@ -76,10 +76,10 @@ module Stripe
|
|
76
76
|
end
|
77
77
|
|
78
78
|
# Updates an existing subscription schedule.
|
79
|
-
def self.update(
|
79
|
+
def self.update(schedule, params = {}, opts = {})
|
80
80
|
request_stripe_object(
|
81
81
|
method: :post,
|
82
|
-
path: format("/v1/subscription_schedules/%<
|
82
|
+
path: format("/v1/subscription_schedules/%<schedule>s", { schedule: CGI.escape(schedule) }),
|
83
83
|
params: params,
|
84
84
|
opts: opts
|
85
85
|
)
|
@@ -26,10 +26,10 @@ module Stripe
|
|
26
26
|
end
|
27
27
|
|
28
28
|
# Updates an existing tax rate.
|
29
|
-
def self.update(
|
29
|
+
def self.update(tax_rate, params = {}, opts = {})
|
30
30
|
request_stripe_object(
|
31
31
|
method: :post,
|
32
|
-
path: format("/v1/tax_rates/%<
|
32
|
+
path: format("/v1/tax_rates/%<tax_rate>s", { tax_rate: CGI.escape(tax_rate) }),
|
33
33
|
params: params,
|
34
34
|
opts: opts
|
35
35
|
)
|
@@ -26,10 +26,10 @@ module Stripe
|
|
26
26
|
end
|
27
27
|
|
28
28
|
# Deletes a Configuration object.
|
29
|
-
def self.delete(
|
29
|
+
def self.delete(configuration, params = {}, opts = {})
|
30
30
|
request_stripe_object(
|
31
31
|
method: :delete,
|
32
|
-
path: format("/v1/terminal/configurations/%<
|
32
|
+
path: format("/v1/terminal/configurations/%<configuration>s", { configuration: CGI.escape(configuration) }),
|
33
33
|
params: params,
|
34
34
|
opts: opts
|
35
35
|
)
|
@@ -56,10 +56,10 @@ module Stripe
|
|
56
56
|
end
|
57
57
|
|
58
58
|
# Updates a new Configuration object.
|
59
|
-
def self.update(
|
59
|
+
def self.update(configuration, params = {}, opts = {})
|
60
60
|
request_stripe_object(
|
61
61
|
method: :post,
|
62
|
-
path: format("/v1/terminal/configurations/%<
|
62
|
+
path: format("/v1/terminal/configurations/%<configuration>s", { configuration: CGI.escape(configuration) }),
|
63
63
|
params: params,
|
64
64
|
opts: opts
|
65
65
|
)
|
@@ -29,10 +29,10 @@ module Stripe
|
|
29
29
|
end
|
30
30
|
|
31
31
|
# Deletes a Location object.
|
32
|
-
def self.delete(
|
32
|
+
def self.delete(location, params = {}, opts = {})
|
33
33
|
request_stripe_object(
|
34
34
|
method: :delete,
|
35
|
-
path: format("/v1/terminal/locations/%<
|
35
|
+
path: format("/v1/terminal/locations/%<location>s", { location: CGI.escape(location) }),
|
36
36
|
params: params,
|
37
37
|
opts: opts
|
38
38
|
)
|
@@ -59,10 +59,10 @@ module Stripe
|
|
59
59
|
end
|
60
60
|
|
61
61
|
# Updates a Location object by setting the values of the parameters passed. Any parameters not provided will be left unchanged.
|
62
|
-
def self.update(
|
62
|
+
def self.update(location, params = {}, opts = {})
|
63
63
|
request_stripe_object(
|
64
64
|
method: :post,
|
65
|
-
path: format("/v1/terminal/locations/%<
|
65
|
+
path: format("/v1/terminal/locations/%<location>s", { location: CGI.escape(location) }),
|
66
66
|
params: params,
|
67
67
|
opts: opts
|
68
68
|
)
|
@@ -48,10 +48,10 @@ module Stripe
|
|
48
48
|
end
|
49
49
|
|
50
50
|
# Deletes a Reader object.
|
51
|
-
def self.delete(
|
51
|
+
def self.delete(reader, params = {}, opts = {})
|
52
52
|
request_stripe_object(
|
53
53
|
method: :delete,
|
54
|
-
path: format("/v1/terminal/readers/%<
|
54
|
+
path: format("/v1/terminal/readers/%<reader>s", { reader: CGI.escape(reader) }),
|
55
55
|
params: params,
|
56
56
|
opts: opts
|
57
57
|
)
|
@@ -158,10 +158,10 @@ module Stripe
|
|
158
158
|
end
|
159
159
|
|
160
160
|
# Updates a Reader object by setting the values of the parameters passed. Any parameters not provided will be left unchanged.
|
161
|
-
def self.update(
|
161
|
+
def self.update(reader, params = {}, opts = {})
|
162
162
|
request_stripe_object(
|
163
163
|
method: :post,
|
164
|
-
path: format("/v1/terminal/readers/%<
|
164
|
+
path: format("/v1/terminal/readers/%<reader>s", { reader: CGI.escape(reader) }),
|
165
165
|
params: params,
|
166
166
|
opts: opts
|
167
167
|
)
|
@@ -47,10 +47,10 @@ module Stripe
|
|
47
47
|
end
|
48
48
|
|
49
49
|
# Deletes a test clock.
|
50
|
-
def self.delete(
|
50
|
+
def self.delete(test_clock, params = {}, opts = {})
|
51
51
|
request_stripe_object(
|
52
52
|
method: :delete,
|
53
|
-
path: format("/v1/test_helpers/test_clocks/%<
|
53
|
+
path: format("/v1/test_helpers/test_clocks/%<test_clock>s", { test_clock: CGI.escape(test_clock) }),
|
54
54
|
params: params,
|
55
55
|
opts: opts
|
56
56
|
)
|
@@ -48,10 +48,10 @@ module Stripe
|
|
48
48
|
end
|
49
49
|
|
50
50
|
# Updates the metadata of a top-up. Other top-up details are not editable by design.
|
51
|
-
def self.update(
|
51
|
+
def self.update(topup, params = {}, opts = {})
|
52
52
|
request_stripe_object(
|
53
53
|
method: :post,
|
54
|
-
path: format("/v1/topups/%<
|
54
|
+
path: format("/v1/topups/%<topup>s", { topup: CGI.escape(topup) }),
|
55
55
|
params: params,
|
56
56
|
opts: opts
|
57
57
|
)
|
@@ -38,10 +38,10 @@ module Stripe
|
|
38
38
|
# Updates the specified transfer by setting the values of the parameters passed. Any parameters not provided will be left unchanged.
|
39
39
|
#
|
40
40
|
# This request accepts only metadata as an argument.
|
41
|
-
def self.update(
|
41
|
+
def self.update(transfer, params = {}, opts = {})
|
42
42
|
request_stripe_object(
|
43
43
|
method: :post,
|
44
|
-
path: format("/v1/transfers/%<
|
44
|
+
path: format("/v1/transfers/%<transfer>s", { transfer: CGI.escape(transfer) }),
|
45
45
|
params: params,
|
46
46
|
opts: opts
|
47
47
|
)
|
@@ -76,10 +76,10 @@ module Stripe
|
|
76
76
|
end
|
77
77
|
|
78
78
|
# Updates the details of a FinancialAccount.
|
79
|
-
def self.update(
|
79
|
+
def self.update(financial_account, params = {}, opts = {})
|
80
80
|
request_stripe_object(
|
81
81
|
method: :post,
|
82
|
-
path: format("/v1/treasury/financial_accounts/%<
|
82
|
+
path: format("/v1/treasury/financial_accounts/%<financial_account>s", { financial_account: CGI.escape(financial_account) }),
|
83
83
|
params: params,
|
84
84
|
opts: opts
|
85
85
|
)
|
@@ -31,10 +31,10 @@ module Stripe
|
|
31
31
|
end
|
32
32
|
|
33
33
|
# You can also delete webhook endpoints via the [webhook endpoint management](https://dashboard.stripe.com/account/webhooks) page of the Stripe dashboard.
|
34
|
-
def self.delete(
|
34
|
+
def self.delete(webhook_endpoint, params = {}, opts = {})
|
35
35
|
request_stripe_object(
|
36
36
|
method: :delete,
|
37
|
-
path: format("/v1/webhook_endpoints/%<
|
37
|
+
path: format("/v1/webhook_endpoints/%<webhook_endpoint>s", { webhook_endpoint: CGI.escape(webhook_endpoint) }),
|
38
38
|
params: params,
|
39
39
|
opts: opts
|
40
40
|
)
|
@@ -56,10 +56,10 @@ module Stripe
|
|
56
56
|
end
|
57
57
|
|
58
58
|
# Updates the webhook endpoint. You may edit the url, the list of enabled_events, and the status of your endpoint.
|
59
|
-
def self.update(
|
59
|
+
def self.update(webhook_endpoint, params = {}, opts = {})
|
60
60
|
request_stripe_object(
|
61
61
|
method: :post,
|
62
|
-
path: format("/v1/webhook_endpoints/%<
|
62
|
+
path: format("/v1/webhook_endpoints/%<webhook_endpoint>s", { webhook_endpoint: CGI.escape(webhook_endpoint) }),
|
63
63
|
params: params,
|
64
64
|
opts: opts
|
65
65
|
)
|
data/lib/stripe/version.rb
CHANGED
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: stripe
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 13.4.
|
4
|
+
version: 13.4.1
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Stripe
|
8
8
|
autorequire:
|
9
9
|
bindir: exe
|
10
10
|
cert_chain: []
|
11
|
-
date: 2025-01-
|
11
|
+
date: 2025-01-28 00:00:00.000000000 Z
|
12
12
|
dependencies: []
|
13
13
|
description: Stripe is the easiest way to accept payments online. See https://stripe.com
|
14
14
|
for details.
|
@@ -20,7 +20,6 @@ extra_rdoc_files: []
|
|
20
20
|
files:
|
21
21
|
- CHANGELOG.md
|
22
22
|
- CODE_OF_CONDUCT.md
|
23
|
-
- CONTRIBUTING.md
|
24
23
|
- CONTRIBUTORS
|
25
24
|
- Gemfile
|
26
25
|
- History.txt
|
data/CONTRIBUTING.md
DELETED
@@ -1,25 +0,0 @@
|
|
1
|
-
|
2
|
-
# Contributing
|
3
|
-
|
4
|
-
We welcome bug reports, feature requests, and code contributions in a pull request.
|
5
|
-
|
6
|
-
For most pull requests, we request that you identify or create an associated issue that has the necessary context. We use these issues to reach agreement on an approach and save the PR author from having to redo work. Fixing typos or documentation issues likely do not need an issue; for any issue that introduces substantial code changes, changes the public interface, or if you aren't sure, please find or [create an issue](https://www.github.com/stripe/stripe-ruby/issues/new/choose).
|
7
|
-
|
8
|
-
## Contributor License Agreement
|
9
|
-
|
10
|
-
All contributors must sign the Contributor License Agreement (CLA) before we can accept their contribution. If you have not yet signed the agreement, you will be given an option to do so when you open a pull request. You can then sign by clicking on the badge in the comment from @CLAassistant.
|
11
|
-
|
12
|
-
## Generated code
|
13
|
-
|
14
|
-
This project has a combination of manually maintained code and code generated from our private code generator. If your contribution involves changes to generated code, please call this out in the issue or pull request as we will likely need to make a change to our code generator before accepting the contribution.
|
15
|
-
|
16
|
-
To identify files with purely generated code, look for the comment `File generated from our OpenAPI spec.` at the start of the file. Generated blocks of code within hand-written files will be between comments that say `The beginning of the section generated from our OpenAPI spec` and `The end of the section generated from our OpenAPI spec`.
|
17
|
-
|
18
|
-
## Compatibility with supported language and runtime versions
|
19
|
-
|
20
|
-
This project supports [many different langauge and runtime versions](README.md#requirements) and we are unable to accept any contribution that does not work on _all_ supported versions. If, after discussing the approach in the associated issue, your change must use an API / feature that isn't available in all supported versions, please call this out explicitly in the issue or pull request so we can help figure out the best way forward.
|
21
|
-
|
22
|
-
## Set up your dev environment
|
23
|
-
|
24
|
-
Please refer to this project's [README.md](README.md#development) for instructions on how to set up your development environment.
|
25
|
-
|