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
@@ -38,36 +38,29 @@ module Stripe
|
|
38
38
|
#
|
39
39
|
# 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.
|
40
40
|
attr_reader :allow_redirects
|
41
|
-
|
42
41
|
# Automatically calculates compatible payment methods
|
43
42
|
attr_reader :enabled
|
44
43
|
end
|
45
44
|
|
46
45
|
class LastSetupError < Stripe::StripeObject
|
46
|
+
# 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.
|
47
|
+
attr_reader :advice_code
|
47
48
|
# For card errors, the ID of the failed charge.
|
48
49
|
attr_reader :charge
|
49
|
-
|
50
50
|
# For some errors that could be handled programmatically, a short string indicating the [error code](https://stripe.com/docs/error-codes) reported.
|
51
51
|
attr_reader :code
|
52
|
-
|
53
52
|
# 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.
|
54
53
|
attr_reader :decline_code
|
55
|
-
|
56
54
|
# A URL to more information about the [error code](https://stripe.com/docs/error-codes) reported.
|
57
55
|
attr_reader :doc_url
|
58
|
-
|
59
56
|
# A human-readable message providing more details about the error. For card errors, these messages can be shown to your users.
|
60
57
|
attr_reader :message
|
61
|
-
|
62
58
|
# 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.
|
63
59
|
attr_reader :network_advice_code
|
64
|
-
|
65
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.
|
66
61
|
attr_reader :network_decline_code
|
67
|
-
|
68
62
|
# 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
63
|
attr_reader :param
|
70
|
-
|
71
64
|
# A PaymentIntent guides you through the process of collecting a payment from your customer.
|
72
65
|
# We recommend that you create exactly one PaymentIntent for each order or
|
73
66
|
# customer session in your system. You can reference the PaymentIntent later to
|
@@ -80,20 +73,16 @@ module Stripe
|
|
80
73
|
#
|
81
74
|
# Related guide: [Payment Intents API](https://stripe.com/docs/payments/payment-intents)
|
82
75
|
attr_reader :payment_intent
|
83
|
-
|
84
76
|
# PaymentMethod objects represent your customer's payment instruments.
|
85
77
|
# You can use them with [PaymentIntents](https://stripe.com/docs/payments/payment-intents) to collect payments or save them to
|
86
78
|
# Customer objects to store instrument details for future payments.
|
87
79
|
#
|
88
80
|
# Related guides: [Payment Methods](https://stripe.com/docs/payments/payment-methods) and [More Payment Scenarios](https://stripe.com/docs/payments/more-payment-scenarios).
|
89
81
|
attr_reader :payment_method
|
90
|
-
|
91
82
|
# 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.
|
92
83
|
attr_reader :payment_method_type
|
93
|
-
|
94
84
|
# A URL to the request log entry in your dashboard.
|
95
85
|
attr_reader :request_log_url
|
96
|
-
|
97
86
|
# A SetupIntent guides you through the process of setting up and saving a customer's payment credentials for future payments.
|
98
87
|
# For example, you can use a SetupIntent to set up and save your customer's card without immediately collecting a payment.
|
99
88
|
# Later, you can use [PaymentIntents](https://stripe.com/docs/api#payment_intents) to drive the payment flow.
|
@@ -116,10 +105,8 @@ module Stripe
|
|
116
105
|
#
|
117
106
|
# Related guide: [Setup Intents API](https://docs.stripe.com/payments/setup-intents)
|
118
107
|
attr_reader :setup_intent
|
119
|
-
|
120
108
|
# Attribute for field source
|
121
109
|
attr_reader :source
|
122
|
-
|
123
110
|
# The type of error returned. One of `api_error`, `card_error`, `idempotency_error`, or `invalid_request_error`
|
124
111
|
attr_reader :type
|
125
112
|
end
|
@@ -129,19 +116,15 @@ module Stripe
|
|
129
116
|
class QrCode < Stripe::StripeObject
|
130
117
|
# The date (unix timestamp) when the QR code expires.
|
131
118
|
attr_reader :expires_at
|
132
|
-
|
133
119
|
# The image_url_png string used to render QR code
|
134
120
|
attr_reader :image_url_png
|
135
|
-
|
136
121
|
# The image_url_svg string used to render QR code
|
137
122
|
attr_reader :image_url_svg
|
138
123
|
end
|
139
124
|
# 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.
|
140
125
|
attr_reader :hosted_instructions_url
|
141
|
-
|
142
126
|
# The url for mobile redirect based auth
|
143
127
|
attr_reader :mobile_auth_url
|
144
|
-
|
145
128
|
# Attribute for field qr_code
|
146
129
|
attr_reader :qr_code
|
147
130
|
end
|
@@ -149,7 +132,6 @@ module Stripe
|
|
149
132
|
class RedirectToUrl < Stripe::StripeObject
|
150
133
|
# If the customer does not exit their browser while authenticating, they will be redirected to this specified URL after completion.
|
151
134
|
attr_reader :return_url
|
152
|
-
|
153
135
|
# The URL you must redirect your customer to in order to authenticate.
|
154
136
|
attr_reader :url
|
155
137
|
end
|
@@ -157,25 +139,19 @@ module Stripe
|
|
157
139
|
class VerifyWithMicrodeposits < Stripe::StripeObject
|
158
140
|
# The timestamp when the microdeposits are expected to land.
|
159
141
|
attr_reader :arrival_date
|
160
|
-
|
161
142
|
# The URL for the hosted verification page, which allows customers to verify their bank account.
|
162
143
|
attr_reader :hosted_verification_url
|
163
|
-
|
164
144
|
# The type of the microdeposit sent to the customer. Used to distinguish between different verification methods.
|
165
145
|
attr_reader :microdeposit_type
|
166
146
|
end
|
167
147
|
# Attribute for field cashapp_handle_redirect_or_display_qr_code
|
168
148
|
attr_reader :cashapp_handle_redirect_or_display_qr_code
|
169
|
-
|
170
149
|
# Attribute for field redirect_to_url
|
171
150
|
attr_reader :redirect_to_url
|
172
|
-
|
173
151
|
# 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`.
|
174
152
|
attr_reader :type
|
175
|
-
|
176
153
|
# 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.
|
177
154
|
attr_reader :use_stripe_sdk
|
178
|
-
|
179
155
|
# Attribute for field verify_with_microdeposits
|
180
156
|
attr_reader :verify_with_microdeposits
|
181
157
|
end
|
@@ -183,7 +159,6 @@ module Stripe
|
|
183
159
|
class PaymentMethodConfigurationDetails < Stripe::StripeObject
|
184
160
|
# ID of the payment method configuration used.
|
185
161
|
attr_reader :id
|
186
|
-
|
187
162
|
# ID of the parent payment method configuration used.
|
188
163
|
attr_reader :parent
|
189
164
|
end
|
@@ -193,25 +168,19 @@ module Stripe
|
|
193
168
|
class MandateOptions < Stripe::StripeObject
|
194
169
|
# A URL for custom mandate text
|
195
170
|
attr_reader :custom_mandate_url
|
196
|
-
|
197
171
|
# List of Stripe products where this mandate can be selected automatically.
|
198
172
|
attr_reader :default_for
|
199
|
-
|
200
173
|
# Description of the interval. Only required if the 'payment_schedule' parameter is 'interval' or 'combined'.
|
201
174
|
attr_reader :interval_description
|
202
|
-
|
203
175
|
# Payment schedule for the mandate.
|
204
176
|
attr_reader :payment_schedule
|
205
|
-
|
206
177
|
# Transaction type of the mandate.
|
207
178
|
attr_reader :transaction_type
|
208
179
|
end
|
209
180
|
# Currency supported by the bank account
|
210
181
|
attr_reader :currency
|
211
|
-
|
212
182
|
# Attribute for field mandate_options
|
213
183
|
attr_reader :mandate_options
|
214
|
-
|
215
184
|
# Bank account verification method.
|
216
185
|
attr_reader :verification_method
|
217
186
|
end
|
@@ -231,40 +200,29 @@ module Stripe
|
|
231
200
|
class MandateOptions < Stripe::StripeObject
|
232
201
|
# Amount to be charged for future payments.
|
233
202
|
attr_reader :amount
|
234
|
-
|
235
203
|
# 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.
|
236
204
|
attr_reader :amount_type
|
237
|
-
|
238
205
|
# 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).
|
239
206
|
attr_reader :currency
|
240
|
-
|
241
207
|
# A description of the mandate or subscription that is meant to be displayed to the customer.
|
242
208
|
attr_reader :description
|
243
|
-
|
244
209
|
# 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.
|
245
210
|
attr_reader :end_date
|
246
|
-
|
247
211
|
# Specifies payment frequency. One of `day`, `week`, `month`, `year`, or `sporadic`.
|
248
212
|
attr_reader :interval
|
249
|
-
|
250
213
|
# 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`.
|
251
214
|
attr_reader :interval_count
|
252
|
-
|
253
215
|
# Unique identifier for the mandate or subscription.
|
254
216
|
attr_reader :reference
|
255
|
-
|
256
217
|
# Start date of the mandate or subscription. Start date should not be lesser than yesterday.
|
257
218
|
attr_reader :start_date
|
258
|
-
|
259
219
|
# Specifies the type of mandates supported. Possible values are `india`.
|
260
220
|
attr_reader :supported_types
|
261
221
|
end
|
262
222
|
# Configuration options for setting up an eMandate for cards issued in India.
|
263
223
|
attr_reader :mandate_options
|
264
|
-
|
265
224
|
# 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.
|
266
225
|
attr_reader :network
|
267
|
-
|
268
226
|
# 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.
|
269
227
|
attr_reader :request_three_d_secure
|
270
228
|
end
|
@@ -279,10 +237,8 @@ module Stripe
|
|
279
237
|
class Paypal < Stripe::StripeObject
|
280
238
|
# The PayPal Billing Agreement ID (BAID). This is an ID generated by PayPal which represents the mandate between the merchant and the customer.
|
281
239
|
attr_reader :billing_agreement_id
|
282
|
-
|
283
240
|
# 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).
|
284
241
|
attr_reader :currency
|
285
|
-
|
286
242
|
# 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.
|
287
243
|
attr_reader :subsellers
|
288
244
|
end
|
@@ -291,22 +247,16 @@ module Stripe
|
|
291
247
|
class MandateOptions < Stripe::StripeObject
|
292
248
|
# Amount that will be collected. It is required when `amount_type` is `fixed`.
|
293
249
|
attr_reader :amount
|
294
|
-
|
295
250
|
# 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.
|
296
251
|
attr_reader :amount_type
|
297
|
-
|
298
252
|
# Date, in YYYY-MM-DD format, after which payments will not be collected. Defaults to no end date.
|
299
253
|
attr_reader :end_date
|
300
|
-
|
301
254
|
# The periodicity at which payments will be collected.
|
302
255
|
attr_reader :payment_schedule
|
303
|
-
|
304
256
|
# 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.
|
305
257
|
attr_reader :payments_per_period
|
306
|
-
|
307
258
|
# The purpose for which payments are made. Defaults to retail.
|
308
259
|
attr_reader :purpose
|
309
|
-
|
310
260
|
# Date, in YYYY-MM-DD format, from which payments will be collected. Defaults to confirmation time.
|
311
261
|
attr_reader :start_date
|
312
262
|
end
|
@@ -328,7 +278,6 @@ module Stripe
|
|
328
278
|
class Filters < Stripe::StripeObject
|
329
279
|
# The account subcategories to use to filter for possible accounts to link. Valid subcategories are `checking` and `savings`.
|
330
280
|
attr_reader :account_subcategories
|
331
|
-
|
332
281
|
# The institution to use to filter for possible accounts to link.
|
333
282
|
attr_reader :institution
|
334
283
|
end
|
@@ -339,16 +288,12 @@ module Stripe
|
|
339
288
|
end
|
340
289
|
# Attribute for field filters
|
341
290
|
attr_reader :filters
|
342
|
-
|
343
291
|
# Attribute for field manual_entry
|
344
292
|
attr_reader :manual_entry
|
345
|
-
|
346
293
|
# The list of permissions to request. The `payment_method` permission must be included.
|
347
294
|
attr_reader :permissions
|
348
|
-
|
349
295
|
# Data features requested to be retrieved upon account creation.
|
350
296
|
attr_reader :prefetch
|
351
|
-
|
352
297
|
# 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.
|
353
298
|
attr_reader :return_url
|
354
299
|
end
|
@@ -359,40 +304,29 @@ module Stripe
|
|
359
304
|
end
|
360
305
|
# Attribute for field financial_connections
|
361
306
|
attr_reader :financial_connections
|
362
|
-
|
363
307
|
# Attribute for field mandate_options
|
364
308
|
attr_reader :mandate_options
|
365
|
-
|
366
309
|
# Bank account verification method.
|
367
310
|
attr_reader :verification_method
|
368
311
|
end
|
369
312
|
# Attribute for field acss_debit
|
370
313
|
attr_reader :acss_debit
|
371
|
-
|
372
314
|
# Attribute for field amazon_pay
|
373
315
|
attr_reader :amazon_pay
|
374
|
-
|
375
316
|
# Attribute for field bacs_debit
|
376
317
|
attr_reader :bacs_debit
|
377
|
-
|
378
318
|
# Attribute for field card
|
379
319
|
attr_reader :card
|
380
|
-
|
381
320
|
# Attribute for field card_present
|
382
321
|
attr_reader :card_present
|
383
|
-
|
384
322
|
# Attribute for field link
|
385
323
|
attr_reader :link
|
386
|
-
|
387
324
|
# Attribute for field paypal
|
388
325
|
attr_reader :paypal
|
389
|
-
|
390
326
|
# Attribute for field payto
|
391
327
|
attr_reader :payto
|
392
|
-
|
393
328
|
# Attribute for field sepa_debit
|
394
329
|
attr_reader :sepa_debit
|
395
|
-
|
396
330
|
# Attribute for field us_bank_account
|
397
331
|
attr_reader :us_bank_account
|
398
332
|
end
|
@@ -401,13 +335,10 @@ module Stripe
|
|
401
335
|
class Created < Stripe::RequestParams
|
402
336
|
# Minimum value to filter by (exclusive)
|
403
337
|
attr_accessor :gt
|
404
|
-
|
405
338
|
# Minimum value to filter by (inclusive)
|
406
339
|
attr_accessor :gte
|
407
|
-
|
408
340
|
# Maximum value to filter by (exclusive)
|
409
341
|
attr_accessor :lt
|
410
|
-
|
411
342
|
# Maximum value to filter by (inclusive)
|
412
343
|
attr_accessor :lte
|
413
344
|
|
@@ -422,25 +353,18 @@ module Stripe
|
|
422
353
|
#
|
423
354
|
# 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.
|
424
355
|
attr_accessor :attach_to_self
|
425
|
-
|
426
356
|
# 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.
|
427
357
|
attr_accessor :created
|
428
|
-
|
429
358
|
# Only return SetupIntents for the customer specified by this customer ID.
|
430
359
|
attr_accessor :customer
|
431
|
-
|
432
360
|
# 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.
|
433
361
|
attr_accessor :ending_before
|
434
|
-
|
435
362
|
# Specifies which fields in the response should be expanded.
|
436
363
|
attr_accessor :expand
|
437
|
-
|
438
364
|
# A limit on the number of objects to be returned. Limit can range between 1 and 100, and the default is 10.
|
439
365
|
attr_accessor :limit
|
440
|
-
|
441
366
|
# Only return SetupIntents that associate with the specified payment method.
|
442
367
|
attr_accessor :payment_method
|
443
|
-
|
444
368
|
# 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.
|
445
369
|
attr_accessor :starting_after
|
446
370
|
|
@@ -471,7 +395,6 @@ module Stripe
|
|
471
395
|
#
|
472
396
|
# 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.
|
473
397
|
attr_accessor :allow_redirects
|
474
|
-
|
475
398
|
# Whether this feature is enabled.
|
476
399
|
attr_accessor :enabled
|
477
400
|
|
@@ -489,7 +412,6 @@ module Stripe
|
|
489
412
|
class Online < Stripe::RequestParams
|
490
413
|
# The IP address from which the Mandate was accepted by the customer.
|
491
414
|
attr_accessor :ip_address
|
492
|
-
|
493
415
|
# The user agent of the browser from which the Mandate was accepted by the customer.
|
494
416
|
attr_accessor :user_agent
|
495
417
|
|
@@ -500,13 +422,10 @@ module Stripe
|
|
500
422
|
end
|
501
423
|
# The time at which the customer accepted the Mandate.
|
502
424
|
attr_accessor :accepted_at
|
503
|
-
|
504
425
|
# If this is a Mandate accepted offline, this hash contains details about the offline acceptance.
|
505
426
|
attr_accessor :offline
|
506
|
-
|
507
427
|
# If this is a Mandate accepted online, this hash contains details about the online acceptance.
|
508
428
|
attr_accessor :online
|
509
|
-
|
510
429
|
# The type of customer acceptance information included with the Mandate. One of `online` or `offline`.
|
511
430
|
attr_accessor :type
|
512
431
|
|
@@ -529,10 +448,8 @@ module Stripe
|
|
529
448
|
class AcssDebit < Stripe::RequestParams
|
530
449
|
# Customer's bank account number.
|
531
450
|
attr_accessor :account_number
|
532
|
-
|
533
451
|
# Institution number of the customer's bank.
|
534
452
|
attr_accessor :institution_number
|
535
|
-
|
536
453
|
# Transit number of the customer's bank.
|
537
454
|
attr_accessor :transit_number
|
538
455
|
|
@@ -561,7 +478,6 @@ module Stripe
|
|
561
478
|
class AuBecsDebit < Stripe::RequestParams
|
562
479
|
# The account number for the bank account.
|
563
480
|
attr_accessor :account_number
|
564
|
-
|
565
481
|
# Bank-State-Branch number of the bank account.
|
566
482
|
attr_accessor :bsb_number
|
567
483
|
|
@@ -574,7 +490,6 @@ module Stripe
|
|
574
490
|
class BacsDebit < Stripe::RequestParams
|
575
491
|
# Account number of the bank account that the funds will be debited from.
|
576
492
|
attr_accessor :account_number
|
577
|
-
|
578
493
|
# Sort code of the bank account. (e.g., `10-20-30`)
|
579
494
|
attr_accessor :sort_code
|
580
495
|
|
@@ -591,19 +506,14 @@ module Stripe
|
|
591
506
|
class Address < Stripe::RequestParams
|
592
507
|
# City, district, suburb, town, or village.
|
593
508
|
attr_accessor :city
|
594
|
-
|
595
509
|
# Two-letter country code ([ISO 3166-1 alpha-2](https://en.wikipedia.org/wiki/ISO_3166-1_alpha-2)).
|
596
510
|
attr_accessor :country
|
597
|
-
|
598
511
|
# Address line 1 (e.g., street, PO Box, or company name).
|
599
512
|
attr_accessor :line1
|
600
|
-
|
601
513
|
# Address line 2 (e.g., apartment, suite, unit, or building).
|
602
514
|
attr_accessor :line2
|
603
|
-
|
604
515
|
# ZIP or postal code.
|
605
516
|
attr_accessor :postal_code
|
606
|
-
|
607
517
|
# State, county, province, or region.
|
608
518
|
attr_accessor :state
|
609
519
|
|
@@ -625,13 +535,10 @@ module Stripe
|
|
625
535
|
end
|
626
536
|
# Billing address.
|
627
537
|
attr_accessor :address
|
628
|
-
|
629
538
|
# Email address.
|
630
539
|
attr_accessor :email
|
631
|
-
|
632
540
|
# Full name.
|
633
541
|
attr_accessor :name
|
634
|
-
|
635
542
|
# Billing phone number (including extension).
|
636
543
|
attr_accessor :phone
|
637
544
|
|
@@ -673,7 +580,6 @@ module Stripe
|
|
673
580
|
class Fpx < Stripe::RequestParams
|
674
581
|
# Account holder type for FPX transaction
|
675
582
|
attr_accessor :account_holder_type
|
676
|
-
|
677
583
|
# The customer's bank.
|
678
584
|
attr_accessor :bank
|
679
585
|
|
@@ -720,10 +626,8 @@ module Stripe
|
|
720
626
|
class Dob < Stripe::RequestParams
|
721
627
|
# The day of birth, between 1 and 31.
|
722
628
|
attr_accessor :day
|
723
|
-
|
724
629
|
# The month of birth, between 1 and 12.
|
725
630
|
attr_accessor :month
|
726
|
-
|
727
631
|
# The four-digit year of birth.
|
728
632
|
attr_accessor :year
|
729
633
|
|
@@ -780,6 +684,9 @@ module Stripe
|
|
780
684
|
end
|
781
685
|
end
|
782
686
|
|
687
|
+
class PayByBank < Stripe::RequestParams
|
688
|
+
end
|
689
|
+
|
783
690
|
class Payco < Stripe::RequestParams
|
784
691
|
end
|
785
692
|
|
@@ -792,10 +699,8 @@ module Stripe
|
|
792
699
|
class Payto < Stripe::RequestParams
|
793
700
|
# The account number for the bank account.
|
794
701
|
attr_accessor :account_number
|
795
|
-
|
796
702
|
# Bank-State-Branch number of the bank account.
|
797
703
|
attr_accessor :bsb_number
|
798
|
-
|
799
704
|
# The PayID alias for the bank account.
|
800
705
|
attr_accessor :pay_id
|
801
706
|
|
@@ -828,10 +733,8 @@ module Stripe
|
|
828
733
|
class Dob < Stripe::RequestParams
|
829
734
|
# The day of birth, between 1 and 31.
|
830
735
|
attr_accessor :day
|
831
|
-
|
832
736
|
# The month of birth, between 1 and 12.
|
833
737
|
attr_accessor :month
|
834
|
-
|
835
738
|
# The four-digit year of birth.
|
836
739
|
attr_accessor :year
|
837
740
|
|
@@ -885,16 +788,12 @@ module Stripe
|
|
885
788
|
class UsBankAccount < Stripe::RequestParams
|
886
789
|
# Account holder type: individual or company.
|
887
790
|
attr_accessor :account_holder_type
|
888
|
-
|
889
791
|
# Account number of the bank account.
|
890
792
|
attr_accessor :account_number
|
891
|
-
|
892
793
|
# Account type: checkings or savings. Defaults to checking if omitted.
|
893
794
|
attr_accessor :account_type
|
894
|
-
|
895
795
|
# The ID of a Financial Connections Account to use as a payment method.
|
896
796
|
attr_accessor :financial_connections_account
|
897
|
-
|
898
797
|
# Routing number of the bank account.
|
899
798
|
attr_accessor :routing_number
|
900
799
|
|
@@ -920,166 +819,114 @@ module Stripe
|
|
920
819
|
end
|
921
820
|
# If this is an `acss_debit` PaymentMethod, this hash contains details about the ACSS Debit payment method.
|
922
821
|
attr_accessor :acss_debit
|
923
|
-
|
924
822
|
# If this is an `affirm` PaymentMethod, this hash contains details about the Affirm payment method.
|
925
823
|
attr_accessor :affirm
|
926
|
-
|
927
824
|
# If this is an `AfterpayClearpay` PaymentMethod, this hash contains details about the AfterpayClearpay payment method.
|
928
825
|
attr_accessor :afterpay_clearpay
|
929
|
-
|
930
826
|
# If this is an `Alipay` PaymentMethod, this hash contains details about the Alipay payment method.
|
931
827
|
attr_accessor :alipay
|
932
|
-
|
933
828
|
# 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`.
|
934
829
|
attr_accessor :allow_redisplay
|
935
|
-
|
936
830
|
# If this is a Alma PaymentMethod, this hash contains details about the Alma payment method.
|
937
831
|
attr_accessor :alma
|
938
|
-
|
939
832
|
# If this is a AmazonPay PaymentMethod, this hash contains details about the AmazonPay payment method.
|
940
833
|
attr_accessor :amazon_pay
|
941
|
-
|
942
834
|
# If this is an `au_becs_debit` PaymentMethod, this hash contains details about the bank account.
|
943
835
|
attr_accessor :au_becs_debit
|
944
|
-
|
945
836
|
# If this is a `bacs_debit` PaymentMethod, this hash contains details about the Bacs Direct Debit bank account.
|
946
837
|
attr_accessor :bacs_debit
|
947
|
-
|
948
838
|
# If this is a `bancontact` PaymentMethod, this hash contains details about the Bancontact payment method.
|
949
839
|
attr_accessor :bancontact
|
950
|
-
|
951
840
|
# Billing information associated with the PaymentMethod that may be used or required by particular types of payment methods.
|
952
841
|
attr_accessor :billing_details
|
953
|
-
|
954
842
|
# If this is a `blik` PaymentMethod, this hash contains details about the BLIK payment method.
|
955
843
|
attr_accessor :blik
|
956
|
-
|
957
844
|
# If this is a `boleto` PaymentMethod, this hash contains details about the Boleto payment method.
|
958
845
|
attr_accessor :boleto
|
959
|
-
|
960
846
|
# If this is a `cashapp` PaymentMethod, this hash contains details about the Cash App Pay payment method.
|
961
847
|
attr_accessor :cashapp
|
962
|
-
|
963
848
|
# If this is a `customer_balance` PaymentMethod, this hash contains details about the CustomerBalance payment method.
|
964
849
|
attr_accessor :customer_balance
|
965
|
-
|
966
850
|
# If this is an `eps` PaymentMethod, this hash contains details about the EPS payment method.
|
967
851
|
attr_accessor :eps
|
968
|
-
|
969
852
|
# If this is an `fpx` PaymentMethod, this hash contains details about the FPX payment method.
|
970
853
|
attr_accessor :fpx
|
971
|
-
|
972
854
|
# If this is a `giropay` PaymentMethod, this hash contains details about the Giropay payment method.
|
973
855
|
attr_accessor :giropay
|
974
|
-
|
975
856
|
# If this is a Gopay PaymentMethod, this hash contains details about the Gopay payment method.
|
976
857
|
attr_accessor :gopay
|
977
|
-
|
978
858
|
# If this is a `grabpay` PaymentMethod, this hash contains details about the GrabPay payment method.
|
979
859
|
attr_accessor :grabpay
|
980
|
-
|
981
860
|
# If this is an `IdBankTransfer` PaymentMethod, this hash contains details about the IdBankTransfer payment method.
|
982
861
|
attr_accessor :id_bank_transfer
|
983
|
-
|
984
862
|
# If this is an `ideal` PaymentMethod, this hash contains details about the iDEAL payment method.
|
985
863
|
attr_accessor :ideal
|
986
|
-
|
987
864
|
# If this is an `interac_present` PaymentMethod, this hash contains details about the Interac Present payment method.
|
988
865
|
attr_accessor :interac_present
|
989
|
-
|
990
866
|
# If this is a `kakao_pay` PaymentMethod, this hash contains details about the Kakao Pay payment method.
|
991
867
|
attr_accessor :kakao_pay
|
992
|
-
|
993
868
|
# If this is a `klarna` PaymentMethod, this hash contains details about the Klarna payment method.
|
994
869
|
attr_accessor :klarna
|
995
|
-
|
996
870
|
# If this is a `konbini` PaymentMethod, this hash contains details about the Konbini payment method.
|
997
871
|
attr_accessor :konbini
|
998
|
-
|
999
872
|
# If this is a `kr_card` PaymentMethod, this hash contains details about the Korean Card payment method.
|
1000
873
|
attr_accessor :kr_card
|
1001
|
-
|
1002
874
|
# If this is an `Link` PaymentMethod, this hash contains details about the Link payment method.
|
1003
875
|
attr_accessor :link
|
1004
|
-
|
1005
876
|
# If this is a MB WAY PaymentMethod, this hash contains details about the MB WAY payment method.
|
1006
877
|
attr_accessor :mb_way
|
1007
|
-
|
1008
878
|
# 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`.
|
1009
879
|
attr_accessor :metadata
|
1010
|
-
|
1011
880
|
# If this is a `mobilepay` PaymentMethod, this hash contains details about the MobilePay payment method.
|
1012
881
|
attr_accessor :mobilepay
|
1013
|
-
|
1014
882
|
# If this is a `multibanco` PaymentMethod, this hash contains details about the Multibanco payment method.
|
1015
883
|
attr_accessor :multibanco
|
1016
|
-
|
1017
884
|
# If this is a `naver_pay` PaymentMethod, this hash contains details about the Naver Pay payment method.
|
1018
885
|
attr_accessor :naver_pay
|
1019
|
-
|
1020
886
|
# If this is an `oxxo` PaymentMethod, this hash contains details about the OXXO payment method.
|
1021
887
|
attr_accessor :oxxo
|
1022
|
-
|
1023
888
|
# If this is a `p24` PaymentMethod, this hash contains details about the P24 payment method.
|
1024
889
|
attr_accessor :p24
|
1025
|
-
|
890
|
+
# If this is a `pay_by_bank` PaymentMethod, this hash contains details about the PayByBank payment method.
|
891
|
+
attr_accessor :pay_by_bank
|
1026
892
|
# If this is a `payco` PaymentMethod, this hash contains details about the PAYCO payment method.
|
1027
893
|
attr_accessor :payco
|
1028
|
-
|
1029
894
|
# If this is a `paynow` PaymentMethod, this hash contains details about the PayNow payment method.
|
1030
895
|
attr_accessor :paynow
|
1031
|
-
|
1032
896
|
# If this is a `paypal` PaymentMethod, this hash contains details about the PayPal payment method.
|
1033
897
|
attr_accessor :paypal
|
1034
|
-
|
1035
898
|
# If this is a `payto` PaymentMethod, this hash contains details about the PayTo payment method.
|
1036
899
|
attr_accessor :payto
|
1037
|
-
|
1038
900
|
# If this is a `pix` PaymentMethod, this hash contains details about the Pix payment method.
|
1039
901
|
attr_accessor :pix
|
1040
|
-
|
1041
902
|
# If this is a `promptpay` PaymentMethod, this hash contains details about the PromptPay payment method.
|
1042
903
|
attr_accessor :promptpay
|
1043
|
-
|
1044
904
|
# If this is a `qris` PaymentMethod, this hash contains details about the QRIS payment method.
|
1045
905
|
attr_accessor :qris
|
1046
|
-
|
1047
906
|
# Options to configure Radar. See [Radar Session](https://stripe.com/docs/radar/radar-session) for more information.
|
1048
907
|
attr_accessor :radar_options
|
1049
|
-
|
1050
908
|
# If this is a `rechnung` PaymentMethod, this hash contains details about the Rechnung payment method.
|
1051
909
|
attr_accessor :rechnung
|
1052
|
-
|
1053
910
|
# If this is a `Revolut Pay` PaymentMethod, this hash contains details about the Revolut Pay payment method.
|
1054
911
|
attr_accessor :revolut_pay
|
1055
|
-
|
1056
912
|
# If this is a `samsung_pay` PaymentMethod, this hash contains details about the SamsungPay payment method.
|
1057
913
|
attr_accessor :samsung_pay
|
1058
|
-
|
1059
914
|
# If this is a `sepa_debit` PaymentMethod, this hash contains details about the SEPA debit bank account.
|
1060
915
|
attr_accessor :sepa_debit
|
1061
|
-
|
1062
916
|
# If this is a Shopeepay PaymentMethod, this hash contains details about the Shopeepay payment method.
|
1063
917
|
attr_accessor :shopeepay
|
1064
|
-
|
1065
918
|
# If this is a `sofort` PaymentMethod, this hash contains details about the SOFORT payment method.
|
1066
919
|
attr_accessor :sofort
|
1067
|
-
|
1068
920
|
# If this is a `swish` PaymentMethod, this hash contains details about the Swish payment method.
|
1069
921
|
attr_accessor :swish
|
1070
|
-
|
1071
922
|
# If this is a TWINT PaymentMethod, this hash contains details about the TWINT payment method.
|
1072
923
|
attr_accessor :twint
|
1073
|
-
|
1074
924
|
# 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.
|
1075
925
|
attr_accessor :type
|
1076
|
-
|
1077
926
|
# If this is an `us_bank_account` PaymentMethod, this hash contains details about the US bank account payment method.
|
1078
927
|
attr_accessor :us_bank_account
|
1079
|
-
|
1080
928
|
# If this is an `wechat_pay` PaymentMethod, this hash contains details about the wechat_pay payment method.
|
1081
929
|
attr_accessor :wechat_pay
|
1082
|
-
|
1083
930
|
# If this is a `zip` PaymentMethod, this hash contains details about the Zip payment method.
|
1084
931
|
attr_accessor :zip
|
1085
932
|
|
@@ -1119,6 +966,7 @@ module Stripe
|
|
1119
966
|
naver_pay: nil,
|
1120
967
|
oxxo: nil,
|
1121
968
|
p24: nil,
|
969
|
+
pay_by_bank: nil,
|
1122
970
|
payco: nil,
|
1123
971
|
paynow: nil,
|
1124
972
|
paypal: nil,
|
@@ -1175,6 +1023,7 @@ module Stripe
|
|
1175
1023
|
@naver_pay = naver_pay
|
1176
1024
|
@oxxo = oxxo
|
1177
1025
|
@p24 = p24
|
1026
|
+
@pay_by_bank = pay_by_bank
|
1178
1027
|
@payco = payco
|
1179
1028
|
@paynow = paynow
|
1180
1029
|
@paypal = paypal
|
@@ -1205,16 +1054,12 @@ module Stripe
|
|
1205
1054
|
# The URL will be rendered with additional GET parameters `payment_intent` and `payment_intent_client_secret` when confirming a Payment Intent,
|
1206
1055
|
# or `setup_intent` and `setup_intent_client_secret` when confirming a Setup Intent.
|
1207
1056
|
attr_accessor :custom_mandate_url
|
1208
|
-
|
1209
1057
|
# List of Stripe products where this mandate can be selected automatically.
|
1210
1058
|
attr_accessor :default_for
|
1211
|
-
|
1212
1059
|
# Description of the mandate interval. Only required if 'payment_schedule' parameter is 'interval' or 'combined'.
|
1213
1060
|
attr_accessor :interval_description
|
1214
|
-
|
1215
1061
|
# Payment schedule for the mandate.
|
1216
1062
|
attr_accessor :payment_schedule
|
1217
|
-
|
1218
1063
|
# Transaction type of the mandate.
|
1219
1064
|
attr_accessor :transaction_type
|
1220
1065
|
|
@@ -1234,10 +1079,8 @@ module Stripe
|
|
1234
1079
|
end
|
1235
1080
|
# 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).
|
1236
1081
|
attr_accessor :currency
|
1237
|
-
|
1238
1082
|
# Additional fields for Mandate creation
|
1239
1083
|
attr_accessor :mandate_options
|
1240
|
-
|
1241
1084
|
# Bank account verification method.
|
1242
1085
|
attr_accessor :verification_method
|
1243
1086
|
|
@@ -1272,31 +1115,22 @@ module Stripe
|
|
1272
1115
|
class MandateOptions < Stripe::RequestParams
|
1273
1116
|
# Amount to be charged for future payments.
|
1274
1117
|
attr_accessor :amount
|
1275
|
-
|
1276
1118
|
# 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.
|
1277
1119
|
attr_accessor :amount_type
|
1278
|
-
|
1279
1120
|
# 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).
|
1280
1121
|
attr_accessor :currency
|
1281
|
-
|
1282
1122
|
# A description of the mandate or subscription that is meant to be displayed to the customer.
|
1283
1123
|
attr_accessor :description
|
1284
|
-
|
1285
1124
|
# 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.
|
1286
1125
|
attr_accessor :end_date
|
1287
|
-
|
1288
1126
|
# Specifies payment frequency. One of `day`, `week`, `month`, `year`, or `sporadic`.
|
1289
1127
|
attr_accessor :interval
|
1290
|
-
|
1291
1128
|
# 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`.
|
1292
1129
|
attr_accessor :interval_count
|
1293
|
-
|
1294
1130
|
# Unique identifier for the mandate or subscription.
|
1295
1131
|
attr_accessor :reference
|
1296
|
-
|
1297
1132
|
# Start date of the mandate or subscription. Start date should not be lesser than yesterday.
|
1298
1133
|
attr_accessor :start_date
|
1299
|
-
|
1300
1134
|
# Specifies the type of mandates supported. Possible values are `india`.
|
1301
1135
|
attr_accessor :supported_types
|
1302
1136
|
|
@@ -1332,13 +1166,11 @@ module Stripe
|
|
1332
1166
|
# to calculate the Authentication cryptogram. Also known as `cavvAlgorithm`.
|
1333
1167
|
# messageExtension: CB-AVALGO
|
1334
1168
|
attr_accessor :cb_avalgo
|
1335
|
-
|
1336
1169
|
# The exemption indicator returned from Cartes Bancaires in the ARes.
|
1337
1170
|
# message extension: CB-EXEMPTION; string (4 characters)
|
1338
1171
|
# This is a 3 byte bitmap (low significant byte first and most significant
|
1339
1172
|
# bit first) that has been Base64 encoded
|
1340
1173
|
attr_accessor :cb_exemption
|
1341
|
-
|
1342
1174
|
# The risk score returned from Cartes Bancaires in the ARes.
|
1343
1175
|
# message extension: CB-SCORE; numeric value 0-99
|
1344
1176
|
attr_accessor :cb_score
|
@@ -1358,30 +1190,24 @@ module Stripe
|
|
1358
1190
|
end
|
1359
1191
|
# The `transStatus` returned from the card Issuer’s ACS in the ARes.
|
1360
1192
|
attr_accessor :ares_trans_status
|
1361
|
-
|
1362
1193
|
# The cryptogram, also known as the "authentication value" (AAV, CAVV or
|
1363
1194
|
# AEVV). This value is 20 bytes, base64-encoded into a 28-character string.
|
1364
1195
|
# (Most 3D Secure providers will return the base64-encoded version, which
|
1365
1196
|
# is what you should specify here.)
|
1366
1197
|
attr_accessor :cryptogram
|
1367
|
-
|
1368
1198
|
# The Electronic Commerce Indicator (ECI) is returned by your 3D Secure
|
1369
1199
|
# provider and indicates what degree of authentication was performed.
|
1370
1200
|
attr_accessor :electronic_commerce_indicator
|
1371
|
-
|
1372
1201
|
# Network specific 3DS fields. Network specific arguments require an
|
1373
1202
|
# explicit card brand choice. The parameter `payment_method_options.card.network``
|
1374
1203
|
# must be populated accordingly
|
1375
1204
|
attr_accessor :network_options
|
1376
|
-
|
1377
1205
|
# The challenge indicator (`threeDSRequestorChallengeInd`) which was requested in the
|
1378
1206
|
# AReq sent to the card Issuer's ACS. A string containing 2 digits from 01-99.
|
1379
1207
|
attr_accessor :requestor_challenge_indicator
|
1380
|
-
|
1381
1208
|
# For 3D Secure 1, the XID. For 3D Secure 2, the Directory Server
|
1382
1209
|
# Transaction ID (dsTransID).
|
1383
1210
|
attr_accessor :transaction_id
|
1384
|
-
|
1385
1211
|
# The version of 3D Secure that was performed.
|
1386
1212
|
attr_accessor :version
|
1387
1213
|
|
@@ -1405,18 +1231,14 @@ module Stripe
|
|
1405
1231
|
end
|
1406
1232
|
# Configuration options for setting up an eMandate for cards issued in India.
|
1407
1233
|
attr_accessor :mandate_options
|
1408
|
-
|
1409
1234
|
# When specified, this parameter signals that a card has been collected
|
1410
1235
|
# as MOTO (Mail Order Telephone Order) and thus out of scope for SCA. This
|
1411
1236
|
# parameter can only be provided during confirmation.
|
1412
1237
|
attr_accessor :moto
|
1413
|
-
|
1414
1238
|
# 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.
|
1415
1239
|
attr_accessor :network
|
1416
|
-
|
1417
1240
|
# 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.
|
1418
1241
|
attr_accessor :request_three_d_secure
|
1419
|
-
|
1420
1242
|
# If 3D Secure authentication was performed with a third-party provider,
|
1421
1243
|
# the authentication details to use for this setup.
|
1422
1244
|
attr_accessor :three_d_secure
|
@@ -1451,10 +1273,8 @@ module Stripe
|
|
1451
1273
|
class Paypal < Stripe::RequestParams
|
1452
1274
|
# The PayPal Billing Agreement ID (BAID). This is an ID generated by PayPal which represents the mandate between the merchant and the customer.
|
1453
1275
|
attr_accessor :billing_agreement_id
|
1454
|
-
|
1455
1276
|
# Attribute for param field currency
|
1456
1277
|
attr_accessor :currency
|
1457
|
-
|
1458
1278
|
# 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.
|
1459
1279
|
attr_accessor :subsellers
|
1460
1280
|
|
@@ -1469,22 +1289,16 @@ module Stripe
|
|
1469
1289
|
class MandateOptions < Stripe::RequestParams
|
1470
1290
|
# Amount that will be collected. It is required when `amount_type` is `fixed`.
|
1471
1291
|
attr_accessor :amount
|
1472
|
-
|
1473
1292
|
# 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.
|
1474
1293
|
attr_accessor :amount_type
|
1475
|
-
|
1476
1294
|
# Date, in YYYY-MM-DD format, after which payments will not be collected. Defaults to no end date.
|
1477
1295
|
attr_accessor :end_date
|
1478
|
-
|
1479
1296
|
# The periodicity at which payments will be collected.
|
1480
1297
|
attr_accessor :payment_schedule
|
1481
|
-
|
1482
1298
|
# 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.
|
1483
1299
|
attr_accessor :payments_per_period
|
1484
|
-
|
1485
1300
|
# The purpose for which payments are made. Defaults to retail.
|
1486
1301
|
attr_accessor :purpose
|
1487
|
-
|
1488
1302
|
# Date, in YYYY-MM-DD format, from which payments will be collected. Defaults to confirmation time.
|
1489
1303
|
attr_accessor :start_date
|
1490
1304
|
|
@@ -1536,7 +1350,6 @@ module Stripe
|
|
1536
1350
|
class Filters < Stripe::RequestParams
|
1537
1351
|
# The account subcategories to use to filter for selectable accounts. Valid subcategories are `checking` and `savings`.
|
1538
1352
|
attr_accessor :account_subcategories
|
1539
|
-
|
1540
1353
|
# ID of the institution to use to filter for selectable accounts.
|
1541
1354
|
attr_accessor :institution
|
1542
1355
|
|
@@ -1556,16 +1369,12 @@ module Stripe
|
|
1556
1369
|
end
|
1557
1370
|
# Provide filters for the linked accounts that the customer can select for the payment method
|
1558
1371
|
attr_accessor :filters
|
1559
|
-
|
1560
1372
|
# Customize manual entry behavior
|
1561
1373
|
attr_accessor :manual_entry
|
1562
|
-
|
1563
1374
|
# 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`.
|
1564
1375
|
attr_accessor :permissions
|
1565
|
-
|
1566
1376
|
# List of data features that you would like to retrieve upon account creation.
|
1567
1377
|
attr_accessor :prefetch
|
1568
|
-
|
1569
1378
|
# 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.
|
1570
1379
|
attr_accessor :return_url
|
1571
1380
|
|
@@ -1603,13 +1412,10 @@ module Stripe
|
|
1603
1412
|
end
|
1604
1413
|
# Additional fields for Financial Connections Session creation
|
1605
1414
|
attr_accessor :financial_connections
|
1606
|
-
|
1607
1415
|
# Additional fields for Mandate creation
|
1608
1416
|
attr_accessor :mandate_options
|
1609
|
-
|
1610
1417
|
# Additional fields for network related functions
|
1611
1418
|
attr_accessor :networks
|
1612
|
-
|
1613
1419
|
# Bank account verification method.
|
1614
1420
|
attr_accessor :verification_method
|
1615
1421
|
|
@@ -1627,31 +1433,22 @@ module Stripe
|
|
1627
1433
|
end
|
1628
1434
|
# If this is a `acss_debit` SetupIntent, this sub-hash contains details about the ACSS Debit payment method options.
|
1629
1435
|
attr_accessor :acss_debit
|
1630
|
-
|
1631
1436
|
# If this is a `amazon_pay` SetupIntent, this sub-hash contains details about the AmazonPay payment method options.
|
1632
1437
|
attr_accessor :amazon_pay
|
1633
|
-
|
1634
1438
|
# If this is a `bacs_debit` SetupIntent, this sub-hash contains details about the Bacs Debit payment method options.
|
1635
1439
|
attr_accessor :bacs_debit
|
1636
|
-
|
1637
1440
|
# Configuration for any card setup attempted on this SetupIntent.
|
1638
1441
|
attr_accessor :card
|
1639
|
-
|
1640
1442
|
# If this is a `card_present` PaymentMethod, this sub-hash contains details about the card-present payment method options.
|
1641
1443
|
attr_accessor :card_present
|
1642
|
-
|
1643
1444
|
# If this is a `link` PaymentMethod, this sub-hash contains details about the Link payment method options.
|
1644
1445
|
attr_accessor :link
|
1645
|
-
|
1646
1446
|
# If this is a `paypal` PaymentMethod, this sub-hash contains details about the PayPal payment method options.
|
1647
1447
|
attr_accessor :paypal
|
1648
|
-
|
1649
1448
|
# If this is a `payto` SetupIntent, this sub-hash contains details about the PayTo payment method options.
|
1650
1449
|
attr_accessor :payto
|
1651
|
-
|
1652
1450
|
# If this is a `sepa_debit` SetupIntent, this sub-hash contains details about the SEPA Debit payment method options.
|
1653
1451
|
attr_accessor :sepa_debit
|
1654
|
-
|
1655
1452
|
# If this is a `us_bank_account` SetupIntent, this sub-hash contains details about the US bank account payment method options.
|
1656
1453
|
attr_accessor :us_bank_account
|
1657
1454
|
|
@@ -1683,7 +1480,6 @@ module Stripe
|
|
1683
1480
|
class SingleUse < Stripe::RequestParams
|
1684
1481
|
# 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).
|
1685
1482
|
attr_accessor :amount
|
1686
|
-
|
1687
1483
|
# 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).
|
1688
1484
|
attr_accessor :currency
|
1689
1485
|
|
@@ -1696,68 +1492,49 @@ module Stripe
|
|
1696
1492
|
#
|
1697
1493
|
# 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.
|
1698
1494
|
attr_accessor :attach_to_self
|
1699
|
-
|
1700
1495
|
# When you enable this parameter, this SetupIntent accepts payment methods that you enable in the Dashboard and that are compatible with its other parameters.
|
1701
1496
|
attr_accessor :automatic_payment_methods
|
1702
|
-
|
1703
1497
|
# 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.
|
1704
1498
|
attr_accessor :confirm
|
1705
|
-
|
1706
1499
|
# ID of the ConfirmationToken used to confirm this SetupIntent.
|
1707
1500
|
#
|
1708
1501
|
# 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.
|
1709
1502
|
attr_accessor :confirmation_token
|
1710
|
-
|
1711
1503
|
# ID of the Customer this SetupIntent belongs to, if one exists.
|
1712
1504
|
#
|
1713
1505
|
# 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.
|
1714
1506
|
attr_accessor :customer
|
1715
|
-
|
1716
1507
|
# An arbitrary string attached to the object. Often useful for displaying to users.
|
1717
1508
|
attr_accessor :description
|
1718
|
-
|
1719
1509
|
# Specifies which fields in the response should be expanded.
|
1720
1510
|
attr_accessor :expand
|
1721
|
-
|
1722
1511
|
# Indicates the directions of money movement for which this payment method is intended to be used.
|
1723
1512
|
#
|
1724
1513
|
# 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.
|
1725
1514
|
attr_accessor :flow_directions
|
1726
|
-
|
1727
1515
|
# 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).
|
1728
1516
|
attr_accessor :mandate_data
|
1729
|
-
|
1730
1517
|
# 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`.
|
1731
1518
|
attr_accessor :metadata
|
1732
|
-
|
1733
1519
|
# The Stripe account ID created for this SetupIntent.
|
1734
1520
|
attr_accessor :on_behalf_of
|
1735
|
-
|
1736
1521
|
# ID of the payment method (a PaymentMethod, Card, or saved Source object) to attach to this SetupIntent.
|
1737
1522
|
attr_accessor :payment_method
|
1738
|
-
|
1739
1523
|
# The ID of the [payment method configuration](https://stripe.com/docs/api/payment_method_configurations) to use with this SetupIntent.
|
1740
1524
|
attr_accessor :payment_method_configuration
|
1741
|
-
|
1742
1525
|
# 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)
|
1743
1526
|
# value in the SetupIntent.
|
1744
1527
|
attr_accessor :payment_method_data
|
1745
|
-
|
1746
1528
|
# Payment method-specific configuration for this SetupIntent.
|
1747
1529
|
attr_accessor :payment_method_options
|
1748
|
-
|
1749
1530
|
# 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).
|
1750
1531
|
attr_accessor :payment_method_types
|
1751
|
-
|
1752
1532
|
# 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).
|
1753
1533
|
attr_accessor :return_url
|
1754
|
-
|
1755
1534
|
# If you populate this hash, this SetupIntent generates a `single_use` mandate after successful completion.
|
1756
1535
|
attr_accessor :single_use
|
1757
|
-
|
1758
1536
|
# Indicates how the payment method is intended to be used in the future. If not provided, this value defaults to `off_session`.
|
1759
1537
|
attr_accessor :usage
|
1760
|
-
|
1761
1538
|
# Set to `true` when confirming server-side and using Stripe.js, iOS, or Android client-side SDKs to handle the next actions.
|
1762
1539
|
attr_accessor :use_stripe_sdk
|
1763
1540
|
|
@@ -1809,7 +1586,6 @@ module Stripe
|
|
1809
1586
|
class RetrieveParams < Stripe::RequestParams
|
1810
1587
|
# The client secret of the SetupIntent. We require this string if you use a publishable key to retrieve the SetupIntent.
|
1811
1588
|
attr_accessor :client_secret
|
1812
|
-
|
1813
1589
|
# Specifies which fields in the response should be expanded.
|
1814
1590
|
attr_accessor :expand
|
1815
1591
|
|
@@ -1824,10 +1600,8 @@ module Stripe
|
|
1824
1600
|
class AcssDebit < Stripe::RequestParams
|
1825
1601
|
# Customer's bank account number.
|
1826
1602
|
attr_accessor :account_number
|
1827
|
-
|
1828
1603
|
# Institution number of the customer's bank.
|
1829
1604
|
attr_accessor :institution_number
|
1830
|
-
|
1831
1605
|
# Transit number of the customer's bank.
|
1832
1606
|
attr_accessor :transit_number
|
1833
1607
|
|
@@ -1856,7 +1630,6 @@ module Stripe
|
|
1856
1630
|
class AuBecsDebit < Stripe::RequestParams
|
1857
1631
|
# The account number for the bank account.
|
1858
1632
|
attr_accessor :account_number
|
1859
|
-
|
1860
1633
|
# Bank-State-Branch number of the bank account.
|
1861
1634
|
attr_accessor :bsb_number
|
1862
1635
|
|
@@ -1869,7 +1642,6 @@ module Stripe
|
|
1869
1642
|
class BacsDebit < Stripe::RequestParams
|
1870
1643
|
# Account number of the bank account that the funds will be debited from.
|
1871
1644
|
attr_accessor :account_number
|
1872
|
-
|
1873
1645
|
# Sort code of the bank account. (e.g., `10-20-30`)
|
1874
1646
|
attr_accessor :sort_code
|
1875
1647
|
|
@@ -1886,19 +1658,14 @@ module Stripe
|
|
1886
1658
|
class Address < Stripe::RequestParams
|
1887
1659
|
# City, district, suburb, town, or village.
|
1888
1660
|
attr_accessor :city
|
1889
|
-
|
1890
1661
|
# Two-letter country code ([ISO 3166-1 alpha-2](https://en.wikipedia.org/wiki/ISO_3166-1_alpha-2)).
|
1891
1662
|
attr_accessor :country
|
1892
|
-
|
1893
1663
|
# Address line 1 (e.g., street, PO Box, or company name).
|
1894
1664
|
attr_accessor :line1
|
1895
|
-
|
1896
1665
|
# Address line 2 (e.g., apartment, suite, unit, or building).
|
1897
1666
|
attr_accessor :line2
|
1898
|
-
|
1899
1667
|
# ZIP or postal code.
|
1900
1668
|
attr_accessor :postal_code
|
1901
|
-
|
1902
1669
|
# State, county, province, or region.
|
1903
1670
|
attr_accessor :state
|
1904
1671
|
|
@@ -1920,13 +1687,10 @@ module Stripe
|
|
1920
1687
|
end
|
1921
1688
|
# Billing address.
|
1922
1689
|
attr_accessor :address
|
1923
|
-
|
1924
1690
|
# Email address.
|
1925
1691
|
attr_accessor :email
|
1926
|
-
|
1927
1692
|
# Full name.
|
1928
1693
|
attr_accessor :name
|
1929
|
-
|
1930
1694
|
# Billing phone number (including extension).
|
1931
1695
|
attr_accessor :phone
|
1932
1696
|
|
@@ -1968,7 +1732,6 @@ module Stripe
|
|
1968
1732
|
class Fpx < Stripe::RequestParams
|
1969
1733
|
# Account holder type for FPX transaction
|
1970
1734
|
attr_accessor :account_holder_type
|
1971
|
-
|
1972
1735
|
# The customer's bank.
|
1973
1736
|
attr_accessor :bank
|
1974
1737
|
|
@@ -2015,10 +1778,8 @@ module Stripe
|
|
2015
1778
|
class Dob < Stripe::RequestParams
|
2016
1779
|
# The day of birth, between 1 and 31.
|
2017
1780
|
attr_accessor :day
|
2018
|
-
|
2019
1781
|
# The month of birth, between 1 and 12.
|
2020
1782
|
attr_accessor :month
|
2021
|
-
|
2022
1783
|
# The four-digit year of birth.
|
2023
1784
|
attr_accessor :year
|
2024
1785
|
|
@@ -2075,6 +1836,9 @@ module Stripe
|
|
2075
1836
|
end
|
2076
1837
|
end
|
2077
1838
|
|
1839
|
+
class PayByBank < Stripe::RequestParams
|
1840
|
+
end
|
1841
|
+
|
2078
1842
|
class Payco < Stripe::RequestParams
|
2079
1843
|
end
|
2080
1844
|
|
@@ -2087,10 +1851,8 @@ module Stripe
|
|
2087
1851
|
class Payto < Stripe::RequestParams
|
2088
1852
|
# The account number for the bank account.
|
2089
1853
|
attr_accessor :account_number
|
2090
|
-
|
2091
1854
|
# Bank-State-Branch number of the bank account.
|
2092
1855
|
attr_accessor :bsb_number
|
2093
|
-
|
2094
1856
|
# The PayID alias for the bank account.
|
2095
1857
|
attr_accessor :pay_id
|
2096
1858
|
|
@@ -2123,10 +1885,8 @@ module Stripe
|
|
2123
1885
|
class Dob < Stripe::RequestParams
|
2124
1886
|
# The day of birth, between 1 and 31.
|
2125
1887
|
attr_accessor :day
|
2126
|
-
|
2127
1888
|
# The month of birth, between 1 and 12.
|
2128
1889
|
attr_accessor :month
|
2129
|
-
|
2130
1890
|
# The four-digit year of birth.
|
2131
1891
|
attr_accessor :year
|
2132
1892
|
|
@@ -2180,16 +1940,12 @@ module Stripe
|
|
2180
1940
|
class UsBankAccount < Stripe::RequestParams
|
2181
1941
|
# Account holder type: individual or company.
|
2182
1942
|
attr_accessor :account_holder_type
|
2183
|
-
|
2184
1943
|
# Account number of the bank account.
|
2185
1944
|
attr_accessor :account_number
|
2186
|
-
|
2187
1945
|
# Account type: checkings or savings. Defaults to checking if omitted.
|
2188
1946
|
attr_accessor :account_type
|
2189
|
-
|
2190
1947
|
# The ID of a Financial Connections Account to use as a payment method.
|
2191
1948
|
attr_accessor :financial_connections_account
|
2192
|
-
|
2193
1949
|
# Routing number of the bank account.
|
2194
1950
|
attr_accessor :routing_number
|
2195
1951
|
|
@@ -2215,166 +1971,114 @@ module Stripe
|
|
2215
1971
|
end
|
2216
1972
|
# If this is an `acss_debit` PaymentMethod, this hash contains details about the ACSS Debit payment method.
|
2217
1973
|
attr_accessor :acss_debit
|
2218
|
-
|
2219
1974
|
# If this is an `affirm` PaymentMethod, this hash contains details about the Affirm payment method.
|
2220
1975
|
attr_accessor :affirm
|
2221
|
-
|
2222
1976
|
# If this is an `AfterpayClearpay` PaymentMethod, this hash contains details about the AfterpayClearpay payment method.
|
2223
1977
|
attr_accessor :afterpay_clearpay
|
2224
|
-
|
2225
1978
|
# If this is an `Alipay` PaymentMethod, this hash contains details about the Alipay payment method.
|
2226
1979
|
attr_accessor :alipay
|
2227
|
-
|
2228
1980
|
# 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`.
|
2229
1981
|
attr_accessor :allow_redisplay
|
2230
|
-
|
2231
1982
|
# If this is a Alma PaymentMethod, this hash contains details about the Alma payment method.
|
2232
1983
|
attr_accessor :alma
|
2233
|
-
|
2234
1984
|
# If this is a AmazonPay PaymentMethod, this hash contains details about the AmazonPay payment method.
|
2235
1985
|
attr_accessor :amazon_pay
|
2236
|
-
|
2237
1986
|
# If this is an `au_becs_debit` PaymentMethod, this hash contains details about the bank account.
|
2238
1987
|
attr_accessor :au_becs_debit
|
2239
|
-
|
2240
1988
|
# If this is a `bacs_debit` PaymentMethod, this hash contains details about the Bacs Direct Debit bank account.
|
2241
1989
|
attr_accessor :bacs_debit
|
2242
|
-
|
2243
1990
|
# If this is a `bancontact` PaymentMethod, this hash contains details about the Bancontact payment method.
|
2244
1991
|
attr_accessor :bancontact
|
2245
|
-
|
2246
1992
|
# Billing information associated with the PaymentMethod that may be used or required by particular types of payment methods.
|
2247
1993
|
attr_accessor :billing_details
|
2248
|
-
|
2249
1994
|
# If this is a `blik` PaymentMethod, this hash contains details about the BLIK payment method.
|
2250
1995
|
attr_accessor :blik
|
2251
|
-
|
2252
1996
|
# If this is a `boleto` PaymentMethod, this hash contains details about the Boleto payment method.
|
2253
1997
|
attr_accessor :boleto
|
2254
|
-
|
2255
1998
|
# If this is a `cashapp` PaymentMethod, this hash contains details about the Cash App Pay payment method.
|
2256
1999
|
attr_accessor :cashapp
|
2257
|
-
|
2258
2000
|
# If this is a `customer_balance` PaymentMethod, this hash contains details about the CustomerBalance payment method.
|
2259
2001
|
attr_accessor :customer_balance
|
2260
|
-
|
2261
2002
|
# If this is an `eps` PaymentMethod, this hash contains details about the EPS payment method.
|
2262
2003
|
attr_accessor :eps
|
2263
|
-
|
2264
2004
|
# If this is an `fpx` PaymentMethod, this hash contains details about the FPX payment method.
|
2265
2005
|
attr_accessor :fpx
|
2266
|
-
|
2267
2006
|
# If this is a `giropay` PaymentMethod, this hash contains details about the Giropay payment method.
|
2268
2007
|
attr_accessor :giropay
|
2269
|
-
|
2270
2008
|
# If this is a Gopay PaymentMethod, this hash contains details about the Gopay payment method.
|
2271
2009
|
attr_accessor :gopay
|
2272
|
-
|
2273
2010
|
# If this is a `grabpay` PaymentMethod, this hash contains details about the GrabPay payment method.
|
2274
2011
|
attr_accessor :grabpay
|
2275
|
-
|
2276
2012
|
# If this is an `IdBankTransfer` PaymentMethod, this hash contains details about the IdBankTransfer payment method.
|
2277
2013
|
attr_accessor :id_bank_transfer
|
2278
|
-
|
2279
2014
|
# If this is an `ideal` PaymentMethod, this hash contains details about the iDEAL payment method.
|
2280
2015
|
attr_accessor :ideal
|
2281
|
-
|
2282
2016
|
# If this is an `interac_present` PaymentMethod, this hash contains details about the Interac Present payment method.
|
2283
2017
|
attr_accessor :interac_present
|
2284
|
-
|
2285
2018
|
# If this is a `kakao_pay` PaymentMethod, this hash contains details about the Kakao Pay payment method.
|
2286
2019
|
attr_accessor :kakao_pay
|
2287
|
-
|
2288
2020
|
# If this is a `klarna` PaymentMethod, this hash contains details about the Klarna payment method.
|
2289
2021
|
attr_accessor :klarna
|
2290
|
-
|
2291
2022
|
# If this is a `konbini` PaymentMethod, this hash contains details about the Konbini payment method.
|
2292
2023
|
attr_accessor :konbini
|
2293
|
-
|
2294
2024
|
# If this is a `kr_card` PaymentMethod, this hash contains details about the Korean Card payment method.
|
2295
2025
|
attr_accessor :kr_card
|
2296
|
-
|
2297
2026
|
# If this is an `Link` PaymentMethod, this hash contains details about the Link payment method.
|
2298
2027
|
attr_accessor :link
|
2299
|
-
|
2300
2028
|
# If this is a MB WAY PaymentMethod, this hash contains details about the MB WAY payment method.
|
2301
2029
|
attr_accessor :mb_way
|
2302
|
-
|
2303
2030
|
# 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`.
|
2304
2031
|
attr_accessor :metadata
|
2305
|
-
|
2306
2032
|
# If this is a `mobilepay` PaymentMethod, this hash contains details about the MobilePay payment method.
|
2307
2033
|
attr_accessor :mobilepay
|
2308
|
-
|
2309
2034
|
# If this is a `multibanco` PaymentMethod, this hash contains details about the Multibanco payment method.
|
2310
2035
|
attr_accessor :multibanco
|
2311
|
-
|
2312
2036
|
# If this is a `naver_pay` PaymentMethod, this hash contains details about the Naver Pay payment method.
|
2313
2037
|
attr_accessor :naver_pay
|
2314
|
-
|
2315
2038
|
# If this is an `oxxo` PaymentMethod, this hash contains details about the OXXO payment method.
|
2316
2039
|
attr_accessor :oxxo
|
2317
|
-
|
2318
2040
|
# If this is a `p24` PaymentMethod, this hash contains details about the P24 payment method.
|
2319
2041
|
attr_accessor :p24
|
2320
|
-
|
2042
|
+
# If this is a `pay_by_bank` PaymentMethod, this hash contains details about the PayByBank payment method.
|
2043
|
+
attr_accessor :pay_by_bank
|
2321
2044
|
# If this is a `payco` PaymentMethod, this hash contains details about the PAYCO payment method.
|
2322
2045
|
attr_accessor :payco
|
2323
|
-
|
2324
2046
|
# If this is a `paynow` PaymentMethod, this hash contains details about the PayNow payment method.
|
2325
2047
|
attr_accessor :paynow
|
2326
|
-
|
2327
2048
|
# If this is a `paypal` PaymentMethod, this hash contains details about the PayPal payment method.
|
2328
2049
|
attr_accessor :paypal
|
2329
|
-
|
2330
2050
|
# If this is a `payto` PaymentMethod, this hash contains details about the PayTo payment method.
|
2331
2051
|
attr_accessor :payto
|
2332
|
-
|
2333
2052
|
# If this is a `pix` PaymentMethod, this hash contains details about the Pix payment method.
|
2334
2053
|
attr_accessor :pix
|
2335
|
-
|
2336
2054
|
# If this is a `promptpay` PaymentMethod, this hash contains details about the PromptPay payment method.
|
2337
2055
|
attr_accessor :promptpay
|
2338
|
-
|
2339
2056
|
# If this is a `qris` PaymentMethod, this hash contains details about the QRIS payment method.
|
2340
2057
|
attr_accessor :qris
|
2341
|
-
|
2342
2058
|
# Options to configure Radar. See [Radar Session](https://stripe.com/docs/radar/radar-session) for more information.
|
2343
2059
|
attr_accessor :radar_options
|
2344
|
-
|
2345
2060
|
# If this is a `rechnung` PaymentMethod, this hash contains details about the Rechnung payment method.
|
2346
2061
|
attr_accessor :rechnung
|
2347
|
-
|
2348
2062
|
# If this is a `Revolut Pay` PaymentMethod, this hash contains details about the Revolut Pay payment method.
|
2349
2063
|
attr_accessor :revolut_pay
|
2350
|
-
|
2351
2064
|
# If this is a `samsung_pay` PaymentMethod, this hash contains details about the SamsungPay payment method.
|
2352
2065
|
attr_accessor :samsung_pay
|
2353
|
-
|
2354
2066
|
# If this is a `sepa_debit` PaymentMethod, this hash contains details about the SEPA debit bank account.
|
2355
2067
|
attr_accessor :sepa_debit
|
2356
|
-
|
2357
2068
|
# If this is a Shopeepay PaymentMethod, this hash contains details about the Shopeepay payment method.
|
2358
2069
|
attr_accessor :shopeepay
|
2359
|
-
|
2360
2070
|
# If this is a `sofort` PaymentMethod, this hash contains details about the SOFORT payment method.
|
2361
2071
|
attr_accessor :sofort
|
2362
|
-
|
2363
2072
|
# If this is a `swish` PaymentMethod, this hash contains details about the Swish payment method.
|
2364
2073
|
attr_accessor :swish
|
2365
|
-
|
2366
2074
|
# If this is a TWINT PaymentMethod, this hash contains details about the TWINT payment method.
|
2367
2075
|
attr_accessor :twint
|
2368
|
-
|
2369
2076
|
# 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.
|
2370
2077
|
attr_accessor :type
|
2371
|
-
|
2372
2078
|
# If this is an `us_bank_account` PaymentMethod, this hash contains details about the US bank account payment method.
|
2373
2079
|
attr_accessor :us_bank_account
|
2374
|
-
|
2375
2080
|
# If this is an `wechat_pay` PaymentMethod, this hash contains details about the wechat_pay payment method.
|
2376
2081
|
attr_accessor :wechat_pay
|
2377
|
-
|
2378
2082
|
# If this is a `zip` PaymentMethod, this hash contains details about the Zip payment method.
|
2379
2083
|
attr_accessor :zip
|
2380
2084
|
|
@@ -2414,6 +2118,7 @@ module Stripe
|
|
2414
2118
|
naver_pay: nil,
|
2415
2119
|
oxxo: nil,
|
2416
2120
|
p24: nil,
|
2121
|
+
pay_by_bank: nil,
|
2417
2122
|
payco: nil,
|
2418
2123
|
paynow: nil,
|
2419
2124
|
paypal: nil,
|
@@ -2470,6 +2175,7 @@ module Stripe
|
|
2470
2175
|
@naver_pay = naver_pay
|
2471
2176
|
@oxxo = oxxo
|
2472
2177
|
@p24 = p24
|
2178
|
+
@pay_by_bank = pay_by_bank
|
2473
2179
|
@payco = payco
|
2474
2180
|
@paynow = paynow
|
2475
2181
|
@paypal = paypal
|
@@ -2500,16 +2206,12 @@ module Stripe
|
|
2500
2206
|
# The URL will be rendered with additional GET parameters `payment_intent` and `payment_intent_client_secret` when confirming a Payment Intent,
|
2501
2207
|
# or `setup_intent` and `setup_intent_client_secret` when confirming a Setup Intent.
|
2502
2208
|
attr_accessor :custom_mandate_url
|
2503
|
-
|
2504
2209
|
# List of Stripe products where this mandate can be selected automatically.
|
2505
2210
|
attr_accessor :default_for
|
2506
|
-
|
2507
2211
|
# Description of the mandate interval. Only required if 'payment_schedule' parameter is 'interval' or 'combined'.
|
2508
2212
|
attr_accessor :interval_description
|
2509
|
-
|
2510
2213
|
# Payment schedule for the mandate.
|
2511
2214
|
attr_accessor :payment_schedule
|
2512
|
-
|
2513
2215
|
# Transaction type of the mandate.
|
2514
2216
|
attr_accessor :transaction_type
|
2515
2217
|
|
@@ -2529,10 +2231,8 @@ module Stripe
|
|
2529
2231
|
end
|
2530
2232
|
# 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).
|
2531
2233
|
attr_accessor :currency
|
2532
|
-
|
2533
2234
|
# Additional fields for Mandate creation
|
2534
2235
|
attr_accessor :mandate_options
|
2535
|
-
|
2536
2236
|
# Bank account verification method.
|
2537
2237
|
attr_accessor :verification_method
|
2538
2238
|
|
@@ -2567,31 +2267,22 @@ module Stripe
|
|
2567
2267
|
class MandateOptions < Stripe::RequestParams
|
2568
2268
|
# Amount to be charged for future payments.
|
2569
2269
|
attr_accessor :amount
|
2570
|
-
|
2571
2270
|
# 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.
|
2572
2271
|
attr_accessor :amount_type
|
2573
|
-
|
2574
2272
|
# 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).
|
2575
2273
|
attr_accessor :currency
|
2576
|
-
|
2577
2274
|
# A description of the mandate or subscription that is meant to be displayed to the customer.
|
2578
2275
|
attr_accessor :description
|
2579
|
-
|
2580
2276
|
# 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.
|
2581
2277
|
attr_accessor :end_date
|
2582
|
-
|
2583
2278
|
# Specifies payment frequency. One of `day`, `week`, `month`, `year`, or `sporadic`.
|
2584
2279
|
attr_accessor :interval
|
2585
|
-
|
2586
2280
|
# 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`.
|
2587
2281
|
attr_accessor :interval_count
|
2588
|
-
|
2589
2282
|
# Unique identifier for the mandate or subscription.
|
2590
2283
|
attr_accessor :reference
|
2591
|
-
|
2592
2284
|
# Start date of the mandate or subscription. Start date should not be lesser than yesterday.
|
2593
2285
|
attr_accessor :start_date
|
2594
|
-
|
2595
2286
|
# Specifies the type of mandates supported. Possible values are `india`.
|
2596
2287
|
attr_accessor :supported_types
|
2597
2288
|
|
@@ -2627,13 +2318,11 @@ module Stripe
|
|
2627
2318
|
# to calculate the Authentication cryptogram. Also known as `cavvAlgorithm`.
|
2628
2319
|
# messageExtension: CB-AVALGO
|
2629
2320
|
attr_accessor :cb_avalgo
|
2630
|
-
|
2631
2321
|
# The exemption indicator returned from Cartes Bancaires in the ARes.
|
2632
2322
|
# message extension: CB-EXEMPTION; string (4 characters)
|
2633
2323
|
# This is a 3 byte bitmap (low significant byte first and most significant
|
2634
2324
|
# bit first) that has been Base64 encoded
|
2635
2325
|
attr_accessor :cb_exemption
|
2636
|
-
|
2637
2326
|
# The risk score returned from Cartes Bancaires in the ARes.
|
2638
2327
|
# message extension: CB-SCORE; numeric value 0-99
|
2639
2328
|
attr_accessor :cb_score
|
@@ -2653,30 +2342,24 @@ module Stripe
|
|
2653
2342
|
end
|
2654
2343
|
# The `transStatus` returned from the card Issuer’s ACS in the ARes.
|
2655
2344
|
attr_accessor :ares_trans_status
|
2656
|
-
|
2657
2345
|
# The cryptogram, also known as the "authentication value" (AAV, CAVV or
|
2658
2346
|
# AEVV). This value is 20 bytes, base64-encoded into a 28-character string.
|
2659
2347
|
# (Most 3D Secure providers will return the base64-encoded version, which
|
2660
2348
|
# is what you should specify here.)
|
2661
2349
|
attr_accessor :cryptogram
|
2662
|
-
|
2663
2350
|
# The Electronic Commerce Indicator (ECI) is returned by your 3D Secure
|
2664
2351
|
# provider and indicates what degree of authentication was performed.
|
2665
2352
|
attr_accessor :electronic_commerce_indicator
|
2666
|
-
|
2667
2353
|
# Network specific 3DS fields. Network specific arguments require an
|
2668
2354
|
# explicit card brand choice. The parameter `payment_method_options.card.network``
|
2669
2355
|
# must be populated accordingly
|
2670
2356
|
attr_accessor :network_options
|
2671
|
-
|
2672
2357
|
# The challenge indicator (`threeDSRequestorChallengeInd`) which was requested in the
|
2673
2358
|
# AReq sent to the card Issuer's ACS. A string containing 2 digits from 01-99.
|
2674
2359
|
attr_accessor :requestor_challenge_indicator
|
2675
|
-
|
2676
2360
|
# For 3D Secure 1, the XID. For 3D Secure 2, the Directory Server
|
2677
2361
|
# Transaction ID (dsTransID).
|
2678
2362
|
attr_accessor :transaction_id
|
2679
|
-
|
2680
2363
|
# The version of 3D Secure that was performed.
|
2681
2364
|
attr_accessor :version
|
2682
2365
|
|
@@ -2700,18 +2383,14 @@ module Stripe
|
|
2700
2383
|
end
|
2701
2384
|
# Configuration options for setting up an eMandate for cards issued in India.
|
2702
2385
|
attr_accessor :mandate_options
|
2703
|
-
|
2704
2386
|
# When specified, this parameter signals that a card has been collected
|
2705
2387
|
# as MOTO (Mail Order Telephone Order) and thus out of scope for SCA. This
|
2706
2388
|
# parameter can only be provided during confirmation.
|
2707
2389
|
attr_accessor :moto
|
2708
|
-
|
2709
2390
|
# 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.
|
2710
2391
|
attr_accessor :network
|
2711
|
-
|
2712
2392
|
# 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.
|
2713
2393
|
attr_accessor :request_three_d_secure
|
2714
|
-
|
2715
2394
|
# If 3D Secure authentication was performed with a third-party provider,
|
2716
2395
|
# the authentication details to use for this setup.
|
2717
2396
|
attr_accessor :three_d_secure
|
@@ -2746,10 +2425,8 @@ module Stripe
|
|
2746
2425
|
class Paypal < Stripe::RequestParams
|
2747
2426
|
# The PayPal Billing Agreement ID (BAID). This is an ID generated by PayPal which represents the mandate between the merchant and the customer.
|
2748
2427
|
attr_accessor :billing_agreement_id
|
2749
|
-
|
2750
2428
|
# Attribute for param field currency
|
2751
2429
|
attr_accessor :currency
|
2752
|
-
|
2753
2430
|
# 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.
|
2754
2431
|
attr_accessor :subsellers
|
2755
2432
|
|
@@ -2764,22 +2441,16 @@ module Stripe
|
|
2764
2441
|
class MandateOptions < Stripe::RequestParams
|
2765
2442
|
# Amount that will be collected. It is required when `amount_type` is `fixed`.
|
2766
2443
|
attr_accessor :amount
|
2767
|
-
|
2768
2444
|
# 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.
|
2769
2445
|
attr_accessor :amount_type
|
2770
|
-
|
2771
2446
|
# Date, in YYYY-MM-DD format, after which payments will not be collected. Defaults to no end date.
|
2772
2447
|
attr_accessor :end_date
|
2773
|
-
|
2774
2448
|
# The periodicity at which payments will be collected.
|
2775
2449
|
attr_accessor :payment_schedule
|
2776
|
-
|
2777
2450
|
# 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.
|
2778
2451
|
attr_accessor :payments_per_period
|
2779
|
-
|
2780
2452
|
# The purpose for which payments are made. Defaults to retail.
|
2781
2453
|
attr_accessor :purpose
|
2782
|
-
|
2783
2454
|
# Date, in YYYY-MM-DD format, from which payments will be collected. Defaults to confirmation time.
|
2784
2455
|
attr_accessor :start_date
|
2785
2456
|
|
@@ -2831,7 +2502,6 @@ module Stripe
|
|
2831
2502
|
class Filters < Stripe::RequestParams
|
2832
2503
|
# The account subcategories to use to filter for selectable accounts. Valid subcategories are `checking` and `savings`.
|
2833
2504
|
attr_accessor :account_subcategories
|
2834
|
-
|
2835
2505
|
# ID of the institution to use to filter for selectable accounts.
|
2836
2506
|
attr_accessor :institution
|
2837
2507
|
|
@@ -2851,16 +2521,12 @@ module Stripe
|
|
2851
2521
|
end
|
2852
2522
|
# Provide filters for the linked accounts that the customer can select for the payment method
|
2853
2523
|
attr_accessor :filters
|
2854
|
-
|
2855
2524
|
# Customize manual entry behavior
|
2856
2525
|
attr_accessor :manual_entry
|
2857
|
-
|
2858
2526
|
# 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`.
|
2859
2527
|
attr_accessor :permissions
|
2860
|
-
|
2861
2528
|
# List of data features that you would like to retrieve upon account creation.
|
2862
2529
|
attr_accessor :prefetch
|
2863
|
-
|
2864
2530
|
# 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.
|
2865
2531
|
attr_accessor :return_url
|
2866
2532
|
|
@@ -2898,13 +2564,10 @@ module Stripe
|
|
2898
2564
|
end
|
2899
2565
|
# Additional fields for Financial Connections Session creation
|
2900
2566
|
attr_accessor :financial_connections
|
2901
|
-
|
2902
2567
|
# Additional fields for Mandate creation
|
2903
2568
|
attr_accessor :mandate_options
|
2904
|
-
|
2905
2569
|
# Additional fields for network related functions
|
2906
2570
|
attr_accessor :networks
|
2907
|
-
|
2908
2571
|
# Bank account verification method.
|
2909
2572
|
attr_accessor :verification_method
|
2910
2573
|
|
@@ -2922,31 +2585,22 @@ module Stripe
|
|
2922
2585
|
end
|
2923
2586
|
# If this is a `acss_debit` SetupIntent, this sub-hash contains details about the ACSS Debit payment method options.
|
2924
2587
|
attr_accessor :acss_debit
|
2925
|
-
|
2926
2588
|
# If this is a `amazon_pay` SetupIntent, this sub-hash contains details about the AmazonPay payment method options.
|
2927
2589
|
attr_accessor :amazon_pay
|
2928
|
-
|
2929
2590
|
# If this is a `bacs_debit` SetupIntent, this sub-hash contains details about the Bacs Debit payment method options.
|
2930
2591
|
attr_accessor :bacs_debit
|
2931
|
-
|
2932
2592
|
# Configuration for any card setup attempted on this SetupIntent.
|
2933
2593
|
attr_accessor :card
|
2934
|
-
|
2935
2594
|
# If this is a `card_present` PaymentMethod, this sub-hash contains details about the card-present payment method options.
|
2936
2595
|
attr_accessor :card_present
|
2937
|
-
|
2938
2596
|
# If this is a `link` PaymentMethod, this sub-hash contains details about the Link payment method options.
|
2939
2597
|
attr_accessor :link
|
2940
|
-
|
2941
2598
|
# If this is a `paypal` PaymentMethod, this sub-hash contains details about the PayPal payment method options.
|
2942
2599
|
attr_accessor :paypal
|
2943
|
-
|
2944
2600
|
# If this is a `payto` SetupIntent, this sub-hash contains details about the PayTo payment method options.
|
2945
2601
|
attr_accessor :payto
|
2946
|
-
|
2947
2602
|
# If this is a `sepa_debit` SetupIntent, this sub-hash contains details about the SEPA Debit payment method options.
|
2948
2603
|
attr_accessor :sepa_debit
|
2949
|
-
|
2950
2604
|
# If this is a `us_bank_account` SetupIntent, this sub-hash contains details about the US bank account payment method options.
|
2951
2605
|
attr_accessor :us_bank_account
|
2952
2606
|
|
@@ -2978,39 +2632,29 @@ module Stripe
|
|
2978
2632
|
#
|
2979
2633
|
# 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.
|
2980
2634
|
attr_accessor :attach_to_self
|
2981
|
-
|
2982
2635
|
# ID of the Customer this SetupIntent belongs to, if one exists.
|
2983
2636
|
#
|
2984
2637
|
# 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.
|
2985
2638
|
attr_accessor :customer
|
2986
|
-
|
2987
2639
|
# An arbitrary string attached to the object. Often useful for displaying to users.
|
2988
2640
|
attr_accessor :description
|
2989
|
-
|
2990
2641
|
# Specifies which fields in the response should be expanded.
|
2991
2642
|
attr_accessor :expand
|
2992
|
-
|
2993
2643
|
# Indicates the directions of money movement for which this payment method is intended to be used.
|
2994
2644
|
#
|
2995
2645
|
# 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.
|
2996
2646
|
attr_accessor :flow_directions
|
2997
|
-
|
2998
2647
|
# 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`.
|
2999
2648
|
attr_accessor :metadata
|
3000
|
-
|
3001
2649
|
# 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.
|
3002
2650
|
attr_accessor :payment_method
|
3003
|
-
|
3004
2651
|
# The ID of the [payment method configuration](https://stripe.com/docs/api/payment_method_configurations) to use with this SetupIntent.
|
3005
2652
|
attr_accessor :payment_method_configuration
|
3006
|
-
|
3007
2653
|
# 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)
|
3008
2654
|
# value in the SetupIntent.
|
3009
2655
|
attr_accessor :payment_method_data
|
3010
|
-
|
3011
2656
|
# Payment method-specific configuration for this SetupIntent.
|
3012
2657
|
attr_accessor :payment_method_options
|
3013
|
-
|
3014
2658
|
# 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).
|
3015
2659
|
attr_accessor :payment_method_types
|
3016
2660
|
|
@@ -3044,7 +2688,6 @@ module Stripe
|
|
3044
2688
|
class CancelParams < Stripe::RequestParams
|
3045
2689
|
# Reason for canceling this SetupIntent. Possible values are: `abandoned`, `requested_by_customer`, or `duplicate`
|
3046
2690
|
attr_accessor :cancellation_reason
|
3047
|
-
|
3048
2691
|
# Specifies which fields in the response should be expanded.
|
3049
2692
|
attr_accessor :expand
|
3050
2693
|
|
@@ -3063,7 +2706,6 @@ module Stripe
|
|
3063
2706
|
class Online < Stripe::RequestParams
|
3064
2707
|
# The IP address from which the Mandate was accepted by the customer.
|
3065
2708
|
attr_accessor :ip_address
|
3066
|
-
|
3067
2709
|
# The user agent of the browser from which the Mandate was accepted by the customer.
|
3068
2710
|
attr_accessor :user_agent
|
3069
2711
|
|
@@ -3074,13 +2716,10 @@ module Stripe
|
|
3074
2716
|
end
|
3075
2717
|
# The time at which the customer accepted the Mandate.
|
3076
2718
|
attr_accessor :accepted_at
|
3077
|
-
|
3078
2719
|
# If this is a Mandate accepted offline, this hash contains details about the offline acceptance.
|
3079
2720
|
attr_accessor :offline
|
3080
|
-
|
3081
2721
|
# If this is a Mandate accepted online, this hash contains details about the online acceptance.
|
3082
2722
|
attr_accessor :online
|
3083
|
-
|
3084
2723
|
# The type of customer acceptance information included with the Mandate. One of `online` or `offline`.
|
3085
2724
|
attr_accessor :type
|
3086
2725
|
|
@@ -3103,10 +2742,8 @@ module Stripe
|
|
3103
2742
|
class AcssDebit < Stripe::RequestParams
|
3104
2743
|
# Customer's bank account number.
|
3105
2744
|
attr_accessor :account_number
|
3106
|
-
|
3107
2745
|
# Institution number of the customer's bank.
|
3108
2746
|
attr_accessor :institution_number
|
3109
|
-
|
3110
2747
|
# Transit number of the customer's bank.
|
3111
2748
|
attr_accessor :transit_number
|
3112
2749
|
|
@@ -3135,7 +2772,6 @@ module Stripe
|
|
3135
2772
|
class AuBecsDebit < Stripe::RequestParams
|
3136
2773
|
# The account number for the bank account.
|
3137
2774
|
attr_accessor :account_number
|
3138
|
-
|
3139
2775
|
# Bank-State-Branch number of the bank account.
|
3140
2776
|
attr_accessor :bsb_number
|
3141
2777
|
|
@@ -3148,7 +2784,6 @@ module Stripe
|
|
3148
2784
|
class BacsDebit < Stripe::RequestParams
|
3149
2785
|
# Account number of the bank account that the funds will be debited from.
|
3150
2786
|
attr_accessor :account_number
|
3151
|
-
|
3152
2787
|
# Sort code of the bank account. (e.g., `10-20-30`)
|
3153
2788
|
attr_accessor :sort_code
|
3154
2789
|
|
@@ -3165,19 +2800,14 @@ module Stripe
|
|
3165
2800
|
class Address < Stripe::RequestParams
|
3166
2801
|
# City, district, suburb, town, or village.
|
3167
2802
|
attr_accessor :city
|
3168
|
-
|
3169
2803
|
# Two-letter country code ([ISO 3166-1 alpha-2](https://en.wikipedia.org/wiki/ISO_3166-1_alpha-2)).
|
3170
2804
|
attr_accessor :country
|
3171
|
-
|
3172
2805
|
# Address line 1 (e.g., street, PO Box, or company name).
|
3173
2806
|
attr_accessor :line1
|
3174
|
-
|
3175
2807
|
# Address line 2 (e.g., apartment, suite, unit, or building).
|
3176
2808
|
attr_accessor :line2
|
3177
|
-
|
3178
2809
|
# ZIP or postal code.
|
3179
2810
|
attr_accessor :postal_code
|
3180
|
-
|
3181
2811
|
# State, county, province, or region.
|
3182
2812
|
attr_accessor :state
|
3183
2813
|
|
@@ -3199,13 +2829,10 @@ module Stripe
|
|
3199
2829
|
end
|
3200
2830
|
# Billing address.
|
3201
2831
|
attr_accessor :address
|
3202
|
-
|
3203
2832
|
# Email address.
|
3204
2833
|
attr_accessor :email
|
3205
|
-
|
3206
2834
|
# Full name.
|
3207
2835
|
attr_accessor :name
|
3208
|
-
|
3209
2836
|
# Billing phone number (including extension).
|
3210
2837
|
attr_accessor :phone
|
3211
2838
|
|
@@ -3247,7 +2874,6 @@ module Stripe
|
|
3247
2874
|
class Fpx < Stripe::RequestParams
|
3248
2875
|
# Account holder type for FPX transaction
|
3249
2876
|
attr_accessor :account_holder_type
|
3250
|
-
|
3251
2877
|
# The customer's bank.
|
3252
2878
|
attr_accessor :bank
|
3253
2879
|
|
@@ -3294,10 +2920,8 @@ module Stripe
|
|
3294
2920
|
class Dob < Stripe::RequestParams
|
3295
2921
|
# The day of birth, between 1 and 31.
|
3296
2922
|
attr_accessor :day
|
3297
|
-
|
3298
2923
|
# The month of birth, between 1 and 12.
|
3299
2924
|
attr_accessor :month
|
3300
|
-
|
3301
2925
|
# The four-digit year of birth.
|
3302
2926
|
attr_accessor :year
|
3303
2927
|
|
@@ -3354,6 +2978,9 @@ module Stripe
|
|
3354
2978
|
end
|
3355
2979
|
end
|
3356
2980
|
|
2981
|
+
class PayByBank < Stripe::RequestParams
|
2982
|
+
end
|
2983
|
+
|
3357
2984
|
class Payco < Stripe::RequestParams
|
3358
2985
|
end
|
3359
2986
|
|
@@ -3366,10 +2993,8 @@ module Stripe
|
|
3366
2993
|
class Payto < Stripe::RequestParams
|
3367
2994
|
# The account number for the bank account.
|
3368
2995
|
attr_accessor :account_number
|
3369
|
-
|
3370
2996
|
# Bank-State-Branch number of the bank account.
|
3371
2997
|
attr_accessor :bsb_number
|
3372
|
-
|
3373
2998
|
# The PayID alias for the bank account.
|
3374
2999
|
attr_accessor :pay_id
|
3375
3000
|
|
@@ -3402,10 +3027,8 @@ module Stripe
|
|
3402
3027
|
class Dob < Stripe::RequestParams
|
3403
3028
|
# The day of birth, between 1 and 31.
|
3404
3029
|
attr_accessor :day
|
3405
|
-
|
3406
3030
|
# The month of birth, between 1 and 12.
|
3407
3031
|
attr_accessor :month
|
3408
|
-
|
3409
3032
|
# The four-digit year of birth.
|
3410
3033
|
attr_accessor :year
|
3411
3034
|
|
@@ -3459,16 +3082,12 @@ module Stripe
|
|
3459
3082
|
class UsBankAccount < Stripe::RequestParams
|
3460
3083
|
# Account holder type: individual or company.
|
3461
3084
|
attr_accessor :account_holder_type
|
3462
|
-
|
3463
3085
|
# Account number of the bank account.
|
3464
3086
|
attr_accessor :account_number
|
3465
|
-
|
3466
3087
|
# Account type: checkings or savings. Defaults to checking if omitted.
|
3467
3088
|
attr_accessor :account_type
|
3468
|
-
|
3469
3089
|
# The ID of a Financial Connections Account to use as a payment method.
|
3470
3090
|
attr_accessor :financial_connections_account
|
3471
|
-
|
3472
3091
|
# Routing number of the bank account.
|
3473
3092
|
attr_accessor :routing_number
|
3474
3093
|
|
@@ -3494,166 +3113,114 @@ module Stripe
|
|
3494
3113
|
end
|
3495
3114
|
# If this is an `acss_debit` PaymentMethod, this hash contains details about the ACSS Debit payment method.
|
3496
3115
|
attr_accessor :acss_debit
|
3497
|
-
|
3498
3116
|
# If this is an `affirm` PaymentMethod, this hash contains details about the Affirm payment method.
|
3499
3117
|
attr_accessor :affirm
|
3500
|
-
|
3501
3118
|
# If this is an `AfterpayClearpay` PaymentMethod, this hash contains details about the AfterpayClearpay payment method.
|
3502
3119
|
attr_accessor :afterpay_clearpay
|
3503
|
-
|
3504
3120
|
# If this is an `Alipay` PaymentMethod, this hash contains details about the Alipay payment method.
|
3505
3121
|
attr_accessor :alipay
|
3506
|
-
|
3507
3122
|
# 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`.
|
3508
3123
|
attr_accessor :allow_redisplay
|
3509
|
-
|
3510
3124
|
# If this is a Alma PaymentMethod, this hash contains details about the Alma payment method.
|
3511
3125
|
attr_accessor :alma
|
3512
|
-
|
3513
3126
|
# If this is a AmazonPay PaymentMethod, this hash contains details about the AmazonPay payment method.
|
3514
3127
|
attr_accessor :amazon_pay
|
3515
|
-
|
3516
3128
|
# If this is an `au_becs_debit` PaymentMethod, this hash contains details about the bank account.
|
3517
3129
|
attr_accessor :au_becs_debit
|
3518
|
-
|
3519
3130
|
# If this is a `bacs_debit` PaymentMethod, this hash contains details about the Bacs Direct Debit bank account.
|
3520
3131
|
attr_accessor :bacs_debit
|
3521
|
-
|
3522
3132
|
# If this is a `bancontact` PaymentMethod, this hash contains details about the Bancontact payment method.
|
3523
3133
|
attr_accessor :bancontact
|
3524
|
-
|
3525
3134
|
# Billing information associated with the PaymentMethod that may be used or required by particular types of payment methods.
|
3526
3135
|
attr_accessor :billing_details
|
3527
|
-
|
3528
3136
|
# If this is a `blik` PaymentMethod, this hash contains details about the BLIK payment method.
|
3529
3137
|
attr_accessor :blik
|
3530
|
-
|
3531
3138
|
# If this is a `boleto` PaymentMethod, this hash contains details about the Boleto payment method.
|
3532
3139
|
attr_accessor :boleto
|
3533
|
-
|
3534
3140
|
# If this is a `cashapp` PaymentMethod, this hash contains details about the Cash App Pay payment method.
|
3535
3141
|
attr_accessor :cashapp
|
3536
|
-
|
3537
3142
|
# If this is a `customer_balance` PaymentMethod, this hash contains details about the CustomerBalance payment method.
|
3538
3143
|
attr_accessor :customer_balance
|
3539
|
-
|
3540
3144
|
# If this is an `eps` PaymentMethod, this hash contains details about the EPS payment method.
|
3541
3145
|
attr_accessor :eps
|
3542
|
-
|
3543
3146
|
# If this is an `fpx` PaymentMethod, this hash contains details about the FPX payment method.
|
3544
3147
|
attr_accessor :fpx
|
3545
|
-
|
3546
3148
|
# If this is a `giropay` PaymentMethod, this hash contains details about the Giropay payment method.
|
3547
3149
|
attr_accessor :giropay
|
3548
|
-
|
3549
3150
|
# If this is a Gopay PaymentMethod, this hash contains details about the Gopay payment method.
|
3550
3151
|
attr_accessor :gopay
|
3551
|
-
|
3552
3152
|
# If this is a `grabpay` PaymentMethod, this hash contains details about the GrabPay payment method.
|
3553
3153
|
attr_accessor :grabpay
|
3554
|
-
|
3555
3154
|
# If this is an `IdBankTransfer` PaymentMethod, this hash contains details about the IdBankTransfer payment method.
|
3556
3155
|
attr_accessor :id_bank_transfer
|
3557
|
-
|
3558
3156
|
# If this is an `ideal` PaymentMethod, this hash contains details about the iDEAL payment method.
|
3559
3157
|
attr_accessor :ideal
|
3560
|
-
|
3561
3158
|
# If this is an `interac_present` PaymentMethod, this hash contains details about the Interac Present payment method.
|
3562
3159
|
attr_accessor :interac_present
|
3563
|
-
|
3564
3160
|
# If this is a `kakao_pay` PaymentMethod, this hash contains details about the Kakao Pay payment method.
|
3565
3161
|
attr_accessor :kakao_pay
|
3566
|
-
|
3567
3162
|
# If this is a `klarna` PaymentMethod, this hash contains details about the Klarna payment method.
|
3568
3163
|
attr_accessor :klarna
|
3569
|
-
|
3570
3164
|
# If this is a `konbini` PaymentMethod, this hash contains details about the Konbini payment method.
|
3571
3165
|
attr_accessor :konbini
|
3572
|
-
|
3573
3166
|
# If this is a `kr_card` PaymentMethod, this hash contains details about the Korean Card payment method.
|
3574
3167
|
attr_accessor :kr_card
|
3575
|
-
|
3576
3168
|
# If this is an `Link` PaymentMethod, this hash contains details about the Link payment method.
|
3577
3169
|
attr_accessor :link
|
3578
|
-
|
3579
3170
|
# If this is a MB WAY PaymentMethod, this hash contains details about the MB WAY payment method.
|
3580
3171
|
attr_accessor :mb_way
|
3581
|
-
|
3582
3172
|
# 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`.
|
3583
3173
|
attr_accessor :metadata
|
3584
|
-
|
3585
3174
|
# If this is a `mobilepay` PaymentMethod, this hash contains details about the MobilePay payment method.
|
3586
3175
|
attr_accessor :mobilepay
|
3587
|
-
|
3588
3176
|
# If this is a `multibanco` PaymentMethod, this hash contains details about the Multibanco payment method.
|
3589
3177
|
attr_accessor :multibanco
|
3590
|
-
|
3591
3178
|
# If this is a `naver_pay` PaymentMethod, this hash contains details about the Naver Pay payment method.
|
3592
3179
|
attr_accessor :naver_pay
|
3593
|
-
|
3594
3180
|
# If this is an `oxxo` PaymentMethod, this hash contains details about the OXXO payment method.
|
3595
3181
|
attr_accessor :oxxo
|
3596
|
-
|
3597
3182
|
# If this is a `p24` PaymentMethod, this hash contains details about the P24 payment method.
|
3598
3183
|
attr_accessor :p24
|
3599
|
-
|
3184
|
+
# If this is a `pay_by_bank` PaymentMethod, this hash contains details about the PayByBank payment method.
|
3185
|
+
attr_accessor :pay_by_bank
|
3600
3186
|
# If this is a `payco` PaymentMethod, this hash contains details about the PAYCO payment method.
|
3601
3187
|
attr_accessor :payco
|
3602
|
-
|
3603
3188
|
# If this is a `paynow` PaymentMethod, this hash contains details about the PayNow payment method.
|
3604
3189
|
attr_accessor :paynow
|
3605
|
-
|
3606
3190
|
# If this is a `paypal` PaymentMethod, this hash contains details about the PayPal payment method.
|
3607
3191
|
attr_accessor :paypal
|
3608
|
-
|
3609
3192
|
# If this is a `payto` PaymentMethod, this hash contains details about the PayTo payment method.
|
3610
3193
|
attr_accessor :payto
|
3611
|
-
|
3612
3194
|
# If this is a `pix` PaymentMethod, this hash contains details about the Pix payment method.
|
3613
3195
|
attr_accessor :pix
|
3614
|
-
|
3615
3196
|
# If this is a `promptpay` PaymentMethod, this hash contains details about the PromptPay payment method.
|
3616
3197
|
attr_accessor :promptpay
|
3617
|
-
|
3618
3198
|
# If this is a `qris` PaymentMethod, this hash contains details about the QRIS payment method.
|
3619
3199
|
attr_accessor :qris
|
3620
|
-
|
3621
3200
|
# Options to configure Radar. See [Radar Session](https://stripe.com/docs/radar/radar-session) for more information.
|
3622
3201
|
attr_accessor :radar_options
|
3623
|
-
|
3624
3202
|
# If this is a `rechnung` PaymentMethod, this hash contains details about the Rechnung payment method.
|
3625
3203
|
attr_accessor :rechnung
|
3626
|
-
|
3627
3204
|
# If this is a `Revolut Pay` PaymentMethod, this hash contains details about the Revolut Pay payment method.
|
3628
3205
|
attr_accessor :revolut_pay
|
3629
|
-
|
3630
3206
|
# If this is a `samsung_pay` PaymentMethod, this hash contains details about the SamsungPay payment method.
|
3631
3207
|
attr_accessor :samsung_pay
|
3632
|
-
|
3633
3208
|
# If this is a `sepa_debit` PaymentMethod, this hash contains details about the SEPA debit bank account.
|
3634
3209
|
attr_accessor :sepa_debit
|
3635
|
-
|
3636
3210
|
# If this is a Shopeepay PaymentMethod, this hash contains details about the Shopeepay payment method.
|
3637
3211
|
attr_accessor :shopeepay
|
3638
|
-
|
3639
3212
|
# If this is a `sofort` PaymentMethod, this hash contains details about the SOFORT payment method.
|
3640
3213
|
attr_accessor :sofort
|
3641
|
-
|
3642
3214
|
# If this is a `swish` PaymentMethod, this hash contains details about the Swish payment method.
|
3643
3215
|
attr_accessor :swish
|
3644
|
-
|
3645
3216
|
# If this is a TWINT PaymentMethod, this hash contains details about the TWINT payment method.
|
3646
3217
|
attr_accessor :twint
|
3647
|
-
|
3648
3218
|
# 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.
|
3649
3219
|
attr_accessor :type
|
3650
|
-
|
3651
3220
|
# If this is an `us_bank_account` PaymentMethod, this hash contains details about the US bank account payment method.
|
3652
3221
|
attr_accessor :us_bank_account
|
3653
|
-
|
3654
3222
|
# If this is an `wechat_pay` PaymentMethod, this hash contains details about the wechat_pay payment method.
|
3655
3223
|
attr_accessor :wechat_pay
|
3656
|
-
|
3657
3224
|
# If this is a `zip` PaymentMethod, this hash contains details about the Zip payment method.
|
3658
3225
|
attr_accessor :zip
|
3659
3226
|
|
@@ -3693,6 +3260,7 @@ module Stripe
|
|
3693
3260
|
naver_pay: nil,
|
3694
3261
|
oxxo: nil,
|
3695
3262
|
p24: nil,
|
3263
|
+
pay_by_bank: nil,
|
3696
3264
|
payco: nil,
|
3697
3265
|
paynow: nil,
|
3698
3266
|
paypal: nil,
|
@@ -3749,6 +3317,7 @@ module Stripe
|
|
3749
3317
|
@naver_pay = naver_pay
|
3750
3318
|
@oxxo = oxxo
|
3751
3319
|
@p24 = p24
|
3320
|
+
@pay_by_bank = pay_by_bank
|
3752
3321
|
@payco = payco
|
3753
3322
|
@paynow = paynow
|
3754
3323
|
@paypal = paypal
|
@@ -3779,16 +3348,12 @@ module Stripe
|
|
3779
3348
|
# The URL will be rendered with additional GET parameters `payment_intent` and `payment_intent_client_secret` when confirming a Payment Intent,
|
3780
3349
|
# or `setup_intent` and `setup_intent_client_secret` when confirming a Setup Intent.
|
3781
3350
|
attr_accessor :custom_mandate_url
|
3782
|
-
|
3783
3351
|
# List of Stripe products where this mandate can be selected automatically.
|
3784
3352
|
attr_accessor :default_for
|
3785
|
-
|
3786
3353
|
# Description of the mandate interval. Only required if 'payment_schedule' parameter is 'interval' or 'combined'.
|
3787
3354
|
attr_accessor :interval_description
|
3788
|
-
|
3789
3355
|
# Payment schedule for the mandate.
|
3790
3356
|
attr_accessor :payment_schedule
|
3791
|
-
|
3792
3357
|
# Transaction type of the mandate.
|
3793
3358
|
attr_accessor :transaction_type
|
3794
3359
|
|
@@ -3808,10 +3373,8 @@ module Stripe
|
|
3808
3373
|
end
|
3809
3374
|
# 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).
|
3810
3375
|
attr_accessor :currency
|
3811
|
-
|
3812
3376
|
# Additional fields for Mandate creation
|
3813
3377
|
attr_accessor :mandate_options
|
3814
|
-
|
3815
3378
|
# Bank account verification method.
|
3816
3379
|
attr_accessor :verification_method
|
3817
3380
|
|
@@ -3846,31 +3409,22 @@ module Stripe
|
|
3846
3409
|
class MandateOptions < Stripe::RequestParams
|
3847
3410
|
# Amount to be charged for future payments.
|
3848
3411
|
attr_accessor :amount
|
3849
|
-
|
3850
3412
|
# 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.
|
3851
3413
|
attr_accessor :amount_type
|
3852
|
-
|
3853
3414
|
# 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).
|
3854
3415
|
attr_accessor :currency
|
3855
|
-
|
3856
3416
|
# A description of the mandate or subscription that is meant to be displayed to the customer.
|
3857
3417
|
attr_accessor :description
|
3858
|
-
|
3859
3418
|
# 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.
|
3860
3419
|
attr_accessor :end_date
|
3861
|
-
|
3862
3420
|
# Specifies payment frequency. One of `day`, `week`, `month`, `year`, or `sporadic`.
|
3863
3421
|
attr_accessor :interval
|
3864
|
-
|
3865
3422
|
# 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`.
|
3866
3423
|
attr_accessor :interval_count
|
3867
|
-
|
3868
3424
|
# Unique identifier for the mandate or subscription.
|
3869
3425
|
attr_accessor :reference
|
3870
|
-
|
3871
3426
|
# Start date of the mandate or subscription. Start date should not be lesser than yesterday.
|
3872
3427
|
attr_accessor :start_date
|
3873
|
-
|
3874
3428
|
# Specifies the type of mandates supported. Possible values are `india`.
|
3875
3429
|
attr_accessor :supported_types
|
3876
3430
|
|
@@ -3906,13 +3460,11 @@ module Stripe
|
|
3906
3460
|
# to calculate the Authentication cryptogram. Also known as `cavvAlgorithm`.
|
3907
3461
|
# messageExtension: CB-AVALGO
|
3908
3462
|
attr_accessor :cb_avalgo
|
3909
|
-
|
3910
3463
|
# The exemption indicator returned from Cartes Bancaires in the ARes.
|
3911
3464
|
# message extension: CB-EXEMPTION; string (4 characters)
|
3912
3465
|
# This is a 3 byte bitmap (low significant byte first and most significant
|
3913
3466
|
# bit first) that has been Base64 encoded
|
3914
3467
|
attr_accessor :cb_exemption
|
3915
|
-
|
3916
3468
|
# The risk score returned from Cartes Bancaires in the ARes.
|
3917
3469
|
# message extension: CB-SCORE; numeric value 0-99
|
3918
3470
|
attr_accessor :cb_score
|
@@ -3932,30 +3484,24 @@ module Stripe
|
|
3932
3484
|
end
|
3933
3485
|
# The `transStatus` returned from the card Issuer’s ACS in the ARes.
|
3934
3486
|
attr_accessor :ares_trans_status
|
3935
|
-
|
3936
3487
|
# The cryptogram, also known as the "authentication value" (AAV, CAVV or
|
3937
3488
|
# AEVV). This value is 20 bytes, base64-encoded into a 28-character string.
|
3938
3489
|
# (Most 3D Secure providers will return the base64-encoded version, which
|
3939
3490
|
# is what you should specify here.)
|
3940
3491
|
attr_accessor :cryptogram
|
3941
|
-
|
3942
3492
|
# The Electronic Commerce Indicator (ECI) is returned by your 3D Secure
|
3943
3493
|
# provider and indicates what degree of authentication was performed.
|
3944
3494
|
attr_accessor :electronic_commerce_indicator
|
3945
|
-
|
3946
3495
|
# Network specific 3DS fields. Network specific arguments require an
|
3947
3496
|
# explicit card brand choice. The parameter `payment_method_options.card.network``
|
3948
3497
|
# must be populated accordingly
|
3949
3498
|
attr_accessor :network_options
|
3950
|
-
|
3951
3499
|
# The challenge indicator (`threeDSRequestorChallengeInd`) which was requested in the
|
3952
3500
|
# AReq sent to the card Issuer's ACS. A string containing 2 digits from 01-99.
|
3953
3501
|
attr_accessor :requestor_challenge_indicator
|
3954
|
-
|
3955
3502
|
# For 3D Secure 1, the XID. For 3D Secure 2, the Directory Server
|
3956
3503
|
# Transaction ID (dsTransID).
|
3957
3504
|
attr_accessor :transaction_id
|
3958
|
-
|
3959
3505
|
# The version of 3D Secure that was performed.
|
3960
3506
|
attr_accessor :version
|
3961
3507
|
|
@@ -3979,18 +3525,14 @@ module Stripe
|
|
3979
3525
|
end
|
3980
3526
|
# Configuration options for setting up an eMandate for cards issued in India.
|
3981
3527
|
attr_accessor :mandate_options
|
3982
|
-
|
3983
3528
|
# When specified, this parameter signals that a card has been collected
|
3984
3529
|
# as MOTO (Mail Order Telephone Order) and thus out of scope for SCA. This
|
3985
3530
|
# parameter can only be provided during confirmation.
|
3986
3531
|
attr_accessor :moto
|
3987
|
-
|
3988
3532
|
# 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.
|
3989
3533
|
attr_accessor :network
|
3990
|
-
|
3991
3534
|
# 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.
|
3992
3535
|
attr_accessor :request_three_d_secure
|
3993
|
-
|
3994
3536
|
# If 3D Secure authentication was performed with a third-party provider,
|
3995
3537
|
# the authentication details to use for this setup.
|
3996
3538
|
attr_accessor :three_d_secure
|
@@ -4025,10 +3567,8 @@ module Stripe
|
|
4025
3567
|
class Paypal < Stripe::RequestParams
|
4026
3568
|
# The PayPal Billing Agreement ID (BAID). This is an ID generated by PayPal which represents the mandate between the merchant and the customer.
|
4027
3569
|
attr_accessor :billing_agreement_id
|
4028
|
-
|
4029
3570
|
# Attribute for param field currency
|
4030
3571
|
attr_accessor :currency
|
4031
|
-
|
4032
3572
|
# 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.
|
4033
3573
|
attr_accessor :subsellers
|
4034
3574
|
|
@@ -4043,22 +3583,16 @@ module Stripe
|
|
4043
3583
|
class MandateOptions < Stripe::RequestParams
|
4044
3584
|
# Amount that will be collected. It is required when `amount_type` is `fixed`.
|
4045
3585
|
attr_accessor :amount
|
4046
|
-
|
4047
3586
|
# 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.
|
4048
3587
|
attr_accessor :amount_type
|
4049
|
-
|
4050
3588
|
# Date, in YYYY-MM-DD format, after which payments will not be collected. Defaults to no end date.
|
4051
3589
|
attr_accessor :end_date
|
4052
|
-
|
4053
3590
|
# The periodicity at which payments will be collected.
|
4054
3591
|
attr_accessor :payment_schedule
|
4055
|
-
|
4056
3592
|
# 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.
|
4057
3593
|
attr_accessor :payments_per_period
|
4058
|
-
|
4059
3594
|
# The purpose for which payments are made. Defaults to retail.
|
4060
3595
|
attr_accessor :purpose
|
4061
|
-
|
4062
3596
|
# Date, in YYYY-MM-DD format, from which payments will be collected. Defaults to confirmation time.
|
4063
3597
|
attr_accessor :start_date
|
4064
3598
|
|
@@ -4110,7 +3644,6 @@ module Stripe
|
|
4110
3644
|
class Filters < Stripe::RequestParams
|
4111
3645
|
# The account subcategories to use to filter for selectable accounts. Valid subcategories are `checking` and `savings`.
|
4112
3646
|
attr_accessor :account_subcategories
|
4113
|
-
|
4114
3647
|
# ID of the institution to use to filter for selectable accounts.
|
4115
3648
|
attr_accessor :institution
|
4116
3649
|
|
@@ -4130,16 +3663,12 @@ module Stripe
|
|
4130
3663
|
end
|
4131
3664
|
# Provide filters for the linked accounts that the customer can select for the payment method
|
4132
3665
|
attr_accessor :filters
|
4133
|
-
|
4134
3666
|
# Customize manual entry behavior
|
4135
3667
|
attr_accessor :manual_entry
|
4136
|
-
|
4137
3668
|
# 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`.
|
4138
3669
|
attr_accessor :permissions
|
4139
|
-
|
4140
3670
|
# List of data features that you would like to retrieve upon account creation.
|
4141
3671
|
attr_accessor :prefetch
|
4142
|
-
|
4143
3672
|
# 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.
|
4144
3673
|
attr_accessor :return_url
|
4145
3674
|
|
@@ -4177,13 +3706,10 @@ module Stripe
|
|
4177
3706
|
end
|
4178
3707
|
# Additional fields for Financial Connections Session creation
|
4179
3708
|
attr_accessor :financial_connections
|
4180
|
-
|
4181
3709
|
# Additional fields for Mandate creation
|
4182
3710
|
attr_accessor :mandate_options
|
4183
|
-
|
4184
3711
|
# Additional fields for network related functions
|
4185
3712
|
attr_accessor :networks
|
4186
|
-
|
4187
3713
|
# Bank account verification method.
|
4188
3714
|
attr_accessor :verification_method
|
4189
3715
|
|
@@ -4201,31 +3727,22 @@ module Stripe
|
|
4201
3727
|
end
|
4202
3728
|
# If this is a `acss_debit` SetupIntent, this sub-hash contains details about the ACSS Debit payment method options.
|
4203
3729
|
attr_accessor :acss_debit
|
4204
|
-
|
4205
3730
|
# If this is a `amazon_pay` SetupIntent, this sub-hash contains details about the AmazonPay payment method options.
|
4206
3731
|
attr_accessor :amazon_pay
|
4207
|
-
|
4208
3732
|
# If this is a `bacs_debit` SetupIntent, this sub-hash contains details about the Bacs Debit payment method options.
|
4209
3733
|
attr_accessor :bacs_debit
|
4210
|
-
|
4211
3734
|
# Configuration for any card setup attempted on this SetupIntent.
|
4212
3735
|
attr_accessor :card
|
4213
|
-
|
4214
3736
|
# If this is a `card_present` PaymentMethod, this sub-hash contains details about the card-present payment method options.
|
4215
3737
|
attr_accessor :card_present
|
4216
|
-
|
4217
3738
|
# If this is a `link` PaymentMethod, this sub-hash contains details about the Link payment method options.
|
4218
3739
|
attr_accessor :link
|
4219
|
-
|
4220
3740
|
# If this is a `paypal` PaymentMethod, this sub-hash contains details about the PayPal payment method options.
|
4221
3741
|
attr_accessor :paypal
|
4222
|
-
|
4223
3742
|
# If this is a `payto` SetupIntent, this sub-hash contains details about the PayTo payment method options.
|
4224
3743
|
attr_accessor :payto
|
4225
|
-
|
4226
3744
|
# If this is a `sepa_debit` SetupIntent, this sub-hash contains details about the SEPA Debit payment method options.
|
4227
3745
|
attr_accessor :sepa_debit
|
4228
|
-
|
4229
3746
|
# If this is a `us_bank_account` SetupIntent, this sub-hash contains details about the US bank account payment method options.
|
4230
3747
|
attr_accessor :us_bank_account
|
4231
3748
|
|
@@ -4257,28 +3774,21 @@ module Stripe
|
|
4257
3774
|
#
|
4258
3775
|
# 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.
|
4259
3776
|
attr_accessor :confirmation_token
|
4260
|
-
|
4261
3777
|
# Specifies which fields in the response should be expanded.
|
4262
3778
|
attr_accessor :expand
|
4263
|
-
|
4264
3779
|
# Attribute for param field mandate_data
|
4265
3780
|
attr_accessor :mandate_data
|
4266
|
-
|
4267
3781
|
# ID of the payment method (a PaymentMethod, Card, or saved Source object) to attach to this SetupIntent.
|
4268
3782
|
attr_accessor :payment_method
|
4269
|
-
|
4270
3783
|
# 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)
|
4271
3784
|
# value in the SetupIntent.
|
4272
3785
|
attr_accessor :payment_method_data
|
4273
|
-
|
4274
3786
|
# Payment method-specific configuration for this SetupIntent.
|
4275
3787
|
attr_accessor :payment_method_options
|
4276
|
-
|
4277
3788
|
# The URL to redirect your customer back to after they authenticate on the payment method's app or site.
|
4278
3789
|
# If you'd prefer to redirect to a mobile application, you can alternatively supply an application URI scheme.
|
4279
3790
|
# This parameter is only used for cards and other redirect-based payment methods.
|
4280
3791
|
attr_accessor :return_url
|
4281
|
-
|
4282
3792
|
# Set to `true` when confirming server-side and using Stripe.js, iOS, or Android client-side SDKs to handle the next actions.
|
4283
3793
|
attr_accessor :use_stripe_sdk
|
4284
3794
|
|
@@ -4306,10 +3816,8 @@ module Stripe
|
|
4306
3816
|
class VerifyMicrodepositsParams < Stripe::RequestParams
|
4307
3817
|
# Two positive integers, in *cents*, equal to the values of the microdeposits sent to the bank account.
|
4308
3818
|
attr_accessor :amounts
|
4309
|
-
|
4310
3819
|
# A six-character code starting with SM present in the microdeposit sent to the bank account.
|
4311
3820
|
attr_accessor :descriptor_code
|
4312
|
-
|
4313
3821
|
# Specifies which fields in the response should be expanded.
|
4314
3822
|
attr_accessor :expand
|
4315
3823
|
|
@@ -4321,84 +3829,60 @@ module Stripe
|
|
4321
3829
|
end
|
4322
3830
|
# ID of the Connect application that created the SetupIntent.
|
4323
3831
|
attr_reader :application
|
4324
|
-
|
4325
3832
|
# If present, the SetupIntent's payment method will be attached to the in-context Stripe Account.
|
4326
3833
|
#
|
4327
3834
|
# 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.
|
4328
3835
|
attr_reader :attach_to_self
|
4329
|
-
|
4330
3836
|
# Settings for dynamic payment methods compatible with this Setup Intent
|
4331
3837
|
attr_reader :automatic_payment_methods
|
4332
|
-
|
4333
3838
|
# Reason for cancellation of this SetupIntent, one of `abandoned`, `requested_by_customer`, or `duplicate`.
|
4334
3839
|
attr_reader :cancellation_reason
|
4335
|
-
|
4336
3840
|
# The client secret of this SetupIntent. Used for client-side retrieval using a publishable key.
|
4337
3841
|
#
|
4338
3842
|
# 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.
|
4339
3843
|
attr_reader :client_secret
|
4340
|
-
|
4341
3844
|
# Time at which the object was created. Measured in seconds since the Unix epoch.
|
4342
3845
|
attr_reader :created
|
4343
|
-
|
4344
3846
|
# ID of the Customer this SetupIntent belongs to, if one exists.
|
4345
3847
|
#
|
4346
3848
|
# 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.
|
4347
3849
|
attr_reader :customer
|
4348
|
-
|
4349
3850
|
# An arbitrary string attached to the object. Often useful for displaying to users.
|
4350
3851
|
attr_reader :description
|
4351
|
-
|
4352
3852
|
# Indicates the directions of money movement for which this payment method is intended to be used.
|
4353
3853
|
#
|
4354
3854
|
# 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.
|
4355
3855
|
attr_reader :flow_directions
|
4356
|
-
|
4357
3856
|
# Unique identifier for the object.
|
4358
3857
|
attr_reader :id
|
4359
|
-
|
4360
3858
|
# The error encountered in the previous SetupIntent confirmation.
|
4361
3859
|
attr_reader :last_setup_error
|
4362
|
-
|
4363
3860
|
# The most recent SetupAttempt for this SetupIntent.
|
4364
3861
|
attr_reader :latest_attempt
|
4365
|
-
|
4366
3862
|
# Has the value `true` if the object exists in live mode or the value `false` if the object exists in test mode.
|
4367
3863
|
attr_reader :livemode
|
4368
|
-
|
4369
3864
|
# ID of the multi use Mandate generated by the SetupIntent.
|
4370
3865
|
attr_reader :mandate
|
4371
|
-
|
4372
3866
|
# 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.
|
4373
3867
|
attr_reader :metadata
|
4374
|
-
|
4375
3868
|
# If present, this property tells you what actions you need to take in order for your customer to continue payment setup.
|
4376
3869
|
attr_reader :next_action
|
4377
|
-
|
4378
3870
|
# String representing the object's type. Objects of the same type share the same value.
|
4379
3871
|
attr_reader :object
|
4380
|
-
|
4381
3872
|
# The account (if any) for which the setup is intended.
|
4382
3873
|
attr_reader :on_behalf_of
|
4383
|
-
|
4384
3874
|
# 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.
|
4385
3875
|
attr_reader :payment_method
|
4386
|
-
|
4387
3876
|
# Information about the [payment method configuration](https://stripe.com/docs/api/payment_method_configurations) used for this Setup Intent.
|
4388
3877
|
attr_reader :payment_method_configuration_details
|
4389
|
-
|
4390
3878
|
# Payment method-specific configuration for this SetupIntent.
|
4391
3879
|
attr_reader :payment_method_options
|
4392
|
-
|
4393
3880
|
# The list of payment method types (e.g. card) that this SetupIntent is allowed to set up.
|
4394
3881
|
attr_reader :payment_method_types
|
4395
|
-
|
4396
3882
|
# ID of the single_use Mandate generated by the SetupIntent.
|
4397
3883
|
attr_reader :single_use_mandate
|
4398
|
-
|
4399
3884
|
# [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`.
|
4400
3885
|
attr_reader :status
|
4401
|
-
|
4402
3886
|
# Indicates how the payment method is intended to be used in the future.
|
4403
3887
|
#
|
4404
3888
|
# 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`.
|