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
|
@@ -3404,6 +3404,34 @@ module Stripe
|
|
|
3404
3404
|
end
|
|
3405
3405
|
end
|
|
3406
3406
|
|
|
3407
|
+
class Chf < ::Stripe::RequestParams
|
|
3408
|
+
class Protections < ::Stripe::RequestParams
|
|
3409
|
+
class PspMigration < ::Stripe::RequestParams
|
|
3410
|
+
# To request a protection, pass true.
|
|
3411
|
+
attr_accessor :requested
|
|
3412
|
+
|
|
3413
|
+
def initialize(requested: nil)
|
|
3414
|
+
@requested = requested
|
|
3415
|
+
end
|
|
3416
|
+
end
|
|
3417
|
+
# Parameter to request psp_migration protection.
|
|
3418
|
+
attr_accessor :psp_migration
|
|
3419
|
+
|
|
3420
|
+
def initialize(psp_migration: nil)
|
|
3421
|
+
@psp_migration = psp_migration
|
|
3422
|
+
end
|
|
3423
|
+
end
|
|
3424
|
+
# Protection types to request for this capability (e.g. "psp_migration").
|
|
3425
|
+
attr_accessor :protections
|
|
3426
|
+
# To request a new Capability for an account, pass true. There can be a delay before the requested Capability becomes active.
|
|
3427
|
+
attr_accessor :requested
|
|
3428
|
+
|
|
3429
|
+
def initialize(protections: nil, requested: nil)
|
|
3430
|
+
@protections = protections
|
|
3431
|
+
@requested = requested
|
|
3432
|
+
end
|
|
3433
|
+
end
|
|
3434
|
+
|
|
3407
3435
|
class Czk < ::Stripe::RequestParams
|
|
3408
3436
|
class Protections < ::Stripe::RequestParams
|
|
3409
3437
|
class PspMigration < ::Stripe::RequestParams
|
|
@@ -3488,6 +3516,90 @@ module Stripe
|
|
|
3488
3516
|
end
|
|
3489
3517
|
end
|
|
3490
3518
|
|
|
3519
|
+
class Hkd < ::Stripe::RequestParams
|
|
3520
|
+
class Protections < ::Stripe::RequestParams
|
|
3521
|
+
class PspMigration < ::Stripe::RequestParams
|
|
3522
|
+
# To request a protection, pass true.
|
|
3523
|
+
attr_accessor :requested
|
|
3524
|
+
|
|
3525
|
+
def initialize(requested: nil)
|
|
3526
|
+
@requested = requested
|
|
3527
|
+
end
|
|
3528
|
+
end
|
|
3529
|
+
# Parameter to request psp_migration protection.
|
|
3530
|
+
attr_accessor :psp_migration
|
|
3531
|
+
|
|
3532
|
+
def initialize(psp_migration: nil)
|
|
3533
|
+
@psp_migration = psp_migration
|
|
3534
|
+
end
|
|
3535
|
+
end
|
|
3536
|
+
# Protection types to request for this capability (e.g. "psp_migration").
|
|
3537
|
+
attr_accessor :protections
|
|
3538
|
+
# To request a new Capability for an account, pass true. There can be a delay before the requested Capability becomes active.
|
|
3539
|
+
attr_accessor :requested
|
|
3540
|
+
|
|
3541
|
+
def initialize(protections: nil, requested: nil)
|
|
3542
|
+
@protections = protections
|
|
3543
|
+
@requested = requested
|
|
3544
|
+
end
|
|
3545
|
+
end
|
|
3546
|
+
|
|
3547
|
+
class Huf < ::Stripe::RequestParams
|
|
3548
|
+
class Protections < ::Stripe::RequestParams
|
|
3549
|
+
class PspMigration < ::Stripe::RequestParams
|
|
3550
|
+
# To request a protection, pass true.
|
|
3551
|
+
attr_accessor :requested
|
|
3552
|
+
|
|
3553
|
+
def initialize(requested: nil)
|
|
3554
|
+
@requested = requested
|
|
3555
|
+
end
|
|
3556
|
+
end
|
|
3557
|
+
# Parameter to request psp_migration protection.
|
|
3558
|
+
attr_accessor :psp_migration
|
|
3559
|
+
|
|
3560
|
+
def initialize(psp_migration: nil)
|
|
3561
|
+
@psp_migration = psp_migration
|
|
3562
|
+
end
|
|
3563
|
+
end
|
|
3564
|
+
# Protection types to request for this capability (e.g. "psp_migration").
|
|
3565
|
+
attr_accessor :protections
|
|
3566
|
+
# To request a new Capability for an account, pass true. There can be a delay before the requested Capability becomes active.
|
|
3567
|
+
attr_accessor :requested
|
|
3568
|
+
|
|
3569
|
+
def initialize(protections: nil, requested: nil)
|
|
3570
|
+
@protections = protections
|
|
3571
|
+
@requested = requested
|
|
3572
|
+
end
|
|
3573
|
+
end
|
|
3574
|
+
|
|
3575
|
+
class Jpy < ::Stripe::RequestParams
|
|
3576
|
+
class Protections < ::Stripe::RequestParams
|
|
3577
|
+
class PspMigration < ::Stripe::RequestParams
|
|
3578
|
+
# To request a protection, pass true.
|
|
3579
|
+
attr_accessor :requested
|
|
3580
|
+
|
|
3581
|
+
def initialize(requested: nil)
|
|
3582
|
+
@requested = requested
|
|
3583
|
+
end
|
|
3584
|
+
end
|
|
3585
|
+
# Parameter to request psp_migration protection.
|
|
3586
|
+
attr_accessor :psp_migration
|
|
3587
|
+
|
|
3588
|
+
def initialize(psp_migration: nil)
|
|
3589
|
+
@psp_migration = psp_migration
|
|
3590
|
+
end
|
|
3591
|
+
end
|
|
3592
|
+
# Protection types to request for this capability (e.g. "psp_migration").
|
|
3593
|
+
attr_accessor :protections
|
|
3594
|
+
# To request a new Capability for an account, pass true. There can be a delay before the requested Capability becomes active.
|
|
3595
|
+
attr_accessor :requested
|
|
3596
|
+
|
|
3597
|
+
def initialize(protections: nil, requested: nil)
|
|
3598
|
+
@protections = protections
|
|
3599
|
+
@requested = requested
|
|
3600
|
+
end
|
|
3601
|
+
end
|
|
3602
|
+
|
|
3491
3603
|
class Nok < ::Stripe::RequestParams
|
|
3492
3604
|
class Protections < ::Stripe::RequestParams
|
|
3493
3605
|
class PspMigration < ::Stripe::RequestParams
|
|
@@ -3572,6 +3684,34 @@ module Stripe
|
|
|
3572
3684
|
end
|
|
3573
3685
|
end
|
|
3574
3686
|
|
|
3687
|
+
class Ron < ::Stripe::RequestParams
|
|
3688
|
+
class Protections < ::Stripe::RequestParams
|
|
3689
|
+
class PspMigration < ::Stripe::RequestParams
|
|
3690
|
+
# To request a protection, pass true.
|
|
3691
|
+
attr_accessor :requested
|
|
3692
|
+
|
|
3693
|
+
def initialize(requested: nil)
|
|
3694
|
+
@requested = requested
|
|
3695
|
+
end
|
|
3696
|
+
end
|
|
3697
|
+
# Parameter to request psp_migration protection.
|
|
3698
|
+
attr_accessor :psp_migration
|
|
3699
|
+
|
|
3700
|
+
def initialize(psp_migration: nil)
|
|
3701
|
+
@psp_migration = psp_migration
|
|
3702
|
+
end
|
|
3703
|
+
end
|
|
3704
|
+
# Protection types to request for this capability (e.g. "psp_migration").
|
|
3705
|
+
attr_accessor :protections
|
|
3706
|
+
# To request a new Capability for an account, pass true. There can be a delay before the requested Capability becomes active.
|
|
3707
|
+
attr_accessor :requested
|
|
3708
|
+
|
|
3709
|
+
def initialize(protections: nil, requested: nil)
|
|
3710
|
+
@protections = protections
|
|
3711
|
+
@requested = requested
|
|
3712
|
+
end
|
|
3713
|
+
end
|
|
3714
|
+
|
|
3575
3715
|
class Sek < ::Stripe::RequestParams
|
|
3576
3716
|
class Protections < ::Stripe::RequestParams
|
|
3577
3717
|
class PspMigration < ::Stripe::RequestParams
|
|
@@ -3655,53 +3795,105 @@ module Stripe
|
|
|
3655
3795
|
@requested = requested
|
|
3656
3796
|
end
|
|
3657
3797
|
end
|
|
3798
|
+
|
|
3799
|
+
class Zar < ::Stripe::RequestParams
|
|
3800
|
+
class Protections < ::Stripe::RequestParams
|
|
3801
|
+
class PspMigration < ::Stripe::RequestParams
|
|
3802
|
+
# To request a protection, pass true.
|
|
3803
|
+
attr_accessor :requested
|
|
3804
|
+
|
|
3805
|
+
def initialize(requested: nil)
|
|
3806
|
+
@requested = requested
|
|
3807
|
+
end
|
|
3808
|
+
end
|
|
3809
|
+
# Parameter to request psp_migration protection.
|
|
3810
|
+
attr_accessor :psp_migration
|
|
3811
|
+
|
|
3812
|
+
def initialize(psp_migration: nil)
|
|
3813
|
+
@psp_migration = psp_migration
|
|
3814
|
+
end
|
|
3815
|
+
end
|
|
3816
|
+
# Protection types to request for this capability (e.g. "psp_migration").
|
|
3817
|
+
attr_accessor :protections
|
|
3818
|
+
# To request a new Capability for an account, pass true. There can be a delay before the requested Capability becomes active.
|
|
3819
|
+
attr_accessor :requested
|
|
3820
|
+
|
|
3821
|
+
def initialize(protections: nil, requested: nil)
|
|
3822
|
+
@protections = protections
|
|
3823
|
+
@requested = requested
|
|
3824
|
+
end
|
|
3825
|
+
end
|
|
3658
3826
|
# Can receive business storage-type funds on Stripe in AUD.
|
|
3659
3827
|
attr_accessor :aud
|
|
3660
3828
|
# Can receive business storage-type funds on Stripe in CAD.
|
|
3661
3829
|
attr_accessor :cad
|
|
3830
|
+
# Can receive business storage-type funds on Stripe in CHF.
|
|
3831
|
+
attr_accessor :chf
|
|
3662
3832
|
# Can receive business storage-type funds on Stripe in CZK.
|
|
3663
3833
|
attr_accessor :czk
|
|
3664
3834
|
# Can receive business storage-type funds on Stripe in EUR.
|
|
3665
3835
|
attr_accessor :eur
|
|
3666
3836
|
# Can receive business storage-type funds on Stripe in GBP.
|
|
3667
3837
|
attr_accessor :gbp
|
|
3838
|
+
# Can receive business storage-type funds on Stripe in HKD.
|
|
3839
|
+
attr_accessor :hkd
|
|
3840
|
+
# Can receive business storage-type funds on Stripe in HUF.
|
|
3841
|
+
attr_accessor :huf
|
|
3842
|
+
# Can receive business storage-type funds on Stripe in JPY.
|
|
3843
|
+
attr_accessor :jpy
|
|
3668
3844
|
# Can receive business storage-type funds on Stripe in NOK.
|
|
3669
3845
|
attr_accessor :nok
|
|
3670
3846
|
# Can receive business storage-type funds on Stripe in OUSD.
|
|
3671
3847
|
attr_accessor :ousd
|
|
3672
3848
|
# Can receive business storage-type funds on Stripe in PLN.
|
|
3673
3849
|
attr_accessor :pln
|
|
3850
|
+
# Can receive business storage-type funds on Stripe in RON.
|
|
3851
|
+
attr_accessor :ron
|
|
3674
3852
|
# Can receive business storage-type funds on Stripe in SEK.
|
|
3675
3853
|
attr_accessor :sek
|
|
3676
3854
|
# Can receive business storage-type funds on Stripe in USD.
|
|
3677
3855
|
attr_accessor :usd
|
|
3678
3856
|
# Can receive business storage-type funds on Stripe in USDC.
|
|
3679
3857
|
attr_accessor :usdc
|
|
3858
|
+
# Can receive business storage-type funds on Stripe in ZAR.
|
|
3859
|
+
attr_accessor :zar
|
|
3680
3860
|
|
|
3681
3861
|
def initialize(
|
|
3682
3862
|
aud: nil,
|
|
3683
3863
|
cad: nil,
|
|
3864
|
+
chf: nil,
|
|
3684
3865
|
czk: nil,
|
|
3685
3866
|
eur: nil,
|
|
3686
3867
|
gbp: nil,
|
|
3868
|
+
hkd: nil,
|
|
3869
|
+
huf: nil,
|
|
3870
|
+
jpy: nil,
|
|
3687
3871
|
nok: nil,
|
|
3688
3872
|
ousd: nil,
|
|
3689
3873
|
pln: nil,
|
|
3874
|
+
ron: nil,
|
|
3690
3875
|
sek: nil,
|
|
3691
3876
|
usd: nil,
|
|
3692
|
-
usdc: nil
|
|
3877
|
+
usdc: nil,
|
|
3878
|
+
zar: nil
|
|
3693
3879
|
)
|
|
3694
3880
|
@aud = aud
|
|
3695
3881
|
@cad = cad
|
|
3882
|
+
@chf = chf
|
|
3696
3883
|
@czk = czk
|
|
3697
3884
|
@eur = eur
|
|
3698
3885
|
@gbp = gbp
|
|
3886
|
+
@hkd = hkd
|
|
3887
|
+
@huf = huf
|
|
3888
|
+
@jpy = jpy
|
|
3699
3889
|
@nok = nok
|
|
3700
3890
|
@ousd = ousd
|
|
3701
3891
|
@pln = pln
|
|
3892
|
+
@ron = ron
|
|
3702
3893
|
@sek = sek
|
|
3703
3894
|
@usd = usd
|
|
3704
3895
|
@usdc = usdc
|
|
3896
|
+
@zar = zar
|
|
3705
3897
|
end
|
|
3706
3898
|
end
|
|
3707
3899
|
|
|
@@ -3762,6 +3954,34 @@ module Stripe
|
|
|
3762
3954
|
end
|
|
3763
3955
|
end
|
|
3764
3956
|
|
|
3957
|
+
class Chf < ::Stripe::RequestParams
|
|
3958
|
+
class Protections < ::Stripe::RequestParams
|
|
3959
|
+
class PspMigration < ::Stripe::RequestParams
|
|
3960
|
+
# To request a protection, pass true.
|
|
3961
|
+
attr_accessor :requested
|
|
3962
|
+
|
|
3963
|
+
def initialize(requested: nil)
|
|
3964
|
+
@requested = requested
|
|
3965
|
+
end
|
|
3966
|
+
end
|
|
3967
|
+
# Parameter to request psp_migration protection.
|
|
3968
|
+
attr_accessor :psp_migration
|
|
3969
|
+
|
|
3970
|
+
def initialize(psp_migration: nil)
|
|
3971
|
+
@psp_migration = psp_migration
|
|
3972
|
+
end
|
|
3973
|
+
end
|
|
3974
|
+
# Protection types to request for this capability (e.g. "psp_migration").
|
|
3975
|
+
attr_accessor :protections
|
|
3976
|
+
# To request a new Capability for an account, pass true. There can be a delay before the requested Capability becomes active.
|
|
3977
|
+
attr_accessor :requested
|
|
3978
|
+
|
|
3979
|
+
def initialize(protections: nil, requested: nil)
|
|
3980
|
+
@protections = protections
|
|
3981
|
+
@requested = requested
|
|
3982
|
+
end
|
|
3983
|
+
end
|
|
3984
|
+
|
|
3765
3985
|
class Czk < ::Stripe::RequestParams
|
|
3766
3986
|
class Protections < ::Stripe::RequestParams
|
|
3767
3987
|
class PspMigration < ::Stripe::RequestParams
|
|
@@ -3846,6 +4066,90 @@ module Stripe
|
|
|
3846
4066
|
end
|
|
3847
4067
|
end
|
|
3848
4068
|
|
|
4069
|
+
class Hkd < ::Stripe::RequestParams
|
|
4070
|
+
class Protections < ::Stripe::RequestParams
|
|
4071
|
+
class PspMigration < ::Stripe::RequestParams
|
|
4072
|
+
# To request a protection, pass true.
|
|
4073
|
+
attr_accessor :requested
|
|
4074
|
+
|
|
4075
|
+
def initialize(requested: nil)
|
|
4076
|
+
@requested = requested
|
|
4077
|
+
end
|
|
4078
|
+
end
|
|
4079
|
+
# Parameter to request psp_migration protection.
|
|
4080
|
+
attr_accessor :psp_migration
|
|
4081
|
+
|
|
4082
|
+
def initialize(psp_migration: nil)
|
|
4083
|
+
@psp_migration = psp_migration
|
|
4084
|
+
end
|
|
4085
|
+
end
|
|
4086
|
+
# Protection types to request for this capability (e.g. "psp_migration").
|
|
4087
|
+
attr_accessor :protections
|
|
4088
|
+
# To request a new Capability for an account, pass true. There can be a delay before the requested Capability becomes active.
|
|
4089
|
+
attr_accessor :requested
|
|
4090
|
+
|
|
4091
|
+
def initialize(protections: nil, requested: nil)
|
|
4092
|
+
@protections = protections
|
|
4093
|
+
@requested = requested
|
|
4094
|
+
end
|
|
4095
|
+
end
|
|
4096
|
+
|
|
4097
|
+
class Huf < ::Stripe::RequestParams
|
|
4098
|
+
class Protections < ::Stripe::RequestParams
|
|
4099
|
+
class PspMigration < ::Stripe::RequestParams
|
|
4100
|
+
# To request a protection, pass true.
|
|
4101
|
+
attr_accessor :requested
|
|
4102
|
+
|
|
4103
|
+
def initialize(requested: nil)
|
|
4104
|
+
@requested = requested
|
|
4105
|
+
end
|
|
4106
|
+
end
|
|
4107
|
+
# Parameter to request psp_migration protection.
|
|
4108
|
+
attr_accessor :psp_migration
|
|
4109
|
+
|
|
4110
|
+
def initialize(psp_migration: nil)
|
|
4111
|
+
@psp_migration = psp_migration
|
|
4112
|
+
end
|
|
4113
|
+
end
|
|
4114
|
+
# Protection types to request for this capability (e.g. "psp_migration").
|
|
4115
|
+
attr_accessor :protections
|
|
4116
|
+
# To request a new Capability for an account, pass true. There can be a delay before the requested Capability becomes active.
|
|
4117
|
+
attr_accessor :requested
|
|
4118
|
+
|
|
4119
|
+
def initialize(protections: nil, requested: nil)
|
|
4120
|
+
@protections = protections
|
|
4121
|
+
@requested = requested
|
|
4122
|
+
end
|
|
4123
|
+
end
|
|
4124
|
+
|
|
4125
|
+
class Jpy < ::Stripe::RequestParams
|
|
4126
|
+
class Protections < ::Stripe::RequestParams
|
|
4127
|
+
class PspMigration < ::Stripe::RequestParams
|
|
4128
|
+
# To request a protection, pass true.
|
|
4129
|
+
attr_accessor :requested
|
|
4130
|
+
|
|
4131
|
+
def initialize(requested: nil)
|
|
4132
|
+
@requested = requested
|
|
4133
|
+
end
|
|
4134
|
+
end
|
|
4135
|
+
# Parameter to request psp_migration protection.
|
|
4136
|
+
attr_accessor :psp_migration
|
|
4137
|
+
|
|
4138
|
+
def initialize(psp_migration: nil)
|
|
4139
|
+
@psp_migration = psp_migration
|
|
4140
|
+
end
|
|
4141
|
+
end
|
|
4142
|
+
# Protection types to request for this capability (e.g. "psp_migration").
|
|
4143
|
+
attr_accessor :protections
|
|
4144
|
+
# To request a new Capability for an account, pass true. There can be a delay before the requested Capability becomes active.
|
|
4145
|
+
attr_accessor :requested
|
|
4146
|
+
|
|
4147
|
+
def initialize(protections: nil, requested: nil)
|
|
4148
|
+
@protections = protections
|
|
4149
|
+
@requested = requested
|
|
4150
|
+
end
|
|
4151
|
+
end
|
|
4152
|
+
|
|
3849
4153
|
class Nok < ::Stripe::RequestParams
|
|
3850
4154
|
class Protections < ::Stripe::RequestParams
|
|
3851
4155
|
class PspMigration < ::Stripe::RequestParams
|
|
@@ -3930,6 +4234,34 @@ module Stripe
|
|
|
3930
4234
|
end
|
|
3931
4235
|
end
|
|
3932
4236
|
|
|
4237
|
+
class Ron < ::Stripe::RequestParams
|
|
4238
|
+
class Protections < ::Stripe::RequestParams
|
|
4239
|
+
class PspMigration < ::Stripe::RequestParams
|
|
4240
|
+
# To request a protection, pass true.
|
|
4241
|
+
attr_accessor :requested
|
|
4242
|
+
|
|
4243
|
+
def initialize(requested: nil)
|
|
4244
|
+
@requested = requested
|
|
4245
|
+
end
|
|
4246
|
+
end
|
|
4247
|
+
# Parameter to request psp_migration protection.
|
|
4248
|
+
attr_accessor :psp_migration
|
|
4249
|
+
|
|
4250
|
+
def initialize(psp_migration: nil)
|
|
4251
|
+
@psp_migration = psp_migration
|
|
4252
|
+
end
|
|
4253
|
+
end
|
|
4254
|
+
# Protection types to request for this capability (e.g. "psp_migration").
|
|
4255
|
+
attr_accessor :protections
|
|
4256
|
+
# To request a new Capability for an account, pass true. There can be a delay before the requested Capability becomes active.
|
|
4257
|
+
attr_accessor :requested
|
|
4258
|
+
|
|
4259
|
+
def initialize(protections: nil, requested: nil)
|
|
4260
|
+
@protections = protections
|
|
4261
|
+
@requested = requested
|
|
4262
|
+
end
|
|
4263
|
+
end
|
|
4264
|
+
|
|
3933
4265
|
class Sek < ::Stripe::RequestParams
|
|
3934
4266
|
class Protections < ::Stripe::RequestParams
|
|
3935
4267
|
class PspMigration < ::Stripe::RequestParams
|
|
@@ -4013,53 +4345,105 @@ module Stripe
|
|
|
4013
4345
|
@requested = requested
|
|
4014
4346
|
end
|
|
4015
4347
|
end
|
|
4348
|
+
|
|
4349
|
+
class Zar < ::Stripe::RequestParams
|
|
4350
|
+
class Protections < ::Stripe::RequestParams
|
|
4351
|
+
class PspMigration < ::Stripe::RequestParams
|
|
4352
|
+
# To request a protection, pass true.
|
|
4353
|
+
attr_accessor :requested
|
|
4354
|
+
|
|
4355
|
+
def initialize(requested: nil)
|
|
4356
|
+
@requested = requested
|
|
4357
|
+
end
|
|
4358
|
+
end
|
|
4359
|
+
# Parameter to request psp_migration protection.
|
|
4360
|
+
attr_accessor :psp_migration
|
|
4361
|
+
|
|
4362
|
+
def initialize(psp_migration: nil)
|
|
4363
|
+
@psp_migration = psp_migration
|
|
4364
|
+
end
|
|
4365
|
+
end
|
|
4366
|
+
# Protection types to request for this capability (e.g. "psp_migration").
|
|
4367
|
+
attr_accessor :protections
|
|
4368
|
+
# To request a new Capability for an account, pass true. There can be a delay before the requested Capability becomes active.
|
|
4369
|
+
attr_accessor :requested
|
|
4370
|
+
|
|
4371
|
+
def initialize(protections: nil, requested: nil)
|
|
4372
|
+
@protections = protections
|
|
4373
|
+
@requested = requested
|
|
4374
|
+
end
|
|
4375
|
+
end
|
|
4016
4376
|
# Can send business storage-type funds on Stripe in AUD.
|
|
4017
4377
|
attr_accessor :aud
|
|
4018
4378
|
# Can send business storage-type funds on Stripe in CAD.
|
|
4019
4379
|
attr_accessor :cad
|
|
4380
|
+
# Can send business storage-type funds on Stripe in CHF.
|
|
4381
|
+
attr_accessor :chf
|
|
4020
4382
|
# Can send business storage-type funds on Stripe in CZK.
|
|
4021
4383
|
attr_accessor :czk
|
|
4022
4384
|
# Can send business storage-type funds on Stripe in EUR.
|
|
4023
4385
|
attr_accessor :eur
|
|
4024
4386
|
# Can send business storage-type funds on Stripe in GBP.
|
|
4025
4387
|
attr_accessor :gbp
|
|
4388
|
+
# Can send business storage-type funds on Stripe in HKD.
|
|
4389
|
+
attr_accessor :hkd
|
|
4390
|
+
# Can send business storage-type funds on Stripe in HUF.
|
|
4391
|
+
attr_accessor :huf
|
|
4392
|
+
# Can send business storage-type funds on Stripe in JPY.
|
|
4393
|
+
attr_accessor :jpy
|
|
4026
4394
|
# Can send business storage-type funds on Stripe in NOK.
|
|
4027
4395
|
attr_accessor :nok
|
|
4028
4396
|
# Can send business storage-type funds on Stripe in OUSD.
|
|
4029
4397
|
attr_accessor :ousd
|
|
4030
4398
|
# Can send business storage-type funds on Stripe in PLN.
|
|
4031
4399
|
attr_accessor :pln
|
|
4400
|
+
# Can send business storage-type funds on Stripe in RON.
|
|
4401
|
+
attr_accessor :ron
|
|
4032
4402
|
# Can send business storage-type funds on Stripe in SEK.
|
|
4033
4403
|
attr_accessor :sek
|
|
4034
4404
|
# Can send business storage-type funds on Stripe in USD.
|
|
4035
4405
|
attr_accessor :usd
|
|
4036
4406
|
# Can send business storage-type funds on Stripe in USDC.
|
|
4037
4407
|
attr_accessor :usdc
|
|
4408
|
+
# Can send business storage-type funds on Stripe in ZAR.
|
|
4409
|
+
attr_accessor :zar
|
|
4038
4410
|
|
|
4039
4411
|
def initialize(
|
|
4040
4412
|
aud: nil,
|
|
4041
4413
|
cad: nil,
|
|
4414
|
+
chf: nil,
|
|
4042
4415
|
czk: nil,
|
|
4043
4416
|
eur: nil,
|
|
4044
4417
|
gbp: nil,
|
|
4418
|
+
hkd: nil,
|
|
4419
|
+
huf: nil,
|
|
4420
|
+
jpy: nil,
|
|
4045
4421
|
nok: nil,
|
|
4046
4422
|
ousd: nil,
|
|
4047
4423
|
pln: nil,
|
|
4424
|
+
ron: nil,
|
|
4048
4425
|
sek: nil,
|
|
4049
4426
|
usd: nil,
|
|
4050
|
-
usdc: nil
|
|
4427
|
+
usdc: nil,
|
|
4428
|
+
zar: nil
|
|
4051
4429
|
)
|
|
4052
4430
|
@aud = aud
|
|
4053
4431
|
@cad = cad
|
|
4432
|
+
@chf = chf
|
|
4054
4433
|
@czk = czk
|
|
4055
4434
|
@eur = eur
|
|
4056
4435
|
@gbp = gbp
|
|
4436
|
+
@hkd = hkd
|
|
4437
|
+
@huf = huf
|
|
4438
|
+
@jpy = jpy
|
|
4057
4439
|
@nok = nok
|
|
4058
4440
|
@ousd = ousd
|
|
4059
4441
|
@pln = pln
|
|
4442
|
+
@ron = ron
|
|
4060
4443
|
@sek = sek
|
|
4061
4444
|
@usd = usd
|
|
4062
4445
|
@usdc = usdc
|
|
4446
|
+
@zar = zar
|
|
4063
4447
|
end
|
|
4064
4448
|
end
|
|
4065
4449
|
# Can receive business storage-type funds on Stripe.
|
|
@@ -7724,6 +8108,47 @@ module Stripe
|
|
|
7724
8108
|
@user_agent = user_agent
|
|
7725
8109
|
end
|
|
7726
8110
|
end
|
|
8111
|
+
|
|
8112
|
+
class SelfCustodialWallet < ::Stripe::RequestParams
|
|
8113
|
+
class Account < ::Stripe::RequestParams
|
|
8114
|
+
# 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.
|
|
8115
|
+
attr_accessor :date
|
|
8116
|
+
# The IP address from which the Account's representative accepted the terms of service.
|
|
8117
|
+
attr_accessor :ip
|
|
8118
|
+
# The user agent of the browser from which the Account's representative accepted the terms of service.
|
|
8119
|
+
attr_accessor :user_agent
|
|
8120
|
+
|
|
8121
|
+
def initialize(date: nil, ip: nil, user_agent: nil)
|
|
8122
|
+
@date = date
|
|
8123
|
+
@ip = ip
|
|
8124
|
+
@user_agent = user_agent
|
|
8125
|
+
end
|
|
8126
|
+
end
|
|
8127
|
+
|
|
8128
|
+
class Platform < ::Stripe::RequestParams
|
|
8129
|
+
# 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.
|
|
8130
|
+
attr_accessor :date
|
|
8131
|
+
# The IP address from which the Account's representative accepted the terms of service.
|
|
8132
|
+
attr_accessor :ip
|
|
8133
|
+
# The user agent of the browser from which the Account's representative accepted the terms of service.
|
|
8134
|
+
attr_accessor :user_agent
|
|
8135
|
+
|
|
8136
|
+
def initialize(date: nil, ip: nil, user_agent: nil)
|
|
8137
|
+
@date = date
|
|
8138
|
+
@ip = ip
|
|
8139
|
+
@user_agent = user_agent
|
|
8140
|
+
end
|
|
8141
|
+
end
|
|
8142
|
+
# Details on the Account's acceptance of the Privy End User Terms.
|
|
8143
|
+
attr_accessor :account
|
|
8144
|
+
# Details on the Account's acceptance of the platform's self-custodial wallet terms of service.
|
|
8145
|
+
attr_accessor :platform
|
|
8146
|
+
|
|
8147
|
+
def initialize(account: nil, platform: nil)
|
|
8148
|
+
@account = account
|
|
8149
|
+
@platform = platform
|
|
8150
|
+
end
|
|
8151
|
+
end
|
|
7727
8152
|
# Details on the Account's acceptance of the Stripe Services Agreement.
|
|
7728
8153
|
attr_accessor :account
|
|
7729
8154
|
# Terms of service acceptances for financial accounts backed by Fifth Third demand deposit accounts.
|
|
@@ -7738,6 +8163,8 @@ module Stripe
|
|
|
7738
8163
|
attr_accessor :crypto_money_manager
|
|
7739
8164
|
# Details on the Account's acceptance of Treasury-specific terms of service.
|
|
7740
8165
|
attr_accessor :money_manager
|
|
8166
|
+
# Partial updates to the Account's self-custodial wallet terms of service acceptances.
|
|
8167
|
+
attr_accessor :self_custodial_wallet
|
|
7741
8168
|
|
|
7742
8169
|
def initialize(
|
|
7743
8170
|
account: nil,
|
|
@@ -7746,7 +8173,8 @@ module Stripe
|
|
|
7746
8173
|
consumer_money_manager: nil,
|
|
7747
8174
|
consumer_privacy_disclosures: nil,
|
|
7748
8175
|
crypto_money_manager: nil,
|
|
7749
|
-
money_manager: nil
|
|
8176
|
+
money_manager: nil,
|
|
8177
|
+
self_custodial_wallet: nil
|
|
7750
8178
|
)
|
|
7751
8179
|
@account = account
|
|
7752
8180
|
@business_demand_deposit_account_fifth_third = business_demand_deposit_account_fifth_third
|
|
@@ -7755,6 +8183,7 @@ module Stripe
|
|
|
7755
8183
|
@consumer_privacy_disclosures = consumer_privacy_disclosures
|
|
7756
8184
|
@crypto_money_manager = crypto_money_manager
|
|
7757
8185
|
@money_manager = money_manager
|
|
8186
|
+
@self_custodial_wallet = self_custodial_wallet
|
|
7758
8187
|
end
|
|
7759
8188
|
end
|
|
7760
8189
|
# This hash is used to attest that the directors information provided to Stripe is both current and correct.
|
|
@@ -8691,7 +9120,10 @@ module Stripe
|
|
|
8691
9120
|
attr_accessor :metadata
|
|
8692
9121
|
# 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)).
|
|
8693
9122
|
attr_accessor :nationalities
|
|
8694
|
-
# The individual's phone number.
|
|
9123
|
+
# The individual's phone number. You can include a country calling code prefixed with `+`,
|
|
9124
|
+
# for example `+12025550123`, or omit it, for example `2025550123`. Spaces, hyphens, periods,
|
|
9125
|
+
# and parentheses are optional and accepted. Numbers beginning with `+` are checked against
|
|
9126
|
+
# the numbering rules for their country calling code, including valid prefixes and number lengths.
|
|
8695
9127
|
attr_accessor :phone
|
|
8696
9128
|
# The individual's political exposure.
|
|
8697
9129
|
attr_accessor :political_exposure
|
|
@@ -19,6 +19,10 @@ module Stripe
|
|
|
19
19
|
attr_accessor :created_lte
|
|
20
20
|
# Maximum number of results to return per page. Defaults to 20.
|
|
21
21
|
attr_accessor :limit
|
|
22
|
+
# Filters FeeBatches by status. Multiple values use OR semantics. When omitted or
|
|
23
|
+
# empty, returns `pending` and `billed` FeeBatches. To return canceled FeeBatches,
|
|
24
|
+
# include `canceled`.
|
|
25
|
+
attr_accessor :statuses
|
|
22
26
|
|
|
23
27
|
def initialize(
|
|
24
28
|
collection_record: nil,
|
|
@@ -27,7 +31,8 @@ module Stripe
|
|
|
27
31
|
created_gte: nil,
|
|
28
32
|
created_lt: nil,
|
|
29
33
|
created_lte: nil,
|
|
30
|
-
limit: nil
|
|
34
|
+
limit: nil,
|
|
35
|
+
statuses: nil
|
|
31
36
|
)
|
|
32
37
|
@collection_record = collection_record
|
|
33
38
|
@created = created
|
|
@@ -36,6 +41,7 @@ module Stripe
|
|
|
36
41
|
@created_lt = created_lt
|
|
37
42
|
@created_lte = created_lte
|
|
38
43
|
@limit = limit
|
|
44
|
+
@statuses = statuses
|
|
39
45
|
end
|
|
40
46
|
end
|
|
41
47
|
end
|
|
@@ -0,0 +1,23 @@
|
|
|
1
|
+
# File generated from our OpenAPI spec
|
|
2
|
+
# frozen_string_literal: true
|
|
3
|
+
|
|
4
|
+
module Stripe
|
|
5
|
+
module V2
|
|
6
|
+
module MoneyManagement
|
|
7
|
+
class DisputeAdjustmentListParams < ::Stripe::RequestParams
|
|
8
|
+
# Filter results by the ID of the FinancialAccount associated with the DisputeAdjustment.
|
|
9
|
+
attr_accessor :financial_account
|
|
10
|
+
# Maximum number of results to return, between 1 and 100. Defaults to 10.
|
|
11
|
+
attr_accessor :limit
|
|
12
|
+
# Filter results by the ID of the Dispute associated with the DisputeAdjustment.
|
|
13
|
+
attr_accessor :related_dispute
|
|
14
|
+
|
|
15
|
+
def initialize(financial_account: nil, limit: nil, related_dispute: nil)
|
|
16
|
+
@financial_account = financial_account
|
|
17
|
+
@limit = limit
|
|
18
|
+
@related_dispute = related_dispute
|
|
19
|
+
end
|
|
20
|
+
end
|
|
21
|
+
end
|
|
22
|
+
end
|
|
23
|
+
end
|