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
|
@@ -3167,6 +3167,21 @@ module Stripe
|
|
|
3167
3167
|
end
|
|
3168
3168
|
end
|
|
3169
3169
|
|
|
3170
|
+
class AeonPay < ::Stripe::RequestParams
|
|
3171
|
+
# Indicates that you intend to make future payments with this PaymentIntent's payment method.
|
|
3172
|
+
#
|
|
3173
|
+
# If you provide a Customer with the PaymentIntent, you can use this parameter to [attach the payment method](/payments/save-during-payment) to the Customer after the PaymentIntent is confirmed and the customer completes any required actions. If you don't provide a Customer, you can still [attach](/api/payment_methods/attach) the payment method to a Customer after the transaction completes.
|
|
3174
|
+
#
|
|
3175
|
+
# If the payment method is `card_present` and isn't a digital wallet, Stripe creates and attaches a [generated_card](/api/charges/object#charge_object-payment_method_details-card_present-generated_card) payment method representing the card to the Customer instead.
|
|
3176
|
+
#
|
|
3177
|
+
# When processing card payments, Stripe uses `setup_future_usage` to help you comply with regional legislation and network rules, such as [SCA](/strong-customer-authentication).
|
|
3178
|
+
attr_accessor :setup_future_usage
|
|
3179
|
+
|
|
3180
|
+
def initialize(setup_future_usage: nil)
|
|
3181
|
+
@setup_future_usage = setup_future_usage
|
|
3182
|
+
end
|
|
3183
|
+
end
|
|
3184
|
+
|
|
3170
3185
|
class Affirm < ::Stripe::RequestParams
|
|
3171
3186
|
# Controls when the funds are captured from the customer's account.
|
|
3172
3187
|
#
|
|
@@ -3294,6 +3309,21 @@ module Stripe
|
|
|
3294
3309
|
end
|
|
3295
3310
|
end
|
|
3296
3311
|
|
|
3312
|
+
class AuPay < ::Stripe::RequestParams
|
|
3313
|
+
# Indicates that you intend to make future payments with this PaymentIntent's payment method.
|
|
3314
|
+
#
|
|
3315
|
+
# If you provide a Customer with the PaymentIntent, you can use this parameter to [attach the payment method](/payments/save-during-payment) to the Customer after the PaymentIntent is confirmed and the customer completes any required actions. If you don't provide a Customer, you can still [attach](/api/payment_methods/attach) the payment method to a Customer after the transaction completes.
|
|
3316
|
+
#
|
|
3317
|
+
# If the payment method is `card_present` and isn't a digital wallet, Stripe creates and attaches a [generated_card](/api/charges/object#charge_object-payment_method_details-card_present-generated_card) payment method representing the card to the Customer instead.
|
|
3318
|
+
#
|
|
3319
|
+
# When processing card payments, Stripe uses `setup_future_usage` to help you comply with regional legislation and network rules, such as [SCA](/strong-customer-authentication).
|
|
3320
|
+
attr_accessor :setup_future_usage
|
|
3321
|
+
|
|
3322
|
+
def initialize(setup_future_usage: nil)
|
|
3323
|
+
@setup_future_usage = setup_future_usage
|
|
3324
|
+
end
|
|
3325
|
+
end
|
|
3326
|
+
|
|
3297
3327
|
class BacsDebit < ::Stripe::RequestParams
|
|
3298
3328
|
class FinancialConnections < ::Stripe::RequestParams
|
|
3299
3329
|
# For webview integrations only. Upon completing OAuth login in the native browser, the user will be redirected to this URL to return to your app.
|
|
@@ -4071,12 +4101,9 @@ module Stripe
|
|
|
4071
4101
|
class DepositOptions < ::Stripe::RequestParams
|
|
4072
4102
|
# The blockchain networks to support for deposits. Learn more about [supported networks and tokens](https://docs.stripe.com/payments/deposit-mode-stablecoin-payments#token-and-network-support).
|
|
4073
4103
|
attr_accessor :networks
|
|
4074
|
-
# If true, provisions a permanent per-customer deposit address reused across PaymentIntents.
|
|
4075
|
-
attr_accessor :static_address
|
|
4076
4104
|
|
|
4077
|
-
def initialize(networks: nil
|
|
4105
|
+
def initialize(networks: nil)
|
|
4078
4106
|
@networks = networks
|
|
4079
|
-
@static_address = static_address
|
|
4080
4107
|
end
|
|
4081
4108
|
end
|
|
4082
4109
|
|
|
@@ -4172,6 +4199,21 @@ module Stripe
|
|
|
4172
4199
|
end
|
|
4173
4200
|
end
|
|
4174
4201
|
|
|
4202
|
+
class Dbarai < ::Stripe::RequestParams
|
|
4203
|
+
# Indicates that you intend to make future payments with this PaymentIntent's payment method.
|
|
4204
|
+
#
|
|
4205
|
+
# If you provide a Customer with the PaymentIntent, you can use this parameter to [attach the payment method](/payments/save-during-payment) to the Customer after the PaymentIntent is confirmed and the customer completes any required actions. If you don't provide a Customer, you can still [attach](/api/payment_methods/attach) the payment method to a Customer after the transaction completes.
|
|
4206
|
+
#
|
|
4207
|
+
# If the payment method is `card_present` and isn't a digital wallet, Stripe creates and attaches a [generated_card](/api/charges/object#charge_object-payment_method_details-card_present-generated_card) payment method representing the card to the Customer instead.
|
|
4208
|
+
#
|
|
4209
|
+
# When processing card payments, Stripe uses `setup_future_usage` to help you comply with regional legislation and network rules, such as [SCA](/strong-customer-authentication).
|
|
4210
|
+
attr_accessor :setup_future_usage
|
|
4211
|
+
|
|
4212
|
+
def initialize(setup_future_usage: nil)
|
|
4213
|
+
@setup_future_usage = setup_future_usage
|
|
4214
|
+
end
|
|
4215
|
+
end
|
|
4216
|
+
|
|
4175
4217
|
class Eps < ::Stripe::RequestParams
|
|
4176
4218
|
# Indicates that you intend to make future payments with this PaymentIntent's payment method.
|
|
4177
4219
|
#
|
|
@@ -5503,6 +5545,21 @@ module Stripe
|
|
|
5503
5545
|
end
|
|
5504
5546
|
end
|
|
5505
5547
|
|
|
5548
|
+
class Merpay < ::Stripe::RequestParams
|
|
5549
|
+
# Indicates that you intend to make future payments with this PaymentIntent's payment method.
|
|
5550
|
+
#
|
|
5551
|
+
# If you provide a Customer with the PaymentIntent, you can use this parameter to [attach the payment method](/payments/save-during-payment) to the Customer after the PaymentIntent is confirmed and the customer completes any required actions. If you don't provide a Customer, you can still [attach](/api/payment_methods/attach) the payment method to a Customer after the transaction completes.
|
|
5552
|
+
#
|
|
5553
|
+
# If the payment method is `card_present` and isn't a digital wallet, Stripe creates and attaches a [generated_card](/api/charges/object#charge_object-payment_method_details-card_present-generated_card) payment method representing the card to the Customer instead.
|
|
5554
|
+
#
|
|
5555
|
+
# When processing card payments, Stripe uses `setup_future_usage` to help you comply with regional legislation and network rules, such as [SCA](/strong-customer-authentication).
|
|
5556
|
+
attr_accessor :setup_future_usage
|
|
5557
|
+
|
|
5558
|
+
def initialize(setup_future_usage: nil)
|
|
5559
|
+
@setup_future_usage = setup_future_usage
|
|
5560
|
+
end
|
|
5561
|
+
end
|
|
5562
|
+
|
|
5506
5563
|
class Mobilepay < ::Stripe::RequestParams
|
|
5507
5564
|
# Controls when the funds are captured from the customer's account.
|
|
5508
5565
|
#
|
|
@@ -5936,6 +5993,21 @@ module Stripe
|
|
|
5936
5993
|
end
|
|
5937
5994
|
end
|
|
5938
5995
|
|
|
5996
|
+
class RakutenPay < ::Stripe::RequestParams
|
|
5997
|
+
# Indicates that you intend to make future payments with this PaymentIntent's payment method.
|
|
5998
|
+
#
|
|
5999
|
+
# If you provide a Customer with the PaymentIntent, you can use this parameter to [attach the payment method](/payments/save-during-payment) to the Customer after the PaymentIntent is confirmed and the customer completes any required actions. If you don't provide a Customer, you can still [attach](/api/payment_methods/attach) the payment method to a Customer after the transaction completes.
|
|
6000
|
+
#
|
|
6001
|
+
# If the payment method is `card_present` and isn't a digital wallet, Stripe creates and attaches a [generated_card](/api/charges/object#charge_object-payment_method_details-card_present-generated_card) payment method representing the card to the Customer instead.
|
|
6002
|
+
#
|
|
6003
|
+
# When processing card payments, Stripe uses `setup_future_usage` to help you comply with regional legislation and network rules, such as [SCA](/strong-customer-authentication).
|
|
6004
|
+
attr_accessor :setup_future_usage
|
|
6005
|
+
|
|
6006
|
+
def initialize(setup_future_usage: nil)
|
|
6007
|
+
@setup_future_usage = setup_future_usage
|
|
6008
|
+
end
|
|
6009
|
+
end
|
|
6010
|
+
|
|
5939
6011
|
class Rechnung < ::Stripe::RequestParams; end
|
|
5940
6012
|
|
|
5941
6013
|
class RevolutPay < ::Stripe::RequestParams
|
|
@@ -6472,6 +6544,8 @@ module Stripe
|
|
|
6472
6544
|
end
|
|
6473
6545
|
# If this is a `acss_debit` PaymentMethod, this sub-hash contains details about the ACSS Debit payment method options.
|
|
6474
6546
|
attr_accessor :acss_debit
|
|
6547
|
+
# If this is a `aeon_pay` PaymentMethod, this sub-hash contains details about the AEON Pay payment method options.
|
|
6548
|
+
attr_accessor :aeon_pay
|
|
6475
6549
|
# If this is an `affirm` PaymentMethod, this sub-hash contains details about the Affirm payment method options.
|
|
6476
6550
|
attr_accessor :affirm
|
|
6477
6551
|
# If this is a `afterpay_clearpay` PaymentMethod, this sub-hash contains details about the Afterpay Clearpay payment method options.
|
|
@@ -6484,6 +6558,8 @@ module Stripe
|
|
|
6484
6558
|
attr_accessor :amazon_pay
|
|
6485
6559
|
# If this is a `au_becs_debit` PaymentMethod, this sub-hash contains details about the AU BECS Direct Debit payment method options.
|
|
6486
6560
|
attr_accessor :au_becs_debit
|
|
6561
|
+
# If this is a `au_pay` PaymentMethod, this sub-hash contains details about the au PAY payment method options.
|
|
6562
|
+
attr_accessor :au_pay
|
|
6487
6563
|
# If this is a `bacs_debit` PaymentMethod, this sub-hash contains details about the BACS Debit payment method options.
|
|
6488
6564
|
attr_accessor :bacs_debit
|
|
6489
6565
|
# If this is a `bancontact` PaymentMethod, this sub-hash contains details about the Bancontact payment method options.
|
|
@@ -6508,6 +6584,8 @@ module Stripe
|
|
|
6508
6584
|
attr_accessor :crypto
|
|
6509
6585
|
# If this is a `customer balance` PaymentMethod, this sub-hash contains details about the customer balance payment method options.
|
|
6510
6586
|
attr_accessor :customer_balance
|
|
6587
|
+
# If this is a `dbarai` PaymentMethod, this sub-hash contains details about the d-Barai payment method options.
|
|
6588
|
+
attr_accessor :dbarai
|
|
6511
6589
|
# If this is a `eps` PaymentMethod, this sub-hash contains details about the EPS payment method options.
|
|
6512
6590
|
attr_accessor :eps
|
|
6513
6591
|
# If this is a `fpx` PaymentMethod, this sub-hash contains details about the FPX payment method options.
|
|
@@ -6540,6 +6618,8 @@ module Stripe
|
|
|
6540
6618
|
attr_accessor :link
|
|
6541
6619
|
# If this is a `mb_way` PaymentMethod, this sub-hash contains details about the MB WAY payment method options.
|
|
6542
6620
|
attr_accessor :mb_way
|
|
6621
|
+
# If this is a `merpay` PaymentMethod, this sub-hash contains details about the Merpay payment method options.
|
|
6622
|
+
attr_accessor :merpay
|
|
6543
6623
|
# If this is a `MobilePay` PaymentMethod, this sub-hash contains details about the MobilePay payment method options.
|
|
6544
6624
|
attr_accessor :mobilepay
|
|
6545
6625
|
# If this is a `multibanco` PaymentMethod, this sub-hash contains details about the Multibanco payment method options.
|
|
@@ -6570,6 +6650,8 @@ module Stripe
|
|
|
6570
6650
|
attr_accessor :promptpay
|
|
6571
6651
|
# If this is a `qris` PaymentMethod, this sub-hash contains details about the QRIS payment method options.
|
|
6572
6652
|
attr_accessor :qris
|
|
6653
|
+
# If this is a `rakuten_pay` PaymentMethod, this sub-hash contains details about the Rakuten Pay payment method options.
|
|
6654
|
+
attr_accessor :rakuten_pay
|
|
6573
6655
|
# If this is a `rechnung` PaymentMethod, this sub-hash contains details about the Rechnung payment method options.
|
|
6574
6656
|
attr_accessor :rechnung
|
|
6575
6657
|
# If this is a `revolut_pay` PaymentMethod, this sub-hash contains details about the Revolut Pay payment method options.
|
|
@@ -6613,12 +6695,14 @@ module Stripe
|
|
|
6613
6695
|
|
|
6614
6696
|
def initialize(
|
|
6615
6697
|
acss_debit: nil,
|
|
6698
|
+
aeon_pay: nil,
|
|
6616
6699
|
affirm: nil,
|
|
6617
6700
|
afterpay_clearpay: nil,
|
|
6618
6701
|
alipay: nil,
|
|
6619
6702
|
alma: nil,
|
|
6620
6703
|
amazon_pay: nil,
|
|
6621
6704
|
au_becs_debit: nil,
|
|
6705
|
+
au_pay: nil,
|
|
6622
6706
|
bacs_debit: nil,
|
|
6623
6707
|
bancontact: nil,
|
|
6624
6708
|
billie: nil,
|
|
@@ -6631,6 +6715,7 @@ module Stripe
|
|
|
6631
6715
|
cashapp: nil,
|
|
6632
6716
|
crypto: nil,
|
|
6633
6717
|
customer_balance: nil,
|
|
6718
|
+
dbarai: nil,
|
|
6634
6719
|
eps: nil,
|
|
6635
6720
|
fpx: nil,
|
|
6636
6721
|
getflex: nil,
|
|
@@ -6647,6 +6732,7 @@ module Stripe
|
|
|
6647
6732
|
kr_card: nil,
|
|
6648
6733
|
link: nil,
|
|
6649
6734
|
mb_way: nil,
|
|
6735
|
+
merpay: nil,
|
|
6650
6736
|
mobilepay: nil,
|
|
6651
6737
|
multibanco: nil,
|
|
6652
6738
|
naver_pay: nil,
|
|
@@ -6662,6 +6748,7 @@ module Stripe
|
|
|
6662
6748
|
pix: nil,
|
|
6663
6749
|
promptpay: nil,
|
|
6664
6750
|
qris: nil,
|
|
6751
|
+
rakuten_pay: nil,
|
|
6665
6752
|
rechnung: nil,
|
|
6666
6753
|
revolut_pay: nil,
|
|
6667
6754
|
samsung_pay: nil,
|
|
@@ -6684,12 +6771,14 @@ module Stripe
|
|
|
6684
6771
|
zip: nil
|
|
6685
6772
|
)
|
|
6686
6773
|
@acss_debit = acss_debit
|
|
6774
|
+
@aeon_pay = aeon_pay
|
|
6687
6775
|
@affirm = affirm
|
|
6688
6776
|
@afterpay_clearpay = afterpay_clearpay
|
|
6689
6777
|
@alipay = alipay
|
|
6690
6778
|
@alma = alma
|
|
6691
6779
|
@amazon_pay = amazon_pay
|
|
6692
6780
|
@au_becs_debit = au_becs_debit
|
|
6781
|
+
@au_pay = au_pay
|
|
6693
6782
|
@bacs_debit = bacs_debit
|
|
6694
6783
|
@bancontact = bancontact
|
|
6695
6784
|
@billie = billie
|
|
@@ -6702,6 +6791,7 @@ module Stripe
|
|
|
6702
6791
|
@cashapp = cashapp
|
|
6703
6792
|
@crypto = crypto
|
|
6704
6793
|
@customer_balance = customer_balance
|
|
6794
|
+
@dbarai = dbarai
|
|
6705
6795
|
@eps = eps
|
|
6706
6796
|
@fpx = fpx
|
|
6707
6797
|
@getflex = getflex
|
|
@@ -6718,6 +6808,7 @@ module Stripe
|
|
|
6718
6808
|
@kr_card = kr_card
|
|
6719
6809
|
@link = link
|
|
6720
6810
|
@mb_way = mb_way
|
|
6811
|
+
@merpay = merpay
|
|
6721
6812
|
@mobilepay = mobilepay
|
|
6722
6813
|
@multibanco = multibanco
|
|
6723
6814
|
@naver_pay = naver_pay
|
|
@@ -6733,6 +6824,7 @@ module Stripe
|
|
|
6733
6824
|
@pix = pix
|
|
6734
6825
|
@promptpay = promptpay
|
|
6735
6826
|
@qris = qris
|
|
6827
|
+
@rakuten_pay = rakuten_pay
|
|
6736
6828
|
@rechnung = rechnung
|
|
6737
6829
|
@revolut_pay = revolut_pay
|
|
6738
6830
|
@samsung_pay = samsung_pay
|
|
@@ -309,6 +309,23 @@ module Stripe
|
|
|
309
309
|
end
|
|
310
310
|
end
|
|
311
311
|
|
|
312
|
+
class Carecredit < ::Stripe::RequestParams
|
|
313
|
+
class DisplayPreference < ::Stripe::RequestParams
|
|
314
|
+
# The account's preference for whether or not to display this payment method.
|
|
315
|
+
attr_accessor :preference
|
|
316
|
+
|
|
317
|
+
def initialize(preference: nil)
|
|
318
|
+
@preference = preference
|
|
319
|
+
end
|
|
320
|
+
end
|
|
321
|
+
# Whether or not the payment method should be displayed.
|
|
322
|
+
attr_accessor :display_preference
|
|
323
|
+
|
|
324
|
+
def initialize(display_preference: nil)
|
|
325
|
+
@display_preference = display_preference
|
|
326
|
+
end
|
|
327
|
+
end
|
|
328
|
+
|
|
312
329
|
class CartesBancaires < ::Stripe::RequestParams
|
|
313
330
|
class DisplayPreference < ::Stripe::RequestParams
|
|
314
331
|
# The account's preference for whether or not to display this payment method.
|
|
@@ -445,6 +462,23 @@ module Stripe
|
|
|
445
462
|
end
|
|
446
463
|
end
|
|
447
464
|
|
|
465
|
+
class Getflex < ::Stripe::RequestParams
|
|
466
|
+
class DisplayPreference < ::Stripe::RequestParams
|
|
467
|
+
# The account's preference for whether or not to display this payment method.
|
|
468
|
+
attr_accessor :preference
|
|
469
|
+
|
|
470
|
+
def initialize(preference: nil)
|
|
471
|
+
@preference = preference
|
|
472
|
+
end
|
|
473
|
+
end
|
|
474
|
+
# Whether or not the payment method should be displayed.
|
|
475
|
+
attr_accessor :display_preference
|
|
476
|
+
|
|
477
|
+
def initialize(display_preference: nil)
|
|
478
|
+
@display_preference = display_preference
|
|
479
|
+
end
|
|
480
|
+
end
|
|
481
|
+
|
|
448
482
|
class Giropay < ::Stripe::RequestParams
|
|
449
483
|
class DisplayPreference < ::Stripe::RequestParams
|
|
450
484
|
# The account's preference for whether or not to display this payment method.
|
|
@@ -1057,6 +1091,23 @@ module Stripe
|
|
|
1057
1091
|
end
|
|
1058
1092
|
end
|
|
1059
1093
|
|
|
1094
|
+
class Sezzle < ::Stripe::RequestParams
|
|
1095
|
+
class DisplayPreference < ::Stripe::RequestParams
|
|
1096
|
+
# The account's preference for whether or not to display this payment method.
|
|
1097
|
+
attr_accessor :preference
|
|
1098
|
+
|
|
1099
|
+
def initialize(preference: nil)
|
|
1100
|
+
@preference = preference
|
|
1101
|
+
end
|
|
1102
|
+
end
|
|
1103
|
+
# Whether or not the payment method should be displayed.
|
|
1104
|
+
attr_accessor :display_preference
|
|
1105
|
+
|
|
1106
|
+
def initialize(display_preference: nil)
|
|
1107
|
+
@display_preference = display_preference
|
|
1108
|
+
end
|
|
1109
|
+
end
|
|
1110
|
+
|
|
1060
1111
|
class Shopeepay < ::Stripe::RequestParams
|
|
1061
1112
|
class DisplayPreference < ::Stripe::RequestParams
|
|
1062
1113
|
# The account's preference for whether or not to display this payment method.
|
|
@@ -1279,6 +1330,8 @@ module Stripe
|
|
|
1279
1330
|
attr_accessor :boleto
|
|
1280
1331
|
# Cards are a popular way for consumers and businesses to pay online or in person. Stripe supports global and local card networks.
|
|
1281
1332
|
attr_accessor :card
|
|
1333
|
+
# CareCredit is a health and wellness credit card that customers can use to pay for eligible purchases, including with promotional financing. Customers are redirected from your website or app, authorize the payment with CareCredit, then return to your website or app. You get [immediate notification](https://docs.stripe.com/payments/payment-methods#payment-notification) of whether the payment succeeded or failed.
|
|
1334
|
+
attr_accessor :carecredit
|
|
1282
1335
|
# Cartes Bancaires is France's local card network. More than 95% of these cards are co-branded with either Visa or Mastercard, meaning you can process these cards over either Cartes Bancaires or the Visa or Mastercard networks. Check this [page](https://docs.stripe.com/payments/cartes-bancaires) for more details.
|
|
1283
1336
|
attr_accessor :cartes_bancaires
|
|
1284
1337
|
# Cash App is a popular consumer app in the US that allows customers to bank, invest, send, and receive money using their digital wallet. Check this [page](https://docs.stripe.com/payments/cash-app-pay) for more details.
|
|
@@ -1297,6 +1350,8 @@ module Stripe
|
|
|
1297
1350
|
attr_accessor :fpx
|
|
1298
1351
|
# Meal vouchers in France, or “titres-restaurant”, is a local benefits program commonly offered by employers for their employees to purchase prepared food and beverages on working days. Check this [page](https://docs.stripe.com/payments/meal-vouchers/fr-meal-vouchers) for more details.
|
|
1299
1352
|
attr_accessor :fr_meal_voucher_conecs
|
|
1353
|
+
# Flex is a buy now, pay later payment method for recurring bills, such as rent, where customers split a bill into smaller payments. Customers are redirected from your website or app, authorize the payment with Flex, then return to your website or app. You get [immediate notification](https://docs.stripe.com/payments/payment-methods#payment-notification) of whether the payment succeeded or failed.
|
|
1354
|
+
attr_accessor :getflex
|
|
1300
1355
|
# giropay is a German payment method based on online banking, introduced in 2006. It allows customers to complete transactions online using their online banking environment, with funds debited from their bank account. Depending on their bank, customers confirm payments on giropay using a second factor of authentication or a PIN. giropay accounts for 10% of online checkouts in Germany. Check this [page](https://docs.stripe.com/payments/giropay) for more details.
|
|
1301
1356
|
attr_accessor :giropay
|
|
1302
1357
|
# Google Pay allows customers to make payments in your app or website using any credit or debit card saved to their Google Account, including those from Google Play, YouTube, Chrome, or an Android device. Use the Google Pay API to request any credit or debit card stored in your customer's Google account. Check this [page](https://docs.stripe.com/google-pay) for more details.
|
|
@@ -1373,6 +1428,8 @@ module Stripe
|
|
|
1373
1428
|
attr_accessor :sepa_debit
|
|
1374
1429
|
# SeQura is a [single-use](https://docs.stripe.com/payments/payment-methods#usage) payment method that offers customers payment terms ranging from 7-120 days. Customers are redirected from your website or app, authorize the payment with SeQura, then return to your website or app. You get [immediate notification](https://docs.stripe.com/payments/payment-methods#payment-notification) of whether the payment succeeded or failed.
|
|
1375
1430
|
attr_accessor :sequra
|
|
1431
|
+
# Sezzle is a buy now, pay later payment method where customers split their purchase into installments. Customers are redirected from your website or app, authorize the payment with Sezzle, then return to your website or app. You get [immediate notification](https://docs.stripe.com/payments/payment-methods#payment-notification) of whether the payment succeeded or failed.
|
|
1432
|
+
attr_accessor :sezzle
|
|
1376
1433
|
# ShopeePay is a [single use](https://docs.stripe.com/payments/payment-methods#usage) digital wallet payment method popular in Indonesia. When paying with GoPay, customers authenticate and approve payments using the Shopee app. Desktop checkout is performed by scanning a QR code. When checking out on mobile, customers are redirected to the Shopee app to confirm payment.
|
|
1377
1434
|
attr_accessor :shopeepay
|
|
1378
1435
|
# Stripe users in Europe and the United States can use the [Payment Intents API](https://stripe.com/docs/payments/payment-intents)—a single integration path for creating payments using any supported method—to accept [Sofort](https://www.sofort.com/) payments from customers. Check this [page](https://docs.stripe.com/payments/sofort) for more details.
|
|
@@ -1415,6 +1472,7 @@ module Stripe
|
|
|
1415
1472
|
blik: nil,
|
|
1416
1473
|
boleto: nil,
|
|
1417
1474
|
card: nil,
|
|
1475
|
+
carecredit: nil,
|
|
1418
1476
|
cartes_bancaires: nil,
|
|
1419
1477
|
cashapp: nil,
|
|
1420
1478
|
crypto: nil,
|
|
@@ -1424,6 +1482,7 @@ module Stripe
|
|
|
1424
1482
|
expand: nil,
|
|
1425
1483
|
fpx: nil,
|
|
1426
1484
|
fr_meal_voucher_conecs: nil,
|
|
1485
|
+
getflex: nil,
|
|
1427
1486
|
giropay: nil,
|
|
1428
1487
|
google_pay: nil,
|
|
1429
1488
|
gopay: nil,
|
|
@@ -1462,6 +1521,7 @@ module Stripe
|
|
|
1462
1521
|
scalapay: nil,
|
|
1463
1522
|
sepa_debit: nil,
|
|
1464
1523
|
sequra: nil,
|
|
1524
|
+
sezzle: nil,
|
|
1465
1525
|
shopeepay: nil,
|
|
1466
1526
|
sofort: nil,
|
|
1467
1527
|
sunbit: nil,
|
|
@@ -1492,6 +1552,7 @@ module Stripe
|
|
|
1492
1552
|
@blik = blik
|
|
1493
1553
|
@boleto = boleto
|
|
1494
1554
|
@card = card
|
|
1555
|
+
@carecredit = carecredit
|
|
1495
1556
|
@cartes_bancaires = cartes_bancaires
|
|
1496
1557
|
@cashapp = cashapp
|
|
1497
1558
|
@crypto = crypto
|
|
@@ -1501,6 +1562,7 @@ module Stripe
|
|
|
1501
1562
|
@expand = expand
|
|
1502
1563
|
@fpx = fpx
|
|
1503
1564
|
@fr_meal_voucher_conecs = fr_meal_voucher_conecs
|
|
1565
|
+
@getflex = getflex
|
|
1504
1566
|
@giropay = giropay
|
|
1505
1567
|
@google_pay = google_pay
|
|
1506
1568
|
@gopay = gopay
|
|
@@ -1539,6 +1601,7 @@ module Stripe
|
|
|
1539
1601
|
@scalapay = scalapay
|
|
1540
1602
|
@sepa_debit = sepa_debit
|
|
1541
1603
|
@sequra = sequra
|
|
1604
|
+
@sezzle = sezzle
|
|
1542
1605
|
@shopeepay = shopeepay
|
|
1543
1606
|
@sofort = sofort
|
|
1544
1607
|
@sunbit = sunbit
|
|
@@ -309,6 +309,23 @@ module Stripe
|
|
|
309
309
|
end
|
|
310
310
|
end
|
|
311
311
|
|
|
312
|
+
class Carecredit < ::Stripe::RequestParams
|
|
313
|
+
class DisplayPreference < ::Stripe::RequestParams
|
|
314
|
+
# The account's preference for whether or not to display this payment method.
|
|
315
|
+
attr_accessor :preference
|
|
316
|
+
|
|
317
|
+
def initialize(preference: nil)
|
|
318
|
+
@preference = preference
|
|
319
|
+
end
|
|
320
|
+
end
|
|
321
|
+
# Whether or not the payment method should be displayed.
|
|
322
|
+
attr_accessor :display_preference
|
|
323
|
+
|
|
324
|
+
def initialize(display_preference: nil)
|
|
325
|
+
@display_preference = display_preference
|
|
326
|
+
end
|
|
327
|
+
end
|
|
328
|
+
|
|
312
329
|
class CartesBancaires < ::Stripe::RequestParams
|
|
313
330
|
class DisplayPreference < ::Stripe::RequestParams
|
|
314
331
|
# The account's preference for whether or not to display this payment method.
|
|
@@ -445,6 +462,23 @@ module Stripe
|
|
|
445
462
|
end
|
|
446
463
|
end
|
|
447
464
|
|
|
465
|
+
class Getflex < ::Stripe::RequestParams
|
|
466
|
+
class DisplayPreference < ::Stripe::RequestParams
|
|
467
|
+
# The account's preference for whether or not to display this payment method.
|
|
468
|
+
attr_accessor :preference
|
|
469
|
+
|
|
470
|
+
def initialize(preference: nil)
|
|
471
|
+
@preference = preference
|
|
472
|
+
end
|
|
473
|
+
end
|
|
474
|
+
# Whether or not the payment method should be displayed.
|
|
475
|
+
attr_accessor :display_preference
|
|
476
|
+
|
|
477
|
+
def initialize(display_preference: nil)
|
|
478
|
+
@display_preference = display_preference
|
|
479
|
+
end
|
|
480
|
+
end
|
|
481
|
+
|
|
448
482
|
class Giropay < ::Stripe::RequestParams
|
|
449
483
|
class DisplayPreference < ::Stripe::RequestParams
|
|
450
484
|
# The account's preference for whether or not to display this payment method.
|
|
@@ -1057,6 +1091,23 @@ module Stripe
|
|
|
1057
1091
|
end
|
|
1058
1092
|
end
|
|
1059
1093
|
|
|
1094
|
+
class Sezzle < ::Stripe::RequestParams
|
|
1095
|
+
class DisplayPreference < ::Stripe::RequestParams
|
|
1096
|
+
# The account's preference for whether or not to display this payment method.
|
|
1097
|
+
attr_accessor :preference
|
|
1098
|
+
|
|
1099
|
+
def initialize(preference: nil)
|
|
1100
|
+
@preference = preference
|
|
1101
|
+
end
|
|
1102
|
+
end
|
|
1103
|
+
# Whether or not the payment method should be displayed.
|
|
1104
|
+
attr_accessor :display_preference
|
|
1105
|
+
|
|
1106
|
+
def initialize(display_preference: nil)
|
|
1107
|
+
@display_preference = display_preference
|
|
1108
|
+
end
|
|
1109
|
+
end
|
|
1110
|
+
|
|
1060
1111
|
class Shopeepay < ::Stripe::RequestParams
|
|
1061
1112
|
class DisplayPreference < ::Stripe::RequestParams
|
|
1062
1113
|
# The account's preference for whether or not to display this payment method.
|
|
@@ -1281,6 +1332,8 @@ module Stripe
|
|
|
1281
1332
|
attr_accessor :boleto
|
|
1282
1333
|
# Cards are a popular way for consumers and businesses to pay online or in person. Stripe supports global and local card networks.
|
|
1283
1334
|
attr_accessor :card
|
|
1335
|
+
# CareCredit is a health and wellness credit card that customers can use to pay for eligible purchases, including with promotional financing. Customers are redirected from your website or app, authorize the payment with CareCredit, then return to your website or app. You get [immediate notification](https://docs.stripe.com/payments/payment-methods#payment-notification) of whether the payment succeeded or failed.
|
|
1336
|
+
attr_accessor :carecredit
|
|
1284
1337
|
# Cartes Bancaires is France's local card network. More than 95% of these cards are co-branded with either Visa or Mastercard, meaning you can process these cards over either Cartes Bancaires or the Visa or Mastercard networks. Check this [page](https://docs.stripe.com/payments/cartes-bancaires) for more details.
|
|
1285
1338
|
attr_accessor :cartes_bancaires
|
|
1286
1339
|
# Cash App is a popular consumer app in the US that allows customers to bank, invest, send, and receive money using their digital wallet. Check this [page](https://docs.stripe.com/payments/cash-app-pay) for more details.
|
|
@@ -1299,6 +1352,8 @@ module Stripe
|
|
|
1299
1352
|
attr_accessor :fpx
|
|
1300
1353
|
# Meal vouchers in France, or “titres-restaurant”, is a local benefits program commonly offered by employers for their employees to purchase prepared food and beverages on working days. Check this [page](https://docs.stripe.com/payments/meal-vouchers/fr-meal-vouchers) for more details.
|
|
1301
1354
|
attr_accessor :fr_meal_voucher_conecs
|
|
1355
|
+
# Flex is a buy now, pay later payment method for recurring bills, such as rent, where customers split a bill into smaller payments. Customers are redirected from your website or app, authorize the payment with Flex, then return to your website or app. You get [immediate notification](https://docs.stripe.com/payments/payment-methods#payment-notification) of whether the payment succeeded or failed.
|
|
1356
|
+
attr_accessor :getflex
|
|
1302
1357
|
# giropay is a German payment method based on online banking, introduced in 2006. It allows customers to complete transactions online using their online banking environment, with funds debited from their bank account. Depending on their bank, customers confirm payments on giropay using a second factor of authentication or a PIN. giropay accounts for 10% of online checkouts in Germany. Check this [page](https://docs.stripe.com/payments/giropay) for more details.
|
|
1303
1358
|
attr_accessor :giropay
|
|
1304
1359
|
# Google Pay allows customers to make payments in your app or website using any credit or debit card saved to their Google Account, including those from Google Play, YouTube, Chrome, or an Android device. Use the Google Pay API to request any credit or debit card stored in your customer's Google account. Check this [page](https://docs.stripe.com/google-pay) for more details.
|
|
@@ -1373,6 +1428,8 @@ module Stripe
|
|
|
1373
1428
|
attr_accessor :sepa_debit
|
|
1374
1429
|
# SeQura is a [single-use](https://docs.stripe.com/payments/payment-methods#usage) payment method that offers customers payment terms ranging from 7-120 days. Customers are redirected from your website or app, authorize the payment with SeQura, then return to your website or app. You get [immediate notification](https://docs.stripe.com/payments/payment-methods#payment-notification) of whether the payment succeeded or failed.
|
|
1375
1430
|
attr_accessor :sequra
|
|
1431
|
+
# Sezzle is a buy now, pay later payment method where customers split their purchase into installments. Customers are redirected from your website or app, authorize the payment with Sezzle, then return to your website or app. You get [immediate notification](https://docs.stripe.com/payments/payment-methods#payment-notification) of whether the payment succeeded or failed.
|
|
1432
|
+
attr_accessor :sezzle
|
|
1376
1433
|
# ShopeePay is a [single use](https://docs.stripe.com/payments/payment-methods#usage) digital wallet payment method popular in Indonesia. When paying with GoPay, customers authenticate and approve payments using the Shopee app. Desktop checkout is performed by scanning a QR code. When checking out on mobile, customers are redirected to the Shopee app to confirm payment.
|
|
1377
1434
|
attr_accessor :shopeepay
|
|
1378
1435
|
# Stripe users in Europe and the United States can use the [Payment Intents API](https://stripe.com/docs/payments/payment-intents)—a single integration path for creating payments using any supported method—to accept [Sofort](https://www.sofort.com/) payments from customers. Check this [page](https://docs.stripe.com/payments/sofort) for more details.
|
|
@@ -1416,6 +1473,7 @@ module Stripe
|
|
|
1416
1473
|
blik: nil,
|
|
1417
1474
|
boleto: nil,
|
|
1418
1475
|
card: nil,
|
|
1476
|
+
carecredit: nil,
|
|
1419
1477
|
cartes_bancaires: nil,
|
|
1420
1478
|
cashapp: nil,
|
|
1421
1479
|
crypto: nil,
|
|
@@ -1425,6 +1483,7 @@ module Stripe
|
|
|
1425
1483
|
expand: nil,
|
|
1426
1484
|
fpx: nil,
|
|
1427
1485
|
fr_meal_voucher_conecs: nil,
|
|
1486
|
+
getflex: nil,
|
|
1428
1487
|
giropay: nil,
|
|
1429
1488
|
google_pay: nil,
|
|
1430
1489
|
gopay: nil,
|
|
@@ -1462,6 +1521,7 @@ module Stripe
|
|
|
1462
1521
|
scalapay: nil,
|
|
1463
1522
|
sepa_debit: nil,
|
|
1464
1523
|
sequra: nil,
|
|
1524
|
+
sezzle: nil,
|
|
1465
1525
|
shopeepay: nil,
|
|
1466
1526
|
sofort: nil,
|
|
1467
1527
|
sunbit: nil,
|
|
@@ -1493,6 +1553,7 @@ module Stripe
|
|
|
1493
1553
|
@blik = blik
|
|
1494
1554
|
@boleto = boleto
|
|
1495
1555
|
@card = card
|
|
1556
|
+
@carecredit = carecredit
|
|
1496
1557
|
@cartes_bancaires = cartes_bancaires
|
|
1497
1558
|
@cashapp = cashapp
|
|
1498
1559
|
@crypto = crypto
|
|
@@ -1502,6 +1563,7 @@ module Stripe
|
|
|
1502
1563
|
@expand = expand
|
|
1503
1564
|
@fpx = fpx
|
|
1504
1565
|
@fr_meal_voucher_conecs = fr_meal_voucher_conecs
|
|
1566
|
+
@getflex = getflex
|
|
1505
1567
|
@giropay = giropay
|
|
1506
1568
|
@google_pay = google_pay
|
|
1507
1569
|
@gopay = gopay
|
|
@@ -1539,6 +1601,7 @@ module Stripe
|
|
|
1539
1601
|
@scalapay = scalapay
|
|
1540
1602
|
@sepa_debit = sepa_debit
|
|
1541
1603
|
@sequra = sequra
|
|
1604
|
+
@sezzle = sezzle
|
|
1542
1605
|
@shopeepay = shopeepay
|
|
1543
1606
|
@sofort = sofort
|
|
1544
1607
|
@sunbit = sunbit
|
|
@@ -225,7 +225,7 @@ module Stripe
|
|
|
225
225
|
attr_accessor :ship_from_details
|
|
226
226
|
# Shipping cost details to be used for the calculation.
|
|
227
227
|
attr_accessor :shipping_cost
|
|
228
|
-
# The calculation uses the tax rules and rates that are in effect at this timestamp. You can use a date up to 31 days in the past or up to 31 days in the future. If you use a future date, Stripe doesn't guarantee that the expected tax rules and rate being used match the actual rules and rate that will be in effect on that date. We deploy tax changes before their effective date, but not within a fixed window.
|
|
228
|
+
# The calculation uses the tax rules and rates that are in effect at this timestamp, expressed in seconds since the Unix epoch (January 1, 1970, at 00:00 UTC). Stripe Tax interprets this timestamp in each taxing jurisdiction's timezone to determine the applicable rules and rates. You can use a date up to 31 days in the past or up to 31 days in the future. If you use a future date, Stripe doesn't guarantee that the expected tax rules and rate being used match the actual rules and rate that will be in effect on that date. We deploy tax changes before their effective date, but not within a fixed window.
|
|
229
229
|
attr_accessor :tax_date
|
|
230
230
|
|
|
231
231
|
def initialize(
|
|
@@ -540,7 +540,7 @@ module Stripe
|
|
|
540
540
|
|
|
541
541
|
class Wifi < ::Stripe::RequestParams
|
|
542
542
|
class EnterpriseEapPeap < ::Stripe::RequestParams
|
|
543
|
-
# A File ID representing a PEM file containing the server certificate
|
|
543
|
+
# A File ID representing a PEM file containing the server certificate. The certificate is not currently used to validate the identity of the server, but will be used in a future device update.
|
|
544
544
|
attr_accessor :ca_certificate_file
|
|
545
545
|
# Password for connecting to the WiFi network
|
|
546
546
|
attr_accessor :password
|
|
@@ -540,7 +540,7 @@ module Stripe
|
|
|
540
540
|
|
|
541
541
|
class Wifi < ::Stripe::RequestParams
|
|
542
542
|
class EnterpriseEapPeap < ::Stripe::RequestParams
|
|
543
|
-
# A File ID representing a PEM file containing the server certificate
|
|
543
|
+
# A File ID representing a PEM file containing the server certificate. The certificate is not currently used to validate the identity of the server, but will be used in a future device update.
|
|
544
544
|
attr_accessor :ca_certificate_file
|
|
545
545
|
# Password for connecting to the WiFi network
|
|
546
546
|
attr_accessor :password
|
|
@@ -5,11 +5,25 @@ module Stripe
|
|
|
5
5
|
module Terminal
|
|
6
6
|
class ReaderRefundPaymentParams < ::Stripe::RequestParams
|
|
7
7
|
class RefundPaymentConfig < ::Stripe::RequestParams
|
|
8
|
+
class GiftCard < ::Stripe::RequestParams
|
|
9
|
+
# The brand of the destination gift card to collect on the reader.
|
|
10
|
+
attr_accessor :brand
|
|
11
|
+
# The gift card operation to perform with the refund amount.
|
|
12
|
+
attr_accessor :operation_type
|
|
13
|
+
|
|
14
|
+
def initialize(brand: nil, operation_type: nil)
|
|
15
|
+
@brand = brand
|
|
16
|
+
@operation_type = operation_type
|
|
17
|
+
end
|
|
18
|
+
end
|
|
8
19
|
# Enables cancel button on transaction screens.
|
|
9
20
|
attr_accessor :enable_customer_cancellation
|
|
21
|
+
# Collect a destination gift card on the reader to reload or activate with the refund amount. If omitted, refund the original gift card without collecting card data.
|
|
22
|
+
attr_accessor :gift_card
|
|
10
23
|
|
|
11
|
-
def initialize(enable_customer_cancellation: nil)
|
|
24
|
+
def initialize(enable_customer_cancellation: nil, gift_card: nil)
|
|
12
25
|
@enable_customer_cancellation = enable_customer_cancellation
|
|
26
|
+
@gift_card = gift_card
|
|
13
27
|
end
|
|
14
28
|
end
|
|
15
29
|
# A positive integer in __cents__ representing how much of this charge to refund.
|
|
@@ -426,7 +426,7 @@ module Stripe
|
|
|
426
426
|
attr_accessor :merchant_amount_exchange_rate
|
|
427
427
|
# The currency of the authorization. If not provided, defaults to the currency of the card. 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).
|
|
428
428
|
attr_accessor :merchant_currency
|
|
429
|
-
# Details about the seller (grocery store, e-commerce website, etc.) where the card authorization happened.
|
|
429
|
+
# Details about the seller (grocery store, e-commerce website, etc.) where the card authorization happened. Provide `merchant_data.state` and `merchant_data.postal_code` only if `merchant_data.country` is `US` or `CA`, or they will be ignored.
|
|
430
430
|
attr_accessor :merchant_data
|
|
431
431
|
# Details about the authorization, such as identifiers, set by the card network.
|
|
432
432
|
attr_accessor :network_data
|