stripe 7.1.2 → 7.2.0.pre.beta.1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- checksums.yaml +4 -4
- data/CHANGELOG.md +28 -20
- data/OPENAPI_VERSION +1 -1
- data/VERSION +1 -1
- data/lib/data/ca-certificates.crt +3340 -290
- data/lib/stripe/object_types.rb +2 -0
- data/lib/stripe/resources/account.rb +6 -0
- data/lib/stripe/resources/account_link.rb +4 -0
- data/lib/stripe/resources/account_session.rb +17 -0
- data/lib/stripe/resources/application_fee_refund.rb +5 -0
- data/lib/stripe/resources/apps/secret.rb +9 -0
- data/lib/stripe/resources/balance.rb +11 -0
- data/lib/stripe/resources/balance_transaction.rb +4 -0
- data/lib/stripe/resources/bank_account.rb +7 -0
- data/lib/stripe/resources/billing_portal/configuration.rb +1 -0
- data/lib/stripe/resources/billing_portal/session.rb +14 -0
- data/lib/stripe/resources/capability.rb +3 -0
- data/lib/stripe/resources/card.rb +5 -0
- data/lib/stripe/resources/cash_balance.rb +1 -0
- data/lib/stripe/resources/charge.rb +5 -0
- data/lib/stripe/resources/checkout/session.rb +14 -0
- data/lib/stripe/resources/country_spec.rb +6 -0
- data/lib/stripe/resources/coupon.rb +3 -0
- data/lib/stripe/resources/credit_note.rb +3 -0
- data/lib/stripe/resources/customer.rb +3 -0
- data/lib/stripe/resources/customer_balance_transaction.rb +6 -0
- data/lib/stripe/resources/customer_cash_balance_transaction.rb +4 -0
- data/lib/stripe/resources/discount.rb +4 -0
- data/lib/stripe/resources/dispute.rb +7 -0
- data/lib/stripe/resources/event.rb +29 -0
- data/lib/stripe/resources/exchange_rate.rb +11 -0
- data/lib/stripe/resources/file.rb +7 -0
- data/lib/stripe/resources/file_link.rb +3 -0
- data/lib/stripe/resources/financial_connections/account.rb +1 -0
- data/lib/stripe/resources/financial_connections/account_ownership.rb +1 -0
- data/lib/stripe/resources/financial_connections/session.rb +1 -0
- data/lib/stripe/resources/funding_instructions.rb +5 -0
- data/lib/stripe/resources/identity/verification_report.rb +11 -0
- data/lib/stripe/resources/identity/verification_session.rb +11 -0
- data/lib/stripe/resources/invoice.rb +32 -0
- data/lib/stripe/resources/invoice_item.rb +7 -0
- data/lib/stripe/resources/issuing/authorization.rb +5 -0
- data/lib/stripe/resources/issuing/card.rb +1 -0
- data/lib/stripe/resources/issuing/cardholder.rb +3 -0
- data/lib/stripe/resources/issuing/dispute.rb +3 -0
- data/lib/stripe/resources/issuing/transaction.rb +5 -0
- data/lib/stripe/resources/line_item.rb +1 -0
- data/lib/stripe/resources/mandate.rb +1 -0
- data/lib/stripe/resources/order.rb +5 -0
- data/lib/stripe/resources/payment_intent.rb +11 -0
- data/lib/stripe/resources/payment_link.rb +5 -0
- data/lib/stripe/resources/payment_method.rb +5 -0
- data/lib/stripe/resources/payout.rb +8 -0
- data/lib/stripe/resources/person.rb +6 -0
- data/lib/stripe/resources/plan.rb +8 -0
- data/lib/stripe/resources/price.rb +6 -0
- data/lib/stripe/resources/product.rb +8 -0
- data/lib/stripe/resources/promotion_code.rb +2 -0
- data/lib/stripe/resources/quote.rb +2 -0
- data/lib/stripe/resources/quote_phase.rb +29 -0
- data/lib/stripe/resources/radar/early_fraud_warning.rb +4 -0
- data/lib/stripe/resources/radar/value_list.rb +3 -0
- data/lib/stripe/resources/radar/value_list_item.rb +3 -0
- data/lib/stripe/resources/refund.rb +5 -0
- data/lib/stripe/resources/reporting/report_run.rb +8 -0
- data/lib/stripe/resources/reporting/report_type.rb +8 -0
- data/lib/stripe/resources/reversal.rb +13 -0
- data/lib/stripe/resources/review.rb +4 -0
- data/lib/stripe/resources/setup_attempt.rb +4 -0
- data/lib/stripe/resources/setup_intent.rb +22 -0
- data/lib/stripe/resources/shipping_rate.rb +3 -0
- data/lib/stripe/resources/sigma/scheduled_query_run.rb +4 -0
- data/lib/stripe/resources/sku.rb +6 -0
- data/lib/stripe/resources/source.rb +6 -0
- data/lib/stripe/resources/source_transaction.rb +4 -0
- data/lib/stripe/resources/subscription.rb +3 -0
- data/lib/stripe/resources/subscription_item.rb +2 -0
- data/lib/stripe/resources/subscription_schedule.rb +21 -0
- data/lib/stripe/resources/tax_code.rb +1 -0
- data/lib/stripe/resources/tax_id.rb +4 -0
- data/lib/stripe/resources/tax_rate.rb +3 -0
- data/lib/stripe/resources/terminal/configuration.rb +1 -0
- data/lib/stripe/resources/terminal/connection_token.rb +3 -0
- data/lib/stripe/resources/terminal/location.rb +3 -0
- data/lib/stripe/resources/terminal/reader.rb +21 -0
- data/lib/stripe/resources/test_helpers/test_clock.rb +3 -0
- data/lib/stripe/resources/token.rb +22 -0
- data/lib/stripe/resources/topup.rb +5 -0
- data/lib/stripe/resources/transfer.rb +10 -0
- data/lib/stripe/resources/treasury/credit_reversal.rb +1 -0
- data/lib/stripe/resources/treasury/debit_reversal.rb +1 -0
- data/lib/stripe/resources/treasury/financial_account.rb +2 -0
- data/lib/stripe/resources/treasury/inbound_transfer.rb +1 -0
- data/lib/stripe/resources/treasury/outbound_payment.rb +3 -0
- data/lib/stripe/resources/treasury/outbound_transfer.rb +3 -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/treasury/transaction.rb +1 -0
- data/lib/stripe/resources/treasury/transaction_entry.rb +1 -0
- data/lib/stripe/resources/usage_record.rb +4 -0
- data/lib/stripe/resources/webhook_endpoint.rb +7 -0
- data/lib/stripe/resources.rb +2 -0
- data/lib/stripe/stripe_configuration.rb +2 -0
- data/lib/stripe/version.rb +1 -1
- data/lib/stripe.rb +1 -0
- metadata +10 -8
|
@@ -3,6 +3,7 @@
|
|
|
3
3
|
|
|
4
4
|
module Stripe
|
|
5
5
|
module Treasury
|
|
6
|
+
# You can reverse some [ReceivedDebits](https://stripe.com/docs/api#received_debits) depending on their network and source flow. Reversing a ReceivedDebit leads to the creation of a new object known as a DebitReversal.
|
|
6
7
|
class DebitReversal < APIResource
|
|
7
8
|
extend Stripe::APIOperations::Create
|
|
8
9
|
extend Stripe::APIOperations::List
|
|
@@ -3,6 +3,8 @@
|
|
|
3
3
|
|
|
4
4
|
module Stripe
|
|
5
5
|
module Treasury
|
|
6
|
+
# Stripe Treasury provides users with a container for money called a FinancialAccount that is separate from their Payments balance.
|
|
7
|
+
# FinancialAccounts serve as the source and destination of Treasury's money movement APIs.
|
|
6
8
|
class FinancialAccount < APIResource
|
|
7
9
|
extend Stripe::APIOperations::Create
|
|
8
10
|
extend Stripe::APIOperations::List
|
|
@@ -3,6 +3,7 @@
|
|
|
3
3
|
|
|
4
4
|
module Stripe
|
|
5
5
|
module Treasury
|
|
6
|
+
# Use [InboundTransfers](https://stripe.com/docs/treasury/moving-money/financial-accounts/into/inbound-transfers) to add funds to your [FinancialAccount](https://stripe.com/docs/api#financial_accounts) via a PaymentMethod that is owned by you. The funds will be transferred via an ACH debit.
|
|
6
7
|
class InboundTransfer < APIResource
|
|
7
8
|
extend Stripe::APIOperations::Create
|
|
8
9
|
extend Stripe::APIOperations::List
|
|
@@ -3,6 +3,9 @@
|
|
|
3
3
|
|
|
4
4
|
module Stripe
|
|
5
5
|
module Treasury
|
|
6
|
+
# Use OutboundPayments to send funds to another party's external bank account or [FinancialAccount](https://stripe.com/docs/api#financial_accounts). To send money to an account belonging to the same user, use an [OutboundTransfer](https://stripe.com/docs/api#outbound_transfers).
|
|
7
|
+
#
|
|
8
|
+
# Simulate OutboundPayment state changes with the `/v1/test_helpers/treasury/outbound_payments` endpoints. These methods can only be called on test mode objects.
|
|
6
9
|
class OutboundPayment < APIResource
|
|
7
10
|
extend Stripe::APIOperations::Create
|
|
8
11
|
extend Stripe::APIOperations::List
|
|
@@ -3,6 +3,9 @@
|
|
|
3
3
|
|
|
4
4
|
module Stripe
|
|
5
5
|
module Treasury
|
|
6
|
+
# Use OutboundTransfers to transfer funds from a [FinancialAccount](https://stripe.com/docs/api#financial_accounts) to a PaymentMethod belonging to the same entity. To send funds to a different party, use [OutboundPayments](https://stripe.com/docs/api#outbound_payments) instead. You can send funds over ACH rails or through a domestic wire transfer to a user's own external bank account.
|
|
7
|
+
#
|
|
8
|
+
# Simulate OutboundTransfer state changes with the `/v1/test_helpers/treasury/outbound_transfers` endpoints. These methods can only be called on test mode objects.
|
|
6
9
|
class OutboundTransfer < APIResource
|
|
7
10
|
extend Stripe::APIOperations::Create
|
|
8
11
|
extend Stripe::APIOperations::List
|
|
@@ -3,6 +3,7 @@
|
|
|
3
3
|
|
|
4
4
|
module Stripe
|
|
5
5
|
module Treasury
|
|
6
|
+
# ReceivedCredits represent funds sent to a [FinancialAccount](https://stripe.com/docs/api#financial_accounts) (for example, via ACH or wire). These money movements are not initiated from the FinancialAccount.
|
|
6
7
|
class ReceivedCredit < APIResource
|
|
7
8
|
extend Stripe::APIOperations::List
|
|
8
9
|
|
|
@@ -3,6 +3,7 @@
|
|
|
3
3
|
|
|
4
4
|
module Stripe
|
|
5
5
|
module Treasury
|
|
6
|
+
# ReceivedDebits represent funds pulled from a [FinancialAccount](https://stripe.com/docs/api#financial_accounts). These are not initiated from the FinancialAccount.
|
|
6
7
|
class ReceivedDebit < APIResource
|
|
7
8
|
extend Stripe::APIOperations::List
|
|
8
9
|
|
|
@@ -2,6 +2,10 @@
|
|
|
2
2
|
# frozen_string_literal: true
|
|
3
3
|
|
|
4
4
|
module Stripe
|
|
5
|
+
# Usage records allow you to report customer usage and metrics to Stripe for
|
|
6
|
+
# metered billing of subscription prices.
|
|
7
|
+
#
|
|
8
|
+
# Related guide: [Metered Billing](https://stripe.com/docs/billing/subscriptions/metered-billing).
|
|
5
9
|
class UsageRecord < APIResource
|
|
6
10
|
OBJECT_NAME = "usage_record"
|
|
7
11
|
end
|
|
@@ -2,6 +2,13 @@
|
|
|
2
2
|
# frozen_string_literal: true
|
|
3
3
|
|
|
4
4
|
module Stripe
|
|
5
|
+
# You can configure [webhook endpoints](https://stripe.com/docs/webhooks/) via the API to be
|
|
6
|
+
# notified about events that happen in your Stripe account or connected
|
|
7
|
+
# accounts.
|
|
8
|
+
#
|
|
9
|
+
# Most users configure webhooks from [the dashboard](https://dashboard.stripe.com/webhooks), which provides a user interface for registering and testing your webhook endpoints.
|
|
10
|
+
#
|
|
11
|
+
# Related guide: [Setting up Webhooks](https://stripe.com/docs/webhooks/configure).
|
|
5
12
|
class WebhookEndpoint < APIResource
|
|
6
13
|
extend Stripe::APIOperations::Create
|
|
7
14
|
include Stripe::APIOperations::Delete
|
data/lib/stripe/resources.rb
CHANGED
|
@@ -3,6 +3,7 @@
|
|
|
3
3
|
|
|
4
4
|
require "stripe/resources/account"
|
|
5
5
|
require "stripe/resources/account_link"
|
|
6
|
+
require "stripe/resources/account_session"
|
|
6
7
|
require "stripe/resources/apple_pay_domain"
|
|
7
8
|
require "stripe/resources/application_fee"
|
|
8
9
|
require "stripe/resources/application_fee_refund"
|
|
@@ -60,6 +61,7 @@ require "stripe/resources/price"
|
|
|
60
61
|
require "stripe/resources/product"
|
|
61
62
|
require "stripe/resources/promotion_code"
|
|
62
63
|
require "stripe/resources/quote"
|
|
64
|
+
require "stripe/resources/quote_phase"
|
|
63
65
|
require "stripe/resources/radar/early_fraud_warning"
|
|
64
66
|
require "stripe/resources/radar/value_list"
|
|
65
67
|
require "stripe/resources/radar/value_list_item"
|
data/lib/stripe/version.rb
CHANGED
data/lib/stripe.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: 7.1
|
|
4
|
+
version: 7.2.0.pre.beta.1
|
|
5
5
|
platform: ruby
|
|
6
6
|
authors:
|
|
7
7
|
- Stripe
|
|
8
|
-
autorequire:
|
|
8
|
+
autorequire:
|
|
9
9
|
bindir: bin
|
|
10
10
|
cert_chain: []
|
|
11
|
-
date:
|
|
11
|
+
date: 2022-08-23 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.
|
|
@@ -53,6 +53,7 @@ files:
|
|
|
53
53
|
- lib/stripe/resources.rb
|
|
54
54
|
- lib/stripe/resources/account.rb
|
|
55
55
|
- lib/stripe/resources/account_link.rb
|
|
56
|
+
- lib/stripe/resources/account_session.rb
|
|
56
57
|
- lib/stripe/resources/alipay_account.rb
|
|
57
58
|
- lib/stripe/resources/apple_pay_domain.rb
|
|
58
59
|
- lib/stripe/resources/application_fee.rb
|
|
@@ -111,6 +112,7 @@ files:
|
|
|
111
112
|
- lib/stripe/resources/product.rb
|
|
112
113
|
- lib/stripe/resources/promotion_code.rb
|
|
113
114
|
- lib/stripe/resources/quote.rb
|
|
115
|
+
- lib/stripe/resources/quote_phase.rb
|
|
114
116
|
- lib/stripe/resources/radar/early_fraud_warning.rb
|
|
115
117
|
- lib/stripe/resources/radar/value_list.rb
|
|
116
118
|
- lib/stripe/resources/radar/value_list_item.rb
|
|
@@ -174,7 +176,7 @@ metadata:
|
|
|
174
176
|
github_repo: ssh://github.com/stripe/stripe-ruby
|
|
175
177
|
homepage_uri: https://stripe.com/docs/api?lang=ruby
|
|
176
178
|
source_code_uri: https://github.com/stripe/stripe-ruby
|
|
177
|
-
post_install_message:
|
|
179
|
+
post_install_message:
|
|
178
180
|
rdoc_options: []
|
|
179
181
|
require_paths:
|
|
180
182
|
- lib
|
|
@@ -185,12 +187,12 @@ required_ruby_version: !ruby/object:Gem::Requirement
|
|
|
185
187
|
version: 2.3.0
|
|
186
188
|
required_rubygems_version: !ruby/object:Gem::Requirement
|
|
187
189
|
requirements:
|
|
188
|
-
- - "
|
|
190
|
+
- - ">"
|
|
189
191
|
- !ruby/object:Gem::Version
|
|
190
|
-
version:
|
|
192
|
+
version: 1.3.1
|
|
191
193
|
requirements: []
|
|
192
|
-
rubygems_version: 3.3.
|
|
193
|
-
signing_key:
|
|
194
|
+
rubygems_version: 3.3.7
|
|
195
|
+
signing_key:
|
|
194
196
|
specification_version: 4
|
|
195
197
|
summary: Ruby bindings for the Stripe API
|
|
196
198
|
test_files: []
|