stripe 13.4.0.pre.beta.1 → 13.4.0.pre.beta.3
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/CHANGELOG.md +24 -1
- data/CONTRIBUTING.md +25 -0
- data/Makefile +2 -0
- data/OPENAPI_VERSION +1 -1
- data/README.md +11 -6
- data/Rakefile +0 -5
- data/VERSION +1 -1
- data/justfile +43 -0
- data/lib/stripe/api_version.rb +1 -1
- data/lib/stripe/resources/account.rb +117 -747
- data/lib/stripe/resources/account_link.rb +0 -10
- data/lib/stripe/resources/account_notice.rb +0 -22
- data/lib/stripe/resources/account_session.rb +93 -128
- data/lib/stripe/resources/apple_pay_domain.rb +0 -10
- data/lib/stripe/resources/application.rb +0 -3
- data/lib/stripe/resources/application_fee.rb +0 -24
- data/lib/stripe/resources/application_fee_refund.rb +0 -7
- data/lib/stripe/resources/apps/secret.rb +0 -25
- data/lib/stripe/resources/balance.rb +0 -31
- data/lib/stripe/resources/balance_transaction.rb +0 -29
- data/lib/stripe/resources/bank_account.rb +0 -29
- data/lib/stripe/resources/billing/alert.rb +0 -22
- data/lib/stripe/resources/billing/alert_triggered.rb +0 -5
- data/lib/stripe/resources/billing/credit_balance_summary.rb +0 -12
- data/lib/stripe/resources/billing/credit_balance_transaction.rb +0 -24
- data/lib/stripe/resources/billing/credit_grant.rb +0 -32
- data/lib/stripe/resources/billing/meter.rb +0 -25
- data/lib/stripe/resources/billing/meter_error_report.rb +0 -11
- data/lib/stripe/resources/billing/meter_event.rb +0 -10
- data/lib/stripe/resources/billing/meter_event_adjustment.rb +0 -8
- data/lib/stripe/resources/billing/meter_event_summary.rb +0 -6
- data/lib/stripe/resources/billing_portal/configuration.rb +2 -79
- data/lib/stripe/resources/billing_portal/session.rb +0 -42
- data/lib/stripe/resources/capability.rb +2 -29
- data/lib/stripe/resources/capital/financing_offer.rb +0 -33
- data/lib/stripe/resources/capital/financing_summary.rb +0 -13
- data/lib/stripe/resources/capital/financing_transaction.rb +0 -24
- data/lib/stripe/resources/card.rb +2 -34
- data/lib/stripe/resources/cash_balance.rb +0 -5
- data/lib/stripe/resources/charge.rb +8 -665
- data/lib/stripe/resources/checkout/session.rb +21 -513
- data/lib/stripe/resources/climate/order.rb +0 -40
- data/lib/stripe/resources/climate/product.rb +0 -13
- data/lib/stripe/resources/climate/supplier.rb +0 -13
- data/lib/stripe/resources/confirmation_token.rb +12 -337
- data/lib/stripe/resources/connect_collection_transfer.rb +0 -5
- data/lib/stripe/resources/country_spec.rb +0 -13
- data/lib/stripe/resources/coupon.rb +0 -39
- data/lib/stripe/resources/credit_note.rb +0 -138
- data/lib/stripe/resources/credit_note_line_item.rb +0 -24
- data/lib/stripe/resources/customer.rb +1 -156
- data/lib/stripe/resources/customer_balance_transaction.rb +0 -12
- data/lib/stripe/resources/customer_cash_balance_transaction.rb +0 -27
- data/lib/stripe/resources/customer_session.rb +0 -24
- data/lib/stripe/resources/discount.rb +0 -12
- data/lib/stripe/resources/dispute.rb +4 -152
- data/lib/stripe/resources/entitlements/active_entitlement.rb +0 -8
- data/lib/stripe/resources/entitlements/active_entitlement_summary.rb +0 -3
- data/lib/stripe/resources/entitlements/feature.rb +0 -17
- data/lib/stripe/resources/ephemeral_key.rb +0 -5
- data/lib/stripe/resources/event.rb +0 -27
- data/lib/stripe/resources/exchange_rate.rb +0 -5
- data/lib/stripe/resources/file.rb +0 -23
- data/lib/stripe/resources/file_link.rb +0 -22
- data/lib/stripe/resources/financial_connections/account.rb +0 -47
- data/lib/stripe/resources/financial_connections/account_inferred_balance.rb +0 -3
- data/lib/stripe/resources/financial_connections/account_owner.rb +0 -7
- data/lib/stripe/resources/financial_connections/account_ownership.rb +0 -3
- data/lib/stripe/resources/financial_connections/institution.rb +0 -13
- data/lib/stripe/resources/financial_connections/session.rb +0 -28
- data/lib/stripe/resources/financial_connections/transaction.rb +1 -22
- data/lib/stripe/resources/forwarding/request.rb +0 -31
- data/lib/stripe/resources/funding_instructions.rb +0 -107
- data/lib/stripe/resources/gift_cards/card.rb +0 -28
- data/lib/stripe/resources/gift_cards/transaction.rb +0 -32
- data/lib/stripe/resources/identity/verification_report.rb +0 -69
- data/lib/stripe/resources/identity/verification_session.rb +0 -69
- data/lib/stripe/resources/invoice.rb +6 -1276
- data/lib/stripe/resources/invoice_item.rb +0 -91
- data/lib/stripe/resources/invoice_line_item.rb +0 -76
- data/lib/stripe/resources/invoice_payment.rb +0 -16
- data/lib/stripe/resources/invoice_rendering_template.rb +0 -12
- data/lib/stripe/resources/issuing/authorization.rb +0 -199
- data/lib/stripe/resources/issuing/card.rb +0 -128
- data/lib/stripe/resources/issuing/cardholder.rb +0 -110
- data/lib/stripe/resources/issuing/credit_underwriting_record.rb +0 -82
- data/lib/stripe/resources/issuing/dispute.rb +0 -151
- data/lib/stripe/resources/issuing/dispute_settlement_detail.rb +0 -14
- data/lib/stripe/resources/issuing/fraud_liability_debit.rb +0 -14
- data/lib/stripe/resources/issuing/personalization_design.rb +0 -48
- data/lib/stripe/resources/issuing/physical_bundle.rb +0 -13
- data/lib/stripe/resources/issuing/settlement.rb +0 -16
- data/lib/stripe/resources/issuing/token.rb +0 -46
- data/lib/stripe/resources/issuing/transaction.rb +0 -171
- data/lib/stripe/resources/line_item.rb +0 -23
- data/lib/stripe/resources/login_link.rb +0 -2
- data/lib/stripe/resources/mandate.rb +0 -45
- data/lib/stripe/resources/margin.rb +0 -19
- data/lib/stripe/resources/order.rb +3 -391
- data/lib/stripe/resources/payment_attempt_record.rb +0 -42
- data/lib/stripe/resources/payment_intent.rb +48 -1768
- data/lib/stripe/resources/payment_link.rb +15 -213
- data/lib/stripe/resources/payment_method.rb +19 -345
- data/lib/stripe/resources/payment_method_configuration.rb +58 -292
- data/lib/stripe/resources/payment_method_domain.rb +0 -23
- data/lib/stripe/resources/payment_record.rb +0 -109
- data/lib/stripe/resources/payout.rb +0 -49
- data/lib/stripe/resources/person.rb +2 -92
- data/lib/stripe/resources/plan.rb +0 -69
- data/lib/stripe/resources/price.rb +0 -133
- data/lib/stripe/resources/product.rb +0 -100
- data/lib/stripe/resources/product_feature.rb +0 -4
- data/lib/stripe/resources/promotion_code.rb +0 -40
- data/lib/stripe/resources/quote.rb +0 -458
- data/lib/stripe/resources/quote_line.rb +0 -66
- data/lib/stripe/resources/quote_preview_invoice.rb +3 -184
- data/lib/stripe/resources/quote_preview_subscription_schedule.rb +0 -101
- data/lib/stripe/resources/radar/early_fraud_warning.rb +0 -16
- data/lib/stripe/resources/radar/value_list.rb +0 -26
- data/lib/stripe/resources/radar/value_list_item.rb +0 -18
- data/lib/stripe/resources/refund.rb +0 -92
- data/lib/stripe/resources/reporting/report_run.rb +0 -32
- data/lib/stripe/resources/reporting/report_type.rb +0 -8
- data/lib/stripe/resources/reserve_transaction.rb +0 -4
- data/lib/stripe/resources/reversal.rb +0 -9
- data/lib/stripe/resources/review.rb +0 -27
- data/lib/stripe/resources/setup_attempt.rb +2 -103
- data/lib/stripe/resources/setup_intent.rb +23 -539
- data/lib/stripe/resources/shipping_rate.rb +0 -44
- data/lib/stripe/resources/sigma/scheduled_query_run.rb +0 -13
- data/lib/stripe/resources/source.rb +6 -338
- data/lib/stripe/resources/source_mandate_notification.rb +0 -13
- data/lib/stripe/resources/source_transaction.rb +0 -29
- data/lib/stripe/resources/subscription.rb +0 -338
- data/lib/stripe/resources/subscription_item.rb +0 -69
- data/lib/stripe/resources/subscription_schedule.rb +0 -388
- data/lib/stripe/resources/tax/association.rb +0 -11
- data/lib/stripe/resources/tax/calculation.rb +2 -89
- data/lib/stripe/resources/tax/calculation_line_item.rb +0 -20
- data/lib/stripe/resources/tax/form.rb +2 -35
- data/lib/stripe/resources/tax/registration.rb +421 -213
- data/lib/stripe/resources/tax/settings.rb +0 -20
- data/lib/stripe/resources/tax/transaction.rb +1 -66
- data/lib/stripe/resources/tax/transaction_line_item.rb +0 -12
- data/lib/stripe/resources/tax_code.rb +0 -6
- data/lib/stripe/resources/tax_deducted_at_source.rb +0 -4
- data/lib/stripe/resources/tax_id.rb +2 -28
- data/lib/stripe/resources/tax_rate.rb +0 -45
- data/lib/stripe/resources/terminal/configuration.rb +46 -161
- data/lib/stripe/resources/terminal/connection_token.rb +0 -3
- data/lib/stripe/resources/terminal/location.rb +0 -33
- data/lib/stripe/resources/terminal/reader.rb +0 -129
- data/lib/stripe/resources/terminal/reader_collected_data.rb +0 -5
- data/lib/stripe/resources/test_helpers/test_clock.rb +0 -15
- data/lib/stripe/resources/token.rb +23 -192
- data/lib/stripe/resources/topup.rb +0 -36
- data/lib/stripe/resources/transfer.rb +0 -35
- data/lib/stripe/resources/treasury/credit_reversal.rb +0 -21
- data/lib/stripe/resources/treasury/debit_reversal.rb +0 -23
- data/lib/stripe/resources/treasury/financial_account.rb +77 -71
- data/lib/stripe/resources/treasury/financial_account_features.rb +0 -46
- data/lib/stripe/resources/treasury/inbound_transfer.rb +0 -50
- data/lib/stripe/resources/treasury/outbound_payment.rb +0 -92
- data/lib/stripe/resources/treasury/outbound_transfer.rb +25 -66
- data/lib/stripe/resources/treasury/received_credit.rb +6 -58
- data/lib/stripe/resources/treasury/received_debit.rb +0 -54
- data/lib/stripe/resources/treasury/transaction.rb +0 -39
- data/lib/stripe/resources/treasury/transaction_entry.rb +0 -36
- data/lib/stripe/resources/usage_record.rb +0 -5
- data/lib/stripe/resources/usage_record_summary.rb +0 -7
- data/lib/stripe/resources/v2/billing/meter_event.rb +0 -6
- data/lib/stripe/resources/v2/billing/meter_event_adjustment.rb +0 -7
- data/lib/stripe/resources/v2/billing/meter_event_session.rb +0 -5
- data/lib/stripe/resources/v2/event.rb +0 -8
- data/lib/stripe/resources/v2/event_destination.rb +0 -19
- data/lib/stripe/resources/webhook_endpoint.rb +0 -26
- data/lib/stripe/services/account_capability_service.rb +0 -1
- data/lib/stripe/services/account_external_account_service.rb +0 -43
- data/lib/stripe/services/account_link_service.rb +0 -7
- data/lib/stripe/services/account_notice_service.rb +0 -9
- data/lib/stripe/services/account_person_service.rb +0 -139
- data/lib/stripe/services/account_service.rb +100 -521
- data/lib/stripe/services/account_session_service.rb +22 -80
- data/lib/stripe/services/apple_pay_domain_service.rb +0 -5
- data/lib/stripe/services/application_fee_refund_service.rb +0 -6
- data/lib/stripe/services/application_fee_service.rb +0 -8
- data/lib/stripe/services/apps/secret_service.rb +0 -16
- data/lib/stripe/services/balance_transaction_service.rb +0 -11
- data/lib/stripe/services/billing/alert_service.rb +0 -12
- data/lib/stripe/services/billing/credit_balance_summary_service.rb +0 -4
- data/lib/stripe/services/billing/credit_balance_transaction_service.rb +0 -5
- data/lib/stripe/services/billing/credit_grant_service.rb +0 -16
- data/lib/stripe/services/billing/meter_event_adjustment_service.rb +0 -3
- data/lib/stripe/services/billing/meter_event_service.rb +0 -4
- data/lib/stripe/services/billing/meter_event_summary_service.rb +0 -7
- data/lib/stripe/services/billing/meter_service.rb +0 -12
- data/lib/stripe/services/billing_portal/configuration_service.rb +2 -50
- data/lib/stripe/services/billing_portal/session_service.rb +0 -19
- data/lib/stripe/services/capital/financing_offer_service.rb +0 -9
- data/lib/stripe/services/capital/financing_transaction_service.rb +0 -7
- data/lib/stripe/services/charge_service.rb +0 -274
- data/lib/stripe/services/checkout/session_line_item_service.rb +0 -3
- data/lib/stripe/services/checkout/session_service.rb +9 -273
- data/lib/stripe/services/climate/order_service.rb +0 -11
- data/lib/stripe/services/climate/product_service.rb +0 -3
- data/lib/stripe/services/climate/supplier_service.rb +0 -3
- data/lib/stripe/services/country_spec_service.rb +0 -3
- data/lib/stripe/services/coupon_service.rb +0 -22
- data/lib/stripe/services/credit_note_line_item_service.rb +0 -3
- data/lib/stripe/services/credit_note_preview_lines_service.rb +0 -28
- data/lib/stripe/services/credit_note_service.rb +0 -61
- data/lib/stripe/services/customer_balance_transaction_service.rb +0 -9
- data/lib/stripe/services/customer_cash_balance_service.rb +0 -1
- data/lib/stripe/services/customer_cash_balance_transaction_service.rb +0 -3
- data/lib/stripe/services/customer_funding_instructions_service.rb +0 -5
- data/lib/stripe/services/customer_payment_method_service.rb +0 -5
- data/lib/stripe/services/customer_payment_source_service.rb +0 -29
- data/lib/stripe/services/customer_service.rb +1 -92
- data/lib/stripe/services/customer_session_service.rb +0 -10
- data/lib/stripe/services/customer_tax_id_service.rb +1 -6
- data/lib/stripe/services/dispute_service.rb +2 -67
- data/lib/stripe/services/entitlements/active_entitlement_service.rb +0 -4
- data/lib/stripe/services/entitlements/feature_service.rb +0 -11
- data/lib/stripe/services/ephemeral_key_service.rb +0 -4
- data/lib/stripe/services/event_service.rb +0 -10
- data/lib/stripe/services/exchange_rate_service.rb +0 -3
- data/lib/stripe/services/file_link_service.rb +0 -14
- data/lib/stripe/services/file_service.rb +0 -13
- data/lib/stripe/services/financial_connections/account_inferred_balance_service.rb +0 -3
- data/lib/stripe/services/financial_connections/account_owner_service.rb +0 -4
- data/lib/stripe/services/financial_connections/account_service.rb +0 -9
- data/lib/stripe/services/financial_connections/institution_service.rb +0 -3
- data/lib/stripe/services/financial_connections/session_service.rb +0 -11
- data/lib/stripe/services/financial_connections/transaction_service.rb +1 -10
- data/lib/stripe/services/forwarding/request_service.rb +0 -14
- data/lib/stripe/services/gift_cards/card_service.rb +0 -13
- data/lib/stripe/services/gift_cards/transaction_service.rb +0 -16
- data/lib/stripe/services/identity/verification_report_service.rb +0 -10
- data/lib/stripe/services/identity/verification_session_service.rb +0 -30
- data/lib/stripe/services/invoice_item_service.rb +0 -66
- data/lib/stripe/services/invoice_line_item_service.rb +0 -40
- data/lib/stripe/services/invoice_payment_service.rb +0 -3
- data/lib/stripe/services/invoice_rendering_template_service.rb +0 -5
- data/lib/stripe/services/invoice_service.rb +2 -810
- data/lib/stripe/services/invoice_upcoming_lines_service.rb +1 -279
- data/lib/stripe/services/issuing/authorization_service.rb +0 -14
- data/lib/stripe/services/issuing/card_service.rb +0 -70
- data/lib/stripe/services/issuing/cardholder_service.rb +0 -73
- data/lib/stripe/services/issuing/credit_underwriting_record_service.rb +0 -56
- data/lib/stripe/services/issuing/dispute_service.rb +0 -98
- data/lib/stripe/services/issuing/dispute_settlement_detail_service.rb +0 -4
- data/lib/stripe/services/issuing/fraud_liability_debit_service.rb +0 -7
- data/lib/stripe/services/issuing/personalization_design_service.rb +0 -29
- data/lib/stripe/services/issuing/physical_bundle_service.rb +0 -5
- data/lib/stripe/services/issuing/token_service.rb +0 -10
- data/lib/stripe/services/issuing/transaction_service.rb +0 -12
- data/lib/stripe/services/margin_service.rb +0 -11
- data/lib/stripe/services/order_line_item_service.rb +0 -3
- data/lib/stripe/services/order_service.rb +2 -266
- data/lib/stripe/services/payment_attempt_record_service.rb +0 -1
- data/lib/stripe/services/payment_intent_service.rb +42 -1309
- data/lib/stripe/services/payment_link_line_item_service.rb +0 -3
- data/lib/stripe/services/payment_link_service.rb +15 -135
- data/lib/stripe/services/payment_method_configuration_service.rb +42 -102
- data/lib/stripe/services/payment_method_domain_service.rb +0 -8
- data/lib/stripe/services/payment_method_service.rb +14 -113
- data/lib/stripe/services/payment_record_service.rb +0 -68
- data/lib/stripe/services/payout_service.rb +0 -23
- data/lib/stripe/services/plan_service.rb +0 -43
- data/lib/stripe/services/price_service.rb +0 -87
- data/lib/stripe/services/product_feature_service.rb +0 -4
- data/lib/stripe/services/product_service.rb +0 -74
- data/lib/stripe/services/promotion_code_service.rb +0 -25
- data/lib/stripe/services/quote_computed_upfront_line_items_service.rb +0 -3
- data/lib/stripe/services/quote_line_item_service.rb +0 -3
- data/lib/stripe/services/quote_line_service.rb +0 -3
- data/lib/stripe/services/quote_preview_invoice_service.rb +0 -3
- data/lib/stripe/services/quote_preview_subscription_schedule_service.rb +0 -3
- data/lib/stripe/services/quote_service.rb +0 -309
- data/lib/stripe/services/radar/early_fraud_warning_service.rb +0 -9
- data/lib/stripe/services/radar/value_list_item_service.rb +0 -11
- data/lib/stripe/services/radar/value_list_service.rb +0 -16
- data/lib/stripe/services/refund_service.rb +0 -21
- data/lib/stripe/services/reporting/report_run_service.rb +0 -16
- data/lib/stripe/services/review_service.rb +0 -7
- data/lib/stripe/services/setup_attempt_service.rb +0 -8
- data/lib/stripe/services/setup_intent_service.rb +21 -447
- data/lib/stripe/services/shipping_rate_service.rb +0 -27
- data/lib/stripe/services/sigma/scheduled_query_run_service.rb +0 -3
- data/lib/stripe/services/source_service.rb +0 -92
- data/lib/stripe/services/source_transaction_service.rb +0 -3
- data/lib/stripe/services/subscription_item_service.rb +0 -56
- data/lib/stripe/services/subscription_item_usage_record_service.rb +0 -3
- data/lib/stripe/services/subscription_item_usage_record_summary_service.rb +0 -3
- data/lib/stripe/services/subscription_schedule_service.rb +0 -290
- data/lib/stripe/services/subscription_service.rb +0 -245
- data/lib/stripe/services/tax/association_service.rb +0 -1
- data/lib/stripe/services/tax/calculation_line_item_service.rb +0 -3
- data/lib/stripe/services/tax/calculation_service.rb +1 -31
- data/lib/stripe/services/tax/form_service.rb +0 -7
- data/lib/stripe/services/tax/registration_service.rb +274 -108
- data/lib/stripe/services/tax/settings_service.rb +0 -8
- data/lib/stripe/services/tax/transaction_line_item_service.rb +0 -3
- data/lib/stripe/services/tax/transaction_service.rb +0 -17
- data/lib/stripe/services/tax_code_service.rb +0 -3
- data/lib/stripe/services/tax_id_service.rb +1 -12
- data/lib/stripe/services/tax_rate_service.rb +0 -27
- data/lib/stripe/services/terminal/configuration_service.rb +36 -106
- data/lib/stripe/services/terminal/connection_token_service.rb +0 -1
- data/lib/stripe/services/terminal/location_service.rb +0 -21
- data/lib/stripe/services/terminal/reader_service.rb +0 -53
- data/lib/stripe/services/test_helpers/confirmation_token_service.rb +7 -89
- data/lib/stripe/services/test_helpers/customer_service.rb +0 -3
- data/lib/stripe/services/test_helpers/issuing/authorization_service.rb +0 -99
- data/lib/stripe/services/test_helpers/issuing/personalization_design_service.rb +0 -2
- data/lib/stripe/services/test_helpers/issuing/transaction_service.rb +0 -91
- data/lib/stripe/services/test_helpers/terminal/reader_service.rb +0 -4
- data/lib/stripe/services/test_helpers/test_clock_service.rb +0 -6
- data/lib/stripe/services/test_helpers/treasury/inbound_transfer_service.rb +0 -1
- data/lib/stripe/services/test_helpers/treasury/outbound_payment_service.rb +0 -6
- data/lib/stripe/services/test_helpers/treasury/outbound_transfer_service.rb +0 -6
- data/lib/stripe/services/test_helpers/treasury/received_credit_service.rb +0 -11
- data/lib/stripe/services/test_helpers/treasury/received_debit_service.rb +0 -11
- data/lib/stripe/services/token_service.rb +23 -184
- data/lib/stripe/services/topup_service.rb +0 -21
- data/lib/stripe/services/transfer_reversal_service.rb +0 -8
- data/lib/stripe/services/transfer_service.rb +0 -19
- data/lib/stripe/services/treasury/credit_reversal_service.rb +0 -8
- data/lib/stripe/services/treasury/debit_reversal_service.rb +0 -9
- data/lib/stripe/services/treasury/financial_account_features_service.rb +0 -10
- data/lib/stripe/services/treasury/financial_account_service.rb +64 -36
- data/lib/stripe/services/treasury/inbound_transfer_service.rb +0 -12
- data/lib/stripe/services/treasury/outbound_payment_service.rb +0 -38
- data/lib/stripe/services/treasury/outbound_transfer_service.rb +16 -15
- data/lib/stripe/services/treasury/received_credit_service.rb +0 -6
- data/lib/stripe/services/treasury/received_debit_service.rb +0 -5
- data/lib/stripe/services/treasury/transaction_entry_service.rb +0 -14
- data/lib/stripe/services/treasury/transaction_service.rb +0 -14
- data/lib/stripe/services/v2/billing/meter_event_adjustment_service.rb +0 -2
- data/lib/stripe/services/v2/billing/meter_event_service.rb +0 -3
- data/lib/stripe/services/v2/billing/meter_event_stream_service.rb +0 -3
- data/lib/stripe/services/v2/core/event_destination_service.rb +0 -18
- data/lib/stripe/services/v2/core/event_service.rb +0 -2
- data/lib/stripe/services/webhook_endpoint_service.rb +0 -14
- data/lib/stripe/stripe_client.rb +7 -2
- data/lib/stripe/stripe_configuration.rb +21 -1
- data/lib/stripe/stripe_object.rb +3 -3
- data/lib/stripe/thin_event.rb +22 -2
- data/lib/stripe/util.rb +1 -1
- data/lib/stripe/version.rb +1 -1
- data/lib/stripe.rb +22 -0
- data/rbi/stripe/resources/account.rbi +120 -1007
- data/rbi/stripe/resources/account_link.rbi +0 -13
- data/rbi/stripe/resources/account_notice.rbi +0 -27
- data/rbi/stripe/resources/account_session.rbi +121 -172
- data/rbi/stripe/resources/apple_pay_domain.rbi +0 -14
- data/rbi/stripe/resources/application.rbi +0 -3
- data/rbi/stripe/resources/application_fee.rbi +0 -28
- data/rbi/stripe/resources/application_fee_refund.rbi +0 -7
- data/rbi/stripe/resources/apps/secret.rbi +0 -34
- data/rbi/stripe/resources/balance.rbi +0 -33
- data/rbi/stripe/resources/balance_transaction.rbi +0 -33
- data/rbi/stripe/resources/bank_account.rbi +0 -29
- data/rbi/stripe/resources/billing/alert.rbi +0 -31
- data/rbi/stripe/resources/billing/alert_triggered.rbi +0 -5
- data/rbi/stripe/resources/billing/credit_balance_summary.rbi +0 -16
- data/rbi/stripe/resources/billing/credit_balance_transaction.rbi +0 -27
- data/rbi/stripe/resources/billing/credit_grant.rbi +0 -43
- data/rbi/stripe/resources/billing/meter.rbi +0 -35
- data/rbi/stripe/resources/billing/meter_error_report.rbi +0 -11
- data/rbi/stripe/resources/billing/meter_event.rbi +0 -12
- data/rbi/stripe/resources/billing/meter_event_adjustment.rbi +0 -11
- data/rbi/stripe/resources/billing/meter_event_summary.rbi +0 -6
- data/rbi/stripe/resources/billing_portal/configuration.rbi +2 -108
- data/rbi/stripe/resources/billing_portal/session.rbi +0 -55
- data/rbi/stripe/resources/capability.rbi +2 -29
- data/rbi/stripe/resources/capital/financing_offer.rbi +0 -38
- data/rbi/stripe/resources/capital/financing_summary.rbi +0 -15
- data/rbi/stripe/resources/capital/financing_transaction.rbi +0 -27
- data/rbi/stripe/resources/card.rbi +3 -34
- data/rbi/stripe/resources/cash_balance.rbi +0 -5
- data/rbi/stripe/resources/charge.rbi +10 -738
- data/rbi/stripe/resources/checkout/session.rbi +26 -638
- data/rbi/stripe/resources/climate/order.rbi +0 -48
- data/rbi/stripe/resources/climate/product.rbi +0 -16
- data/rbi/stripe/resources/climate/supplier.rbi +0 -16
- data/rbi/stripe/resources/confirmation_token.rbi +15 -365
- data/rbi/stripe/resources/connect_collection_transfer.rbi +0 -5
- data/rbi/stripe/resources/country_spec.rbi +0 -16
- data/rbi/stripe/resources/coupon.rbi +0 -48
- data/rbi/stripe/resources/credit_note.rbi +0 -159
- data/rbi/stripe/resources/credit_note_line_item.rbi +0 -24
- data/rbi/stripe/resources/customer.rbi +1 -188
- data/rbi/stripe/resources/customer_balance_transaction.rbi +0 -12
- data/rbi/stripe/resources/customer_cash_balance_transaction.rbi +0 -27
- data/rbi/stripe/resources/customer_session.rbi +0 -31
- data/rbi/stripe/resources/discount.rbi +0 -12
- data/rbi/stripe/resources/dispute.rbi +4 -166
- data/rbi/stripe/resources/entitlements/active_entitlement.rbi +0 -11
- data/rbi/stripe/resources/entitlements/active_entitlement_summary.rbi +0 -3
- data/rbi/stripe/resources/entitlements/feature.rbi +0 -22
- data/rbi/stripe/resources/ephemeral_key.rbi +0 -7
- data/rbi/stripe/resources/event.rbi +0 -31
- data/rbi/stripe/resources/exchange_rate.rbi +0 -8
- data/rbi/stripe/resources/file.rbi +0 -29
- data/rbi/stripe/resources/file_link.rbi +0 -28
- data/rbi/stripe/resources/financial_connections/account.rbi +0 -56
- data/rbi/stripe/resources/financial_connections/account_inferred_balance.rbi +0 -3
- data/rbi/stripe/resources/financial_connections/account_owner.rbi +0 -7
- data/rbi/stripe/resources/financial_connections/account_ownership.rbi +0 -3
- data/rbi/stripe/resources/financial_connections/institution.rbi +0 -16
- data/rbi/stripe/resources/financial_connections/session.rbi +0 -35
- data/rbi/stripe/resources/financial_connections/transaction.rbi +1 -27
- data/rbi/stripe/resources/forwarding/request.rbi +0 -38
- data/rbi/stripe/resources/funding_instructions.rbi +0 -107
- data/rbi/stripe/resources/gift_cards/card.rbi +0 -36
- data/rbi/stripe/resources/gift_cards/transaction.rbi +0 -41
- data/rbi/stripe/resources/identity/verification_report.rbi +0 -73
- data/rbi/stripe/resources/identity/verification_session.rbi +0 -83
- data/rbi/stripe/resources/invoice.rbi +7 -1663
- data/rbi/stripe/resources/invoice_item.rbi +0 -107
- data/rbi/stripe/resources/invoice_line_item.rbi +0 -86
- data/rbi/stripe/resources/invoice_payment.rbi +0 -16
- data/rbi/stripe/resources/invoice_rendering_template.rbi +0 -17
- data/rbi/stripe/resources/issuing/authorization.rbi +0 -245
- data/rbi/stripe/resources/issuing/card.rbi +0 -153
- data/rbi/stripe/resources/issuing/cardholder.rbi +0 -138
- data/rbi/stripe/resources/issuing/credit_underwriting_record.rbi +0 -109
- data/rbi/stripe/resources/issuing/dispute.rbi +0 -177
- data/rbi/stripe/resources/issuing/dispute_settlement_detail.rbi +0 -17
- data/rbi/stripe/resources/issuing/fraud_liability_debit.rbi +0 -18
- data/rbi/stripe/resources/issuing/personalization_design.rbi +0 -62
- data/rbi/stripe/resources/issuing/physical_bundle.rbi +0 -16
- data/rbi/stripe/resources/issuing/settlement.rbi +0 -16
- data/rbi/stripe/resources/issuing/token.rbi +0 -51
- data/rbi/stripe/resources/issuing/transaction.rbi +0 -205
- data/rbi/stripe/resources/line_item.rbi +0 -23
- data/rbi/stripe/resources/login_link.rbi +0 -2
- data/rbi/stripe/resources/mandate.rbi +0 -47
- data/rbi/stripe/resources/margin.rbi +0 -24
- data/rbi/stripe/resources/order.rbi +3 -492
- data/rbi/stripe/resources/payment_attempt_record.rbi +0 -45
- data/rbi/stripe/resources/payment_intent.rbi +61 -2230
- data/rbi/stripe/resources/payment_link.rbi +14 -291
- data/rbi/stripe/resources/payment_method.rbi +23 -384
- data/rbi/stripe/resources/payment_method_configuration.rbi +75 -495
- data/rbi/stripe/resources/payment_method_domain.rbi +0 -29
- data/rbi/stripe/resources/payment_record.rbi +0 -134
- data/rbi/stripe/resources/payout.rbi +0 -58
- data/rbi/stripe/resources/person.rbi +2 -92
- data/rbi/stripe/resources/plan.rbi +0 -78
- data/rbi/stripe/resources/price.rbi +0 -153
- data/rbi/stripe/resources/product.rbi +0 -120
- data/rbi/stripe/resources/product_feature.rbi +0 -4
- data/rbi/stripe/resources/promotion_code.rbi +0 -50
- data/rbi/stripe/resources/quote.rbi +0 -593
- data/rbi/stripe/resources/quote_line.rbi +0 -66
- data/rbi/stripe/resources/quote_preview_invoice.rbi +4 -184
- data/rbi/stripe/resources/quote_preview_subscription_schedule.rbi +0 -101
- data/rbi/stripe/resources/radar/early_fraud_warning.rbi +0 -20
- data/rbi/stripe/resources/radar/value_list.rbi +0 -32
- data/rbi/stripe/resources/radar/value_list_item.rbi +0 -23
- data/rbi/stripe/resources/refund.rbi +0 -100
- data/rbi/stripe/resources/reporting/report_run.rbi +0 -38
- data/rbi/stripe/resources/reporting/report_type.rbi +0 -11
- data/rbi/stripe/resources/reserve_transaction.rbi +0 -4
- data/rbi/stripe/resources/reversal.rbi +0 -9
- data/rbi/stripe/resources/review.rbi +0 -32
- data/rbi/stripe/resources/setup_attempt.rbi +3 -106
- data/rbi/stripe/resources/setup_intent.rbi +27 -691
- data/rbi/stripe/resources/shipping_rate.rbi +0 -57
- data/rbi/stripe/resources/sigma/scheduled_query_run.rbi +0 -16
- data/rbi/stripe/resources/source.rbi +9 -365
- data/rbi/stripe/resources/source_mandate_notification.rbi +0 -13
- data/rbi/stripe/resources/source_transaction.rbi +0 -29
- data/rbi/stripe/resources/subscription.rbi +0 -431
- data/rbi/stripe/resources/subscription_item.rbi +0 -88
- data/rbi/stripe/resources/subscription_schedule.rbi +0 -504
- data/rbi/stripe/resources/tax/association.rbi +0 -13
- data/rbi/stripe/resources/tax/calculation.rbi +2 -100
- data/rbi/stripe/resources/tax/calculation_line_item.rbi +0 -20
- data/rbi/stripe/resources/tax/form.rbi +2 -40
- data/rbi/stripe/resources/tax/registration.rbi +401 -317
- data/rbi/stripe/resources/tax/settings.rbi +0 -26
- data/rbi/stripe/resources/tax/transaction.rbi +1 -73
- data/rbi/stripe/resources/tax/transaction_line_item.rbi +0 -12
- data/rbi/stripe/resources/tax_code.rbi +0 -9
- data/rbi/stripe/resources/tax_deducted_at_source.rbi +0 -4
- data/rbi/stripe/resources/tax_id.rbi +2 -34
- data/rbi/stripe/resources/tax_rate.rbi +0 -51
- data/rbi/stripe/resources/terminal/configuration.rbi +54 -213
- data/rbi/stripe/resources/terminal/connection_token.rbi +0 -5
- data/rbi/stripe/resources/terminal/location.rbi +0 -40
- data/rbi/stripe/resources/terminal/reader.rbi +0 -158
- data/rbi/stripe/resources/terminal/reader_collected_data.rbi +0 -7
- data/rbi/stripe/resources/test_helpers/test_clock.rbi +0 -20
- data/rbi/stripe/resources/token.rbi +22 -235
- data/rbi/stripe/resources/topup.rbi +0 -44
- data/rbi/stripe/resources/transfer.rbi +0 -41
- data/rbi/stripe/resources/treasury/credit_reversal.rbi +0 -25
- data/rbi/stripe/resources/treasury/debit_reversal.rbi +0 -27
- data/rbi/stripe/resources/treasury/financial_account.rbi +70 -124
- data/rbi/stripe/resources/treasury/financial_account_features.rbi +0 -46
- data/rbi/stripe/resources/treasury/inbound_transfer.rbi +0 -59
- data/rbi/stripe/resources/treasury/outbound_payment.rbi +0 -113
- data/rbi/stripe/resources/treasury/outbound_transfer.rbi +28 -84
- data/rbi/stripe/resources/treasury/received_credit.rbi +7 -67
- data/rbi/stripe/resources/treasury/received_debit.rbi +0 -62
- data/rbi/stripe/resources/treasury/transaction.rbi +0 -45
- data/rbi/stripe/resources/treasury/transaction_entry.rbi +0 -41
- data/rbi/stripe/resources/usage_record.rbi +0 -5
- data/rbi/stripe/resources/usage_record_summary.rbi +0 -7
- data/rbi/stripe/resources/v2/billing/meter_event.rbi +0 -6
- data/rbi/stripe/resources/v2/billing/meter_event_adjustment.rbi +0 -7
- data/rbi/stripe/resources/v2/billing/meter_event_session.rbi +0 -5
- data/rbi/stripe/resources/v2/event.rbi +0 -8
- data/rbi/stripe/resources/v2/event_destination.rbi +0 -19
- data/rbi/stripe/resources/webhook_endpoint.rbi +0 -31
- data/rbi/stripe/services/account_capability_service.rbi +0 -4
- data/rbi/stripe/services/account_external_account_service.rbi +0 -52
- data/rbi/stripe/services/account_link_service.rbi +0 -9
- data/rbi/stripe/services/account_login_link_service.rbi +0 -1
- data/rbi/stripe/services/account_notice_service.rbi +0 -13
- data/rbi/stripe/services/account_person_service.rbi +0 -174
- data/rbi/stripe/services/account_service.rbi +98 -779
- data/rbi/stripe/services/account_session_service.rbi +29 -122
- data/rbi/stripe/services/apple_pay_domain_service.rbi +0 -8
- data/rbi/stripe/services/application_fee_refund_service.rbi +0 -10
- data/rbi/stripe/services/application_fee_service.rbi +0 -11
- data/rbi/stripe/services/apps/secret_service.rbi +0 -24
- data/rbi/stripe/services/balance_service.rbi +0 -1
- data/rbi/stripe/services/balance_transaction_service.rbi +0 -14
- data/rbi/stripe/services/billing/alert_service.rbi +0 -20
- data/rbi/stripe/services/billing/credit_balance_summary_service.rbi +0 -7
- data/rbi/stripe/services/billing/credit_balance_transaction_service.rbi +0 -7
- data/rbi/stripe/services/billing/credit_grant_service.rbi +0 -26
- data/rbi/stripe/services/billing/meter_event_adjustment_service.rbi +0 -5
- data/rbi/stripe/services/billing/meter_event_service.rbi +0 -5
- data/rbi/stripe/services/billing/meter_event_summary_service.rbi +0 -8
- data/rbi/stripe/services/billing/meter_service.rbi +0 -21
- data/rbi/stripe/services/billing_portal/configuration_service.rbi +2 -78
- data/rbi/stripe/services/billing_portal/session_service.rbi +0 -31
- data/rbi/stripe/services/capital/financing_offer_service.rbi +0 -13
- data/rbi/stripe/services/capital/financing_summary_service.rbi +0 -1
- data/rbi/stripe/services/capital/financing_transaction_service.rbi +0 -9
- data/rbi/stripe/services/charge_service.rbi +0 -346
- data/rbi/stripe/services/checkout/session_line_item_service.rbi +0 -4
- data/rbi/stripe/services/checkout/session_service.rbi +12 -396
- data/rbi/stripe/services/climate/order_service.rbi +0 -18
- data/rbi/stripe/services/climate/product_service.rbi +0 -5
- data/rbi/stripe/services/climate/supplier_service.rbi +0 -5
- data/rbi/stripe/services/confirmation_token_service.rbi +0 -1
- data/rbi/stripe/services/country_spec_service.rbi +0 -5
- data/rbi/stripe/services/coupon_service.rbi +0 -30
- data/rbi/stripe/services/credit_note_line_item_service.rbi +0 -4
- data/rbi/stripe/services/credit_note_preview_lines_service.rbi +0 -33
- data/rbi/stripe/services/credit_note_service.rbi +0 -76
- data/rbi/stripe/services/customer_balance_transaction_service.rbi +0 -13
- data/rbi/stripe/services/customer_cash_balance_service.rbi +0 -4
- data/rbi/stripe/services/customer_cash_balance_transaction_service.rbi +0 -5
- data/rbi/stripe/services/customer_funding_instructions_service.rbi +0 -8
- data/rbi/stripe/services/customer_payment_method_service.rbi +0 -7
- data/rbi/stripe/services/customer_payment_source_service.rbi +0 -37
- data/rbi/stripe/services/customer_service.rbi +1 -117
- data/rbi/stripe/services/customer_session_service.rbi +0 -16
- data/rbi/stripe/services/customer_tax_id_service.rbi +1 -9
- data/rbi/stripe/services/dispute_service.rbi +2 -80
- data/rbi/stripe/services/entitlements/active_entitlement_service.rbi +0 -6
- data/rbi/stripe/services/entitlements/feature_service.rbi +0 -15
- data/rbi/stripe/services/ephemeral_key_service.rbi +0 -6
- data/rbi/stripe/services/event_service.rbi +0 -13
- data/rbi/stripe/services/exchange_rate_service.rbi +0 -5
- data/rbi/stripe/services/file_link_service.rbi +0 -19
- data/rbi/stripe/services/file_service.rbi +0 -18
- data/rbi/stripe/services/financial_connections/account_inferred_balance_service.rbi +0 -4
- data/rbi/stripe/services/financial_connections/account_owner_service.rbi +0 -5
- data/rbi/stripe/services/financial_connections/account_service.rbi +0 -16
- data/rbi/stripe/services/financial_connections/institution_service.rbi +0 -5
- data/rbi/stripe/services/financial_connections/session_service.rbi +0 -17
- data/rbi/stripe/services/financial_connections/transaction_service.rbi +1 -14
- data/rbi/stripe/services/forwarding/request_service.rbi +0 -20
- data/rbi/stripe/services/gift_cards/card_service.rbi +0 -20
- data/rbi/stripe/services/gift_cards/transaction_service.rbi +0 -24
- data/rbi/stripe/services/identity/verification_report_service.rbi +0 -13
- data/rbi/stripe/services/identity/verification_session_service.rbi +0 -43
- data/rbi/stripe/services/invoice_item_service.rbi +0 -81
- data/rbi/stripe/services/invoice_line_item_service.rbi +0 -50
- data/rbi/stripe/services/invoice_payment_service.rbi +0 -5
- data/rbi/stripe/services/invoice_rendering_template_service.rbi +0 -9
- data/rbi/stripe/services/invoice_service.rbi +2 -1100
- data/rbi/stripe/services/invoice_upcoming_lines_service.rbi +1 -375
- data/rbi/stripe/services/issuing/authorization_service.rbi +0 -20
- data/rbi/stripe/services/issuing/card_service.rbi +0 -89
- data/rbi/stripe/services/issuing/cardholder_service.rbi +0 -100
- data/rbi/stripe/services/issuing/credit_underwriting_record_service.rbi +0 -82
- data/rbi/stripe/services/issuing/dispute_service.rbi +0 -123
- data/rbi/stripe/services/issuing/dispute_settlement_detail_service.rbi +0 -6
- data/rbi/stripe/services/issuing/fraud_liability_debit_service.rbi +0 -10
- data/rbi/stripe/services/issuing/personalization_design_service.rbi +0 -38
- data/rbi/stripe/services/issuing/physical_bundle_service.rbi +0 -7
- data/rbi/stripe/services/issuing/token_service.rbi +0 -14
- data/rbi/stripe/services/issuing/transaction_service.rbi +0 -16
- data/rbi/stripe/services/mandate_service.rbi +0 -1
- data/rbi/stripe/services/margin_service.rbi +0 -15
- data/rbi/stripe/services/order_line_item_service.rbi +0 -4
- data/rbi/stripe/services/order_service.rbi +2 -365
- data/rbi/stripe/services/payment_attempt_record_service.rbi +0 -3
- data/rbi/stripe/services/payment_intent_service.rbi +54 -1770
- data/rbi/stripe/services/payment_link_line_item_service.rbi +0 -4
- data/rbi/stripe/services/payment_link_service.rbi +14 -211
- data/rbi/stripe/services/payment_method_configuration_service.rbi +46 -296
- data/rbi/stripe/services/payment_method_domain_service.rbi +0 -13
- data/rbi/stripe/services/payment_method_service.rbi +16 -151
- data/rbi/stripe/services/payment_record_service.rbi +0 -92
- data/rbi/stripe/services/payout_service.rbi +0 -31
- data/rbi/stripe/services/plan_service.rbi +0 -51
- data/rbi/stripe/services/price_service.rbi +0 -106
- data/rbi/stripe/services/product_feature_service.rbi +0 -7
- data/rbi/stripe/services/product_service.rbi +0 -93
- data/rbi/stripe/services/promotion_code_service.rbi +0 -34
- data/rbi/stripe/services/quote_computed_upfront_line_items_service.rbi +0 -4
- data/rbi/stripe/services/quote_line_item_service.rbi +0 -4
- data/rbi/stripe/services/quote_line_service.rbi +0 -4
- data/rbi/stripe/services/quote_preview_invoice_service.rbi +0 -4
- data/rbi/stripe/services/quote_preview_subscription_schedule_service.rbi +0 -4
- data/rbi/stripe/services/quote_service.rbi +0 -440
- data/rbi/stripe/services/radar/early_fraud_warning_service.rbi +0 -12
- data/rbi/stripe/services/radar/value_list_item_service.rbi +0 -15
- data/rbi/stripe/services/radar/value_list_service.rbi +0 -21
- data/rbi/stripe/services/refund_service.rbi +0 -27
- data/rbi/stripe/services/reporting/report_run_service.rbi +0 -21
- data/rbi/stripe/services/reporting/report_type_service.rbi +0 -2
- data/rbi/stripe/services/review_service.rbi +0 -11
- data/rbi/stripe/services/setup_attempt_service.rbi +0 -10
- data/rbi/stripe/services/setup_intent_service.rbi +24 -598
- data/rbi/stripe/services/shipping_rate_service.rbi +0 -39
- data/rbi/stripe/services/sigma/scheduled_query_run_service.rbi +0 -5
- data/rbi/stripe/services/source_service.rbi +0 -119
- data/rbi/stripe/services/source_transaction_service.rbi +0 -4
- data/rbi/stripe/services/subscription_item_service.rbi +0 -74
- data/rbi/stripe/services/subscription_item_usage_record_service.rbi +0 -4
- data/rbi/stripe/services/subscription_item_usage_record_summary_service.rbi +0 -4
- data/rbi/stripe/services/subscription_schedule_service.rbi +0 -405
- data/rbi/stripe/services/subscription_service.rbi +0 -337
- data/rbi/stripe/services/tax/association_service.rbi +0 -2
- data/rbi/stripe/services/tax/calculation_line_item_service.rbi +0 -4
- data/rbi/stripe/services/tax/calculation_service.rbi +1 -40
- data/rbi/stripe/services/tax/form_service.rbi +0 -11
- data/rbi/stripe/services/tax/registration_service.rbi +233 -211
- data/rbi/stripe/services/tax/settings_service.rbi +0 -13
- data/rbi/stripe/services/tax/transaction_line_item_service.rbi +0 -4
- data/rbi/stripe/services/tax/transaction_service.rbi +0 -22
- data/rbi/stripe/services/tax_code_service.rbi +0 -5
- data/rbi/stripe/services/tax_id_service.rbi +1 -17
- data/rbi/stripe/services/tax_rate_service.rbi +0 -32
- data/rbi/stripe/services/terminal/configuration_service.rbi +40 -156
- data/rbi/stripe/services/terminal/connection_token_service.rbi +0 -2
- data/rbi/stripe/services/terminal/location_service.rbi +0 -27
- data/rbi/stripe/services/terminal/reader_collected_data_service.rbi +0 -1
- data/rbi/stripe/services/terminal/reader_service.rbi +0 -78
- data/rbi/stripe/services/test_helpers/confirmation_token_service.rbi +10 -115
- data/rbi/stripe/services/test_helpers/customer_service.rbi +0 -4
- data/rbi/stripe/services/test_helpers/issuing/authorization_service.rbi +0 -138
- data/rbi/stripe/services/test_helpers/issuing/card_service.rbi +0 -5
- data/rbi/stripe/services/test_helpers/issuing/personalization_design_service.rbi +0 -6
- data/rbi/stripe/services/test_helpers/issuing/transaction_service.rbi +0 -120
- data/rbi/stripe/services/test_helpers/refund_service.rbi +0 -1
- data/rbi/stripe/services/test_helpers/terminal/reader_service.rbi +0 -7
- data/rbi/stripe/services/test_helpers/test_clock_service.rbi +0 -10
- data/rbi/stripe/services/test_helpers/treasury/inbound_transfer_service.rbi +0 -5
- data/rbi/stripe/services/test_helpers/treasury/outbound_payment_service.rbi +0 -14
- data/rbi/stripe/services/test_helpers/treasury/outbound_transfer_service.rbi +0 -14
- data/rbi/stripe/services/test_helpers/treasury/received_credit_service.rbi +0 -16
- data/rbi/stripe/services/test_helpers/treasury/received_debit_service.rbi +0 -16
- data/rbi/stripe/services/token_service.rbi +24 -226
- data/rbi/stripe/services/topup_service.rbi +0 -28
- data/rbi/stripe/services/transfer_reversal_service.rbi +0 -12
- data/rbi/stripe/services/transfer_service.rbi +0 -24
- data/rbi/stripe/services/treasury/credit_reversal_service.rbi +0 -11
- data/rbi/stripe/services/treasury/debit_reversal_service.rbi +0 -12
- data/rbi/stripe/services/treasury/financial_account_features_service.rbi +0 -25
- data/rbi/stripe/services/treasury/financial_account_service.rbi +62 -73
- data/rbi/stripe/services/treasury/inbound_transfer_service.rbi +0 -16
- data/rbi/stripe/services/treasury/outbound_payment_service.rbi +0 -50
- data/rbi/stripe/services/treasury/outbound_transfer_service.rbi +17 -24
- data/rbi/stripe/services/treasury/received_credit_service.rbi +0 -9
- data/rbi/stripe/services/treasury/received_debit_service.rbi +0 -7
- data/rbi/stripe/services/treasury/transaction_entry_service.rbi +0 -18
- data/rbi/stripe/services/treasury/transaction_service.rbi +0 -19
- data/rbi/stripe/services/v2/billing/meter_event_adjustment_service.rbi +0 -4
- data/rbi/stripe/services/v2/billing/meter_event_service.rbi +0 -4
- data/rbi/stripe/services/v2/billing/meter_event_stream_service.rbi +0 -5
- data/rbi/stripe/services/v2/core/event_destination_service.rbi +0 -25
- data/rbi/stripe/services/v2/core/event_service.rbi +0 -3
- data/rbi/stripe/services/webhook_endpoint_service.rbi +0 -18
- metadata +4 -2
@@ -31,44 +31,38 @@ module Stripe
|
|
31
31
|
# Redirect-based payment methods may require your customer to be redirected to a payment method's app or site for authentication or additional steps. To [confirm](https://stripe.com/docs/api/setup_intents/confirm) this SetupIntent, you may be required to provide a `return_url` to redirect customers back to your site after they authenticate or complete the setup.
|
32
32
|
sig { returns(String) }
|
33
33
|
attr_reader :allow_redirects
|
34
|
-
|
35
34
|
# Automatically calculates compatible payment methods
|
36
35
|
sig { returns(T.nilable(T::Boolean)) }
|
37
36
|
attr_reader :enabled
|
38
37
|
end
|
39
38
|
class LastSetupError < Stripe::StripeObject
|
39
|
+
# For card errors resulting from a card issuer decline, a short string indicating [how to proceed with an error](https://stripe.com/docs/declines#retrying-issuer-declines) if they provide one.
|
40
|
+
sig { returns(String) }
|
41
|
+
attr_reader :advice_code
|
40
42
|
# For card errors, the ID of the failed charge.
|
41
43
|
sig { returns(String) }
|
42
44
|
attr_reader :charge
|
43
|
-
|
44
45
|
# For some errors that could be handled programmatically, a short string indicating the [error code](https://stripe.com/docs/error-codes) reported.
|
45
46
|
sig { returns(String) }
|
46
47
|
attr_reader :code
|
47
|
-
|
48
48
|
# For card errors resulting from a card issuer decline, a short string indicating the [card issuer's reason for the decline](https://stripe.com/docs/declines#issuer-declines) if they provide one.
|
49
49
|
sig { returns(String) }
|
50
50
|
attr_reader :decline_code
|
51
|
-
|
52
51
|
# A URL to more information about the [error code](https://stripe.com/docs/error-codes) reported.
|
53
52
|
sig { returns(String) }
|
54
53
|
attr_reader :doc_url
|
55
|
-
|
56
54
|
# A human-readable message providing more details about the error. For card errors, these messages can be shown to your users.
|
57
55
|
sig { returns(String) }
|
58
56
|
attr_reader :message
|
59
|
-
|
60
57
|
# For card errors resulting from a card issuer decline, a 2 digit code which indicates the advice given to merchant by the card network on how to proceed with an error.
|
61
58
|
sig { returns(String) }
|
62
59
|
attr_reader :network_advice_code
|
63
|
-
|
64
60
|
# For card errors resulting from a card issuer decline, a brand specific 2, 3, or 4 digit code which indicates the reason the authorization failed.
|
65
61
|
sig { returns(String) }
|
66
62
|
attr_reader :network_decline_code
|
67
|
-
|
68
63
|
# If the error is parameter-specific, the parameter related to the error. For example, you can use this to display a message near the correct form field.
|
69
64
|
sig { returns(String) }
|
70
65
|
attr_reader :param
|
71
|
-
|
72
66
|
# A PaymentIntent guides you through the process of collecting a payment from your customer.
|
73
67
|
# We recommend that you create exactly one PaymentIntent for each order or
|
74
68
|
# customer session in your system. You can reference the PaymentIntent later to
|
@@ -82,7 +76,6 @@ module Stripe
|
|
82
76
|
# Related guide: [Payment Intents API](https://stripe.com/docs/payments/payment-intents)
|
83
77
|
sig { returns(Stripe::PaymentIntent) }
|
84
78
|
attr_reader :payment_intent
|
85
|
-
|
86
79
|
# PaymentMethod objects represent your customer's payment instruments.
|
87
80
|
# You can use them with [PaymentIntents](https://stripe.com/docs/payments/payment-intents) to collect payments or save them to
|
88
81
|
# Customer objects to store instrument details for future payments.
|
@@ -90,15 +83,12 @@ module Stripe
|
|
90
83
|
# Related guides: [Payment Methods](https://stripe.com/docs/payments/payment-methods) and [More Payment Scenarios](https://stripe.com/docs/payments/more-payment-scenarios).
|
91
84
|
sig { returns(Stripe::PaymentMethod) }
|
92
85
|
attr_reader :payment_method
|
93
|
-
|
94
86
|
# If the error is specific to the type of payment method, the payment method type that had a problem. This field is only populated for invoice-related errors.
|
95
87
|
sig { returns(String) }
|
96
88
|
attr_reader :payment_method_type
|
97
|
-
|
98
89
|
# A URL to the request log entry in your dashboard.
|
99
90
|
sig { returns(String) }
|
100
91
|
attr_reader :request_log_url
|
101
|
-
|
102
92
|
# A SetupIntent guides you through the process of setting up and saving a customer's payment credentials for future payments.
|
103
93
|
# For example, you can use a SetupIntent to set up and save your customer's card without immediately collecting a payment.
|
104
94
|
# Later, you can use [PaymentIntents](https://stripe.com/docs/api#payment_intents) to drive the payment flow.
|
@@ -122,11 +112,9 @@ module Stripe
|
|
122
112
|
# Related guide: [Setup Intents API](https://docs.stripe.com/payments/setup-intents)
|
123
113
|
sig { returns(Stripe::SetupIntent) }
|
124
114
|
attr_reader :setup_intent
|
125
|
-
|
126
115
|
# Attribute for field source
|
127
116
|
sig { returns(T.any(Stripe::Account, Stripe::BankAccount, Stripe::Card, Stripe::Source)) }
|
128
117
|
attr_reader :source
|
129
|
-
|
130
118
|
# The type of error returned. One of `api_error`, `card_error`, `idempotency_error`, or `invalid_request_error`
|
131
119
|
sig { returns(String) }
|
132
120
|
attr_reader :type
|
@@ -137,11 +125,9 @@ module Stripe
|
|
137
125
|
# The date (unix timestamp) when the QR code expires.
|
138
126
|
sig { returns(Integer) }
|
139
127
|
attr_reader :expires_at
|
140
|
-
|
141
128
|
# The image_url_png string used to render QR code
|
142
129
|
sig { returns(String) }
|
143
130
|
attr_reader :image_url_png
|
144
|
-
|
145
131
|
# The image_url_svg string used to render QR code
|
146
132
|
sig { returns(String) }
|
147
133
|
attr_reader :image_url_svg
|
@@ -149,11 +135,9 @@ module Stripe
|
|
149
135
|
# The URL to the hosted Cash App Pay instructions page, which allows customers to view the QR code, and supports QR code refreshing on expiration.
|
150
136
|
sig { returns(String) }
|
151
137
|
attr_reader :hosted_instructions_url
|
152
|
-
|
153
138
|
# The url for mobile redirect based auth
|
154
139
|
sig { returns(String) }
|
155
140
|
attr_reader :mobile_auth_url
|
156
|
-
|
157
141
|
# Attribute for field qr_code
|
158
142
|
sig { returns(QrCode) }
|
159
143
|
attr_reader :qr_code
|
@@ -162,7 +146,6 @@ module Stripe
|
|
162
146
|
# If the customer does not exit their browser while authenticating, they will be redirected to this specified URL after completion.
|
163
147
|
sig { returns(T.nilable(String)) }
|
164
148
|
attr_reader :return_url
|
165
|
-
|
166
149
|
# The URL you must redirect your customer to in order to authenticate.
|
167
150
|
sig { returns(T.nilable(String)) }
|
168
151
|
attr_reader :url
|
@@ -171,11 +154,9 @@ module Stripe
|
|
171
154
|
# The timestamp when the microdeposits are expected to land.
|
172
155
|
sig { returns(Integer) }
|
173
156
|
attr_reader :arrival_date
|
174
|
-
|
175
157
|
# The URL for the hosted verification page, which allows customers to verify their bank account.
|
176
158
|
sig { returns(String) }
|
177
159
|
attr_reader :hosted_verification_url
|
178
|
-
|
179
160
|
# The type of the microdeposit sent to the customer. Used to distinguish between different verification methods.
|
180
161
|
sig { returns(T.nilable(String)) }
|
181
162
|
attr_reader :microdeposit_type
|
@@ -183,19 +164,15 @@ module Stripe
|
|
183
164
|
# Attribute for field cashapp_handle_redirect_or_display_qr_code
|
184
165
|
sig { returns(CashappHandleRedirectOrDisplayQrCode) }
|
185
166
|
attr_reader :cashapp_handle_redirect_or_display_qr_code
|
186
|
-
|
187
167
|
# Attribute for field redirect_to_url
|
188
168
|
sig { returns(RedirectToUrl) }
|
189
169
|
attr_reader :redirect_to_url
|
190
|
-
|
191
170
|
# Type of the next action to perform, one of `redirect_to_url`, `use_stripe_sdk`, `alipay_handle_redirect`, `oxxo_display_details`, or `verify_with_microdeposits`.
|
192
171
|
sig { returns(String) }
|
193
172
|
attr_reader :type
|
194
|
-
|
195
173
|
# When confirming a SetupIntent with Stripe.js, Stripe.js depends on the contents of this dictionary to invoke authentication flows. The shape of the contents is subject to change and is only intended to be used by Stripe.js.
|
196
174
|
sig { returns(T::Hash[String, T.untyped]) }
|
197
175
|
attr_reader :use_stripe_sdk
|
198
|
-
|
199
176
|
# Attribute for field verify_with_microdeposits
|
200
177
|
sig { returns(VerifyWithMicrodeposits) }
|
201
178
|
attr_reader :verify_with_microdeposits
|
@@ -204,7 +181,6 @@ module Stripe
|
|
204
181
|
# ID of the payment method configuration used.
|
205
182
|
sig { returns(String) }
|
206
183
|
attr_reader :id
|
207
|
-
|
208
184
|
# ID of the parent payment method configuration used.
|
209
185
|
sig { returns(T.nilable(String)) }
|
210
186
|
attr_reader :parent
|
@@ -215,19 +191,15 @@ module Stripe
|
|
215
191
|
# A URL for custom mandate text
|
216
192
|
sig { returns(String) }
|
217
193
|
attr_reader :custom_mandate_url
|
218
|
-
|
219
194
|
# List of Stripe products where this mandate can be selected automatically.
|
220
195
|
sig { returns(T::Array[String]) }
|
221
196
|
attr_reader :default_for
|
222
|
-
|
223
197
|
# Description of the interval. Only required if the 'payment_schedule' parameter is 'interval' or 'combined'.
|
224
198
|
sig { returns(T.nilable(String)) }
|
225
199
|
attr_reader :interval_description
|
226
|
-
|
227
200
|
# Payment schedule for the mandate.
|
228
201
|
sig { returns(T.nilable(String)) }
|
229
202
|
attr_reader :payment_schedule
|
230
|
-
|
231
203
|
# Transaction type of the mandate.
|
232
204
|
sig { returns(T.nilable(String)) }
|
233
205
|
attr_reader :transaction_type
|
@@ -235,11 +207,9 @@ module Stripe
|
|
235
207
|
# Currency supported by the bank account
|
236
208
|
sig { returns(T.nilable(String)) }
|
237
209
|
attr_reader :currency
|
238
|
-
|
239
210
|
# Attribute for field mandate_options
|
240
211
|
sig { returns(MandateOptions) }
|
241
212
|
attr_reader :mandate_options
|
242
|
-
|
243
213
|
# Bank account verification method.
|
244
214
|
sig { returns(String) }
|
245
215
|
attr_reader :verification_method
|
@@ -260,39 +230,30 @@ module Stripe
|
|
260
230
|
# Amount to be charged for future payments.
|
261
231
|
sig { returns(Integer) }
|
262
232
|
attr_reader :amount
|
263
|
-
|
264
233
|
# One of `fixed` or `maximum`. If `fixed`, the `amount` param refers to the exact amount to be charged in future payments. If `maximum`, the amount charged can be up to the value passed for the `amount` param.
|
265
234
|
sig { returns(String) }
|
266
235
|
attr_reader :amount_type
|
267
|
-
|
268
236
|
# 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).
|
269
237
|
sig { returns(String) }
|
270
238
|
attr_reader :currency
|
271
|
-
|
272
239
|
# A description of the mandate or subscription that is meant to be displayed to the customer.
|
273
240
|
sig { returns(T.nilable(String)) }
|
274
241
|
attr_reader :description
|
275
|
-
|
276
242
|
# End date of the mandate or subscription. If not provided, the mandate will be active until canceled. If provided, end date should be after start date.
|
277
243
|
sig { returns(T.nilable(Integer)) }
|
278
244
|
attr_reader :end_date
|
279
|
-
|
280
245
|
# Specifies payment frequency. One of `day`, `week`, `month`, `year`, or `sporadic`.
|
281
246
|
sig { returns(String) }
|
282
247
|
attr_reader :interval
|
283
|
-
|
284
248
|
# The number of intervals between payments. For example, `interval=month` and `interval_count=3` indicates one payment every three months. Maximum of one year interval allowed (1 year, 12 months, or 52 weeks). This parameter is optional when `interval=sporadic`.
|
285
249
|
sig { returns(T.nilable(Integer)) }
|
286
250
|
attr_reader :interval_count
|
287
|
-
|
288
251
|
# Unique identifier for the mandate or subscription.
|
289
252
|
sig { returns(String) }
|
290
253
|
attr_reader :reference
|
291
|
-
|
292
254
|
# Start date of the mandate or subscription. Start date should not be lesser than yesterday.
|
293
255
|
sig { returns(Integer) }
|
294
256
|
attr_reader :start_date
|
295
|
-
|
296
257
|
# Specifies the type of mandates supported. Possible values are `india`.
|
297
258
|
sig { returns(T.nilable(T::Array[String])) }
|
298
259
|
attr_reader :supported_types
|
@@ -300,11 +261,9 @@ module Stripe
|
|
300
261
|
# Configuration options for setting up an eMandate for cards issued in India.
|
301
262
|
sig { returns(T.nilable(MandateOptions)) }
|
302
263
|
attr_reader :mandate_options
|
303
|
-
|
304
264
|
# Selected network to process this SetupIntent on. Depends on the available networks of the card attached to the setup intent. Can be only set confirm-time.
|
305
265
|
sig { returns(T.nilable(String)) }
|
306
266
|
attr_reader :network
|
307
|
-
|
308
267
|
# We strongly recommend that you rely on our SCA Engine to automatically prompt your customers for authentication based on risk level and [other requirements](https://stripe.com/docs/strong-customer-authentication). However, if you wish to request 3D Secure based on logic from your own fraud engine, provide this option. If not provided, this value defaults to `automatic`. Read our guide on [manually requesting 3D Secure](https://stripe.com/docs/payments/3d-secure/authentication-flow#manual-three-ds) for more information on how this configuration interacts with Radar and our SCA Engine.
|
309
268
|
sig { returns(T.nilable(String)) }
|
310
269
|
attr_reader :request_three_d_secure
|
@@ -319,11 +278,9 @@ module Stripe
|
|
319
278
|
# The PayPal Billing Agreement ID (BAID). This is an ID generated by PayPal which represents the mandate between the merchant and the customer.
|
320
279
|
sig { returns(T.nilable(String)) }
|
321
280
|
attr_reader :billing_agreement_id
|
322
|
-
|
323
281
|
# 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).
|
324
282
|
sig { returns(T.nilable(String)) }
|
325
283
|
attr_reader :currency
|
326
|
-
|
327
284
|
# The Stripe connected account IDs of the sellers on the platform for this transaction (optional). Only allowed when [separate charges and transfers](https://stripe.com/docs/connect/separate-charges-and-transfers) are used.
|
328
285
|
sig { returns(T::Array[String]) }
|
329
286
|
attr_reader :subsellers
|
@@ -333,27 +290,21 @@ module Stripe
|
|
333
290
|
# Amount that will be collected. It is required when `amount_type` is `fixed`.
|
334
291
|
sig { returns(T.nilable(Integer)) }
|
335
292
|
attr_reader :amount
|
336
|
-
|
337
293
|
# The type of amount that will be collected. The amount charged must be exact or up to the value of `amount` param for `fixed` or `maximum` type respectively.
|
338
294
|
sig { returns(T.nilable(String)) }
|
339
295
|
attr_reader :amount_type
|
340
|
-
|
341
296
|
# Date, in YYYY-MM-DD format, after which payments will not be collected. Defaults to no end date.
|
342
297
|
sig { returns(T.nilable(String)) }
|
343
298
|
attr_reader :end_date
|
344
|
-
|
345
299
|
# The periodicity at which payments will be collected.
|
346
300
|
sig { returns(T.nilable(String)) }
|
347
301
|
attr_reader :payment_schedule
|
348
|
-
|
349
302
|
# The number of payments that will be made during a payment period. Defaults to 1 except for when `payment_schedule` is `adhoc`. In that case, it defaults to no limit.
|
350
303
|
sig { returns(T.nilable(Integer)) }
|
351
304
|
attr_reader :payments_per_period
|
352
|
-
|
353
305
|
# The purpose for which payments are made. Defaults to retail.
|
354
306
|
sig { returns(T.nilable(String)) }
|
355
307
|
attr_reader :purpose
|
356
|
-
|
357
308
|
# Date, in YYYY-MM-DD format, from which payments will be collected. Defaults to confirmation time.
|
358
309
|
sig { returns(T.nilable(String)) }
|
359
310
|
attr_reader :start_date
|
@@ -378,7 +329,6 @@ module Stripe
|
|
378
329
|
# The account subcategories to use to filter for possible accounts to link. Valid subcategories are `checking` and `savings`.
|
379
330
|
sig { returns(T::Array[String]) }
|
380
331
|
attr_reader :account_subcategories
|
381
|
-
|
382
332
|
# The institution to use to filter for possible accounts to link.
|
383
333
|
sig { returns(String) }
|
384
334
|
attr_reader :institution
|
@@ -391,19 +341,15 @@ module Stripe
|
|
391
341
|
# Attribute for field filters
|
392
342
|
sig { returns(Filters) }
|
393
343
|
attr_reader :filters
|
394
|
-
|
395
344
|
# Attribute for field manual_entry
|
396
345
|
sig { returns(ManualEntry) }
|
397
346
|
attr_reader :manual_entry
|
398
|
-
|
399
347
|
# The list of permissions to request. The `payment_method` permission must be included.
|
400
348
|
sig { returns(T::Array[String]) }
|
401
349
|
attr_reader :permissions
|
402
|
-
|
403
350
|
# Data features requested to be retrieved upon account creation.
|
404
351
|
sig { returns(T.nilable(T::Array[String])) }
|
405
352
|
attr_reader :prefetch
|
406
|
-
|
407
353
|
# 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.
|
408
354
|
sig { returns(String) }
|
409
355
|
attr_reader :return_url
|
@@ -416,11 +362,9 @@ module Stripe
|
|
416
362
|
# Attribute for field financial_connections
|
417
363
|
sig { returns(FinancialConnections) }
|
418
364
|
attr_reader :financial_connections
|
419
|
-
|
420
365
|
# Attribute for field mandate_options
|
421
366
|
sig { returns(MandateOptions) }
|
422
367
|
attr_reader :mandate_options
|
423
|
-
|
424
368
|
# Bank account verification method.
|
425
369
|
sig { returns(String) }
|
426
370
|
attr_reader :verification_method
|
@@ -428,39 +372,30 @@ module Stripe
|
|
428
372
|
# Attribute for field acss_debit
|
429
373
|
sig { returns(AcssDebit) }
|
430
374
|
attr_reader :acss_debit
|
431
|
-
|
432
375
|
# Attribute for field amazon_pay
|
433
376
|
sig { returns(AmazonPay) }
|
434
377
|
attr_reader :amazon_pay
|
435
|
-
|
436
378
|
# Attribute for field bacs_debit
|
437
379
|
sig { returns(BacsDebit) }
|
438
380
|
attr_reader :bacs_debit
|
439
|
-
|
440
381
|
# Attribute for field card
|
441
382
|
sig { returns(Card) }
|
442
383
|
attr_reader :card
|
443
|
-
|
444
384
|
# Attribute for field card_present
|
445
385
|
sig { returns(CardPresent) }
|
446
386
|
attr_reader :card_present
|
447
|
-
|
448
387
|
# Attribute for field link
|
449
388
|
sig { returns(Link) }
|
450
389
|
attr_reader :link
|
451
|
-
|
452
390
|
# Attribute for field paypal
|
453
391
|
sig { returns(Paypal) }
|
454
392
|
attr_reader :paypal
|
455
|
-
|
456
393
|
# Attribute for field payto
|
457
394
|
sig { returns(Payto) }
|
458
395
|
attr_reader :payto
|
459
|
-
|
460
396
|
# Attribute for field sepa_debit
|
461
397
|
sig { returns(SepaDebit) }
|
462
398
|
attr_reader :sepa_debit
|
463
|
-
|
464
399
|
# Attribute for field us_bank_account
|
465
400
|
sig { returns(UsBankAccount) }
|
466
401
|
attr_reader :us_bank_account
|
@@ -468,131 +403,102 @@ module Stripe
|
|
468
403
|
# ID of the Connect application that created the SetupIntent.
|
469
404
|
sig { returns(T.nilable(T.any(String, Stripe::Application))) }
|
470
405
|
attr_reader :application
|
471
|
-
|
472
406
|
# If present, the SetupIntent's payment method will be attached to the in-context Stripe Account.
|
473
407
|
#
|
474
408
|
# It can only be used for this Stripe Account’s own money movement flows like InboundTransfer and OutboundTransfers. It cannot be set to true when setting up a PaymentMethod for a Customer, and defaults to false when attaching a PaymentMethod to a Customer.
|
475
409
|
sig { returns(T::Boolean) }
|
476
410
|
attr_reader :attach_to_self
|
477
|
-
|
478
411
|
# Settings for dynamic payment methods compatible with this Setup Intent
|
479
412
|
sig { returns(T.nilable(AutomaticPaymentMethods)) }
|
480
413
|
attr_reader :automatic_payment_methods
|
481
|
-
|
482
414
|
# Reason for cancellation of this SetupIntent, one of `abandoned`, `requested_by_customer`, or `duplicate`.
|
483
415
|
sig { returns(T.nilable(String)) }
|
484
416
|
attr_reader :cancellation_reason
|
485
|
-
|
486
417
|
# The client secret of this SetupIntent. Used for client-side retrieval using a publishable key.
|
487
418
|
#
|
488
419
|
# The client secret can be used to complete payment setup from your frontend. It should not be stored, logged, or exposed to anyone other than the customer. Make sure that you have TLS enabled on any page that includes the client secret.
|
489
420
|
sig { returns(T.nilable(String)) }
|
490
421
|
attr_reader :client_secret
|
491
|
-
|
492
422
|
# Time at which the object was created. Measured in seconds since the Unix epoch.
|
493
423
|
sig { returns(Integer) }
|
494
424
|
attr_reader :created
|
495
|
-
|
496
425
|
# ID of the Customer this SetupIntent belongs to, if one exists.
|
497
426
|
#
|
498
427
|
# If present, the SetupIntent's payment method will be attached to the Customer on successful setup. Payment methods attached to other Customers cannot be used with this SetupIntent.
|
499
428
|
sig { returns(T.nilable(T.any(String, Stripe::Customer))) }
|
500
429
|
attr_reader :customer
|
501
|
-
|
502
430
|
# An arbitrary string attached to the object. Often useful for displaying to users.
|
503
431
|
sig { returns(T.nilable(String)) }
|
504
432
|
attr_reader :description
|
505
|
-
|
506
433
|
# Indicates the directions of money movement for which this payment method is intended to be used.
|
507
434
|
#
|
508
435
|
# Include `inbound` if you intend to use the payment method as the origin to pull funds from. Include `outbound` if you intend to use the payment method as the destination to send funds to. You can include both if you intend to use the payment method for both purposes.
|
509
436
|
sig { returns(T.nilable(T::Array[String])) }
|
510
437
|
attr_reader :flow_directions
|
511
|
-
|
512
438
|
# Unique identifier for the object.
|
513
439
|
sig { returns(String) }
|
514
440
|
attr_reader :id
|
515
|
-
|
516
441
|
# The error encountered in the previous SetupIntent confirmation.
|
517
442
|
sig { returns(T.nilable(LastSetupError)) }
|
518
443
|
attr_reader :last_setup_error
|
519
|
-
|
520
444
|
# The most recent SetupAttempt for this SetupIntent.
|
521
445
|
sig { returns(T.nilable(T.any(String, Stripe::SetupAttempt))) }
|
522
446
|
attr_reader :latest_attempt
|
523
|
-
|
524
447
|
# Has the value `true` if the object exists in live mode or the value `false` if the object exists in test mode.
|
525
448
|
sig { returns(T::Boolean) }
|
526
449
|
attr_reader :livemode
|
527
|
-
|
528
450
|
# ID of the multi use Mandate generated by the SetupIntent.
|
529
451
|
sig { returns(T.nilable(T.any(String, Stripe::Mandate))) }
|
530
452
|
attr_reader :mandate
|
531
|
-
|
532
453
|
# Set of [key-value pairs](https://stripe.com/docs/api/metadata) that you can attach to an object. This can be useful for storing additional information about the object in a structured format.
|
533
454
|
sig { returns(T.nilable(T::Hash[String, String])) }
|
534
455
|
attr_reader :metadata
|
535
|
-
|
536
456
|
# If present, this property tells you what actions you need to take in order for your customer to continue payment setup.
|
537
457
|
sig { returns(T.nilable(NextAction)) }
|
538
458
|
attr_reader :next_action
|
539
|
-
|
540
459
|
# String representing the object's type. Objects of the same type share the same value.
|
541
460
|
sig { returns(String) }
|
542
461
|
attr_reader :object
|
543
|
-
|
544
462
|
# The account (if any) for which the setup is intended.
|
545
463
|
sig { returns(T.nilable(T.any(String, Stripe::Account))) }
|
546
464
|
attr_reader :on_behalf_of
|
547
|
-
|
548
465
|
# ID of the payment method used with this SetupIntent. If the payment method is `card_present` and isn't a digital wallet, then the [generated_card](https://docs.stripe.com/api/setup_attempts/object#setup_attempt_object-payment_method_details-card_present-generated_card) associated with the `latest_attempt` is attached to the Customer instead.
|
549
466
|
sig { returns(T.nilable(T.any(String, Stripe::PaymentMethod))) }
|
550
467
|
attr_reader :payment_method
|
551
|
-
|
552
468
|
# Information about the [payment method configuration](https://stripe.com/docs/api/payment_method_configurations) used for this Setup Intent.
|
553
469
|
sig { returns(T.nilable(PaymentMethodConfigurationDetails)) }
|
554
470
|
attr_reader :payment_method_configuration_details
|
555
|
-
|
556
471
|
# Payment method-specific configuration for this SetupIntent.
|
557
472
|
sig { returns(T.nilable(PaymentMethodOptions)) }
|
558
473
|
attr_reader :payment_method_options
|
559
|
-
|
560
474
|
# The list of payment method types (e.g. card) that this SetupIntent is allowed to set up.
|
561
475
|
sig { returns(T::Array[String]) }
|
562
476
|
attr_reader :payment_method_types
|
563
|
-
|
564
477
|
# ID of the single_use Mandate generated by the SetupIntent.
|
565
478
|
sig { returns(T.nilable(T.any(String, Stripe::Mandate))) }
|
566
479
|
attr_reader :single_use_mandate
|
567
|
-
|
568
480
|
# [Status](https://stripe.com/docs/payments/intents#intent-statuses) of this SetupIntent, one of `requires_payment_method`, `requires_confirmation`, `requires_action`, `processing`, `canceled`, or `succeeded`.
|
569
481
|
sig { returns(String) }
|
570
482
|
attr_reader :status
|
571
|
-
|
572
483
|
# Indicates how the payment method is intended to be used in the future.
|
573
484
|
#
|
574
485
|
# Use `on_session` if you intend to only reuse the payment method when the customer is in your checkout flow. Use `off_session` if your customer may or may not be in your checkout flow. If not provided, this value defaults to `off_session`.
|
575
486
|
sig { returns(String) }
|
576
487
|
attr_reader :usage
|
577
|
-
|
578
488
|
class ListParams < Stripe::RequestParams
|
579
489
|
class Created < Stripe::RequestParams
|
580
490
|
# Minimum value to filter by (exclusive)
|
581
491
|
sig { returns(Integer) }
|
582
492
|
attr_accessor :gt
|
583
|
-
|
584
493
|
# Minimum value to filter by (inclusive)
|
585
494
|
sig { returns(Integer) }
|
586
495
|
attr_accessor :gte
|
587
|
-
|
588
496
|
# Maximum value to filter by (exclusive)
|
589
497
|
sig { returns(Integer) }
|
590
498
|
attr_accessor :lt
|
591
|
-
|
592
499
|
# Maximum value to filter by (inclusive)
|
593
500
|
sig { returns(Integer) }
|
594
501
|
attr_accessor :lte
|
595
|
-
|
596
502
|
sig { params(gt: Integer, gte: Integer, lt: Integer, lte: Integer).void }
|
597
503
|
def initialize(gt: nil, gte: nil, lt: nil, lte: nil); end
|
598
504
|
end
|
@@ -601,35 +507,27 @@ module Stripe
|
|
601
507
|
# It can only be used for this Stripe Account’s own money movement flows like InboundTransfer and OutboundTransfers. It cannot be set to true when setting up a PaymentMethod for a Customer, and defaults to false when attaching a PaymentMethod to a Customer.
|
602
508
|
sig { returns(T::Boolean) }
|
603
509
|
attr_accessor :attach_to_self
|
604
|
-
|
605
510
|
# A filter on the list, based on the object `created` field. The value can be a string with an integer Unix timestamp, or it can be a dictionary with a number of different query options.
|
606
511
|
sig { returns(T.any(::Stripe::SetupIntent::ListParams::Created, Integer)) }
|
607
512
|
attr_accessor :created
|
608
|
-
|
609
513
|
# Only return SetupIntents for the customer specified by this customer ID.
|
610
514
|
sig { returns(String) }
|
611
515
|
attr_accessor :customer
|
612
|
-
|
613
516
|
# A cursor for use in pagination. `ending_before` is an object ID that defines your place in the list. For instance, if you make a list request and receive 100 objects, starting with `obj_bar`, your subsequent call can include `ending_before=obj_bar` in order to fetch the previous page of the list.
|
614
517
|
sig { returns(String) }
|
615
518
|
attr_accessor :ending_before
|
616
|
-
|
617
519
|
# Specifies which fields in the response should be expanded.
|
618
520
|
sig { returns(T::Array[String]) }
|
619
521
|
attr_accessor :expand
|
620
|
-
|
621
522
|
# A limit on the number of objects to be returned. Limit can range between 1 and 100, and the default is 10.
|
622
523
|
sig { returns(Integer) }
|
623
524
|
attr_accessor :limit
|
624
|
-
|
625
525
|
# Only return SetupIntents that associate with the specified payment method.
|
626
526
|
sig { returns(String) }
|
627
527
|
attr_accessor :payment_method
|
628
|
-
|
629
528
|
# A cursor for use in pagination. `starting_after` is an object ID that defines your place in the list. For instance, if you make a list request and receive 100 objects, ending with `obj_foo`, your subsequent call can include `starting_after=obj_foo` in order to fetch the next page of the list.
|
630
529
|
sig { returns(String) }
|
631
530
|
attr_accessor :starting_after
|
632
|
-
|
633
531
|
sig {
|
634
532
|
params(attach_to_self: T::Boolean, created: T.any(::Stripe::SetupIntent::ListParams::Created, Integer), customer: String, ending_before: String, expand: T::Array[String], limit: Integer, payment_method: String, starting_after: String).void
|
635
533
|
}
|
@@ -651,11 +549,9 @@ module Stripe
|
|
651
549
|
# Redirect-based payment methods may require your customer to be redirected to a payment method's app or site for authentication or additional steps. To [confirm](https://stripe.com/docs/api/setup_intents/confirm) this SetupIntent, you may be required to provide a `return_url` to redirect customers back to your site after they authenticate or complete the setup.
|
652
550
|
sig { returns(String) }
|
653
551
|
attr_accessor :allow_redirects
|
654
|
-
|
655
552
|
# Whether this feature is enabled.
|
656
553
|
sig { returns(T::Boolean) }
|
657
554
|
attr_accessor :enabled
|
658
|
-
|
659
555
|
sig { params(allow_redirects: String, enabled: T::Boolean).void }
|
660
556
|
def initialize(allow_redirects: nil, enabled: nil); end
|
661
557
|
end
|
@@ -668,34 +564,28 @@ module Stripe
|
|
668
564
|
# The IP address from which the Mandate was accepted by the customer.
|
669
565
|
sig { returns(String) }
|
670
566
|
attr_accessor :ip_address
|
671
|
-
|
672
567
|
# The user agent of the browser from which the Mandate was accepted by the customer.
|
673
568
|
sig { returns(String) }
|
674
569
|
attr_accessor :user_agent
|
675
|
-
|
676
570
|
sig { params(ip_address: String, user_agent: String).void }
|
677
571
|
def initialize(ip_address: nil, user_agent: nil); end
|
678
572
|
end
|
679
573
|
# The time at which the customer accepted the Mandate.
|
680
574
|
sig { returns(Integer) }
|
681
575
|
attr_accessor :accepted_at
|
682
|
-
|
683
576
|
# If this is a Mandate accepted offline, this hash contains details about the offline acceptance.
|
684
577
|
sig {
|
685
578
|
returns(::Stripe::SetupIntent::CreateParams::MandateData::CustomerAcceptance::Offline)
|
686
579
|
}
|
687
580
|
attr_accessor :offline
|
688
|
-
|
689
581
|
# If this is a Mandate accepted online, this hash contains details about the online acceptance.
|
690
582
|
sig {
|
691
583
|
returns(::Stripe::SetupIntent::CreateParams::MandateData::CustomerAcceptance::Online)
|
692
584
|
}
|
693
585
|
attr_accessor :online
|
694
|
-
|
695
586
|
# The type of customer acceptance information included with the Mandate. One of `online` or `offline`.
|
696
587
|
sig { returns(String) }
|
697
588
|
attr_accessor :type
|
698
|
-
|
699
589
|
sig {
|
700
590
|
params(accepted_at: Integer, offline: ::Stripe::SetupIntent::CreateParams::MandateData::CustomerAcceptance::Offline, online: ::Stripe::SetupIntent::CreateParams::MandateData::CustomerAcceptance::Online, type: String).void
|
701
591
|
}
|
@@ -704,7 +594,6 @@ module Stripe
|
|
704
594
|
# This hash contains details about the customer acceptance of the Mandate.
|
705
595
|
sig { returns(::Stripe::SetupIntent::CreateParams::MandateData::CustomerAcceptance) }
|
706
596
|
attr_accessor :customer_acceptance
|
707
|
-
|
708
597
|
sig {
|
709
598
|
params(customer_acceptance: ::Stripe::SetupIntent::CreateParams::MandateData::CustomerAcceptance).void
|
710
599
|
}
|
@@ -715,15 +604,12 @@ module Stripe
|
|
715
604
|
# Customer's bank account number.
|
716
605
|
sig { returns(String) }
|
717
606
|
attr_accessor :account_number
|
718
|
-
|
719
607
|
# Institution number of the customer's bank.
|
720
608
|
sig { returns(String) }
|
721
609
|
attr_accessor :institution_number
|
722
|
-
|
723
610
|
# Transit number of the customer's bank.
|
724
611
|
sig { returns(String) }
|
725
612
|
attr_accessor :transit_number
|
726
|
-
|
727
613
|
sig {
|
728
614
|
params(account_number: String, institution_number: String, transit_number: String).void
|
729
615
|
}
|
@@ -748,11 +634,9 @@ module Stripe
|
|
748
634
|
# The account number for the bank account.
|
749
635
|
sig { returns(String) }
|
750
636
|
attr_accessor :account_number
|
751
|
-
|
752
637
|
# Bank-State-Branch number of the bank account.
|
753
638
|
sig { returns(String) }
|
754
639
|
attr_accessor :bsb_number
|
755
|
-
|
756
640
|
sig { params(account_number: String, bsb_number: String).void }
|
757
641
|
def initialize(account_number: nil, bsb_number: nil); end
|
758
642
|
end
|
@@ -760,11 +644,9 @@ module Stripe
|
|
760
644
|
# Account number of the bank account that the funds will be debited from.
|
761
645
|
sig { returns(String) }
|
762
646
|
attr_accessor :account_number
|
763
|
-
|
764
647
|
# Sort code of the bank account. (e.g., `10-20-30`)
|
765
648
|
sig { returns(String) }
|
766
649
|
attr_accessor :sort_code
|
767
|
-
|
768
650
|
sig { params(account_number: String, sort_code: String).void }
|
769
651
|
def initialize(account_number: nil, sort_code: nil); end
|
770
652
|
end
|
@@ -776,27 +658,21 @@ module Stripe
|
|
776
658
|
# City, district, suburb, town, or village.
|
777
659
|
sig { returns(String) }
|
778
660
|
attr_accessor :city
|
779
|
-
|
780
661
|
# Two-letter country code ([ISO 3166-1 alpha-2](https://en.wikipedia.org/wiki/ISO_3166-1_alpha-2)).
|
781
662
|
sig { returns(String) }
|
782
663
|
attr_accessor :country
|
783
|
-
|
784
664
|
# Address line 1 (e.g., street, PO Box, or company name).
|
785
665
|
sig { returns(String) }
|
786
666
|
attr_accessor :line1
|
787
|
-
|
788
667
|
# Address line 2 (e.g., apartment, suite, unit, or building).
|
789
668
|
sig { returns(String) }
|
790
669
|
attr_accessor :line2
|
791
|
-
|
792
670
|
# ZIP or postal code.
|
793
671
|
sig { returns(String) }
|
794
672
|
attr_accessor :postal_code
|
795
|
-
|
796
673
|
# State, county, province, or region.
|
797
674
|
sig { returns(String) }
|
798
675
|
attr_accessor :state
|
799
|
-
|
800
676
|
sig {
|
801
677
|
params(city: String, country: String, line1: String, line2: String, postal_code: String, state: String).void
|
802
678
|
}
|
@@ -814,19 +690,15 @@ module Stripe
|
|
814
690
|
returns(T.nilable(::Stripe::SetupIntent::CreateParams::PaymentMethodData::BillingDetails::Address))
|
815
691
|
}
|
816
692
|
attr_accessor :address
|
817
|
-
|
818
693
|
# Email address.
|
819
694
|
sig { returns(T.nilable(String)) }
|
820
695
|
attr_accessor :email
|
821
|
-
|
822
696
|
# Full name.
|
823
697
|
sig { returns(T.nilable(String)) }
|
824
698
|
attr_accessor :name
|
825
|
-
|
826
699
|
# Billing phone number (including extension).
|
827
700
|
sig { returns(T.nilable(String)) }
|
828
701
|
attr_accessor :phone
|
829
|
-
|
830
702
|
sig {
|
831
703
|
params(address: T.nilable(::Stripe::SetupIntent::CreateParams::PaymentMethodData::BillingDetails::Address), email: T.nilable(String), name: T.nilable(String), phone: T.nilable(String)).void
|
832
704
|
}
|
@@ -839,7 +711,6 @@ module Stripe
|
|
839
711
|
# The tax ID of the customer (CPF for individual consumers or CNPJ for businesses consumers)
|
840
712
|
sig { returns(String) }
|
841
713
|
attr_accessor :tax_id
|
842
|
-
|
843
714
|
sig { params(tax_id: String).void }
|
844
715
|
def initialize(tax_id: nil); end
|
845
716
|
end
|
@@ -853,7 +724,6 @@ module Stripe
|
|
853
724
|
# The customer's bank.
|
854
725
|
sig { returns(String) }
|
855
726
|
attr_accessor :bank
|
856
|
-
|
857
727
|
sig { params(bank: String).void }
|
858
728
|
def initialize(bank: nil); end
|
859
729
|
end
|
@@ -861,11 +731,9 @@ module Stripe
|
|
861
731
|
# Account holder type for FPX transaction
|
862
732
|
sig { returns(String) }
|
863
733
|
attr_accessor :account_holder_type
|
864
|
-
|
865
734
|
# The customer's bank.
|
866
735
|
sig { returns(String) }
|
867
736
|
attr_accessor :bank
|
868
|
-
|
869
737
|
sig { params(account_holder_type: String, bank: String).void }
|
870
738
|
def initialize(account_holder_type: nil, bank: nil); end
|
871
739
|
end
|
@@ -882,7 +750,6 @@ module Stripe
|
|
882
750
|
# Bank where the account is held.
|
883
751
|
sig { returns(String) }
|
884
752
|
attr_accessor :bank
|
885
|
-
|
886
753
|
sig { params(bank: String).void }
|
887
754
|
def initialize(bank: nil); end
|
888
755
|
end
|
@@ -890,7 +757,6 @@ module Stripe
|
|
890
757
|
# The customer's bank. Only use this parameter for existing customers. Don't use it for new customers.
|
891
758
|
sig { returns(String) }
|
892
759
|
attr_accessor :bank
|
893
|
-
|
894
760
|
sig { params(bank: String).void }
|
895
761
|
def initialize(bank: nil); end
|
896
762
|
end
|
@@ -905,22 +771,18 @@ module Stripe
|
|
905
771
|
# The day of birth, between 1 and 31.
|
906
772
|
sig { returns(Integer) }
|
907
773
|
attr_accessor :day
|
908
|
-
|
909
774
|
# The month of birth, between 1 and 12.
|
910
775
|
sig { returns(Integer) }
|
911
776
|
attr_accessor :month
|
912
|
-
|
913
777
|
# The four-digit year of birth.
|
914
778
|
sig { returns(Integer) }
|
915
779
|
attr_accessor :year
|
916
|
-
|
917
780
|
sig { params(day: Integer, month: Integer, year: Integer).void }
|
918
781
|
def initialize(day: nil, month: nil, year: nil); end
|
919
782
|
end
|
920
783
|
# Customer's date of birth
|
921
784
|
sig { returns(::Stripe::SetupIntent::CreateParams::PaymentMethodData::Klarna::Dob) }
|
922
785
|
attr_accessor :dob
|
923
|
-
|
924
786
|
sig {
|
925
787
|
params(dob: ::Stripe::SetupIntent::CreateParams::PaymentMethodData::Klarna::Dob).void
|
926
788
|
}
|
@@ -948,7 +810,6 @@ module Stripe
|
|
948
810
|
# Whether to use Naver Pay points or a card to fund this transaction. If not provided, this defaults to `card`.
|
949
811
|
sig { returns(String) }
|
950
812
|
attr_accessor :funding
|
951
|
-
|
952
813
|
sig { params(funding: String).void }
|
953
814
|
def initialize(funding: nil); end
|
954
815
|
end
|
@@ -959,9 +820,11 @@ module Stripe
|
|
959
820
|
# The customer's bank.
|
960
821
|
sig { returns(String) }
|
961
822
|
attr_accessor :bank
|
962
|
-
|
963
823
|
sig { params(bank: String).void }
|
964
824
|
def initialize(bank: nil); end
|
825
|
+
end
|
826
|
+
class PayByBank < Stripe::RequestParams
|
827
|
+
|
965
828
|
end
|
966
829
|
class Payco < Stripe::RequestParams
|
967
830
|
|
@@ -976,15 +839,12 @@ module Stripe
|
|
976
839
|
# The account number for the bank account.
|
977
840
|
sig { returns(String) }
|
978
841
|
attr_accessor :account_number
|
979
|
-
|
980
842
|
# Bank-State-Branch number of the bank account.
|
981
843
|
sig { returns(String) }
|
982
844
|
attr_accessor :bsb_number
|
983
|
-
|
984
845
|
# The PayID alias for the bank account.
|
985
846
|
sig { returns(String) }
|
986
847
|
attr_accessor :pay_id
|
987
|
-
|
988
848
|
sig { params(account_number: String, bsb_number: String, pay_id: String).void }
|
989
849
|
def initialize(account_number: nil, bsb_number: nil, pay_id: nil); end
|
990
850
|
end
|
@@ -1001,7 +861,6 @@ module Stripe
|
|
1001
861
|
# A [Radar Session](https://stripe.com/docs/radar/radar-session) is a snapshot of the browser metadata and device details that help Radar make more accurate predictions on your payments.
|
1002
862
|
sig { returns(String) }
|
1003
863
|
attr_accessor :session
|
1004
|
-
|
1005
864
|
sig { params(session: String).void }
|
1006
865
|
def initialize(session: nil); end
|
1007
866
|
end
|
@@ -1010,22 +869,18 @@ module Stripe
|
|
1010
869
|
# The day of birth, between 1 and 31.
|
1011
870
|
sig { returns(Integer) }
|
1012
871
|
attr_accessor :day
|
1013
|
-
|
1014
872
|
# The month of birth, between 1 and 12.
|
1015
873
|
sig { returns(Integer) }
|
1016
874
|
attr_accessor :month
|
1017
|
-
|
1018
875
|
# The four-digit year of birth.
|
1019
876
|
sig { returns(Integer) }
|
1020
877
|
attr_accessor :year
|
1021
|
-
|
1022
878
|
sig { params(day: Integer, month: Integer, year: Integer).void }
|
1023
879
|
def initialize(day: nil, month: nil, year: nil); end
|
1024
880
|
end
|
1025
881
|
# Customer's date of birth
|
1026
882
|
sig { returns(::Stripe::SetupIntent::CreateParams::PaymentMethodData::Rechnung::Dob) }
|
1027
883
|
attr_accessor :dob
|
1028
|
-
|
1029
884
|
sig {
|
1030
885
|
params(dob: ::Stripe::SetupIntent::CreateParams::PaymentMethodData::Rechnung::Dob).void
|
1031
886
|
}
|
@@ -1041,7 +896,6 @@ module Stripe
|
|
1041
896
|
# IBAN of the bank account.
|
1042
897
|
sig { returns(String) }
|
1043
898
|
attr_accessor :iban
|
1044
|
-
|
1045
899
|
sig { params(iban: String).void }
|
1046
900
|
def initialize(iban: nil); end
|
1047
901
|
end
|
@@ -1052,7 +906,6 @@ module Stripe
|
|
1052
906
|
# Two-letter ISO code representing the country the bank account is located in.
|
1053
907
|
sig { returns(String) }
|
1054
908
|
attr_accessor :country
|
1055
|
-
|
1056
909
|
sig { params(country: String).void }
|
1057
910
|
def initialize(country: nil); end
|
1058
911
|
end
|
@@ -1066,23 +919,18 @@ module Stripe
|
|
1066
919
|
# Account holder type: individual or company.
|
1067
920
|
sig { returns(String) }
|
1068
921
|
attr_accessor :account_holder_type
|
1069
|
-
|
1070
922
|
# Account number of the bank account.
|
1071
923
|
sig { returns(String) }
|
1072
924
|
attr_accessor :account_number
|
1073
|
-
|
1074
925
|
# Account type: checkings or savings. Defaults to checking if omitted.
|
1075
926
|
sig { returns(String) }
|
1076
927
|
attr_accessor :account_type
|
1077
|
-
|
1078
928
|
# The ID of a Financial Connections Account to use as a payment method.
|
1079
929
|
sig { returns(String) }
|
1080
930
|
attr_accessor :financial_connections_account
|
1081
|
-
|
1082
931
|
# Routing number of the bank account.
|
1083
932
|
sig { returns(String) }
|
1084
933
|
attr_accessor :routing_number
|
1085
|
-
|
1086
934
|
sig {
|
1087
935
|
params(account_holder_type: String, account_number: String, account_type: String, financial_connections_account: String, routing_number: String).void
|
1088
936
|
}
|
@@ -1103,225 +951,173 @@ module Stripe
|
|
1103
951
|
# If this is an `acss_debit` PaymentMethod, this hash contains details about the ACSS Debit payment method.
|
1104
952
|
sig { returns(::Stripe::SetupIntent::CreateParams::PaymentMethodData::AcssDebit) }
|
1105
953
|
attr_accessor :acss_debit
|
1106
|
-
|
1107
954
|
# If this is an `affirm` PaymentMethod, this hash contains details about the Affirm payment method.
|
1108
955
|
sig { returns(::Stripe::SetupIntent::CreateParams::PaymentMethodData::Affirm) }
|
1109
956
|
attr_accessor :affirm
|
1110
|
-
|
1111
957
|
# If this is an `AfterpayClearpay` PaymentMethod, this hash contains details about the AfterpayClearpay payment method.
|
1112
958
|
sig { returns(::Stripe::SetupIntent::CreateParams::PaymentMethodData::AfterpayClearpay) }
|
1113
959
|
attr_accessor :afterpay_clearpay
|
1114
|
-
|
1115
960
|
# If this is an `Alipay` PaymentMethod, this hash contains details about the Alipay payment method.
|
1116
961
|
sig { returns(::Stripe::SetupIntent::CreateParams::PaymentMethodData::Alipay) }
|
1117
962
|
attr_accessor :alipay
|
1118
|
-
|
1119
963
|
# This field indicates whether this payment method can be shown again to its customer in a checkout flow. Stripe products such as Checkout and Elements use this field to determine whether a payment method can be shown as a saved payment method in a checkout flow. The field defaults to `unspecified`.
|
1120
964
|
sig { returns(String) }
|
1121
965
|
attr_accessor :allow_redisplay
|
1122
|
-
|
1123
966
|
# If this is a Alma PaymentMethod, this hash contains details about the Alma payment method.
|
1124
967
|
sig { returns(::Stripe::SetupIntent::CreateParams::PaymentMethodData::Alma) }
|
1125
968
|
attr_accessor :alma
|
1126
|
-
|
1127
969
|
# If this is a AmazonPay PaymentMethod, this hash contains details about the AmazonPay payment method.
|
1128
970
|
sig { returns(::Stripe::SetupIntent::CreateParams::PaymentMethodData::AmazonPay) }
|
1129
971
|
attr_accessor :amazon_pay
|
1130
|
-
|
1131
972
|
# If this is an `au_becs_debit` PaymentMethod, this hash contains details about the bank account.
|
1132
973
|
sig { returns(::Stripe::SetupIntent::CreateParams::PaymentMethodData::AuBecsDebit) }
|
1133
974
|
attr_accessor :au_becs_debit
|
1134
|
-
|
1135
975
|
# If this is a `bacs_debit` PaymentMethod, this hash contains details about the Bacs Direct Debit bank account.
|
1136
976
|
sig { returns(::Stripe::SetupIntent::CreateParams::PaymentMethodData::BacsDebit) }
|
1137
977
|
attr_accessor :bacs_debit
|
1138
|
-
|
1139
978
|
# If this is a `bancontact` PaymentMethod, this hash contains details about the Bancontact payment method.
|
1140
979
|
sig { returns(::Stripe::SetupIntent::CreateParams::PaymentMethodData::Bancontact) }
|
1141
980
|
attr_accessor :bancontact
|
1142
|
-
|
1143
981
|
# Billing information associated with the PaymentMethod that may be used or required by particular types of payment methods.
|
1144
982
|
sig { returns(::Stripe::SetupIntent::CreateParams::PaymentMethodData::BillingDetails) }
|
1145
983
|
attr_accessor :billing_details
|
1146
|
-
|
1147
984
|
# If this is a `blik` PaymentMethod, this hash contains details about the BLIK payment method.
|
1148
985
|
sig { returns(::Stripe::SetupIntent::CreateParams::PaymentMethodData::Blik) }
|
1149
986
|
attr_accessor :blik
|
1150
|
-
|
1151
987
|
# If this is a `boleto` PaymentMethod, this hash contains details about the Boleto payment method.
|
1152
988
|
sig { returns(::Stripe::SetupIntent::CreateParams::PaymentMethodData::Boleto) }
|
1153
989
|
attr_accessor :boleto
|
1154
|
-
|
1155
990
|
# If this is a `cashapp` PaymentMethod, this hash contains details about the Cash App Pay payment method.
|
1156
991
|
sig { returns(::Stripe::SetupIntent::CreateParams::PaymentMethodData::Cashapp) }
|
1157
992
|
attr_accessor :cashapp
|
1158
|
-
|
1159
993
|
# If this is a `customer_balance` PaymentMethod, this hash contains details about the CustomerBalance payment method.
|
1160
994
|
sig { returns(::Stripe::SetupIntent::CreateParams::PaymentMethodData::CustomerBalance) }
|
1161
995
|
attr_accessor :customer_balance
|
1162
|
-
|
1163
996
|
# If this is an `eps` PaymentMethod, this hash contains details about the EPS payment method.
|
1164
997
|
sig { returns(::Stripe::SetupIntent::CreateParams::PaymentMethodData::Eps) }
|
1165
998
|
attr_accessor :eps
|
1166
|
-
|
1167
999
|
# If this is an `fpx` PaymentMethod, this hash contains details about the FPX payment method.
|
1168
1000
|
sig { returns(::Stripe::SetupIntent::CreateParams::PaymentMethodData::Fpx) }
|
1169
1001
|
attr_accessor :fpx
|
1170
|
-
|
1171
1002
|
# If this is a `giropay` PaymentMethod, this hash contains details about the Giropay payment method.
|
1172
1003
|
sig { returns(::Stripe::SetupIntent::CreateParams::PaymentMethodData::Giropay) }
|
1173
1004
|
attr_accessor :giropay
|
1174
|
-
|
1175
1005
|
# If this is a Gopay PaymentMethod, this hash contains details about the Gopay payment method.
|
1176
1006
|
sig { returns(::Stripe::SetupIntent::CreateParams::PaymentMethodData::Gopay) }
|
1177
1007
|
attr_accessor :gopay
|
1178
|
-
|
1179
1008
|
# If this is a `grabpay` PaymentMethod, this hash contains details about the GrabPay payment method.
|
1180
1009
|
sig { returns(::Stripe::SetupIntent::CreateParams::PaymentMethodData::Grabpay) }
|
1181
1010
|
attr_accessor :grabpay
|
1182
|
-
|
1183
1011
|
# If this is an `IdBankTransfer` PaymentMethod, this hash contains details about the IdBankTransfer payment method.
|
1184
1012
|
sig { returns(::Stripe::SetupIntent::CreateParams::PaymentMethodData::IdBankTransfer) }
|
1185
1013
|
attr_accessor :id_bank_transfer
|
1186
|
-
|
1187
1014
|
# If this is an `ideal` PaymentMethod, this hash contains details about the iDEAL payment method.
|
1188
1015
|
sig { returns(::Stripe::SetupIntent::CreateParams::PaymentMethodData::Ideal) }
|
1189
1016
|
attr_accessor :ideal
|
1190
|
-
|
1191
1017
|
# If this is an `interac_present` PaymentMethod, this hash contains details about the Interac Present payment method.
|
1192
1018
|
sig { returns(::Stripe::SetupIntent::CreateParams::PaymentMethodData::InteracPresent) }
|
1193
1019
|
attr_accessor :interac_present
|
1194
|
-
|
1195
1020
|
# If this is a `kakao_pay` PaymentMethod, this hash contains details about the Kakao Pay payment method.
|
1196
1021
|
sig { returns(::Stripe::SetupIntent::CreateParams::PaymentMethodData::KakaoPay) }
|
1197
1022
|
attr_accessor :kakao_pay
|
1198
|
-
|
1199
1023
|
# If this is a `klarna` PaymentMethod, this hash contains details about the Klarna payment method.
|
1200
1024
|
sig { returns(::Stripe::SetupIntent::CreateParams::PaymentMethodData::Klarna) }
|
1201
1025
|
attr_accessor :klarna
|
1202
|
-
|
1203
1026
|
# If this is a `konbini` PaymentMethod, this hash contains details about the Konbini payment method.
|
1204
1027
|
sig { returns(::Stripe::SetupIntent::CreateParams::PaymentMethodData::Konbini) }
|
1205
1028
|
attr_accessor :konbini
|
1206
|
-
|
1207
1029
|
# If this is a `kr_card` PaymentMethod, this hash contains details about the Korean Card payment method.
|
1208
1030
|
sig { returns(::Stripe::SetupIntent::CreateParams::PaymentMethodData::KrCard) }
|
1209
1031
|
attr_accessor :kr_card
|
1210
|
-
|
1211
1032
|
# If this is an `Link` PaymentMethod, this hash contains details about the Link payment method.
|
1212
1033
|
sig { returns(::Stripe::SetupIntent::CreateParams::PaymentMethodData::Link) }
|
1213
1034
|
attr_accessor :link
|
1214
|
-
|
1215
1035
|
# If this is a MB WAY PaymentMethod, this hash contains details about the MB WAY payment method.
|
1216
1036
|
sig { returns(::Stripe::SetupIntent::CreateParams::PaymentMethodData::MbWay) }
|
1217
1037
|
attr_accessor :mb_way
|
1218
|
-
|
1219
1038
|
# Set of [key-value pairs](https://stripe.com/docs/api/metadata) that you can attach to an object. This can be useful for storing additional information about the object in a structured format. Individual keys can be unset by posting an empty value to them. All keys can be unset by posting an empty value to `metadata`.
|
1220
1039
|
sig { returns(T::Hash[String, String]) }
|
1221
1040
|
attr_accessor :metadata
|
1222
|
-
|
1223
1041
|
# If this is a `mobilepay` PaymentMethod, this hash contains details about the MobilePay payment method.
|
1224
1042
|
sig { returns(::Stripe::SetupIntent::CreateParams::PaymentMethodData::Mobilepay) }
|
1225
1043
|
attr_accessor :mobilepay
|
1226
|
-
|
1227
1044
|
# If this is a `multibanco` PaymentMethod, this hash contains details about the Multibanco payment method.
|
1228
1045
|
sig { returns(::Stripe::SetupIntent::CreateParams::PaymentMethodData::Multibanco) }
|
1229
1046
|
attr_accessor :multibanco
|
1230
|
-
|
1231
1047
|
# If this is a `naver_pay` PaymentMethod, this hash contains details about the Naver Pay payment method.
|
1232
1048
|
sig { returns(::Stripe::SetupIntent::CreateParams::PaymentMethodData::NaverPay) }
|
1233
1049
|
attr_accessor :naver_pay
|
1234
|
-
|
1235
1050
|
# If this is an `oxxo` PaymentMethod, this hash contains details about the OXXO payment method.
|
1236
1051
|
sig { returns(::Stripe::SetupIntent::CreateParams::PaymentMethodData::Oxxo) }
|
1237
1052
|
attr_accessor :oxxo
|
1238
|
-
|
1239
1053
|
# If this is a `p24` PaymentMethod, this hash contains details about the P24 payment method.
|
1240
1054
|
sig { returns(::Stripe::SetupIntent::CreateParams::PaymentMethodData::P24) }
|
1241
1055
|
attr_accessor :p24
|
1242
|
-
|
1056
|
+
# If this is a `pay_by_bank` PaymentMethod, this hash contains details about the PayByBank payment method.
|
1057
|
+
sig { returns(::Stripe::SetupIntent::CreateParams::PaymentMethodData::PayByBank) }
|
1058
|
+
attr_accessor :pay_by_bank
|
1243
1059
|
# If this is a `payco` PaymentMethod, this hash contains details about the PAYCO payment method.
|
1244
1060
|
sig { returns(::Stripe::SetupIntent::CreateParams::PaymentMethodData::Payco) }
|
1245
1061
|
attr_accessor :payco
|
1246
|
-
|
1247
1062
|
# If this is a `paynow` PaymentMethod, this hash contains details about the PayNow payment method.
|
1248
1063
|
sig { returns(::Stripe::SetupIntent::CreateParams::PaymentMethodData::Paynow) }
|
1249
1064
|
attr_accessor :paynow
|
1250
|
-
|
1251
1065
|
# If this is a `paypal` PaymentMethod, this hash contains details about the PayPal payment method.
|
1252
1066
|
sig { returns(::Stripe::SetupIntent::CreateParams::PaymentMethodData::Paypal) }
|
1253
1067
|
attr_accessor :paypal
|
1254
|
-
|
1255
1068
|
# If this is a `payto` PaymentMethod, this hash contains details about the PayTo payment method.
|
1256
1069
|
sig { returns(::Stripe::SetupIntent::CreateParams::PaymentMethodData::Payto) }
|
1257
1070
|
attr_accessor :payto
|
1258
|
-
|
1259
1071
|
# If this is a `pix` PaymentMethod, this hash contains details about the Pix payment method.
|
1260
1072
|
sig { returns(::Stripe::SetupIntent::CreateParams::PaymentMethodData::Pix) }
|
1261
1073
|
attr_accessor :pix
|
1262
|
-
|
1263
1074
|
# If this is a `promptpay` PaymentMethod, this hash contains details about the PromptPay payment method.
|
1264
1075
|
sig { returns(::Stripe::SetupIntent::CreateParams::PaymentMethodData::Promptpay) }
|
1265
1076
|
attr_accessor :promptpay
|
1266
|
-
|
1267
1077
|
# If this is a `qris` PaymentMethod, this hash contains details about the QRIS payment method.
|
1268
1078
|
sig { returns(::Stripe::SetupIntent::CreateParams::PaymentMethodData::Qris) }
|
1269
1079
|
attr_accessor :qris
|
1270
|
-
|
1271
1080
|
# Options to configure Radar. See [Radar Session](https://stripe.com/docs/radar/radar-session) for more information.
|
1272
1081
|
sig { returns(::Stripe::SetupIntent::CreateParams::PaymentMethodData::RadarOptions) }
|
1273
1082
|
attr_accessor :radar_options
|
1274
|
-
|
1275
1083
|
# If this is a `rechnung` PaymentMethod, this hash contains details about the Rechnung payment method.
|
1276
1084
|
sig { returns(::Stripe::SetupIntent::CreateParams::PaymentMethodData::Rechnung) }
|
1277
1085
|
attr_accessor :rechnung
|
1278
|
-
|
1279
1086
|
# If this is a `Revolut Pay` PaymentMethod, this hash contains details about the Revolut Pay payment method.
|
1280
1087
|
sig { returns(::Stripe::SetupIntent::CreateParams::PaymentMethodData::RevolutPay) }
|
1281
1088
|
attr_accessor :revolut_pay
|
1282
|
-
|
1283
1089
|
# If this is a `samsung_pay` PaymentMethod, this hash contains details about the SamsungPay payment method.
|
1284
1090
|
sig { returns(::Stripe::SetupIntent::CreateParams::PaymentMethodData::SamsungPay) }
|
1285
1091
|
attr_accessor :samsung_pay
|
1286
|
-
|
1287
1092
|
# If this is a `sepa_debit` PaymentMethod, this hash contains details about the SEPA debit bank account.
|
1288
1093
|
sig { returns(::Stripe::SetupIntent::CreateParams::PaymentMethodData::SepaDebit) }
|
1289
1094
|
attr_accessor :sepa_debit
|
1290
|
-
|
1291
1095
|
# If this is a Shopeepay PaymentMethod, this hash contains details about the Shopeepay payment method.
|
1292
1096
|
sig { returns(::Stripe::SetupIntent::CreateParams::PaymentMethodData::Shopeepay) }
|
1293
1097
|
attr_accessor :shopeepay
|
1294
|
-
|
1295
1098
|
# If this is a `sofort` PaymentMethod, this hash contains details about the SOFORT payment method.
|
1296
1099
|
sig { returns(::Stripe::SetupIntent::CreateParams::PaymentMethodData::Sofort) }
|
1297
1100
|
attr_accessor :sofort
|
1298
|
-
|
1299
1101
|
# If this is a `swish` PaymentMethod, this hash contains details about the Swish payment method.
|
1300
1102
|
sig { returns(::Stripe::SetupIntent::CreateParams::PaymentMethodData::Swish) }
|
1301
1103
|
attr_accessor :swish
|
1302
|
-
|
1303
1104
|
# If this is a TWINT PaymentMethod, this hash contains details about the TWINT payment method.
|
1304
1105
|
sig { returns(::Stripe::SetupIntent::CreateParams::PaymentMethodData::Twint) }
|
1305
1106
|
attr_accessor :twint
|
1306
|
-
|
1307
1107
|
# The type of the PaymentMethod. An additional hash is included on the PaymentMethod with a name matching this value. It contains additional information specific to the PaymentMethod type.
|
1308
1108
|
sig { returns(String) }
|
1309
1109
|
attr_accessor :type
|
1310
|
-
|
1311
1110
|
# If this is an `us_bank_account` PaymentMethod, this hash contains details about the US bank account payment method.
|
1312
1111
|
sig { returns(::Stripe::SetupIntent::CreateParams::PaymentMethodData::UsBankAccount) }
|
1313
1112
|
attr_accessor :us_bank_account
|
1314
|
-
|
1315
1113
|
# If this is an `wechat_pay` PaymentMethod, this hash contains details about the wechat_pay payment method.
|
1316
1114
|
sig { returns(::Stripe::SetupIntent::CreateParams::PaymentMethodData::WechatPay) }
|
1317
1115
|
attr_accessor :wechat_pay
|
1318
|
-
|
1319
1116
|
# If this is a `zip` PaymentMethod, this hash contains details about the Zip payment method.
|
1320
1117
|
sig { returns(::Stripe::SetupIntent::CreateParams::PaymentMethodData::Zip) }
|
1321
1118
|
attr_accessor :zip
|
1322
|
-
|
1323
1119
|
sig {
|
1324
|
-
params(acss_debit: ::Stripe::SetupIntent::CreateParams::PaymentMethodData::AcssDebit, affirm: ::Stripe::SetupIntent::CreateParams::PaymentMethodData::Affirm, afterpay_clearpay: ::Stripe::SetupIntent::CreateParams::PaymentMethodData::AfterpayClearpay, alipay: ::Stripe::SetupIntent::CreateParams::PaymentMethodData::Alipay, allow_redisplay: String, alma: ::Stripe::SetupIntent::CreateParams::PaymentMethodData::Alma, amazon_pay: ::Stripe::SetupIntent::CreateParams::PaymentMethodData::AmazonPay, au_becs_debit: ::Stripe::SetupIntent::CreateParams::PaymentMethodData::AuBecsDebit, bacs_debit: ::Stripe::SetupIntent::CreateParams::PaymentMethodData::BacsDebit, bancontact: ::Stripe::SetupIntent::CreateParams::PaymentMethodData::Bancontact, billing_details: ::Stripe::SetupIntent::CreateParams::PaymentMethodData::BillingDetails, blik: ::Stripe::SetupIntent::CreateParams::PaymentMethodData::Blik, boleto: ::Stripe::SetupIntent::CreateParams::PaymentMethodData::Boleto, cashapp: ::Stripe::SetupIntent::CreateParams::PaymentMethodData::Cashapp, customer_balance: ::Stripe::SetupIntent::CreateParams::PaymentMethodData::CustomerBalance, eps: ::Stripe::SetupIntent::CreateParams::PaymentMethodData::Eps, fpx: ::Stripe::SetupIntent::CreateParams::PaymentMethodData::Fpx, giropay: ::Stripe::SetupIntent::CreateParams::PaymentMethodData::Giropay, gopay: ::Stripe::SetupIntent::CreateParams::PaymentMethodData::Gopay, grabpay: ::Stripe::SetupIntent::CreateParams::PaymentMethodData::Grabpay, id_bank_transfer: ::Stripe::SetupIntent::CreateParams::PaymentMethodData::IdBankTransfer, ideal: ::Stripe::SetupIntent::CreateParams::PaymentMethodData::Ideal, interac_present: ::Stripe::SetupIntent::CreateParams::PaymentMethodData::InteracPresent, kakao_pay: ::Stripe::SetupIntent::CreateParams::PaymentMethodData::KakaoPay, klarna: ::Stripe::SetupIntent::CreateParams::PaymentMethodData::Klarna, konbini: ::Stripe::SetupIntent::CreateParams::PaymentMethodData::Konbini, kr_card: ::Stripe::SetupIntent::CreateParams::PaymentMethodData::KrCard, link: ::Stripe::SetupIntent::CreateParams::PaymentMethodData::Link, mb_way: ::Stripe::SetupIntent::CreateParams::PaymentMethodData::MbWay, metadata: T::Hash[String, String], mobilepay: ::Stripe::SetupIntent::CreateParams::PaymentMethodData::Mobilepay, multibanco: ::Stripe::SetupIntent::CreateParams::PaymentMethodData::Multibanco, naver_pay: ::Stripe::SetupIntent::CreateParams::PaymentMethodData::NaverPay, oxxo: ::Stripe::SetupIntent::CreateParams::PaymentMethodData::Oxxo, p24: ::Stripe::SetupIntent::CreateParams::PaymentMethodData::P24, payco: ::Stripe::SetupIntent::CreateParams::PaymentMethodData::Payco, paynow: ::Stripe::SetupIntent::CreateParams::PaymentMethodData::Paynow, paypal: ::Stripe::SetupIntent::CreateParams::PaymentMethodData::Paypal, payto: ::Stripe::SetupIntent::CreateParams::PaymentMethodData::Payto, pix: ::Stripe::SetupIntent::CreateParams::PaymentMethodData::Pix, promptpay: ::Stripe::SetupIntent::CreateParams::PaymentMethodData::Promptpay, qris: ::Stripe::SetupIntent::CreateParams::PaymentMethodData::Qris, radar_options: ::Stripe::SetupIntent::CreateParams::PaymentMethodData::RadarOptions, rechnung: ::Stripe::SetupIntent::CreateParams::PaymentMethodData::Rechnung, revolut_pay: ::Stripe::SetupIntent::CreateParams::PaymentMethodData::RevolutPay, samsung_pay: ::Stripe::SetupIntent::CreateParams::PaymentMethodData::SamsungPay, sepa_debit: ::Stripe::SetupIntent::CreateParams::PaymentMethodData::SepaDebit, shopeepay: ::Stripe::SetupIntent::CreateParams::PaymentMethodData::Shopeepay, sofort: ::Stripe::SetupIntent::CreateParams::PaymentMethodData::Sofort, swish: ::Stripe::SetupIntent::CreateParams::PaymentMethodData::Swish, twint: ::Stripe::SetupIntent::CreateParams::PaymentMethodData::Twint, type: String, us_bank_account: ::Stripe::SetupIntent::CreateParams::PaymentMethodData::UsBankAccount, wechat_pay: ::Stripe::SetupIntent::CreateParams::PaymentMethodData::WechatPay, zip: ::Stripe::SetupIntent::CreateParams::PaymentMethodData::Zip).void
|
1120
|
+
params(acss_debit: ::Stripe::SetupIntent::CreateParams::PaymentMethodData::AcssDebit, affirm: ::Stripe::SetupIntent::CreateParams::PaymentMethodData::Affirm, afterpay_clearpay: ::Stripe::SetupIntent::CreateParams::PaymentMethodData::AfterpayClearpay, alipay: ::Stripe::SetupIntent::CreateParams::PaymentMethodData::Alipay, allow_redisplay: String, alma: ::Stripe::SetupIntent::CreateParams::PaymentMethodData::Alma, amazon_pay: ::Stripe::SetupIntent::CreateParams::PaymentMethodData::AmazonPay, au_becs_debit: ::Stripe::SetupIntent::CreateParams::PaymentMethodData::AuBecsDebit, bacs_debit: ::Stripe::SetupIntent::CreateParams::PaymentMethodData::BacsDebit, bancontact: ::Stripe::SetupIntent::CreateParams::PaymentMethodData::Bancontact, billing_details: ::Stripe::SetupIntent::CreateParams::PaymentMethodData::BillingDetails, blik: ::Stripe::SetupIntent::CreateParams::PaymentMethodData::Blik, boleto: ::Stripe::SetupIntent::CreateParams::PaymentMethodData::Boleto, cashapp: ::Stripe::SetupIntent::CreateParams::PaymentMethodData::Cashapp, customer_balance: ::Stripe::SetupIntent::CreateParams::PaymentMethodData::CustomerBalance, eps: ::Stripe::SetupIntent::CreateParams::PaymentMethodData::Eps, fpx: ::Stripe::SetupIntent::CreateParams::PaymentMethodData::Fpx, giropay: ::Stripe::SetupIntent::CreateParams::PaymentMethodData::Giropay, gopay: ::Stripe::SetupIntent::CreateParams::PaymentMethodData::Gopay, grabpay: ::Stripe::SetupIntent::CreateParams::PaymentMethodData::Grabpay, id_bank_transfer: ::Stripe::SetupIntent::CreateParams::PaymentMethodData::IdBankTransfer, ideal: ::Stripe::SetupIntent::CreateParams::PaymentMethodData::Ideal, interac_present: ::Stripe::SetupIntent::CreateParams::PaymentMethodData::InteracPresent, kakao_pay: ::Stripe::SetupIntent::CreateParams::PaymentMethodData::KakaoPay, klarna: ::Stripe::SetupIntent::CreateParams::PaymentMethodData::Klarna, konbini: ::Stripe::SetupIntent::CreateParams::PaymentMethodData::Konbini, kr_card: ::Stripe::SetupIntent::CreateParams::PaymentMethodData::KrCard, link: ::Stripe::SetupIntent::CreateParams::PaymentMethodData::Link, mb_way: ::Stripe::SetupIntent::CreateParams::PaymentMethodData::MbWay, metadata: T::Hash[String, String], mobilepay: ::Stripe::SetupIntent::CreateParams::PaymentMethodData::Mobilepay, multibanco: ::Stripe::SetupIntent::CreateParams::PaymentMethodData::Multibanco, naver_pay: ::Stripe::SetupIntent::CreateParams::PaymentMethodData::NaverPay, oxxo: ::Stripe::SetupIntent::CreateParams::PaymentMethodData::Oxxo, p24: ::Stripe::SetupIntent::CreateParams::PaymentMethodData::P24, pay_by_bank: ::Stripe::SetupIntent::CreateParams::PaymentMethodData::PayByBank, payco: ::Stripe::SetupIntent::CreateParams::PaymentMethodData::Payco, paynow: ::Stripe::SetupIntent::CreateParams::PaymentMethodData::Paynow, paypal: ::Stripe::SetupIntent::CreateParams::PaymentMethodData::Paypal, payto: ::Stripe::SetupIntent::CreateParams::PaymentMethodData::Payto, pix: ::Stripe::SetupIntent::CreateParams::PaymentMethodData::Pix, promptpay: ::Stripe::SetupIntent::CreateParams::PaymentMethodData::Promptpay, qris: ::Stripe::SetupIntent::CreateParams::PaymentMethodData::Qris, radar_options: ::Stripe::SetupIntent::CreateParams::PaymentMethodData::RadarOptions, rechnung: ::Stripe::SetupIntent::CreateParams::PaymentMethodData::Rechnung, revolut_pay: ::Stripe::SetupIntent::CreateParams::PaymentMethodData::RevolutPay, samsung_pay: ::Stripe::SetupIntent::CreateParams::PaymentMethodData::SamsungPay, sepa_debit: ::Stripe::SetupIntent::CreateParams::PaymentMethodData::SepaDebit, shopeepay: ::Stripe::SetupIntent::CreateParams::PaymentMethodData::Shopeepay, sofort: ::Stripe::SetupIntent::CreateParams::PaymentMethodData::Sofort, swish: ::Stripe::SetupIntent::CreateParams::PaymentMethodData::Swish, twint: ::Stripe::SetupIntent::CreateParams::PaymentMethodData::Twint, type: String, us_bank_account: ::Stripe::SetupIntent::CreateParams::PaymentMethodData::UsBankAccount, wechat_pay: ::Stripe::SetupIntent::CreateParams::PaymentMethodData::WechatPay, zip: ::Stripe::SetupIntent::CreateParams::PaymentMethodData::Zip).void
|
1325
1121
|
}
|
1326
1122
|
def initialize(
|
1327
1123
|
acss_debit: nil,
|
@@ -1359,6 +1155,7 @@ module Stripe
|
|
1359
1155
|
naver_pay: nil,
|
1360
1156
|
oxxo: nil,
|
1361
1157
|
p24: nil,
|
1158
|
+
pay_by_bank: nil,
|
1362
1159
|
payco: nil,
|
1363
1160
|
paynow: nil,
|
1364
1161
|
paypal: nil,
|
@@ -1389,23 +1186,18 @@ module Stripe
|
|
1389
1186
|
# or `setup_intent` and `setup_intent_client_secret` when confirming a Setup Intent.
|
1390
1187
|
sig { returns(T.nilable(String)) }
|
1391
1188
|
attr_accessor :custom_mandate_url
|
1392
|
-
|
1393
1189
|
# List of Stripe products where this mandate can be selected automatically.
|
1394
1190
|
sig { returns(T::Array[String]) }
|
1395
1191
|
attr_accessor :default_for
|
1396
|
-
|
1397
1192
|
# Description of the mandate interval. Only required if 'payment_schedule' parameter is 'interval' or 'combined'.
|
1398
1193
|
sig { returns(String) }
|
1399
1194
|
attr_accessor :interval_description
|
1400
|
-
|
1401
1195
|
# Payment schedule for the mandate.
|
1402
1196
|
sig { returns(String) }
|
1403
1197
|
attr_accessor :payment_schedule
|
1404
|
-
|
1405
1198
|
# Transaction type of the mandate.
|
1406
1199
|
sig { returns(String) }
|
1407
1200
|
attr_accessor :transaction_type
|
1408
|
-
|
1409
1201
|
sig {
|
1410
1202
|
params(custom_mandate_url: T.nilable(String), default_for: T::Array[String], interval_description: String, payment_schedule: String, transaction_type: String).void
|
1411
1203
|
}
|
@@ -1420,17 +1212,14 @@ module Stripe
|
|
1420
1212
|
# 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).
|
1421
1213
|
sig { returns(String) }
|
1422
1214
|
attr_accessor :currency
|
1423
|
-
|
1424
1215
|
# Additional fields for Mandate creation
|
1425
1216
|
sig {
|
1426
1217
|
returns(::Stripe::SetupIntent::CreateParams::PaymentMethodOptions::AcssDebit::MandateOptions)
|
1427
1218
|
}
|
1428
1219
|
attr_accessor :mandate_options
|
1429
|
-
|
1430
1220
|
# Bank account verification method.
|
1431
1221
|
sig { returns(String) }
|
1432
1222
|
attr_accessor :verification_method
|
1433
|
-
|
1434
1223
|
sig {
|
1435
1224
|
params(currency: String, mandate_options: ::Stripe::SetupIntent::CreateParams::PaymentMethodOptions::AcssDebit::MandateOptions, verification_method: String).void
|
1436
1225
|
}
|
@@ -1444,7 +1233,6 @@ module Stripe
|
|
1444
1233
|
# Prefix used to generate the Mandate reference. Must be at most 12 characters long. Must consist of only uppercase letters, numbers, spaces, or the following special characters: '/', '_', '-', '&', '.'. Cannot begin with 'DDIC' or 'STRIPE'.
|
1445
1234
|
sig { returns(T.nilable(String)) }
|
1446
1235
|
attr_accessor :reference_prefix
|
1447
|
-
|
1448
1236
|
sig { params(reference_prefix: T.nilable(String)).void }
|
1449
1237
|
def initialize(reference_prefix: nil); end
|
1450
1238
|
end
|
@@ -1453,7 +1241,6 @@ module Stripe
|
|
1453
1241
|
returns(::Stripe::SetupIntent::CreateParams::PaymentMethodOptions::BacsDebit::MandateOptions)
|
1454
1242
|
}
|
1455
1243
|
attr_accessor :mandate_options
|
1456
|
-
|
1457
1244
|
sig {
|
1458
1245
|
params(mandate_options: ::Stripe::SetupIntent::CreateParams::PaymentMethodOptions::BacsDebit::MandateOptions).void
|
1459
1246
|
}
|
@@ -1464,43 +1251,33 @@ module Stripe
|
|
1464
1251
|
# Amount to be charged for future payments.
|
1465
1252
|
sig { returns(Integer) }
|
1466
1253
|
attr_accessor :amount
|
1467
|
-
|
1468
1254
|
# One of `fixed` or `maximum`. If `fixed`, the `amount` param refers to the exact amount to be charged in future payments. If `maximum`, the amount charged can be up to the value passed for the `amount` param.
|
1469
1255
|
sig { returns(String) }
|
1470
1256
|
attr_accessor :amount_type
|
1471
|
-
|
1472
1257
|
# Currency in which future payments will be charged. 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).
|
1473
1258
|
sig { returns(String) }
|
1474
1259
|
attr_accessor :currency
|
1475
|
-
|
1476
1260
|
# A description of the mandate or subscription that is meant to be displayed to the customer.
|
1477
1261
|
sig { returns(String) }
|
1478
1262
|
attr_accessor :description
|
1479
|
-
|
1480
1263
|
# End date of the mandate or subscription. If not provided, the mandate will be active until canceled. If provided, end date should be after start date.
|
1481
1264
|
sig { returns(Integer) }
|
1482
1265
|
attr_accessor :end_date
|
1483
|
-
|
1484
1266
|
# Specifies payment frequency. One of `day`, `week`, `month`, `year`, or `sporadic`.
|
1485
1267
|
sig { returns(String) }
|
1486
1268
|
attr_accessor :interval
|
1487
|
-
|
1488
1269
|
# The number of intervals between payments. For example, `interval=month` and `interval_count=3` indicates one payment every three months. Maximum of one year interval allowed (1 year, 12 months, or 52 weeks). This parameter is optional when `interval=sporadic`.
|
1489
1270
|
sig { returns(Integer) }
|
1490
1271
|
attr_accessor :interval_count
|
1491
|
-
|
1492
1272
|
# Unique identifier for the mandate or subscription.
|
1493
1273
|
sig { returns(String) }
|
1494
1274
|
attr_accessor :reference
|
1495
|
-
|
1496
1275
|
# Start date of the mandate or subscription. Start date should not be lesser than yesterday.
|
1497
1276
|
sig { returns(Integer) }
|
1498
1277
|
attr_accessor :start_date
|
1499
|
-
|
1500
1278
|
# Specifies the type of mandates supported. Possible values are `india`.
|
1501
1279
|
sig { returns(T::Array[String]) }
|
1502
1280
|
attr_accessor :supported_types
|
1503
|
-
|
1504
1281
|
sig {
|
1505
1282
|
params(amount: Integer, amount_type: String, currency: String, description: String, end_date: Integer, interval: String, interval_count: Integer, reference: String, start_date: Integer, supported_types: T::Array[String]).void
|
1506
1283
|
}
|
@@ -1525,19 +1302,16 @@ module Stripe
|
|
1525
1302
|
# messageExtension: CB-AVALGO
|
1526
1303
|
sig { returns(String) }
|
1527
1304
|
attr_accessor :cb_avalgo
|
1528
|
-
|
1529
1305
|
# The exemption indicator returned from Cartes Bancaires in the ARes.
|
1530
1306
|
# message extension: CB-EXEMPTION; string (4 characters)
|
1531
1307
|
# This is a 3 byte bitmap (low significant byte first and most significant
|
1532
1308
|
# bit first) that has been Base64 encoded
|
1533
1309
|
sig { returns(String) }
|
1534
1310
|
attr_accessor :cb_exemption
|
1535
|
-
|
1536
1311
|
# The risk score returned from Cartes Bancaires in the ARes.
|
1537
1312
|
# message extension: CB-SCORE; numeric value 0-99
|
1538
1313
|
sig { returns(Integer) }
|
1539
1314
|
attr_accessor :cb_score
|
1540
|
-
|
1541
1315
|
sig { params(cb_avalgo: String, cb_exemption: String, cb_score: Integer).void }
|
1542
1316
|
def initialize(cb_avalgo: nil, cb_exemption: nil, cb_score: nil); end
|
1543
1317
|
end
|
@@ -1546,7 +1320,6 @@ module Stripe
|
|
1546
1320
|
returns(::Stripe::SetupIntent::CreateParams::PaymentMethodOptions::Card::ThreeDSecure::NetworkOptions::CartesBancaires)
|
1547
1321
|
}
|
1548
1322
|
attr_accessor :cartes_bancaires
|
1549
|
-
|
1550
1323
|
sig {
|
1551
1324
|
params(cartes_bancaires: ::Stripe::SetupIntent::CreateParams::PaymentMethodOptions::Card::ThreeDSecure::NetworkOptions::CartesBancaires).void
|
1552
1325
|
}
|
@@ -1555,19 +1328,16 @@ module Stripe
|
|
1555
1328
|
# The `transStatus` returned from the card Issuer’s ACS in the ARes.
|
1556
1329
|
sig { returns(String) }
|
1557
1330
|
attr_accessor :ares_trans_status
|
1558
|
-
|
1559
1331
|
# The cryptogram, also known as the "authentication value" (AAV, CAVV or
|
1560
1332
|
# AEVV). This value is 20 bytes, base64-encoded into a 28-character string.
|
1561
1333
|
# (Most 3D Secure providers will return the base64-encoded version, which
|
1562
1334
|
# is what you should specify here.)
|
1563
1335
|
sig { returns(String) }
|
1564
1336
|
attr_accessor :cryptogram
|
1565
|
-
|
1566
1337
|
# The Electronic Commerce Indicator (ECI) is returned by your 3D Secure
|
1567
1338
|
# provider and indicates what degree of authentication was performed.
|
1568
1339
|
sig { returns(String) }
|
1569
1340
|
attr_accessor :electronic_commerce_indicator
|
1570
|
-
|
1571
1341
|
# Network specific 3DS fields. Network specific arguments require an
|
1572
1342
|
# explicit card brand choice. The parameter `payment_method_options.card.network``
|
1573
1343
|
# must be populated accordingly
|
@@ -1575,21 +1345,17 @@ module Stripe
|
|
1575
1345
|
returns(::Stripe::SetupIntent::CreateParams::PaymentMethodOptions::Card::ThreeDSecure::NetworkOptions)
|
1576
1346
|
}
|
1577
1347
|
attr_accessor :network_options
|
1578
|
-
|
1579
1348
|
# The challenge indicator (`threeDSRequestorChallengeInd`) which was requested in the
|
1580
1349
|
# AReq sent to the card Issuer's ACS. A string containing 2 digits from 01-99.
|
1581
1350
|
sig { returns(String) }
|
1582
1351
|
attr_accessor :requestor_challenge_indicator
|
1583
|
-
|
1584
1352
|
# For 3D Secure 1, the XID. For 3D Secure 2, the Directory Server
|
1585
1353
|
# Transaction ID (dsTransID).
|
1586
1354
|
sig { returns(String) }
|
1587
1355
|
attr_accessor :transaction_id
|
1588
|
-
|
1589
1356
|
# The version of 3D Secure that was performed.
|
1590
1357
|
sig { returns(String) }
|
1591
1358
|
attr_accessor :version
|
1592
|
-
|
1593
1359
|
sig {
|
1594
1360
|
params(ares_trans_status: String, cryptogram: String, electronic_commerce_indicator: String, network_options: ::Stripe::SetupIntent::CreateParams::PaymentMethodOptions::Card::ThreeDSecure::NetworkOptions, requestor_challenge_indicator: String, transaction_id: String, version: String).void
|
1595
1361
|
}
|
@@ -1608,28 +1374,23 @@ module Stripe
|
|
1608
1374
|
returns(::Stripe::SetupIntent::CreateParams::PaymentMethodOptions::Card::MandateOptions)
|
1609
1375
|
}
|
1610
1376
|
attr_accessor :mandate_options
|
1611
|
-
|
1612
1377
|
# When specified, this parameter signals that a card has been collected
|
1613
1378
|
# as MOTO (Mail Order Telephone Order) and thus out of scope for SCA. This
|
1614
1379
|
# parameter can only be provided during confirmation.
|
1615
1380
|
sig { returns(T::Boolean) }
|
1616
1381
|
attr_accessor :moto
|
1617
|
-
|
1618
1382
|
# Selected network to process this SetupIntent on. Depends on the available networks of the card attached to the SetupIntent. Can be only set confirm-time.
|
1619
1383
|
sig { returns(String) }
|
1620
1384
|
attr_accessor :network
|
1621
|
-
|
1622
1385
|
# We strongly recommend that you rely on our SCA Engine to automatically prompt your customers for authentication based on risk level and [other requirements](https://stripe.com/docs/strong-customer-authentication). However, if you wish to request 3D Secure based on logic from your own fraud engine, provide this option. If not provided, this value defaults to `automatic`. Read our guide on [manually requesting 3D Secure](https://stripe.com/docs/payments/3d-secure/authentication-flow#manual-three-ds) for more information on how this configuration interacts with Radar and our SCA Engine.
|
1623
1386
|
sig { returns(String) }
|
1624
1387
|
attr_accessor :request_three_d_secure
|
1625
|
-
|
1626
1388
|
# If 3D Secure authentication was performed with a third-party provider,
|
1627
1389
|
# the authentication details to use for this setup.
|
1628
1390
|
sig {
|
1629
1391
|
returns(::Stripe::SetupIntent::CreateParams::PaymentMethodOptions::Card::ThreeDSecure)
|
1630
1392
|
}
|
1631
1393
|
attr_accessor :three_d_secure
|
1632
|
-
|
1633
1394
|
sig {
|
1634
1395
|
params(mandate_options: ::Stripe::SetupIntent::CreateParams::PaymentMethodOptions::Card::MandateOptions, moto: T::Boolean, network: String, request_three_d_secure: String, three_d_secure: ::Stripe::SetupIntent::CreateParams::PaymentMethodOptions::Card::ThreeDSecure).void
|
1635
1396
|
}
|
@@ -1648,7 +1409,6 @@ module Stripe
|
|
1648
1409
|
# [Deprecated] This is a legacy parameter that no longer has any function.
|
1649
1410
|
sig { returns(String) }
|
1650
1411
|
attr_accessor :persistent_token
|
1651
|
-
|
1652
1412
|
sig { params(persistent_token: String).void }
|
1653
1413
|
def initialize(persistent_token: nil); end
|
1654
1414
|
end
|
@@ -1656,15 +1416,12 @@ module Stripe
|
|
1656
1416
|
# The PayPal Billing Agreement ID (BAID). This is an ID generated by PayPal which represents the mandate between the merchant and the customer.
|
1657
1417
|
sig { returns(String) }
|
1658
1418
|
attr_accessor :billing_agreement_id
|
1659
|
-
|
1660
1419
|
# Attribute for param field currency
|
1661
1420
|
sig { returns(String) }
|
1662
1421
|
attr_accessor :currency
|
1663
|
-
|
1664
1422
|
# The Stripe connected account IDs of the sellers on the platform for this transaction (optional). Only allowed when [separate charges and transfers](https://stripe.com/docs/connect/separate-charges-and-transfers) are used.
|
1665
1423
|
sig { returns(T::Array[String]) }
|
1666
1424
|
attr_accessor :subsellers
|
1667
|
-
|
1668
1425
|
sig {
|
1669
1426
|
params(billing_agreement_id: String, currency: String, subsellers: T::Array[String]).void
|
1670
1427
|
}
|
@@ -1675,31 +1432,24 @@ module Stripe
|
|
1675
1432
|
# Amount that will be collected. It is required when `amount_type` is `fixed`.
|
1676
1433
|
sig { returns(Integer) }
|
1677
1434
|
attr_accessor :amount
|
1678
|
-
|
1679
1435
|
# The type of amount that will be collected. The amount charged must be exact or up to the value of `amount` param for `fixed` or `maximum` type respectively.
|
1680
1436
|
sig { returns(String) }
|
1681
1437
|
attr_accessor :amount_type
|
1682
|
-
|
1683
1438
|
# Date, in YYYY-MM-DD format, after which payments will not be collected. Defaults to no end date.
|
1684
1439
|
sig { returns(String) }
|
1685
1440
|
attr_accessor :end_date
|
1686
|
-
|
1687
1441
|
# The periodicity at which payments will be collected.
|
1688
1442
|
sig { returns(String) }
|
1689
1443
|
attr_accessor :payment_schedule
|
1690
|
-
|
1691
1444
|
# The number of payments that will be made during a payment period. Defaults to 1 except for when `payment_schedule` is `adhoc`. In that case, it defaults to no limit.
|
1692
1445
|
sig { returns(Integer) }
|
1693
1446
|
attr_accessor :payments_per_period
|
1694
|
-
|
1695
1447
|
# The purpose for which payments are made. Defaults to retail.
|
1696
1448
|
sig { returns(String) }
|
1697
1449
|
attr_accessor :purpose
|
1698
|
-
|
1699
1450
|
# Date, in YYYY-MM-DD format, from which payments will be collected. Defaults to confirmation time.
|
1700
1451
|
sig { returns(String) }
|
1701
1452
|
attr_accessor :start_date
|
1702
|
-
|
1703
1453
|
sig {
|
1704
1454
|
params(amount: Integer, amount_type: String, end_date: String, payment_schedule: String, payments_per_period: Integer, purpose: String, start_date: String).void
|
1705
1455
|
}
|
@@ -1718,7 +1468,6 @@ module Stripe
|
|
1718
1468
|
returns(::Stripe::SetupIntent::CreateParams::PaymentMethodOptions::Payto::MandateOptions)
|
1719
1469
|
}
|
1720
1470
|
attr_accessor :mandate_options
|
1721
|
-
|
1722
1471
|
sig {
|
1723
1472
|
params(mandate_options: ::Stripe::SetupIntent::CreateParams::PaymentMethodOptions::Payto::MandateOptions).void
|
1724
1473
|
}
|
@@ -1729,7 +1478,6 @@ module Stripe
|
|
1729
1478
|
# Prefix used to generate the Mandate reference. Must be at most 12 characters long. Must consist of only uppercase letters, numbers, spaces, or the following special characters: '/', '_', '-', '&', '.'. Cannot begin with 'STRIPE'.
|
1730
1479
|
sig { returns(T.nilable(String)) }
|
1731
1480
|
attr_accessor :reference_prefix
|
1732
|
-
|
1733
1481
|
sig { params(reference_prefix: T.nilable(String)).void }
|
1734
1482
|
def initialize(reference_prefix: nil); end
|
1735
1483
|
end
|
@@ -1738,7 +1486,6 @@ module Stripe
|
|
1738
1486
|
returns(::Stripe::SetupIntent::CreateParams::PaymentMethodOptions::SepaDebit::MandateOptions)
|
1739
1487
|
}
|
1740
1488
|
attr_accessor :mandate_options
|
1741
|
-
|
1742
1489
|
sig {
|
1743
1490
|
params(mandate_options: ::Stripe::SetupIntent::CreateParams::PaymentMethodOptions::SepaDebit::MandateOptions).void
|
1744
1491
|
}
|
@@ -1750,11 +1497,9 @@ module Stripe
|
|
1750
1497
|
# The account subcategories to use to filter for selectable accounts. Valid subcategories are `checking` and `savings`.
|
1751
1498
|
sig { returns(T::Array[String]) }
|
1752
1499
|
attr_accessor :account_subcategories
|
1753
|
-
|
1754
1500
|
# ID of the institution to use to filter for selectable accounts.
|
1755
1501
|
sig { returns(String) }
|
1756
1502
|
attr_accessor :institution
|
1757
|
-
|
1758
1503
|
sig { params(account_subcategories: T::Array[String], institution: String).void }
|
1759
1504
|
def initialize(account_subcategories: nil, institution: nil); end
|
1760
1505
|
end
|
@@ -1762,7 +1507,6 @@ module Stripe
|
|
1762
1507
|
# Settings for configuring manual entry of account details.
|
1763
1508
|
sig { returns(String) }
|
1764
1509
|
attr_accessor :mode
|
1765
|
-
|
1766
1510
|
sig { params(mode: String).void }
|
1767
1511
|
def initialize(mode: nil); end
|
1768
1512
|
end
|
@@ -1771,25 +1515,20 @@ module Stripe
|
|
1771
1515
|
returns(::Stripe::SetupIntent::CreateParams::PaymentMethodOptions::UsBankAccount::FinancialConnections::Filters)
|
1772
1516
|
}
|
1773
1517
|
attr_accessor :filters
|
1774
|
-
|
1775
1518
|
# Customize manual entry behavior
|
1776
1519
|
sig {
|
1777
1520
|
returns(::Stripe::SetupIntent::CreateParams::PaymentMethodOptions::UsBankAccount::FinancialConnections::ManualEntry)
|
1778
1521
|
}
|
1779
1522
|
attr_accessor :manual_entry
|
1780
|
-
|
1781
1523
|
# The list of permissions to request. If this parameter is passed, the `payment_method` permission must be included. Valid permissions include: `balances`, `ownership`, `payment_method`, and `transactions`.
|
1782
1524
|
sig { returns(T::Array[String]) }
|
1783
1525
|
attr_accessor :permissions
|
1784
|
-
|
1785
1526
|
# List of data features that you would like to retrieve upon account creation.
|
1786
1527
|
sig { returns(T::Array[String]) }
|
1787
1528
|
attr_accessor :prefetch
|
1788
|
-
|
1789
1529
|
# 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.
|
1790
1530
|
sig { returns(String) }
|
1791
1531
|
attr_accessor :return_url
|
1792
|
-
|
1793
1532
|
sig {
|
1794
1533
|
params(filters: ::Stripe::SetupIntent::CreateParams::PaymentMethodOptions::UsBankAccount::FinancialConnections::Filters, manual_entry: ::Stripe::SetupIntent::CreateParams::PaymentMethodOptions::UsBankAccount::FinancialConnections::ManualEntry, permissions: T::Array[String], prefetch: T::Array[String], return_url: String).void
|
1795
1534
|
}
|
@@ -1805,7 +1544,6 @@ module Stripe
|
|
1805
1544
|
# The method used to collect offline mandate customer acceptance.
|
1806
1545
|
sig { returns(T.nilable(String)) }
|
1807
1546
|
attr_accessor :collection_method
|
1808
|
-
|
1809
1547
|
sig { params(collection_method: T.nilable(String)).void }
|
1810
1548
|
def initialize(collection_method: nil); end
|
1811
1549
|
end
|
@@ -1813,7 +1551,6 @@ module Stripe
|
|
1813
1551
|
# Triggers validations to run across the selected networks
|
1814
1552
|
sig { returns(T::Array[String]) }
|
1815
1553
|
attr_accessor :requested
|
1816
|
-
|
1817
1554
|
sig { params(requested: T::Array[String]).void }
|
1818
1555
|
def initialize(requested: nil); end
|
1819
1556
|
end
|
@@ -1822,23 +1559,19 @@ module Stripe
|
|
1822
1559
|
returns(::Stripe::SetupIntent::CreateParams::PaymentMethodOptions::UsBankAccount::FinancialConnections)
|
1823
1560
|
}
|
1824
1561
|
attr_accessor :financial_connections
|
1825
|
-
|
1826
1562
|
# Additional fields for Mandate creation
|
1827
1563
|
sig {
|
1828
1564
|
returns(::Stripe::SetupIntent::CreateParams::PaymentMethodOptions::UsBankAccount::MandateOptions)
|
1829
1565
|
}
|
1830
1566
|
attr_accessor :mandate_options
|
1831
|
-
|
1832
1567
|
# Additional fields for network related functions
|
1833
1568
|
sig {
|
1834
1569
|
returns(::Stripe::SetupIntent::CreateParams::PaymentMethodOptions::UsBankAccount::Networks)
|
1835
1570
|
}
|
1836
1571
|
attr_accessor :networks
|
1837
|
-
|
1838
1572
|
# Bank account verification method.
|
1839
1573
|
sig { returns(String) }
|
1840
1574
|
attr_accessor :verification_method
|
1841
|
-
|
1842
1575
|
sig {
|
1843
1576
|
params(financial_connections: ::Stripe::SetupIntent::CreateParams::PaymentMethodOptions::UsBankAccount::FinancialConnections, mandate_options: ::Stripe::SetupIntent::CreateParams::PaymentMethodOptions::UsBankAccount::MandateOptions, networks: ::Stripe::SetupIntent::CreateParams::PaymentMethodOptions::UsBankAccount::Networks, verification_method: String).void
|
1844
1577
|
}
|
@@ -1852,43 +1585,33 @@ module Stripe
|
|
1852
1585
|
# If this is a `acss_debit` SetupIntent, this sub-hash contains details about the ACSS Debit payment method options.
|
1853
1586
|
sig { returns(::Stripe::SetupIntent::CreateParams::PaymentMethodOptions::AcssDebit) }
|
1854
1587
|
attr_accessor :acss_debit
|
1855
|
-
|
1856
1588
|
# If this is a `amazon_pay` SetupIntent, this sub-hash contains details about the AmazonPay payment method options.
|
1857
1589
|
sig { returns(::Stripe::SetupIntent::CreateParams::PaymentMethodOptions::AmazonPay) }
|
1858
1590
|
attr_accessor :amazon_pay
|
1859
|
-
|
1860
1591
|
# If this is a `bacs_debit` SetupIntent, this sub-hash contains details about the Bacs Debit payment method options.
|
1861
1592
|
sig { returns(::Stripe::SetupIntent::CreateParams::PaymentMethodOptions::BacsDebit) }
|
1862
1593
|
attr_accessor :bacs_debit
|
1863
|
-
|
1864
1594
|
# Configuration for any card setup attempted on this SetupIntent.
|
1865
1595
|
sig { returns(::Stripe::SetupIntent::CreateParams::PaymentMethodOptions::Card) }
|
1866
1596
|
attr_accessor :card
|
1867
|
-
|
1868
1597
|
# If this is a `card_present` PaymentMethod, this sub-hash contains details about the card-present payment method options.
|
1869
1598
|
sig { returns(::Stripe::SetupIntent::CreateParams::PaymentMethodOptions::CardPresent) }
|
1870
1599
|
attr_accessor :card_present
|
1871
|
-
|
1872
1600
|
# If this is a `link` PaymentMethod, this sub-hash contains details about the Link payment method options.
|
1873
1601
|
sig { returns(::Stripe::SetupIntent::CreateParams::PaymentMethodOptions::Link) }
|
1874
1602
|
attr_accessor :link
|
1875
|
-
|
1876
1603
|
# If this is a `paypal` PaymentMethod, this sub-hash contains details about the PayPal payment method options.
|
1877
1604
|
sig { returns(::Stripe::SetupIntent::CreateParams::PaymentMethodOptions::Paypal) }
|
1878
1605
|
attr_accessor :paypal
|
1879
|
-
|
1880
1606
|
# If this is a `payto` SetupIntent, this sub-hash contains details about the PayTo payment method options.
|
1881
1607
|
sig { returns(::Stripe::SetupIntent::CreateParams::PaymentMethodOptions::Payto) }
|
1882
1608
|
attr_accessor :payto
|
1883
|
-
|
1884
1609
|
# If this is a `sepa_debit` SetupIntent, this sub-hash contains details about the SEPA Debit payment method options.
|
1885
1610
|
sig { returns(::Stripe::SetupIntent::CreateParams::PaymentMethodOptions::SepaDebit) }
|
1886
1611
|
attr_accessor :sepa_debit
|
1887
|
-
|
1888
1612
|
# If this is a `us_bank_account` SetupIntent, this sub-hash contains details about the US bank account payment method options.
|
1889
1613
|
sig { returns(::Stripe::SetupIntent::CreateParams::PaymentMethodOptions::UsBankAccount) }
|
1890
1614
|
attr_accessor :us_bank_account
|
1891
|
-
|
1892
1615
|
sig {
|
1893
1616
|
params(acss_debit: ::Stripe::SetupIntent::CreateParams::PaymentMethodOptions::AcssDebit, amazon_pay: ::Stripe::SetupIntent::CreateParams::PaymentMethodOptions::AmazonPay, bacs_debit: ::Stripe::SetupIntent::CreateParams::PaymentMethodOptions::BacsDebit, card: ::Stripe::SetupIntent::CreateParams::PaymentMethodOptions::Card, card_present: ::Stripe::SetupIntent::CreateParams::PaymentMethodOptions::CardPresent, link: ::Stripe::SetupIntent::CreateParams::PaymentMethodOptions::Link, paypal: ::Stripe::SetupIntent::CreateParams::PaymentMethodOptions::Paypal, payto: ::Stripe::SetupIntent::CreateParams::PaymentMethodOptions::Payto, sepa_debit: ::Stripe::SetupIntent::CreateParams::PaymentMethodOptions::SepaDebit, us_bank_account: ::Stripe::SetupIntent::CreateParams::PaymentMethodOptions::UsBankAccount).void
|
1894
1617
|
}
|
@@ -1909,11 +1632,9 @@ module Stripe
|
|
1909
1632
|
# Amount the customer is granting permission to collect later. A positive integer representing how much to charge in the [smallest currency unit](https://stripe.com/docs/currencies#zero-decimal) (e.g., 100 cents to charge $1.00 or 100 to charge ¥100, a zero-decimal currency). The minimum amount is $0.50 US or [equivalent in charge currency](https://stripe.com/docs/currencies#minimum-and-maximum-charge-amounts). The amount value supports up to eight digits (e.g., a value of 99999999 for a USD charge of $999,999.99).
|
1910
1633
|
sig { returns(Integer) }
|
1911
1634
|
attr_accessor :amount
|
1912
|
-
|
1913
1635
|
# 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).
|
1914
1636
|
sig { returns(String) }
|
1915
1637
|
attr_accessor :currency
|
1916
|
-
|
1917
1638
|
sig { params(amount: Integer, currency: String).void }
|
1918
1639
|
def initialize(amount: nil, currency: nil); end
|
1919
1640
|
end
|
@@ -1922,90 +1643,70 @@ module Stripe
|
|
1922
1643
|
# It can only be used for this Stripe Account’s own money movement flows like InboundTransfer and OutboundTransfers. It cannot be set to true when setting up a PaymentMethod for a Customer, and defaults to false when attaching a PaymentMethod to a Customer.
|
1923
1644
|
sig { returns(T::Boolean) }
|
1924
1645
|
attr_accessor :attach_to_self
|
1925
|
-
|
1926
1646
|
# When you enable this parameter, this SetupIntent accepts payment methods that you enable in the Dashboard and that are compatible with its other parameters.
|
1927
1647
|
sig { returns(::Stripe::SetupIntent::CreateParams::AutomaticPaymentMethods) }
|
1928
1648
|
attr_accessor :automatic_payment_methods
|
1929
|
-
|
1930
1649
|
# Set to `true` to attempt to confirm this SetupIntent immediately. This parameter defaults to `false`. If a card is the attached payment method, you can provide a `return_url` in case further authentication is necessary.
|
1931
1650
|
sig { returns(T::Boolean) }
|
1932
1651
|
attr_accessor :confirm
|
1933
|
-
|
1934
1652
|
# ID of the ConfirmationToken used to confirm this SetupIntent.
|
1935
1653
|
#
|
1936
1654
|
# If the provided ConfirmationToken contains properties that are also being provided in this request, such as `payment_method`, then the values in this request will take precedence.
|
1937
1655
|
sig { returns(String) }
|
1938
1656
|
attr_accessor :confirmation_token
|
1939
|
-
|
1940
1657
|
# ID of the Customer this SetupIntent belongs to, if one exists.
|
1941
1658
|
#
|
1942
1659
|
# If present, the SetupIntent's payment method will be attached to the Customer on successful setup. Payment methods attached to other Customers cannot be used with this SetupIntent.
|
1943
1660
|
sig { returns(String) }
|
1944
1661
|
attr_accessor :customer
|
1945
|
-
|
1946
1662
|
# An arbitrary string attached to the object. Often useful for displaying to users.
|
1947
1663
|
sig { returns(String) }
|
1948
1664
|
attr_accessor :description
|
1949
|
-
|
1950
1665
|
# Specifies which fields in the response should be expanded.
|
1951
1666
|
sig { returns(T::Array[String]) }
|
1952
1667
|
attr_accessor :expand
|
1953
|
-
|
1954
1668
|
# Indicates the directions of money movement for which this payment method is intended to be used.
|
1955
1669
|
#
|
1956
1670
|
# Include `inbound` if you intend to use the payment method as the origin to pull funds from. Include `outbound` if you intend to use the payment method as the destination to send funds to. You can include both if you intend to use the payment method for both purposes.
|
1957
1671
|
sig { returns(T::Array[String]) }
|
1958
1672
|
attr_accessor :flow_directions
|
1959
|
-
|
1960
1673
|
# This hash contains details about the mandate to create. This parameter can only be used with [`confirm=true`](https://stripe.com/docs/api/setup_intents/create#create_setup_intent-confirm).
|
1961
1674
|
sig { returns(T.nilable(::Stripe::SetupIntent::CreateParams::MandateData)) }
|
1962
1675
|
attr_accessor :mandate_data
|
1963
|
-
|
1964
1676
|
# Set of [key-value pairs](https://stripe.com/docs/api/metadata) that you can attach to an object. This can be useful for storing additional information about the object in a structured format. Individual keys can be unset by posting an empty value to them. All keys can be unset by posting an empty value to `metadata`.
|
1965
1677
|
sig { returns(T::Hash[String, String]) }
|
1966
1678
|
attr_accessor :metadata
|
1967
|
-
|
1968
1679
|
# The Stripe account ID created for this SetupIntent.
|
1969
1680
|
sig { returns(String) }
|
1970
1681
|
attr_accessor :on_behalf_of
|
1971
|
-
|
1972
1682
|
# ID of the payment method (a PaymentMethod, Card, or saved Source object) to attach to this SetupIntent.
|
1973
1683
|
sig { returns(String) }
|
1974
1684
|
attr_accessor :payment_method
|
1975
|
-
|
1976
1685
|
# The ID of the [payment method configuration](https://stripe.com/docs/api/payment_method_configurations) to use with this SetupIntent.
|
1977
1686
|
sig { returns(String) }
|
1978
1687
|
attr_accessor :payment_method_configuration
|
1979
|
-
|
1980
1688
|
# When included, this hash creates a PaymentMethod that is set as the [`payment_method`](https://stripe.com/docs/api/setup_intents/object#setup_intent_object-payment_method)
|
1981
1689
|
# value in the SetupIntent.
|
1982
1690
|
sig { returns(::Stripe::SetupIntent::CreateParams::PaymentMethodData) }
|
1983
1691
|
attr_accessor :payment_method_data
|
1984
|
-
|
1985
1692
|
# Payment method-specific configuration for this SetupIntent.
|
1986
1693
|
sig { returns(::Stripe::SetupIntent::CreateParams::PaymentMethodOptions) }
|
1987
1694
|
attr_accessor :payment_method_options
|
1988
|
-
|
1989
1695
|
# The list of payment method types (for example, card) that this SetupIntent can use. If you don't provide this, Stripe will dynamically show relevant payment methods from your [payment method settings](https://dashboard.stripe.com/settings/payment_methods).
|
1990
1696
|
sig { returns(T::Array[String]) }
|
1991
1697
|
attr_accessor :payment_method_types
|
1992
|
-
|
1993
1698
|
# The URL to redirect your customer back to after they authenticate or cancel their payment on the payment method's app or site. To redirect to a mobile application, you can alternatively supply an application URI scheme. This parameter can only be used with [`confirm=true`](https://stripe.com/docs/api/setup_intents/create#create_setup_intent-confirm).
|
1994
1699
|
sig { returns(String) }
|
1995
1700
|
attr_accessor :return_url
|
1996
|
-
|
1997
1701
|
# If you populate this hash, this SetupIntent generates a `single_use` mandate after successful completion.
|
1998
1702
|
sig { returns(::Stripe::SetupIntent::CreateParams::SingleUse) }
|
1999
1703
|
attr_accessor :single_use
|
2000
|
-
|
2001
1704
|
# Indicates how the payment method is intended to be used in the future. If not provided, this value defaults to `off_session`.
|
2002
1705
|
sig { returns(String) }
|
2003
1706
|
attr_accessor :usage
|
2004
|
-
|
2005
1707
|
# Set to `true` when confirming server-side and using Stripe.js, iOS, or Android client-side SDKs to handle the next actions.
|
2006
1708
|
sig { returns(T::Boolean) }
|
2007
1709
|
attr_accessor :use_stripe_sdk
|
2008
|
-
|
2009
1710
|
sig {
|
2010
1711
|
params(attach_to_self: T::Boolean, automatic_payment_methods: ::Stripe::SetupIntent::CreateParams::AutomaticPaymentMethods, confirm: T::Boolean, confirmation_token: String, customer: String, description: String, expand: T::Array[String], flow_directions: T::Array[String], mandate_data: T.nilable(::Stripe::SetupIntent::CreateParams::MandateData), metadata: T::Hash[String, String], on_behalf_of: String, payment_method: String, payment_method_configuration: String, payment_method_data: ::Stripe::SetupIntent::CreateParams::PaymentMethodData, payment_method_options: ::Stripe::SetupIntent::CreateParams::PaymentMethodOptions, payment_method_types: T::Array[String], return_url: String, single_use: ::Stripe::SetupIntent::CreateParams::SingleUse, usage: String, use_stripe_sdk: T::Boolean).void
|
2011
1712
|
}
|
@@ -2036,11 +1737,9 @@ module Stripe
|
|
2036
1737
|
# The client secret of the SetupIntent. We require this string if you use a publishable key to retrieve the SetupIntent.
|
2037
1738
|
sig { returns(String) }
|
2038
1739
|
attr_accessor :client_secret
|
2039
|
-
|
2040
1740
|
# Specifies which fields in the response should be expanded.
|
2041
1741
|
sig { returns(T::Array[String]) }
|
2042
1742
|
attr_accessor :expand
|
2043
|
-
|
2044
1743
|
sig { params(client_secret: String, expand: T::Array[String]).void }
|
2045
1744
|
def initialize(client_secret: nil, expand: nil); end
|
2046
1745
|
end
|
@@ -2050,15 +1749,12 @@ module Stripe
|
|
2050
1749
|
# Customer's bank account number.
|
2051
1750
|
sig { returns(String) }
|
2052
1751
|
attr_accessor :account_number
|
2053
|
-
|
2054
1752
|
# Institution number of the customer's bank.
|
2055
1753
|
sig { returns(String) }
|
2056
1754
|
attr_accessor :institution_number
|
2057
|
-
|
2058
1755
|
# Transit number of the customer's bank.
|
2059
1756
|
sig { returns(String) }
|
2060
1757
|
attr_accessor :transit_number
|
2061
|
-
|
2062
1758
|
sig {
|
2063
1759
|
params(account_number: String, institution_number: String, transit_number: String).void
|
2064
1760
|
}
|
@@ -2083,11 +1779,9 @@ module Stripe
|
|
2083
1779
|
# The account number for the bank account.
|
2084
1780
|
sig { returns(String) }
|
2085
1781
|
attr_accessor :account_number
|
2086
|
-
|
2087
1782
|
# Bank-State-Branch number of the bank account.
|
2088
1783
|
sig { returns(String) }
|
2089
1784
|
attr_accessor :bsb_number
|
2090
|
-
|
2091
1785
|
sig { params(account_number: String, bsb_number: String).void }
|
2092
1786
|
def initialize(account_number: nil, bsb_number: nil); end
|
2093
1787
|
end
|
@@ -2095,11 +1789,9 @@ module Stripe
|
|
2095
1789
|
# Account number of the bank account that the funds will be debited from.
|
2096
1790
|
sig { returns(String) }
|
2097
1791
|
attr_accessor :account_number
|
2098
|
-
|
2099
1792
|
# Sort code of the bank account. (e.g., `10-20-30`)
|
2100
1793
|
sig { returns(String) }
|
2101
1794
|
attr_accessor :sort_code
|
2102
|
-
|
2103
1795
|
sig { params(account_number: String, sort_code: String).void }
|
2104
1796
|
def initialize(account_number: nil, sort_code: nil); end
|
2105
1797
|
end
|
@@ -2111,27 +1803,21 @@ module Stripe
|
|
2111
1803
|
# City, district, suburb, town, or village.
|
2112
1804
|
sig { returns(String) }
|
2113
1805
|
attr_accessor :city
|
2114
|
-
|
2115
1806
|
# Two-letter country code ([ISO 3166-1 alpha-2](https://en.wikipedia.org/wiki/ISO_3166-1_alpha-2)).
|
2116
1807
|
sig { returns(String) }
|
2117
1808
|
attr_accessor :country
|
2118
|
-
|
2119
1809
|
# Address line 1 (e.g., street, PO Box, or company name).
|
2120
1810
|
sig { returns(String) }
|
2121
1811
|
attr_accessor :line1
|
2122
|
-
|
2123
1812
|
# Address line 2 (e.g., apartment, suite, unit, or building).
|
2124
1813
|
sig { returns(String) }
|
2125
1814
|
attr_accessor :line2
|
2126
|
-
|
2127
1815
|
# ZIP or postal code.
|
2128
1816
|
sig { returns(String) }
|
2129
1817
|
attr_accessor :postal_code
|
2130
|
-
|
2131
1818
|
# State, county, province, or region.
|
2132
1819
|
sig { returns(String) }
|
2133
1820
|
attr_accessor :state
|
2134
|
-
|
2135
1821
|
sig {
|
2136
1822
|
params(city: String, country: String, line1: String, line2: String, postal_code: String, state: String).void
|
2137
1823
|
}
|
@@ -2149,19 +1835,15 @@ module Stripe
|
|
2149
1835
|
returns(T.nilable(::Stripe::SetupIntent::UpdateParams::PaymentMethodData::BillingDetails::Address))
|
2150
1836
|
}
|
2151
1837
|
attr_accessor :address
|
2152
|
-
|
2153
1838
|
# Email address.
|
2154
1839
|
sig { returns(T.nilable(String)) }
|
2155
1840
|
attr_accessor :email
|
2156
|
-
|
2157
1841
|
# Full name.
|
2158
1842
|
sig { returns(T.nilable(String)) }
|
2159
1843
|
attr_accessor :name
|
2160
|
-
|
2161
1844
|
# Billing phone number (including extension).
|
2162
1845
|
sig { returns(T.nilable(String)) }
|
2163
1846
|
attr_accessor :phone
|
2164
|
-
|
2165
1847
|
sig {
|
2166
1848
|
params(address: T.nilable(::Stripe::SetupIntent::UpdateParams::PaymentMethodData::BillingDetails::Address), email: T.nilable(String), name: T.nilable(String), phone: T.nilable(String)).void
|
2167
1849
|
}
|
@@ -2174,7 +1856,6 @@ module Stripe
|
|
2174
1856
|
# The tax ID of the customer (CPF for individual consumers or CNPJ for businesses consumers)
|
2175
1857
|
sig { returns(String) }
|
2176
1858
|
attr_accessor :tax_id
|
2177
|
-
|
2178
1859
|
sig { params(tax_id: String).void }
|
2179
1860
|
def initialize(tax_id: nil); end
|
2180
1861
|
end
|
@@ -2188,7 +1869,6 @@ module Stripe
|
|
2188
1869
|
# The customer's bank.
|
2189
1870
|
sig { returns(String) }
|
2190
1871
|
attr_accessor :bank
|
2191
|
-
|
2192
1872
|
sig { params(bank: String).void }
|
2193
1873
|
def initialize(bank: nil); end
|
2194
1874
|
end
|
@@ -2196,11 +1876,9 @@ module Stripe
|
|
2196
1876
|
# Account holder type for FPX transaction
|
2197
1877
|
sig { returns(String) }
|
2198
1878
|
attr_accessor :account_holder_type
|
2199
|
-
|
2200
1879
|
# The customer's bank.
|
2201
1880
|
sig { returns(String) }
|
2202
1881
|
attr_accessor :bank
|
2203
|
-
|
2204
1882
|
sig { params(account_holder_type: String, bank: String).void }
|
2205
1883
|
def initialize(account_holder_type: nil, bank: nil); end
|
2206
1884
|
end
|
@@ -2217,7 +1895,6 @@ module Stripe
|
|
2217
1895
|
# Bank where the account is held.
|
2218
1896
|
sig { returns(String) }
|
2219
1897
|
attr_accessor :bank
|
2220
|
-
|
2221
1898
|
sig { params(bank: String).void }
|
2222
1899
|
def initialize(bank: nil); end
|
2223
1900
|
end
|
@@ -2225,7 +1902,6 @@ module Stripe
|
|
2225
1902
|
# The customer's bank. Only use this parameter for existing customers. Don't use it for new customers.
|
2226
1903
|
sig { returns(String) }
|
2227
1904
|
attr_accessor :bank
|
2228
|
-
|
2229
1905
|
sig { params(bank: String).void }
|
2230
1906
|
def initialize(bank: nil); end
|
2231
1907
|
end
|
@@ -2240,22 +1916,18 @@ module Stripe
|
|
2240
1916
|
# The day of birth, between 1 and 31.
|
2241
1917
|
sig { returns(Integer) }
|
2242
1918
|
attr_accessor :day
|
2243
|
-
|
2244
1919
|
# The month of birth, between 1 and 12.
|
2245
1920
|
sig { returns(Integer) }
|
2246
1921
|
attr_accessor :month
|
2247
|
-
|
2248
1922
|
# The four-digit year of birth.
|
2249
1923
|
sig { returns(Integer) }
|
2250
1924
|
attr_accessor :year
|
2251
|
-
|
2252
1925
|
sig { params(day: Integer, month: Integer, year: Integer).void }
|
2253
1926
|
def initialize(day: nil, month: nil, year: nil); end
|
2254
1927
|
end
|
2255
1928
|
# Customer's date of birth
|
2256
1929
|
sig { returns(::Stripe::SetupIntent::UpdateParams::PaymentMethodData::Klarna::Dob) }
|
2257
1930
|
attr_accessor :dob
|
2258
|
-
|
2259
1931
|
sig {
|
2260
1932
|
params(dob: ::Stripe::SetupIntent::UpdateParams::PaymentMethodData::Klarna::Dob).void
|
2261
1933
|
}
|
@@ -2283,7 +1955,6 @@ module Stripe
|
|
2283
1955
|
# Whether to use Naver Pay points or a card to fund this transaction. If not provided, this defaults to `card`.
|
2284
1956
|
sig { returns(String) }
|
2285
1957
|
attr_accessor :funding
|
2286
|
-
|
2287
1958
|
sig { params(funding: String).void }
|
2288
1959
|
def initialize(funding: nil); end
|
2289
1960
|
end
|
@@ -2294,9 +1965,11 @@ module Stripe
|
|
2294
1965
|
# The customer's bank.
|
2295
1966
|
sig { returns(String) }
|
2296
1967
|
attr_accessor :bank
|
2297
|
-
|
2298
1968
|
sig { params(bank: String).void }
|
2299
1969
|
def initialize(bank: nil); end
|
1970
|
+
end
|
1971
|
+
class PayByBank < Stripe::RequestParams
|
1972
|
+
|
2300
1973
|
end
|
2301
1974
|
class Payco < Stripe::RequestParams
|
2302
1975
|
|
@@ -2311,15 +1984,12 @@ module Stripe
|
|
2311
1984
|
# The account number for the bank account.
|
2312
1985
|
sig { returns(String) }
|
2313
1986
|
attr_accessor :account_number
|
2314
|
-
|
2315
1987
|
# Bank-State-Branch number of the bank account.
|
2316
1988
|
sig { returns(String) }
|
2317
1989
|
attr_accessor :bsb_number
|
2318
|
-
|
2319
1990
|
# The PayID alias for the bank account.
|
2320
1991
|
sig { returns(String) }
|
2321
1992
|
attr_accessor :pay_id
|
2322
|
-
|
2323
1993
|
sig { params(account_number: String, bsb_number: String, pay_id: String).void }
|
2324
1994
|
def initialize(account_number: nil, bsb_number: nil, pay_id: nil); end
|
2325
1995
|
end
|
@@ -2336,7 +2006,6 @@ module Stripe
|
|
2336
2006
|
# A [Radar Session](https://stripe.com/docs/radar/radar-session) is a snapshot of the browser metadata and device details that help Radar make more accurate predictions on your payments.
|
2337
2007
|
sig { returns(String) }
|
2338
2008
|
attr_accessor :session
|
2339
|
-
|
2340
2009
|
sig { params(session: String).void }
|
2341
2010
|
def initialize(session: nil); end
|
2342
2011
|
end
|
@@ -2345,22 +2014,18 @@ module Stripe
|
|
2345
2014
|
# The day of birth, between 1 and 31.
|
2346
2015
|
sig { returns(Integer) }
|
2347
2016
|
attr_accessor :day
|
2348
|
-
|
2349
2017
|
# The month of birth, between 1 and 12.
|
2350
2018
|
sig { returns(Integer) }
|
2351
2019
|
attr_accessor :month
|
2352
|
-
|
2353
2020
|
# The four-digit year of birth.
|
2354
2021
|
sig { returns(Integer) }
|
2355
2022
|
attr_accessor :year
|
2356
|
-
|
2357
2023
|
sig { params(day: Integer, month: Integer, year: Integer).void }
|
2358
2024
|
def initialize(day: nil, month: nil, year: nil); end
|
2359
2025
|
end
|
2360
2026
|
# Customer's date of birth
|
2361
2027
|
sig { returns(::Stripe::SetupIntent::UpdateParams::PaymentMethodData::Rechnung::Dob) }
|
2362
2028
|
attr_accessor :dob
|
2363
|
-
|
2364
2029
|
sig {
|
2365
2030
|
params(dob: ::Stripe::SetupIntent::UpdateParams::PaymentMethodData::Rechnung::Dob).void
|
2366
2031
|
}
|
@@ -2376,7 +2041,6 @@ module Stripe
|
|
2376
2041
|
# IBAN of the bank account.
|
2377
2042
|
sig { returns(String) }
|
2378
2043
|
attr_accessor :iban
|
2379
|
-
|
2380
2044
|
sig { params(iban: String).void }
|
2381
2045
|
def initialize(iban: nil); end
|
2382
2046
|
end
|
@@ -2387,7 +2051,6 @@ module Stripe
|
|
2387
2051
|
# Two-letter ISO code representing the country the bank account is located in.
|
2388
2052
|
sig { returns(String) }
|
2389
2053
|
attr_accessor :country
|
2390
|
-
|
2391
2054
|
sig { params(country: String).void }
|
2392
2055
|
def initialize(country: nil); end
|
2393
2056
|
end
|
@@ -2401,23 +2064,18 @@ module Stripe
|
|
2401
2064
|
# Account holder type: individual or company.
|
2402
2065
|
sig { returns(String) }
|
2403
2066
|
attr_accessor :account_holder_type
|
2404
|
-
|
2405
2067
|
# Account number of the bank account.
|
2406
2068
|
sig { returns(String) }
|
2407
2069
|
attr_accessor :account_number
|
2408
|
-
|
2409
2070
|
# Account type: checkings or savings. Defaults to checking if omitted.
|
2410
2071
|
sig { returns(String) }
|
2411
2072
|
attr_accessor :account_type
|
2412
|
-
|
2413
2073
|
# The ID of a Financial Connections Account to use as a payment method.
|
2414
2074
|
sig { returns(String) }
|
2415
2075
|
attr_accessor :financial_connections_account
|
2416
|
-
|
2417
2076
|
# Routing number of the bank account.
|
2418
2077
|
sig { returns(String) }
|
2419
2078
|
attr_accessor :routing_number
|
2420
|
-
|
2421
2079
|
sig {
|
2422
2080
|
params(account_holder_type: String, account_number: String, account_type: String, financial_connections_account: String, routing_number: String).void
|
2423
2081
|
}
|
@@ -2438,225 +2096,173 @@ module Stripe
|
|
2438
2096
|
# If this is an `acss_debit` PaymentMethod, this hash contains details about the ACSS Debit payment method.
|
2439
2097
|
sig { returns(::Stripe::SetupIntent::UpdateParams::PaymentMethodData::AcssDebit) }
|
2440
2098
|
attr_accessor :acss_debit
|
2441
|
-
|
2442
2099
|
# If this is an `affirm` PaymentMethod, this hash contains details about the Affirm payment method.
|
2443
2100
|
sig { returns(::Stripe::SetupIntent::UpdateParams::PaymentMethodData::Affirm) }
|
2444
2101
|
attr_accessor :affirm
|
2445
|
-
|
2446
2102
|
# If this is an `AfterpayClearpay` PaymentMethod, this hash contains details about the AfterpayClearpay payment method.
|
2447
2103
|
sig { returns(::Stripe::SetupIntent::UpdateParams::PaymentMethodData::AfterpayClearpay) }
|
2448
2104
|
attr_accessor :afterpay_clearpay
|
2449
|
-
|
2450
2105
|
# If this is an `Alipay` PaymentMethod, this hash contains details about the Alipay payment method.
|
2451
2106
|
sig { returns(::Stripe::SetupIntent::UpdateParams::PaymentMethodData::Alipay) }
|
2452
2107
|
attr_accessor :alipay
|
2453
|
-
|
2454
2108
|
# This field indicates whether this payment method can be shown again to its customer in a checkout flow. Stripe products such as Checkout and Elements use this field to determine whether a payment method can be shown as a saved payment method in a checkout flow. The field defaults to `unspecified`.
|
2455
2109
|
sig { returns(String) }
|
2456
2110
|
attr_accessor :allow_redisplay
|
2457
|
-
|
2458
2111
|
# If this is a Alma PaymentMethod, this hash contains details about the Alma payment method.
|
2459
2112
|
sig { returns(::Stripe::SetupIntent::UpdateParams::PaymentMethodData::Alma) }
|
2460
2113
|
attr_accessor :alma
|
2461
|
-
|
2462
2114
|
# If this is a AmazonPay PaymentMethod, this hash contains details about the AmazonPay payment method.
|
2463
2115
|
sig { returns(::Stripe::SetupIntent::UpdateParams::PaymentMethodData::AmazonPay) }
|
2464
2116
|
attr_accessor :amazon_pay
|
2465
|
-
|
2466
2117
|
# If this is an `au_becs_debit` PaymentMethod, this hash contains details about the bank account.
|
2467
2118
|
sig { returns(::Stripe::SetupIntent::UpdateParams::PaymentMethodData::AuBecsDebit) }
|
2468
2119
|
attr_accessor :au_becs_debit
|
2469
|
-
|
2470
2120
|
# If this is a `bacs_debit` PaymentMethod, this hash contains details about the Bacs Direct Debit bank account.
|
2471
2121
|
sig { returns(::Stripe::SetupIntent::UpdateParams::PaymentMethodData::BacsDebit) }
|
2472
2122
|
attr_accessor :bacs_debit
|
2473
|
-
|
2474
2123
|
# If this is a `bancontact` PaymentMethod, this hash contains details about the Bancontact payment method.
|
2475
2124
|
sig { returns(::Stripe::SetupIntent::UpdateParams::PaymentMethodData::Bancontact) }
|
2476
2125
|
attr_accessor :bancontact
|
2477
|
-
|
2478
2126
|
# Billing information associated with the PaymentMethod that may be used or required by particular types of payment methods.
|
2479
2127
|
sig { returns(::Stripe::SetupIntent::UpdateParams::PaymentMethodData::BillingDetails) }
|
2480
2128
|
attr_accessor :billing_details
|
2481
|
-
|
2482
2129
|
# If this is a `blik` PaymentMethod, this hash contains details about the BLIK payment method.
|
2483
2130
|
sig { returns(::Stripe::SetupIntent::UpdateParams::PaymentMethodData::Blik) }
|
2484
2131
|
attr_accessor :blik
|
2485
|
-
|
2486
2132
|
# If this is a `boleto` PaymentMethod, this hash contains details about the Boleto payment method.
|
2487
2133
|
sig { returns(::Stripe::SetupIntent::UpdateParams::PaymentMethodData::Boleto) }
|
2488
2134
|
attr_accessor :boleto
|
2489
|
-
|
2490
2135
|
# If this is a `cashapp` PaymentMethod, this hash contains details about the Cash App Pay payment method.
|
2491
2136
|
sig { returns(::Stripe::SetupIntent::UpdateParams::PaymentMethodData::Cashapp) }
|
2492
2137
|
attr_accessor :cashapp
|
2493
|
-
|
2494
2138
|
# If this is a `customer_balance` PaymentMethod, this hash contains details about the CustomerBalance payment method.
|
2495
2139
|
sig { returns(::Stripe::SetupIntent::UpdateParams::PaymentMethodData::CustomerBalance) }
|
2496
2140
|
attr_accessor :customer_balance
|
2497
|
-
|
2498
2141
|
# If this is an `eps` PaymentMethod, this hash contains details about the EPS payment method.
|
2499
2142
|
sig { returns(::Stripe::SetupIntent::UpdateParams::PaymentMethodData::Eps) }
|
2500
2143
|
attr_accessor :eps
|
2501
|
-
|
2502
2144
|
# If this is an `fpx` PaymentMethod, this hash contains details about the FPX payment method.
|
2503
2145
|
sig { returns(::Stripe::SetupIntent::UpdateParams::PaymentMethodData::Fpx) }
|
2504
2146
|
attr_accessor :fpx
|
2505
|
-
|
2506
2147
|
# If this is a `giropay` PaymentMethod, this hash contains details about the Giropay payment method.
|
2507
2148
|
sig { returns(::Stripe::SetupIntent::UpdateParams::PaymentMethodData::Giropay) }
|
2508
2149
|
attr_accessor :giropay
|
2509
|
-
|
2510
2150
|
# If this is a Gopay PaymentMethod, this hash contains details about the Gopay payment method.
|
2511
2151
|
sig { returns(::Stripe::SetupIntent::UpdateParams::PaymentMethodData::Gopay) }
|
2512
2152
|
attr_accessor :gopay
|
2513
|
-
|
2514
2153
|
# If this is a `grabpay` PaymentMethod, this hash contains details about the GrabPay payment method.
|
2515
2154
|
sig { returns(::Stripe::SetupIntent::UpdateParams::PaymentMethodData::Grabpay) }
|
2516
2155
|
attr_accessor :grabpay
|
2517
|
-
|
2518
2156
|
# If this is an `IdBankTransfer` PaymentMethod, this hash contains details about the IdBankTransfer payment method.
|
2519
2157
|
sig { returns(::Stripe::SetupIntent::UpdateParams::PaymentMethodData::IdBankTransfer) }
|
2520
2158
|
attr_accessor :id_bank_transfer
|
2521
|
-
|
2522
2159
|
# If this is an `ideal` PaymentMethod, this hash contains details about the iDEAL payment method.
|
2523
2160
|
sig { returns(::Stripe::SetupIntent::UpdateParams::PaymentMethodData::Ideal) }
|
2524
2161
|
attr_accessor :ideal
|
2525
|
-
|
2526
2162
|
# If this is an `interac_present` PaymentMethod, this hash contains details about the Interac Present payment method.
|
2527
2163
|
sig { returns(::Stripe::SetupIntent::UpdateParams::PaymentMethodData::InteracPresent) }
|
2528
2164
|
attr_accessor :interac_present
|
2529
|
-
|
2530
2165
|
# If this is a `kakao_pay` PaymentMethod, this hash contains details about the Kakao Pay payment method.
|
2531
2166
|
sig { returns(::Stripe::SetupIntent::UpdateParams::PaymentMethodData::KakaoPay) }
|
2532
2167
|
attr_accessor :kakao_pay
|
2533
|
-
|
2534
2168
|
# If this is a `klarna` PaymentMethod, this hash contains details about the Klarna payment method.
|
2535
2169
|
sig { returns(::Stripe::SetupIntent::UpdateParams::PaymentMethodData::Klarna) }
|
2536
2170
|
attr_accessor :klarna
|
2537
|
-
|
2538
2171
|
# If this is a `konbini` PaymentMethod, this hash contains details about the Konbini payment method.
|
2539
2172
|
sig { returns(::Stripe::SetupIntent::UpdateParams::PaymentMethodData::Konbini) }
|
2540
2173
|
attr_accessor :konbini
|
2541
|
-
|
2542
2174
|
# If this is a `kr_card` PaymentMethod, this hash contains details about the Korean Card payment method.
|
2543
2175
|
sig { returns(::Stripe::SetupIntent::UpdateParams::PaymentMethodData::KrCard) }
|
2544
2176
|
attr_accessor :kr_card
|
2545
|
-
|
2546
2177
|
# If this is an `Link` PaymentMethod, this hash contains details about the Link payment method.
|
2547
2178
|
sig { returns(::Stripe::SetupIntent::UpdateParams::PaymentMethodData::Link) }
|
2548
2179
|
attr_accessor :link
|
2549
|
-
|
2550
2180
|
# If this is a MB WAY PaymentMethod, this hash contains details about the MB WAY payment method.
|
2551
2181
|
sig { returns(::Stripe::SetupIntent::UpdateParams::PaymentMethodData::MbWay) }
|
2552
2182
|
attr_accessor :mb_way
|
2553
|
-
|
2554
2183
|
# Set of [key-value pairs](https://stripe.com/docs/api/metadata) that you can attach to an object. This can be useful for storing additional information about the object in a structured format. Individual keys can be unset by posting an empty value to them. All keys can be unset by posting an empty value to `metadata`.
|
2555
2184
|
sig { returns(T::Hash[String, String]) }
|
2556
2185
|
attr_accessor :metadata
|
2557
|
-
|
2558
2186
|
# If this is a `mobilepay` PaymentMethod, this hash contains details about the MobilePay payment method.
|
2559
2187
|
sig { returns(::Stripe::SetupIntent::UpdateParams::PaymentMethodData::Mobilepay) }
|
2560
2188
|
attr_accessor :mobilepay
|
2561
|
-
|
2562
2189
|
# If this is a `multibanco` PaymentMethod, this hash contains details about the Multibanco payment method.
|
2563
2190
|
sig { returns(::Stripe::SetupIntent::UpdateParams::PaymentMethodData::Multibanco) }
|
2564
2191
|
attr_accessor :multibanco
|
2565
|
-
|
2566
2192
|
# If this is a `naver_pay` PaymentMethod, this hash contains details about the Naver Pay payment method.
|
2567
2193
|
sig { returns(::Stripe::SetupIntent::UpdateParams::PaymentMethodData::NaverPay) }
|
2568
2194
|
attr_accessor :naver_pay
|
2569
|
-
|
2570
2195
|
# If this is an `oxxo` PaymentMethod, this hash contains details about the OXXO payment method.
|
2571
2196
|
sig { returns(::Stripe::SetupIntent::UpdateParams::PaymentMethodData::Oxxo) }
|
2572
2197
|
attr_accessor :oxxo
|
2573
|
-
|
2574
2198
|
# If this is a `p24` PaymentMethod, this hash contains details about the P24 payment method.
|
2575
2199
|
sig { returns(::Stripe::SetupIntent::UpdateParams::PaymentMethodData::P24) }
|
2576
2200
|
attr_accessor :p24
|
2577
|
-
|
2201
|
+
# If this is a `pay_by_bank` PaymentMethod, this hash contains details about the PayByBank payment method.
|
2202
|
+
sig { returns(::Stripe::SetupIntent::UpdateParams::PaymentMethodData::PayByBank) }
|
2203
|
+
attr_accessor :pay_by_bank
|
2578
2204
|
# If this is a `payco` PaymentMethod, this hash contains details about the PAYCO payment method.
|
2579
2205
|
sig { returns(::Stripe::SetupIntent::UpdateParams::PaymentMethodData::Payco) }
|
2580
2206
|
attr_accessor :payco
|
2581
|
-
|
2582
2207
|
# If this is a `paynow` PaymentMethod, this hash contains details about the PayNow payment method.
|
2583
2208
|
sig { returns(::Stripe::SetupIntent::UpdateParams::PaymentMethodData::Paynow) }
|
2584
2209
|
attr_accessor :paynow
|
2585
|
-
|
2586
2210
|
# If this is a `paypal` PaymentMethod, this hash contains details about the PayPal payment method.
|
2587
2211
|
sig { returns(::Stripe::SetupIntent::UpdateParams::PaymentMethodData::Paypal) }
|
2588
2212
|
attr_accessor :paypal
|
2589
|
-
|
2590
2213
|
# If this is a `payto` PaymentMethod, this hash contains details about the PayTo payment method.
|
2591
2214
|
sig { returns(::Stripe::SetupIntent::UpdateParams::PaymentMethodData::Payto) }
|
2592
2215
|
attr_accessor :payto
|
2593
|
-
|
2594
2216
|
# If this is a `pix` PaymentMethod, this hash contains details about the Pix payment method.
|
2595
2217
|
sig { returns(::Stripe::SetupIntent::UpdateParams::PaymentMethodData::Pix) }
|
2596
2218
|
attr_accessor :pix
|
2597
|
-
|
2598
2219
|
# If this is a `promptpay` PaymentMethod, this hash contains details about the PromptPay payment method.
|
2599
2220
|
sig { returns(::Stripe::SetupIntent::UpdateParams::PaymentMethodData::Promptpay) }
|
2600
2221
|
attr_accessor :promptpay
|
2601
|
-
|
2602
2222
|
# If this is a `qris` PaymentMethod, this hash contains details about the QRIS payment method.
|
2603
2223
|
sig { returns(::Stripe::SetupIntent::UpdateParams::PaymentMethodData::Qris) }
|
2604
2224
|
attr_accessor :qris
|
2605
|
-
|
2606
2225
|
# Options to configure Radar. See [Radar Session](https://stripe.com/docs/radar/radar-session) for more information.
|
2607
2226
|
sig { returns(::Stripe::SetupIntent::UpdateParams::PaymentMethodData::RadarOptions) }
|
2608
2227
|
attr_accessor :radar_options
|
2609
|
-
|
2610
2228
|
# If this is a `rechnung` PaymentMethod, this hash contains details about the Rechnung payment method.
|
2611
2229
|
sig { returns(::Stripe::SetupIntent::UpdateParams::PaymentMethodData::Rechnung) }
|
2612
2230
|
attr_accessor :rechnung
|
2613
|
-
|
2614
2231
|
# If this is a `Revolut Pay` PaymentMethod, this hash contains details about the Revolut Pay payment method.
|
2615
2232
|
sig { returns(::Stripe::SetupIntent::UpdateParams::PaymentMethodData::RevolutPay) }
|
2616
2233
|
attr_accessor :revolut_pay
|
2617
|
-
|
2618
2234
|
# If this is a `samsung_pay` PaymentMethod, this hash contains details about the SamsungPay payment method.
|
2619
2235
|
sig { returns(::Stripe::SetupIntent::UpdateParams::PaymentMethodData::SamsungPay) }
|
2620
2236
|
attr_accessor :samsung_pay
|
2621
|
-
|
2622
2237
|
# If this is a `sepa_debit` PaymentMethod, this hash contains details about the SEPA debit bank account.
|
2623
2238
|
sig { returns(::Stripe::SetupIntent::UpdateParams::PaymentMethodData::SepaDebit) }
|
2624
2239
|
attr_accessor :sepa_debit
|
2625
|
-
|
2626
2240
|
# If this is a Shopeepay PaymentMethod, this hash contains details about the Shopeepay payment method.
|
2627
2241
|
sig { returns(::Stripe::SetupIntent::UpdateParams::PaymentMethodData::Shopeepay) }
|
2628
2242
|
attr_accessor :shopeepay
|
2629
|
-
|
2630
2243
|
# If this is a `sofort` PaymentMethod, this hash contains details about the SOFORT payment method.
|
2631
2244
|
sig { returns(::Stripe::SetupIntent::UpdateParams::PaymentMethodData::Sofort) }
|
2632
2245
|
attr_accessor :sofort
|
2633
|
-
|
2634
2246
|
# If this is a `swish` PaymentMethod, this hash contains details about the Swish payment method.
|
2635
2247
|
sig { returns(::Stripe::SetupIntent::UpdateParams::PaymentMethodData::Swish) }
|
2636
2248
|
attr_accessor :swish
|
2637
|
-
|
2638
2249
|
# If this is a TWINT PaymentMethod, this hash contains details about the TWINT payment method.
|
2639
2250
|
sig { returns(::Stripe::SetupIntent::UpdateParams::PaymentMethodData::Twint) }
|
2640
2251
|
attr_accessor :twint
|
2641
|
-
|
2642
2252
|
# The type of the PaymentMethod. An additional hash is included on the PaymentMethod with a name matching this value. It contains additional information specific to the PaymentMethod type.
|
2643
2253
|
sig { returns(String) }
|
2644
2254
|
attr_accessor :type
|
2645
|
-
|
2646
2255
|
# If this is an `us_bank_account` PaymentMethod, this hash contains details about the US bank account payment method.
|
2647
2256
|
sig { returns(::Stripe::SetupIntent::UpdateParams::PaymentMethodData::UsBankAccount) }
|
2648
2257
|
attr_accessor :us_bank_account
|
2649
|
-
|
2650
2258
|
# If this is an `wechat_pay` PaymentMethod, this hash contains details about the wechat_pay payment method.
|
2651
2259
|
sig { returns(::Stripe::SetupIntent::UpdateParams::PaymentMethodData::WechatPay) }
|
2652
2260
|
attr_accessor :wechat_pay
|
2653
|
-
|
2654
2261
|
# If this is a `zip` PaymentMethod, this hash contains details about the Zip payment method.
|
2655
2262
|
sig { returns(::Stripe::SetupIntent::UpdateParams::PaymentMethodData::Zip) }
|
2656
2263
|
attr_accessor :zip
|
2657
|
-
|
2658
2264
|
sig {
|
2659
|
-
params(acss_debit: ::Stripe::SetupIntent::UpdateParams::PaymentMethodData::AcssDebit, affirm: ::Stripe::SetupIntent::UpdateParams::PaymentMethodData::Affirm, afterpay_clearpay: ::Stripe::SetupIntent::UpdateParams::PaymentMethodData::AfterpayClearpay, alipay: ::Stripe::SetupIntent::UpdateParams::PaymentMethodData::Alipay, allow_redisplay: String, alma: ::Stripe::SetupIntent::UpdateParams::PaymentMethodData::Alma, amazon_pay: ::Stripe::SetupIntent::UpdateParams::PaymentMethodData::AmazonPay, au_becs_debit: ::Stripe::SetupIntent::UpdateParams::PaymentMethodData::AuBecsDebit, bacs_debit: ::Stripe::SetupIntent::UpdateParams::PaymentMethodData::BacsDebit, bancontact: ::Stripe::SetupIntent::UpdateParams::PaymentMethodData::Bancontact, billing_details: ::Stripe::SetupIntent::UpdateParams::PaymentMethodData::BillingDetails, blik: ::Stripe::SetupIntent::UpdateParams::PaymentMethodData::Blik, boleto: ::Stripe::SetupIntent::UpdateParams::PaymentMethodData::Boleto, cashapp: ::Stripe::SetupIntent::UpdateParams::PaymentMethodData::Cashapp, customer_balance: ::Stripe::SetupIntent::UpdateParams::PaymentMethodData::CustomerBalance, eps: ::Stripe::SetupIntent::UpdateParams::PaymentMethodData::Eps, fpx: ::Stripe::SetupIntent::UpdateParams::PaymentMethodData::Fpx, giropay: ::Stripe::SetupIntent::UpdateParams::PaymentMethodData::Giropay, gopay: ::Stripe::SetupIntent::UpdateParams::PaymentMethodData::Gopay, grabpay: ::Stripe::SetupIntent::UpdateParams::PaymentMethodData::Grabpay, id_bank_transfer: ::Stripe::SetupIntent::UpdateParams::PaymentMethodData::IdBankTransfer, ideal: ::Stripe::SetupIntent::UpdateParams::PaymentMethodData::Ideal, interac_present: ::Stripe::SetupIntent::UpdateParams::PaymentMethodData::InteracPresent, kakao_pay: ::Stripe::SetupIntent::UpdateParams::PaymentMethodData::KakaoPay, klarna: ::Stripe::SetupIntent::UpdateParams::PaymentMethodData::Klarna, konbini: ::Stripe::SetupIntent::UpdateParams::PaymentMethodData::Konbini, kr_card: ::Stripe::SetupIntent::UpdateParams::PaymentMethodData::KrCard, link: ::Stripe::SetupIntent::UpdateParams::PaymentMethodData::Link, mb_way: ::Stripe::SetupIntent::UpdateParams::PaymentMethodData::MbWay, metadata: T::Hash[String, String], mobilepay: ::Stripe::SetupIntent::UpdateParams::PaymentMethodData::Mobilepay, multibanco: ::Stripe::SetupIntent::UpdateParams::PaymentMethodData::Multibanco, naver_pay: ::Stripe::SetupIntent::UpdateParams::PaymentMethodData::NaverPay, oxxo: ::Stripe::SetupIntent::UpdateParams::PaymentMethodData::Oxxo, p24: ::Stripe::SetupIntent::UpdateParams::PaymentMethodData::P24, payco: ::Stripe::SetupIntent::UpdateParams::PaymentMethodData::Payco, paynow: ::Stripe::SetupIntent::UpdateParams::PaymentMethodData::Paynow, paypal: ::Stripe::SetupIntent::UpdateParams::PaymentMethodData::Paypal, payto: ::Stripe::SetupIntent::UpdateParams::PaymentMethodData::Payto, pix: ::Stripe::SetupIntent::UpdateParams::PaymentMethodData::Pix, promptpay: ::Stripe::SetupIntent::UpdateParams::PaymentMethodData::Promptpay, qris: ::Stripe::SetupIntent::UpdateParams::PaymentMethodData::Qris, radar_options: ::Stripe::SetupIntent::UpdateParams::PaymentMethodData::RadarOptions, rechnung: ::Stripe::SetupIntent::UpdateParams::PaymentMethodData::Rechnung, revolut_pay: ::Stripe::SetupIntent::UpdateParams::PaymentMethodData::RevolutPay, samsung_pay: ::Stripe::SetupIntent::UpdateParams::PaymentMethodData::SamsungPay, sepa_debit: ::Stripe::SetupIntent::UpdateParams::PaymentMethodData::SepaDebit, shopeepay: ::Stripe::SetupIntent::UpdateParams::PaymentMethodData::Shopeepay, sofort: ::Stripe::SetupIntent::UpdateParams::PaymentMethodData::Sofort, swish: ::Stripe::SetupIntent::UpdateParams::PaymentMethodData::Swish, twint: ::Stripe::SetupIntent::UpdateParams::PaymentMethodData::Twint, type: String, us_bank_account: ::Stripe::SetupIntent::UpdateParams::PaymentMethodData::UsBankAccount, wechat_pay: ::Stripe::SetupIntent::UpdateParams::PaymentMethodData::WechatPay, zip: ::Stripe::SetupIntent::UpdateParams::PaymentMethodData::Zip).void
|
2265
|
+
params(acss_debit: ::Stripe::SetupIntent::UpdateParams::PaymentMethodData::AcssDebit, affirm: ::Stripe::SetupIntent::UpdateParams::PaymentMethodData::Affirm, afterpay_clearpay: ::Stripe::SetupIntent::UpdateParams::PaymentMethodData::AfterpayClearpay, alipay: ::Stripe::SetupIntent::UpdateParams::PaymentMethodData::Alipay, allow_redisplay: String, alma: ::Stripe::SetupIntent::UpdateParams::PaymentMethodData::Alma, amazon_pay: ::Stripe::SetupIntent::UpdateParams::PaymentMethodData::AmazonPay, au_becs_debit: ::Stripe::SetupIntent::UpdateParams::PaymentMethodData::AuBecsDebit, bacs_debit: ::Stripe::SetupIntent::UpdateParams::PaymentMethodData::BacsDebit, bancontact: ::Stripe::SetupIntent::UpdateParams::PaymentMethodData::Bancontact, billing_details: ::Stripe::SetupIntent::UpdateParams::PaymentMethodData::BillingDetails, blik: ::Stripe::SetupIntent::UpdateParams::PaymentMethodData::Blik, boleto: ::Stripe::SetupIntent::UpdateParams::PaymentMethodData::Boleto, cashapp: ::Stripe::SetupIntent::UpdateParams::PaymentMethodData::Cashapp, customer_balance: ::Stripe::SetupIntent::UpdateParams::PaymentMethodData::CustomerBalance, eps: ::Stripe::SetupIntent::UpdateParams::PaymentMethodData::Eps, fpx: ::Stripe::SetupIntent::UpdateParams::PaymentMethodData::Fpx, giropay: ::Stripe::SetupIntent::UpdateParams::PaymentMethodData::Giropay, gopay: ::Stripe::SetupIntent::UpdateParams::PaymentMethodData::Gopay, grabpay: ::Stripe::SetupIntent::UpdateParams::PaymentMethodData::Grabpay, id_bank_transfer: ::Stripe::SetupIntent::UpdateParams::PaymentMethodData::IdBankTransfer, ideal: ::Stripe::SetupIntent::UpdateParams::PaymentMethodData::Ideal, interac_present: ::Stripe::SetupIntent::UpdateParams::PaymentMethodData::InteracPresent, kakao_pay: ::Stripe::SetupIntent::UpdateParams::PaymentMethodData::KakaoPay, klarna: ::Stripe::SetupIntent::UpdateParams::PaymentMethodData::Klarna, konbini: ::Stripe::SetupIntent::UpdateParams::PaymentMethodData::Konbini, kr_card: ::Stripe::SetupIntent::UpdateParams::PaymentMethodData::KrCard, link: ::Stripe::SetupIntent::UpdateParams::PaymentMethodData::Link, mb_way: ::Stripe::SetupIntent::UpdateParams::PaymentMethodData::MbWay, metadata: T::Hash[String, String], mobilepay: ::Stripe::SetupIntent::UpdateParams::PaymentMethodData::Mobilepay, multibanco: ::Stripe::SetupIntent::UpdateParams::PaymentMethodData::Multibanco, naver_pay: ::Stripe::SetupIntent::UpdateParams::PaymentMethodData::NaverPay, oxxo: ::Stripe::SetupIntent::UpdateParams::PaymentMethodData::Oxxo, p24: ::Stripe::SetupIntent::UpdateParams::PaymentMethodData::P24, pay_by_bank: ::Stripe::SetupIntent::UpdateParams::PaymentMethodData::PayByBank, payco: ::Stripe::SetupIntent::UpdateParams::PaymentMethodData::Payco, paynow: ::Stripe::SetupIntent::UpdateParams::PaymentMethodData::Paynow, paypal: ::Stripe::SetupIntent::UpdateParams::PaymentMethodData::Paypal, payto: ::Stripe::SetupIntent::UpdateParams::PaymentMethodData::Payto, pix: ::Stripe::SetupIntent::UpdateParams::PaymentMethodData::Pix, promptpay: ::Stripe::SetupIntent::UpdateParams::PaymentMethodData::Promptpay, qris: ::Stripe::SetupIntent::UpdateParams::PaymentMethodData::Qris, radar_options: ::Stripe::SetupIntent::UpdateParams::PaymentMethodData::RadarOptions, rechnung: ::Stripe::SetupIntent::UpdateParams::PaymentMethodData::Rechnung, revolut_pay: ::Stripe::SetupIntent::UpdateParams::PaymentMethodData::RevolutPay, samsung_pay: ::Stripe::SetupIntent::UpdateParams::PaymentMethodData::SamsungPay, sepa_debit: ::Stripe::SetupIntent::UpdateParams::PaymentMethodData::SepaDebit, shopeepay: ::Stripe::SetupIntent::UpdateParams::PaymentMethodData::Shopeepay, sofort: ::Stripe::SetupIntent::UpdateParams::PaymentMethodData::Sofort, swish: ::Stripe::SetupIntent::UpdateParams::PaymentMethodData::Swish, twint: ::Stripe::SetupIntent::UpdateParams::PaymentMethodData::Twint, type: String, us_bank_account: ::Stripe::SetupIntent::UpdateParams::PaymentMethodData::UsBankAccount, wechat_pay: ::Stripe::SetupIntent::UpdateParams::PaymentMethodData::WechatPay, zip: ::Stripe::SetupIntent::UpdateParams::PaymentMethodData::Zip).void
|
2660
2266
|
}
|
2661
2267
|
def initialize(
|
2662
2268
|
acss_debit: nil,
|
@@ -2694,6 +2300,7 @@ module Stripe
|
|
2694
2300
|
naver_pay: nil,
|
2695
2301
|
oxxo: nil,
|
2696
2302
|
p24: nil,
|
2303
|
+
pay_by_bank: nil,
|
2697
2304
|
payco: nil,
|
2698
2305
|
paynow: nil,
|
2699
2306
|
paypal: nil,
|
@@ -2724,23 +2331,18 @@ module Stripe
|
|
2724
2331
|
# or `setup_intent` and `setup_intent_client_secret` when confirming a Setup Intent.
|
2725
2332
|
sig { returns(T.nilable(String)) }
|
2726
2333
|
attr_accessor :custom_mandate_url
|
2727
|
-
|
2728
2334
|
# List of Stripe products where this mandate can be selected automatically.
|
2729
2335
|
sig { returns(T::Array[String]) }
|
2730
2336
|
attr_accessor :default_for
|
2731
|
-
|
2732
2337
|
# Description of the mandate interval. Only required if 'payment_schedule' parameter is 'interval' or 'combined'.
|
2733
2338
|
sig { returns(String) }
|
2734
2339
|
attr_accessor :interval_description
|
2735
|
-
|
2736
2340
|
# Payment schedule for the mandate.
|
2737
2341
|
sig { returns(String) }
|
2738
2342
|
attr_accessor :payment_schedule
|
2739
|
-
|
2740
2343
|
# Transaction type of the mandate.
|
2741
2344
|
sig { returns(String) }
|
2742
2345
|
attr_accessor :transaction_type
|
2743
|
-
|
2744
2346
|
sig {
|
2745
2347
|
params(custom_mandate_url: T.nilable(String), default_for: T::Array[String], interval_description: String, payment_schedule: String, transaction_type: String).void
|
2746
2348
|
}
|
@@ -2755,17 +2357,14 @@ module Stripe
|
|
2755
2357
|
# 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).
|
2756
2358
|
sig { returns(String) }
|
2757
2359
|
attr_accessor :currency
|
2758
|
-
|
2759
2360
|
# Additional fields for Mandate creation
|
2760
2361
|
sig {
|
2761
2362
|
returns(::Stripe::SetupIntent::UpdateParams::PaymentMethodOptions::AcssDebit::MandateOptions)
|
2762
2363
|
}
|
2763
2364
|
attr_accessor :mandate_options
|
2764
|
-
|
2765
2365
|
# Bank account verification method.
|
2766
2366
|
sig { returns(String) }
|
2767
2367
|
attr_accessor :verification_method
|
2768
|
-
|
2769
2368
|
sig {
|
2770
2369
|
params(currency: String, mandate_options: ::Stripe::SetupIntent::UpdateParams::PaymentMethodOptions::AcssDebit::MandateOptions, verification_method: String).void
|
2771
2370
|
}
|
@@ -2779,7 +2378,6 @@ module Stripe
|
|
2779
2378
|
# Prefix used to generate the Mandate reference. Must be at most 12 characters long. Must consist of only uppercase letters, numbers, spaces, or the following special characters: '/', '_', '-', '&', '.'. Cannot begin with 'DDIC' or 'STRIPE'.
|
2780
2379
|
sig { returns(T.nilable(String)) }
|
2781
2380
|
attr_accessor :reference_prefix
|
2782
|
-
|
2783
2381
|
sig { params(reference_prefix: T.nilable(String)).void }
|
2784
2382
|
def initialize(reference_prefix: nil); end
|
2785
2383
|
end
|
@@ -2788,7 +2386,6 @@ module Stripe
|
|
2788
2386
|
returns(::Stripe::SetupIntent::UpdateParams::PaymentMethodOptions::BacsDebit::MandateOptions)
|
2789
2387
|
}
|
2790
2388
|
attr_accessor :mandate_options
|
2791
|
-
|
2792
2389
|
sig {
|
2793
2390
|
params(mandate_options: ::Stripe::SetupIntent::UpdateParams::PaymentMethodOptions::BacsDebit::MandateOptions).void
|
2794
2391
|
}
|
@@ -2799,43 +2396,33 @@ module Stripe
|
|
2799
2396
|
# Amount to be charged for future payments.
|
2800
2397
|
sig { returns(Integer) }
|
2801
2398
|
attr_accessor :amount
|
2802
|
-
|
2803
2399
|
# One of `fixed` or `maximum`. If `fixed`, the `amount` param refers to the exact amount to be charged in future payments. If `maximum`, the amount charged can be up to the value passed for the `amount` param.
|
2804
2400
|
sig { returns(String) }
|
2805
2401
|
attr_accessor :amount_type
|
2806
|
-
|
2807
2402
|
# Currency in which future payments will be charged. 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).
|
2808
2403
|
sig { returns(String) }
|
2809
2404
|
attr_accessor :currency
|
2810
|
-
|
2811
2405
|
# A description of the mandate or subscription that is meant to be displayed to the customer.
|
2812
2406
|
sig { returns(String) }
|
2813
2407
|
attr_accessor :description
|
2814
|
-
|
2815
2408
|
# End date of the mandate or subscription. If not provided, the mandate will be active until canceled. If provided, end date should be after start date.
|
2816
2409
|
sig { returns(Integer) }
|
2817
2410
|
attr_accessor :end_date
|
2818
|
-
|
2819
2411
|
# Specifies payment frequency. One of `day`, `week`, `month`, `year`, or `sporadic`.
|
2820
2412
|
sig { returns(String) }
|
2821
2413
|
attr_accessor :interval
|
2822
|
-
|
2823
2414
|
# The number of intervals between payments. For example, `interval=month` and `interval_count=3` indicates one payment every three months. Maximum of one year interval allowed (1 year, 12 months, or 52 weeks). This parameter is optional when `interval=sporadic`.
|
2824
2415
|
sig { returns(Integer) }
|
2825
2416
|
attr_accessor :interval_count
|
2826
|
-
|
2827
2417
|
# Unique identifier for the mandate or subscription.
|
2828
2418
|
sig { returns(String) }
|
2829
2419
|
attr_accessor :reference
|
2830
|
-
|
2831
2420
|
# Start date of the mandate or subscription. Start date should not be lesser than yesterday.
|
2832
2421
|
sig { returns(Integer) }
|
2833
2422
|
attr_accessor :start_date
|
2834
|
-
|
2835
2423
|
# Specifies the type of mandates supported. Possible values are `india`.
|
2836
2424
|
sig { returns(T::Array[String]) }
|
2837
2425
|
attr_accessor :supported_types
|
2838
|
-
|
2839
2426
|
sig {
|
2840
2427
|
params(amount: Integer, amount_type: String, currency: String, description: String, end_date: Integer, interval: String, interval_count: Integer, reference: String, start_date: Integer, supported_types: T::Array[String]).void
|
2841
2428
|
}
|
@@ -2860,19 +2447,16 @@ module Stripe
|
|
2860
2447
|
# messageExtension: CB-AVALGO
|
2861
2448
|
sig { returns(String) }
|
2862
2449
|
attr_accessor :cb_avalgo
|
2863
|
-
|
2864
2450
|
# The exemption indicator returned from Cartes Bancaires in the ARes.
|
2865
2451
|
# message extension: CB-EXEMPTION; string (4 characters)
|
2866
2452
|
# This is a 3 byte bitmap (low significant byte first and most significant
|
2867
2453
|
# bit first) that has been Base64 encoded
|
2868
2454
|
sig { returns(String) }
|
2869
2455
|
attr_accessor :cb_exemption
|
2870
|
-
|
2871
2456
|
# The risk score returned from Cartes Bancaires in the ARes.
|
2872
2457
|
# message extension: CB-SCORE; numeric value 0-99
|
2873
2458
|
sig { returns(Integer) }
|
2874
2459
|
attr_accessor :cb_score
|
2875
|
-
|
2876
2460
|
sig { params(cb_avalgo: String, cb_exemption: String, cb_score: Integer).void }
|
2877
2461
|
def initialize(cb_avalgo: nil, cb_exemption: nil, cb_score: nil); end
|
2878
2462
|
end
|
@@ -2881,7 +2465,6 @@ module Stripe
|
|
2881
2465
|
returns(::Stripe::SetupIntent::UpdateParams::PaymentMethodOptions::Card::ThreeDSecure::NetworkOptions::CartesBancaires)
|
2882
2466
|
}
|
2883
2467
|
attr_accessor :cartes_bancaires
|
2884
|
-
|
2885
2468
|
sig {
|
2886
2469
|
params(cartes_bancaires: ::Stripe::SetupIntent::UpdateParams::PaymentMethodOptions::Card::ThreeDSecure::NetworkOptions::CartesBancaires).void
|
2887
2470
|
}
|
@@ -2890,19 +2473,16 @@ module Stripe
|
|
2890
2473
|
# The `transStatus` returned from the card Issuer’s ACS in the ARes.
|
2891
2474
|
sig { returns(String) }
|
2892
2475
|
attr_accessor :ares_trans_status
|
2893
|
-
|
2894
2476
|
# The cryptogram, also known as the "authentication value" (AAV, CAVV or
|
2895
2477
|
# AEVV). This value is 20 bytes, base64-encoded into a 28-character string.
|
2896
2478
|
# (Most 3D Secure providers will return the base64-encoded version, which
|
2897
2479
|
# is what you should specify here.)
|
2898
2480
|
sig { returns(String) }
|
2899
2481
|
attr_accessor :cryptogram
|
2900
|
-
|
2901
2482
|
# The Electronic Commerce Indicator (ECI) is returned by your 3D Secure
|
2902
2483
|
# provider and indicates what degree of authentication was performed.
|
2903
2484
|
sig { returns(String) }
|
2904
2485
|
attr_accessor :electronic_commerce_indicator
|
2905
|
-
|
2906
2486
|
# Network specific 3DS fields. Network specific arguments require an
|
2907
2487
|
# explicit card brand choice. The parameter `payment_method_options.card.network``
|
2908
2488
|
# must be populated accordingly
|
@@ -2910,21 +2490,17 @@ module Stripe
|
|
2910
2490
|
returns(::Stripe::SetupIntent::UpdateParams::PaymentMethodOptions::Card::ThreeDSecure::NetworkOptions)
|
2911
2491
|
}
|
2912
2492
|
attr_accessor :network_options
|
2913
|
-
|
2914
2493
|
# The challenge indicator (`threeDSRequestorChallengeInd`) which was requested in the
|
2915
2494
|
# AReq sent to the card Issuer's ACS. A string containing 2 digits from 01-99.
|
2916
2495
|
sig { returns(String) }
|
2917
2496
|
attr_accessor :requestor_challenge_indicator
|
2918
|
-
|
2919
2497
|
# For 3D Secure 1, the XID. For 3D Secure 2, the Directory Server
|
2920
2498
|
# Transaction ID (dsTransID).
|
2921
2499
|
sig { returns(String) }
|
2922
2500
|
attr_accessor :transaction_id
|
2923
|
-
|
2924
2501
|
# The version of 3D Secure that was performed.
|
2925
2502
|
sig { returns(String) }
|
2926
2503
|
attr_accessor :version
|
2927
|
-
|
2928
2504
|
sig {
|
2929
2505
|
params(ares_trans_status: String, cryptogram: String, electronic_commerce_indicator: String, network_options: ::Stripe::SetupIntent::UpdateParams::PaymentMethodOptions::Card::ThreeDSecure::NetworkOptions, requestor_challenge_indicator: String, transaction_id: String, version: String).void
|
2930
2506
|
}
|
@@ -2943,28 +2519,23 @@ module Stripe
|
|
2943
2519
|
returns(::Stripe::SetupIntent::UpdateParams::PaymentMethodOptions::Card::MandateOptions)
|
2944
2520
|
}
|
2945
2521
|
attr_accessor :mandate_options
|
2946
|
-
|
2947
2522
|
# When specified, this parameter signals that a card has been collected
|
2948
2523
|
# as MOTO (Mail Order Telephone Order) and thus out of scope for SCA. This
|
2949
2524
|
# parameter can only be provided during confirmation.
|
2950
2525
|
sig { returns(T::Boolean) }
|
2951
2526
|
attr_accessor :moto
|
2952
|
-
|
2953
2527
|
# Selected network to process this SetupIntent on. Depends on the available networks of the card attached to the SetupIntent. Can be only set confirm-time.
|
2954
2528
|
sig { returns(String) }
|
2955
2529
|
attr_accessor :network
|
2956
|
-
|
2957
2530
|
# We strongly recommend that you rely on our SCA Engine to automatically prompt your customers for authentication based on risk level and [other requirements](https://stripe.com/docs/strong-customer-authentication). However, if you wish to request 3D Secure based on logic from your own fraud engine, provide this option. If not provided, this value defaults to `automatic`. Read our guide on [manually requesting 3D Secure](https://stripe.com/docs/payments/3d-secure/authentication-flow#manual-three-ds) for more information on how this configuration interacts with Radar and our SCA Engine.
|
2958
2531
|
sig { returns(String) }
|
2959
2532
|
attr_accessor :request_three_d_secure
|
2960
|
-
|
2961
2533
|
# If 3D Secure authentication was performed with a third-party provider,
|
2962
2534
|
# the authentication details to use for this setup.
|
2963
2535
|
sig {
|
2964
2536
|
returns(::Stripe::SetupIntent::UpdateParams::PaymentMethodOptions::Card::ThreeDSecure)
|
2965
2537
|
}
|
2966
2538
|
attr_accessor :three_d_secure
|
2967
|
-
|
2968
2539
|
sig {
|
2969
2540
|
params(mandate_options: ::Stripe::SetupIntent::UpdateParams::PaymentMethodOptions::Card::MandateOptions, moto: T::Boolean, network: String, request_three_d_secure: String, three_d_secure: ::Stripe::SetupIntent::UpdateParams::PaymentMethodOptions::Card::ThreeDSecure).void
|
2970
2541
|
}
|
@@ -2983,7 +2554,6 @@ module Stripe
|
|
2983
2554
|
# [Deprecated] This is a legacy parameter that no longer has any function.
|
2984
2555
|
sig { returns(String) }
|
2985
2556
|
attr_accessor :persistent_token
|
2986
|
-
|
2987
2557
|
sig { params(persistent_token: String).void }
|
2988
2558
|
def initialize(persistent_token: nil); end
|
2989
2559
|
end
|
@@ -2991,15 +2561,12 @@ module Stripe
|
|
2991
2561
|
# The PayPal Billing Agreement ID (BAID). This is an ID generated by PayPal which represents the mandate between the merchant and the customer.
|
2992
2562
|
sig { returns(String) }
|
2993
2563
|
attr_accessor :billing_agreement_id
|
2994
|
-
|
2995
2564
|
# Attribute for param field currency
|
2996
2565
|
sig { returns(String) }
|
2997
2566
|
attr_accessor :currency
|
2998
|
-
|
2999
2567
|
# The Stripe connected account IDs of the sellers on the platform for this transaction (optional). Only allowed when [separate charges and transfers](https://stripe.com/docs/connect/separate-charges-and-transfers) are used.
|
3000
2568
|
sig { returns(T::Array[String]) }
|
3001
2569
|
attr_accessor :subsellers
|
3002
|
-
|
3003
2570
|
sig {
|
3004
2571
|
params(billing_agreement_id: String, currency: String, subsellers: T::Array[String]).void
|
3005
2572
|
}
|
@@ -3010,31 +2577,24 @@ module Stripe
|
|
3010
2577
|
# Amount that will be collected. It is required when `amount_type` is `fixed`.
|
3011
2578
|
sig { returns(Integer) }
|
3012
2579
|
attr_accessor :amount
|
3013
|
-
|
3014
2580
|
# The type of amount that will be collected. The amount charged must be exact or up to the value of `amount` param for `fixed` or `maximum` type respectively.
|
3015
2581
|
sig { returns(String) }
|
3016
2582
|
attr_accessor :amount_type
|
3017
|
-
|
3018
2583
|
# Date, in YYYY-MM-DD format, after which payments will not be collected. Defaults to no end date.
|
3019
2584
|
sig { returns(String) }
|
3020
2585
|
attr_accessor :end_date
|
3021
|
-
|
3022
2586
|
# The periodicity at which payments will be collected.
|
3023
2587
|
sig { returns(String) }
|
3024
2588
|
attr_accessor :payment_schedule
|
3025
|
-
|
3026
2589
|
# The number of payments that will be made during a payment period. Defaults to 1 except for when `payment_schedule` is `adhoc`. In that case, it defaults to no limit.
|
3027
2590
|
sig { returns(Integer) }
|
3028
2591
|
attr_accessor :payments_per_period
|
3029
|
-
|
3030
2592
|
# The purpose for which payments are made. Defaults to retail.
|
3031
2593
|
sig { returns(String) }
|
3032
2594
|
attr_accessor :purpose
|
3033
|
-
|
3034
2595
|
# Date, in YYYY-MM-DD format, from which payments will be collected. Defaults to confirmation time.
|
3035
2596
|
sig { returns(String) }
|
3036
2597
|
attr_accessor :start_date
|
3037
|
-
|
3038
2598
|
sig {
|
3039
2599
|
params(amount: Integer, amount_type: String, end_date: String, payment_schedule: String, payments_per_period: Integer, purpose: String, start_date: String).void
|
3040
2600
|
}
|
@@ -3053,7 +2613,6 @@ module Stripe
|
|
3053
2613
|
returns(::Stripe::SetupIntent::UpdateParams::PaymentMethodOptions::Payto::MandateOptions)
|
3054
2614
|
}
|
3055
2615
|
attr_accessor :mandate_options
|
3056
|
-
|
3057
2616
|
sig {
|
3058
2617
|
params(mandate_options: ::Stripe::SetupIntent::UpdateParams::PaymentMethodOptions::Payto::MandateOptions).void
|
3059
2618
|
}
|
@@ -3064,7 +2623,6 @@ module Stripe
|
|
3064
2623
|
# Prefix used to generate the Mandate reference. Must be at most 12 characters long. Must consist of only uppercase letters, numbers, spaces, or the following special characters: '/', '_', '-', '&', '.'. Cannot begin with 'STRIPE'.
|
3065
2624
|
sig { returns(T.nilable(String)) }
|
3066
2625
|
attr_accessor :reference_prefix
|
3067
|
-
|
3068
2626
|
sig { params(reference_prefix: T.nilable(String)).void }
|
3069
2627
|
def initialize(reference_prefix: nil); end
|
3070
2628
|
end
|
@@ -3073,7 +2631,6 @@ module Stripe
|
|
3073
2631
|
returns(::Stripe::SetupIntent::UpdateParams::PaymentMethodOptions::SepaDebit::MandateOptions)
|
3074
2632
|
}
|
3075
2633
|
attr_accessor :mandate_options
|
3076
|
-
|
3077
2634
|
sig {
|
3078
2635
|
params(mandate_options: ::Stripe::SetupIntent::UpdateParams::PaymentMethodOptions::SepaDebit::MandateOptions).void
|
3079
2636
|
}
|
@@ -3085,11 +2642,9 @@ module Stripe
|
|
3085
2642
|
# The account subcategories to use to filter for selectable accounts. Valid subcategories are `checking` and `savings`.
|
3086
2643
|
sig { returns(T::Array[String]) }
|
3087
2644
|
attr_accessor :account_subcategories
|
3088
|
-
|
3089
2645
|
# ID of the institution to use to filter for selectable accounts.
|
3090
2646
|
sig { returns(String) }
|
3091
2647
|
attr_accessor :institution
|
3092
|
-
|
3093
2648
|
sig { params(account_subcategories: T::Array[String], institution: String).void }
|
3094
2649
|
def initialize(account_subcategories: nil, institution: nil); end
|
3095
2650
|
end
|
@@ -3097,7 +2652,6 @@ module Stripe
|
|
3097
2652
|
# Settings for configuring manual entry of account details.
|
3098
2653
|
sig { returns(String) }
|
3099
2654
|
attr_accessor :mode
|
3100
|
-
|
3101
2655
|
sig { params(mode: String).void }
|
3102
2656
|
def initialize(mode: nil); end
|
3103
2657
|
end
|
@@ -3106,25 +2660,20 @@ module Stripe
|
|
3106
2660
|
returns(::Stripe::SetupIntent::UpdateParams::PaymentMethodOptions::UsBankAccount::FinancialConnections::Filters)
|
3107
2661
|
}
|
3108
2662
|
attr_accessor :filters
|
3109
|
-
|
3110
2663
|
# Customize manual entry behavior
|
3111
2664
|
sig {
|
3112
2665
|
returns(::Stripe::SetupIntent::UpdateParams::PaymentMethodOptions::UsBankAccount::FinancialConnections::ManualEntry)
|
3113
2666
|
}
|
3114
2667
|
attr_accessor :manual_entry
|
3115
|
-
|
3116
2668
|
# The list of permissions to request. If this parameter is passed, the `payment_method` permission must be included. Valid permissions include: `balances`, `ownership`, `payment_method`, and `transactions`.
|
3117
2669
|
sig { returns(T::Array[String]) }
|
3118
2670
|
attr_accessor :permissions
|
3119
|
-
|
3120
2671
|
# List of data features that you would like to retrieve upon account creation.
|
3121
2672
|
sig { returns(T::Array[String]) }
|
3122
2673
|
attr_accessor :prefetch
|
3123
|
-
|
3124
2674
|
# 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.
|
3125
2675
|
sig { returns(String) }
|
3126
2676
|
attr_accessor :return_url
|
3127
|
-
|
3128
2677
|
sig {
|
3129
2678
|
params(filters: ::Stripe::SetupIntent::UpdateParams::PaymentMethodOptions::UsBankAccount::FinancialConnections::Filters, manual_entry: ::Stripe::SetupIntent::UpdateParams::PaymentMethodOptions::UsBankAccount::FinancialConnections::ManualEntry, permissions: T::Array[String], prefetch: T::Array[String], return_url: String).void
|
3130
2679
|
}
|
@@ -3140,7 +2689,6 @@ module Stripe
|
|
3140
2689
|
# The method used to collect offline mandate customer acceptance.
|
3141
2690
|
sig { returns(T.nilable(String)) }
|
3142
2691
|
attr_accessor :collection_method
|
3143
|
-
|
3144
2692
|
sig { params(collection_method: T.nilable(String)).void }
|
3145
2693
|
def initialize(collection_method: nil); end
|
3146
2694
|
end
|
@@ -3148,7 +2696,6 @@ module Stripe
|
|
3148
2696
|
# Triggers validations to run across the selected networks
|
3149
2697
|
sig { returns(T::Array[String]) }
|
3150
2698
|
attr_accessor :requested
|
3151
|
-
|
3152
2699
|
sig { params(requested: T::Array[String]).void }
|
3153
2700
|
def initialize(requested: nil); end
|
3154
2701
|
end
|
@@ -3157,23 +2704,19 @@ module Stripe
|
|
3157
2704
|
returns(::Stripe::SetupIntent::UpdateParams::PaymentMethodOptions::UsBankAccount::FinancialConnections)
|
3158
2705
|
}
|
3159
2706
|
attr_accessor :financial_connections
|
3160
|
-
|
3161
2707
|
# Additional fields for Mandate creation
|
3162
2708
|
sig {
|
3163
2709
|
returns(::Stripe::SetupIntent::UpdateParams::PaymentMethodOptions::UsBankAccount::MandateOptions)
|
3164
2710
|
}
|
3165
2711
|
attr_accessor :mandate_options
|
3166
|
-
|
3167
2712
|
# Additional fields for network related functions
|
3168
2713
|
sig {
|
3169
2714
|
returns(::Stripe::SetupIntent::UpdateParams::PaymentMethodOptions::UsBankAccount::Networks)
|
3170
2715
|
}
|
3171
2716
|
attr_accessor :networks
|
3172
|
-
|
3173
2717
|
# Bank account verification method.
|
3174
2718
|
sig { returns(String) }
|
3175
2719
|
attr_accessor :verification_method
|
3176
|
-
|
3177
2720
|
sig {
|
3178
2721
|
params(financial_connections: ::Stripe::SetupIntent::UpdateParams::PaymentMethodOptions::UsBankAccount::FinancialConnections, mandate_options: ::Stripe::SetupIntent::UpdateParams::PaymentMethodOptions::UsBankAccount::MandateOptions, networks: ::Stripe::SetupIntent::UpdateParams::PaymentMethodOptions::UsBankAccount::Networks, verification_method: String).void
|
3179
2722
|
}
|
@@ -3187,43 +2730,33 @@ module Stripe
|
|
3187
2730
|
# If this is a `acss_debit` SetupIntent, this sub-hash contains details about the ACSS Debit payment method options.
|
3188
2731
|
sig { returns(::Stripe::SetupIntent::UpdateParams::PaymentMethodOptions::AcssDebit) }
|
3189
2732
|
attr_accessor :acss_debit
|
3190
|
-
|
3191
2733
|
# If this is a `amazon_pay` SetupIntent, this sub-hash contains details about the AmazonPay payment method options.
|
3192
2734
|
sig { returns(::Stripe::SetupIntent::UpdateParams::PaymentMethodOptions::AmazonPay) }
|
3193
2735
|
attr_accessor :amazon_pay
|
3194
|
-
|
3195
2736
|
# If this is a `bacs_debit` SetupIntent, this sub-hash contains details about the Bacs Debit payment method options.
|
3196
2737
|
sig { returns(::Stripe::SetupIntent::UpdateParams::PaymentMethodOptions::BacsDebit) }
|
3197
2738
|
attr_accessor :bacs_debit
|
3198
|
-
|
3199
2739
|
# Configuration for any card setup attempted on this SetupIntent.
|
3200
2740
|
sig { returns(::Stripe::SetupIntent::UpdateParams::PaymentMethodOptions::Card) }
|
3201
2741
|
attr_accessor :card
|
3202
|
-
|
3203
2742
|
# If this is a `card_present` PaymentMethod, this sub-hash contains details about the card-present payment method options.
|
3204
2743
|
sig { returns(::Stripe::SetupIntent::UpdateParams::PaymentMethodOptions::CardPresent) }
|
3205
2744
|
attr_accessor :card_present
|
3206
|
-
|
3207
2745
|
# If this is a `link` PaymentMethod, this sub-hash contains details about the Link payment method options.
|
3208
2746
|
sig { returns(::Stripe::SetupIntent::UpdateParams::PaymentMethodOptions::Link) }
|
3209
2747
|
attr_accessor :link
|
3210
|
-
|
3211
2748
|
# If this is a `paypal` PaymentMethod, this sub-hash contains details about the PayPal payment method options.
|
3212
2749
|
sig { returns(::Stripe::SetupIntent::UpdateParams::PaymentMethodOptions::Paypal) }
|
3213
2750
|
attr_accessor :paypal
|
3214
|
-
|
3215
2751
|
# If this is a `payto` SetupIntent, this sub-hash contains details about the PayTo payment method options.
|
3216
2752
|
sig { returns(::Stripe::SetupIntent::UpdateParams::PaymentMethodOptions::Payto) }
|
3217
2753
|
attr_accessor :payto
|
3218
|
-
|
3219
2754
|
# If this is a `sepa_debit` SetupIntent, this sub-hash contains details about the SEPA Debit payment method options.
|
3220
2755
|
sig { returns(::Stripe::SetupIntent::UpdateParams::PaymentMethodOptions::SepaDebit) }
|
3221
2756
|
attr_accessor :sepa_debit
|
3222
|
-
|
3223
2757
|
# If this is a `us_bank_account` SetupIntent, this sub-hash contains details about the US bank account payment method options.
|
3224
2758
|
sig { returns(::Stripe::SetupIntent::UpdateParams::PaymentMethodOptions::UsBankAccount) }
|
3225
2759
|
attr_accessor :us_bank_account
|
3226
|
-
|
3227
2760
|
sig {
|
3228
2761
|
params(acss_debit: ::Stripe::SetupIntent::UpdateParams::PaymentMethodOptions::AcssDebit, amazon_pay: ::Stripe::SetupIntent::UpdateParams::PaymentMethodOptions::AmazonPay, bacs_debit: ::Stripe::SetupIntent::UpdateParams::PaymentMethodOptions::BacsDebit, card: ::Stripe::SetupIntent::UpdateParams::PaymentMethodOptions::Card, card_present: ::Stripe::SetupIntent::UpdateParams::PaymentMethodOptions::CardPresent, link: ::Stripe::SetupIntent::UpdateParams::PaymentMethodOptions::Link, paypal: ::Stripe::SetupIntent::UpdateParams::PaymentMethodOptions::Paypal, payto: ::Stripe::SetupIntent::UpdateParams::PaymentMethodOptions::Payto, sepa_debit: ::Stripe::SetupIntent::UpdateParams::PaymentMethodOptions::SepaDebit, us_bank_account: ::Stripe::SetupIntent::UpdateParams::PaymentMethodOptions::UsBankAccount).void
|
3229
2762
|
}
|
@@ -3245,52 +2778,41 @@ module Stripe
|
|
3245
2778
|
# It can only be used for this Stripe Account’s own money movement flows like InboundTransfer and OutboundTransfers. It cannot be set to true when setting up a PaymentMethod for a Customer, and defaults to false when attaching a PaymentMethod to a Customer.
|
3246
2779
|
sig { returns(T::Boolean) }
|
3247
2780
|
attr_accessor :attach_to_self
|
3248
|
-
|
3249
2781
|
# ID of the Customer this SetupIntent belongs to, if one exists.
|
3250
2782
|
#
|
3251
2783
|
# If present, the SetupIntent's payment method will be attached to the Customer on successful setup. Payment methods attached to other Customers cannot be used with this SetupIntent.
|
3252
2784
|
sig { returns(String) }
|
3253
2785
|
attr_accessor :customer
|
3254
|
-
|
3255
2786
|
# An arbitrary string attached to the object. Often useful for displaying to users.
|
3256
2787
|
sig { returns(String) }
|
3257
2788
|
attr_accessor :description
|
3258
|
-
|
3259
2789
|
# Specifies which fields in the response should be expanded.
|
3260
2790
|
sig { returns(T::Array[String]) }
|
3261
2791
|
attr_accessor :expand
|
3262
|
-
|
3263
2792
|
# Indicates the directions of money movement for which this payment method is intended to be used.
|
3264
2793
|
#
|
3265
2794
|
# Include `inbound` if you intend to use the payment method as the origin to pull funds from. Include `outbound` if you intend to use the payment method as the destination to send funds to. You can include both if you intend to use the payment method for both purposes.
|
3266
2795
|
sig { returns(T::Array[String]) }
|
3267
2796
|
attr_accessor :flow_directions
|
3268
|
-
|
3269
2797
|
# Set of [key-value pairs](https://stripe.com/docs/api/metadata) that you can attach to an object. This can be useful for storing additional information about the object in a structured format. Individual keys can be unset by posting an empty value to them. All keys can be unset by posting an empty value to `metadata`.
|
3270
2798
|
sig { returns(T.nilable(T::Hash[String, String])) }
|
3271
2799
|
attr_accessor :metadata
|
3272
|
-
|
3273
2800
|
# ID of the payment method (a PaymentMethod, Card, or saved Source object) to attach to this SetupIntent. To unset this field to null, pass in an empty string.
|
3274
2801
|
sig { returns(String) }
|
3275
2802
|
attr_accessor :payment_method
|
3276
|
-
|
3277
2803
|
# The ID of the [payment method configuration](https://stripe.com/docs/api/payment_method_configurations) to use with this SetupIntent.
|
3278
2804
|
sig { returns(String) }
|
3279
2805
|
attr_accessor :payment_method_configuration
|
3280
|
-
|
3281
2806
|
# When included, this hash creates a PaymentMethod that is set as the [`payment_method`](https://stripe.com/docs/api/setup_intents/object#setup_intent_object-payment_method)
|
3282
2807
|
# value in the SetupIntent.
|
3283
2808
|
sig { returns(::Stripe::SetupIntent::UpdateParams::PaymentMethodData) }
|
3284
2809
|
attr_accessor :payment_method_data
|
3285
|
-
|
3286
2810
|
# Payment method-specific configuration for this SetupIntent.
|
3287
2811
|
sig { returns(::Stripe::SetupIntent::UpdateParams::PaymentMethodOptions) }
|
3288
2812
|
attr_accessor :payment_method_options
|
3289
|
-
|
3290
2813
|
# The list of payment method types (for example, card) that this SetupIntent can set up. If you don't provide this, Stripe will dynamically show relevant payment methods from your [payment method settings](https://dashboard.stripe.com/settings/payment_methods).
|
3291
2814
|
sig { returns(T::Array[String]) }
|
3292
2815
|
attr_accessor :payment_method_types
|
3293
|
-
|
3294
2816
|
sig {
|
3295
2817
|
params(attach_to_self: T::Boolean, customer: String, description: String, expand: T::Array[String], flow_directions: T::Array[String], metadata: T.nilable(T::Hash[String, String]), payment_method: String, payment_method_configuration: String, payment_method_data: ::Stripe::SetupIntent::UpdateParams::PaymentMethodData, payment_method_options: ::Stripe::SetupIntent::UpdateParams::PaymentMethodOptions, payment_method_types: T::Array[String]).void
|
3296
2818
|
}
|
@@ -3312,11 +2834,9 @@ module Stripe
|
|
3312
2834
|
# Reason for canceling this SetupIntent. Possible values are: `abandoned`, `requested_by_customer`, or `duplicate`
|
3313
2835
|
sig { returns(String) }
|
3314
2836
|
attr_accessor :cancellation_reason
|
3315
|
-
|
3316
2837
|
# Specifies which fields in the response should be expanded.
|
3317
2838
|
sig { returns(T::Array[String]) }
|
3318
2839
|
attr_accessor :expand
|
3319
|
-
|
3320
2840
|
sig { params(cancellation_reason: String, expand: T::Array[String]).void }
|
3321
2841
|
def initialize(cancellation_reason: nil, expand: nil); end
|
3322
2842
|
end
|
@@ -3330,34 +2850,28 @@ module Stripe
|
|
3330
2850
|
# The IP address from which the Mandate was accepted by the customer.
|
3331
2851
|
sig { returns(String) }
|
3332
2852
|
attr_accessor :ip_address
|
3333
|
-
|
3334
2853
|
# The user agent of the browser from which the Mandate was accepted by the customer.
|
3335
2854
|
sig { returns(String) }
|
3336
2855
|
attr_accessor :user_agent
|
3337
|
-
|
3338
2856
|
sig { params(ip_address: String, user_agent: String).void }
|
3339
2857
|
def initialize(ip_address: nil, user_agent: nil); end
|
3340
2858
|
end
|
3341
2859
|
# The time at which the customer accepted the Mandate.
|
3342
2860
|
sig { returns(Integer) }
|
3343
2861
|
attr_accessor :accepted_at
|
3344
|
-
|
3345
2862
|
# If this is a Mandate accepted offline, this hash contains details about the offline acceptance.
|
3346
2863
|
sig {
|
3347
2864
|
returns(::Stripe::SetupIntent::ConfirmParams::MandateData::CustomerAcceptance::Offline)
|
3348
2865
|
}
|
3349
2866
|
attr_accessor :offline
|
3350
|
-
|
3351
2867
|
# If this is a Mandate accepted online, this hash contains details about the online acceptance.
|
3352
2868
|
sig {
|
3353
2869
|
returns(::Stripe::SetupIntent::ConfirmParams::MandateData::CustomerAcceptance::Online)
|
3354
2870
|
}
|
3355
2871
|
attr_accessor :online
|
3356
|
-
|
3357
2872
|
# The type of customer acceptance information included with the Mandate. One of `online` or `offline`.
|
3358
2873
|
sig { returns(String) }
|
3359
2874
|
attr_accessor :type
|
3360
|
-
|
3361
2875
|
sig {
|
3362
2876
|
params(accepted_at: Integer, offline: ::Stripe::SetupIntent::ConfirmParams::MandateData::CustomerAcceptance::Offline, online: ::Stripe::SetupIntent::ConfirmParams::MandateData::CustomerAcceptance::Online, type: String).void
|
3363
2877
|
}
|
@@ -3366,7 +2880,6 @@ module Stripe
|
|
3366
2880
|
# This hash contains details about the customer acceptance of the Mandate.
|
3367
2881
|
sig { returns(::Stripe::SetupIntent::ConfirmParams::MandateData::CustomerAcceptance) }
|
3368
2882
|
attr_accessor :customer_acceptance
|
3369
|
-
|
3370
2883
|
sig {
|
3371
2884
|
params(customer_acceptance: ::Stripe::SetupIntent::ConfirmParams::MandateData::CustomerAcceptance).void
|
3372
2885
|
}
|
@@ -3377,15 +2890,12 @@ module Stripe
|
|
3377
2890
|
# Customer's bank account number.
|
3378
2891
|
sig { returns(String) }
|
3379
2892
|
attr_accessor :account_number
|
3380
|
-
|
3381
2893
|
# Institution number of the customer's bank.
|
3382
2894
|
sig { returns(String) }
|
3383
2895
|
attr_accessor :institution_number
|
3384
|
-
|
3385
2896
|
# Transit number of the customer's bank.
|
3386
2897
|
sig { returns(String) }
|
3387
2898
|
attr_accessor :transit_number
|
3388
|
-
|
3389
2899
|
sig {
|
3390
2900
|
params(account_number: String, institution_number: String, transit_number: String).void
|
3391
2901
|
}
|
@@ -3410,11 +2920,9 @@ module Stripe
|
|
3410
2920
|
# The account number for the bank account.
|
3411
2921
|
sig { returns(String) }
|
3412
2922
|
attr_accessor :account_number
|
3413
|
-
|
3414
2923
|
# Bank-State-Branch number of the bank account.
|
3415
2924
|
sig { returns(String) }
|
3416
2925
|
attr_accessor :bsb_number
|
3417
|
-
|
3418
2926
|
sig { params(account_number: String, bsb_number: String).void }
|
3419
2927
|
def initialize(account_number: nil, bsb_number: nil); end
|
3420
2928
|
end
|
@@ -3422,11 +2930,9 @@ module Stripe
|
|
3422
2930
|
# Account number of the bank account that the funds will be debited from.
|
3423
2931
|
sig { returns(String) }
|
3424
2932
|
attr_accessor :account_number
|
3425
|
-
|
3426
2933
|
# Sort code of the bank account. (e.g., `10-20-30`)
|
3427
2934
|
sig { returns(String) }
|
3428
2935
|
attr_accessor :sort_code
|
3429
|
-
|
3430
2936
|
sig { params(account_number: String, sort_code: String).void }
|
3431
2937
|
def initialize(account_number: nil, sort_code: nil); end
|
3432
2938
|
end
|
@@ -3438,27 +2944,21 @@ module Stripe
|
|
3438
2944
|
# City, district, suburb, town, or village.
|
3439
2945
|
sig { returns(String) }
|
3440
2946
|
attr_accessor :city
|
3441
|
-
|
3442
2947
|
# Two-letter country code ([ISO 3166-1 alpha-2](https://en.wikipedia.org/wiki/ISO_3166-1_alpha-2)).
|
3443
2948
|
sig { returns(String) }
|
3444
2949
|
attr_accessor :country
|
3445
|
-
|
3446
2950
|
# Address line 1 (e.g., street, PO Box, or company name).
|
3447
2951
|
sig { returns(String) }
|
3448
2952
|
attr_accessor :line1
|
3449
|
-
|
3450
2953
|
# Address line 2 (e.g., apartment, suite, unit, or building).
|
3451
2954
|
sig { returns(String) }
|
3452
2955
|
attr_accessor :line2
|
3453
|
-
|
3454
2956
|
# ZIP or postal code.
|
3455
2957
|
sig { returns(String) }
|
3456
2958
|
attr_accessor :postal_code
|
3457
|
-
|
3458
2959
|
# State, county, province, or region.
|
3459
2960
|
sig { returns(String) }
|
3460
2961
|
attr_accessor :state
|
3461
|
-
|
3462
2962
|
sig {
|
3463
2963
|
params(city: String, country: String, line1: String, line2: String, postal_code: String, state: String).void
|
3464
2964
|
}
|
@@ -3476,19 +2976,15 @@ module Stripe
|
|
3476
2976
|
returns(T.nilable(::Stripe::SetupIntent::ConfirmParams::PaymentMethodData::BillingDetails::Address))
|
3477
2977
|
}
|
3478
2978
|
attr_accessor :address
|
3479
|
-
|
3480
2979
|
# Email address.
|
3481
2980
|
sig { returns(T.nilable(String)) }
|
3482
2981
|
attr_accessor :email
|
3483
|
-
|
3484
2982
|
# Full name.
|
3485
2983
|
sig { returns(T.nilable(String)) }
|
3486
2984
|
attr_accessor :name
|
3487
|
-
|
3488
2985
|
# Billing phone number (including extension).
|
3489
2986
|
sig { returns(T.nilable(String)) }
|
3490
2987
|
attr_accessor :phone
|
3491
|
-
|
3492
2988
|
sig {
|
3493
2989
|
params(address: T.nilable(::Stripe::SetupIntent::ConfirmParams::PaymentMethodData::BillingDetails::Address), email: T.nilable(String), name: T.nilable(String), phone: T.nilable(String)).void
|
3494
2990
|
}
|
@@ -3501,7 +2997,6 @@ module Stripe
|
|
3501
2997
|
# The tax ID of the customer (CPF for individual consumers or CNPJ for businesses consumers)
|
3502
2998
|
sig { returns(String) }
|
3503
2999
|
attr_accessor :tax_id
|
3504
|
-
|
3505
3000
|
sig { params(tax_id: String).void }
|
3506
3001
|
def initialize(tax_id: nil); end
|
3507
3002
|
end
|
@@ -3515,7 +3010,6 @@ module Stripe
|
|
3515
3010
|
# The customer's bank.
|
3516
3011
|
sig { returns(String) }
|
3517
3012
|
attr_accessor :bank
|
3518
|
-
|
3519
3013
|
sig { params(bank: String).void }
|
3520
3014
|
def initialize(bank: nil); end
|
3521
3015
|
end
|
@@ -3523,11 +3017,9 @@ module Stripe
|
|
3523
3017
|
# Account holder type for FPX transaction
|
3524
3018
|
sig { returns(String) }
|
3525
3019
|
attr_accessor :account_holder_type
|
3526
|
-
|
3527
3020
|
# The customer's bank.
|
3528
3021
|
sig { returns(String) }
|
3529
3022
|
attr_accessor :bank
|
3530
|
-
|
3531
3023
|
sig { params(account_holder_type: String, bank: String).void }
|
3532
3024
|
def initialize(account_holder_type: nil, bank: nil); end
|
3533
3025
|
end
|
@@ -3544,7 +3036,6 @@ module Stripe
|
|
3544
3036
|
# Bank where the account is held.
|
3545
3037
|
sig { returns(String) }
|
3546
3038
|
attr_accessor :bank
|
3547
|
-
|
3548
3039
|
sig { params(bank: String).void }
|
3549
3040
|
def initialize(bank: nil); end
|
3550
3041
|
end
|
@@ -3552,7 +3043,6 @@ module Stripe
|
|
3552
3043
|
# The customer's bank. Only use this parameter for existing customers. Don't use it for new customers.
|
3553
3044
|
sig { returns(String) }
|
3554
3045
|
attr_accessor :bank
|
3555
|
-
|
3556
3046
|
sig { params(bank: String).void }
|
3557
3047
|
def initialize(bank: nil); end
|
3558
3048
|
end
|
@@ -3567,22 +3057,18 @@ module Stripe
|
|
3567
3057
|
# The day of birth, between 1 and 31.
|
3568
3058
|
sig { returns(Integer) }
|
3569
3059
|
attr_accessor :day
|
3570
|
-
|
3571
3060
|
# The month of birth, between 1 and 12.
|
3572
3061
|
sig { returns(Integer) }
|
3573
3062
|
attr_accessor :month
|
3574
|
-
|
3575
3063
|
# The four-digit year of birth.
|
3576
3064
|
sig { returns(Integer) }
|
3577
3065
|
attr_accessor :year
|
3578
|
-
|
3579
3066
|
sig { params(day: Integer, month: Integer, year: Integer).void }
|
3580
3067
|
def initialize(day: nil, month: nil, year: nil); end
|
3581
3068
|
end
|
3582
3069
|
# Customer's date of birth
|
3583
3070
|
sig { returns(::Stripe::SetupIntent::ConfirmParams::PaymentMethodData::Klarna::Dob) }
|
3584
3071
|
attr_accessor :dob
|
3585
|
-
|
3586
3072
|
sig {
|
3587
3073
|
params(dob: ::Stripe::SetupIntent::ConfirmParams::PaymentMethodData::Klarna::Dob).void
|
3588
3074
|
}
|
@@ -3610,7 +3096,6 @@ module Stripe
|
|
3610
3096
|
# Whether to use Naver Pay points or a card to fund this transaction. If not provided, this defaults to `card`.
|
3611
3097
|
sig { returns(String) }
|
3612
3098
|
attr_accessor :funding
|
3613
|
-
|
3614
3099
|
sig { params(funding: String).void }
|
3615
3100
|
def initialize(funding: nil); end
|
3616
3101
|
end
|
@@ -3621,9 +3106,11 @@ module Stripe
|
|
3621
3106
|
# The customer's bank.
|
3622
3107
|
sig { returns(String) }
|
3623
3108
|
attr_accessor :bank
|
3624
|
-
|
3625
3109
|
sig { params(bank: String).void }
|
3626
3110
|
def initialize(bank: nil); end
|
3111
|
+
end
|
3112
|
+
class PayByBank < Stripe::RequestParams
|
3113
|
+
|
3627
3114
|
end
|
3628
3115
|
class Payco < Stripe::RequestParams
|
3629
3116
|
|
@@ -3638,15 +3125,12 @@ module Stripe
|
|
3638
3125
|
# The account number for the bank account.
|
3639
3126
|
sig { returns(String) }
|
3640
3127
|
attr_accessor :account_number
|
3641
|
-
|
3642
3128
|
# Bank-State-Branch number of the bank account.
|
3643
3129
|
sig { returns(String) }
|
3644
3130
|
attr_accessor :bsb_number
|
3645
|
-
|
3646
3131
|
# The PayID alias for the bank account.
|
3647
3132
|
sig { returns(String) }
|
3648
3133
|
attr_accessor :pay_id
|
3649
|
-
|
3650
3134
|
sig { params(account_number: String, bsb_number: String, pay_id: String).void }
|
3651
3135
|
def initialize(account_number: nil, bsb_number: nil, pay_id: nil); end
|
3652
3136
|
end
|
@@ -3663,7 +3147,6 @@ module Stripe
|
|
3663
3147
|
# A [Radar Session](https://stripe.com/docs/radar/radar-session) is a snapshot of the browser metadata and device details that help Radar make more accurate predictions on your payments.
|
3664
3148
|
sig { returns(String) }
|
3665
3149
|
attr_accessor :session
|
3666
|
-
|
3667
3150
|
sig { params(session: String).void }
|
3668
3151
|
def initialize(session: nil); end
|
3669
3152
|
end
|
@@ -3672,22 +3155,18 @@ module Stripe
|
|
3672
3155
|
# The day of birth, between 1 and 31.
|
3673
3156
|
sig { returns(Integer) }
|
3674
3157
|
attr_accessor :day
|
3675
|
-
|
3676
3158
|
# The month of birth, between 1 and 12.
|
3677
3159
|
sig { returns(Integer) }
|
3678
3160
|
attr_accessor :month
|
3679
|
-
|
3680
3161
|
# The four-digit year of birth.
|
3681
3162
|
sig { returns(Integer) }
|
3682
3163
|
attr_accessor :year
|
3683
|
-
|
3684
3164
|
sig { params(day: Integer, month: Integer, year: Integer).void }
|
3685
3165
|
def initialize(day: nil, month: nil, year: nil); end
|
3686
3166
|
end
|
3687
3167
|
# Customer's date of birth
|
3688
3168
|
sig { returns(::Stripe::SetupIntent::ConfirmParams::PaymentMethodData::Rechnung::Dob) }
|
3689
3169
|
attr_accessor :dob
|
3690
|
-
|
3691
3170
|
sig {
|
3692
3171
|
params(dob: ::Stripe::SetupIntent::ConfirmParams::PaymentMethodData::Rechnung::Dob).void
|
3693
3172
|
}
|
@@ -3703,7 +3182,6 @@ module Stripe
|
|
3703
3182
|
# IBAN of the bank account.
|
3704
3183
|
sig { returns(String) }
|
3705
3184
|
attr_accessor :iban
|
3706
|
-
|
3707
3185
|
sig { params(iban: String).void }
|
3708
3186
|
def initialize(iban: nil); end
|
3709
3187
|
end
|
@@ -3714,7 +3192,6 @@ module Stripe
|
|
3714
3192
|
# Two-letter ISO code representing the country the bank account is located in.
|
3715
3193
|
sig { returns(String) }
|
3716
3194
|
attr_accessor :country
|
3717
|
-
|
3718
3195
|
sig { params(country: String).void }
|
3719
3196
|
def initialize(country: nil); end
|
3720
3197
|
end
|
@@ -3728,23 +3205,18 @@ module Stripe
|
|
3728
3205
|
# Account holder type: individual or company.
|
3729
3206
|
sig { returns(String) }
|
3730
3207
|
attr_accessor :account_holder_type
|
3731
|
-
|
3732
3208
|
# Account number of the bank account.
|
3733
3209
|
sig { returns(String) }
|
3734
3210
|
attr_accessor :account_number
|
3735
|
-
|
3736
3211
|
# Account type: checkings or savings. Defaults to checking if omitted.
|
3737
3212
|
sig { returns(String) }
|
3738
3213
|
attr_accessor :account_type
|
3739
|
-
|
3740
3214
|
# The ID of a Financial Connections Account to use as a payment method.
|
3741
3215
|
sig { returns(String) }
|
3742
3216
|
attr_accessor :financial_connections_account
|
3743
|
-
|
3744
3217
|
# Routing number of the bank account.
|
3745
3218
|
sig { returns(String) }
|
3746
3219
|
attr_accessor :routing_number
|
3747
|
-
|
3748
3220
|
sig {
|
3749
3221
|
params(account_holder_type: String, account_number: String, account_type: String, financial_connections_account: String, routing_number: String).void
|
3750
3222
|
}
|
@@ -3765,225 +3237,173 @@ module Stripe
|
|
3765
3237
|
# If this is an `acss_debit` PaymentMethod, this hash contains details about the ACSS Debit payment method.
|
3766
3238
|
sig { returns(::Stripe::SetupIntent::ConfirmParams::PaymentMethodData::AcssDebit) }
|
3767
3239
|
attr_accessor :acss_debit
|
3768
|
-
|
3769
3240
|
# If this is an `affirm` PaymentMethod, this hash contains details about the Affirm payment method.
|
3770
3241
|
sig { returns(::Stripe::SetupIntent::ConfirmParams::PaymentMethodData::Affirm) }
|
3771
3242
|
attr_accessor :affirm
|
3772
|
-
|
3773
3243
|
# If this is an `AfterpayClearpay` PaymentMethod, this hash contains details about the AfterpayClearpay payment method.
|
3774
3244
|
sig { returns(::Stripe::SetupIntent::ConfirmParams::PaymentMethodData::AfterpayClearpay) }
|
3775
3245
|
attr_accessor :afterpay_clearpay
|
3776
|
-
|
3777
3246
|
# If this is an `Alipay` PaymentMethod, this hash contains details about the Alipay payment method.
|
3778
3247
|
sig { returns(::Stripe::SetupIntent::ConfirmParams::PaymentMethodData::Alipay) }
|
3779
3248
|
attr_accessor :alipay
|
3780
|
-
|
3781
3249
|
# This field indicates whether this payment method can be shown again to its customer in a checkout flow. Stripe products such as Checkout and Elements use this field to determine whether a payment method can be shown as a saved payment method in a checkout flow. The field defaults to `unspecified`.
|
3782
3250
|
sig { returns(String) }
|
3783
3251
|
attr_accessor :allow_redisplay
|
3784
|
-
|
3785
3252
|
# If this is a Alma PaymentMethod, this hash contains details about the Alma payment method.
|
3786
3253
|
sig { returns(::Stripe::SetupIntent::ConfirmParams::PaymentMethodData::Alma) }
|
3787
3254
|
attr_accessor :alma
|
3788
|
-
|
3789
3255
|
# If this is a AmazonPay PaymentMethod, this hash contains details about the AmazonPay payment method.
|
3790
3256
|
sig { returns(::Stripe::SetupIntent::ConfirmParams::PaymentMethodData::AmazonPay) }
|
3791
3257
|
attr_accessor :amazon_pay
|
3792
|
-
|
3793
3258
|
# If this is an `au_becs_debit` PaymentMethod, this hash contains details about the bank account.
|
3794
3259
|
sig { returns(::Stripe::SetupIntent::ConfirmParams::PaymentMethodData::AuBecsDebit) }
|
3795
3260
|
attr_accessor :au_becs_debit
|
3796
|
-
|
3797
3261
|
# If this is a `bacs_debit` PaymentMethod, this hash contains details about the Bacs Direct Debit bank account.
|
3798
3262
|
sig { returns(::Stripe::SetupIntent::ConfirmParams::PaymentMethodData::BacsDebit) }
|
3799
3263
|
attr_accessor :bacs_debit
|
3800
|
-
|
3801
3264
|
# If this is a `bancontact` PaymentMethod, this hash contains details about the Bancontact payment method.
|
3802
3265
|
sig { returns(::Stripe::SetupIntent::ConfirmParams::PaymentMethodData::Bancontact) }
|
3803
3266
|
attr_accessor :bancontact
|
3804
|
-
|
3805
3267
|
# Billing information associated with the PaymentMethod that may be used or required by particular types of payment methods.
|
3806
3268
|
sig { returns(::Stripe::SetupIntent::ConfirmParams::PaymentMethodData::BillingDetails) }
|
3807
3269
|
attr_accessor :billing_details
|
3808
|
-
|
3809
3270
|
# If this is a `blik` PaymentMethod, this hash contains details about the BLIK payment method.
|
3810
3271
|
sig { returns(::Stripe::SetupIntent::ConfirmParams::PaymentMethodData::Blik) }
|
3811
3272
|
attr_accessor :blik
|
3812
|
-
|
3813
3273
|
# If this is a `boleto` PaymentMethod, this hash contains details about the Boleto payment method.
|
3814
3274
|
sig { returns(::Stripe::SetupIntent::ConfirmParams::PaymentMethodData::Boleto) }
|
3815
3275
|
attr_accessor :boleto
|
3816
|
-
|
3817
3276
|
# If this is a `cashapp` PaymentMethod, this hash contains details about the Cash App Pay payment method.
|
3818
3277
|
sig { returns(::Stripe::SetupIntent::ConfirmParams::PaymentMethodData::Cashapp) }
|
3819
3278
|
attr_accessor :cashapp
|
3820
|
-
|
3821
3279
|
# If this is a `customer_balance` PaymentMethod, this hash contains details about the CustomerBalance payment method.
|
3822
3280
|
sig { returns(::Stripe::SetupIntent::ConfirmParams::PaymentMethodData::CustomerBalance) }
|
3823
3281
|
attr_accessor :customer_balance
|
3824
|
-
|
3825
3282
|
# If this is an `eps` PaymentMethod, this hash contains details about the EPS payment method.
|
3826
3283
|
sig { returns(::Stripe::SetupIntent::ConfirmParams::PaymentMethodData::Eps) }
|
3827
3284
|
attr_accessor :eps
|
3828
|
-
|
3829
3285
|
# If this is an `fpx` PaymentMethod, this hash contains details about the FPX payment method.
|
3830
3286
|
sig { returns(::Stripe::SetupIntent::ConfirmParams::PaymentMethodData::Fpx) }
|
3831
3287
|
attr_accessor :fpx
|
3832
|
-
|
3833
3288
|
# If this is a `giropay` PaymentMethod, this hash contains details about the Giropay payment method.
|
3834
3289
|
sig { returns(::Stripe::SetupIntent::ConfirmParams::PaymentMethodData::Giropay) }
|
3835
3290
|
attr_accessor :giropay
|
3836
|
-
|
3837
3291
|
# If this is a Gopay PaymentMethod, this hash contains details about the Gopay payment method.
|
3838
3292
|
sig { returns(::Stripe::SetupIntent::ConfirmParams::PaymentMethodData::Gopay) }
|
3839
3293
|
attr_accessor :gopay
|
3840
|
-
|
3841
3294
|
# If this is a `grabpay` PaymentMethod, this hash contains details about the GrabPay payment method.
|
3842
3295
|
sig { returns(::Stripe::SetupIntent::ConfirmParams::PaymentMethodData::Grabpay) }
|
3843
3296
|
attr_accessor :grabpay
|
3844
|
-
|
3845
3297
|
# If this is an `IdBankTransfer` PaymentMethod, this hash contains details about the IdBankTransfer payment method.
|
3846
3298
|
sig { returns(::Stripe::SetupIntent::ConfirmParams::PaymentMethodData::IdBankTransfer) }
|
3847
3299
|
attr_accessor :id_bank_transfer
|
3848
|
-
|
3849
3300
|
# If this is an `ideal` PaymentMethod, this hash contains details about the iDEAL payment method.
|
3850
3301
|
sig { returns(::Stripe::SetupIntent::ConfirmParams::PaymentMethodData::Ideal) }
|
3851
3302
|
attr_accessor :ideal
|
3852
|
-
|
3853
3303
|
# If this is an `interac_present` PaymentMethod, this hash contains details about the Interac Present payment method.
|
3854
3304
|
sig { returns(::Stripe::SetupIntent::ConfirmParams::PaymentMethodData::InteracPresent) }
|
3855
3305
|
attr_accessor :interac_present
|
3856
|
-
|
3857
3306
|
# If this is a `kakao_pay` PaymentMethod, this hash contains details about the Kakao Pay payment method.
|
3858
3307
|
sig { returns(::Stripe::SetupIntent::ConfirmParams::PaymentMethodData::KakaoPay) }
|
3859
3308
|
attr_accessor :kakao_pay
|
3860
|
-
|
3861
3309
|
# If this is a `klarna` PaymentMethod, this hash contains details about the Klarna payment method.
|
3862
3310
|
sig { returns(::Stripe::SetupIntent::ConfirmParams::PaymentMethodData::Klarna) }
|
3863
3311
|
attr_accessor :klarna
|
3864
|
-
|
3865
3312
|
# If this is a `konbini` PaymentMethod, this hash contains details about the Konbini payment method.
|
3866
3313
|
sig { returns(::Stripe::SetupIntent::ConfirmParams::PaymentMethodData::Konbini) }
|
3867
3314
|
attr_accessor :konbini
|
3868
|
-
|
3869
3315
|
# If this is a `kr_card` PaymentMethod, this hash contains details about the Korean Card payment method.
|
3870
3316
|
sig { returns(::Stripe::SetupIntent::ConfirmParams::PaymentMethodData::KrCard) }
|
3871
3317
|
attr_accessor :kr_card
|
3872
|
-
|
3873
3318
|
# If this is an `Link` PaymentMethod, this hash contains details about the Link payment method.
|
3874
3319
|
sig { returns(::Stripe::SetupIntent::ConfirmParams::PaymentMethodData::Link) }
|
3875
3320
|
attr_accessor :link
|
3876
|
-
|
3877
3321
|
# If this is a MB WAY PaymentMethod, this hash contains details about the MB WAY payment method.
|
3878
3322
|
sig { returns(::Stripe::SetupIntent::ConfirmParams::PaymentMethodData::MbWay) }
|
3879
3323
|
attr_accessor :mb_way
|
3880
|
-
|
3881
3324
|
# Set of [key-value pairs](https://stripe.com/docs/api/metadata) that you can attach to an object. This can be useful for storing additional information about the object in a structured format. Individual keys can be unset by posting an empty value to them. All keys can be unset by posting an empty value to `metadata`.
|
3882
3325
|
sig { returns(T::Hash[String, String]) }
|
3883
3326
|
attr_accessor :metadata
|
3884
|
-
|
3885
3327
|
# If this is a `mobilepay` PaymentMethod, this hash contains details about the MobilePay payment method.
|
3886
3328
|
sig { returns(::Stripe::SetupIntent::ConfirmParams::PaymentMethodData::Mobilepay) }
|
3887
3329
|
attr_accessor :mobilepay
|
3888
|
-
|
3889
3330
|
# If this is a `multibanco` PaymentMethod, this hash contains details about the Multibanco payment method.
|
3890
3331
|
sig { returns(::Stripe::SetupIntent::ConfirmParams::PaymentMethodData::Multibanco) }
|
3891
3332
|
attr_accessor :multibanco
|
3892
|
-
|
3893
3333
|
# If this is a `naver_pay` PaymentMethod, this hash contains details about the Naver Pay payment method.
|
3894
3334
|
sig { returns(::Stripe::SetupIntent::ConfirmParams::PaymentMethodData::NaverPay) }
|
3895
3335
|
attr_accessor :naver_pay
|
3896
|
-
|
3897
3336
|
# If this is an `oxxo` PaymentMethod, this hash contains details about the OXXO payment method.
|
3898
3337
|
sig { returns(::Stripe::SetupIntent::ConfirmParams::PaymentMethodData::Oxxo) }
|
3899
3338
|
attr_accessor :oxxo
|
3900
|
-
|
3901
3339
|
# If this is a `p24` PaymentMethod, this hash contains details about the P24 payment method.
|
3902
3340
|
sig { returns(::Stripe::SetupIntent::ConfirmParams::PaymentMethodData::P24) }
|
3903
3341
|
attr_accessor :p24
|
3904
|
-
|
3342
|
+
# If this is a `pay_by_bank` PaymentMethod, this hash contains details about the PayByBank payment method.
|
3343
|
+
sig { returns(::Stripe::SetupIntent::ConfirmParams::PaymentMethodData::PayByBank) }
|
3344
|
+
attr_accessor :pay_by_bank
|
3905
3345
|
# If this is a `payco` PaymentMethod, this hash contains details about the PAYCO payment method.
|
3906
3346
|
sig { returns(::Stripe::SetupIntent::ConfirmParams::PaymentMethodData::Payco) }
|
3907
3347
|
attr_accessor :payco
|
3908
|
-
|
3909
3348
|
# If this is a `paynow` PaymentMethod, this hash contains details about the PayNow payment method.
|
3910
3349
|
sig { returns(::Stripe::SetupIntent::ConfirmParams::PaymentMethodData::Paynow) }
|
3911
3350
|
attr_accessor :paynow
|
3912
|
-
|
3913
3351
|
# If this is a `paypal` PaymentMethod, this hash contains details about the PayPal payment method.
|
3914
3352
|
sig { returns(::Stripe::SetupIntent::ConfirmParams::PaymentMethodData::Paypal) }
|
3915
3353
|
attr_accessor :paypal
|
3916
|
-
|
3917
3354
|
# If this is a `payto` PaymentMethod, this hash contains details about the PayTo payment method.
|
3918
3355
|
sig { returns(::Stripe::SetupIntent::ConfirmParams::PaymentMethodData::Payto) }
|
3919
3356
|
attr_accessor :payto
|
3920
|
-
|
3921
3357
|
# If this is a `pix` PaymentMethod, this hash contains details about the Pix payment method.
|
3922
3358
|
sig { returns(::Stripe::SetupIntent::ConfirmParams::PaymentMethodData::Pix) }
|
3923
3359
|
attr_accessor :pix
|
3924
|
-
|
3925
3360
|
# If this is a `promptpay` PaymentMethod, this hash contains details about the PromptPay payment method.
|
3926
3361
|
sig { returns(::Stripe::SetupIntent::ConfirmParams::PaymentMethodData::Promptpay) }
|
3927
3362
|
attr_accessor :promptpay
|
3928
|
-
|
3929
3363
|
# If this is a `qris` PaymentMethod, this hash contains details about the QRIS payment method.
|
3930
3364
|
sig { returns(::Stripe::SetupIntent::ConfirmParams::PaymentMethodData::Qris) }
|
3931
3365
|
attr_accessor :qris
|
3932
|
-
|
3933
3366
|
# Options to configure Radar. See [Radar Session](https://stripe.com/docs/radar/radar-session) for more information.
|
3934
3367
|
sig { returns(::Stripe::SetupIntent::ConfirmParams::PaymentMethodData::RadarOptions) }
|
3935
3368
|
attr_accessor :radar_options
|
3936
|
-
|
3937
3369
|
# If this is a `rechnung` PaymentMethod, this hash contains details about the Rechnung payment method.
|
3938
3370
|
sig { returns(::Stripe::SetupIntent::ConfirmParams::PaymentMethodData::Rechnung) }
|
3939
3371
|
attr_accessor :rechnung
|
3940
|
-
|
3941
3372
|
# If this is a `Revolut Pay` PaymentMethod, this hash contains details about the Revolut Pay payment method.
|
3942
3373
|
sig { returns(::Stripe::SetupIntent::ConfirmParams::PaymentMethodData::RevolutPay) }
|
3943
3374
|
attr_accessor :revolut_pay
|
3944
|
-
|
3945
3375
|
# If this is a `samsung_pay` PaymentMethod, this hash contains details about the SamsungPay payment method.
|
3946
3376
|
sig { returns(::Stripe::SetupIntent::ConfirmParams::PaymentMethodData::SamsungPay) }
|
3947
3377
|
attr_accessor :samsung_pay
|
3948
|
-
|
3949
3378
|
# If this is a `sepa_debit` PaymentMethod, this hash contains details about the SEPA debit bank account.
|
3950
3379
|
sig { returns(::Stripe::SetupIntent::ConfirmParams::PaymentMethodData::SepaDebit) }
|
3951
3380
|
attr_accessor :sepa_debit
|
3952
|
-
|
3953
3381
|
# If this is a Shopeepay PaymentMethod, this hash contains details about the Shopeepay payment method.
|
3954
3382
|
sig { returns(::Stripe::SetupIntent::ConfirmParams::PaymentMethodData::Shopeepay) }
|
3955
3383
|
attr_accessor :shopeepay
|
3956
|
-
|
3957
3384
|
# If this is a `sofort` PaymentMethod, this hash contains details about the SOFORT payment method.
|
3958
3385
|
sig { returns(::Stripe::SetupIntent::ConfirmParams::PaymentMethodData::Sofort) }
|
3959
3386
|
attr_accessor :sofort
|
3960
|
-
|
3961
3387
|
# If this is a `swish` PaymentMethod, this hash contains details about the Swish payment method.
|
3962
3388
|
sig { returns(::Stripe::SetupIntent::ConfirmParams::PaymentMethodData::Swish) }
|
3963
3389
|
attr_accessor :swish
|
3964
|
-
|
3965
3390
|
# If this is a TWINT PaymentMethod, this hash contains details about the TWINT payment method.
|
3966
3391
|
sig { returns(::Stripe::SetupIntent::ConfirmParams::PaymentMethodData::Twint) }
|
3967
3392
|
attr_accessor :twint
|
3968
|
-
|
3969
3393
|
# The type of the PaymentMethod. An additional hash is included on the PaymentMethod with a name matching this value. It contains additional information specific to the PaymentMethod type.
|
3970
3394
|
sig { returns(String) }
|
3971
3395
|
attr_accessor :type
|
3972
|
-
|
3973
3396
|
# If this is an `us_bank_account` PaymentMethod, this hash contains details about the US bank account payment method.
|
3974
3397
|
sig { returns(::Stripe::SetupIntent::ConfirmParams::PaymentMethodData::UsBankAccount) }
|
3975
3398
|
attr_accessor :us_bank_account
|
3976
|
-
|
3977
3399
|
# If this is an `wechat_pay` PaymentMethod, this hash contains details about the wechat_pay payment method.
|
3978
3400
|
sig { returns(::Stripe::SetupIntent::ConfirmParams::PaymentMethodData::WechatPay) }
|
3979
3401
|
attr_accessor :wechat_pay
|
3980
|
-
|
3981
3402
|
# If this is a `zip` PaymentMethod, this hash contains details about the Zip payment method.
|
3982
3403
|
sig { returns(::Stripe::SetupIntent::ConfirmParams::PaymentMethodData::Zip) }
|
3983
3404
|
attr_accessor :zip
|
3984
|
-
|
3985
3405
|
sig {
|
3986
|
-
params(acss_debit: ::Stripe::SetupIntent::ConfirmParams::PaymentMethodData::AcssDebit, affirm: ::Stripe::SetupIntent::ConfirmParams::PaymentMethodData::Affirm, afterpay_clearpay: ::Stripe::SetupIntent::ConfirmParams::PaymentMethodData::AfterpayClearpay, alipay: ::Stripe::SetupIntent::ConfirmParams::PaymentMethodData::Alipay, allow_redisplay: String, alma: ::Stripe::SetupIntent::ConfirmParams::PaymentMethodData::Alma, amazon_pay: ::Stripe::SetupIntent::ConfirmParams::PaymentMethodData::AmazonPay, au_becs_debit: ::Stripe::SetupIntent::ConfirmParams::PaymentMethodData::AuBecsDebit, bacs_debit: ::Stripe::SetupIntent::ConfirmParams::PaymentMethodData::BacsDebit, bancontact: ::Stripe::SetupIntent::ConfirmParams::PaymentMethodData::Bancontact, billing_details: ::Stripe::SetupIntent::ConfirmParams::PaymentMethodData::BillingDetails, blik: ::Stripe::SetupIntent::ConfirmParams::PaymentMethodData::Blik, boleto: ::Stripe::SetupIntent::ConfirmParams::PaymentMethodData::Boleto, cashapp: ::Stripe::SetupIntent::ConfirmParams::PaymentMethodData::Cashapp, customer_balance: ::Stripe::SetupIntent::ConfirmParams::PaymentMethodData::CustomerBalance, eps: ::Stripe::SetupIntent::ConfirmParams::PaymentMethodData::Eps, fpx: ::Stripe::SetupIntent::ConfirmParams::PaymentMethodData::Fpx, giropay: ::Stripe::SetupIntent::ConfirmParams::PaymentMethodData::Giropay, gopay: ::Stripe::SetupIntent::ConfirmParams::PaymentMethodData::Gopay, grabpay: ::Stripe::SetupIntent::ConfirmParams::PaymentMethodData::Grabpay, id_bank_transfer: ::Stripe::SetupIntent::ConfirmParams::PaymentMethodData::IdBankTransfer, ideal: ::Stripe::SetupIntent::ConfirmParams::PaymentMethodData::Ideal, interac_present: ::Stripe::SetupIntent::ConfirmParams::PaymentMethodData::InteracPresent, kakao_pay: ::Stripe::SetupIntent::ConfirmParams::PaymentMethodData::KakaoPay, klarna: ::Stripe::SetupIntent::ConfirmParams::PaymentMethodData::Klarna, konbini: ::Stripe::SetupIntent::ConfirmParams::PaymentMethodData::Konbini, kr_card: ::Stripe::SetupIntent::ConfirmParams::PaymentMethodData::KrCard, link: ::Stripe::SetupIntent::ConfirmParams::PaymentMethodData::Link, mb_way: ::Stripe::SetupIntent::ConfirmParams::PaymentMethodData::MbWay, metadata: T::Hash[String, String], mobilepay: ::Stripe::SetupIntent::ConfirmParams::PaymentMethodData::Mobilepay, multibanco: ::Stripe::SetupIntent::ConfirmParams::PaymentMethodData::Multibanco, naver_pay: ::Stripe::SetupIntent::ConfirmParams::PaymentMethodData::NaverPay, oxxo: ::Stripe::SetupIntent::ConfirmParams::PaymentMethodData::Oxxo, p24: ::Stripe::SetupIntent::ConfirmParams::PaymentMethodData::P24, payco: ::Stripe::SetupIntent::ConfirmParams::PaymentMethodData::Payco, paynow: ::Stripe::SetupIntent::ConfirmParams::PaymentMethodData::Paynow, paypal: ::Stripe::SetupIntent::ConfirmParams::PaymentMethodData::Paypal, payto: ::Stripe::SetupIntent::ConfirmParams::PaymentMethodData::Payto, pix: ::Stripe::SetupIntent::ConfirmParams::PaymentMethodData::Pix, promptpay: ::Stripe::SetupIntent::ConfirmParams::PaymentMethodData::Promptpay, qris: ::Stripe::SetupIntent::ConfirmParams::PaymentMethodData::Qris, radar_options: ::Stripe::SetupIntent::ConfirmParams::PaymentMethodData::RadarOptions, rechnung: ::Stripe::SetupIntent::ConfirmParams::PaymentMethodData::Rechnung, revolut_pay: ::Stripe::SetupIntent::ConfirmParams::PaymentMethodData::RevolutPay, samsung_pay: ::Stripe::SetupIntent::ConfirmParams::PaymentMethodData::SamsungPay, sepa_debit: ::Stripe::SetupIntent::ConfirmParams::PaymentMethodData::SepaDebit, shopeepay: ::Stripe::SetupIntent::ConfirmParams::PaymentMethodData::Shopeepay, sofort: ::Stripe::SetupIntent::ConfirmParams::PaymentMethodData::Sofort, swish: ::Stripe::SetupIntent::ConfirmParams::PaymentMethodData::Swish, twint: ::Stripe::SetupIntent::ConfirmParams::PaymentMethodData::Twint, type: String, us_bank_account: ::Stripe::SetupIntent::ConfirmParams::PaymentMethodData::UsBankAccount, wechat_pay: ::Stripe::SetupIntent::ConfirmParams::PaymentMethodData::WechatPay, zip: ::Stripe::SetupIntent::ConfirmParams::PaymentMethodData::Zip).void
|
3406
|
+
params(acss_debit: ::Stripe::SetupIntent::ConfirmParams::PaymentMethodData::AcssDebit, affirm: ::Stripe::SetupIntent::ConfirmParams::PaymentMethodData::Affirm, afterpay_clearpay: ::Stripe::SetupIntent::ConfirmParams::PaymentMethodData::AfterpayClearpay, alipay: ::Stripe::SetupIntent::ConfirmParams::PaymentMethodData::Alipay, allow_redisplay: String, alma: ::Stripe::SetupIntent::ConfirmParams::PaymentMethodData::Alma, amazon_pay: ::Stripe::SetupIntent::ConfirmParams::PaymentMethodData::AmazonPay, au_becs_debit: ::Stripe::SetupIntent::ConfirmParams::PaymentMethodData::AuBecsDebit, bacs_debit: ::Stripe::SetupIntent::ConfirmParams::PaymentMethodData::BacsDebit, bancontact: ::Stripe::SetupIntent::ConfirmParams::PaymentMethodData::Bancontact, billing_details: ::Stripe::SetupIntent::ConfirmParams::PaymentMethodData::BillingDetails, blik: ::Stripe::SetupIntent::ConfirmParams::PaymentMethodData::Blik, boleto: ::Stripe::SetupIntent::ConfirmParams::PaymentMethodData::Boleto, cashapp: ::Stripe::SetupIntent::ConfirmParams::PaymentMethodData::Cashapp, customer_balance: ::Stripe::SetupIntent::ConfirmParams::PaymentMethodData::CustomerBalance, eps: ::Stripe::SetupIntent::ConfirmParams::PaymentMethodData::Eps, fpx: ::Stripe::SetupIntent::ConfirmParams::PaymentMethodData::Fpx, giropay: ::Stripe::SetupIntent::ConfirmParams::PaymentMethodData::Giropay, gopay: ::Stripe::SetupIntent::ConfirmParams::PaymentMethodData::Gopay, grabpay: ::Stripe::SetupIntent::ConfirmParams::PaymentMethodData::Grabpay, id_bank_transfer: ::Stripe::SetupIntent::ConfirmParams::PaymentMethodData::IdBankTransfer, ideal: ::Stripe::SetupIntent::ConfirmParams::PaymentMethodData::Ideal, interac_present: ::Stripe::SetupIntent::ConfirmParams::PaymentMethodData::InteracPresent, kakao_pay: ::Stripe::SetupIntent::ConfirmParams::PaymentMethodData::KakaoPay, klarna: ::Stripe::SetupIntent::ConfirmParams::PaymentMethodData::Klarna, konbini: ::Stripe::SetupIntent::ConfirmParams::PaymentMethodData::Konbini, kr_card: ::Stripe::SetupIntent::ConfirmParams::PaymentMethodData::KrCard, link: ::Stripe::SetupIntent::ConfirmParams::PaymentMethodData::Link, mb_way: ::Stripe::SetupIntent::ConfirmParams::PaymentMethodData::MbWay, metadata: T::Hash[String, String], mobilepay: ::Stripe::SetupIntent::ConfirmParams::PaymentMethodData::Mobilepay, multibanco: ::Stripe::SetupIntent::ConfirmParams::PaymentMethodData::Multibanco, naver_pay: ::Stripe::SetupIntent::ConfirmParams::PaymentMethodData::NaverPay, oxxo: ::Stripe::SetupIntent::ConfirmParams::PaymentMethodData::Oxxo, p24: ::Stripe::SetupIntent::ConfirmParams::PaymentMethodData::P24, pay_by_bank: ::Stripe::SetupIntent::ConfirmParams::PaymentMethodData::PayByBank, payco: ::Stripe::SetupIntent::ConfirmParams::PaymentMethodData::Payco, paynow: ::Stripe::SetupIntent::ConfirmParams::PaymentMethodData::Paynow, paypal: ::Stripe::SetupIntent::ConfirmParams::PaymentMethodData::Paypal, payto: ::Stripe::SetupIntent::ConfirmParams::PaymentMethodData::Payto, pix: ::Stripe::SetupIntent::ConfirmParams::PaymentMethodData::Pix, promptpay: ::Stripe::SetupIntent::ConfirmParams::PaymentMethodData::Promptpay, qris: ::Stripe::SetupIntent::ConfirmParams::PaymentMethodData::Qris, radar_options: ::Stripe::SetupIntent::ConfirmParams::PaymentMethodData::RadarOptions, rechnung: ::Stripe::SetupIntent::ConfirmParams::PaymentMethodData::Rechnung, revolut_pay: ::Stripe::SetupIntent::ConfirmParams::PaymentMethodData::RevolutPay, samsung_pay: ::Stripe::SetupIntent::ConfirmParams::PaymentMethodData::SamsungPay, sepa_debit: ::Stripe::SetupIntent::ConfirmParams::PaymentMethodData::SepaDebit, shopeepay: ::Stripe::SetupIntent::ConfirmParams::PaymentMethodData::Shopeepay, sofort: ::Stripe::SetupIntent::ConfirmParams::PaymentMethodData::Sofort, swish: ::Stripe::SetupIntent::ConfirmParams::PaymentMethodData::Swish, twint: ::Stripe::SetupIntent::ConfirmParams::PaymentMethodData::Twint, type: String, us_bank_account: ::Stripe::SetupIntent::ConfirmParams::PaymentMethodData::UsBankAccount, wechat_pay: ::Stripe::SetupIntent::ConfirmParams::PaymentMethodData::WechatPay, zip: ::Stripe::SetupIntent::ConfirmParams::PaymentMethodData::Zip).void
|
3987
3407
|
}
|
3988
3408
|
def initialize(
|
3989
3409
|
acss_debit: nil,
|
@@ -4021,6 +3441,7 @@ module Stripe
|
|
4021
3441
|
naver_pay: nil,
|
4022
3442
|
oxxo: nil,
|
4023
3443
|
p24: nil,
|
3444
|
+
pay_by_bank: nil,
|
4024
3445
|
payco: nil,
|
4025
3446
|
paynow: nil,
|
4026
3447
|
paypal: nil,
|
@@ -4051,23 +3472,18 @@ module Stripe
|
|
4051
3472
|
# or `setup_intent` and `setup_intent_client_secret` when confirming a Setup Intent.
|
4052
3473
|
sig { returns(T.nilable(String)) }
|
4053
3474
|
attr_accessor :custom_mandate_url
|
4054
|
-
|
4055
3475
|
# List of Stripe products where this mandate can be selected automatically.
|
4056
3476
|
sig { returns(T::Array[String]) }
|
4057
3477
|
attr_accessor :default_for
|
4058
|
-
|
4059
3478
|
# Description of the mandate interval. Only required if 'payment_schedule' parameter is 'interval' or 'combined'.
|
4060
3479
|
sig { returns(String) }
|
4061
3480
|
attr_accessor :interval_description
|
4062
|
-
|
4063
3481
|
# Payment schedule for the mandate.
|
4064
3482
|
sig { returns(String) }
|
4065
3483
|
attr_accessor :payment_schedule
|
4066
|
-
|
4067
3484
|
# Transaction type of the mandate.
|
4068
3485
|
sig { returns(String) }
|
4069
3486
|
attr_accessor :transaction_type
|
4070
|
-
|
4071
3487
|
sig {
|
4072
3488
|
params(custom_mandate_url: T.nilable(String), default_for: T::Array[String], interval_description: String, payment_schedule: String, transaction_type: String).void
|
4073
3489
|
}
|
@@ -4082,17 +3498,14 @@ module Stripe
|
|
4082
3498
|
# 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).
|
4083
3499
|
sig { returns(String) }
|
4084
3500
|
attr_accessor :currency
|
4085
|
-
|
4086
3501
|
# Additional fields for Mandate creation
|
4087
3502
|
sig {
|
4088
3503
|
returns(::Stripe::SetupIntent::ConfirmParams::PaymentMethodOptions::AcssDebit::MandateOptions)
|
4089
3504
|
}
|
4090
3505
|
attr_accessor :mandate_options
|
4091
|
-
|
4092
3506
|
# Bank account verification method.
|
4093
3507
|
sig { returns(String) }
|
4094
3508
|
attr_accessor :verification_method
|
4095
|
-
|
4096
3509
|
sig {
|
4097
3510
|
params(currency: String, mandate_options: ::Stripe::SetupIntent::ConfirmParams::PaymentMethodOptions::AcssDebit::MandateOptions, verification_method: String).void
|
4098
3511
|
}
|
@@ -4106,7 +3519,6 @@ module Stripe
|
|
4106
3519
|
# Prefix used to generate the Mandate reference. Must be at most 12 characters long. Must consist of only uppercase letters, numbers, spaces, or the following special characters: '/', '_', '-', '&', '.'. Cannot begin with 'DDIC' or 'STRIPE'.
|
4107
3520
|
sig { returns(T.nilable(String)) }
|
4108
3521
|
attr_accessor :reference_prefix
|
4109
|
-
|
4110
3522
|
sig { params(reference_prefix: T.nilable(String)).void }
|
4111
3523
|
def initialize(reference_prefix: nil); end
|
4112
3524
|
end
|
@@ -4115,7 +3527,6 @@ module Stripe
|
|
4115
3527
|
returns(::Stripe::SetupIntent::ConfirmParams::PaymentMethodOptions::BacsDebit::MandateOptions)
|
4116
3528
|
}
|
4117
3529
|
attr_accessor :mandate_options
|
4118
|
-
|
4119
3530
|
sig {
|
4120
3531
|
params(mandate_options: ::Stripe::SetupIntent::ConfirmParams::PaymentMethodOptions::BacsDebit::MandateOptions).void
|
4121
3532
|
}
|
@@ -4126,43 +3537,33 @@ module Stripe
|
|
4126
3537
|
# Amount to be charged for future payments.
|
4127
3538
|
sig { returns(Integer) }
|
4128
3539
|
attr_accessor :amount
|
4129
|
-
|
4130
3540
|
# One of `fixed` or `maximum`. If `fixed`, the `amount` param refers to the exact amount to be charged in future payments. If `maximum`, the amount charged can be up to the value passed for the `amount` param.
|
4131
3541
|
sig { returns(String) }
|
4132
3542
|
attr_accessor :amount_type
|
4133
|
-
|
4134
3543
|
# Currency in which future payments will be charged. 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).
|
4135
3544
|
sig { returns(String) }
|
4136
3545
|
attr_accessor :currency
|
4137
|
-
|
4138
3546
|
# A description of the mandate or subscription that is meant to be displayed to the customer.
|
4139
3547
|
sig { returns(String) }
|
4140
3548
|
attr_accessor :description
|
4141
|
-
|
4142
3549
|
# End date of the mandate or subscription. If not provided, the mandate will be active until canceled. If provided, end date should be after start date.
|
4143
3550
|
sig { returns(Integer) }
|
4144
3551
|
attr_accessor :end_date
|
4145
|
-
|
4146
3552
|
# Specifies payment frequency. One of `day`, `week`, `month`, `year`, or `sporadic`.
|
4147
3553
|
sig { returns(String) }
|
4148
3554
|
attr_accessor :interval
|
4149
|
-
|
4150
3555
|
# The number of intervals between payments. For example, `interval=month` and `interval_count=3` indicates one payment every three months. Maximum of one year interval allowed (1 year, 12 months, or 52 weeks). This parameter is optional when `interval=sporadic`.
|
4151
3556
|
sig { returns(Integer) }
|
4152
3557
|
attr_accessor :interval_count
|
4153
|
-
|
4154
3558
|
# Unique identifier for the mandate or subscription.
|
4155
3559
|
sig { returns(String) }
|
4156
3560
|
attr_accessor :reference
|
4157
|
-
|
4158
3561
|
# Start date of the mandate or subscription. Start date should not be lesser than yesterday.
|
4159
3562
|
sig { returns(Integer) }
|
4160
3563
|
attr_accessor :start_date
|
4161
|
-
|
4162
3564
|
# Specifies the type of mandates supported. Possible values are `india`.
|
4163
3565
|
sig { returns(T::Array[String]) }
|
4164
3566
|
attr_accessor :supported_types
|
4165
|
-
|
4166
3567
|
sig {
|
4167
3568
|
params(amount: Integer, amount_type: String, currency: String, description: String, end_date: Integer, interval: String, interval_count: Integer, reference: String, start_date: Integer, supported_types: T::Array[String]).void
|
4168
3569
|
}
|
@@ -4187,19 +3588,16 @@ module Stripe
|
|
4187
3588
|
# messageExtension: CB-AVALGO
|
4188
3589
|
sig { returns(String) }
|
4189
3590
|
attr_accessor :cb_avalgo
|
4190
|
-
|
4191
3591
|
# The exemption indicator returned from Cartes Bancaires in the ARes.
|
4192
3592
|
# message extension: CB-EXEMPTION; string (4 characters)
|
4193
3593
|
# This is a 3 byte bitmap (low significant byte first and most significant
|
4194
3594
|
# bit first) that has been Base64 encoded
|
4195
3595
|
sig { returns(String) }
|
4196
3596
|
attr_accessor :cb_exemption
|
4197
|
-
|
4198
3597
|
# The risk score returned from Cartes Bancaires in the ARes.
|
4199
3598
|
# message extension: CB-SCORE; numeric value 0-99
|
4200
3599
|
sig { returns(Integer) }
|
4201
3600
|
attr_accessor :cb_score
|
4202
|
-
|
4203
3601
|
sig { params(cb_avalgo: String, cb_exemption: String, cb_score: Integer).void }
|
4204
3602
|
def initialize(cb_avalgo: nil, cb_exemption: nil, cb_score: nil); end
|
4205
3603
|
end
|
@@ -4208,7 +3606,6 @@ module Stripe
|
|
4208
3606
|
returns(::Stripe::SetupIntent::ConfirmParams::PaymentMethodOptions::Card::ThreeDSecure::NetworkOptions::CartesBancaires)
|
4209
3607
|
}
|
4210
3608
|
attr_accessor :cartes_bancaires
|
4211
|
-
|
4212
3609
|
sig {
|
4213
3610
|
params(cartes_bancaires: ::Stripe::SetupIntent::ConfirmParams::PaymentMethodOptions::Card::ThreeDSecure::NetworkOptions::CartesBancaires).void
|
4214
3611
|
}
|
@@ -4217,19 +3614,16 @@ module Stripe
|
|
4217
3614
|
# The `transStatus` returned from the card Issuer’s ACS in the ARes.
|
4218
3615
|
sig { returns(String) }
|
4219
3616
|
attr_accessor :ares_trans_status
|
4220
|
-
|
4221
3617
|
# The cryptogram, also known as the "authentication value" (AAV, CAVV or
|
4222
3618
|
# AEVV). This value is 20 bytes, base64-encoded into a 28-character string.
|
4223
3619
|
# (Most 3D Secure providers will return the base64-encoded version, which
|
4224
3620
|
# is what you should specify here.)
|
4225
3621
|
sig { returns(String) }
|
4226
3622
|
attr_accessor :cryptogram
|
4227
|
-
|
4228
3623
|
# The Electronic Commerce Indicator (ECI) is returned by your 3D Secure
|
4229
3624
|
# provider and indicates what degree of authentication was performed.
|
4230
3625
|
sig { returns(String) }
|
4231
3626
|
attr_accessor :electronic_commerce_indicator
|
4232
|
-
|
4233
3627
|
# Network specific 3DS fields. Network specific arguments require an
|
4234
3628
|
# explicit card brand choice. The parameter `payment_method_options.card.network``
|
4235
3629
|
# must be populated accordingly
|
@@ -4237,21 +3631,17 @@ module Stripe
|
|
4237
3631
|
returns(::Stripe::SetupIntent::ConfirmParams::PaymentMethodOptions::Card::ThreeDSecure::NetworkOptions)
|
4238
3632
|
}
|
4239
3633
|
attr_accessor :network_options
|
4240
|
-
|
4241
3634
|
# The challenge indicator (`threeDSRequestorChallengeInd`) which was requested in the
|
4242
3635
|
# AReq sent to the card Issuer's ACS. A string containing 2 digits from 01-99.
|
4243
3636
|
sig { returns(String) }
|
4244
3637
|
attr_accessor :requestor_challenge_indicator
|
4245
|
-
|
4246
3638
|
# For 3D Secure 1, the XID. For 3D Secure 2, the Directory Server
|
4247
3639
|
# Transaction ID (dsTransID).
|
4248
3640
|
sig { returns(String) }
|
4249
3641
|
attr_accessor :transaction_id
|
4250
|
-
|
4251
3642
|
# The version of 3D Secure that was performed.
|
4252
3643
|
sig { returns(String) }
|
4253
3644
|
attr_accessor :version
|
4254
|
-
|
4255
3645
|
sig {
|
4256
3646
|
params(ares_trans_status: String, cryptogram: String, electronic_commerce_indicator: String, network_options: ::Stripe::SetupIntent::ConfirmParams::PaymentMethodOptions::Card::ThreeDSecure::NetworkOptions, requestor_challenge_indicator: String, transaction_id: String, version: String).void
|
4257
3647
|
}
|
@@ -4270,28 +3660,23 @@ module Stripe
|
|
4270
3660
|
returns(::Stripe::SetupIntent::ConfirmParams::PaymentMethodOptions::Card::MandateOptions)
|
4271
3661
|
}
|
4272
3662
|
attr_accessor :mandate_options
|
4273
|
-
|
4274
3663
|
# When specified, this parameter signals that a card has been collected
|
4275
3664
|
# as MOTO (Mail Order Telephone Order) and thus out of scope for SCA. This
|
4276
3665
|
# parameter can only be provided during confirmation.
|
4277
3666
|
sig { returns(T::Boolean) }
|
4278
3667
|
attr_accessor :moto
|
4279
|
-
|
4280
3668
|
# Selected network to process this SetupIntent on. Depends on the available networks of the card attached to the SetupIntent. Can be only set confirm-time.
|
4281
3669
|
sig { returns(String) }
|
4282
3670
|
attr_accessor :network
|
4283
|
-
|
4284
3671
|
# We strongly recommend that you rely on our SCA Engine to automatically prompt your customers for authentication based on risk level and [other requirements](https://stripe.com/docs/strong-customer-authentication). However, if you wish to request 3D Secure based on logic from your own fraud engine, provide this option. If not provided, this value defaults to `automatic`. Read our guide on [manually requesting 3D Secure](https://stripe.com/docs/payments/3d-secure/authentication-flow#manual-three-ds) for more information on how this configuration interacts with Radar and our SCA Engine.
|
4285
3672
|
sig { returns(String) }
|
4286
3673
|
attr_accessor :request_three_d_secure
|
4287
|
-
|
4288
3674
|
# If 3D Secure authentication was performed with a third-party provider,
|
4289
3675
|
# the authentication details to use for this setup.
|
4290
3676
|
sig {
|
4291
3677
|
returns(::Stripe::SetupIntent::ConfirmParams::PaymentMethodOptions::Card::ThreeDSecure)
|
4292
3678
|
}
|
4293
3679
|
attr_accessor :three_d_secure
|
4294
|
-
|
4295
3680
|
sig {
|
4296
3681
|
params(mandate_options: ::Stripe::SetupIntent::ConfirmParams::PaymentMethodOptions::Card::MandateOptions, moto: T::Boolean, network: String, request_three_d_secure: String, three_d_secure: ::Stripe::SetupIntent::ConfirmParams::PaymentMethodOptions::Card::ThreeDSecure).void
|
4297
3682
|
}
|
@@ -4310,7 +3695,6 @@ module Stripe
|
|
4310
3695
|
# [Deprecated] This is a legacy parameter that no longer has any function.
|
4311
3696
|
sig { returns(String) }
|
4312
3697
|
attr_accessor :persistent_token
|
4313
|
-
|
4314
3698
|
sig { params(persistent_token: String).void }
|
4315
3699
|
def initialize(persistent_token: nil); end
|
4316
3700
|
end
|
@@ -4318,15 +3702,12 @@ module Stripe
|
|
4318
3702
|
# The PayPal Billing Agreement ID (BAID). This is an ID generated by PayPal which represents the mandate between the merchant and the customer.
|
4319
3703
|
sig { returns(String) }
|
4320
3704
|
attr_accessor :billing_agreement_id
|
4321
|
-
|
4322
3705
|
# Attribute for param field currency
|
4323
3706
|
sig { returns(String) }
|
4324
3707
|
attr_accessor :currency
|
4325
|
-
|
4326
3708
|
# The Stripe connected account IDs of the sellers on the platform for this transaction (optional). Only allowed when [separate charges and transfers](https://stripe.com/docs/connect/separate-charges-and-transfers) are used.
|
4327
3709
|
sig { returns(T::Array[String]) }
|
4328
3710
|
attr_accessor :subsellers
|
4329
|
-
|
4330
3711
|
sig {
|
4331
3712
|
params(billing_agreement_id: String, currency: String, subsellers: T::Array[String]).void
|
4332
3713
|
}
|
@@ -4337,31 +3718,24 @@ module Stripe
|
|
4337
3718
|
# Amount that will be collected. It is required when `amount_type` is `fixed`.
|
4338
3719
|
sig { returns(Integer) }
|
4339
3720
|
attr_accessor :amount
|
4340
|
-
|
4341
3721
|
# The type of amount that will be collected. The amount charged must be exact or up to the value of `amount` param for `fixed` or `maximum` type respectively.
|
4342
3722
|
sig { returns(String) }
|
4343
3723
|
attr_accessor :amount_type
|
4344
|
-
|
4345
3724
|
# Date, in YYYY-MM-DD format, after which payments will not be collected. Defaults to no end date.
|
4346
3725
|
sig { returns(String) }
|
4347
3726
|
attr_accessor :end_date
|
4348
|
-
|
4349
3727
|
# The periodicity at which payments will be collected.
|
4350
3728
|
sig { returns(String) }
|
4351
3729
|
attr_accessor :payment_schedule
|
4352
|
-
|
4353
3730
|
# The number of payments that will be made during a payment period. Defaults to 1 except for when `payment_schedule` is `adhoc`. In that case, it defaults to no limit.
|
4354
3731
|
sig { returns(Integer) }
|
4355
3732
|
attr_accessor :payments_per_period
|
4356
|
-
|
4357
3733
|
# The purpose for which payments are made. Defaults to retail.
|
4358
3734
|
sig { returns(String) }
|
4359
3735
|
attr_accessor :purpose
|
4360
|
-
|
4361
3736
|
# Date, in YYYY-MM-DD format, from which payments will be collected. Defaults to confirmation time.
|
4362
3737
|
sig { returns(String) }
|
4363
3738
|
attr_accessor :start_date
|
4364
|
-
|
4365
3739
|
sig {
|
4366
3740
|
params(amount: Integer, amount_type: String, end_date: String, payment_schedule: String, payments_per_period: Integer, purpose: String, start_date: String).void
|
4367
3741
|
}
|
@@ -4380,7 +3754,6 @@ module Stripe
|
|
4380
3754
|
returns(::Stripe::SetupIntent::ConfirmParams::PaymentMethodOptions::Payto::MandateOptions)
|
4381
3755
|
}
|
4382
3756
|
attr_accessor :mandate_options
|
4383
|
-
|
4384
3757
|
sig {
|
4385
3758
|
params(mandate_options: ::Stripe::SetupIntent::ConfirmParams::PaymentMethodOptions::Payto::MandateOptions).void
|
4386
3759
|
}
|
@@ -4391,7 +3764,6 @@ module Stripe
|
|
4391
3764
|
# Prefix used to generate the Mandate reference. Must be at most 12 characters long. Must consist of only uppercase letters, numbers, spaces, or the following special characters: '/', '_', '-', '&', '.'. Cannot begin with 'STRIPE'.
|
4392
3765
|
sig { returns(T.nilable(String)) }
|
4393
3766
|
attr_accessor :reference_prefix
|
4394
|
-
|
4395
3767
|
sig { params(reference_prefix: T.nilable(String)).void }
|
4396
3768
|
def initialize(reference_prefix: nil); end
|
4397
3769
|
end
|
@@ -4400,7 +3772,6 @@ module Stripe
|
|
4400
3772
|
returns(::Stripe::SetupIntent::ConfirmParams::PaymentMethodOptions::SepaDebit::MandateOptions)
|
4401
3773
|
}
|
4402
3774
|
attr_accessor :mandate_options
|
4403
|
-
|
4404
3775
|
sig {
|
4405
3776
|
params(mandate_options: ::Stripe::SetupIntent::ConfirmParams::PaymentMethodOptions::SepaDebit::MandateOptions).void
|
4406
3777
|
}
|
@@ -4412,11 +3783,9 @@ module Stripe
|
|
4412
3783
|
# The account subcategories to use to filter for selectable accounts. Valid subcategories are `checking` and `savings`.
|
4413
3784
|
sig { returns(T::Array[String]) }
|
4414
3785
|
attr_accessor :account_subcategories
|
4415
|
-
|
4416
3786
|
# ID of the institution to use to filter for selectable accounts.
|
4417
3787
|
sig { returns(String) }
|
4418
3788
|
attr_accessor :institution
|
4419
|
-
|
4420
3789
|
sig { params(account_subcategories: T::Array[String], institution: String).void }
|
4421
3790
|
def initialize(account_subcategories: nil, institution: nil); end
|
4422
3791
|
end
|
@@ -4424,7 +3793,6 @@ module Stripe
|
|
4424
3793
|
# Settings for configuring manual entry of account details.
|
4425
3794
|
sig { returns(String) }
|
4426
3795
|
attr_accessor :mode
|
4427
|
-
|
4428
3796
|
sig { params(mode: String).void }
|
4429
3797
|
def initialize(mode: nil); end
|
4430
3798
|
end
|
@@ -4433,25 +3801,20 @@ module Stripe
|
|
4433
3801
|
returns(::Stripe::SetupIntent::ConfirmParams::PaymentMethodOptions::UsBankAccount::FinancialConnections::Filters)
|
4434
3802
|
}
|
4435
3803
|
attr_accessor :filters
|
4436
|
-
|
4437
3804
|
# Customize manual entry behavior
|
4438
3805
|
sig {
|
4439
3806
|
returns(::Stripe::SetupIntent::ConfirmParams::PaymentMethodOptions::UsBankAccount::FinancialConnections::ManualEntry)
|
4440
3807
|
}
|
4441
3808
|
attr_accessor :manual_entry
|
4442
|
-
|
4443
3809
|
# The list of permissions to request. If this parameter is passed, the `payment_method` permission must be included. Valid permissions include: `balances`, `ownership`, `payment_method`, and `transactions`.
|
4444
3810
|
sig { returns(T::Array[String]) }
|
4445
3811
|
attr_accessor :permissions
|
4446
|
-
|
4447
3812
|
# List of data features that you would like to retrieve upon account creation.
|
4448
3813
|
sig { returns(T::Array[String]) }
|
4449
3814
|
attr_accessor :prefetch
|
4450
|
-
|
4451
3815
|
# 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.
|
4452
3816
|
sig { returns(String) }
|
4453
3817
|
attr_accessor :return_url
|
4454
|
-
|
4455
3818
|
sig {
|
4456
3819
|
params(filters: ::Stripe::SetupIntent::ConfirmParams::PaymentMethodOptions::UsBankAccount::FinancialConnections::Filters, manual_entry: ::Stripe::SetupIntent::ConfirmParams::PaymentMethodOptions::UsBankAccount::FinancialConnections::ManualEntry, permissions: T::Array[String], prefetch: T::Array[String], return_url: String).void
|
4457
3820
|
}
|
@@ -4467,7 +3830,6 @@ module Stripe
|
|
4467
3830
|
# The method used to collect offline mandate customer acceptance.
|
4468
3831
|
sig { returns(T.nilable(String)) }
|
4469
3832
|
attr_accessor :collection_method
|
4470
|
-
|
4471
3833
|
sig { params(collection_method: T.nilable(String)).void }
|
4472
3834
|
def initialize(collection_method: nil); end
|
4473
3835
|
end
|
@@ -4475,7 +3837,6 @@ module Stripe
|
|
4475
3837
|
# Triggers validations to run across the selected networks
|
4476
3838
|
sig { returns(T::Array[String]) }
|
4477
3839
|
attr_accessor :requested
|
4478
|
-
|
4479
3840
|
sig { params(requested: T::Array[String]).void }
|
4480
3841
|
def initialize(requested: nil); end
|
4481
3842
|
end
|
@@ -4484,23 +3845,19 @@ module Stripe
|
|
4484
3845
|
returns(::Stripe::SetupIntent::ConfirmParams::PaymentMethodOptions::UsBankAccount::FinancialConnections)
|
4485
3846
|
}
|
4486
3847
|
attr_accessor :financial_connections
|
4487
|
-
|
4488
3848
|
# Additional fields for Mandate creation
|
4489
3849
|
sig {
|
4490
3850
|
returns(::Stripe::SetupIntent::ConfirmParams::PaymentMethodOptions::UsBankAccount::MandateOptions)
|
4491
3851
|
}
|
4492
3852
|
attr_accessor :mandate_options
|
4493
|
-
|
4494
3853
|
# Additional fields for network related functions
|
4495
3854
|
sig {
|
4496
3855
|
returns(::Stripe::SetupIntent::ConfirmParams::PaymentMethodOptions::UsBankAccount::Networks)
|
4497
3856
|
}
|
4498
3857
|
attr_accessor :networks
|
4499
|
-
|
4500
3858
|
# Bank account verification method.
|
4501
3859
|
sig { returns(String) }
|
4502
3860
|
attr_accessor :verification_method
|
4503
|
-
|
4504
3861
|
sig {
|
4505
3862
|
params(financial_connections: ::Stripe::SetupIntent::ConfirmParams::PaymentMethodOptions::UsBankAccount::FinancialConnections, mandate_options: ::Stripe::SetupIntent::ConfirmParams::PaymentMethodOptions::UsBankAccount::MandateOptions, networks: ::Stripe::SetupIntent::ConfirmParams::PaymentMethodOptions::UsBankAccount::Networks, verification_method: String).void
|
4506
3863
|
}
|
@@ -4514,43 +3871,33 @@ module Stripe
|
|
4514
3871
|
# If this is a `acss_debit` SetupIntent, this sub-hash contains details about the ACSS Debit payment method options.
|
4515
3872
|
sig { returns(::Stripe::SetupIntent::ConfirmParams::PaymentMethodOptions::AcssDebit) }
|
4516
3873
|
attr_accessor :acss_debit
|
4517
|
-
|
4518
3874
|
# If this is a `amazon_pay` SetupIntent, this sub-hash contains details about the AmazonPay payment method options.
|
4519
3875
|
sig { returns(::Stripe::SetupIntent::ConfirmParams::PaymentMethodOptions::AmazonPay) }
|
4520
3876
|
attr_accessor :amazon_pay
|
4521
|
-
|
4522
3877
|
# If this is a `bacs_debit` SetupIntent, this sub-hash contains details about the Bacs Debit payment method options.
|
4523
3878
|
sig { returns(::Stripe::SetupIntent::ConfirmParams::PaymentMethodOptions::BacsDebit) }
|
4524
3879
|
attr_accessor :bacs_debit
|
4525
|
-
|
4526
3880
|
# Configuration for any card setup attempted on this SetupIntent.
|
4527
3881
|
sig { returns(::Stripe::SetupIntent::ConfirmParams::PaymentMethodOptions::Card) }
|
4528
3882
|
attr_accessor :card
|
4529
|
-
|
4530
3883
|
# If this is a `card_present` PaymentMethod, this sub-hash contains details about the card-present payment method options.
|
4531
3884
|
sig { returns(::Stripe::SetupIntent::ConfirmParams::PaymentMethodOptions::CardPresent) }
|
4532
3885
|
attr_accessor :card_present
|
4533
|
-
|
4534
3886
|
# If this is a `link` PaymentMethod, this sub-hash contains details about the Link payment method options.
|
4535
3887
|
sig { returns(::Stripe::SetupIntent::ConfirmParams::PaymentMethodOptions::Link) }
|
4536
3888
|
attr_accessor :link
|
4537
|
-
|
4538
3889
|
# If this is a `paypal` PaymentMethod, this sub-hash contains details about the PayPal payment method options.
|
4539
3890
|
sig { returns(::Stripe::SetupIntent::ConfirmParams::PaymentMethodOptions::Paypal) }
|
4540
3891
|
attr_accessor :paypal
|
4541
|
-
|
4542
3892
|
# If this is a `payto` SetupIntent, this sub-hash contains details about the PayTo payment method options.
|
4543
3893
|
sig { returns(::Stripe::SetupIntent::ConfirmParams::PaymentMethodOptions::Payto) }
|
4544
3894
|
attr_accessor :payto
|
4545
|
-
|
4546
3895
|
# If this is a `sepa_debit` SetupIntent, this sub-hash contains details about the SEPA Debit payment method options.
|
4547
3896
|
sig { returns(::Stripe::SetupIntent::ConfirmParams::PaymentMethodOptions::SepaDebit) }
|
4548
3897
|
attr_accessor :sepa_debit
|
4549
|
-
|
4550
3898
|
# If this is a `us_bank_account` SetupIntent, this sub-hash contains details about the US bank account payment method options.
|
4551
3899
|
sig { returns(::Stripe::SetupIntent::ConfirmParams::PaymentMethodOptions::UsBankAccount) }
|
4552
3900
|
attr_accessor :us_bank_account
|
4553
|
-
|
4554
3901
|
sig {
|
4555
3902
|
params(acss_debit: ::Stripe::SetupIntent::ConfirmParams::PaymentMethodOptions::AcssDebit, amazon_pay: ::Stripe::SetupIntent::ConfirmParams::PaymentMethodOptions::AmazonPay, bacs_debit: ::Stripe::SetupIntent::ConfirmParams::PaymentMethodOptions::BacsDebit, card: ::Stripe::SetupIntent::ConfirmParams::PaymentMethodOptions::Card, card_present: ::Stripe::SetupIntent::ConfirmParams::PaymentMethodOptions::CardPresent, link: ::Stripe::SetupIntent::ConfirmParams::PaymentMethodOptions::Link, paypal: ::Stripe::SetupIntent::ConfirmParams::PaymentMethodOptions::Paypal, payto: ::Stripe::SetupIntent::ConfirmParams::PaymentMethodOptions::Payto, sepa_debit: ::Stripe::SetupIntent::ConfirmParams::PaymentMethodOptions::SepaDebit, us_bank_account: ::Stripe::SetupIntent::ConfirmParams::PaymentMethodOptions::UsBankAccount).void
|
4556
3903
|
}
|
@@ -4572,38 +3919,30 @@ module Stripe
|
|
4572
3919
|
# If the provided ConfirmationToken contains properties that are also being provided in this request, such as `payment_method`, then the values in this request will take precedence.
|
4573
3920
|
sig { returns(String) }
|
4574
3921
|
attr_accessor :confirmation_token
|
4575
|
-
|
4576
3922
|
# Specifies which fields in the response should be expanded.
|
4577
3923
|
sig { returns(T::Array[String]) }
|
4578
3924
|
attr_accessor :expand
|
4579
|
-
|
4580
3925
|
# Attribute for param field mandate_data
|
4581
3926
|
sig { returns(T.nilable(::Stripe::SetupIntent::ConfirmParams::MandateData)) }
|
4582
3927
|
attr_accessor :mandate_data
|
4583
|
-
|
4584
3928
|
# ID of the payment method (a PaymentMethod, Card, or saved Source object) to attach to this SetupIntent.
|
4585
3929
|
sig { returns(String) }
|
4586
3930
|
attr_accessor :payment_method
|
4587
|
-
|
4588
3931
|
# When included, this hash creates a PaymentMethod that is set as the [`payment_method`](https://stripe.com/docs/api/setup_intents/object#setup_intent_object-payment_method)
|
4589
3932
|
# value in the SetupIntent.
|
4590
3933
|
sig { returns(::Stripe::SetupIntent::ConfirmParams::PaymentMethodData) }
|
4591
3934
|
attr_accessor :payment_method_data
|
4592
|
-
|
4593
3935
|
# Payment method-specific configuration for this SetupIntent.
|
4594
3936
|
sig { returns(::Stripe::SetupIntent::ConfirmParams::PaymentMethodOptions) }
|
4595
3937
|
attr_accessor :payment_method_options
|
4596
|
-
|
4597
3938
|
# The URL to redirect your customer back to after they authenticate on the payment method's app or site.
|
4598
3939
|
# If you'd prefer to redirect to a mobile application, you can alternatively supply an application URI scheme.
|
4599
3940
|
# This parameter is only used for cards and other redirect-based payment methods.
|
4600
3941
|
sig { returns(String) }
|
4601
3942
|
attr_accessor :return_url
|
4602
|
-
|
4603
3943
|
# Set to `true` when confirming server-side and using Stripe.js, iOS, or Android client-side SDKs to handle the next actions.
|
4604
3944
|
sig { returns(T::Boolean) }
|
4605
3945
|
attr_accessor :use_stripe_sdk
|
4606
|
-
|
4607
3946
|
sig {
|
4608
3947
|
params(confirmation_token: String, expand: T::Array[String], mandate_data: T.nilable(::Stripe::SetupIntent::ConfirmParams::MandateData), payment_method: String, payment_method_data: ::Stripe::SetupIntent::ConfirmParams::PaymentMethodData, payment_method_options: ::Stripe::SetupIntent::ConfirmParams::PaymentMethodOptions, return_url: String, use_stripe_sdk: T::Boolean).void
|
4609
3948
|
}
|
@@ -4622,15 +3961,12 @@ module Stripe
|
|
4622
3961
|
# Two positive integers, in *cents*, equal to the values of the microdeposits sent to the bank account.
|
4623
3962
|
sig { returns(T::Array[Integer]) }
|
4624
3963
|
attr_accessor :amounts
|
4625
|
-
|
4626
3964
|
# A six-character code starting with SM present in the microdeposit sent to the bank account.
|
4627
3965
|
sig { returns(String) }
|
4628
3966
|
attr_accessor :descriptor_code
|
4629
|
-
|
4630
3967
|
# Specifies which fields in the response should be expanded.
|
4631
3968
|
sig { returns(T::Array[String]) }
|
4632
3969
|
attr_accessor :expand
|
4633
|
-
|
4634
3970
|
sig {
|
4635
3971
|
params(amounts: T::Array[Integer], descriptor_code: String, expand: T::Array[String]).void
|
4636
3972
|
}
|