stripe 17.1.0.pre.alpha.2 → 17.1.0.pre.alpha.3
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/lib/stripe/object_types.rb +2 -0
- data/lib/stripe/params/delegated_checkout/requested_session_confirm_params.rb +18 -0
- data/lib/stripe/params/delegated_checkout/requested_session_create_params.rb +15 -0
- data/lib/stripe/params/delegated_checkout/requested_session_expire_params.rb +15 -0
- data/lib/stripe/params/delegated_checkout/requested_session_retrieve_params.rb +15 -0
- data/lib/stripe/params/delegated_checkout/requested_session_update_params.rb +15 -0
- data/lib/stripe/params/identity/blocklist_entry_create_params.rb +29 -0
- data/lib/stripe/params/identity/blocklist_entry_disable_params.rb +15 -0
- data/lib/stripe/params/identity/blocklist_entry_list_params.rb +62 -0
- data/lib/stripe/params/identity/blocklist_entry_retrieve_params.rb +15 -0
- data/lib/stripe/params/identity/verification_report_list_params.rb +4 -0
- data/lib/stripe/params.rb +9 -0
- data/lib/stripe/resources/delegated_checkout/requested_session.rb +107 -0
- data/lib/stripe/resources/identity/blocklist_entry.rb +116 -0
- data/lib/stripe/resources/identity/verification_report.rb +4 -0
- data/lib/stripe/resources.rb +2 -0
- data/lib/stripe/services/delegated_checkout/requested_session_service.rb +63 -0
- data/lib/stripe/services/delegated_checkout_service.rb +13 -0
- data/lib/stripe/services/identity/blocklist_entry_service.rb +71 -0
- data/lib/stripe/services/identity_service.rb +2 -1
- data/lib/stripe/services/v1_services.rb +2 -1
- data/lib/stripe/services.rb +3 -0
- data/lib/stripe/version.rb +1 -1
- data/rbi/stripe.rbi +495 -1
- metadata +15 -1
data/rbi/stripe.rbi
CHANGED
@@ -17422,6 +17422,75 @@ module Stripe
|
|
17422
17422
|
end
|
17423
17423
|
end
|
17424
17424
|
# typed: true
|
17425
|
+
module Stripe
|
17426
|
+
module DelegatedCheckout
|
17427
|
+
# A requested session is a session that has been requested by a customer.
|
17428
|
+
class RequestedSession < APIResource
|
17429
|
+
class FulfillmentDetails < ::Stripe::StripeObject
|
17430
|
+
def self.inner_class_types
|
17431
|
+
@inner_class_types = {}
|
17432
|
+
end
|
17433
|
+
def self.field_remappings
|
17434
|
+
@field_remappings = {}
|
17435
|
+
end
|
17436
|
+
end
|
17437
|
+
# Three-letter [ISO currency code](https://www.iso.org/iso-4217-currency-codes.html), in lowercase. Must be a [supported currency](https://stripe.com/docs/currencies).
|
17438
|
+
sig { returns(String) }
|
17439
|
+
def currency; end
|
17440
|
+
# The customer for this requested session.
|
17441
|
+
sig { returns(T.nilable(String)) }
|
17442
|
+
def customer; end
|
17443
|
+
# Attribute for field fulfillment_details
|
17444
|
+
sig { returns(T.nilable(FulfillmentDetails)) }
|
17445
|
+
def fulfillment_details; end
|
17446
|
+
# Unique identifier for the object.
|
17447
|
+
sig { returns(String) }
|
17448
|
+
def id; end
|
17449
|
+
# Has the value `true` if the object exists in live mode or the value `false` if the object exists in test mode.
|
17450
|
+
sig { returns(T::Boolean) }
|
17451
|
+
def livemode; end
|
17452
|
+
# String representing the object's type. Objects of the same type share the same value.
|
17453
|
+
sig { returns(String) }
|
17454
|
+
def object; end
|
17455
|
+
# Confirms a requested session
|
17456
|
+
sig {
|
17457
|
+
params(params: T.any(::Stripe::DelegatedCheckout::RequestedSessionConfirmParams, T::Hash[T.untyped, T.untyped]), opts: T.untyped).returns(::Stripe::DelegatedCheckout::RequestedSession)
|
17458
|
+
}
|
17459
|
+
def confirm(params = {}, opts = {}); end
|
17460
|
+
|
17461
|
+
# Confirms a requested session
|
17462
|
+
sig {
|
17463
|
+
params(requested_session: String, params: T.any(::Stripe::DelegatedCheckout::RequestedSessionConfirmParams, T::Hash[T.untyped, T.untyped]), opts: T.untyped).returns(::Stripe::DelegatedCheckout::RequestedSession)
|
17464
|
+
}
|
17465
|
+
def self.confirm(requested_session, params = {}, opts = {}); end
|
17466
|
+
|
17467
|
+
# Creates a requested session
|
17468
|
+
sig {
|
17469
|
+
params(params: T.any(::Stripe::DelegatedCheckout::RequestedSessionCreateParams, T::Hash[T.untyped, T.untyped]), opts: T.untyped).returns(::Stripe::DelegatedCheckout::RequestedSession)
|
17470
|
+
}
|
17471
|
+
def self.create(params = {}, opts = {}); end
|
17472
|
+
|
17473
|
+
# Expires a requested session
|
17474
|
+
sig {
|
17475
|
+
params(params: T.any(::Stripe::DelegatedCheckout::RequestedSessionExpireParams, T::Hash[T.untyped, T.untyped]), opts: T.untyped).returns(::Stripe::DelegatedCheckout::RequestedSession)
|
17476
|
+
}
|
17477
|
+
def expire(params = {}, opts = {}); end
|
17478
|
+
|
17479
|
+
# Expires a requested session
|
17480
|
+
sig {
|
17481
|
+
params(requested_session: String, params: T.any(::Stripe::DelegatedCheckout::RequestedSessionExpireParams, T::Hash[T.untyped, T.untyped]), opts: T.untyped).returns(::Stripe::DelegatedCheckout::RequestedSession)
|
17482
|
+
}
|
17483
|
+
def self.expire(requested_session, params = {}, opts = {}); end
|
17484
|
+
|
17485
|
+
# Updates a requested session
|
17486
|
+
sig {
|
17487
|
+
params(requested_session: String, params: T.any(::Stripe::DelegatedCheckout::RequestedSessionUpdateParams, T::Hash[T.untyped, T.untyped]), opts: T.untyped).returns(::Stripe::DelegatedCheckout::RequestedSession)
|
17488
|
+
}
|
17489
|
+
def self.update(requested_session, params = {}, opts = {}); end
|
17490
|
+
end
|
17491
|
+
end
|
17492
|
+
end
|
17493
|
+
# typed: true
|
17425
17494
|
module Stripe
|
17426
17495
|
# A dispute occurs when a customer questions your charge with their card issuer.
|
17427
17496
|
# When this happens, you have the opportunity to respond to the dispute with
|
@@ -19264,6 +19333,97 @@ module Stripe
|
|
19264
19333
|
end
|
19265
19334
|
end
|
19266
19335
|
# typed: true
|
19336
|
+
module Stripe
|
19337
|
+
module Identity
|
19338
|
+
# A BlocklistEntry represents an entry in our identity verification blocklist.
|
19339
|
+
# It helps prevent fraudulent users from repeatedly attempting verification with similar information.
|
19340
|
+
# When you create a BlocklistEntry, we store data from a specified VerificationReport,
|
19341
|
+
# such as document details or facial biometrics.
|
19342
|
+
# This allows us to compare future verification attempts against these entries.
|
19343
|
+
# If a match is found, we categorize the new verification as unverified.
|
19344
|
+
#
|
19345
|
+
# To learn more, see [Identity Verification Blocklist](https://stripe.com/docs/identity/review-tools#block-list)
|
19346
|
+
class BlocklistEntry < APIResource
|
19347
|
+
# Time at which the object was created. Measured in seconds since the Unix epoch.
|
19348
|
+
sig { returns(Integer) }
|
19349
|
+
def created; end
|
19350
|
+
# Time at which you disabled the BlocklistEntry. Measured in seconds since the Unix epoch.
|
19351
|
+
sig { returns(T.nilable(Integer)) }
|
19352
|
+
def disabled_at; end
|
19353
|
+
# Time at which the BlocklistEntry expires. Measured in seconds since the Unix epoch.
|
19354
|
+
sig { returns(T.nilable(Integer)) }
|
19355
|
+
def expires_at; end
|
19356
|
+
# Unique identifier for the object.
|
19357
|
+
sig { returns(String) }
|
19358
|
+
def id; end
|
19359
|
+
# Has the value `true` if the object exists in live mode or the value `false` if the object exists in test mode.
|
19360
|
+
sig { returns(T::Boolean) }
|
19361
|
+
def livemode; end
|
19362
|
+
# String representing the object's type. Objects of the same type share the same value.
|
19363
|
+
sig { returns(String) }
|
19364
|
+
def object; end
|
19365
|
+
# The current status of the BlocklistEntry.
|
19366
|
+
sig { returns(String) }
|
19367
|
+
def status; end
|
19368
|
+
# The type of BlocklistEntry.
|
19369
|
+
sig { returns(String) }
|
19370
|
+
def type; end
|
19371
|
+
# The verification report the BlocklistEntry was created from.
|
19372
|
+
sig { returns(T.nilable(T.any(String, ::Stripe::Identity::VerificationReport))) }
|
19373
|
+
def verification_report; end
|
19374
|
+
# The verification session the BlocklistEntry was created from.
|
19375
|
+
sig { returns(T.nilable(T.any(String, ::Stripe::Identity::VerificationSession))) }
|
19376
|
+
def verification_session; end
|
19377
|
+
# Creates a BlocklistEntry object from a verification report.
|
19378
|
+
#
|
19379
|
+
# A blocklist entry prevents future identity verifications that match the same identity information.
|
19380
|
+
# You can create blocklist entries from verification reports that contain document extracted data
|
19381
|
+
# or a selfie.
|
19382
|
+
#
|
19383
|
+
# Related guide: [Identity Verification Blocklist](https://docs.stripe.com/docs/identity/review-tools#add-a-blocklist-entry)
|
19384
|
+
sig {
|
19385
|
+
params(params: T.any(::Stripe::Identity::BlocklistEntryCreateParams, T::Hash[T.untyped, T.untyped]), opts: T.untyped).returns(::Stripe::Identity::BlocklistEntry)
|
19386
|
+
}
|
19387
|
+
def self.create(params = {}, opts = {}); end
|
19388
|
+
|
19389
|
+
# Disables a BlocklistEntry object.
|
19390
|
+
#
|
19391
|
+
# After a BlocklistEntry is disabled, it will no longer block future verifications that match
|
19392
|
+
# the same information. This action is irreversible. To re-enable it, a new BlocklistEntry
|
19393
|
+
# must be created using the same verification report.
|
19394
|
+
#
|
19395
|
+
# Related guide: [Identity Verification Blocklist](https://docs.stripe.com/docs/identity/review-tools#disable-a-blocklist-entry)
|
19396
|
+
sig {
|
19397
|
+
params(params: T.any(::Stripe::Identity::BlocklistEntryDisableParams, T::Hash[T.untyped, T.untyped]), opts: T.untyped).returns(::Stripe::Identity::BlocklistEntry)
|
19398
|
+
}
|
19399
|
+
def disable(params = {}, opts = {}); end
|
19400
|
+
|
19401
|
+
# Disables a BlocklistEntry object.
|
19402
|
+
#
|
19403
|
+
# After a BlocklistEntry is disabled, it will no longer block future verifications that match
|
19404
|
+
# the same information. This action is irreversible. To re-enable it, a new BlocklistEntry
|
19405
|
+
# must be created using the same verification report.
|
19406
|
+
#
|
19407
|
+
# Related guide: [Identity Verification Blocklist](https://docs.stripe.com/docs/identity/review-tools#disable-a-blocklist-entry)
|
19408
|
+
sig {
|
19409
|
+
params(id: String, params: T.any(::Stripe::Identity::BlocklistEntryDisableParams, T::Hash[T.untyped, T.untyped]), opts: T.untyped).returns(::Stripe::Identity::BlocklistEntry)
|
19410
|
+
}
|
19411
|
+
def self.disable(id, params = {}, opts = {}); end
|
19412
|
+
|
19413
|
+
# Returns a list of BlocklistEntry objects associated with your account.
|
19414
|
+
#
|
19415
|
+
# The blocklist entries are returned sorted by creation date, with the most recently created
|
19416
|
+
# entries appearing first.
|
19417
|
+
#
|
19418
|
+
# Related guide: [Identity Verification Blocklist](https://docs.stripe.com/docs/identity/review-tools#block-list)
|
19419
|
+
sig {
|
19420
|
+
params(params: T.any(::Stripe::Identity::BlocklistEntryListParams, T::Hash[T.untyped, T.untyped]), opts: T.untyped).returns(::Stripe::ListObject)
|
19421
|
+
}
|
19422
|
+
def self.list(params = {}, opts = {}); end
|
19423
|
+
end
|
19424
|
+
end
|
19425
|
+
end
|
19426
|
+
# typed: true
|
19267
19427
|
module Stripe
|
19268
19428
|
module Identity
|
19269
19429
|
# A VerificationReport is the result of an attempt to collect and verify data from a user.
|
@@ -19415,6 +19575,9 @@ module Stripe
|
|
19415
19575
|
# Sex as it appears in the document.
|
19416
19576
|
sig { returns(T.nilable(String)) }
|
19417
19577
|
def unparsed_sex; end
|
19578
|
+
# If document was not verified due to extracted data being on the blocklist, this is the token of the BlocklistEntry that blocked it
|
19579
|
+
sig { returns(T.nilable(T.any(String, ::Stripe::Identity::BlocklistEntry))) }
|
19580
|
+
def blocked_by_entry; end
|
19418
19581
|
def self.inner_class_types
|
19419
19582
|
@inner_class_types = {
|
19420
19583
|
address: Address,
|
@@ -19619,6 +19782,9 @@ module Stripe
|
|
19619
19782
|
# Status of this `selfie` check.
|
19620
19783
|
sig { returns(String) }
|
19621
19784
|
def status; end
|
19785
|
+
# If selfie was not verified due to being on the blocklist, this is the token of the BlocklistEntry that blocked it
|
19786
|
+
sig { returns(T.nilable(T.any(String, ::Stripe::Identity::BlocklistEntry))) }
|
19787
|
+
def blocked_by_entry; end
|
19622
19788
|
def self.inner_class_types
|
19623
19789
|
@inner_class_types = {error: Error}
|
19624
19790
|
end
|
@@ -68426,6 +68592,7 @@ module Stripe
|
|
68426
68592
|
attr_reader :credit_notes
|
68427
68593
|
attr_reader :customers
|
68428
68594
|
attr_reader :customer_sessions
|
68595
|
+
attr_reader :delegated_checkout
|
68429
68596
|
attr_reader :disputes
|
68430
68597
|
attr_reader :entitlements
|
68431
68598
|
attr_reader :ephemeral_keys
|
@@ -69778,6 +69945,48 @@ module Stripe
|
|
69778
69945
|
end
|
69779
69946
|
end
|
69780
69947
|
# typed: true
|
69948
|
+
module Stripe
|
69949
|
+
class DelegatedCheckoutService < StripeService
|
69950
|
+
attr_reader :requested_sessions
|
69951
|
+
end
|
69952
|
+
end
|
69953
|
+
# typed: true
|
69954
|
+
module Stripe
|
69955
|
+
module DelegatedCheckout
|
69956
|
+
class RequestedSessionService < StripeService
|
69957
|
+
# Confirms a requested session
|
69958
|
+
sig {
|
69959
|
+
params(requested_session: String, params: T.any(::Stripe::DelegatedCheckout::RequestedSessionConfirmParams, T::Hash[T.untyped, T.untyped]), opts: T.untyped).returns(::Stripe::DelegatedCheckout::RequestedSession)
|
69960
|
+
}
|
69961
|
+
def confirm(requested_session, params = {}, opts = {}); end
|
69962
|
+
|
69963
|
+
# Creates a requested session
|
69964
|
+
sig {
|
69965
|
+
params(params: T.any(::Stripe::DelegatedCheckout::RequestedSessionCreateParams, T::Hash[T.untyped, T.untyped]), opts: T.untyped).returns(::Stripe::DelegatedCheckout::RequestedSession)
|
69966
|
+
}
|
69967
|
+
def create(params = {}, opts = {}); end
|
69968
|
+
|
69969
|
+
# Expires a requested session
|
69970
|
+
sig {
|
69971
|
+
params(requested_session: String, params: T.any(::Stripe::DelegatedCheckout::RequestedSessionExpireParams, T::Hash[T.untyped, T.untyped]), opts: T.untyped).returns(::Stripe::DelegatedCheckout::RequestedSession)
|
69972
|
+
}
|
69973
|
+
def expire(requested_session, params = {}, opts = {}); end
|
69974
|
+
|
69975
|
+
# Retrieves a requested session
|
69976
|
+
sig {
|
69977
|
+
params(requested_session: String, params: T.any(::Stripe::DelegatedCheckout::RequestedSessionRetrieveParams, T::Hash[T.untyped, T.untyped]), opts: T.untyped).returns(::Stripe::DelegatedCheckout::RequestedSession)
|
69978
|
+
}
|
69979
|
+
def retrieve(requested_session, params = {}, opts = {}); end
|
69980
|
+
|
69981
|
+
# Updates a requested session
|
69982
|
+
sig {
|
69983
|
+
params(requested_session: String, params: T.any(::Stripe::DelegatedCheckout::RequestedSessionUpdateParams, T::Hash[T.untyped, T.untyped]), opts: T.untyped).returns(::Stripe::DelegatedCheckout::RequestedSession)
|
69984
|
+
}
|
69985
|
+
def update(requested_session, params = {}, opts = {}); end
|
69986
|
+
end
|
69987
|
+
end
|
69988
|
+
end
|
69989
|
+
# typed: true
|
69781
69990
|
module Stripe
|
69782
69991
|
class DisputeService < StripeService
|
69783
69992
|
# Closing the dispute for a charge indicates that you do not have any evidence to submit and are essentially dismissing the dispute, acknowledging it as lost.
|
@@ -70195,11 +70404,61 @@ end
|
|
70195
70404
|
# typed: true
|
70196
70405
|
module Stripe
|
70197
70406
|
class IdentityService < StripeService
|
70407
|
+
attr_reader :blocklist_entries
|
70198
70408
|
attr_reader :verification_reports
|
70199
70409
|
attr_reader :verification_sessions
|
70200
70410
|
end
|
70201
70411
|
end
|
70202
70412
|
# typed: true
|
70413
|
+
module Stripe
|
70414
|
+
module Identity
|
70415
|
+
class BlocklistEntryService < StripeService
|
70416
|
+
# Creates a BlocklistEntry object from a verification report.
|
70417
|
+
#
|
70418
|
+
# A blocklist entry prevents future identity verifications that match the same identity information.
|
70419
|
+
# You can create blocklist entries from verification reports that contain document extracted data
|
70420
|
+
# or a selfie.
|
70421
|
+
#
|
70422
|
+
# Related guide: [Identity Verification Blocklist](https://docs.stripe.com/docs/identity/review-tools#add-a-blocklist-entry)
|
70423
|
+
sig {
|
70424
|
+
params(params: T.any(::Stripe::Identity::BlocklistEntryCreateParams, T::Hash[T.untyped, T.untyped]), opts: T.untyped).returns(::Stripe::Identity::BlocklistEntry)
|
70425
|
+
}
|
70426
|
+
def create(params = {}, opts = {}); end
|
70427
|
+
|
70428
|
+
# Disables a BlocklistEntry object.
|
70429
|
+
#
|
70430
|
+
# After a BlocklistEntry is disabled, it will no longer block future verifications that match
|
70431
|
+
# the same information. This action is irreversible. To re-enable it, a new BlocklistEntry
|
70432
|
+
# must be created using the same verification report.
|
70433
|
+
#
|
70434
|
+
# Related guide: [Identity Verification Blocklist](https://docs.stripe.com/docs/identity/review-tools#disable-a-blocklist-entry)
|
70435
|
+
sig {
|
70436
|
+
params(id: String, params: T.any(::Stripe::Identity::BlocklistEntryDisableParams, T::Hash[T.untyped, T.untyped]), opts: T.untyped).returns(::Stripe::Identity::BlocklistEntry)
|
70437
|
+
}
|
70438
|
+
def disable(id, params = {}, opts = {}); end
|
70439
|
+
|
70440
|
+
# Returns a list of BlocklistEntry objects associated with your account.
|
70441
|
+
#
|
70442
|
+
# The blocklist entries are returned sorted by creation date, with the most recently created
|
70443
|
+
# entries appearing first.
|
70444
|
+
#
|
70445
|
+
# Related guide: [Identity Verification Blocklist](https://docs.stripe.com/docs/identity/review-tools#block-list)
|
70446
|
+
sig {
|
70447
|
+
params(params: T.any(::Stripe::Identity::BlocklistEntryListParams, T::Hash[T.untyped, T.untyped]), opts: T.untyped).returns(::Stripe::ListObject)
|
70448
|
+
}
|
70449
|
+
def list(params = {}, opts = {}); end
|
70450
|
+
|
70451
|
+
# Retrieves a BlocklistEntry object by its identifier.
|
70452
|
+
#
|
70453
|
+
# Related guide: [Identity Verification Blocklist](https://docs.stripe.com/docs/identity/review-tools#block-list)
|
70454
|
+
sig {
|
70455
|
+
params(id: String, params: T.any(::Stripe::Identity::BlocklistEntryRetrieveParams, T::Hash[T.untyped, T.untyped]), opts: T.untyped).returns(::Stripe::Identity::BlocklistEntry)
|
70456
|
+
}
|
70457
|
+
def retrieve(id, params = {}, opts = {}); end
|
70458
|
+
end
|
70459
|
+
end
|
70460
|
+
end
|
70461
|
+
# typed: true
|
70203
70462
|
module Stripe
|
70204
70463
|
module Identity
|
70205
70464
|
class VerificationReportService < StripeService
|
@@ -97651,6 +97910,67 @@ module Stripe
|
|
97651
97910
|
end
|
97652
97911
|
end
|
97653
97912
|
# typed: true
|
97913
|
+
module Stripe
|
97914
|
+
module DelegatedCheckout
|
97915
|
+
class RequestedSessionUpdateParams < ::Stripe::RequestParams
|
97916
|
+
# Specifies which fields in the response should be expanded.
|
97917
|
+
sig { returns(T.nilable(T::Array[String])) }
|
97918
|
+
def expand; end
|
97919
|
+
sig { params(_expand: T.nilable(T::Array[String])).returns(T.nilable(T::Array[String])) }
|
97920
|
+
def expand=(_expand); end
|
97921
|
+
sig { params(expand: T.nilable(T::Array[String])).void }
|
97922
|
+
def initialize(expand: nil); end
|
97923
|
+
end
|
97924
|
+
end
|
97925
|
+
end
|
97926
|
+
# typed: true
|
97927
|
+
module Stripe
|
97928
|
+
module DelegatedCheckout
|
97929
|
+
class RequestedSessionCreateParams < ::Stripe::RequestParams
|
97930
|
+
# Specifies which fields in the response should be expanded.
|
97931
|
+
sig { returns(T.nilable(T::Array[String])) }
|
97932
|
+
def expand; end
|
97933
|
+
sig { params(_expand: T.nilable(T::Array[String])).returns(T.nilable(T::Array[String])) }
|
97934
|
+
def expand=(_expand); end
|
97935
|
+
sig { params(expand: T.nilable(T::Array[String])).void }
|
97936
|
+
def initialize(expand: nil); end
|
97937
|
+
end
|
97938
|
+
end
|
97939
|
+
end
|
97940
|
+
# typed: true
|
97941
|
+
module Stripe
|
97942
|
+
module DelegatedCheckout
|
97943
|
+
class RequestedSessionConfirmParams < ::Stripe::RequestParams
|
97944
|
+
# Specifies which fields in the response should be expanded.
|
97945
|
+
sig { returns(T.nilable(T::Array[String])) }
|
97946
|
+
def expand; end
|
97947
|
+
sig { params(_expand: T.nilable(T::Array[String])).returns(T.nilable(T::Array[String])) }
|
97948
|
+
def expand=(_expand); end
|
97949
|
+
# The PaymentMethod to use with the requested session.
|
97950
|
+
sig { returns(T.nilable(String)) }
|
97951
|
+
def payment_method; end
|
97952
|
+
sig { params(_payment_method: T.nilable(String)).returns(T.nilable(String)) }
|
97953
|
+
def payment_method=(_payment_method); end
|
97954
|
+
sig { params(expand: T.nilable(T::Array[String]), payment_method: T.nilable(String)).void }
|
97955
|
+
def initialize(expand: nil, payment_method: nil); end
|
97956
|
+
end
|
97957
|
+
end
|
97958
|
+
end
|
97959
|
+
# typed: true
|
97960
|
+
module Stripe
|
97961
|
+
module DelegatedCheckout
|
97962
|
+
class RequestedSessionExpireParams < ::Stripe::RequestParams
|
97963
|
+
# Specifies which fields in the response should be expanded.
|
97964
|
+
sig { returns(T.nilable(T::Array[String])) }
|
97965
|
+
def expand; end
|
97966
|
+
sig { params(_expand: T.nilable(T::Array[String])).returns(T.nilable(T::Array[String])) }
|
97967
|
+
def expand=(_expand); end
|
97968
|
+
sig { params(expand: T.nilable(T::Array[String])).void }
|
97969
|
+
def initialize(expand: nil); end
|
97970
|
+
end
|
97971
|
+
end
|
97972
|
+
end
|
97973
|
+
# typed: true
|
97654
97974
|
module Stripe
|
97655
97975
|
class DisputeListParams < ::Stripe::RequestParams
|
97656
97976
|
class Created < ::Stripe::RequestParams
|
@@ -99505,6 +99825,146 @@ module Stripe
|
|
99505
99825
|
end
|
99506
99826
|
end
|
99507
99827
|
# typed: true
|
99828
|
+
module Stripe
|
99829
|
+
module Identity
|
99830
|
+
class BlocklistEntryListParams < ::Stripe::RequestParams
|
99831
|
+
class Created < ::Stripe::RequestParams
|
99832
|
+
# Minimum value to filter by (exclusive)
|
99833
|
+
sig { returns(T.nilable(Integer)) }
|
99834
|
+
def gt; end
|
99835
|
+
sig { params(_gt: T.nilable(Integer)).returns(T.nilable(Integer)) }
|
99836
|
+
def gt=(_gt); end
|
99837
|
+
# Minimum value to filter by (inclusive)
|
99838
|
+
sig { returns(T.nilable(Integer)) }
|
99839
|
+
def gte; end
|
99840
|
+
sig { params(_gte: T.nilable(Integer)).returns(T.nilable(Integer)) }
|
99841
|
+
def gte=(_gte); end
|
99842
|
+
# Maximum value to filter by (exclusive)
|
99843
|
+
sig { returns(T.nilable(Integer)) }
|
99844
|
+
def lt; end
|
99845
|
+
sig { params(_lt: T.nilable(Integer)).returns(T.nilable(Integer)) }
|
99846
|
+
def lt=(_lt); end
|
99847
|
+
# Maximum value to filter by (inclusive)
|
99848
|
+
sig { returns(T.nilable(Integer)) }
|
99849
|
+
def lte; end
|
99850
|
+
sig { params(_lte: T.nilable(Integer)).returns(T.nilable(Integer)) }
|
99851
|
+
def lte=(_lte); end
|
99852
|
+
sig {
|
99853
|
+
params(gt: T.nilable(Integer), gte: T.nilable(Integer), lt: T.nilable(Integer), lte: T.nilable(Integer)).void
|
99854
|
+
}
|
99855
|
+
def initialize(gt: nil, gte: nil, lt: nil, lte: nil); end
|
99856
|
+
end
|
99857
|
+
# Only return BlocklistEntries that were created during the given date interval.
|
99858
|
+
sig { returns(T.nilable(T.any(Identity::BlocklistEntryListParams::Created, Integer))) }
|
99859
|
+
def created; end
|
99860
|
+
sig {
|
99861
|
+
params(_created: T.nilable(T.any(Identity::BlocklistEntryListParams::Created, Integer))).returns(T.nilable(T.any(Identity::BlocklistEntryListParams::Created, Integer)))
|
99862
|
+
}
|
99863
|
+
def created=(_created); end
|
99864
|
+
# A cursor for use in pagination. `ending_before` is an object ID that defines your place in the list. For instance, if you make a list request and receive 100 objects, starting with `obj_bar`, your subsequent call can include `ending_before=obj_bar` in order to fetch the previous page of the list.
|
99865
|
+
sig { returns(T.nilable(String)) }
|
99866
|
+
def ending_before; end
|
99867
|
+
sig { params(_ending_before: T.nilable(String)).returns(T.nilable(String)) }
|
99868
|
+
def ending_before=(_ending_before); end
|
99869
|
+
# Specifies which fields in the response should be expanded.
|
99870
|
+
sig { returns(T.nilable(T::Array[String])) }
|
99871
|
+
def expand; end
|
99872
|
+
sig { params(_expand: T.nilable(T::Array[String])).returns(T.nilable(T::Array[String])) }
|
99873
|
+
def expand=(_expand); end
|
99874
|
+
# A limit on the number of objects to be returned. Limit can range between 1 and 100, and the default is 10.
|
99875
|
+
sig { returns(T.nilable(Integer)) }
|
99876
|
+
def limit; end
|
99877
|
+
sig { params(_limit: T.nilable(Integer)).returns(T.nilable(Integer)) }
|
99878
|
+
def limit=(_limit); end
|
99879
|
+
# A cursor for use in pagination. `starting_after` is an object ID that defines your place in the list. For instance, if you make a list request and receive 100 objects, ending with `obj_foo`, your subsequent call can include `starting_after=obj_foo` in order to fetch the next page of the list.
|
99880
|
+
sig { returns(T.nilable(String)) }
|
99881
|
+
def starting_after; end
|
99882
|
+
sig { params(_starting_after: T.nilable(String)).returns(T.nilable(String)) }
|
99883
|
+
def starting_after=(_starting_after); end
|
99884
|
+
# Only return blocklist entries with the specified status.
|
99885
|
+
sig { returns(T.nilable(String)) }
|
99886
|
+
def status; end
|
99887
|
+
sig { params(_status: T.nilable(String)).returns(T.nilable(String)) }
|
99888
|
+
def status=(_status); end
|
99889
|
+
# Only return blocklist entries of the specified type.
|
99890
|
+
sig { returns(T.nilable(String)) }
|
99891
|
+
def type; end
|
99892
|
+
sig { params(_type: T.nilable(String)).returns(T.nilable(String)) }
|
99893
|
+
def type=(_type); end
|
99894
|
+
# Only return blocklist entries created from this verification report.
|
99895
|
+
sig { returns(T.nilable(String)) }
|
99896
|
+
def verification_report; end
|
99897
|
+
sig { params(_verification_report: T.nilable(String)).returns(T.nilable(String)) }
|
99898
|
+
def verification_report=(_verification_report); end
|
99899
|
+
sig {
|
99900
|
+
params(created: T.nilable(T.any(Identity::BlocklistEntryListParams::Created, Integer)), ending_before: T.nilable(String), expand: T.nilable(T::Array[String]), limit: T.nilable(Integer), starting_after: T.nilable(String), status: T.nilable(String), type: T.nilable(String), verification_report: T.nilable(String)).void
|
99901
|
+
}
|
99902
|
+
def initialize(
|
99903
|
+
created: nil,
|
99904
|
+
ending_before: nil,
|
99905
|
+
expand: nil,
|
99906
|
+
limit: nil,
|
99907
|
+
starting_after: nil,
|
99908
|
+
status: nil,
|
99909
|
+
type: nil,
|
99910
|
+
verification_report: nil
|
99911
|
+
); end
|
99912
|
+
end
|
99913
|
+
end
|
99914
|
+
end
|
99915
|
+
# typed: true
|
99916
|
+
module Stripe
|
99917
|
+
module Identity
|
99918
|
+
class BlocklistEntryCreateParams < ::Stripe::RequestParams
|
99919
|
+
# When true, the created BlocklistEntry will be used to retroactively unverify matching verifications.
|
99920
|
+
sig { returns(T.nilable(T::Boolean)) }
|
99921
|
+
def check_existing_verifications; end
|
99922
|
+
sig {
|
99923
|
+
params(_check_existing_verifications: T.nilable(T::Boolean)).returns(T.nilable(T::Boolean))
|
99924
|
+
}
|
99925
|
+
def check_existing_verifications=(_check_existing_verifications); end
|
99926
|
+
# The type of blocklist entry to be created.
|
99927
|
+
sig { returns(String) }
|
99928
|
+
def entry_type; end
|
99929
|
+
sig { params(_entry_type: String).returns(String) }
|
99930
|
+
def entry_type=(_entry_type); end
|
99931
|
+
# Specifies which fields in the response should be expanded.
|
99932
|
+
sig { returns(T.nilable(T::Array[String])) }
|
99933
|
+
def expand; end
|
99934
|
+
sig { params(_expand: T.nilable(T::Array[String])).returns(T.nilable(T::Array[String])) }
|
99935
|
+
def expand=(_expand); end
|
99936
|
+
# The identifier of the VerificationReport to create the BlocklistEntry from.
|
99937
|
+
sig { returns(String) }
|
99938
|
+
def verification_report; end
|
99939
|
+
sig { params(_verification_report: String).returns(String) }
|
99940
|
+
def verification_report=(_verification_report); end
|
99941
|
+
sig {
|
99942
|
+
params(check_existing_verifications: T.nilable(T::Boolean), entry_type: String, expand: T.nilable(T::Array[String]), verification_report: String).void
|
99943
|
+
}
|
99944
|
+
def initialize(
|
99945
|
+
check_existing_verifications: nil,
|
99946
|
+
entry_type: nil,
|
99947
|
+
expand: nil,
|
99948
|
+
verification_report: nil
|
99949
|
+
); end
|
99950
|
+
end
|
99951
|
+
end
|
99952
|
+
end
|
99953
|
+
# typed: true
|
99954
|
+
module Stripe
|
99955
|
+
module Identity
|
99956
|
+
class BlocklistEntryDisableParams < ::Stripe::RequestParams
|
99957
|
+
# Specifies which fields in the response should be expanded.
|
99958
|
+
sig { returns(T.nilable(T::Array[String])) }
|
99959
|
+
def expand; end
|
99960
|
+
sig { params(_expand: T.nilable(T::Array[String])).returns(T.nilable(T::Array[String])) }
|
99961
|
+
def expand=(_expand); end
|
99962
|
+
sig { params(expand: T.nilable(T::Array[String])).void }
|
99963
|
+
def initialize(expand: nil); end
|
99964
|
+
end
|
99965
|
+
end
|
99966
|
+
end
|
99967
|
+
# typed: true
|
99508
99968
|
module Stripe
|
99509
99969
|
module Identity
|
99510
99970
|
class VerificationReportListParams < ::Stripe::RequestParams
|
@@ -99534,6 +99994,11 @@ module Stripe
|
|
99534
99994
|
}
|
99535
99995
|
def initialize(gt: nil, gte: nil, lt: nil, lte: nil); end
|
99536
99996
|
end
|
99997
|
+
# Only return VerificationReports that were blocked by this BlocklistEntry id.
|
99998
|
+
sig { returns(T.nilable(String)) }
|
99999
|
+
def blocked_by_entry; end
|
100000
|
+
sig { params(_blocked_by_entry: T.nilable(String)).returns(T.nilable(String)) }
|
100001
|
+
def blocked_by_entry=(_blocked_by_entry); end
|
99537
100002
|
# A string to reference this user. This can be a customer ID, a session ID, or similar, and can be used to reconcile this verification with your internal systems.
|
99538
100003
|
sig { returns(T.nilable(String)) }
|
99539
100004
|
def client_reference_id; end
|
@@ -99577,9 +100042,10 @@ module Stripe
|
|
99577
100042
|
sig { params(_verification_session: T.nilable(String)).returns(T.nilable(String)) }
|
99578
100043
|
def verification_session=(_verification_session); end
|
99579
100044
|
sig {
|
99580
|
-
params(client_reference_id: T.nilable(String), created: T.nilable(T.any(Identity::VerificationReportListParams::Created, Integer)), ending_before: T.nilable(String), expand: T.nilable(T::Array[String]), limit: T.nilable(Integer), starting_after: T.nilable(String), type: T.nilable(String), verification_session: T.nilable(String)).void
|
100045
|
+
params(blocked_by_entry: T.nilable(String), client_reference_id: T.nilable(String), created: T.nilable(T.any(Identity::VerificationReportListParams::Created, Integer)), ending_before: T.nilable(String), expand: T.nilable(T::Array[String]), limit: T.nilable(Integer), starting_after: T.nilable(String), type: T.nilable(String), verification_session: T.nilable(String)).void
|
99581
100046
|
}
|
99582
100047
|
def initialize(
|
100048
|
+
blocked_by_entry: nil,
|
99583
100049
|
client_reference_id: nil,
|
99584
100050
|
created: nil,
|
99585
100051
|
ending_before: nil,
|
@@ -182533,6 +182999,20 @@ module Stripe
|
|
182533
182999
|
end
|
182534
183000
|
end
|
182535
183001
|
# typed: true
|
183002
|
+
module Stripe
|
183003
|
+
module DelegatedCheckout
|
183004
|
+
class RequestedSessionRetrieveParams < ::Stripe::RequestParams
|
183005
|
+
# Specifies which fields in the response should be expanded.
|
183006
|
+
sig { returns(T.nilable(T::Array[String])) }
|
183007
|
+
def expand; end
|
183008
|
+
sig { params(_expand: T.nilable(T::Array[String])).returns(T.nilable(T::Array[String])) }
|
183009
|
+
def expand=(_expand); end
|
183010
|
+
sig { params(expand: T.nilable(T::Array[String])).void }
|
183011
|
+
def initialize(expand: nil); end
|
183012
|
+
end
|
183013
|
+
end
|
183014
|
+
end
|
183015
|
+
# typed: true
|
182536
183016
|
module Stripe
|
182537
183017
|
class DisputeRetrieveParams < ::Stripe::RequestParams
|
182538
183018
|
# Specifies which fields in the response should be expanded.
|
@@ -183228,6 +183708,20 @@ module Stripe
|
|
183228
183708
|
end
|
183229
183709
|
end
|
183230
183710
|
# typed: true
|
183711
|
+
module Stripe
|
183712
|
+
module Identity
|
183713
|
+
class BlocklistEntryRetrieveParams < ::Stripe::RequestParams
|
183714
|
+
# Specifies which fields in the response should be expanded.
|
183715
|
+
sig { returns(T.nilable(T::Array[String])) }
|
183716
|
+
def expand; end
|
183717
|
+
sig { params(_expand: T.nilable(T::Array[String])).returns(T.nilable(T::Array[String])) }
|
183718
|
+
def expand=(_expand); end
|
183719
|
+
sig { params(expand: T.nilable(T::Array[String])).void }
|
183720
|
+
def initialize(expand: nil); end
|
183721
|
+
end
|
183722
|
+
end
|
183723
|
+
end
|
183724
|
+
# typed: true
|
183231
183725
|
module Stripe
|
183232
183726
|
module Identity
|
183233
183727
|
class VerificationReportRetrieveParams < ::Stripe::RequestParams
|
metadata
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: stripe
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 17.1.0.pre.alpha.
|
4
|
+
version: 17.1.0.pre.alpha.3
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Stripe
|
@@ -512,6 +512,11 @@ files:
|
|
512
512
|
- lib/stripe/params/customer_tax_id_list_params.rb
|
513
513
|
- lib/stripe/params/customer_tax_id_retrieve_params.rb
|
514
514
|
- lib/stripe/params/customer_update_params.rb
|
515
|
+
- lib/stripe/params/delegated_checkout/requested_session_confirm_params.rb
|
516
|
+
- lib/stripe/params/delegated_checkout/requested_session_create_params.rb
|
517
|
+
- lib/stripe/params/delegated_checkout/requested_session_expire_params.rb
|
518
|
+
- lib/stripe/params/delegated_checkout/requested_session_retrieve_params.rb
|
519
|
+
- lib/stripe/params/delegated_checkout/requested_session_update_params.rb
|
515
520
|
- lib/stripe/params/dispute_close_params.rb
|
516
521
|
- lib/stripe/params/dispute_list_params.rb
|
517
522
|
- lib/stripe/params/dispute_retrieve_params.rb
|
@@ -562,6 +567,10 @@ files:
|
|
562
567
|
- lib/stripe/params/fx_quote_create_params.rb
|
563
568
|
- lib/stripe/params/fx_quote_list_params.rb
|
564
569
|
- lib/stripe/params/fx_quote_retrieve_params.rb
|
570
|
+
- lib/stripe/params/identity/blocklist_entry_create_params.rb
|
571
|
+
- lib/stripe/params/identity/blocklist_entry_disable_params.rb
|
572
|
+
- lib/stripe/params/identity/blocklist_entry_list_params.rb
|
573
|
+
- lib/stripe/params/identity/blocklist_entry_retrieve_params.rb
|
565
574
|
- lib/stripe/params/identity/verification_report_list_params.rb
|
566
575
|
- lib/stripe/params/identity/verification_report_retrieve_params.rb
|
567
576
|
- lib/stripe/params/identity/verification_session_cancel_params.rb
|
@@ -1234,6 +1243,7 @@ files:
|
|
1234
1243
|
- lib/stripe/resources/customer_balance_transaction.rb
|
1235
1244
|
- lib/stripe/resources/customer_cash_balance_transaction.rb
|
1236
1245
|
- lib/stripe/resources/customer_session.rb
|
1246
|
+
- lib/stripe/resources/delegated_checkout/requested_session.rb
|
1237
1247
|
- lib/stripe/resources/discount.rb
|
1238
1248
|
- lib/stripe/resources/dispute.rb
|
1239
1249
|
- lib/stripe/resources/entitlements/active_entitlement.rb
|
@@ -1254,6 +1264,7 @@ files:
|
|
1254
1264
|
- lib/stripe/resources/forwarding/request.rb
|
1255
1265
|
- lib/stripe/resources/funding_instructions.rb
|
1256
1266
|
- lib/stripe/resources/fx_quote.rb
|
1267
|
+
- lib/stripe/resources/identity/blocklist_entry.rb
|
1257
1268
|
- lib/stripe/resources/identity/verification_report.rb
|
1258
1269
|
- lib/stripe/resources/identity/verification_session.rb
|
1259
1270
|
- lib/stripe/resources/invoice.rb
|
@@ -1469,6 +1480,8 @@ files:
|
|
1469
1480
|
- lib/stripe/services/customer_service.rb
|
1470
1481
|
- lib/stripe/services/customer_session_service.rb
|
1471
1482
|
- lib/stripe/services/customer_tax_id_service.rb
|
1483
|
+
- lib/stripe/services/delegated_checkout/requested_session_service.rb
|
1484
|
+
- lib/stripe/services/delegated_checkout_service.rb
|
1472
1485
|
- lib/stripe/services/dispute_service.rb
|
1473
1486
|
- lib/stripe/services/entitlements/active_entitlement_service.rb
|
1474
1487
|
- lib/stripe/services/entitlements/feature_service.rb
|
@@ -1489,6 +1502,7 @@ files:
|
|
1489
1502
|
- lib/stripe/services/forwarding/request_service.rb
|
1490
1503
|
- lib/stripe/services/forwarding_service.rb
|
1491
1504
|
- lib/stripe/services/fx_quote_service.rb
|
1505
|
+
- lib/stripe/services/identity/blocklist_entry_service.rb
|
1492
1506
|
- lib/stripe/services/identity/verification_report_service.rb
|
1493
1507
|
- lib/stripe/services/identity/verification_session_service.rb
|
1494
1508
|
- lib/stripe/services/identity_service.rb
|