stripe 15.0.0 → 15.1.0.pre.beta.2
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- checksums.yaml +4 -4
- data/CHANGELOG.md +1559 -676
- data/Gemfile +1 -1
- data/OPENAPI_VERSION +1 -1
- data/VERSION +1 -1
- data/lib/stripe/api_operations/nested_resource.rb +35 -35
- data/lib/stripe/api_requestor.rb +29 -1
- data/lib/stripe/api_version.rb +1 -1
- data/lib/stripe/connection_manager.rb +1 -3
- data/lib/stripe/errors.rb +54 -0
- data/lib/stripe/event_types.rb +75 -0
- data/lib/stripe/events/v2_core_account_including_configuration_customer_capability_status_updated_event.rb +23 -0
- data/lib/stripe/events/v2_core_account_including_configuration_customer_updated_event.rb +21 -0
- data/lib/stripe/events/v2_core_account_including_configuration_merchant_capability_status_updated_event.rb +23 -0
- data/lib/stripe/events/v2_core_account_including_configuration_merchant_updated_event.rb +21 -0
- data/lib/stripe/events/v2_core_account_including_configuration_recipient_capability_status_updated_event.rb +23 -0
- data/lib/stripe/events/v2_core_account_including_configuration_recipient_updated_event.rb +21 -0
- data/lib/stripe/events/v2_core_account_including_identity_updated_event.rb +21 -0
- data/lib/stripe/events/v2_core_account_including_requirements_updated_event.rb +21 -0
- data/lib/stripe/events/v2_core_account_link_completed_event.rb +13 -0
- data/lib/stripe/events/v2_core_account_person_created_event.rb +23 -0
- data/lib/stripe/events/v2_core_account_person_deleted_event.rb +23 -0
- data/lib/stripe/events/v2_core_account_person_updated_event.rb +23 -0
- data/lib/stripe/events/v2_money_management_financial_account_created_event.rb +21 -0
- data/lib/stripe/events/v2_money_management_financial_address_activated_event.rb +21 -0
- data/lib/stripe/events/v2_money_management_financial_address_failed_event.rb +21 -0
- data/lib/stripe/events/v2_money_management_inbound_transfer_available_event.rb +23 -0
- data/lib/stripe/events/v2_money_management_inbound_transfer_bank_debit_failed_event.rb +21 -0
- data/lib/stripe/events/v2_money_management_inbound_transfer_bank_debit_processing_event.rb +21 -0
- data/lib/stripe/events/v2_money_management_inbound_transfer_bank_debit_queued_event.rb +21 -0
- data/lib/stripe/events/v2_money_management_inbound_transfer_bank_debit_returned_event.rb +21 -0
- data/lib/stripe/events/v2_money_management_inbound_transfer_bank_debit_succeeded_event.rb +21 -0
- data/lib/stripe/events/v2_money_management_outbound_payment_canceled_event.rb +21 -0
- data/lib/stripe/events/v2_money_management_outbound_payment_created_event.rb +21 -0
- data/lib/stripe/events/v2_money_management_outbound_payment_failed_event.rb +21 -0
- data/lib/stripe/events/v2_money_management_outbound_payment_posted_event.rb +21 -0
- data/lib/stripe/events/v2_money_management_outbound_payment_returned_event.rb +21 -0
- data/lib/stripe/events/v2_money_management_outbound_transfer_canceled_event.rb +21 -0
- data/lib/stripe/events/v2_money_management_outbound_transfer_created_event.rb +21 -0
- data/lib/stripe/events/v2_money_management_outbound_transfer_failed_event.rb +21 -0
- data/lib/stripe/events/v2_money_management_outbound_transfer_posted_event.rb +21 -0
- data/lib/stripe/events/v2_money_management_outbound_transfer_returned_event.rb +21 -0
- data/lib/stripe/events/v2_money_management_received_credit_available_event.rb +23 -0
- data/lib/stripe/events/v2_money_management_received_credit_failed_event.rb +21 -0
- data/lib/stripe/events/v2_money_management_received_credit_returned_event.rb +21 -0
- data/lib/stripe/events/v2_money_management_received_credit_succeeded_event.rb +21 -0
- data/lib/stripe/events/v2_money_management_received_debit_canceled_event.rb +21 -0
- data/lib/stripe/events/v2_money_management_received_debit_failed_event.rb +21 -0
- data/lib/stripe/events/v2_money_management_received_debit_pending_event.rb +21 -0
- data/lib/stripe/events/v2_money_management_received_debit_succeeded_event.rb +21 -0
- data/lib/stripe/events/v2_money_management_received_debit_updated_event.rb +21 -0
- data/lib/stripe/oauth.rb +1 -1
- data/lib/stripe/object_types.rb +53 -0
- data/lib/stripe/resources/account.rb +714 -3
- data/lib/stripe/resources/account_notice.rb +123 -0
- data/lib/stripe/resources/account_session.rb +299 -1
- data/lib/stripe/resources/balance_settings.rb +105 -0
- data/lib/stripe/resources/billing/credit_balance_summary.rb +2 -0
- data/lib/stripe/resources/billing/credit_balance_transaction.rb +4 -0
- data/lib/stripe/resources/billing/credit_grant.rb +10 -0
- data/lib/stripe/resources/billing/meter_error_report.rb +59 -0
- data/lib/stripe/resources/billing_portal/session.rb +6 -0
- data/lib/stripe/resources/capital/financing_offer.rb +179 -0
- data/lib/stripe/resources/capital/financing_summary.rb +55 -0
- data/lib/stripe/resources/capital/financing_transaction.rb +114 -0
- data/lib/stripe/resources/card.rb +2 -0
- data/lib/stripe/resources/cash_balance.rb +2 -0
- data/lib/stripe/resources/charge.rb +1472 -0
- data/lib/stripe/resources/checkout/session.rb +368 -9
- data/lib/stripe/resources/confirmation_token.rb +243 -4
- data/lib/stripe/resources/coupon.rb +31 -2
- data/lib/stripe/resources/credit_note.rb +10 -0
- data/lib/stripe/resources/credit_note_line_item.rb +9 -0
- data/lib/stripe/resources/customer.rb +2 -0
- data/lib/stripe/resources/customer_balance_transaction.rb +2 -0
- data/lib/stripe/resources/customer_cash_balance_transaction.rb +2 -0
- data/lib/stripe/resources/customer_session.rb +6 -1
- data/lib/stripe/resources/discount.rb +2 -0
- data/lib/stripe/resources/event.rb +33 -0
- data/lib/stripe/resources/financial_connections/account.rb +20 -1
- data/lib/stripe/resources/financial_connections/account_inferred_balance.rb +27 -0
- data/lib/stripe/resources/financial_connections/institution.rb +90 -0
- data/lib/stripe/resources/financial_connections/session.rb +62 -2
- data/lib/stripe/resources/funding_instructions.rb +1 -1
- data/lib/stripe/resources/fx_quote.rb +184 -0
- data/lib/stripe/resources/gift_cards/card.rb +208 -0
- data/lib/stripe/resources/gift_cards/transaction.rb +272 -0
- data/lib/stripe/resources/identity/verification_session.rb +10 -0
- data/lib/stripe/resources/invoice.rb +1124 -16
- data/lib/stripe/resources/invoice_item.rb +78 -2
- data/lib/stripe/resources/invoice_line_item.rb +55 -1
- data/lib/stripe/resources/invoice_payment.rb +2 -53
- data/lib/stripe/resources/issuing/cardholder.rb +2 -1
- data/lib/stripe/resources/issuing/credit_underwriting_record.rb +602 -0
- data/lib/stripe/resources/issuing/dispute_settlement_detail.rb +82 -0
- data/lib/stripe/resources/issuing/fraud_liability_debit.rb +86 -0
- data/lib/stripe/resources/issuing/settlement.rb +53 -0
- data/lib/stripe/resources/issuing/transaction.rb +6 -0
- data/lib/stripe/resources/line_item.rb +37 -0
- data/lib/stripe/resources/login_link.rb +2 -1
- data/lib/stripe/resources/mandate.rb +24 -0
- data/lib/stripe/resources/margin.rb +115 -0
- data/lib/stripe/resources/order.rb +2859 -0
- data/lib/stripe/resources/payment_attempt_record.rb +1078 -0
- data/lib/stripe/resources/payment_intent.rb +5540 -654
- data/lib/stripe/resources/payment_intent_amount_details_line_item.rb +65 -0
- data/lib/stripe/resources/payment_method.rb +209 -6
- data/lib/stripe/resources/payment_method_configuration.rb +354 -0
- data/lib/stripe/resources/payment_method_domain.rb +13 -0
- data/lib/stripe/resources/payment_record.rb +1607 -0
- data/lib/stripe/resources/payout.rb +6 -0
- data/lib/stripe/resources/person.rb +25 -1
- data/lib/stripe/resources/price.rb +30 -0
- data/lib/stripe/resources/privacy/redaction_job.rb +254 -0
- data/lib/stripe/resources/privacy/redaction_job_root_objects.rb +35 -0
- data/lib/stripe/resources/privacy/redaction_job_validation_error.rb +25 -0
- data/lib/stripe/resources/product.rb +59 -0
- data/lib/stripe/resources/promotion_code.rb +10 -0
- data/lib/stripe/resources/quote.rb +2042 -6
- data/lib/stripe/resources/quote_line.rb +274 -0
- data/lib/stripe/resources/quote_preview_invoice.rb +663 -0
- data/lib/stripe/resources/quote_preview_subscription_schedule.rb +337 -0
- data/lib/stripe/resources/refund.rb +11 -0
- data/lib/stripe/resources/setup_attempt.rb +21 -0
- data/lib/stripe/resources/setup_intent.rb +617 -21
- data/lib/stripe/resources/source.rb +29 -0
- data/lib/stripe/resources/subscription.rb +292 -9
- data/lib/stripe/resources/subscription_item.rb +84 -3
- data/lib/stripe/resources/subscription_schedule.rb +1007 -10
- data/lib/stripe/resources/tax/association.rb +89 -0
- data/lib/stripe/resources/tax/form.rb +211 -0
- data/lib/stripe/resources/tax/registration.rb +180 -0
- data/lib/stripe/resources/tax_id.rb +12 -2
- data/lib/stripe/resources/terminal/reader.rb +406 -0
- data/lib/stripe/resources/terminal/reader_collected_data.rb +31 -0
- data/lib/stripe/resources/token.rb +61 -0
- data/lib/stripe/resources/transfer.rb +6 -0
- data/lib/stripe/resources/treasury/financial_account.rb +22 -3
- data/lib/stripe/resources/treasury/financial_account_features.rb +2 -0
- data/lib/stripe/resources/treasury/outbound_payment.rb +4 -1
- data/lib/stripe/resources/treasury/outbound_transfer.rb +37 -0
- data/lib/stripe/resources/treasury/received_credit.rb +38 -1
- data/lib/stripe/resources/treasury/received_debit.rb +40 -1
- data/lib/stripe/resources/v2/core/account.rb +1715 -0
- data/lib/stripe/resources/v2/core/account_link.rb +54 -0
- data/lib/stripe/resources/v2/core/person.rb +272 -0
- data/lib/stripe/resources/v2/core/vault/gb_bank_account.rb +72 -0
- data/lib/stripe/resources/v2/core/vault/us_bank_account.rb +37 -0
- data/lib/stripe/resources/v2/financial_address_credit_simulation.rb +18 -0
- data/lib/stripe/resources/v2/financial_address_generated_microdeposits.rb +20 -0
- data/lib/stripe/resources/v2/money_management/adjustment.rb +49 -0
- data/lib/stripe/resources/v2/money_management/financial_account.rb +56 -0
- data/lib/stripe/resources/v2/money_management/financial_address.rb +66 -0
- data/lib/stripe/resources/v2/money_management/inbound_transfer.rb +92 -0
- data/lib/stripe/resources/v2/money_management/outbound_payment.rb +127 -0
- data/lib/stripe/resources/v2/money_management/outbound_payment_quote.rb +74 -0
- data/lib/stripe/resources/v2/money_management/outbound_setup_intent.rb +43 -0
- data/lib/stripe/resources/v2/money_management/outbound_transfer.rb +115 -0
- data/lib/stripe/resources/v2/money_management/payout_method.rb +73 -0
- data/lib/stripe/resources/v2/money_management/payout_methods_bank_account_spec.rb +47 -0
- data/lib/stripe/resources/v2/money_management/received_credit.rb +134 -0
- data/lib/stripe/resources/v2/money_management/received_debit.rb +106 -0
- data/lib/stripe/resources/v2/money_management/transaction.rb +76 -0
- data/lib/stripe/resources/v2/money_management/transaction_entry.rb +66 -0
- data/lib/stripe/resources.rb +90 -0
- data/lib/stripe/services/account_notice_service.rb +101 -0
- data/lib/stripe/services/account_person_service.rb +84 -0
- data/lib/stripe/services/account_service.rb +609 -2
- data/lib/stripe/services/account_session_service.rb +269 -1
- data/lib/stripe/services/application_fee_service.rb +1 -1
- data/lib/stripe/services/apps_service.rb +1 -1
- data/lib/stripe/services/balance_settings_service.rb +96 -0
- data/lib/stripe/services/billing/credit_balance_summary_service.rb +4 -1
- data/lib/stripe/services/billing/credit_balance_transaction_service.rb +4 -0
- data/lib/stripe/services/billing/credit_grant_service.rb +8 -0
- data/lib/stripe/services/billing/meter_service.rb +1 -1
- data/lib/stripe/services/billing_portal/session_service.rb +4 -0
- data/lib/stripe/services/billing_portal_service.rb +1 -1
- data/lib/stripe/services/billing_service.rb +1 -1
- data/lib/stripe/services/capital/financing_offer_service.rb +112 -0
- data/lib/stripe/services/capital/financing_summary_service.rb +28 -0
- data/lib/stripe/services/capital/financing_transaction_service.rb +79 -0
- data/lib/stripe/services/capital_service.rb +15 -0
- data/lib/stripe/services/charge_service.rb +1350 -0
- data/lib/stripe/services/checkout/session_service.rb +269 -7
- data/lib/stripe/services/checkout_service.rb +1 -1
- data/lib/stripe/services/climate_service.rb +1 -1
- data/lib/stripe/services/coupon_service.rb +17 -1
- data/lib/stripe/services/credit_note_service.rb +5 -1
- data/lib/stripe/services/customer_service.rb +1 -1
- data/lib/stripe/services/customer_session_service.rb +4 -1
- data/lib/stripe/services/entitlements_service.rb +1 -1
- data/{rbi/stripe/services/account_external_account_service.rbi → lib/stripe/services/external_account_service.rb} +135 -123
- data/{rbi/stripe/services/tax/transaction_line_item_service.rbi → lib/stripe/services/financial_connections/account_inferred_balance_service.rb} +21 -17
- data/lib/stripe/services/financial_connections/account_service.rb +8 -3
- data/{rbi/stripe/services/climate/supplier_service.rbi → lib/stripe/services/financial_connections/institution_service.rb} +36 -25
- data/lib/stripe/services/financial_connections/session_service.rb +34 -2
- data/lib/stripe/services/financial_connections_service.rb +3 -2
- data/lib/stripe/services/forwarding_service.rb +1 -1
- data/lib/stripe/services/fx_quote_service.rb +123 -0
- data/lib/stripe/services/gift_cards/card_service.rb +170 -0
- data/lib/stripe/services/gift_cards/transaction_service.rb +209 -0
- data/lib/stripe/services/gift_cards_service.rb +14 -0
- data/lib/stripe/services/identity/verification_session_service.rb +8 -0
- data/lib/stripe/services/identity_service.rb +1 -1
- data/lib/stripe/services/invoice_item_service.rb +74 -2
- data/lib/stripe/services/invoice_line_item_service.rb +33 -1
- data/lib/stripe/services/invoice_service.rb +1053 -17
- data/lib/stripe/services/issuing/cardholder_service.rb +2 -1
- data/lib/stripe/services/issuing/credit_underwriting_record_service.rb +504 -0
- data/lib/stripe/services/issuing/dispute_settlement_detail_service.rb +66 -0
- data/lib/stripe/services/issuing/fraud_liability_debit_service.rb +83 -0
- data/lib/stripe/services/issuing/transaction_service.rb +4 -0
- data/lib/stripe/services/issuing_service.rb +6 -2
- data/lib/stripe/services/margin_service.rb +119 -0
- data/{rbi/stripe/services/source_transaction_service.rbi → lib/stripe/services/order_line_item_service.rb} +20 -16
- data/lib/stripe/services/order_service.rb +2268 -0
- data/lib/stripe/services/payment_attempt_record_service.rb +49 -0
- data/{rbi/stripe/services/quote_line_item_service.rbi → lib/stripe/services/payment_intent_amount_details_line_item_service.rb} +20 -16
- data/lib/stripe/services/payment_intent_service.rb +4711 -278
- data/lib/stripe/services/payment_link_service.rb +1 -1
- data/lib/stripe/services/payment_method_configuration_service.rb +252 -0
- data/lib/stripe/services/payment_method_service.rb +137 -6
- data/lib/stripe/services/payment_record_service.rb +542 -0
- data/lib/stripe/services/payout_service.rb +4 -0
- data/lib/stripe/services/price_service.rb +19 -0
- data/lib/stripe/services/privacy/redaction_job_service.rb +231 -0
- data/{rbi/stripe/services/climate/product_service.rbi → lib/stripe/services/privacy/redaction_job_validation_error_service.rb} +36 -25
- data/lib/stripe/services/privacy_service.rb +13 -0
- data/lib/stripe/services/product_service.rb +39 -1
- data/lib/stripe/services/promotion_code_service.rb +8 -0
- data/{rbi/stripe/services/credit_note_line_item_service.rbi → lib/stripe/services/quote_line_service.rb} +20 -16
- data/{rbi/stripe/services/payment_link_line_item_service.rbi → lib/stripe/services/quote_preview_invoice_service.rb} +20 -16
- data/lib/stripe/services/quote_preview_subscription_schedule_service.rb +35 -0
- data/lib/stripe/services/quote_service.rb +1727 -8
- data/lib/stripe/services/radar_service.rb +1 -1
- data/lib/stripe/services/reporting_service.rb +1 -1
- data/lib/stripe/services/setup_intent_service.rb +577 -21
- data/lib/stripe/services/sigma_service.rb +1 -1
- data/lib/stripe/services/source_service.rb +1 -1
- data/lib/stripe/services/subscription_item_service.rb +75 -3
- data/lib/stripe/services/subscription_schedule_service.rb +911 -10
- data/lib/stripe/services/subscription_service.rb +253 -9
- data/lib/stripe/services/tax/association_service.rb +31 -0
- data/lib/stripe/services/tax/calculation_service.rb +1 -1
- data/lib/stripe/services/tax/form_service.rb +100 -0
- data/lib/stripe/services/tax/registration_service.rb +117 -0
- data/lib/stripe/services/tax/transaction_service.rb +1 -1
- data/lib/stripe/services/tax_id_service.rb +8 -2
- data/lib/stripe/services/tax_service.rb +4 -2
- data/lib/stripe/services/terminal/reader_collected_data_service.rb +28 -0
- data/lib/stripe/services/terminal/reader_service.rb +180 -0
- data/lib/stripe/services/terminal_service.rb +3 -2
- data/lib/stripe/services/test_helpers/confirmation_token_service.rb +155 -4
- data/lib/stripe/services/test_helpers/issuing_service.rb +1 -1
- data/lib/stripe/services/test_helpers/terminal/reader_service.rb +43 -0
- data/lib/stripe/services/test_helpers/terminal_service.rb +1 -1
- data/lib/stripe/services/test_helpers/treasury/received_credit_service.rb +25 -1
- data/lib/stripe/services/test_helpers/treasury/received_debit_service.rb +25 -1
- data/lib/stripe/services/test_helpers/treasury_service.rb +1 -1
- data/lib/stripe/services/test_helpers_service.rb +1 -1
- data/lib/stripe/services/token_service.rb +61 -0
- data/lib/stripe/services/transfer_service.rb +5 -1
- data/lib/stripe/services/treasury/financial_account_features_service.rb +4 -1
- data/lib/stripe/services/treasury/financial_account_service.rb +17 -3
- data/lib/stripe/services/treasury/outbound_payment_service.rb +4 -1
- data/lib/stripe/services/treasury/outbound_transfer_service.rb +24 -0
- data/lib/stripe/services/treasury_service.rb +1 -1
- data/lib/stripe/services/v1_services.rb +13 -3
- data/lib/stripe/services/v2/billing_service.rb +1 -1
- data/lib/stripe/services/v2/core/account_link_service.rb +76 -0
- data/lib/stripe/services/v2/core/account_service.rb +4130 -0
- data/lib/stripe/services/v2/core/accounts/person_service.rb +1040 -0
- data/lib/stripe/services/v2/core/vault/gb_bank_account_service.rb +135 -0
- data/lib/stripe/services/v2/core/vault/us_bank_account_service.rb +109 -0
- data/lib/stripe/services/v2/core/vault_service.rb +18 -0
- data/lib/stripe/services/v2/core_service.rb +5 -2
- data/lib/stripe/services/v2/money_management/adjustment_service.rb +75 -0
- data/lib/stripe/services/v2/money_management/financial_account_service.rb +44 -0
- data/lib/stripe/services/v2/money_management/financial_address_service.rb +81 -0
- data/lib/stripe/services/v2/money_management/inbound_transfer_service.rb +126 -0
- data/lib/stripe/services/v2/money_management/outbound_payment_quote_service.rb +80 -0
- data/lib/stripe/services/v2/money_management/outbound_payment_service.rb +202 -0
- data/lib/stripe/services/v2/money_management/outbound_setup_intent_service.rb +237 -0
- data/lib/stripe/services/v2/money_management/outbound_transfer_service.rb +174 -0
- data/lib/stripe/services/v2/money_management/payout_method_service.rb +95 -0
- data/lib/stripe/services/v2/money_management/payout_methods_bank_account_spec_service.rb +32 -0
- data/lib/stripe/services/v2/money_management/received_credit_service.rb +71 -0
- data/lib/stripe/services/v2/money_management/received_debit_service.rb +44 -0
- data/lib/stripe/services/v2/money_management/transaction_entry_service.rb +70 -0
- data/lib/stripe/services/v2/money_management/transaction_service.rb +74 -0
- data/lib/stripe/services/v2/money_management_service.rb +31 -0
- data/lib/stripe/services/v2/test_helper_service.rb +15 -0
- data/lib/stripe/services/v2/test_helpers/financial_address_service.rb +50 -0
- data/lib/stripe/services/v2_services.rb +5 -3
- data/lib/stripe/services.rb +54 -1
- data/lib/stripe/stripe_configuration.rb +3 -1
- data/lib/stripe/stripe_object.rb +1 -1
- data/lib/stripe/util.rb +7 -1
- data/lib/stripe/version.rb +1 -1
- data/lib/stripe.rb +53 -0
- data/rbi/stripe.rbi +191592 -0
- data/stripe.gemspec +4 -1
- metadata +149 -325
- data/lib/stripe/services/invoice_payment_service.rb +0 -83
- data/rbi/stripe/resources/account.rbi +0 -4840
- data/rbi/stripe/resources/account_link.rbi +0 -74
- data/rbi/stripe/resources/account_session.rbi +0 -894
- data/rbi/stripe/resources/apple_pay_domain.rbi +0 -90
- data/rbi/stripe/resources/application.rbi +0 -20
- data/rbi/stripe/resources/application_fee.rbi +0 -118
- data/rbi/stripe/resources/application_fee_refund.rbi +0 -37
- data/rbi/stripe/resources/apps/secret.rbi +0 -195
- data/rbi/stripe/resources/balance.rbi +0 -180
- data/rbi/stripe/resources/balance_transaction.rbi +0 -144
- data/rbi/stripe/resources/bank_account.rbi +0 -127
- data/rbi/stripe/resources/billing/alert.rbi +0 -201
- data/rbi/stripe/resources/billing/alert_triggered.rbi +0 -28
- data/rbi/stripe/resources/billing/credit_balance_summary.rbi +0 -63
- data/rbi/stripe/resources/billing/credit_balance_transaction.rbi +0 -147
- data/rbi/stripe/resources/billing/credit_grant.rbi +0 -291
- data/rbi/stripe/resources/billing/meter.rbi +0 -226
- data/rbi/stripe/resources/billing/meter_event.rbi +0 -64
- data/rbi/stripe/resources/billing/meter_event_adjustment.rbi +0 -64
- data/rbi/stripe/resources/billing/meter_event_summary.rbi +0 -35
- data/rbi/stripe/resources/billing_portal/configuration.rbi +0 -645
- data/rbi/stripe/resources/billing_portal/session.rbi +0 -345
- data/rbi/stripe/resources/capability.rbi +0 -125
- data/rbi/stripe/resources/card.rbi +0 -125
- data/rbi/stripe/resources/cash_balance.rbi +0 -32
- data/rbi/stripe/resources/charge.rbi +0 -2054
- data/rbi/stripe/resources/checkout/session.rbi +0 -3951
- data/rbi/stripe/resources/climate/order.rbi +0 -245
- data/rbi/stripe/resources/climate/product.rbi +0 -75
- data/rbi/stripe/resources/climate/supplier.rbi +0 -72
- data/rbi/stripe/resources/confirmation_token.rbi +0 -1793
- data/rbi/stripe/resources/connect_collection_transfer.rbi +0 -26
- data/rbi/stripe/resources/country_spec.rbi +0 -85
- data/rbi/stripe/resources/coupon.rbi +0 -252
- data/rbi/stripe/resources/credit_note.rbi +0 -747
- data/rbi/stripe/resources/credit_note_line_item.rbi +0 -101
- data/rbi/stripe/resources/customer.rbi +0 -1009
- data/rbi/stripe/resources/customer_balance_transaction.rbi +0 -56
- data/rbi/stripe/resources/customer_cash_balance_transaction.rbi +0 -151
- data/rbi/stripe/resources/customer_session.rbi +0 -200
- data/rbi/stripe/resources/discount.rbi +0 -53
- data/rbi/stripe/resources/dispute.rbi +0 -761
- data/rbi/stripe/resources/entitlements/active_entitlement.rbi +0 -58
- data/rbi/stripe/resources/entitlements/active_entitlement_summary.rbi +0 -23
- data/rbi/stripe/resources/entitlements/feature.rbi +0 -117
- data/rbi/stripe/resources/ephemeral_key.rbi +0 -44
- data/rbi/stripe/resources/event.rbi +0 -146
- data/rbi/stripe/resources/exchange_rate.rbi +0 -66
- data/rbi/stripe/resources/file.rbi +0 -143
- data/rbi/stripe/resources/file_link.rbi +0 -141
- data/rbi/stripe/resources/financial_connections/account.rbi +0 -339
- data/rbi/stripe/resources/financial_connections/account_owner.rbi +0 -35
- data/rbi/stripe/resources/financial_connections/account_ownership.rbi +0 -23
- data/rbi/stripe/resources/financial_connections/session.rbi +0 -123
- data/rbi/stripe/resources/financial_connections/transaction.rbi +0 -124
- data/rbi/stripe/resources/forwarding/request.rbi +0 -216
- data/rbi/stripe/resources/funding_instructions.rbi +0 -437
- data/rbi/stripe/resources/identity/verification_report.rbi +0 -351
- data/rbi/stripe/resources/identity/verification_session.rbi +0 -517
- data/rbi/stripe/resources/invoice.rbi +0 -3733
- data/rbi/stripe/resources/invoice_item.rbi +0 -475
- data/rbi/stripe/resources/invoice_line_item.rbi +0 -432
- data/rbi/stripe/resources/invoice_payment.rbi +0 -114
- data/rbi/stripe/resources/invoice_rendering_template.rbi +0 -104
- data/rbi/stripe/resources/issuing/authorization.rbi +0 -1283
- data/rbi/stripe/resources/issuing/card.rbi +0 -741
- data/rbi/stripe/resources/issuing/cardholder.rbi +0 -744
- data/rbi/stripe/resources/issuing/dispute.rbi +0 -913
- data/rbi/stripe/resources/issuing/personalization_design.rbi +0 -338
- data/rbi/stripe/resources/issuing/physical_bundle.rbi +0 -79
- data/rbi/stripe/resources/issuing/token.rbi +0 -226
- data/rbi/stripe/resources/issuing/transaction.rbi +0 -1061
- data/rbi/stripe/resources/line_item.rbi +0 -72
- data/rbi/stripe/resources/login_link.rbi +0 -18
- data/rbi/stripe/resources/mandate.rbi +0 -187
- data/rbi/stripe/resources/payment_intent.rbi +0 -9731
- data/rbi/stripe/resources/payment_link.rbi +0 -1801
- data/rbi/stripe/resources/payment_method.rbi +0 -1822
- data/rbi/stripe/resources/payment_method_configuration.rbi +0 -3154
- data/rbi/stripe/resources/payment_method_domain.rbi +0 -212
- data/rbi/stripe/resources/payout.rbi +0 -300
- data/rbi/stripe/resources/person.rbi +0 -371
- data/rbi/stripe/resources/plan.rbi +0 -373
- data/rbi/stripe/resources/price.rbi +0 -694
- data/rbi/stripe/resources/product.rbi +0 -557
- data/rbi/stripe/resources/product_feature.rbi +0 -26
- data/rbi/stripe/resources/promotion_code.rbi +0 -261
- data/rbi/stripe/resources/quote.rbi +0 -1123
- data/rbi/stripe/resources/radar/early_fraud_warning.rbi +0 -98
- data/rbi/stripe/resources/radar/value_list.rbi +0 -170
- data/rbi/stripe/resources/radar/value_list_item.rbi +0 -131
- data/rbi/stripe/resources/refund.rbi +0 -516
- data/rbi/stripe/resources/reporting/report_run.rbi +0 -191
- data/rbi/stripe/resources/reporting/report_type.rbi +0 -57
- data/rbi/stripe/resources/reserve_transaction.rbi +0 -23
- data/rbi/stripe/resources/reversal.rbi +0 -51
- data/rbi/stripe/resources/review.rbi +0 -154
- data/rbi/stripe/resources/setup_attempt.rbi +0 -477
- data/rbi/stripe/resources/setup_intent.rbi +0 -3860
- data/rbi/stripe/resources/shipping_rate.rbi +0 -305
- data/rbi/stripe/resources/sigma/scheduled_query_run.rbi +0 -75
- data/rbi/stripe/resources/source.rbi +0 -1496
- data/rbi/stripe/resources/source_mandate_notification.rbi +0 -77
- data/rbi/stripe/resources/source_transaction.rbi +0 -127
- data/rbi/stripe/resources/subscription.rbi +0 -1964
- data/rbi/stripe/resources/subscription_item.rbi +0 -370
- data/rbi/stripe/resources/subscription_schedule.rbi +0 -1495
- data/rbi/stripe/resources/tax/calculation.rbi +0 -474
- data/rbi/stripe/resources/tax/calculation_line_item.rbi +0 -88
- data/rbi/stripe/resources/tax/registration.rbi +0 -2485
- data/rbi/stripe/resources/tax/settings.rbi +0 -141
- data/rbi/stripe/resources/tax/transaction.rbi +0 -351
- data/rbi/stripe/resources/tax/transaction_line_item.rbi +0 -54
- data/rbi/stripe/resources/tax_code.rbi +0 -44
- data/rbi/stripe/resources/tax_deducted_at_source.rbi +0 -23
- data/rbi/stripe/resources/tax_id.rbi +0 -167
- data/rbi/stripe/resources/tax_rate.rbi +0 -239
- data/rbi/stripe/resources/terminal/configuration.rbi +0 -1388
- data/rbi/stripe/resources/terminal/connection_token.rbi +0 -37
- data/rbi/stripe/resources/terminal/location.rbi +0 -224
- data/rbi/stripe/resources/terminal/reader.rbi +0 -587
- data/rbi/stripe/resources/test_helpers/test_clock.rbi +0 -134
- data/rbi/stripe/resources/token.rbi +0 -1217
- data/rbi/stripe/resources/topup.rbi +0 -222
- data/rbi/stripe/resources/transfer.rbi +0 -199
- data/rbi/stripe/resources/treasury/credit_reversal.rbi +0 -119
- data/rbi/stripe/resources/treasury/debit_reversal.rbi +0 -131
- data/rbi/stripe/resources/treasury/financial_account.rbi +0 -865
- data/rbi/stripe/resources/treasury/financial_account_features.rbi +0 -260
- data/rbi/stripe/resources/treasury/inbound_transfer.rbi +0 -295
- data/rbi/stripe/resources/treasury/outbound_payment.rbi +0 -592
- data/rbi/stripe/resources/treasury/outbound_transfer.rbi +0 -431
- data/rbi/stripe/resources/treasury/received_credit.rbi +0 -302
- data/rbi/stripe/resources/treasury/received_debit.rbi +0 -256
- data/rbi/stripe/resources/treasury/transaction.rbi +0 -215
- data/rbi/stripe/resources/treasury/transaction_entry.rbi +0 -192
- data/rbi/stripe/resources/v2/amount.rbi +0 -14
- data/rbi/stripe/resources/v2/billing/meter_event.rbi +0 -37
- data/rbi/stripe/resources/v2/billing/meter_event_adjustment.rbi +0 -41
- data/rbi/stripe/resources/v2/billing/meter_event_session.rbi +0 -31
- data/rbi/stripe/resources/v2/event.rbi +0 -48
- data/rbi/stripe/resources/v2/event_destination.rbi +0 -91
- data/rbi/stripe/resources/webhook_endpoint.rbi +0 -170
- data/rbi/stripe/services/account_capability_service.rbi +0 -51
- data/rbi/stripe/services/account_link_service.rbi +0 -58
- data/rbi/stripe/services/account_login_link_service.rbi +0 -22
- data/rbi/stripe/services/account_person_service.rbi +0 -923
- data/rbi/stripe/services/account_service.rbi +0 -4143
- data/rbi/stripe/services/account_session_service.rbi +0 -572
- data/rbi/stripe/services/apple_pay_domain_service.rbi +0 -78
- data/rbi/stripe/services/application_fee_refund_service.rbi +0 -93
- data/rbi/stripe/services/application_fee_service.rbi +0 -78
- data/rbi/stripe/services/apps/secret_service.rbi +0 -151
- data/rbi/stripe/services/apps_service.rbi +0 -9
- data/rbi/stripe/services/balance_service.rbi +0 -21
- data/rbi/stripe/services/balance_transaction_service.rbi +0 -93
- data/rbi/stripe/services/billing/alert_service.rbi +0 -152
- data/rbi/stripe/services/billing/credit_balance_summary_service.rbi +0 -68
- data/rbi/stripe/services/billing/credit_balance_transaction_service.rbi +0 -59
- data/rbi/stripe/services/billing/credit_grant_service.rbi +0 -211
- data/rbi/stripe/services/billing/meter_event_adjustment_service.rbi +0 -42
- data/rbi/stripe/services/billing/meter_event_service.rbi +0 -42
- data/rbi/stripe/services/billing/meter_event_summary_service.rbi +0 -54
- data/rbi/stripe/services/billing/meter_service.rbi +0 -163
- data/rbi/stripe/services/billing_portal/configuration_service.rbi +0 -511
- data/rbi/stripe/services/billing_portal/session_service.rbi +0 -204
- data/rbi/stripe/services/billing_portal_service.rbi +0 -10
- data/rbi/stripe/services/billing_service.rbi +0 -15
- data/rbi/stripe/services/charge_service.rbi +0 -448
- data/rbi/stripe/services/checkout/session_line_item_service.rbi +0 -33
- data/rbi/stripe/services/checkout/session_service.rbi +0 -2585
- data/rbi/stripe/services/checkout_service.rbi +0 -9
- data/rbi/stripe/services/climate/order_service.rbi +0 -142
- data/rbi/stripe/services/climate_service.rbi +0 -11
- data/rbi/stripe/services/confirmation_token_service.rbi +0 -20
- data/rbi/stripe/services/country_spec_service.rbi +0 -44
- data/rbi/stripe/services/coupon_service.rbi +0 -196
- data/rbi/stripe/services/credit_note_preview_lines_service.rbi +0 -167
- data/rbi/stripe/services/credit_note_service.rbi +0 -416
- data/rbi/stripe/services/customer_balance_transaction_service.rbi +0 -92
- data/rbi/stripe/services/customer_cash_balance_service.rbi +0 -45
- data/rbi/stripe/services/customer_cash_balance_transaction_service.rbi +0 -44
- data/rbi/stripe/services/customer_funding_instructions_service.rbi +0 -59
- data/rbi/stripe/services/customer_payment_method_service.rbi +0 -57
- data/rbi/stripe/services/customer_payment_source_service.rbi +0 -232
- data/rbi/stripe/services/customer_service.rbi +0 -651
- data/rbi/stripe/services/customer_session_service.rbi +0 -116
- data/rbi/stripe/services/customer_tax_id_service.rbi +0 -72
- data/rbi/stripe/services/dispute_service.rbi +0 -424
- data/rbi/stripe/services/entitlements/active_entitlement_service.rbi +0 -55
- data/rbi/stripe/services/entitlements/feature_service.rbi +0 -107
- data/rbi/stripe/services/entitlements_service.rbi +0 -10
- data/rbi/stripe/services/ephemeral_key_service.rbi +0 -53
- data/rbi/stripe/services/event_service.rbi +0 -83
- data/rbi/stripe/services/exchange_rate_service.rbi +0 -44
- data/rbi/stripe/services/file_link_service.rbi +0 -124
- data/rbi/stripe/services/file_service.rbi +0 -116
- data/rbi/stripe/services/financial_connections/account_owner_service.rbi +0 -42
- data/rbi/stripe/services/financial_connections/account_service.rbi +0 -133
- data/rbi/stripe/services/financial_connections/session_service.rbi +0 -88
- data/rbi/stripe/services/financial_connections/transaction_service.rbi +0 -92
- data/rbi/stripe/services/financial_connections_service.rbi +0 -11
- data/rbi/stripe/services/forwarding/request_service.rbi +0 -134
- data/rbi/stripe/services/forwarding_service.rbi +0 -9
- data/rbi/stripe/services/identity/verification_report_service.rbi +0 -87
- data/rbi/stripe/services/identity/verification_session_service.rbi +0 -323
- data/rbi/stripe/services/identity_service.rbi +0 -10
- data/rbi/stripe/services/invoice_item_service.rbi +0 -368
- data/rbi/stripe/services/invoice_line_item_service.rbi +0 -259
- data/rbi/stripe/services/invoice_payment_service.rbi +0 -71
- data/rbi/stripe/services/invoice_rendering_template_service.rbi +0 -82
- data/rbi/stripe/services/invoice_service.rbi +0 -2920
- data/rbi/stripe/services/issuing/authorization_service.rbi +0 -146
- data/rbi/stripe/services/issuing/card_service.rbi +0 -495
- data/rbi/stripe/services/issuing/cardholder_service.rbi +0 -587
- data/rbi/stripe/services/issuing/dispute_service.rbi +0 -707
- data/rbi/stripe/services/issuing/personalization_design_service.rbi +0 -243
- data/rbi/stripe/services/issuing/physical_bundle_service.rbi +0 -59
- data/rbi/stripe/services/issuing/token_service.rbi +0 -99
- data/rbi/stripe/services/issuing/transaction_service.rbi +0 -105
- data/rbi/stripe/services/issuing_service.rbi +0 -16
- data/rbi/stripe/services/mandate_service.rbi +0 -20
- data/rbi/stripe/services/payment_intent_service.rbi +0 -7759
- data/rbi/stripe/services/payment_link_service.rbi +0 -1352
- data/rbi/stripe/services/payment_method_configuration_service.rbi +0 -2211
- data/rbi/stripe/services/payment_method_domain_service.rbi +0 -112
- data/rbi/stripe/services/payment_method_service.rbi +0 -840
- data/rbi/stripe/services/payout_service.rbi +0 -205
- data/rbi/stripe/services/plan_service.rbi +0 -284
- data/rbi/stripe/services/price_service.rbi +0 -546
- data/rbi/stripe/services/product_feature_service.rbi +0 -69
- data/rbi/stripe/services/product_service.rbi +0 -479
- data/rbi/stripe/services/promotion_code_service.rbi +0 -214
- data/rbi/stripe/services/quote_computed_upfront_line_items_service.rbi +0 -31
- data/rbi/stripe/services/quote_service.rbi +0 -686
- data/rbi/stripe/services/radar/early_fraud_warning_service.rbi +0 -85
- data/rbi/stripe/services/radar/value_list_item_service.rbi +0 -111
- data/rbi/stripe/services/radar/value_list_service.rbi +0 -143
- data/rbi/stripe/services/radar_service.rbi +0 -11
- data/rbi/stripe/services/refund_service.rbi +0 -185
- data/rbi/stripe/services/reporting/report_run_service.rbi +0 -135
- data/rbi/stripe/services/reporting/report_type_service.rbi +0 -35
- data/rbi/stripe/services/reporting_service.rbi +0 -10
- data/rbi/stripe/services/review_service.rbi +0 -84
- data/rbi/stripe/services/setup_attempt_service.rbi +0 -65
- data/rbi/stripe/services/setup_intent_service.rbi +0 -3596
- data/rbi/stripe/services/shipping_rate_service.rbi +0 -241
- data/rbi/stripe/services/sigma/scheduled_query_run_service.rbi +0 -46
- data/rbi/stripe/services/sigma_service.rbi +0 -9
- data/rbi/stripe/services/source_service.rbi +0 -663
- data/rbi/stripe/services/subscription_item_service.rbi +0 -324
- data/rbi/stripe/services/subscription_schedule_service.rbi +0 -1192
- data/rbi/stripe/services/subscription_service.rbi +0 -1596
- data/rbi/stripe/services/tax/calculation_line_item_service.rbi +0 -33
- data/rbi/stripe/services/tax/calculation_service.rbi +0 -230
- data/rbi/stripe/services/tax/registration_service.rbi +0 -1689
- data/rbi/stripe/services/tax/settings_service.rbi +0 -93
- data/rbi/stripe/services/tax/transaction_service.rbi +0 -146
- data/rbi/stripe/services/tax_code_service.rbi +0 -44
- data/rbi/stripe/services/tax_id_service.rbi +0 -112
- data/rbi/stripe/services/tax_rate_service.rbi +0 -185
- data/rbi/stripe/services/tax_service.rbi +0 -12
- data/rbi/stripe/services/terminal/configuration_service.rbi +0 -1120
- data/rbi/stripe/services/terminal/connection_token_service.rbi +0 -25
- data/rbi/stripe/services/terminal/location_service.rbi +0 -184
- data/rbi/stripe/services/terminal/reader_service.rbi +0 -344
- data/rbi/stripe/services/terminal_service.rbi +0 -12
- data/rbi/stripe/services/test_helpers/confirmation_token_service.rbi +0 -746
- data/rbi/stripe/services/test_helpers/customer_service.rbi +0 -33
- data/rbi/stripe/services/test_helpers/issuing/authorization_service.rbi +0 -848
- data/rbi/stripe/services/test_helpers/issuing/card_service.rbi +0 -76
- data/rbi/stripe/services/test_helpers/issuing/personalization_design_service.rbi +0 -69
- data/rbi/stripe/services/test_helpers/issuing/transaction_service.rbi +0 -711
- data/rbi/stripe/services/test_helpers/issuing_service.rbi +0 -14
- data/rbi/stripe/services/test_helpers/refund_service.rbi +0 -22
- data/rbi/stripe/services/test_helpers/terminal/reader_service.rbi +0 -62
- data/rbi/stripe/services/test_helpers/terminal_service.rbi +0 -11
- data/rbi/stripe/services/test_helpers/test_clock_service.rbi +0 -92
- data/rbi/stripe/services/test_helpers/treasury/inbound_transfer_service.rbi +0 -64
- data/rbi/stripe/services/test_helpers/treasury/outbound_payment_service.rbi +0 -125
- data/rbi/stripe/services/test_helpers/treasury/outbound_transfer_service.rbi +0 -125
- data/rbi/stripe/services/test_helpers/treasury/received_credit_service.rbi +0 -87
- data/rbi/stripe/services/test_helpers/treasury/received_debit_service.rbi +0 -87
- data/rbi/stripe/services/test_helpers/treasury_service.rbi +0 -15
- data/rbi/stripe/services/test_helpers_service.rbi +0 -15
- data/rbi/stripe/services/token_service.rbi +0 -1189
- data/rbi/stripe/services/topup_service.rbi +0 -176
- data/rbi/stripe/services/transfer_reversal_service.rbi +0 -101
- data/rbi/stripe/services/transfer_service.rbi +0 -152
- data/rbi/stripe/services/treasury/credit_reversal_service.rbi +0 -84
- data/rbi/stripe/services/treasury/debit_reversal_service.rbi +0 -88
- data/rbi/stripe/services/treasury/financial_account_features_service.rbi +0 -198
- data/rbi/stripe/services/treasury/financial_account_service.rbi +0 -562
- data/rbi/stripe/services/treasury/inbound_transfer_service.rbi +0 -117
- data/rbi/stripe/services/treasury/outbound_payment_service.rbi +0 -304
- data/rbi/stripe/services/treasury/outbound_transfer_service.rbi +0 -157
- data/rbi/stripe/services/treasury/received_credit_service.rbi +0 -72
- data/rbi/stripe/services/treasury/received_debit_service.rbi +0 -59
- data/rbi/stripe/services/treasury/transaction_entry_service.rbi +0 -111
- data/rbi/stripe/services/treasury/transaction_service.rbi +0 -122
- data/rbi/stripe/services/treasury_service.rbi +0 -18
- data/rbi/stripe/services/v1_services.rbi +0 -77
- data/rbi/stripe/services/v2/billing/meter_event_adjustment_service.rbi +0 -39
- data/rbi/stripe/services/v2/billing/meter_event_service.rbi +0 -42
- data/rbi/stripe/services/v2/billing/meter_event_session_service.rbi +0 -20
- data/rbi/stripe/services/v2/billing/meter_event_stream_service.rbi +0 -55
- data/rbi/stripe/services/v2/billing_service.rbi +0 -14
- data/rbi/stripe/services/v2/core/event_destination_service.rbi +0 -200
- data/rbi/stripe/services/v2/core/event_service.rbi +0 -38
- data/rbi/stripe/services/v2/core_service.rbi +0 -12
- data/rbi/stripe/services/v2_services.rbi +0 -10
- data/rbi/stripe/services/webhook_endpoint_service.rbi +0 -131
@@ -29,6 +29,8 @@ module Stripe
|
|
29
29
|
attr_accessor :created
|
30
30
|
# Only return SetupIntents for the customer specified by this customer ID.
|
31
31
|
attr_accessor :customer
|
32
|
+
# Only return SetupIntents for the account specified by this customer ID.
|
33
|
+
attr_accessor :customer_account
|
32
34
|
# 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.
|
33
35
|
attr_accessor :ending_before
|
34
36
|
# Specifies which fields in the response should be expanded.
|
@@ -44,6 +46,7 @@ module Stripe
|
|
44
46
|
attach_to_self: nil,
|
45
47
|
created: nil,
|
46
48
|
customer: nil,
|
49
|
+
customer_account: nil,
|
47
50
|
ending_before: nil,
|
48
51
|
expand: nil,
|
49
52
|
limit: nil,
|
@@ -53,6 +56,7 @@ module Stripe
|
|
53
56
|
@attach_to_self = attach_to_self
|
54
57
|
@created = created
|
55
58
|
@customer = customer
|
59
|
+
@customer_account = customer_account
|
56
60
|
@ending_before = ending_before
|
57
61
|
@expand = expand
|
58
62
|
@limit = limit
|
@@ -216,12 +220,15 @@ module Stripe
|
|
216
220
|
attr_accessor :name
|
217
221
|
# Billing phone number (including extension).
|
218
222
|
attr_accessor :phone
|
223
|
+
# Taxpayer identification number. Used only for transactions between LATAM buyers and non-LATAM sellers.
|
224
|
+
attr_accessor :tax_id
|
219
225
|
|
220
|
-
def initialize(address: nil, email: nil, name: nil, phone: nil)
|
226
|
+
def initialize(address: nil, email: nil, name: nil, phone: nil, tax_id: nil)
|
221
227
|
@address = address
|
222
228
|
@email = email
|
223
229
|
@name = name
|
224
230
|
@phone = phone
|
231
|
+
@tax_id = tax_id
|
225
232
|
end
|
226
233
|
end
|
227
234
|
|
@@ -267,9 +274,21 @@ module Stripe
|
|
267
274
|
class Giropay < Stripe::RequestParams
|
268
275
|
end
|
269
276
|
|
277
|
+
class Gopay < Stripe::RequestParams
|
278
|
+
end
|
279
|
+
|
270
280
|
class Grabpay < Stripe::RequestParams
|
271
281
|
end
|
272
282
|
|
283
|
+
class IdBankTransfer < Stripe::RequestParams
|
284
|
+
# Bank where the account is held.
|
285
|
+
attr_accessor :bank
|
286
|
+
|
287
|
+
def initialize(bank: nil)
|
288
|
+
@bank = bank
|
289
|
+
end
|
290
|
+
end
|
291
|
+
|
273
292
|
class Ideal < Stripe::RequestParams
|
274
293
|
# The customer's bank. Only use this parameter for existing customers. Don't use it for new customers.
|
275
294
|
attr_accessor :bank
|
@@ -317,6 +336,9 @@ module Stripe
|
|
317
336
|
class Link < Stripe::RequestParams
|
318
337
|
end
|
319
338
|
|
339
|
+
class MbWay < Stripe::RequestParams
|
340
|
+
end
|
341
|
+
|
320
342
|
class Mobilepay < Stripe::RequestParams
|
321
343
|
end
|
322
344
|
|
@@ -387,12 +409,30 @@ module Stripe
|
|
387
409
|
class Paypal < Stripe::RequestParams
|
388
410
|
end
|
389
411
|
|
412
|
+
class Payto < Stripe::RequestParams
|
413
|
+
# The account number for the bank account.
|
414
|
+
attr_accessor :account_number
|
415
|
+
# Bank-State-Branch number of the bank account.
|
416
|
+
attr_accessor :bsb_number
|
417
|
+
# The PayID alias for the bank account.
|
418
|
+
attr_accessor :pay_id
|
419
|
+
|
420
|
+
def initialize(account_number: nil, bsb_number: nil, pay_id: nil)
|
421
|
+
@account_number = account_number
|
422
|
+
@bsb_number = bsb_number
|
423
|
+
@pay_id = pay_id
|
424
|
+
end
|
425
|
+
end
|
426
|
+
|
390
427
|
class Pix < Stripe::RequestParams
|
391
428
|
end
|
392
429
|
|
393
430
|
class Promptpay < Stripe::RequestParams
|
394
431
|
end
|
395
432
|
|
433
|
+
class Qris < Stripe::RequestParams
|
434
|
+
end
|
435
|
+
|
396
436
|
class RadarOptions < Stripe::RequestParams
|
397
437
|
# A [Radar Session](https://stripe.com/docs/radar/radar-session) is a snapshot of the browser metadata and device details that help Radar make more accurate predictions on your payments.
|
398
438
|
attr_accessor :session
|
@@ -402,6 +442,29 @@ module Stripe
|
|
402
442
|
end
|
403
443
|
end
|
404
444
|
|
445
|
+
class Rechnung < Stripe::RequestParams
|
446
|
+
class Dob < Stripe::RequestParams
|
447
|
+
# The day of birth, between 1 and 31.
|
448
|
+
attr_accessor :day
|
449
|
+
# The month of birth, between 1 and 12.
|
450
|
+
attr_accessor :month
|
451
|
+
# The four-digit year of birth.
|
452
|
+
attr_accessor :year
|
453
|
+
|
454
|
+
def initialize(day: nil, month: nil, year: nil)
|
455
|
+
@day = day
|
456
|
+
@month = month
|
457
|
+
@year = year
|
458
|
+
end
|
459
|
+
end
|
460
|
+
# Customer's date of birth
|
461
|
+
attr_accessor :dob
|
462
|
+
|
463
|
+
def initialize(dob: nil)
|
464
|
+
@dob = dob
|
465
|
+
end
|
466
|
+
end
|
467
|
+
|
405
468
|
class RevolutPay < Stripe::RequestParams
|
406
469
|
end
|
407
470
|
|
@@ -420,6 +483,9 @@ module Stripe
|
|
420
483
|
end
|
421
484
|
end
|
422
485
|
|
486
|
+
class Shopeepay < Stripe::RequestParams
|
487
|
+
end
|
488
|
+
|
423
489
|
class Sofort < Stripe::RequestParams
|
424
490
|
# Two-letter ISO code representing the country the bank account is located in.
|
425
491
|
attr_accessor :country
|
@@ -429,6 +495,18 @@ module Stripe
|
|
429
495
|
end
|
430
496
|
end
|
431
497
|
|
498
|
+
class StripeBalance < Stripe::RequestParams
|
499
|
+
# The connected account ID whose Stripe balance to use as the source of payment
|
500
|
+
attr_accessor :account
|
501
|
+
# The [source_type](https://docs.stripe.com/api/balance/balance_object#balance_object-available-source_types) of the balance
|
502
|
+
attr_accessor :source_type
|
503
|
+
|
504
|
+
def initialize(account: nil, source_type: nil)
|
505
|
+
@account = account
|
506
|
+
@source_type = source_type
|
507
|
+
end
|
508
|
+
end
|
509
|
+
|
432
510
|
class Swish < Stripe::RequestParams
|
433
511
|
end
|
434
512
|
|
@@ -487,7 +565,7 @@ module Stripe
|
|
487
565
|
attr_accessor :bacs_debit
|
488
566
|
# If this is a `bancontact` PaymentMethod, this hash contains details about the Bancontact payment method.
|
489
567
|
attr_accessor :bancontact
|
490
|
-
# If this is a `billie` PaymentMethod, this hash contains details about the
|
568
|
+
# If this is a `billie` PaymentMethod, this hash contains details about the Billie payment method.
|
491
569
|
attr_accessor :billie
|
492
570
|
# Billing information associated with the PaymentMethod that may be used or required by particular types of payment methods.
|
493
571
|
attr_accessor :billing_details
|
@@ -505,8 +583,12 @@ module Stripe
|
|
505
583
|
attr_accessor :fpx
|
506
584
|
# If this is a `giropay` PaymentMethod, this hash contains details about the Giropay payment method.
|
507
585
|
attr_accessor :giropay
|
586
|
+
# If this is a Gopay PaymentMethod, this hash contains details about the Gopay payment method.
|
587
|
+
attr_accessor :gopay
|
508
588
|
# If this is a `grabpay` PaymentMethod, this hash contains details about the GrabPay payment method.
|
509
589
|
attr_accessor :grabpay
|
590
|
+
# If this is an `IdBankTransfer` PaymentMethod, this hash contains details about the IdBankTransfer payment method.
|
591
|
+
attr_accessor :id_bank_transfer
|
510
592
|
# If this is an `ideal` PaymentMethod, this hash contains details about the iDEAL payment method.
|
511
593
|
attr_accessor :ideal
|
512
594
|
# If this is an `interac_present` PaymentMethod, this hash contains details about the Interac Present payment method.
|
@@ -521,6 +603,8 @@ module Stripe
|
|
521
603
|
attr_accessor :kr_card
|
522
604
|
# If this is an `Link` PaymentMethod, this hash contains details about the Link payment method.
|
523
605
|
attr_accessor :link
|
606
|
+
# If this is a MB WAY PaymentMethod, this hash contains details about the MB WAY payment method.
|
607
|
+
attr_accessor :mb_way
|
524
608
|
# 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`.
|
525
609
|
attr_accessor :metadata
|
526
610
|
# If this is a `mobilepay` PaymentMethod, this hash contains details about the MobilePay payment method.
|
@@ -543,22 +627,32 @@ module Stripe
|
|
543
627
|
attr_accessor :paynow
|
544
628
|
# If this is a `paypal` PaymentMethod, this hash contains details about the PayPal payment method.
|
545
629
|
attr_accessor :paypal
|
630
|
+
# If this is a `payto` PaymentMethod, this hash contains details about the PayTo payment method.
|
631
|
+
attr_accessor :payto
|
546
632
|
# If this is a `pix` PaymentMethod, this hash contains details about the Pix payment method.
|
547
633
|
attr_accessor :pix
|
548
634
|
# If this is a `promptpay` PaymentMethod, this hash contains details about the PromptPay payment method.
|
549
635
|
attr_accessor :promptpay
|
636
|
+
# If this is a `qris` PaymentMethod, this hash contains details about the QRIS payment method.
|
637
|
+
attr_accessor :qris
|
550
638
|
# Options to configure Radar. See [Radar Session](https://stripe.com/docs/radar/radar-session) for more information.
|
551
639
|
attr_accessor :radar_options
|
552
|
-
# If this is a `
|
640
|
+
# If this is a `rechnung` PaymentMethod, this hash contains details about the Rechnung payment method.
|
641
|
+
attr_accessor :rechnung
|
642
|
+
# If this is a `revolut_pay` PaymentMethod, this hash contains details about the Revolut Pay payment method.
|
553
643
|
attr_accessor :revolut_pay
|
554
644
|
# If this is a `samsung_pay` PaymentMethod, this hash contains details about the SamsungPay payment method.
|
555
645
|
attr_accessor :samsung_pay
|
556
|
-
# If this is a `satispay` PaymentMethod, this hash contains details about the
|
646
|
+
# If this is a `satispay` PaymentMethod, this hash contains details about the Satispay payment method.
|
557
647
|
attr_accessor :satispay
|
558
648
|
# If this is a `sepa_debit` PaymentMethod, this hash contains details about the SEPA debit bank account.
|
559
649
|
attr_accessor :sepa_debit
|
650
|
+
# If this is a Shopeepay PaymentMethod, this hash contains details about the Shopeepay payment method.
|
651
|
+
attr_accessor :shopeepay
|
560
652
|
# If this is a `sofort` PaymentMethod, this hash contains details about the SOFORT payment method.
|
561
653
|
attr_accessor :sofort
|
654
|
+
# This hash contains details about the Stripe balance payment method.
|
655
|
+
attr_accessor :stripe_balance
|
562
656
|
# If this is a `swish` PaymentMethod, this hash contains details about the Swish payment method.
|
563
657
|
attr_accessor :swish
|
564
658
|
# If this is a TWINT PaymentMethod, this hash contains details about the TWINT payment method.
|
@@ -592,7 +686,9 @@ module Stripe
|
|
592
686
|
eps: nil,
|
593
687
|
fpx: nil,
|
594
688
|
giropay: nil,
|
689
|
+
gopay: nil,
|
595
690
|
grabpay: nil,
|
691
|
+
id_bank_transfer: nil,
|
596
692
|
ideal: nil,
|
597
693
|
interac_present: nil,
|
598
694
|
kakao_pay: nil,
|
@@ -600,6 +696,7 @@ module Stripe
|
|
600
696
|
konbini: nil,
|
601
697
|
kr_card: nil,
|
602
698
|
link: nil,
|
699
|
+
mb_way: nil,
|
603
700
|
metadata: nil,
|
604
701
|
mobilepay: nil,
|
605
702
|
multibanco: nil,
|
@@ -611,14 +708,19 @@ module Stripe
|
|
611
708
|
payco: nil,
|
612
709
|
paynow: nil,
|
613
710
|
paypal: nil,
|
711
|
+
payto: nil,
|
614
712
|
pix: nil,
|
615
713
|
promptpay: nil,
|
714
|
+
qris: nil,
|
616
715
|
radar_options: nil,
|
716
|
+
rechnung: nil,
|
617
717
|
revolut_pay: nil,
|
618
718
|
samsung_pay: nil,
|
619
719
|
satispay: nil,
|
620
720
|
sepa_debit: nil,
|
721
|
+
shopeepay: nil,
|
621
722
|
sofort: nil,
|
723
|
+
stripe_balance: nil,
|
622
724
|
swish: nil,
|
623
725
|
twint: nil,
|
624
726
|
type: nil,
|
@@ -645,7 +747,9 @@ module Stripe
|
|
645
747
|
@eps = eps
|
646
748
|
@fpx = fpx
|
647
749
|
@giropay = giropay
|
750
|
+
@gopay = gopay
|
648
751
|
@grabpay = grabpay
|
752
|
+
@id_bank_transfer = id_bank_transfer
|
649
753
|
@ideal = ideal
|
650
754
|
@interac_present = interac_present
|
651
755
|
@kakao_pay = kakao_pay
|
@@ -653,6 +757,7 @@ module Stripe
|
|
653
757
|
@konbini = konbini
|
654
758
|
@kr_card = kr_card
|
655
759
|
@link = link
|
760
|
+
@mb_way = mb_way
|
656
761
|
@metadata = metadata
|
657
762
|
@mobilepay = mobilepay
|
658
763
|
@multibanco = multibanco
|
@@ -664,14 +769,19 @@ module Stripe
|
|
664
769
|
@payco = payco
|
665
770
|
@paynow = paynow
|
666
771
|
@paypal = paypal
|
772
|
+
@payto = payto
|
667
773
|
@pix = pix
|
668
774
|
@promptpay = promptpay
|
775
|
+
@qris = qris
|
669
776
|
@radar_options = radar_options
|
777
|
+
@rechnung = rechnung
|
670
778
|
@revolut_pay = revolut_pay
|
671
779
|
@samsung_pay = samsung_pay
|
672
780
|
@satispay = satispay
|
673
781
|
@sepa_debit = sepa_debit
|
782
|
+
@shopeepay = shopeepay
|
674
783
|
@sofort = sofort
|
784
|
+
@stripe_balance = stripe_balance
|
675
785
|
@swish = swish
|
676
786
|
@twint = twint
|
677
787
|
@type = type
|
@@ -907,9 +1017,58 @@ module Stripe
|
|
907
1017
|
class Paypal < Stripe::RequestParams
|
908
1018
|
# The PayPal Billing Agreement ID (BAID). This is an ID generated by PayPal which represents the mandate between the merchant and the customer.
|
909
1019
|
attr_accessor :billing_agreement_id
|
1020
|
+
# Attribute for param field currency
|
1021
|
+
attr_accessor :currency
|
1022
|
+
# 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.
|
1023
|
+
attr_accessor :subsellers
|
910
1024
|
|
911
|
-
def initialize(billing_agreement_id: nil)
|
1025
|
+
def initialize(billing_agreement_id: nil, currency: nil, subsellers: nil)
|
912
1026
|
@billing_agreement_id = billing_agreement_id
|
1027
|
+
@currency = currency
|
1028
|
+
@subsellers = subsellers
|
1029
|
+
end
|
1030
|
+
end
|
1031
|
+
|
1032
|
+
class Payto < Stripe::RequestParams
|
1033
|
+
class MandateOptions < Stripe::RequestParams
|
1034
|
+
# Amount that will be collected. It is required when `amount_type` is `fixed`.
|
1035
|
+
attr_accessor :amount
|
1036
|
+
# 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.
|
1037
|
+
attr_accessor :amount_type
|
1038
|
+
# Date, in YYYY-MM-DD format, after which payments will not be collected. Defaults to no end date.
|
1039
|
+
attr_accessor :end_date
|
1040
|
+
# The periodicity at which payments will be collected.
|
1041
|
+
attr_accessor :payment_schedule
|
1042
|
+
# 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.
|
1043
|
+
attr_accessor :payments_per_period
|
1044
|
+
# The purpose for which payments are made. Defaults to retail.
|
1045
|
+
attr_accessor :purpose
|
1046
|
+
# Date, in YYYY-MM-DD format, from which payments will be collected. Defaults to confirmation time.
|
1047
|
+
attr_accessor :start_date
|
1048
|
+
|
1049
|
+
def initialize(
|
1050
|
+
amount: nil,
|
1051
|
+
amount_type: nil,
|
1052
|
+
end_date: nil,
|
1053
|
+
payment_schedule: nil,
|
1054
|
+
payments_per_period: nil,
|
1055
|
+
purpose: nil,
|
1056
|
+
start_date: nil
|
1057
|
+
)
|
1058
|
+
@amount = amount
|
1059
|
+
@amount_type = amount_type
|
1060
|
+
@end_date = end_date
|
1061
|
+
@payment_schedule = payment_schedule
|
1062
|
+
@payments_per_period = payments_per_period
|
1063
|
+
@purpose = purpose
|
1064
|
+
@start_date = start_date
|
1065
|
+
end
|
1066
|
+
end
|
1067
|
+
# Additional fields for Mandate creation.
|
1068
|
+
attr_accessor :mandate_options
|
1069
|
+
|
1070
|
+
def initialize(mandate_options: nil)
|
1071
|
+
@mandate_options = mandate_options
|
913
1072
|
end
|
914
1073
|
end
|
915
1074
|
|
@@ -935,13 +1094,27 @@ module Stripe
|
|
935
1094
|
class Filters < Stripe::RequestParams
|
936
1095
|
# The account subcategories to use to filter for selectable accounts. Valid subcategories are `checking` and `savings`.
|
937
1096
|
attr_accessor :account_subcategories
|
1097
|
+
# ID of the institution to use to filter for selectable accounts.
|
1098
|
+
attr_accessor :institution
|
938
1099
|
|
939
|
-
def initialize(account_subcategories: nil)
|
1100
|
+
def initialize(account_subcategories: nil, institution: nil)
|
940
1101
|
@account_subcategories = account_subcategories
|
1102
|
+
@institution = institution
|
1103
|
+
end
|
1104
|
+
end
|
1105
|
+
|
1106
|
+
class ManualEntry < Stripe::RequestParams
|
1107
|
+
# Settings for configuring manual entry of account details.
|
1108
|
+
attr_accessor :mode
|
1109
|
+
|
1110
|
+
def initialize(mode: nil)
|
1111
|
+
@mode = mode
|
941
1112
|
end
|
942
1113
|
end
|
943
1114
|
# Provide filters for the linked accounts that the customer can select for the payment method.
|
944
1115
|
attr_accessor :filters
|
1116
|
+
# Customize manual entry behavior
|
1117
|
+
attr_accessor :manual_entry
|
945
1118
|
# 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`.
|
946
1119
|
attr_accessor :permissions
|
947
1120
|
# List of data features that you would like to retrieve upon account creation.
|
@@ -949,8 +1122,15 @@ module Stripe
|
|
949
1122
|
# 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.
|
950
1123
|
attr_accessor :return_url
|
951
1124
|
|
952
|
-
def initialize(
|
1125
|
+
def initialize(
|
1126
|
+
filters: nil,
|
1127
|
+
manual_entry: nil,
|
1128
|
+
permissions: nil,
|
1129
|
+
prefetch: nil,
|
1130
|
+
return_url: nil
|
1131
|
+
)
|
953
1132
|
@filters = filters
|
1133
|
+
@manual_entry = manual_entry
|
954
1134
|
@permissions = permissions
|
955
1135
|
@prefetch = prefetch
|
956
1136
|
@return_url = return_url
|
@@ -1009,6 +1189,8 @@ module Stripe
|
|
1009
1189
|
attr_accessor :link
|
1010
1190
|
# If this is a `paypal` PaymentMethod, this sub-hash contains details about the PayPal payment method options.
|
1011
1191
|
attr_accessor :paypal
|
1192
|
+
# If this is a `payto` SetupIntent, this sub-hash contains details about the PayTo payment method options.
|
1193
|
+
attr_accessor :payto
|
1012
1194
|
# If this is a `sepa_debit` SetupIntent, this sub-hash contains details about the SEPA Debit payment method options.
|
1013
1195
|
attr_accessor :sepa_debit
|
1014
1196
|
# If this is a `us_bank_account` SetupIntent, this sub-hash contains details about the US bank account payment method options.
|
@@ -1022,6 +1204,7 @@ module Stripe
|
|
1022
1204
|
card_present: nil,
|
1023
1205
|
link: nil,
|
1024
1206
|
paypal: nil,
|
1207
|
+
payto: nil,
|
1025
1208
|
sepa_debit: nil,
|
1026
1209
|
us_bank_account: nil
|
1027
1210
|
)
|
@@ -1032,6 +1215,7 @@ module Stripe
|
|
1032
1215
|
@card_present = card_present
|
1033
1216
|
@link = link
|
1034
1217
|
@paypal = paypal
|
1218
|
+
@payto = payto
|
1035
1219
|
@sepa_debit = sepa_debit
|
1036
1220
|
@us_bank_account = us_bank_account
|
1037
1221
|
end
|
@@ -1064,6 +1248,10 @@ module Stripe
|
|
1064
1248
|
#
|
1065
1249
|
# 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.
|
1066
1250
|
attr_accessor :customer
|
1251
|
+
# ID of the Account this SetupIntent belongs to, if one exists.
|
1252
|
+
#
|
1253
|
+
# If present, the SetupIntent's payment method will be attached to the Account on successful setup. Payment methods attached to other Accounts cannot be used with this SetupIntent.
|
1254
|
+
attr_accessor :customer_account
|
1067
1255
|
# An arbitrary string attached to the object. Often useful for displaying to users.
|
1068
1256
|
attr_accessor :description
|
1069
1257
|
# Specifies which fields in the response should be expanded.
|
@@ -1106,6 +1294,7 @@ module Stripe
|
|
1106
1294
|
confirm: nil,
|
1107
1295
|
confirmation_token: nil,
|
1108
1296
|
customer: nil,
|
1297
|
+
customer_account: nil,
|
1109
1298
|
description: nil,
|
1110
1299
|
expand: nil,
|
1111
1300
|
flow_directions: nil,
|
@@ -1127,6 +1316,7 @@ module Stripe
|
|
1127
1316
|
@confirm = confirm
|
1128
1317
|
@confirmation_token = confirmation_token
|
1129
1318
|
@customer = customer
|
1319
|
+
@customer_account = customer_account
|
1130
1320
|
@description = description
|
1131
1321
|
@expand = expand
|
1132
1322
|
@flow_directions = flow_directions
|
@@ -1258,12 +1448,15 @@ module Stripe
|
|
1258
1448
|
attr_accessor :name
|
1259
1449
|
# Billing phone number (including extension).
|
1260
1450
|
attr_accessor :phone
|
1451
|
+
# Taxpayer identification number. Used only for transactions between LATAM buyers and non-LATAM sellers.
|
1452
|
+
attr_accessor :tax_id
|
1261
1453
|
|
1262
|
-
def initialize(address: nil, email: nil, name: nil, phone: nil)
|
1454
|
+
def initialize(address: nil, email: nil, name: nil, phone: nil, tax_id: nil)
|
1263
1455
|
@address = address
|
1264
1456
|
@email = email
|
1265
1457
|
@name = name
|
1266
1458
|
@phone = phone
|
1459
|
+
@tax_id = tax_id
|
1267
1460
|
end
|
1268
1461
|
end
|
1269
1462
|
|
@@ -1309,9 +1502,21 @@ module Stripe
|
|
1309
1502
|
class Giropay < Stripe::RequestParams
|
1310
1503
|
end
|
1311
1504
|
|
1505
|
+
class Gopay < Stripe::RequestParams
|
1506
|
+
end
|
1507
|
+
|
1312
1508
|
class Grabpay < Stripe::RequestParams
|
1313
1509
|
end
|
1314
1510
|
|
1511
|
+
class IdBankTransfer < Stripe::RequestParams
|
1512
|
+
# Bank where the account is held.
|
1513
|
+
attr_accessor :bank
|
1514
|
+
|
1515
|
+
def initialize(bank: nil)
|
1516
|
+
@bank = bank
|
1517
|
+
end
|
1518
|
+
end
|
1519
|
+
|
1315
1520
|
class Ideal < Stripe::RequestParams
|
1316
1521
|
# The customer's bank. Only use this parameter for existing customers. Don't use it for new customers.
|
1317
1522
|
attr_accessor :bank
|
@@ -1359,6 +1564,9 @@ module Stripe
|
|
1359
1564
|
class Link < Stripe::RequestParams
|
1360
1565
|
end
|
1361
1566
|
|
1567
|
+
class MbWay < Stripe::RequestParams
|
1568
|
+
end
|
1569
|
+
|
1362
1570
|
class Mobilepay < Stripe::RequestParams
|
1363
1571
|
end
|
1364
1572
|
|
@@ -1429,12 +1637,30 @@ module Stripe
|
|
1429
1637
|
class Paypal < Stripe::RequestParams
|
1430
1638
|
end
|
1431
1639
|
|
1640
|
+
class Payto < Stripe::RequestParams
|
1641
|
+
# The account number for the bank account.
|
1642
|
+
attr_accessor :account_number
|
1643
|
+
# Bank-State-Branch number of the bank account.
|
1644
|
+
attr_accessor :bsb_number
|
1645
|
+
# The PayID alias for the bank account.
|
1646
|
+
attr_accessor :pay_id
|
1647
|
+
|
1648
|
+
def initialize(account_number: nil, bsb_number: nil, pay_id: nil)
|
1649
|
+
@account_number = account_number
|
1650
|
+
@bsb_number = bsb_number
|
1651
|
+
@pay_id = pay_id
|
1652
|
+
end
|
1653
|
+
end
|
1654
|
+
|
1432
1655
|
class Pix < Stripe::RequestParams
|
1433
1656
|
end
|
1434
1657
|
|
1435
1658
|
class Promptpay < Stripe::RequestParams
|
1436
1659
|
end
|
1437
1660
|
|
1661
|
+
class Qris < Stripe::RequestParams
|
1662
|
+
end
|
1663
|
+
|
1438
1664
|
class RadarOptions < Stripe::RequestParams
|
1439
1665
|
# A [Radar Session](https://stripe.com/docs/radar/radar-session) is a snapshot of the browser metadata and device details that help Radar make more accurate predictions on your payments.
|
1440
1666
|
attr_accessor :session
|
@@ -1444,6 +1670,29 @@ module Stripe
|
|
1444
1670
|
end
|
1445
1671
|
end
|
1446
1672
|
|
1673
|
+
class Rechnung < Stripe::RequestParams
|
1674
|
+
class Dob < Stripe::RequestParams
|
1675
|
+
# The day of birth, between 1 and 31.
|
1676
|
+
attr_accessor :day
|
1677
|
+
# The month of birth, between 1 and 12.
|
1678
|
+
attr_accessor :month
|
1679
|
+
# The four-digit year of birth.
|
1680
|
+
attr_accessor :year
|
1681
|
+
|
1682
|
+
def initialize(day: nil, month: nil, year: nil)
|
1683
|
+
@day = day
|
1684
|
+
@month = month
|
1685
|
+
@year = year
|
1686
|
+
end
|
1687
|
+
end
|
1688
|
+
# Customer's date of birth
|
1689
|
+
attr_accessor :dob
|
1690
|
+
|
1691
|
+
def initialize(dob: nil)
|
1692
|
+
@dob = dob
|
1693
|
+
end
|
1694
|
+
end
|
1695
|
+
|
1447
1696
|
class RevolutPay < Stripe::RequestParams
|
1448
1697
|
end
|
1449
1698
|
|
@@ -1462,6 +1711,9 @@ module Stripe
|
|
1462
1711
|
end
|
1463
1712
|
end
|
1464
1713
|
|
1714
|
+
class Shopeepay < Stripe::RequestParams
|
1715
|
+
end
|
1716
|
+
|
1465
1717
|
class Sofort < Stripe::RequestParams
|
1466
1718
|
# Two-letter ISO code representing the country the bank account is located in.
|
1467
1719
|
attr_accessor :country
|
@@ -1471,6 +1723,18 @@ module Stripe
|
|
1471
1723
|
end
|
1472
1724
|
end
|
1473
1725
|
|
1726
|
+
class StripeBalance < Stripe::RequestParams
|
1727
|
+
# The connected account ID whose Stripe balance to use as the source of payment
|
1728
|
+
attr_accessor :account
|
1729
|
+
# The [source_type](https://docs.stripe.com/api/balance/balance_object#balance_object-available-source_types) of the balance
|
1730
|
+
attr_accessor :source_type
|
1731
|
+
|
1732
|
+
def initialize(account: nil, source_type: nil)
|
1733
|
+
@account = account
|
1734
|
+
@source_type = source_type
|
1735
|
+
end
|
1736
|
+
end
|
1737
|
+
|
1474
1738
|
class Swish < Stripe::RequestParams
|
1475
1739
|
end
|
1476
1740
|
|
@@ -1529,7 +1793,7 @@ module Stripe
|
|
1529
1793
|
attr_accessor :bacs_debit
|
1530
1794
|
# If this is a `bancontact` PaymentMethod, this hash contains details about the Bancontact payment method.
|
1531
1795
|
attr_accessor :bancontact
|
1532
|
-
# If this is a `billie` PaymentMethod, this hash contains details about the
|
1796
|
+
# If this is a `billie` PaymentMethod, this hash contains details about the Billie payment method.
|
1533
1797
|
attr_accessor :billie
|
1534
1798
|
# Billing information associated with the PaymentMethod that may be used or required by particular types of payment methods.
|
1535
1799
|
attr_accessor :billing_details
|
@@ -1547,8 +1811,12 @@ module Stripe
|
|
1547
1811
|
attr_accessor :fpx
|
1548
1812
|
# If this is a `giropay` PaymentMethod, this hash contains details about the Giropay payment method.
|
1549
1813
|
attr_accessor :giropay
|
1814
|
+
# If this is a Gopay PaymentMethod, this hash contains details about the Gopay payment method.
|
1815
|
+
attr_accessor :gopay
|
1550
1816
|
# If this is a `grabpay` PaymentMethod, this hash contains details about the GrabPay payment method.
|
1551
1817
|
attr_accessor :grabpay
|
1818
|
+
# If this is an `IdBankTransfer` PaymentMethod, this hash contains details about the IdBankTransfer payment method.
|
1819
|
+
attr_accessor :id_bank_transfer
|
1552
1820
|
# If this is an `ideal` PaymentMethod, this hash contains details about the iDEAL payment method.
|
1553
1821
|
attr_accessor :ideal
|
1554
1822
|
# If this is an `interac_present` PaymentMethod, this hash contains details about the Interac Present payment method.
|
@@ -1563,6 +1831,8 @@ module Stripe
|
|
1563
1831
|
attr_accessor :kr_card
|
1564
1832
|
# If this is an `Link` PaymentMethod, this hash contains details about the Link payment method.
|
1565
1833
|
attr_accessor :link
|
1834
|
+
# If this is a MB WAY PaymentMethod, this hash contains details about the MB WAY payment method.
|
1835
|
+
attr_accessor :mb_way
|
1566
1836
|
# 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`.
|
1567
1837
|
attr_accessor :metadata
|
1568
1838
|
# If this is a `mobilepay` PaymentMethod, this hash contains details about the MobilePay payment method.
|
@@ -1585,22 +1855,32 @@ module Stripe
|
|
1585
1855
|
attr_accessor :paynow
|
1586
1856
|
# If this is a `paypal` PaymentMethod, this hash contains details about the PayPal payment method.
|
1587
1857
|
attr_accessor :paypal
|
1858
|
+
# If this is a `payto` PaymentMethod, this hash contains details about the PayTo payment method.
|
1859
|
+
attr_accessor :payto
|
1588
1860
|
# If this is a `pix` PaymentMethod, this hash contains details about the Pix payment method.
|
1589
1861
|
attr_accessor :pix
|
1590
1862
|
# If this is a `promptpay` PaymentMethod, this hash contains details about the PromptPay payment method.
|
1591
1863
|
attr_accessor :promptpay
|
1864
|
+
# If this is a `qris` PaymentMethod, this hash contains details about the QRIS payment method.
|
1865
|
+
attr_accessor :qris
|
1592
1866
|
# Options to configure Radar. See [Radar Session](https://stripe.com/docs/radar/radar-session) for more information.
|
1593
1867
|
attr_accessor :radar_options
|
1594
|
-
# If this is a `
|
1868
|
+
# If this is a `rechnung` PaymentMethod, this hash contains details about the Rechnung payment method.
|
1869
|
+
attr_accessor :rechnung
|
1870
|
+
# If this is a `revolut_pay` PaymentMethod, this hash contains details about the Revolut Pay payment method.
|
1595
1871
|
attr_accessor :revolut_pay
|
1596
1872
|
# If this is a `samsung_pay` PaymentMethod, this hash contains details about the SamsungPay payment method.
|
1597
1873
|
attr_accessor :samsung_pay
|
1598
|
-
# If this is a `satispay` PaymentMethod, this hash contains details about the
|
1874
|
+
# If this is a `satispay` PaymentMethod, this hash contains details about the Satispay payment method.
|
1599
1875
|
attr_accessor :satispay
|
1600
1876
|
# If this is a `sepa_debit` PaymentMethod, this hash contains details about the SEPA debit bank account.
|
1601
1877
|
attr_accessor :sepa_debit
|
1878
|
+
# If this is a Shopeepay PaymentMethod, this hash contains details about the Shopeepay payment method.
|
1879
|
+
attr_accessor :shopeepay
|
1602
1880
|
# If this is a `sofort` PaymentMethod, this hash contains details about the SOFORT payment method.
|
1603
1881
|
attr_accessor :sofort
|
1882
|
+
# This hash contains details about the Stripe balance payment method.
|
1883
|
+
attr_accessor :stripe_balance
|
1604
1884
|
# If this is a `swish` PaymentMethod, this hash contains details about the Swish payment method.
|
1605
1885
|
attr_accessor :swish
|
1606
1886
|
# If this is a TWINT PaymentMethod, this hash contains details about the TWINT payment method.
|
@@ -1634,7 +1914,9 @@ module Stripe
|
|
1634
1914
|
eps: nil,
|
1635
1915
|
fpx: nil,
|
1636
1916
|
giropay: nil,
|
1917
|
+
gopay: nil,
|
1637
1918
|
grabpay: nil,
|
1919
|
+
id_bank_transfer: nil,
|
1638
1920
|
ideal: nil,
|
1639
1921
|
interac_present: nil,
|
1640
1922
|
kakao_pay: nil,
|
@@ -1642,6 +1924,7 @@ module Stripe
|
|
1642
1924
|
konbini: nil,
|
1643
1925
|
kr_card: nil,
|
1644
1926
|
link: nil,
|
1927
|
+
mb_way: nil,
|
1645
1928
|
metadata: nil,
|
1646
1929
|
mobilepay: nil,
|
1647
1930
|
multibanco: nil,
|
@@ -1653,14 +1936,19 @@ module Stripe
|
|
1653
1936
|
payco: nil,
|
1654
1937
|
paynow: nil,
|
1655
1938
|
paypal: nil,
|
1939
|
+
payto: nil,
|
1656
1940
|
pix: nil,
|
1657
1941
|
promptpay: nil,
|
1942
|
+
qris: nil,
|
1658
1943
|
radar_options: nil,
|
1944
|
+
rechnung: nil,
|
1659
1945
|
revolut_pay: nil,
|
1660
1946
|
samsung_pay: nil,
|
1661
1947
|
satispay: nil,
|
1662
1948
|
sepa_debit: nil,
|
1949
|
+
shopeepay: nil,
|
1663
1950
|
sofort: nil,
|
1951
|
+
stripe_balance: nil,
|
1664
1952
|
swish: nil,
|
1665
1953
|
twint: nil,
|
1666
1954
|
type: nil,
|
@@ -1687,7 +1975,9 @@ module Stripe
|
|
1687
1975
|
@eps = eps
|
1688
1976
|
@fpx = fpx
|
1689
1977
|
@giropay = giropay
|
1978
|
+
@gopay = gopay
|
1690
1979
|
@grabpay = grabpay
|
1980
|
+
@id_bank_transfer = id_bank_transfer
|
1691
1981
|
@ideal = ideal
|
1692
1982
|
@interac_present = interac_present
|
1693
1983
|
@kakao_pay = kakao_pay
|
@@ -1695,6 +1985,7 @@ module Stripe
|
|
1695
1985
|
@konbini = konbini
|
1696
1986
|
@kr_card = kr_card
|
1697
1987
|
@link = link
|
1988
|
+
@mb_way = mb_way
|
1698
1989
|
@metadata = metadata
|
1699
1990
|
@mobilepay = mobilepay
|
1700
1991
|
@multibanco = multibanco
|
@@ -1706,14 +1997,19 @@ module Stripe
|
|
1706
1997
|
@payco = payco
|
1707
1998
|
@paynow = paynow
|
1708
1999
|
@paypal = paypal
|
2000
|
+
@payto = payto
|
1709
2001
|
@pix = pix
|
1710
2002
|
@promptpay = promptpay
|
2003
|
+
@qris = qris
|
1711
2004
|
@radar_options = radar_options
|
2005
|
+
@rechnung = rechnung
|
1712
2006
|
@revolut_pay = revolut_pay
|
1713
2007
|
@samsung_pay = samsung_pay
|
1714
2008
|
@satispay = satispay
|
1715
2009
|
@sepa_debit = sepa_debit
|
2010
|
+
@shopeepay = shopeepay
|
1716
2011
|
@sofort = sofort
|
2012
|
+
@stripe_balance = stripe_balance
|
1717
2013
|
@swish = swish
|
1718
2014
|
@twint = twint
|
1719
2015
|
@type = type
|
@@ -1949,9 +2245,58 @@ module Stripe
|
|
1949
2245
|
class Paypal < Stripe::RequestParams
|
1950
2246
|
# The PayPal Billing Agreement ID (BAID). This is an ID generated by PayPal which represents the mandate between the merchant and the customer.
|
1951
2247
|
attr_accessor :billing_agreement_id
|
2248
|
+
# Attribute for param field currency
|
2249
|
+
attr_accessor :currency
|
2250
|
+
# 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.
|
2251
|
+
attr_accessor :subsellers
|
1952
2252
|
|
1953
|
-
def initialize(billing_agreement_id: nil)
|
2253
|
+
def initialize(billing_agreement_id: nil, currency: nil, subsellers: nil)
|
1954
2254
|
@billing_agreement_id = billing_agreement_id
|
2255
|
+
@currency = currency
|
2256
|
+
@subsellers = subsellers
|
2257
|
+
end
|
2258
|
+
end
|
2259
|
+
|
2260
|
+
class Payto < Stripe::RequestParams
|
2261
|
+
class MandateOptions < Stripe::RequestParams
|
2262
|
+
# Amount that will be collected. It is required when `amount_type` is `fixed`.
|
2263
|
+
attr_accessor :amount
|
2264
|
+
# 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.
|
2265
|
+
attr_accessor :amount_type
|
2266
|
+
# Date, in YYYY-MM-DD format, after which payments will not be collected. Defaults to no end date.
|
2267
|
+
attr_accessor :end_date
|
2268
|
+
# The periodicity at which payments will be collected.
|
2269
|
+
attr_accessor :payment_schedule
|
2270
|
+
# 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.
|
2271
|
+
attr_accessor :payments_per_period
|
2272
|
+
# The purpose for which payments are made. Defaults to retail.
|
2273
|
+
attr_accessor :purpose
|
2274
|
+
# Date, in YYYY-MM-DD format, from which payments will be collected. Defaults to confirmation time.
|
2275
|
+
attr_accessor :start_date
|
2276
|
+
|
2277
|
+
def initialize(
|
2278
|
+
amount: nil,
|
2279
|
+
amount_type: nil,
|
2280
|
+
end_date: nil,
|
2281
|
+
payment_schedule: nil,
|
2282
|
+
payments_per_period: nil,
|
2283
|
+
purpose: nil,
|
2284
|
+
start_date: nil
|
2285
|
+
)
|
2286
|
+
@amount = amount
|
2287
|
+
@amount_type = amount_type
|
2288
|
+
@end_date = end_date
|
2289
|
+
@payment_schedule = payment_schedule
|
2290
|
+
@payments_per_period = payments_per_period
|
2291
|
+
@purpose = purpose
|
2292
|
+
@start_date = start_date
|
2293
|
+
end
|
2294
|
+
end
|
2295
|
+
# Additional fields for Mandate creation.
|
2296
|
+
attr_accessor :mandate_options
|
2297
|
+
|
2298
|
+
def initialize(mandate_options: nil)
|
2299
|
+
@mandate_options = mandate_options
|
1955
2300
|
end
|
1956
2301
|
end
|
1957
2302
|
|
@@ -1977,13 +2322,27 @@ module Stripe
|
|
1977
2322
|
class Filters < Stripe::RequestParams
|
1978
2323
|
# The account subcategories to use to filter for selectable accounts. Valid subcategories are `checking` and `savings`.
|
1979
2324
|
attr_accessor :account_subcategories
|
2325
|
+
# ID of the institution to use to filter for selectable accounts.
|
2326
|
+
attr_accessor :institution
|
1980
2327
|
|
1981
|
-
def initialize(account_subcategories: nil)
|
2328
|
+
def initialize(account_subcategories: nil, institution: nil)
|
1982
2329
|
@account_subcategories = account_subcategories
|
2330
|
+
@institution = institution
|
2331
|
+
end
|
2332
|
+
end
|
2333
|
+
|
2334
|
+
class ManualEntry < Stripe::RequestParams
|
2335
|
+
# Settings for configuring manual entry of account details.
|
2336
|
+
attr_accessor :mode
|
2337
|
+
|
2338
|
+
def initialize(mode: nil)
|
2339
|
+
@mode = mode
|
1983
2340
|
end
|
1984
2341
|
end
|
1985
2342
|
# Provide filters for the linked accounts that the customer can select for the payment method.
|
1986
2343
|
attr_accessor :filters
|
2344
|
+
# Customize manual entry behavior
|
2345
|
+
attr_accessor :manual_entry
|
1987
2346
|
# 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`.
|
1988
2347
|
attr_accessor :permissions
|
1989
2348
|
# List of data features that you would like to retrieve upon account creation.
|
@@ -1991,8 +2350,15 @@ module Stripe
|
|
1991
2350
|
# 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.
|
1992
2351
|
attr_accessor :return_url
|
1993
2352
|
|
1994
|
-
def initialize(
|
2353
|
+
def initialize(
|
2354
|
+
filters: nil,
|
2355
|
+
manual_entry: nil,
|
2356
|
+
permissions: nil,
|
2357
|
+
prefetch: nil,
|
2358
|
+
return_url: nil
|
2359
|
+
)
|
1995
2360
|
@filters = filters
|
2361
|
+
@manual_entry = manual_entry
|
1996
2362
|
@permissions = permissions
|
1997
2363
|
@prefetch = prefetch
|
1998
2364
|
@return_url = return_url
|
@@ -2051,6 +2417,8 @@ module Stripe
|
|
2051
2417
|
attr_accessor :link
|
2052
2418
|
# If this is a `paypal` PaymentMethod, this sub-hash contains details about the PayPal payment method options.
|
2053
2419
|
attr_accessor :paypal
|
2420
|
+
# If this is a `payto` SetupIntent, this sub-hash contains details about the PayTo payment method options.
|
2421
|
+
attr_accessor :payto
|
2054
2422
|
# If this is a `sepa_debit` SetupIntent, this sub-hash contains details about the SEPA Debit payment method options.
|
2055
2423
|
attr_accessor :sepa_debit
|
2056
2424
|
# If this is a `us_bank_account` SetupIntent, this sub-hash contains details about the US bank account payment method options.
|
@@ -2064,6 +2432,7 @@ module Stripe
|
|
2064
2432
|
card_present: nil,
|
2065
2433
|
link: nil,
|
2066
2434
|
paypal: nil,
|
2435
|
+
payto: nil,
|
2067
2436
|
sepa_debit: nil,
|
2068
2437
|
us_bank_account: nil
|
2069
2438
|
)
|
@@ -2074,6 +2443,7 @@ module Stripe
|
|
2074
2443
|
@card_present = card_present
|
2075
2444
|
@link = link
|
2076
2445
|
@paypal = paypal
|
2446
|
+
@payto = payto
|
2077
2447
|
@sepa_debit = sepa_debit
|
2078
2448
|
@us_bank_account = us_bank_account
|
2079
2449
|
end
|
@@ -2086,6 +2456,10 @@ module Stripe
|
|
2086
2456
|
#
|
2087
2457
|
# 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.
|
2088
2458
|
attr_accessor :customer
|
2459
|
+
# ID of the Account this SetupIntent belongs to, if one exists.
|
2460
|
+
#
|
2461
|
+
# If present, the SetupIntent's payment method will be attached to the Account on successful setup. Payment methods attached to other Accounts cannot be used with this SetupIntent.
|
2462
|
+
attr_accessor :customer_account
|
2089
2463
|
# An arbitrary string attached to the object. Often useful for displaying to users.
|
2090
2464
|
attr_accessor :description
|
2091
2465
|
# Specifies which fields in the response should be expanded.
|
@@ -2111,6 +2485,7 @@ module Stripe
|
|
2111
2485
|
def initialize(
|
2112
2486
|
attach_to_self: nil,
|
2113
2487
|
customer: nil,
|
2488
|
+
customer_account: nil,
|
2114
2489
|
description: nil,
|
2115
2490
|
expand: nil,
|
2116
2491
|
flow_directions: nil,
|
@@ -2123,6 +2498,7 @@ module Stripe
|
|
2123
2498
|
)
|
2124
2499
|
@attach_to_self = attach_to_self
|
2125
2500
|
@customer = customer
|
2501
|
+
@customer_account = customer_account
|
2126
2502
|
@description = description
|
2127
2503
|
@expand = expand
|
2128
2504
|
@flow_directions = flow_directions
|
@@ -2288,12 +2664,15 @@ module Stripe
|
|
2288
2664
|
attr_accessor :name
|
2289
2665
|
# Billing phone number (including extension).
|
2290
2666
|
attr_accessor :phone
|
2667
|
+
# Taxpayer identification number. Used only for transactions between LATAM buyers and non-LATAM sellers.
|
2668
|
+
attr_accessor :tax_id
|
2291
2669
|
|
2292
|
-
def initialize(address: nil, email: nil, name: nil, phone: nil)
|
2670
|
+
def initialize(address: nil, email: nil, name: nil, phone: nil, tax_id: nil)
|
2293
2671
|
@address = address
|
2294
2672
|
@email = email
|
2295
2673
|
@name = name
|
2296
2674
|
@phone = phone
|
2675
|
+
@tax_id = tax_id
|
2297
2676
|
end
|
2298
2677
|
end
|
2299
2678
|
|
@@ -2339,9 +2718,21 @@ module Stripe
|
|
2339
2718
|
class Giropay < Stripe::RequestParams
|
2340
2719
|
end
|
2341
2720
|
|
2721
|
+
class Gopay < Stripe::RequestParams
|
2722
|
+
end
|
2723
|
+
|
2342
2724
|
class Grabpay < Stripe::RequestParams
|
2343
2725
|
end
|
2344
2726
|
|
2727
|
+
class IdBankTransfer < Stripe::RequestParams
|
2728
|
+
# Bank where the account is held.
|
2729
|
+
attr_accessor :bank
|
2730
|
+
|
2731
|
+
def initialize(bank: nil)
|
2732
|
+
@bank = bank
|
2733
|
+
end
|
2734
|
+
end
|
2735
|
+
|
2345
2736
|
class Ideal < Stripe::RequestParams
|
2346
2737
|
# The customer's bank. Only use this parameter for existing customers. Don't use it for new customers.
|
2347
2738
|
attr_accessor :bank
|
@@ -2389,6 +2780,9 @@ module Stripe
|
|
2389
2780
|
class Link < Stripe::RequestParams
|
2390
2781
|
end
|
2391
2782
|
|
2783
|
+
class MbWay < Stripe::RequestParams
|
2784
|
+
end
|
2785
|
+
|
2392
2786
|
class Mobilepay < Stripe::RequestParams
|
2393
2787
|
end
|
2394
2788
|
|
@@ -2459,12 +2853,30 @@ module Stripe
|
|
2459
2853
|
class Paypal < Stripe::RequestParams
|
2460
2854
|
end
|
2461
2855
|
|
2856
|
+
class Payto < Stripe::RequestParams
|
2857
|
+
# The account number for the bank account.
|
2858
|
+
attr_accessor :account_number
|
2859
|
+
# Bank-State-Branch number of the bank account.
|
2860
|
+
attr_accessor :bsb_number
|
2861
|
+
# The PayID alias for the bank account.
|
2862
|
+
attr_accessor :pay_id
|
2863
|
+
|
2864
|
+
def initialize(account_number: nil, bsb_number: nil, pay_id: nil)
|
2865
|
+
@account_number = account_number
|
2866
|
+
@bsb_number = bsb_number
|
2867
|
+
@pay_id = pay_id
|
2868
|
+
end
|
2869
|
+
end
|
2870
|
+
|
2462
2871
|
class Pix < Stripe::RequestParams
|
2463
2872
|
end
|
2464
2873
|
|
2465
2874
|
class Promptpay < Stripe::RequestParams
|
2466
2875
|
end
|
2467
2876
|
|
2877
|
+
class Qris < Stripe::RequestParams
|
2878
|
+
end
|
2879
|
+
|
2468
2880
|
class RadarOptions < Stripe::RequestParams
|
2469
2881
|
# A [Radar Session](https://stripe.com/docs/radar/radar-session) is a snapshot of the browser metadata and device details that help Radar make more accurate predictions on your payments.
|
2470
2882
|
attr_accessor :session
|
@@ -2474,6 +2886,29 @@ module Stripe
|
|
2474
2886
|
end
|
2475
2887
|
end
|
2476
2888
|
|
2889
|
+
class Rechnung < Stripe::RequestParams
|
2890
|
+
class Dob < Stripe::RequestParams
|
2891
|
+
# The day of birth, between 1 and 31.
|
2892
|
+
attr_accessor :day
|
2893
|
+
# The month of birth, between 1 and 12.
|
2894
|
+
attr_accessor :month
|
2895
|
+
# The four-digit year of birth.
|
2896
|
+
attr_accessor :year
|
2897
|
+
|
2898
|
+
def initialize(day: nil, month: nil, year: nil)
|
2899
|
+
@day = day
|
2900
|
+
@month = month
|
2901
|
+
@year = year
|
2902
|
+
end
|
2903
|
+
end
|
2904
|
+
# Customer's date of birth
|
2905
|
+
attr_accessor :dob
|
2906
|
+
|
2907
|
+
def initialize(dob: nil)
|
2908
|
+
@dob = dob
|
2909
|
+
end
|
2910
|
+
end
|
2911
|
+
|
2477
2912
|
class RevolutPay < Stripe::RequestParams
|
2478
2913
|
end
|
2479
2914
|
|
@@ -2492,6 +2927,9 @@ module Stripe
|
|
2492
2927
|
end
|
2493
2928
|
end
|
2494
2929
|
|
2930
|
+
class Shopeepay < Stripe::RequestParams
|
2931
|
+
end
|
2932
|
+
|
2495
2933
|
class Sofort < Stripe::RequestParams
|
2496
2934
|
# Two-letter ISO code representing the country the bank account is located in.
|
2497
2935
|
attr_accessor :country
|
@@ -2501,6 +2939,18 @@ module Stripe
|
|
2501
2939
|
end
|
2502
2940
|
end
|
2503
2941
|
|
2942
|
+
class StripeBalance < Stripe::RequestParams
|
2943
|
+
# The connected account ID whose Stripe balance to use as the source of payment
|
2944
|
+
attr_accessor :account
|
2945
|
+
# The [source_type](https://docs.stripe.com/api/balance/balance_object#balance_object-available-source_types) of the balance
|
2946
|
+
attr_accessor :source_type
|
2947
|
+
|
2948
|
+
def initialize(account: nil, source_type: nil)
|
2949
|
+
@account = account
|
2950
|
+
@source_type = source_type
|
2951
|
+
end
|
2952
|
+
end
|
2953
|
+
|
2504
2954
|
class Swish < Stripe::RequestParams
|
2505
2955
|
end
|
2506
2956
|
|
@@ -2559,7 +3009,7 @@ module Stripe
|
|
2559
3009
|
attr_accessor :bacs_debit
|
2560
3010
|
# If this is a `bancontact` PaymentMethod, this hash contains details about the Bancontact payment method.
|
2561
3011
|
attr_accessor :bancontact
|
2562
|
-
# If this is a `billie` PaymentMethod, this hash contains details about the
|
3012
|
+
# If this is a `billie` PaymentMethod, this hash contains details about the Billie payment method.
|
2563
3013
|
attr_accessor :billie
|
2564
3014
|
# Billing information associated with the PaymentMethod that may be used or required by particular types of payment methods.
|
2565
3015
|
attr_accessor :billing_details
|
@@ -2577,8 +3027,12 @@ module Stripe
|
|
2577
3027
|
attr_accessor :fpx
|
2578
3028
|
# If this is a `giropay` PaymentMethod, this hash contains details about the Giropay payment method.
|
2579
3029
|
attr_accessor :giropay
|
3030
|
+
# If this is a Gopay PaymentMethod, this hash contains details about the Gopay payment method.
|
3031
|
+
attr_accessor :gopay
|
2580
3032
|
# If this is a `grabpay` PaymentMethod, this hash contains details about the GrabPay payment method.
|
2581
3033
|
attr_accessor :grabpay
|
3034
|
+
# If this is an `IdBankTransfer` PaymentMethod, this hash contains details about the IdBankTransfer payment method.
|
3035
|
+
attr_accessor :id_bank_transfer
|
2582
3036
|
# If this is an `ideal` PaymentMethod, this hash contains details about the iDEAL payment method.
|
2583
3037
|
attr_accessor :ideal
|
2584
3038
|
# If this is an `interac_present` PaymentMethod, this hash contains details about the Interac Present payment method.
|
@@ -2593,6 +3047,8 @@ module Stripe
|
|
2593
3047
|
attr_accessor :kr_card
|
2594
3048
|
# If this is an `Link` PaymentMethod, this hash contains details about the Link payment method.
|
2595
3049
|
attr_accessor :link
|
3050
|
+
# If this is a MB WAY PaymentMethod, this hash contains details about the MB WAY payment method.
|
3051
|
+
attr_accessor :mb_way
|
2596
3052
|
# 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`.
|
2597
3053
|
attr_accessor :metadata
|
2598
3054
|
# If this is a `mobilepay` PaymentMethod, this hash contains details about the MobilePay payment method.
|
@@ -2615,22 +3071,32 @@ module Stripe
|
|
2615
3071
|
attr_accessor :paynow
|
2616
3072
|
# If this is a `paypal` PaymentMethod, this hash contains details about the PayPal payment method.
|
2617
3073
|
attr_accessor :paypal
|
3074
|
+
# If this is a `payto` PaymentMethod, this hash contains details about the PayTo payment method.
|
3075
|
+
attr_accessor :payto
|
2618
3076
|
# If this is a `pix` PaymentMethod, this hash contains details about the Pix payment method.
|
2619
3077
|
attr_accessor :pix
|
2620
3078
|
# If this is a `promptpay` PaymentMethod, this hash contains details about the PromptPay payment method.
|
2621
3079
|
attr_accessor :promptpay
|
3080
|
+
# If this is a `qris` PaymentMethod, this hash contains details about the QRIS payment method.
|
3081
|
+
attr_accessor :qris
|
2622
3082
|
# Options to configure Radar. See [Radar Session](https://stripe.com/docs/radar/radar-session) for more information.
|
2623
3083
|
attr_accessor :radar_options
|
2624
|
-
# If this is a `
|
3084
|
+
# If this is a `rechnung` PaymentMethod, this hash contains details about the Rechnung payment method.
|
3085
|
+
attr_accessor :rechnung
|
3086
|
+
# If this is a `revolut_pay` PaymentMethod, this hash contains details about the Revolut Pay payment method.
|
2625
3087
|
attr_accessor :revolut_pay
|
2626
3088
|
# If this is a `samsung_pay` PaymentMethod, this hash contains details about the SamsungPay payment method.
|
2627
3089
|
attr_accessor :samsung_pay
|
2628
|
-
# If this is a `satispay` PaymentMethod, this hash contains details about the
|
3090
|
+
# If this is a `satispay` PaymentMethod, this hash contains details about the Satispay payment method.
|
2629
3091
|
attr_accessor :satispay
|
2630
3092
|
# If this is a `sepa_debit` PaymentMethod, this hash contains details about the SEPA debit bank account.
|
2631
3093
|
attr_accessor :sepa_debit
|
3094
|
+
# If this is a Shopeepay PaymentMethod, this hash contains details about the Shopeepay payment method.
|
3095
|
+
attr_accessor :shopeepay
|
2632
3096
|
# If this is a `sofort` PaymentMethod, this hash contains details about the SOFORT payment method.
|
2633
3097
|
attr_accessor :sofort
|
3098
|
+
# This hash contains details about the Stripe balance payment method.
|
3099
|
+
attr_accessor :stripe_balance
|
2634
3100
|
# If this is a `swish` PaymentMethod, this hash contains details about the Swish payment method.
|
2635
3101
|
attr_accessor :swish
|
2636
3102
|
# If this is a TWINT PaymentMethod, this hash contains details about the TWINT payment method.
|
@@ -2664,7 +3130,9 @@ module Stripe
|
|
2664
3130
|
eps: nil,
|
2665
3131
|
fpx: nil,
|
2666
3132
|
giropay: nil,
|
3133
|
+
gopay: nil,
|
2667
3134
|
grabpay: nil,
|
3135
|
+
id_bank_transfer: nil,
|
2668
3136
|
ideal: nil,
|
2669
3137
|
interac_present: nil,
|
2670
3138
|
kakao_pay: nil,
|
@@ -2672,6 +3140,7 @@ module Stripe
|
|
2672
3140
|
konbini: nil,
|
2673
3141
|
kr_card: nil,
|
2674
3142
|
link: nil,
|
3143
|
+
mb_way: nil,
|
2675
3144
|
metadata: nil,
|
2676
3145
|
mobilepay: nil,
|
2677
3146
|
multibanco: nil,
|
@@ -2683,14 +3152,19 @@ module Stripe
|
|
2683
3152
|
payco: nil,
|
2684
3153
|
paynow: nil,
|
2685
3154
|
paypal: nil,
|
3155
|
+
payto: nil,
|
2686
3156
|
pix: nil,
|
2687
3157
|
promptpay: nil,
|
3158
|
+
qris: nil,
|
2688
3159
|
radar_options: nil,
|
3160
|
+
rechnung: nil,
|
2689
3161
|
revolut_pay: nil,
|
2690
3162
|
samsung_pay: nil,
|
2691
3163
|
satispay: nil,
|
2692
3164
|
sepa_debit: nil,
|
3165
|
+
shopeepay: nil,
|
2693
3166
|
sofort: nil,
|
3167
|
+
stripe_balance: nil,
|
2694
3168
|
swish: nil,
|
2695
3169
|
twint: nil,
|
2696
3170
|
type: nil,
|
@@ -2717,7 +3191,9 @@ module Stripe
|
|
2717
3191
|
@eps = eps
|
2718
3192
|
@fpx = fpx
|
2719
3193
|
@giropay = giropay
|
3194
|
+
@gopay = gopay
|
2720
3195
|
@grabpay = grabpay
|
3196
|
+
@id_bank_transfer = id_bank_transfer
|
2721
3197
|
@ideal = ideal
|
2722
3198
|
@interac_present = interac_present
|
2723
3199
|
@kakao_pay = kakao_pay
|
@@ -2725,6 +3201,7 @@ module Stripe
|
|
2725
3201
|
@konbini = konbini
|
2726
3202
|
@kr_card = kr_card
|
2727
3203
|
@link = link
|
3204
|
+
@mb_way = mb_way
|
2728
3205
|
@metadata = metadata
|
2729
3206
|
@mobilepay = mobilepay
|
2730
3207
|
@multibanco = multibanco
|
@@ -2736,14 +3213,19 @@ module Stripe
|
|
2736
3213
|
@payco = payco
|
2737
3214
|
@paynow = paynow
|
2738
3215
|
@paypal = paypal
|
3216
|
+
@payto = payto
|
2739
3217
|
@pix = pix
|
2740
3218
|
@promptpay = promptpay
|
3219
|
+
@qris = qris
|
2741
3220
|
@radar_options = radar_options
|
3221
|
+
@rechnung = rechnung
|
2742
3222
|
@revolut_pay = revolut_pay
|
2743
3223
|
@samsung_pay = samsung_pay
|
2744
3224
|
@satispay = satispay
|
2745
3225
|
@sepa_debit = sepa_debit
|
3226
|
+
@shopeepay = shopeepay
|
2746
3227
|
@sofort = sofort
|
3228
|
+
@stripe_balance = stripe_balance
|
2747
3229
|
@swish = swish
|
2748
3230
|
@twint = twint
|
2749
3231
|
@type = type
|
@@ -2979,9 +3461,58 @@ module Stripe
|
|
2979
3461
|
class Paypal < Stripe::RequestParams
|
2980
3462
|
# The PayPal Billing Agreement ID (BAID). This is an ID generated by PayPal which represents the mandate between the merchant and the customer.
|
2981
3463
|
attr_accessor :billing_agreement_id
|
3464
|
+
# Attribute for param field currency
|
3465
|
+
attr_accessor :currency
|
3466
|
+
# 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.
|
3467
|
+
attr_accessor :subsellers
|
2982
3468
|
|
2983
|
-
def initialize(billing_agreement_id: nil)
|
3469
|
+
def initialize(billing_agreement_id: nil, currency: nil, subsellers: nil)
|
2984
3470
|
@billing_agreement_id = billing_agreement_id
|
3471
|
+
@currency = currency
|
3472
|
+
@subsellers = subsellers
|
3473
|
+
end
|
3474
|
+
end
|
3475
|
+
|
3476
|
+
class Payto < Stripe::RequestParams
|
3477
|
+
class MandateOptions < Stripe::RequestParams
|
3478
|
+
# Amount that will be collected. It is required when `amount_type` is `fixed`.
|
3479
|
+
attr_accessor :amount
|
3480
|
+
# 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.
|
3481
|
+
attr_accessor :amount_type
|
3482
|
+
# Date, in YYYY-MM-DD format, after which payments will not be collected. Defaults to no end date.
|
3483
|
+
attr_accessor :end_date
|
3484
|
+
# The periodicity at which payments will be collected.
|
3485
|
+
attr_accessor :payment_schedule
|
3486
|
+
# 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.
|
3487
|
+
attr_accessor :payments_per_period
|
3488
|
+
# The purpose for which payments are made. Defaults to retail.
|
3489
|
+
attr_accessor :purpose
|
3490
|
+
# Date, in YYYY-MM-DD format, from which payments will be collected. Defaults to confirmation time.
|
3491
|
+
attr_accessor :start_date
|
3492
|
+
|
3493
|
+
def initialize(
|
3494
|
+
amount: nil,
|
3495
|
+
amount_type: nil,
|
3496
|
+
end_date: nil,
|
3497
|
+
payment_schedule: nil,
|
3498
|
+
payments_per_period: nil,
|
3499
|
+
purpose: nil,
|
3500
|
+
start_date: nil
|
3501
|
+
)
|
3502
|
+
@amount = amount
|
3503
|
+
@amount_type = amount_type
|
3504
|
+
@end_date = end_date
|
3505
|
+
@payment_schedule = payment_schedule
|
3506
|
+
@payments_per_period = payments_per_period
|
3507
|
+
@purpose = purpose
|
3508
|
+
@start_date = start_date
|
3509
|
+
end
|
3510
|
+
end
|
3511
|
+
# Additional fields for Mandate creation.
|
3512
|
+
attr_accessor :mandate_options
|
3513
|
+
|
3514
|
+
def initialize(mandate_options: nil)
|
3515
|
+
@mandate_options = mandate_options
|
2985
3516
|
end
|
2986
3517
|
end
|
2987
3518
|
|
@@ -3007,13 +3538,27 @@ module Stripe
|
|
3007
3538
|
class Filters < Stripe::RequestParams
|
3008
3539
|
# The account subcategories to use to filter for selectable accounts. Valid subcategories are `checking` and `savings`.
|
3009
3540
|
attr_accessor :account_subcategories
|
3541
|
+
# ID of the institution to use to filter for selectable accounts.
|
3542
|
+
attr_accessor :institution
|
3010
3543
|
|
3011
|
-
def initialize(account_subcategories: nil)
|
3544
|
+
def initialize(account_subcategories: nil, institution: nil)
|
3012
3545
|
@account_subcategories = account_subcategories
|
3546
|
+
@institution = institution
|
3547
|
+
end
|
3548
|
+
end
|
3549
|
+
|
3550
|
+
class ManualEntry < Stripe::RequestParams
|
3551
|
+
# Settings for configuring manual entry of account details.
|
3552
|
+
attr_accessor :mode
|
3553
|
+
|
3554
|
+
def initialize(mode: nil)
|
3555
|
+
@mode = mode
|
3013
3556
|
end
|
3014
3557
|
end
|
3015
3558
|
# Provide filters for the linked accounts that the customer can select for the payment method.
|
3016
3559
|
attr_accessor :filters
|
3560
|
+
# Customize manual entry behavior
|
3561
|
+
attr_accessor :manual_entry
|
3017
3562
|
# 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`.
|
3018
3563
|
attr_accessor :permissions
|
3019
3564
|
# List of data features that you would like to retrieve upon account creation.
|
@@ -3021,8 +3566,15 @@ module Stripe
|
|
3021
3566
|
# 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.
|
3022
3567
|
attr_accessor :return_url
|
3023
3568
|
|
3024
|
-
def initialize(
|
3569
|
+
def initialize(
|
3570
|
+
filters: nil,
|
3571
|
+
manual_entry: nil,
|
3572
|
+
permissions: nil,
|
3573
|
+
prefetch: nil,
|
3574
|
+
return_url: nil
|
3575
|
+
)
|
3025
3576
|
@filters = filters
|
3577
|
+
@manual_entry = manual_entry
|
3026
3578
|
@permissions = permissions
|
3027
3579
|
@prefetch = prefetch
|
3028
3580
|
@return_url = return_url
|
@@ -3081,6 +3633,8 @@ module Stripe
|
|
3081
3633
|
attr_accessor :link
|
3082
3634
|
# If this is a `paypal` PaymentMethod, this sub-hash contains details about the PayPal payment method options.
|
3083
3635
|
attr_accessor :paypal
|
3636
|
+
# If this is a `payto` SetupIntent, this sub-hash contains details about the PayTo payment method options.
|
3637
|
+
attr_accessor :payto
|
3084
3638
|
# If this is a `sepa_debit` SetupIntent, this sub-hash contains details about the SEPA Debit payment method options.
|
3085
3639
|
attr_accessor :sepa_debit
|
3086
3640
|
# If this is a `us_bank_account` SetupIntent, this sub-hash contains details about the US bank account payment method options.
|
@@ -3094,6 +3648,7 @@ module Stripe
|
|
3094
3648
|
card_present: nil,
|
3095
3649
|
link: nil,
|
3096
3650
|
paypal: nil,
|
3651
|
+
payto: nil,
|
3097
3652
|
sepa_debit: nil,
|
3098
3653
|
us_bank_account: nil
|
3099
3654
|
)
|
@@ -3104,6 +3659,7 @@ module Stripe
|
|
3104
3659
|
@card_present = card_present
|
3105
3660
|
@link = link
|
3106
3661
|
@paypal = paypal
|
3662
|
+
@payto = payto
|
3107
3663
|
@sepa_debit = sepa_debit
|
3108
3664
|
@us_bank_account = us_bank_account
|
3109
3665
|
end
|