stripe 21.2.0.pre.alpha.1 → 21.2.0.pre.alpha.2
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/api_operations/singleton_save.rb +4 -4
- data/lib/stripe/api_version.rb +1 -1
- data/lib/stripe/event_types.rb +22 -0
- data/lib/stripe/events/v2_money_management_dispute_adjustment_created_event.rb +44 -0
- data/lib/stripe/events/v2_money_management_dispute_created_event.rb +44 -0
- data/lib/stripe/events/v2_money_management_dispute_lost_event.rb +44 -0
- data/lib/stripe/events/v2_money_management_dispute_updated_event.rb +44 -0
- data/lib/stripe/events/v2_money_management_dispute_won_event.rb +44 -0
- data/lib/stripe/events/v2_risk_evaluation_outcome_delinquency_ready_event.rb +44 -0
- data/lib/stripe/object_types.rb +3 -0
- data/lib/stripe/params/balance_transaction_list_params.rb +2 -2
- data/lib/stripe/params/billing_portal/session_create_params.rb +13 -0
- data/lib/stripe/params/checkout/session_create_params.rb +208 -4
- data/lib/stripe/params/crypto/onramp_session_checkout_params.rb +37 -1
- data/lib/stripe/params/crypto/onramp_session_create_params.rb +4 -0
- data/lib/stripe/params/customer_create_params.rb +7 -1
- data/lib/stripe/params/customer_update_params.rb +7 -1
- data/lib/stripe/params/invoice_rendering_template_create_params.rb +14 -2
- data/lib/stripe/params/invoice_rendering_template_update_params.rb +14 -2
- data/lib/stripe/params/issuing/authorization_create_params.rb +1 -1
- data/lib/stripe/params/payment_intent_confirm_params.rb +96 -4
- data/lib/stripe/params/payment_intent_create_params.rb +96 -4
- data/lib/stripe/params/payment_intent_update_params.rb +96 -4
- data/lib/stripe/params/payment_method_configuration_create_params.rb +63 -0
- data/lib/stripe/params/payment_method_configuration_update_params.rb +63 -0
- data/lib/stripe/params/tax/calculation_create_params.rb +1 -1
- data/lib/stripe/params/terminal/configuration_create_params.rb +1 -1
- data/lib/stripe/params/terminal/configuration_update_params.rb +1 -1
- data/lib/stripe/params/terminal/reader_refund_payment_params.rb +15 -1
- data/lib/stripe/params/test_helpers/issuing/authorization_create_params.rb +1 -1
- data/lib/stripe/params/v2/billing/contract_create_params.rb +182 -9
- data/lib/stripe/params/v2/billing/contract_update_params.rb +328 -16
- data/lib/stripe/params/v2/core/account_create_params.rb +432 -3
- data/lib/stripe/params/v2/core/account_token_create_params.rb +4 -1
- data/lib/stripe/params/v2/core/account_update_params.rb +436 -4
- data/lib/stripe/params/v2/core/fee_batch_list_params.rb +7 -1
- data/lib/stripe/params/v2/money_management/dispute_adjustment_list_params.rb +23 -0
- data/lib/stripe/params/v2/money_management/dispute_adjustment_retrieve_params.rb +10 -0
- data/lib/stripe/params/v2/money_management/dispute_create_params.rb +37 -0
- data/lib/stripe/params/v2/money_management/dispute_list_params.rb +26 -0
- data/lib/stripe/params/v2/money_management/dispute_retrieve_params.rb +10 -0
- data/lib/stripe/params/v2/money_management/financial_account_update_params.rb +41 -1
- data/lib/stripe/params/v2/money_management/inbound_transfer_mandate_create_params.rb +24 -8
- data/lib/stripe/params/v2/money_management/spending_mandate_create_params.rb +51 -0
- data/lib/stripe/params/v2/money_management/spending_mandate_list_params.rb +4 -1
- data/lib/stripe/params/v2/money_management/spending_mandate_update_params.rb +39 -0
- data/lib/stripe/params/v2/money_management/test_helpers/financial_address_debit_params.rb +20 -1
- data/lib/stripe/params/v2/risk/evaluation_outcome_list_params.rb +34 -0
- data/lib/stripe/params/v2/risk/evaluation_outcome_retrieve_params.rb +10 -0
- data/lib/stripe/params/v2/test_helpers/money_management/inbound_transfer_fail_params.rb +19 -0
- data/lib/stripe/params/v2/test_helpers/money_management/inbound_transfer_succeed_params.rb +12 -0
- data/lib/stripe/params.rb +27 -5
- data/lib/stripe/resources/billing_portal/session.rb +16 -0
- data/lib/stripe/resources/cash_balance.rb +1 -1
- data/lib/stripe/resources/charge.rb +32 -0
- data/lib/stripe/resources/checkout/session.rb +65 -2
- data/lib/stripe/resources/confirmation_token.rb +54 -2
- data/lib/stripe/resources/customer.rb +4 -0
- data/lib/stripe/resources/customer_tax_exemption.rb +2 -0
- data/lib/stripe/resources/dispute.rb +4 -0
- data/lib/stripe/resources/identity/verification_report.rb +34 -0
- data/lib/stripe/resources/invoice.rb +0 -30
- data/lib/stripe/resources/invoice_rendering_template.rb +19 -1
- data/lib/stripe/resources/issuing/authorization.rb +18 -0
- data/lib/stripe/resources/issuing/card.rb +28 -0
- data/lib/stripe/resources/issuing/transaction.rb +18 -0
- data/lib/stripe/resources/mandate.rb +65 -0
- data/lib/stripe/resources/payment_attempt_record.rb +46 -0
- data/lib/stripe/resources/payment_intent.rb +113 -103
- data/lib/stripe/resources/payment_link.rb +2 -0
- data/lib/stripe/resources/payment_method.rb +53 -1
- data/lib/stripe/resources/payment_method_configuration.rb +102 -0
- data/lib/stripe/resources/payment_record.rb +46 -0
- data/lib/stripe/resources/quote_preview_invoice.rb +0 -30
- data/lib/stripe/resources/radar/account_evaluation.rb +36 -2
- data/lib/stripe/resources/reserve/plan.rb +1 -1
- data/lib/stripe/resources/risk/form.rb +44 -1
- data/lib/stripe/resources/setup_attempt.rb +91 -0
- data/lib/stripe/resources/setup_intent.rb +1 -1
- data/lib/stripe/resources/source.rb +2 -2
- data/lib/stripe/resources/subscription.rb +0 -20
- data/lib/stripe/resources/tax/calculation.rb +1 -1
- data/lib/stripe/resources/tax/form.rb +6 -0
- data/lib/stripe/resources/tax/transaction.rb +1 -1
- data/lib/stripe/resources/terminal/configuration.rb +1 -1
- data/lib/stripe/resources/terminal/onboarding_link.rb +2 -1
- data/lib/stripe/resources/terminal/reader.rb +17 -1
- data/lib/stripe/resources/test_helpers/test_clock.rb +1 -1
- data/lib/stripe/resources/three_d_secure/authentication.rb +1 -1
- data/lib/stripe/resources/v2/billing/contract.rb +285 -6
- data/lib/stripe/resources/v2/billing/contract_term.rb +133 -6
- data/lib/stripe/resources/v2/core/account.rb +2709 -322
- data/lib/stripe/resources/v2/core/fee_batch.rb +3 -0
- data/lib/stripe/resources/v2/core/fee_entry.rb +33 -3
- data/lib/stripe/resources/v2/money_management/dispute.rb +78 -0
- data/lib/stripe/resources/v2/money_management/dispute_adjustment.rb +53 -0
- data/lib/stripe/resources/v2/money_management/financial_account.rb +45 -0
- data/lib/stripe/resources/v2/money_management/inbound_transfer_mandate.rb +6 -4
- data/lib/stripe/resources/v2/money_management/received_debit.rb +27 -1
- data/lib/stripe/resources/v2/money_management/spending_mandate.rb +18 -2
- data/lib/stripe/resources/v2/money_management/transaction.rb +2 -0
- data/lib/stripe/resources/v2/money_management/transaction_entry.rb +2 -0
- data/lib/stripe/resources/v2/risk/evaluation_outcome.rb +305 -0
- data/lib/stripe/resources/v2/signals/account_evaluation.rb +34 -0
- data/lib/stripe/resources/v2/signals/account_signal.rb +23 -0
- data/lib/stripe/resources.rb +30 -0
- data/lib/stripe/services/checkout/session_service.rb +1 -1
- data/lib/stripe/services/payment_intent_service.rb +0 -11
- data/lib/stripe/services/risk/form_service.rb +44 -1
- data/lib/stripe/services/subscription_service.rb +0 -11
- data/lib/stripe/services/terminal/onboarding_link_service.rb +1 -0
- data/lib/stripe/services/test_helpers/confirmation_token_service.rb +1 -1
- data/lib/stripe/services/v2/core/fee_batch_service.rb +4 -1
- data/lib/stripe/services/v2/core/fee_entry_service.rb +3 -1
- data/lib/stripe/services/v2/money_management/debit_dispute_service.rb +1 -0
- data/lib/stripe/services/v2/money_management/dispute_adjustment_service.rb +32 -0
- data/lib/stripe/services/v2/money_management/dispute_service.rb +46 -0
- data/lib/stripe/services/v2/money_management/inbound_transfer_mandate_service.rb +6 -3
- data/lib/stripe/services/v2/money_management/spending_mandate_service.rb +26 -0
- data/lib/stripe/services/v2/money_management_service.rb +3 -1
- data/lib/stripe/services/v2/risk/evaluation_outcome_service.rb +32 -0
- data/lib/stripe/services/v2/risk_service.rb +2 -1
- data/lib/stripe/services/v2/test_helpers/money_management/inbound_transfer_service.rb +34 -0
- data/lib/stripe/services/v2/test_helpers/money_management_service.rb +8 -0
- data/lib/stripe/services.rb +11 -0
- data/lib/stripe/stripe_client.rb +1 -1
- data/lib/stripe/stripe_event_notification_handler.rb +24 -0
- data/lib/stripe/stripe_object.rb +14 -4
- data/lib/stripe/util.rb +21 -2
- data/lib/stripe/v2_type_coercion.rb +6 -2
- data/lib/stripe/version.rb +1 -1
- data/lib/stripe/webhook.rb +1 -0
- data/rbi/stripe.rbi +8211 -782
- metadata +26 -4
- data/lib/stripe/params/payment_intent_update_crypto_refund_address_params.rb +0 -19
- data/lib/stripe/params/subscription_attach_cadence_params.rb +0 -16
|
@@ -3379,6 +3379,34 @@ module Stripe
|
|
|
3379
3379
|
end
|
|
3380
3380
|
end
|
|
3381
3381
|
|
|
3382
|
+
class Chf < ::Stripe::RequestParams
|
|
3383
|
+
class Protections < ::Stripe::RequestParams
|
|
3384
|
+
class PspMigration < ::Stripe::RequestParams
|
|
3385
|
+
# To request a protection, pass true.
|
|
3386
|
+
attr_accessor :requested
|
|
3387
|
+
|
|
3388
|
+
def initialize(requested: nil)
|
|
3389
|
+
@requested = requested
|
|
3390
|
+
end
|
|
3391
|
+
end
|
|
3392
|
+
# Parameter to request psp_migration protection.
|
|
3393
|
+
attr_accessor :psp_migration
|
|
3394
|
+
|
|
3395
|
+
def initialize(psp_migration: nil)
|
|
3396
|
+
@psp_migration = psp_migration
|
|
3397
|
+
end
|
|
3398
|
+
end
|
|
3399
|
+
# Protection types to request for this capability (e.g. "psp_migration").
|
|
3400
|
+
attr_accessor :protections
|
|
3401
|
+
# To request a new Capability for an account, pass true. There can be a delay before the requested Capability becomes active.
|
|
3402
|
+
attr_accessor :requested
|
|
3403
|
+
|
|
3404
|
+
def initialize(protections: nil, requested: nil)
|
|
3405
|
+
@protections = protections
|
|
3406
|
+
@requested = requested
|
|
3407
|
+
end
|
|
3408
|
+
end
|
|
3409
|
+
|
|
3382
3410
|
class Czk < ::Stripe::RequestParams
|
|
3383
3411
|
class Protections < ::Stripe::RequestParams
|
|
3384
3412
|
class PspMigration < ::Stripe::RequestParams
|
|
@@ -3463,6 +3491,90 @@ module Stripe
|
|
|
3463
3491
|
end
|
|
3464
3492
|
end
|
|
3465
3493
|
|
|
3494
|
+
class Hkd < ::Stripe::RequestParams
|
|
3495
|
+
class Protections < ::Stripe::RequestParams
|
|
3496
|
+
class PspMigration < ::Stripe::RequestParams
|
|
3497
|
+
# To request a protection, pass true.
|
|
3498
|
+
attr_accessor :requested
|
|
3499
|
+
|
|
3500
|
+
def initialize(requested: nil)
|
|
3501
|
+
@requested = requested
|
|
3502
|
+
end
|
|
3503
|
+
end
|
|
3504
|
+
# Parameter to request psp_migration protection.
|
|
3505
|
+
attr_accessor :psp_migration
|
|
3506
|
+
|
|
3507
|
+
def initialize(psp_migration: nil)
|
|
3508
|
+
@psp_migration = psp_migration
|
|
3509
|
+
end
|
|
3510
|
+
end
|
|
3511
|
+
# Protection types to request for this capability (e.g. "psp_migration").
|
|
3512
|
+
attr_accessor :protections
|
|
3513
|
+
# To request a new Capability for an account, pass true. There can be a delay before the requested Capability becomes active.
|
|
3514
|
+
attr_accessor :requested
|
|
3515
|
+
|
|
3516
|
+
def initialize(protections: nil, requested: nil)
|
|
3517
|
+
@protections = protections
|
|
3518
|
+
@requested = requested
|
|
3519
|
+
end
|
|
3520
|
+
end
|
|
3521
|
+
|
|
3522
|
+
class Huf < ::Stripe::RequestParams
|
|
3523
|
+
class Protections < ::Stripe::RequestParams
|
|
3524
|
+
class PspMigration < ::Stripe::RequestParams
|
|
3525
|
+
# To request a protection, pass true.
|
|
3526
|
+
attr_accessor :requested
|
|
3527
|
+
|
|
3528
|
+
def initialize(requested: nil)
|
|
3529
|
+
@requested = requested
|
|
3530
|
+
end
|
|
3531
|
+
end
|
|
3532
|
+
# Parameter to request psp_migration protection.
|
|
3533
|
+
attr_accessor :psp_migration
|
|
3534
|
+
|
|
3535
|
+
def initialize(psp_migration: nil)
|
|
3536
|
+
@psp_migration = psp_migration
|
|
3537
|
+
end
|
|
3538
|
+
end
|
|
3539
|
+
# Protection types to request for this capability (e.g. "psp_migration").
|
|
3540
|
+
attr_accessor :protections
|
|
3541
|
+
# To request a new Capability for an account, pass true. There can be a delay before the requested Capability becomes active.
|
|
3542
|
+
attr_accessor :requested
|
|
3543
|
+
|
|
3544
|
+
def initialize(protections: nil, requested: nil)
|
|
3545
|
+
@protections = protections
|
|
3546
|
+
@requested = requested
|
|
3547
|
+
end
|
|
3548
|
+
end
|
|
3549
|
+
|
|
3550
|
+
class Jpy < ::Stripe::RequestParams
|
|
3551
|
+
class Protections < ::Stripe::RequestParams
|
|
3552
|
+
class PspMigration < ::Stripe::RequestParams
|
|
3553
|
+
# To request a protection, pass true.
|
|
3554
|
+
attr_accessor :requested
|
|
3555
|
+
|
|
3556
|
+
def initialize(requested: nil)
|
|
3557
|
+
@requested = requested
|
|
3558
|
+
end
|
|
3559
|
+
end
|
|
3560
|
+
# Parameter to request psp_migration protection.
|
|
3561
|
+
attr_accessor :psp_migration
|
|
3562
|
+
|
|
3563
|
+
def initialize(psp_migration: nil)
|
|
3564
|
+
@psp_migration = psp_migration
|
|
3565
|
+
end
|
|
3566
|
+
end
|
|
3567
|
+
# Protection types to request for this capability (e.g. "psp_migration").
|
|
3568
|
+
attr_accessor :protections
|
|
3569
|
+
# To request a new Capability for an account, pass true. There can be a delay before the requested Capability becomes active.
|
|
3570
|
+
attr_accessor :requested
|
|
3571
|
+
|
|
3572
|
+
def initialize(protections: nil, requested: nil)
|
|
3573
|
+
@protections = protections
|
|
3574
|
+
@requested = requested
|
|
3575
|
+
end
|
|
3576
|
+
end
|
|
3577
|
+
|
|
3466
3578
|
class Nok < ::Stripe::RequestParams
|
|
3467
3579
|
class Protections < ::Stripe::RequestParams
|
|
3468
3580
|
class PspMigration < ::Stripe::RequestParams
|
|
@@ -3547,6 +3659,34 @@ module Stripe
|
|
|
3547
3659
|
end
|
|
3548
3660
|
end
|
|
3549
3661
|
|
|
3662
|
+
class Ron < ::Stripe::RequestParams
|
|
3663
|
+
class Protections < ::Stripe::RequestParams
|
|
3664
|
+
class PspMigration < ::Stripe::RequestParams
|
|
3665
|
+
# To request a protection, pass true.
|
|
3666
|
+
attr_accessor :requested
|
|
3667
|
+
|
|
3668
|
+
def initialize(requested: nil)
|
|
3669
|
+
@requested = requested
|
|
3670
|
+
end
|
|
3671
|
+
end
|
|
3672
|
+
# Parameter to request psp_migration protection.
|
|
3673
|
+
attr_accessor :psp_migration
|
|
3674
|
+
|
|
3675
|
+
def initialize(psp_migration: nil)
|
|
3676
|
+
@psp_migration = psp_migration
|
|
3677
|
+
end
|
|
3678
|
+
end
|
|
3679
|
+
# Protection types to request for this capability (e.g. "psp_migration").
|
|
3680
|
+
attr_accessor :protections
|
|
3681
|
+
# To request a new Capability for an account, pass true. There can be a delay before the requested Capability becomes active.
|
|
3682
|
+
attr_accessor :requested
|
|
3683
|
+
|
|
3684
|
+
def initialize(protections: nil, requested: nil)
|
|
3685
|
+
@protections = protections
|
|
3686
|
+
@requested = requested
|
|
3687
|
+
end
|
|
3688
|
+
end
|
|
3689
|
+
|
|
3550
3690
|
class Sek < ::Stripe::RequestParams
|
|
3551
3691
|
class Protections < ::Stripe::RequestParams
|
|
3552
3692
|
class PspMigration < ::Stripe::RequestParams
|
|
@@ -3630,53 +3770,105 @@ module Stripe
|
|
|
3630
3770
|
@requested = requested
|
|
3631
3771
|
end
|
|
3632
3772
|
end
|
|
3773
|
+
|
|
3774
|
+
class Zar < ::Stripe::RequestParams
|
|
3775
|
+
class Protections < ::Stripe::RequestParams
|
|
3776
|
+
class PspMigration < ::Stripe::RequestParams
|
|
3777
|
+
# To request a protection, pass true.
|
|
3778
|
+
attr_accessor :requested
|
|
3779
|
+
|
|
3780
|
+
def initialize(requested: nil)
|
|
3781
|
+
@requested = requested
|
|
3782
|
+
end
|
|
3783
|
+
end
|
|
3784
|
+
# Parameter to request psp_migration protection.
|
|
3785
|
+
attr_accessor :psp_migration
|
|
3786
|
+
|
|
3787
|
+
def initialize(psp_migration: nil)
|
|
3788
|
+
@psp_migration = psp_migration
|
|
3789
|
+
end
|
|
3790
|
+
end
|
|
3791
|
+
# Protection types to request for this capability (e.g. "psp_migration").
|
|
3792
|
+
attr_accessor :protections
|
|
3793
|
+
# To request a new Capability for an account, pass true. There can be a delay before the requested Capability becomes active.
|
|
3794
|
+
attr_accessor :requested
|
|
3795
|
+
|
|
3796
|
+
def initialize(protections: nil, requested: nil)
|
|
3797
|
+
@protections = protections
|
|
3798
|
+
@requested = requested
|
|
3799
|
+
end
|
|
3800
|
+
end
|
|
3633
3801
|
# Can receive business storage-type funds on Stripe in AUD.
|
|
3634
3802
|
attr_accessor :aud
|
|
3635
3803
|
# Can receive business storage-type funds on Stripe in CAD.
|
|
3636
3804
|
attr_accessor :cad
|
|
3805
|
+
# Can receive business storage-type funds on Stripe in CHF.
|
|
3806
|
+
attr_accessor :chf
|
|
3637
3807
|
# Can receive business storage-type funds on Stripe in CZK.
|
|
3638
3808
|
attr_accessor :czk
|
|
3639
3809
|
# Can receive business storage-type funds on Stripe in EUR.
|
|
3640
3810
|
attr_accessor :eur
|
|
3641
3811
|
# Can receive business storage-type funds on Stripe in GBP.
|
|
3642
3812
|
attr_accessor :gbp
|
|
3813
|
+
# Can receive business storage-type funds on Stripe in HKD.
|
|
3814
|
+
attr_accessor :hkd
|
|
3815
|
+
# Can receive business storage-type funds on Stripe in HUF.
|
|
3816
|
+
attr_accessor :huf
|
|
3817
|
+
# Can receive business storage-type funds on Stripe in JPY.
|
|
3818
|
+
attr_accessor :jpy
|
|
3643
3819
|
# Can receive business storage-type funds on Stripe in NOK.
|
|
3644
3820
|
attr_accessor :nok
|
|
3645
3821
|
# Can receive business storage-type funds on Stripe in OUSD.
|
|
3646
3822
|
attr_accessor :ousd
|
|
3647
3823
|
# Can receive business storage-type funds on Stripe in PLN.
|
|
3648
3824
|
attr_accessor :pln
|
|
3825
|
+
# Can receive business storage-type funds on Stripe in RON.
|
|
3826
|
+
attr_accessor :ron
|
|
3649
3827
|
# Can receive business storage-type funds on Stripe in SEK.
|
|
3650
3828
|
attr_accessor :sek
|
|
3651
3829
|
# Can receive business storage-type funds on Stripe in USD.
|
|
3652
3830
|
attr_accessor :usd
|
|
3653
3831
|
# Can receive business storage-type funds on Stripe in USDC.
|
|
3654
3832
|
attr_accessor :usdc
|
|
3833
|
+
# Can receive business storage-type funds on Stripe in ZAR.
|
|
3834
|
+
attr_accessor :zar
|
|
3655
3835
|
|
|
3656
3836
|
def initialize(
|
|
3657
3837
|
aud: nil,
|
|
3658
3838
|
cad: nil,
|
|
3839
|
+
chf: nil,
|
|
3659
3840
|
czk: nil,
|
|
3660
3841
|
eur: nil,
|
|
3661
3842
|
gbp: nil,
|
|
3843
|
+
hkd: nil,
|
|
3844
|
+
huf: nil,
|
|
3845
|
+
jpy: nil,
|
|
3662
3846
|
nok: nil,
|
|
3663
3847
|
ousd: nil,
|
|
3664
3848
|
pln: nil,
|
|
3849
|
+
ron: nil,
|
|
3665
3850
|
sek: nil,
|
|
3666
3851
|
usd: nil,
|
|
3667
|
-
usdc: nil
|
|
3852
|
+
usdc: nil,
|
|
3853
|
+
zar: nil
|
|
3668
3854
|
)
|
|
3669
3855
|
@aud = aud
|
|
3670
3856
|
@cad = cad
|
|
3857
|
+
@chf = chf
|
|
3671
3858
|
@czk = czk
|
|
3672
3859
|
@eur = eur
|
|
3673
3860
|
@gbp = gbp
|
|
3861
|
+
@hkd = hkd
|
|
3862
|
+
@huf = huf
|
|
3863
|
+
@jpy = jpy
|
|
3674
3864
|
@nok = nok
|
|
3675
3865
|
@ousd = ousd
|
|
3676
3866
|
@pln = pln
|
|
3867
|
+
@ron = ron
|
|
3677
3868
|
@sek = sek
|
|
3678
3869
|
@usd = usd
|
|
3679
3870
|
@usdc = usdc
|
|
3871
|
+
@zar = zar
|
|
3680
3872
|
end
|
|
3681
3873
|
end
|
|
3682
3874
|
|
|
@@ -3737,6 +3929,34 @@ module Stripe
|
|
|
3737
3929
|
end
|
|
3738
3930
|
end
|
|
3739
3931
|
|
|
3932
|
+
class Chf < ::Stripe::RequestParams
|
|
3933
|
+
class Protections < ::Stripe::RequestParams
|
|
3934
|
+
class PspMigration < ::Stripe::RequestParams
|
|
3935
|
+
# To request a protection, pass true.
|
|
3936
|
+
attr_accessor :requested
|
|
3937
|
+
|
|
3938
|
+
def initialize(requested: nil)
|
|
3939
|
+
@requested = requested
|
|
3940
|
+
end
|
|
3941
|
+
end
|
|
3942
|
+
# Parameter to request psp_migration protection.
|
|
3943
|
+
attr_accessor :psp_migration
|
|
3944
|
+
|
|
3945
|
+
def initialize(psp_migration: nil)
|
|
3946
|
+
@psp_migration = psp_migration
|
|
3947
|
+
end
|
|
3948
|
+
end
|
|
3949
|
+
# Protection types to request for this capability (e.g. "psp_migration").
|
|
3950
|
+
attr_accessor :protections
|
|
3951
|
+
# To request a new Capability for an account, pass true. There can be a delay before the requested Capability becomes active.
|
|
3952
|
+
attr_accessor :requested
|
|
3953
|
+
|
|
3954
|
+
def initialize(protections: nil, requested: nil)
|
|
3955
|
+
@protections = protections
|
|
3956
|
+
@requested = requested
|
|
3957
|
+
end
|
|
3958
|
+
end
|
|
3959
|
+
|
|
3740
3960
|
class Czk < ::Stripe::RequestParams
|
|
3741
3961
|
class Protections < ::Stripe::RequestParams
|
|
3742
3962
|
class PspMigration < ::Stripe::RequestParams
|
|
@@ -3821,6 +4041,90 @@ module Stripe
|
|
|
3821
4041
|
end
|
|
3822
4042
|
end
|
|
3823
4043
|
|
|
4044
|
+
class Hkd < ::Stripe::RequestParams
|
|
4045
|
+
class Protections < ::Stripe::RequestParams
|
|
4046
|
+
class PspMigration < ::Stripe::RequestParams
|
|
4047
|
+
# To request a protection, pass true.
|
|
4048
|
+
attr_accessor :requested
|
|
4049
|
+
|
|
4050
|
+
def initialize(requested: nil)
|
|
4051
|
+
@requested = requested
|
|
4052
|
+
end
|
|
4053
|
+
end
|
|
4054
|
+
# Parameter to request psp_migration protection.
|
|
4055
|
+
attr_accessor :psp_migration
|
|
4056
|
+
|
|
4057
|
+
def initialize(psp_migration: nil)
|
|
4058
|
+
@psp_migration = psp_migration
|
|
4059
|
+
end
|
|
4060
|
+
end
|
|
4061
|
+
# Protection types to request for this capability (e.g. "psp_migration").
|
|
4062
|
+
attr_accessor :protections
|
|
4063
|
+
# To request a new Capability for an account, pass true. There can be a delay before the requested Capability becomes active.
|
|
4064
|
+
attr_accessor :requested
|
|
4065
|
+
|
|
4066
|
+
def initialize(protections: nil, requested: nil)
|
|
4067
|
+
@protections = protections
|
|
4068
|
+
@requested = requested
|
|
4069
|
+
end
|
|
4070
|
+
end
|
|
4071
|
+
|
|
4072
|
+
class Huf < ::Stripe::RequestParams
|
|
4073
|
+
class Protections < ::Stripe::RequestParams
|
|
4074
|
+
class PspMigration < ::Stripe::RequestParams
|
|
4075
|
+
# To request a protection, pass true.
|
|
4076
|
+
attr_accessor :requested
|
|
4077
|
+
|
|
4078
|
+
def initialize(requested: nil)
|
|
4079
|
+
@requested = requested
|
|
4080
|
+
end
|
|
4081
|
+
end
|
|
4082
|
+
# Parameter to request psp_migration protection.
|
|
4083
|
+
attr_accessor :psp_migration
|
|
4084
|
+
|
|
4085
|
+
def initialize(psp_migration: nil)
|
|
4086
|
+
@psp_migration = psp_migration
|
|
4087
|
+
end
|
|
4088
|
+
end
|
|
4089
|
+
# Protection types to request for this capability (e.g. "psp_migration").
|
|
4090
|
+
attr_accessor :protections
|
|
4091
|
+
# To request a new Capability for an account, pass true. There can be a delay before the requested Capability becomes active.
|
|
4092
|
+
attr_accessor :requested
|
|
4093
|
+
|
|
4094
|
+
def initialize(protections: nil, requested: nil)
|
|
4095
|
+
@protections = protections
|
|
4096
|
+
@requested = requested
|
|
4097
|
+
end
|
|
4098
|
+
end
|
|
4099
|
+
|
|
4100
|
+
class Jpy < ::Stripe::RequestParams
|
|
4101
|
+
class Protections < ::Stripe::RequestParams
|
|
4102
|
+
class PspMigration < ::Stripe::RequestParams
|
|
4103
|
+
# To request a protection, pass true.
|
|
4104
|
+
attr_accessor :requested
|
|
4105
|
+
|
|
4106
|
+
def initialize(requested: nil)
|
|
4107
|
+
@requested = requested
|
|
4108
|
+
end
|
|
4109
|
+
end
|
|
4110
|
+
# Parameter to request psp_migration protection.
|
|
4111
|
+
attr_accessor :psp_migration
|
|
4112
|
+
|
|
4113
|
+
def initialize(psp_migration: nil)
|
|
4114
|
+
@psp_migration = psp_migration
|
|
4115
|
+
end
|
|
4116
|
+
end
|
|
4117
|
+
# Protection types to request for this capability (e.g. "psp_migration").
|
|
4118
|
+
attr_accessor :protections
|
|
4119
|
+
# To request a new Capability for an account, pass true. There can be a delay before the requested Capability becomes active.
|
|
4120
|
+
attr_accessor :requested
|
|
4121
|
+
|
|
4122
|
+
def initialize(protections: nil, requested: nil)
|
|
4123
|
+
@protections = protections
|
|
4124
|
+
@requested = requested
|
|
4125
|
+
end
|
|
4126
|
+
end
|
|
4127
|
+
|
|
3824
4128
|
class Nok < ::Stripe::RequestParams
|
|
3825
4129
|
class Protections < ::Stripe::RequestParams
|
|
3826
4130
|
class PspMigration < ::Stripe::RequestParams
|
|
@@ -3905,6 +4209,34 @@ module Stripe
|
|
|
3905
4209
|
end
|
|
3906
4210
|
end
|
|
3907
4211
|
|
|
4212
|
+
class Ron < ::Stripe::RequestParams
|
|
4213
|
+
class Protections < ::Stripe::RequestParams
|
|
4214
|
+
class PspMigration < ::Stripe::RequestParams
|
|
4215
|
+
# To request a protection, pass true.
|
|
4216
|
+
attr_accessor :requested
|
|
4217
|
+
|
|
4218
|
+
def initialize(requested: nil)
|
|
4219
|
+
@requested = requested
|
|
4220
|
+
end
|
|
4221
|
+
end
|
|
4222
|
+
# Parameter to request psp_migration protection.
|
|
4223
|
+
attr_accessor :psp_migration
|
|
4224
|
+
|
|
4225
|
+
def initialize(psp_migration: nil)
|
|
4226
|
+
@psp_migration = psp_migration
|
|
4227
|
+
end
|
|
4228
|
+
end
|
|
4229
|
+
# Protection types to request for this capability (e.g. "psp_migration").
|
|
4230
|
+
attr_accessor :protections
|
|
4231
|
+
# To request a new Capability for an account, pass true. There can be a delay before the requested Capability becomes active.
|
|
4232
|
+
attr_accessor :requested
|
|
4233
|
+
|
|
4234
|
+
def initialize(protections: nil, requested: nil)
|
|
4235
|
+
@protections = protections
|
|
4236
|
+
@requested = requested
|
|
4237
|
+
end
|
|
4238
|
+
end
|
|
4239
|
+
|
|
3908
4240
|
class Sek < ::Stripe::RequestParams
|
|
3909
4241
|
class Protections < ::Stripe::RequestParams
|
|
3910
4242
|
class PspMigration < ::Stripe::RequestParams
|
|
@@ -3988,53 +4320,105 @@ module Stripe
|
|
|
3988
4320
|
@requested = requested
|
|
3989
4321
|
end
|
|
3990
4322
|
end
|
|
4323
|
+
|
|
4324
|
+
class Zar < ::Stripe::RequestParams
|
|
4325
|
+
class Protections < ::Stripe::RequestParams
|
|
4326
|
+
class PspMigration < ::Stripe::RequestParams
|
|
4327
|
+
# To request a protection, pass true.
|
|
4328
|
+
attr_accessor :requested
|
|
4329
|
+
|
|
4330
|
+
def initialize(requested: nil)
|
|
4331
|
+
@requested = requested
|
|
4332
|
+
end
|
|
4333
|
+
end
|
|
4334
|
+
# Parameter to request psp_migration protection.
|
|
4335
|
+
attr_accessor :psp_migration
|
|
4336
|
+
|
|
4337
|
+
def initialize(psp_migration: nil)
|
|
4338
|
+
@psp_migration = psp_migration
|
|
4339
|
+
end
|
|
4340
|
+
end
|
|
4341
|
+
# Protection types to request for this capability (e.g. "psp_migration").
|
|
4342
|
+
attr_accessor :protections
|
|
4343
|
+
# To request a new Capability for an account, pass true. There can be a delay before the requested Capability becomes active.
|
|
4344
|
+
attr_accessor :requested
|
|
4345
|
+
|
|
4346
|
+
def initialize(protections: nil, requested: nil)
|
|
4347
|
+
@protections = protections
|
|
4348
|
+
@requested = requested
|
|
4349
|
+
end
|
|
4350
|
+
end
|
|
3991
4351
|
# Can send business storage-type funds on Stripe in AUD.
|
|
3992
4352
|
attr_accessor :aud
|
|
3993
4353
|
# Can send business storage-type funds on Stripe in CAD.
|
|
3994
4354
|
attr_accessor :cad
|
|
4355
|
+
# Can send business storage-type funds on Stripe in CHF.
|
|
4356
|
+
attr_accessor :chf
|
|
3995
4357
|
# Can send business storage-type funds on Stripe in CZK.
|
|
3996
4358
|
attr_accessor :czk
|
|
3997
4359
|
# Can send business storage-type funds on Stripe in EUR.
|
|
3998
4360
|
attr_accessor :eur
|
|
3999
4361
|
# Can send business storage-type funds on Stripe in GBP.
|
|
4000
4362
|
attr_accessor :gbp
|
|
4363
|
+
# Can send business storage-type funds on Stripe in HKD.
|
|
4364
|
+
attr_accessor :hkd
|
|
4365
|
+
# Can send business storage-type funds on Stripe in HUF.
|
|
4366
|
+
attr_accessor :huf
|
|
4367
|
+
# Can send business storage-type funds on Stripe in JPY.
|
|
4368
|
+
attr_accessor :jpy
|
|
4001
4369
|
# Can send business storage-type funds on Stripe in NOK.
|
|
4002
4370
|
attr_accessor :nok
|
|
4003
4371
|
# Can send business storage-type funds on Stripe in OUSD.
|
|
4004
4372
|
attr_accessor :ousd
|
|
4005
4373
|
# Can send business storage-type funds on Stripe in PLN.
|
|
4006
4374
|
attr_accessor :pln
|
|
4375
|
+
# Can send business storage-type funds on Stripe in RON.
|
|
4376
|
+
attr_accessor :ron
|
|
4007
4377
|
# Can send business storage-type funds on Stripe in SEK.
|
|
4008
4378
|
attr_accessor :sek
|
|
4009
4379
|
# Can send business storage-type funds on Stripe in USD.
|
|
4010
4380
|
attr_accessor :usd
|
|
4011
4381
|
# Can send business storage-type funds on Stripe in USDC.
|
|
4012
4382
|
attr_accessor :usdc
|
|
4383
|
+
# Can send business storage-type funds on Stripe in ZAR.
|
|
4384
|
+
attr_accessor :zar
|
|
4013
4385
|
|
|
4014
4386
|
def initialize(
|
|
4015
4387
|
aud: nil,
|
|
4016
4388
|
cad: nil,
|
|
4389
|
+
chf: nil,
|
|
4017
4390
|
czk: nil,
|
|
4018
4391
|
eur: nil,
|
|
4019
4392
|
gbp: nil,
|
|
4393
|
+
hkd: nil,
|
|
4394
|
+
huf: nil,
|
|
4395
|
+
jpy: nil,
|
|
4020
4396
|
nok: nil,
|
|
4021
4397
|
ousd: nil,
|
|
4022
4398
|
pln: nil,
|
|
4399
|
+
ron: nil,
|
|
4023
4400
|
sek: nil,
|
|
4024
4401
|
usd: nil,
|
|
4025
|
-
usdc: nil
|
|
4402
|
+
usdc: nil,
|
|
4403
|
+
zar: nil
|
|
4026
4404
|
)
|
|
4027
4405
|
@aud = aud
|
|
4028
4406
|
@cad = cad
|
|
4407
|
+
@chf = chf
|
|
4029
4408
|
@czk = czk
|
|
4030
4409
|
@eur = eur
|
|
4031
4410
|
@gbp = gbp
|
|
4411
|
+
@hkd = hkd
|
|
4412
|
+
@huf = huf
|
|
4413
|
+
@jpy = jpy
|
|
4032
4414
|
@nok = nok
|
|
4033
4415
|
@ousd = ousd
|
|
4034
4416
|
@pln = pln
|
|
4417
|
+
@ron = ron
|
|
4035
4418
|
@sek = sek
|
|
4036
4419
|
@usd = usd
|
|
4037
4420
|
@usdc = usdc
|
|
4421
|
+
@zar = zar
|
|
4038
4422
|
end
|
|
4039
4423
|
end
|
|
4040
4424
|
# Can receive business storage-type funds on Stripe.
|
|
@@ -7688,6 +8072,47 @@ module Stripe
|
|
|
7688
8072
|
@user_agent = user_agent
|
|
7689
8073
|
end
|
|
7690
8074
|
end
|
|
8075
|
+
|
|
8076
|
+
class SelfCustodialWallet < ::Stripe::RequestParams
|
|
8077
|
+
class Account < ::Stripe::RequestParams
|
|
8078
|
+
# The time when the Account's representative accepted the terms of service. Represented as a RFC 3339 date & time UTC value in millisecond precision, for example: 2022-09-18T13:22:18.123Z.
|
|
8079
|
+
attr_accessor :date
|
|
8080
|
+
# The IP address from which the Account's representative accepted the terms of service.
|
|
8081
|
+
attr_accessor :ip
|
|
8082
|
+
# The user agent of the browser from which the Account's representative accepted the terms of service.
|
|
8083
|
+
attr_accessor :user_agent
|
|
8084
|
+
|
|
8085
|
+
def initialize(date: nil, ip: nil, user_agent: nil)
|
|
8086
|
+
@date = date
|
|
8087
|
+
@ip = ip
|
|
8088
|
+
@user_agent = user_agent
|
|
8089
|
+
end
|
|
8090
|
+
end
|
|
8091
|
+
|
|
8092
|
+
class Platform < ::Stripe::RequestParams
|
|
8093
|
+
# The time when the Account's representative accepted the terms of service. Represented as a RFC 3339 date & time UTC value in millisecond precision, for example: 2022-09-18T13:22:18.123Z.
|
|
8094
|
+
attr_accessor :date
|
|
8095
|
+
# The IP address from which the Account's representative accepted the terms of service.
|
|
8096
|
+
attr_accessor :ip
|
|
8097
|
+
# The user agent of the browser from which the Account's representative accepted the terms of service.
|
|
8098
|
+
attr_accessor :user_agent
|
|
8099
|
+
|
|
8100
|
+
def initialize(date: nil, ip: nil, user_agent: nil)
|
|
8101
|
+
@date = date
|
|
8102
|
+
@ip = ip
|
|
8103
|
+
@user_agent = user_agent
|
|
8104
|
+
end
|
|
8105
|
+
end
|
|
8106
|
+
# Details on the Account's acceptance of the Privy End User Terms.
|
|
8107
|
+
attr_accessor :account
|
|
8108
|
+
# Details on the Account's acceptance of the platform's self-custodial wallet terms of service.
|
|
8109
|
+
attr_accessor :platform
|
|
8110
|
+
|
|
8111
|
+
def initialize(account: nil, platform: nil)
|
|
8112
|
+
@account = account
|
|
8113
|
+
@platform = platform
|
|
8114
|
+
end
|
|
8115
|
+
end
|
|
7691
8116
|
# Details on the Account's acceptance of the Stripe Services Agreement.
|
|
7692
8117
|
attr_accessor :account
|
|
7693
8118
|
# Terms of service acceptances for financial accounts backed by Fifth Third demand deposit accounts.
|
|
@@ -7702,6 +8127,8 @@ module Stripe
|
|
|
7702
8127
|
attr_accessor :crypto_money_manager
|
|
7703
8128
|
# Details on the Account's acceptance of Treasury-specific terms of service.
|
|
7704
8129
|
attr_accessor :money_manager
|
|
8130
|
+
# Details on the Account's acceptance of self-custodial wallet terms of service.
|
|
8131
|
+
attr_accessor :self_custodial_wallet
|
|
7705
8132
|
|
|
7706
8133
|
def initialize(
|
|
7707
8134
|
account: nil,
|
|
@@ -7710,7 +8137,8 @@ module Stripe
|
|
|
7710
8137
|
consumer_money_manager: nil,
|
|
7711
8138
|
consumer_privacy_disclosures: nil,
|
|
7712
8139
|
crypto_money_manager: nil,
|
|
7713
|
-
money_manager: nil
|
|
8140
|
+
money_manager: nil,
|
|
8141
|
+
self_custodial_wallet: nil
|
|
7714
8142
|
)
|
|
7715
8143
|
@account = account
|
|
7716
8144
|
@business_demand_deposit_account_fifth_third = business_demand_deposit_account_fifth_third
|
|
@@ -7719,6 +8147,7 @@ module Stripe
|
|
|
7719
8147
|
@consumer_privacy_disclosures = consumer_privacy_disclosures
|
|
7720
8148
|
@crypto_money_manager = crypto_money_manager
|
|
7721
8149
|
@money_manager = money_manager
|
|
8150
|
+
@self_custodial_wallet = self_custodial_wallet
|
|
7722
8151
|
end
|
|
7723
8152
|
end
|
|
7724
8153
|
# This hash is used to attest that the directors information provided to Stripe is both current and correct.
|
|
@@ -1256,7 +1256,10 @@ module Stripe
|
|
|
1256
1256
|
attr_accessor :metadata
|
|
1257
1257
|
# The countries where the individual is a national. Two-letter country code ([ISO 3166-1 alpha-2](https://en.wikipedia.org/wiki/ISO_3166-1_alpha-2)).
|
|
1258
1258
|
attr_accessor :nationalities
|
|
1259
|
-
# The individual's phone number.
|
|
1259
|
+
# The individual's phone number. You can include a country calling code prefixed with `+`,
|
|
1260
|
+
# for example `+12025550123`, or omit it, for example `2025550123`. Spaces, hyphens, periods,
|
|
1261
|
+
# and parentheses are optional and accepted. Numbers beginning with `+` are checked against
|
|
1262
|
+
# the numbering rules for their country calling code, including valid prefixes and number lengths.
|
|
1260
1263
|
attr_accessor :phone
|
|
1261
1264
|
# The individual's political exposure.
|
|
1262
1265
|
attr_accessor :political_exposure
|