stripe 15.2.0 → 15.3.0.pre.beta.1
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 +1600 -670
- data/VERSION +1 -1
- data/lib/stripe/api_requestor.rb +28 -0
- data/lib/stripe/api_version.rb +1 -1
- data/lib/stripe/errors.rb +54 -0
- data/lib/stripe/event_types.rb +98 -0
- data/lib/stripe/events/v2_core_account_closed_event.rb +21 -0
- data/lib/stripe/events/v2_core_account_created_event.rb +21 -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_defaults_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_core_account_updated_event.rb +21 -0
- data/lib/stripe/events/v2_money_management_adjustment_created_event.rb +21 -0
- data/lib/stripe/events/v2_money_management_financial_account_created_event.rb +21 -0
- data/lib/stripe/events/v2_money_management_financial_account_updated_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_payment_updated_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_outbound_transfer_updated_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/events/v2_money_management_transaction_created_event.rb +21 -0
- data/lib/stripe/events/v2_money_management_transaction_updated_event.rb +21 -0
- data/lib/stripe/events/v2_off_session_payment_requires_capture_event.rb +21 -0
- data/lib/stripe/events/v2_payments_off_session_payment_authorization_attempt_failed_event.rb +21 -0
- data/lib/stripe/events/v2_payments_off_session_payment_authorization_attempt_started_event.rb +21 -0
- data/lib/stripe/events/v2_payments_off_session_payment_canceled_event.rb +21 -0
- data/lib/stripe/events/v2_payments_off_session_payment_created_event.rb +21 -0
- data/lib/stripe/events/v2_payments_off_session_payment_failed_event.rb +21 -0
- data/lib/stripe/events/v2_payments_off_session_payment_succeeded_event.rb +21 -0
- data/lib/stripe/object_types.rb +50 -0
- data/lib/stripe/resources/account.rb +653 -1
- data/lib/stripe/resources/account_notice.rb +123 -0
- data/lib/stripe/resources/account_session.rb +256 -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_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 +1538 -0
- data/lib/stripe/resources/checkout/session.rb +330 -2
- data/lib/stripe/resources/confirmation_token.rb +170 -0
- data/lib/stripe/resources/coupon.rb +30 -1
- data/lib/stripe/resources/credit_note.rb +6 -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 +31 -0
- data/lib/stripe/resources/financial_connections/account.rb +22 -1
- data/lib/stripe/resources/financial_connections/account_inferred_balance.rb +27 -0
- data/lib/stripe/resources/financial_connections/institution.rb +92 -0
- data/lib/stripe/resources/financial_connections/session.rb +62 -2
- data/lib/stripe/resources/fx_quote.rb +184 -0
- data/lib/stripe/resources/identity/verification_session.rb +10 -0
- data/lib/stripe/resources/invoice.rb +1070 -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/mandate.rb +24 -0
- data/lib/stripe/resources/margin.rb +115 -0
- data/lib/stripe/resources/order.rb +2806 -0
- data/lib/stripe/resources/payment_attempt_record.rb +1086 -0
- data/lib/stripe/resources/payment_intent.rb +7694 -2738
- data/lib/stripe/resources/payment_intent_amount_details_line_item.rb +72 -0
- data/lib/stripe/resources/payment_method.rb +192 -1
- data/lib/stripe/resources/payment_method_configuration.rb +295 -0
- data/lib/stripe/resources/payment_record.rb +1615 -0
- data/lib/stripe/resources/payout.rb +6 -0
- data/lib/stripe/resources/price.rb +30 -0
- data/lib/stripe/resources/privacy/redaction_job.rb +298 -0
- data/lib/stripe/resources/privacy/redaction_job_validation_error.rb +33 -0
- data/lib/stripe/resources/promotion_code.rb +10 -0
- data/lib/stripe/resources/quote.rb +2046 -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 +364 -0
- data/lib/stripe/resources/refund.rb +9 -0
- data/lib/stripe/resources/setup_attempt.rb +21 -0
- data/lib/stripe/resources/setup_intent.rb +578 -9
- data/lib/stripe/resources/source.rb +29 -0
- data/lib/stripe/resources/subscription.rb +333 -9
- data/lib/stripe/resources/subscription_item.rb +84 -3
- data/lib/stripe/resources/subscription_schedule.rb +1013 -10
- data/lib/stripe/resources/tax/association.rb +66 -0
- data/lib/stripe/resources/tax/form.rb +211 -0
- data/lib/stripe/resources/tax_id.rb +12 -2
- data/lib/stripe/resources/terminal/reader.rb +156 -0
- data/lib/stripe/resources/terminal/reader_collected_data.rb +31 -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_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 +1746 -0
- data/lib/stripe/resources/v2/core/account_link.rb +56 -0
- data/lib/stripe/resources/v2/core/person.rb +276 -0
- data/lib/stripe/resources/v2/core/vault/gb_bank_account.rb +74 -0
- data/lib/stripe/resources/v2/core/vault/us_bank_account.rb +39 -0
- data/lib/stripe/resources/v2/financial_address_credit_simulation.rb +20 -0
- data/lib/stripe/resources/v2/financial_address_generated_microdeposits.rb +22 -0
- data/lib/stripe/resources/v2/money_management/adjustment.rb +51 -0
- data/lib/stripe/resources/v2/money_management/financial_account.rb +58 -0
- data/lib/stripe/resources/v2/money_management/financial_address.rb +68 -0
- data/lib/stripe/resources/v2/money_management/inbound_transfer.rb +94 -0
- data/lib/stripe/resources/v2/money_management/outbound_payment.rb +129 -0
- data/lib/stripe/resources/v2/money_management/outbound_payment_quote.rb +82 -0
- data/lib/stripe/resources/v2/money_management/outbound_setup_intent.rb +45 -0
- data/lib/stripe/resources/v2/money_management/outbound_transfer.rb +117 -0
- data/lib/stripe/resources/v2/money_management/payout_method.rb +75 -0
- data/lib/stripe/resources/v2/money_management/payout_methods_bank_account_spec.rb +49 -0
- data/lib/stripe/resources/v2/money_management/received_credit.rb +116 -0
- data/lib/stripe/resources/v2/money_management/received_debit.rb +84 -0
- data/lib/stripe/resources/v2/money_management/transaction.rb +78 -0
- data/lib/stripe/resources/v2/money_management/transaction_entry.rb +68 -0
- data/lib/stripe/resources/v2/payments/off_session_payment.rb +74 -0
- data/lib/stripe/resources.rb +104 -0
- data/lib/stripe/services/account_notice_service.rb +101 -0
- data/lib/stripe/services/account_service.rb +562 -1
- data/lib/stripe/services/account_session_service.rb +226 -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_portal/session_service.rb +4 -0
- 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 +1418 -0
- data/lib/stripe/services/checkout/session_service.rb +247 -2
- data/lib/stripe/services/coupon_service.rb +17 -1
- data/lib/stripe/services/credit_note_service.rb +4 -0
- data/lib/stripe/services/customer_session_service.rb +4 -1
- data/{rbi/stripe/services/account_external_account_service.rbi → lib/stripe/services/external_account_service.rb} +135 -122
- 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 +7 -2
- 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 +2 -1
- data/lib/stripe/services/fx_quote_service.rb +123 -0
- data/lib/stripe/services/identity/verification_session_service.rb +8 -0
- 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 +1021 -16
- 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 +5 -1
- 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 +2236 -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 +4733 -245
- data/lib/stripe/services/payment_method_configuration_service.rb +210 -0
- data/lib/stripe/services/payment_method_service.rb +120 -1
- 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 +240 -0
- data/{rbi/stripe/services/tax/calculation_line_item_service.rbi → lib/stripe/services/privacy/redaction_job_validation_error_service.rb} +21 -17
- data/lib/stripe/services/privacy_service.rb +13 -0
- 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 +1730 -7
- data/lib/stripe/services/setup_intent_service.rb +538 -9
- data/lib/stripe/services/subscription_item_service.rb +75 -3
- data/lib/stripe/services/subscription_schedule_service.rb +915 -10
- data/lib/stripe/services/subscription_service.rb +276 -9
- data/lib/stripe/services/tax/association_service.rb +31 -0
- data/lib/stripe/services/tax/form_service.rb +100 -0
- data/lib/stripe/services/tax_id_service.rb +8 -2
- data/lib/stripe/services/tax_service.rb +3 -1
- data/lib/stripe/services/terminal/reader_collected_data_service.rb +28 -0
- data/lib/stripe/services/terminal/reader_service.rb +90 -0
- data/lib/stripe/services/terminal_service.rb +2 -1
- data/lib/stripe/services/test_helpers/confirmation_token_service.rb +97 -0
- 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/transfer_service.rb +4 -0
- data/lib/stripe/services/treasury/financial_account_features_service.rb +4 -1
- data/lib/stripe/services/treasury/financial_account_service.rb +16 -2
- data/lib/stripe/services/treasury/outbound_transfer_service.rb +24 -0
- data/lib/stripe/services/v1_services.rb +11 -2
- data/lib/stripe/services/v2/core/account_link_service.rb +76 -0
- data/lib/stripe/services/v2/core/account_service.rb +4138 -0
- data/lib/stripe/services/v2/core/accounts/person_service.rb +1046 -0
- data/lib/stripe/services/v2/core/vault/gb_bank_account_service.rb +131 -0
- data/lib/stripe/services/v2/core/vault/us_bank_account_service.rb +107 -0
- data/lib/stripe/services/v2/core/vault_service.rb +18 -0
- data/lib/stripe/services/v2/core_service.rb +4 -1
- data/lib/stripe/services/v2/money_management/adjustment_service.rb +74 -0
- data/lib/stripe/services/v2/money_management/financial_account_service.rb +43 -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 +125 -0
- data/lib/stripe/services/v2/money_management/outbound_payment_quote_service.rb +95 -0
- data/lib/stripe/services/v2/money_management/outbound_payment_service.rb +200 -0
- data/lib/stripe/services/v2/money_management/outbound_setup_intent_service.rb +235 -0
- data/lib/stripe/services/v2/money_management/outbound_transfer_service.rb +172 -0
- data/lib/stripe/services/v2/money_management/payout_method_service.rb +91 -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 +70 -0
- data/lib/stripe/services/v2/money_management/received_debit_service.rb +43 -0
- data/lib/stripe/services/v2/money_management/transaction_entry_service.rb +69 -0
- data/lib/stripe/services/v2/money_management/transaction_service.rb +73 -0
- data/lib/stripe/services/v2/money_management_service.rb +31 -0
- data/lib/stripe/services/v2/payment_service.rb +15 -0
- data/lib/stripe/services/v2/payments/off_session_payment_service.rb +138 -0
- data/lib/stripe/services/v2/test_helper_service.rb +15 -0
- data/lib/stripe/services/v2/test_helpers/financial_address_service.rb +49 -0
- data/lib/stripe/services/v2_services.rb +5 -2
- data/lib/stripe/services.rb +53 -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 +191639 -0
- data/stripe.gemspec +4 -1
- metadata +161 -324
- data/lib/stripe/services/invoice_payment_service.rb +0 -83
- data/rbi/stripe/resources/account.rbi +0 -4926
- data/rbi/stripe/resources/account_link.rbi +0 -74
- data/rbi/stripe/resources/account_session.rbi +0 -1013
- data/rbi/stripe/resources/apple_pay_domain.rbi +0 -88
- 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 -235
- data/rbi/stripe/resources/balance_transaction.rbi +0 -147
- 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 -2069
- data/rbi/stripe/resources/checkout/session.rbi +0 -4004
- 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 -1807
- 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 -250
- data/rbi/stripe/resources/credit_note.rbi +0 -752
- data/rbi/stripe/resources/credit_note_line_item.rbi +0 -101
- data/rbi/stripe/resources/customer.rbi +0 -1005
- 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 -149
- 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 -360
- data/rbi/stripe/resources/identity/verification_session.rbi +0 -526
- data/rbi/stripe/resources/invoice.rbi +0 -3812
- data/rbi/stripe/resources/invoice_item.rbi +0 -473
- data/rbi/stripe/resources/invoice_line_item.rbi +0 -432
- data/rbi/stripe/resources/invoice_payment.rbi +0 -121
- 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 -19
- data/rbi/stripe/resources/mandate.rbi +0 -187
- data/rbi/stripe/resources/payment_intent.rbi +0 -9647
- data/rbi/stripe/resources/payment_link.rbi +0 -1801
- data/rbi/stripe/resources/payment_method.rbi +0 -1761
- data/rbi/stripe/resources/payment_method_configuration.rbi +0 -3550
- data/rbi/stripe/resources/payment_method_domain.rbi +0 -228
- data/rbi/stripe/resources/payout.rbi +0 -300
- data/rbi/stripe/resources/person.rbi +0 -401
- data/rbi/stripe/resources/plan.rbi +0 -371
- data/rbi/stripe/resources/price.rbi +0 -694
- data/rbi/stripe/resources/product.rbi +0 -555
- 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 -1126
- data/rbi/stripe/resources/radar/early_fraud_warning.rbi +0 -98
- data/rbi/stripe/resources/radar/value_list.rbi +0 -168
- data/rbi/stripe/resources/radar/value_list_item.rbi +0 -129
- data/rbi/stripe/resources/refund.rbi +0 -523
- 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 -3655
- 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 -2027
- data/rbi/stripe/resources/subscription_item.rbi +0 -404
- data/rbi/stripe/resources/subscription_schedule.rbi +0 -1623
- data/rbi/stripe/resources/tax/calculation.rbi +0 -478
- data/rbi/stripe/resources/tax/calculation_line_item.rbi +0 -91
- data/rbi/stripe/resources/tax/registration.rbi +0 -2713
- 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 -165
- data/rbi/stripe/resources/tax_rate.rbi +0 -239
- data/rbi/stripe/resources/terminal/configuration.rbi +0 -1386
- data/rbi/stripe/resources/terminal/connection_token.rbi +0 -37
- data/rbi/stripe/resources/terminal/location.rbi +0 -222
- data/rbi/stripe/resources/terminal/reader.rbi +0 -847
- data/rbi/stripe/resources/test_helpers/test_clock.rbi +0 -132
- data/rbi/stripe/resources/token.rbi +0 -1283
- 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 -168
- 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 -1011
- data/rbi/stripe/services/account_service.rbi +0 -4213
- data/rbi/stripe/services/account_session_service.rbi +0 -646
- data/rbi/stripe/services/apple_pay_domain_service.rbi +0 -76
- 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 -2614
- data/rbi/stripe/services/checkout_service.rbi +0 -9
- data/rbi/stripe/services/climate/order_service.rbi +0 -142
- data/rbi/stripe/services/climate/product_service.rbi +0 -46
- 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 -194
- data/rbi/stripe/services/credit_note_preview_lines_service.rbi +0 -167
- data/rbi/stripe/services/credit_note_service.rbi +0 -415
- 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 -647
- data/rbi/stripe/services/customer_session_service.rbi +0 -116
- data/rbi/stripe/services/customer_tax_id_service.rbi +0 -70
- 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 -366
- 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 -2981
- 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 -7659
- data/rbi/stripe/services/payment_link_service.rbi +0 -1352
- data/rbi/stripe/services/payment_method_configuration_service.rbi +0 -2487
- data/rbi/stripe/services/payment_method_domain_service.rbi +0 -112
- data/rbi/stripe/services/payment_method_service.rbi +0 -776
- data/rbi/stripe/services/payout_service.rbi +0 -205
- data/rbi/stripe/services/plan_service.rbi +0 -282
- data/rbi/stripe/services/price_service.rbi +0 -546
- data/rbi/stripe/services/product_feature_service.rbi +0 -67
- data/rbi/stripe/services/product_service.rbi +0 -477
- 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 -109
- data/rbi/stripe/services/radar/value_list_service.rbi +0 -141
- 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 -3391
- 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 -350
- data/rbi/stripe/services/subscription_schedule_service.rbi +0 -1290
- data/rbi/stripe/services/subscription_service.rbi +0 -1648
- data/rbi/stripe/services/tax/calculation_service.rbi +0 -234
- data/rbi/stripe/services/tax/registration_service.rbi +0 -1845
- 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 -110
- 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 -1118
- data/rbi/stripe/services/terminal/connection_token_service.rbi +0 -25
- data/rbi/stripe/services/terminal/location_service.rbi +0 -182
- data/rbi/stripe/services/terminal/reader_service.rbi +0 -455
- data/rbi/stripe/services/terminal_service.rbi +0 -12
- data/rbi/stripe/services/test_helpers/confirmation_token_service.rbi +0 -739
- 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 -93
- data/rbi/stripe/services/test_helpers/terminal_service.rbi +0 -11
- data/rbi/stripe/services/test_helpers/test_clock_service.rbi +0 -90
- 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 -1257
- 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 -18
- 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 -192
- data/rbi/stripe/services/v2/core/event_service.rbi +0 -36
- 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 -129
@@ -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
|
@@ -251,8 +255,18 @@ module Stripe
|
|
251
255
|
end
|
252
256
|
|
253
257
|
class Giropay < Stripe::RequestParams; end
|
258
|
+
class Gopay < Stripe::RequestParams; end
|
254
259
|
class Grabpay < Stripe::RequestParams; end
|
255
260
|
|
261
|
+
class IdBankTransfer < Stripe::RequestParams
|
262
|
+
# Bank where the account is held.
|
263
|
+
attr_accessor :bank
|
264
|
+
|
265
|
+
def initialize(bank: nil)
|
266
|
+
@bank = bank
|
267
|
+
end
|
268
|
+
end
|
269
|
+
|
256
270
|
class Ideal < Stripe::RequestParams
|
257
271
|
# The customer's bank. Only use this parameter for existing customers. Don't use it for new customers.
|
258
272
|
attr_accessor :bank
|
@@ -291,6 +305,7 @@ module Stripe
|
|
291
305
|
class Konbini < Stripe::RequestParams; end
|
292
306
|
class KrCard < Stripe::RequestParams; end
|
293
307
|
class Link < Stripe::RequestParams; end
|
308
|
+
class MbWay < Stripe::RequestParams; end
|
294
309
|
class Mobilepay < Stripe::RequestParams; end
|
295
310
|
class Multibanco < Stripe::RequestParams; end
|
296
311
|
|
@@ -349,8 +364,25 @@ module Stripe
|
|
349
364
|
class Payco < Stripe::RequestParams; end
|
350
365
|
class Paynow < Stripe::RequestParams; end
|
351
366
|
class Paypal < Stripe::RequestParams; end
|
367
|
+
|
368
|
+
class Payto < Stripe::RequestParams
|
369
|
+
# The account number for the bank account.
|
370
|
+
attr_accessor :account_number
|
371
|
+
# Bank-State-Branch number of the bank account.
|
372
|
+
attr_accessor :bsb_number
|
373
|
+
# The PayID alias for the bank account.
|
374
|
+
attr_accessor :pay_id
|
375
|
+
|
376
|
+
def initialize(account_number: nil, bsb_number: nil, pay_id: nil)
|
377
|
+
@account_number = account_number
|
378
|
+
@bsb_number = bsb_number
|
379
|
+
@pay_id = pay_id
|
380
|
+
end
|
381
|
+
end
|
382
|
+
|
352
383
|
class Pix < Stripe::RequestParams; end
|
353
384
|
class Promptpay < Stripe::RequestParams; end
|
385
|
+
class Qris < Stripe::RequestParams; end
|
354
386
|
|
355
387
|
class RadarOptions < Stripe::RequestParams
|
356
388
|
# 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.
|
@@ -361,6 +393,29 @@ module Stripe
|
|
361
393
|
end
|
362
394
|
end
|
363
395
|
|
396
|
+
class Rechnung < Stripe::RequestParams
|
397
|
+
class Dob < Stripe::RequestParams
|
398
|
+
# The day of birth, between 1 and 31.
|
399
|
+
attr_accessor :day
|
400
|
+
# The month of birth, between 1 and 12.
|
401
|
+
attr_accessor :month
|
402
|
+
# The four-digit year of birth.
|
403
|
+
attr_accessor :year
|
404
|
+
|
405
|
+
def initialize(day: nil, month: nil, year: nil)
|
406
|
+
@day = day
|
407
|
+
@month = month
|
408
|
+
@year = year
|
409
|
+
end
|
410
|
+
end
|
411
|
+
# Customer's date of birth
|
412
|
+
attr_accessor :dob
|
413
|
+
|
414
|
+
def initialize(dob: nil)
|
415
|
+
@dob = dob
|
416
|
+
end
|
417
|
+
end
|
418
|
+
|
364
419
|
class RevolutPay < Stripe::RequestParams; end
|
365
420
|
class SamsungPay < Stripe::RequestParams; end
|
366
421
|
class Satispay < Stripe::RequestParams; end
|
@@ -374,6 +429,8 @@ module Stripe
|
|
374
429
|
end
|
375
430
|
end
|
376
431
|
|
432
|
+
class Shopeepay < Stripe::RequestParams; end
|
433
|
+
|
377
434
|
class Sofort < Stripe::RequestParams
|
378
435
|
# Two-letter ISO code representing the country the bank account is located in.
|
379
436
|
attr_accessor :country
|
@@ -383,6 +440,18 @@ module Stripe
|
|
383
440
|
end
|
384
441
|
end
|
385
442
|
|
443
|
+
class StripeBalance < Stripe::RequestParams
|
444
|
+
# The connected account ID whose Stripe balance to use as the source of payment
|
445
|
+
attr_accessor :account
|
446
|
+
# The [source_type](https://docs.stripe.com/api/balance/balance_object#balance_object-available-source_types) of the balance
|
447
|
+
attr_accessor :source_type
|
448
|
+
|
449
|
+
def initialize(account: nil, source_type: nil)
|
450
|
+
@account = account
|
451
|
+
@source_type = source_type
|
452
|
+
end
|
453
|
+
end
|
454
|
+
|
386
455
|
class Swish < Stripe::RequestParams; end
|
387
456
|
class Twint < Stripe::RequestParams; end
|
388
457
|
|
@@ -453,8 +522,12 @@ module Stripe
|
|
453
522
|
attr_accessor :fpx
|
454
523
|
# If this is a `giropay` PaymentMethod, this hash contains details about the Giropay payment method.
|
455
524
|
attr_accessor :giropay
|
525
|
+
# If this is a Gopay PaymentMethod, this hash contains details about the Gopay payment method.
|
526
|
+
attr_accessor :gopay
|
456
527
|
# If this is a `grabpay` PaymentMethod, this hash contains details about the GrabPay payment method.
|
457
528
|
attr_accessor :grabpay
|
529
|
+
# If this is an `IdBankTransfer` PaymentMethod, this hash contains details about the IdBankTransfer payment method.
|
530
|
+
attr_accessor :id_bank_transfer
|
458
531
|
# If this is an `ideal` PaymentMethod, this hash contains details about the iDEAL payment method.
|
459
532
|
attr_accessor :ideal
|
460
533
|
# If this is an `interac_present` PaymentMethod, this hash contains details about the Interac Present payment method.
|
@@ -469,6 +542,8 @@ module Stripe
|
|
469
542
|
attr_accessor :kr_card
|
470
543
|
# If this is an `Link` PaymentMethod, this hash contains details about the Link payment method.
|
471
544
|
attr_accessor :link
|
545
|
+
# If this is a MB WAY PaymentMethod, this hash contains details about the MB WAY payment method.
|
546
|
+
attr_accessor :mb_way
|
472
547
|
# 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`.
|
473
548
|
attr_accessor :metadata
|
474
549
|
# If this is a `mobilepay` PaymentMethod, this hash contains details about the MobilePay payment method.
|
@@ -491,12 +566,18 @@ module Stripe
|
|
491
566
|
attr_accessor :paynow
|
492
567
|
# If this is a `paypal` PaymentMethod, this hash contains details about the PayPal payment method.
|
493
568
|
attr_accessor :paypal
|
569
|
+
# If this is a `payto` PaymentMethod, this hash contains details about the PayTo payment method.
|
570
|
+
attr_accessor :payto
|
494
571
|
# If this is a `pix` PaymentMethod, this hash contains details about the Pix payment method.
|
495
572
|
attr_accessor :pix
|
496
573
|
# If this is a `promptpay` PaymentMethod, this hash contains details about the PromptPay payment method.
|
497
574
|
attr_accessor :promptpay
|
575
|
+
# If this is a `qris` PaymentMethod, this hash contains details about the QRIS payment method.
|
576
|
+
attr_accessor :qris
|
498
577
|
# Options to configure Radar. See [Radar Session](https://stripe.com/docs/radar/radar-session) for more information.
|
499
578
|
attr_accessor :radar_options
|
579
|
+
# If this is a `rechnung` PaymentMethod, this hash contains details about the Rechnung payment method.
|
580
|
+
attr_accessor :rechnung
|
500
581
|
# If this is a `revolut_pay` PaymentMethod, this hash contains details about the Revolut Pay payment method.
|
501
582
|
attr_accessor :revolut_pay
|
502
583
|
# If this is a `samsung_pay` PaymentMethod, this hash contains details about the SamsungPay payment method.
|
@@ -505,8 +586,12 @@ module Stripe
|
|
505
586
|
attr_accessor :satispay
|
506
587
|
# If this is a `sepa_debit` PaymentMethod, this hash contains details about the SEPA debit bank account.
|
507
588
|
attr_accessor :sepa_debit
|
589
|
+
# If this is a Shopeepay PaymentMethod, this hash contains details about the Shopeepay payment method.
|
590
|
+
attr_accessor :shopeepay
|
508
591
|
# If this is a `sofort` PaymentMethod, this hash contains details about the SOFORT payment method.
|
509
592
|
attr_accessor :sofort
|
593
|
+
# This hash contains details about the Stripe balance payment method.
|
594
|
+
attr_accessor :stripe_balance
|
510
595
|
# If this is a `swish` PaymentMethod, this hash contains details about the Swish payment method.
|
511
596
|
attr_accessor :swish
|
512
597
|
# If this is a TWINT PaymentMethod, this hash contains details about the TWINT payment method.
|
@@ -540,7 +625,9 @@ module Stripe
|
|
540
625
|
eps: nil,
|
541
626
|
fpx: nil,
|
542
627
|
giropay: nil,
|
628
|
+
gopay: nil,
|
543
629
|
grabpay: nil,
|
630
|
+
id_bank_transfer: nil,
|
544
631
|
ideal: nil,
|
545
632
|
interac_present: nil,
|
546
633
|
kakao_pay: nil,
|
@@ -548,6 +635,7 @@ module Stripe
|
|
548
635
|
konbini: nil,
|
549
636
|
kr_card: nil,
|
550
637
|
link: nil,
|
638
|
+
mb_way: nil,
|
551
639
|
metadata: nil,
|
552
640
|
mobilepay: nil,
|
553
641
|
multibanco: nil,
|
@@ -559,14 +647,19 @@ module Stripe
|
|
559
647
|
payco: nil,
|
560
648
|
paynow: nil,
|
561
649
|
paypal: nil,
|
650
|
+
payto: nil,
|
562
651
|
pix: nil,
|
563
652
|
promptpay: nil,
|
653
|
+
qris: nil,
|
564
654
|
radar_options: nil,
|
655
|
+
rechnung: nil,
|
565
656
|
revolut_pay: nil,
|
566
657
|
samsung_pay: nil,
|
567
658
|
satispay: nil,
|
568
659
|
sepa_debit: nil,
|
660
|
+
shopeepay: nil,
|
569
661
|
sofort: nil,
|
662
|
+
stripe_balance: nil,
|
570
663
|
swish: nil,
|
571
664
|
twint: nil,
|
572
665
|
type: nil,
|
@@ -593,7 +686,9 @@ module Stripe
|
|
593
686
|
@eps = eps
|
594
687
|
@fpx = fpx
|
595
688
|
@giropay = giropay
|
689
|
+
@gopay = gopay
|
596
690
|
@grabpay = grabpay
|
691
|
+
@id_bank_transfer = id_bank_transfer
|
597
692
|
@ideal = ideal
|
598
693
|
@interac_present = interac_present
|
599
694
|
@kakao_pay = kakao_pay
|
@@ -601,6 +696,7 @@ module Stripe
|
|
601
696
|
@konbini = konbini
|
602
697
|
@kr_card = kr_card
|
603
698
|
@link = link
|
699
|
+
@mb_way = mb_way
|
604
700
|
@metadata = metadata
|
605
701
|
@mobilepay = mobilepay
|
606
702
|
@multibanco = multibanco
|
@@ -612,14 +708,19 @@ module Stripe
|
|
612
708
|
@payco = payco
|
613
709
|
@paynow = paynow
|
614
710
|
@paypal = paypal
|
711
|
+
@payto = payto
|
615
712
|
@pix = pix
|
616
713
|
@promptpay = promptpay
|
714
|
+
@qris = qris
|
617
715
|
@radar_options = radar_options
|
716
|
+
@rechnung = rechnung
|
618
717
|
@revolut_pay = revolut_pay
|
619
718
|
@samsung_pay = samsung_pay
|
620
719
|
@satispay = satispay
|
621
720
|
@sepa_debit = sepa_debit
|
721
|
+
@shopeepay = shopeepay
|
622
722
|
@sofort = sofort
|
723
|
+
@stripe_balance = stripe_balance
|
623
724
|
@swish = swish
|
624
725
|
@twint = twint
|
625
726
|
@type = type
|
@@ -853,9 +954,58 @@ module Stripe
|
|
853
954
|
class Paypal < Stripe::RequestParams
|
854
955
|
# The PayPal Billing Agreement ID (BAID). This is an ID generated by PayPal which represents the mandate between the merchant and the customer.
|
855
956
|
attr_accessor :billing_agreement_id
|
957
|
+
# Attribute for param field currency
|
958
|
+
attr_accessor :currency
|
959
|
+
# 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.
|
960
|
+
attr_accessor :subsellers
|
856
961
|
|
857
|
-
def initialize(billing_agreement_id: nil)
|
962
|
+
def initialize(billing_agreement_id: nil, currency: nil, subsellers: nil)
|
858
963
|
@billing_agreement_id = billing_agreement_id
|
964
|
+
@currency = currency
|
965
|
+
@subsellers = subsellers
|
966
|
+
end
|
967
|
+
end
|
968
|
+
|
969
|
+
class Payto < Stripe::RequestParams
|
970
|
+
class MandateOptions < Stripe::RequestParams
|
971
|
+
# Amount that will be collected. It is required when `amount_type` is `fixed`.
|
972
|
+
attr_accessor :amount
|
973
|
+
# 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.
|
974
|
+
attr_accessor :amount_type
|
975
|
+
# Date, in YYYY-MM-DD format, after which payments will not be collected. Defaults to no end date.
|
976
|
+
attr_accessor :end_date
|
977
|
+
# The periodicity at which payments will be collected.
|
978
|
+
attr_accessor :payment_schedule
|
979
|
+
# 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.
|
980
|
+
attr_accessor :payments_per_period
|
981
|
+
# The purpose for which payments are made. Defaults to retail.
|
982
|
+
attr_accessor :purpose
|
983
|
+
# Date, in YYYY-MM-DD format, from which payments will be collected. Defaults to confirmation time.
|
984
|
+
attr_accessor :start_date
|
985
|
+
|
986
|
+
def initialize(
|
987
|
+
amount: nil,
|
988
|
+
amount_type: nil,
|
989
|
+
end_date: nil,
|
990
|
+
payment_schedule: nil,
|
991
|
+
payments_per_period: nil,
|
992
|
+
purpose: nil,
|
993
|
+
start_date: nil
|
994
|
+
)
|
995
|
+
@amount = amount
|
996
|
+
@amount_type = amount_type
|
997
|
+
@end_date = end_date
|
998
|
+
@payment_schedule = payment_schedule
|
999
|
+
@payments_per_period = payments_per_period
|
1000
|
+
@purpose = purpose
|
1001
|
+
@start_date = start_date
|
1002
|
+
end
|
1003
|
+
end
|
1004
|
+
# Additional fields for Mandate creation.
|
1005
|
+
attr_accessor :mandate_options
|
1006
|
+
|
1007
|
+
def initialize(mandate_options: nil)
|
1008
|
+
@mandate_options = mandate_options
|
859
1009
|
end
|
860
1010
|
end
|
861
1011
|
|
@@ -881,13 +1031,27 @@ module Stripe
|
|
881
1031
|
class Filters < Stripe::RequestParams
|
882
1032
|
# The account subcategories to use to filter for selectable accounts. Valid subcategories are `checking` and `savings`.
|
883
1033
|
attr_accessor :account_subcategories
|
1034
|
+
# ID of the institution to use to filter for selectable accounts.
|
1035
|
+
attr_accessor :institution
|
884
1036
|
|
885
|
-
def initialize(account_subcategories: nil)
|
1037
|
+
def initialize(account_subcategories: nil, institution: nil)
|
886
1038
|
@account_subcategories = account_subcategories
|
1039
|
+
@institution = institution
|
1040
|
+
end
|
1041
|
+
end
|
1042
|
+
|
1043
|
+
class ManualEntry < Stripe::RequestParams
|
1044
|
+
# Settings for configuring manual entry of account details.
|
1045
|
+
attr_accessor :mode
|
1046
|
+
|
1047
|
+
def initialize(mode: nil)
|
1048
|
+
@mode = mode
|
887
1049
|
end
|
888
1050
|
end
|
889
1051
|
# Provide filters for the linked accounts that the customer can select for the payment method.
|
890
1052
|
attr_accessor :filters
|
1053
|
+
# Customize manual entry behavior
|
1054
|
+
attr_accessor :manual_entry
|
891
1055
|
# 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`.
|
892
1056
|
attr_accessor :permissions
|
893
1057
|
# List of data features that you would like to retrieve upon account creation.
|
@@ -895,8 +1059,15 @@ module Stripe
|
|
895
1059
|
# 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.
|
896
1060
|
attr_accessor :return_url
|
897
1061
|
|
898
|
-
def initialize(
|
1062
|
+
def initialize(
|
1063
|
+
filters: nil,
|
1064
|
+
manual_entry: nil,
|
1065
|
+
permissions: nil,
|
1066
|
+
prefetch: nil,
|
1067
|
+
return_url: nil
|
1068
|
+
)
|
899
1069
|
@filters = filters
|
1070
|
+
@manual_entry = manual_entry
|
900
1071
|
@permissions = permissions
|
901
1072
|
@prefetch = prefetch
|
902
1073
|
@return_url = return_url
|
@@ -955,6 +1126,8 @@ module Stripe
|
|
955
1126
|
attr_accessor :link
|
956
1127
|
# If this is a `paypal` PaymentMethod, this sub-hash contains details about the PayPal payment method options.
|
957
1128
|
attr_accessor :paypal
|
1129
|
+
# If this is a `payto` SetupIntent, this sub-hash contains details about the PayTo payment method options.
|
1130
|
+
attr_accessor :payto
|
958
1131
|
# If this is a `sepa_debit` SetupIntent, this sub-hash contains details about the SEPA Debit payment method options.
|
959
1132
|
attr_accessor :sepa_debit
|
960
1133
|
# If this is a `us_bank_account` SetupIntent, this sub-hash contains details about the US bank account payment method options.
|
@@ -968,6 +1141,7 @@ module Stripe
|
|
968
1141
|
card_present: nil,
|
969
1142
|
link: nil,
|
970
1143
|
paypal: nil,
|
1144
|
+
payto: nil,
|
971
1145
|
sepa_debit: nil,
|
972
1146
|
us_bank_account: nil
|
973
1147
|
)
|
@@ -978,6 +1152,7 @@ module Stripe
|
|
978
1152
|
@card_present = card_present
|
979
1153
|
@link = link
|
980
1154
|
@paypal = paypal
|
1155
|
+
@payto = payto
|
981
1156
|
@sepa_debit = sepa_debit
|
982
1157
|
@us_bank_account = us_bank_account
|
983
1158
|
end
|
@@ -1010,6 +1185,10 @@ module Stripe
|
|
1010
1185
|
#
|
1011
1186
|
# 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.
|
1012
1187
|
attr_accessor :customer
|
1188
|
+
# ID of the Account this SetupIntent belongs to, if one exists.
|
1189
|
+
#
|
1190
|
+
# 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.
|
1191
|
+
attr_accessor :customer_account
|
1013
1192
|
# An arbitrary string attached to the object. Often useful for displaying to users.
|
1014
1193
|
attr_accessor :description
|
1015
1194
|
# Specifies which fields in the response should be expanded.
|
@@ -1052,6 +1231,7 @@ module Stripe
|
|
1052
1231
|
confirm: nil,
|
1053
1232
|
confirmation_token: nil,
|
1054
1233
|
customer: nil,
|
1234
|
+
customer_account: nil,
|
1055
1235
|
description: nil,
|
1056
1236
|
expand: nil,
|
1057
1237
|
flow_directions: nil,
|
@@ -1073,6 +1253,7 @@ module Stripe
|
|
1073
1253
|
@confirm = confirm
|
1074
1254
|
@confirmation_token = confirmation_token
|
1075
1255
|
@customer = customer
|
1256
|
+
@customer_account = customer_account
|
1076
1257
|
@description = description
|
1077
1258
|
@expand = expand
|
1078
1259
|
@flow_directions = flow_directions
|
@@ -1240,8 +1421,18 @@ module Stripe
|
|
1240
1421
|
end
|
1241
1422
|
|
1242
1423
|
class Giropay < Stripe::RequestParams; end
|
1424
|
+
class Gopay < Stripe::RequestParams; end
|
1243
1425
|
class Grabpay < Stripe::RequestParams; end
|
1244
1426
|
|
1427
|
+
class IdBankTransfer < Stripe::RequestParams
|
1428
|
+
# Bank where the account is held.
|
1429
|
+
attr_accessor :bank
|
1430
|
+
|
1431
|
+
def initialize(bank: nil)
|
1432
|
+
@bank = bank
|
1433
|
+
end
|
1434
|
+
end
|
1435
|
+
|
1245
1436
|
class Ideal < Stripe::RequestParams
|
1246
1437
|
# The customer's bank. Only use this parameter for existing customers. Don't use it for new customers.
|
1247
1438
|
attr_accessor :bank
|
@@ -1280,6 +1471,7 @@ module Stripe
|
|
1280
1471
|
class Konbini < Stripe::RequestParams; end
|
1281
1472
|
class KrCard < Stripe::RequestParams; end
|
1282
1473
|
class Link < Stripe::RequestParams; end
|
1474
|
+
class MbWay < Stripe::RequestParams; end
|
1283
1475
|
class Mobilepay < Stripe::RequestParams; end
|
1284
1476
|
class Multibanco < Stripe::RequestParams; end
|
1285
1477
|
|
@@ -1338,8 +1530,25 @@ module Stripe
|
|
1338
1530
|
class Payco < Stripe::RequestParams; end
|
1339
1531
|
class Paynow < Stripe::RequestParams; end
|
1340
1532
|
class Paypal < Stripe::RequestParams; end
|
1533
|
+
|
1534
|
+
class Payto < Stripe::RequestParams
|
1535
|
+
# The account number for the bank account.
|
1536
|
+
attr_accessor :account_number
|
1537
|
+
# Bank-State-Branch number of the bank account.
|
1538
|
+
attr_accessor :bsb_number
|
1539
|
+
# The PayID alias for the bank account.
|
1540
|
+
attr_accessor :pay_id
|
1541
|
+
|
1542
|
+
def initialize(account_number: nil, bsb_number: nil, pay_id: nil)
|
1543
|
+
@account_number = account_number
|
1544
|
+
@bsb_number = bsb_number
|
1545
|
+
@pay_id = pay_id
|
1546
|
+
end
|
1547
|
+
end
|
1548
|
+
|
1341
1549
|
class Pix < Stripe::RequestParams; end
|
1342
1550
|
class Promptpay < Stripe::RequestParams; end
|
1551
|
+
class Qris < Stripe::RequestParams; end
|
1343
1552
|
|
1344
1553
|
class RadarOptions < Stripe::RequestParams
|
1345
1554
|
# 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.
|
@@ -1350,6 +1559,29 @@ module Stripe
|
|
1350
1559
|
end
|
1351
1560
|
end
|
1352
1561
|
|
1562
|
+
class Rechnung < Stripe::RequestParams
|
1563
|
+
class Dob < Stripe::RequestParams
|
1564
|
+
# The day of birth, between 1 and 31.
|
1565
|
+
attr_accessor :day
|
1566
|
+
# The month of birth, between 1 and 12.
|
1567
|
+
attr_accessor :month
|
1568
|
+
# The four-digit year of birth.
|
1569
|
+
attr_accessor :year
|
1570
|
+
|
1571
|
+
def initialize(day: nil, month: nil, year: nil)
|
1572
|
+
@day = day
|
1573
|
+
@month = month
|
1574
|
+
@year = year
|
1575
|
+
end
|
1576
|
+
end
|
1577
|
+
# Customer's date of birth
|
1578
|
+
attr_accessor :dob
|
1579
|
+
|
1580
|
+
def initialize(dob: nil)
|
1581
|
+
@dob = dob
|
1582
|
+
end
|
1583
|
+
end
|
1584
|
+
|
1353
1585
|
class RevolutPay < Stripe::RequestParams; end
|
1354
1586
|
class SamsungPay < Stripe::RequestParams; end
|
1355
1587
|
class Satispay < Stripe::RequestParams; end
|
@@ -1363,6 +1595,8 @@ module Stripe
|
|
1363
1595
|
end
|
1364
1596
|
end
|
1365
1597
|
|
1598
|
+
class Shopeepay < Stripe::RequestParams; end
|
1599
|
+
|
1366
1600
|
class Sofort < Stripe::RequestParams
|
1367
1601
|
# Two-letter ISO code representing the country the bank account is located in.
|
1368
1602
|
attr_accessor :country
|
@@ -1372,6 +1606,18 @@ module Stripe
|
|
1372
1606
|
end
|
1373
1607
|
end
|
1374
1608
|
|
1609
|
+
class StripeBalance < Stripe::RequestParams
|
1610
|
+
# The connected account ID whose Stripe balance to use as the source of payment
|
1611
|
+
attr_accessor :account
|
1612
|
+
# The [source_type](https://docs.stripe.com/api/balance/balance_object#balance_object-available-source_types) of the balance
|
1613
|
+
attr_accessor :source_type
|
1614
|
+
|
1615
|
+
def initialize(account: nil, source_type: nil)
|
1616
|
+
@account = account
|
1617
|
+
@source_type = source_type
|
1618
|
+
end
|
1619
|
+
end
|
1620
|
+
|
1375
1621
|
class Swish < Stripe::RequestParams; end
|
1376
1622
|
class Twint < Stripe::RequestParams; end
|
1377
1623
|
|
@@ -1442,8 +1688,12 @@ module Stripe
|
|
1442
1688
|
attr_accessor :fpx
|
1443
1689
|
# If this is a `giropay` PaymentMethod, this hash contains details about the Giropay payment method.
|
1444
1690
|
attr_accessor :giropay
|
1691
|
+
# If this is a Gopay PaymentMethod, this hash contains details about the Gopay payment method.
|
1692
|
+
attr_accessor :gopay
|
1445
1693
|
# If this is a `grabpay` PaymentMethod, this hash contains details about the GrabPay payment method.
|
1446
1694
|
attr_accessor :grabpay
|
1695
|
+
# If this is an `IdBankTransfer` PaymentMethod, this hash contains details about the IdBankTransfer payment method.
|
1696
|
+
attr_accessor :id_bank_transfer
|
1447
1697
|
# If this is an `ideal` PaymentMethod, this hash contains details about the iDEAL payment method.
|
1448
1698
|
attr_accessor :ideal
|
1449
1699
|
# If this is an `interac_present` PaymentMethod, this hash contains details about the Interac Present payment method.
|
@@ -1458,6 +1708,8 @@ module Stripe
|
|
1458
1708
|
attr_accessor :kr_card
|
1459
1709
|
# If this is an `Link` PaymentMethod, this hash contains details about the Link payment method.
|
1460
1710
|
attr_accessor :link
|
1711
|
+
# If this is a MB WAY PaymentMethod, this hash contains details about the MB WAY payment method.
|
1712
|
+
attr_accessor :mb_way
|
1461
1713
|
# 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`.
|
1462
1714
|
attr_accessor :metadata
|
1463
1715
|
# If this is a `mobilepay` PaymentMethod, this hash contains details about the MobilePay payment method.
|
@@ -1480,12 +1732,18 @@ module Stripe
|
|
1480
1732
|
attr_accessor :paynow
|
1481
1733
|
# If this is a `paypal` PaymentMethod, this hash contains details about the PayPal payment method.
|
1482
1734
|
attr_accessor :paypal
|
1735
|
+
# If this is a `payto` PaymentMethod, this hash contains details about the PayTo payment method.
|
1736
|
+
attr_accessor :payto
|
1483
1737
|
# If this is a `pix` PaymentMethod, this hash contains details about the Pix payment method.
|
1484
1738
|
attr_accessor :pix
|
1485
1739
|
# If this is a `promptpay` PaymentMethod, this hash contains details about the PromptPay payment method.
|
1486
1740
|
attr_accessor :promptpay
|
1741
|
+
# If this is a `qris` PaymentMethod, this hash contains details about the QRIS payment method.
|
1742
|
+
attr_accessor :qris
|
1487
1743
|
# Options to configure Radar. See [Radar Session](https://stripe.com/docs/radar/radar-session) for more information.
|
1488
1744
|
attr_accessor :radar_options
|
1745
|
+
# If this is a `rechnung` PaymentMethod, this hash contains details about the Rechnung payment method.
|
1746
|
+
attr_accessor :rechnung
|
1489
1747
|
# If this is a `revolut_pay` PaymentMethod, this hash contains details about the Revolut Pay payment method.
|
1490
1748
|
attr_accessor :revolut_pay
|
1491
1749
|
# If this is a `samsung_pay` PaymentMethod, this hash contains details about the SamsungPay payment method.
|
@@ -1494,8 +1752,12 @@ module Stripe
|
|
1494
1752
|
attr_accessor :satispay
|
1495
1753
|
# If this is a `sepa_debit` PaymentMethod, this hash contains details about the SEPA debit bank account.
|
1496
1754
|
attr_accessor :sepa_debit
|
1755
|
+
# If this is a Shopeepay PaymentMethod, this hash contains details about the Shopeepay payment method.
|
1756
|
+
attr_accessor :shopeepay
|
1497
1757
|
# If this is a `sofort` PaymentMethod, this hash contains details about the SOFORT payment method.
|
1498
1758
|
attr_accessor :sofort
|
1759
|
+
# This hash contains details about the Stripe balance payment method.
|
1760
|
+
attr_accessor :stripe_balance
|
1499
1761
|
# If this is a `swish` PaymentMethod, this hash contains details about the Swish payment method.
|
1500
1762
|
attr_accessor :swish
|
1501
1763
|
# If this is a TWINT PaymentMethod, this hash contains details about the TWINT payment method.
|
@@ -1529,7 +1791,9 @@ module Stripe
|
|
1529
1791
|
eps: nil,
|
1530
1792
|
fpx: nil,
|
1531
1793
|
giropay: nil,
|
1794
|
+
gopay: nil,
|
1532
1795
|
grabpay: nil,
|
1796
|
+
id_bank_transfer: nil,
|
1533
1797
|
ideal: nil,
|
1534
1798
|
interac_present: nil,
|
1535
1799
|
kakao_pay: nil,
|
@@ -1537,6 +1801,7 @@ module Stripe
|
|
1537
1801
|
konbini: nil,
|
1538
1802
|
kr_card: nil,
|
1539
1803
|
link: nil,
|
1804
|
+
mb_way: nil,
|
1540
1805
|
metadata: nil,
|
1541
1806
|
mobilepay: nil,
|
1542
1807
|
multibanco: nil,
|
@@ -1548,14 +1813,19 @@ module Stripe
|
|
1548
1813
|
payco: nil,
|
1549
1814
|
paynow: nil,
|
1550
1815
|
paypal: nil,
|
1816
|
+
payto: nil,
|
1551
1817
|
pix: nil,
|
1552
1818
|
promptpay: nil,
|
1819
|
+
qris: nil,
|
1553
1820
|
radar_options: nil,
|
1821
|
+
rechnung: nil,
|
1554
1822
|
revolut_pay: nil,
|
1555
1823
|
samsung_pay: nil,
|
1556
1824
|
satispay: nil,
|
1557
1825
|
sepa_debit: nil,
|
1826
|
+
shopeepay: nil,
|
1558
1827
|
sofort: nil,
|
1828
|
+
stripe_balance: nil,
|
1559
1829
|
swish: nil,
|
1560
1830
|
twint: nil,
|
1561
1831
|
type: nil,
|
@@ -1582,7 +1852,9 @@ module Stripe
|
|
1582
1852
|
@eps = eps
|
1583
1853
|
@fpx = fpx
|
1584
1854
|
@giropay = giropay
|
1855
|
+
@gopay = gopay
|
1585
1856
|
@grabpay = grabpay
|
1857
|
+
@id_bank_transfer = id_bank_transfer
|
1586
1858
|
@ideal = ideal
|
1587
1859
|
@interac_present = interac_present
|
1588
1860
|
@kakao_pay = kakao_pay
|
@@ -1590,6 +1862,7 @@ module Stripe
|
|
1590
1862
|
@konbini = konbini
|
1591
1863
|
@kr_card = kr_card
|
1592
1864
|
@link = link
|
1865
|
+
@mb_way = mb_way
|
1593
1866
|
@metadata = metadata
|
1594
1867
|
@mobilepay = mobilepay
|
1595
1868
|
@multibanco = multibanco
|
@@ -1601,14 +1874,19 @@ module Stripe
|
|
1601
1874
|
@payco = payco
|
1602
1875
|
@paynow = paynow
|
1603
1876
|
@paypal = paypal
|
1877
|
+
@payto = payto
|
1604
1878
|
@pix = pix
|
1605
1879
|
@promptpay = promptpay
|
1880
|
+
@qris = qris
|
1606
1881
|
@radar_options = radar_options
|
1882
|
+
@rechnung = rechnung
|
1607
1883
|
@revolut_pay = revolut_pay
|
1608
1884
|
@samsung_pay = samsung_pay
|
1609
1885
|
@satispay = satispay
|
1610
1886
|
@sepa_debit = sepa_debit
|
1887
|
+
@shopeepay = shopeepay
|
1611
1888
|
@sofort = sofort
|
1889
|
+
@stripe_balance = stripe_balance
|
1612
1890
|
@swish = swish
|
1613
1891
|
@twint = twint
|
1614
1892
|
@type = type
|
@@ -1842,9 +2120,58 @@ module Stripe
|
|
1842
2120
|
class Paypal < Stripe::RequestParams
|
1843
2121
|
# The PayPal Billing Agreement ID (BAID). This is an ID generated by PayPal which represents the mandate between the merchant and the customer.
|
1844
2122
|
attr_accessor :billing_agreement_id
|
2123
|
+
# Attribute for param field currency
|
2124
|
+
attr_accessor :currency
|
2125
|
+
# 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.
|
2126
|
+
attr_accessor :subsellers
|
1845
2127
|
|
1846
|
-
def initialize(billing_agreement_id: nil)
|
2128
|
+
def initialize(billing_agreement_id: nil, currency: nil, subsellers: nil)
|
1847
2129
|
@billing_agreement_id = billing_agreement_id
|
2130
|
+
@currency = currency
|
2131
|
+
@subsellers = subsellers
|
2132
|
+
end
|
2133
|
+
end
|
2134
|
+
|
2135
|
+
class Payto < Stripe::RequestParams
|
2136
|
+
class MandateOptions < Stripe::RequestParams
|
2137
|
+
# Amount that will be collected. It is required when `amount_type` is `fixed`.
|
2138
|
+
attr_accessor :amount
|
2139
|
+
# 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.
|
2140
|
+
attr_accessor :amount_type
|
2141
|
+
# Date, in YYYY-MM-DD format, after which payments will not be collected. Defaults to no end date.
|
2142
|
+
attr_accessor :end_date
|
2143
|
+
# The periodicity at which payments will be collected.
|
2144
|
+
attr_accessor :payment_schedule
|
2145
|
+
# 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.
|
2146
|
+
attr_accessor :payments_per_period
|
2147
|
+
# The purpose for which payments are made. Defaults to retail.
|
2148
|
+
attr_accessor :purpose
|
2149
|
+
# Date, in YYYY-MM-DD format, from which payments will be collected. Defaults to confirmation time.
|
2150
|
+
attr_accessor :start_date
|
2151
|
+
|
2152
|
+
def initialize(
|
2153
|
+
amount: nil,
|
2154
|
+
amount_type: nil,
|
2155
|
+
end_date: nil,
|
2156
|
+
payment_schedule: nil,
|
2157
|
+
payments_per_period: nil,
|
2158
|
+
purpose: nil,
|
2159
|
+
start_date: nil
|
2160
|
+
)
|
2161
|
+
@amount = amount
|
2162
|
+
@amount_type = amount_type
|
2163
|
+
@end_date = end_date
|
2164
|
+
@payment_schedule = payment_schedule
|
2165
|
+
@payments_per_period = payments_per_period
|
2166
|
+
@purpose = purpose
|
2167
|
+
@start_date = start_date
|
2168
|
+
end
|
2169
|
+
end
|
2170
|
+
# Additional fields for Mandate creation.
|
2171
|
+
attr_accessor :mandate_options
|
2172
|
+
|
2173
|
+
def initialize(mandate_options: nil)
|
2174
|
+
@mandate_options = mandate_options
|
1848
2175
|
end
|
1849
2176
|
end
|
1850
2177
|
|
@@ -1870,13 +2197,27 @@ module Stripe
|
|
1870
2197
|
class Filters < Stripe::RequestParams
|
1871
2198
|
# The account subcategories to use to filter for selectable accounts. Valid subcategories are `checking` and `savings`.
|
1872
2199
|
attr_accessor :account_subcategories
|
2200
|
+
# ID of the institution to use to filter for selectable accounts.
|
2201
|
+
attr_accessor :institution
|
1873
2202
|
|
1874
|
-
def initialize(account_subcategories: nil)
|
2203
|
+
def initialize(account_subcategories: nil, institution: nil)
|
1875
2204
|
@account_subcategories = account_subcategories
|
2205
|
+
@institution = institution
|
2206
|
+
end
|
2207
|
+
end
|
2208
|
+
|
2209
|
+
class ManualEntry < Stripe::RequestParams
|
2210
|
+
# Settings for configuring manual entry of account details.
|
2211
|
+
attr_accessor :mode
|
2212
|
+
|
2213
|
+
def initialize(mode: nil)
|
2214
|
+
@mode = mode
|
1876
2215
|
end
|
1877
2216
|
end
|
1878
2217
|
# Provide filters for the linked accounts that the customer can select for the payment method.
|
1879
2218
|
attr_accessor :filters
|
2219
|
+
# Customize manual entry behavior
|
2220
|
+
attr_accessor :manual_entry
|
1880
2221
|
# 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`.
|
1881
2222
|
attr_accessor :permissions
|
1882
2223
|
# List of data features that you would like to retrieve upon account creation.
|
@@ -1884,8 +2225,15 @@ module Stripe
|
|
1884
2225
|
# 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.
|
1885
2226
|
attr_accessor :return_url
|
1886
2227
|
|
1887
|
-
def initialize(
|
2228
|
+
def initialize(
|
2229
|
+
filters: nil,
|
2230
|
+
manual_entry: nil,
|
2231
|
+
permissions: nil,
|
2232
|
+
prefetch: nil,
|
2233
|
+
return_url: nil
|
2234
|
+
)
|
1888
2235
|
@filters = filters
|
2236
|
+
@manual_entry = manual_entry
|
1889
2237
|
@permissions = permissions
|
1890
2238
|
@prefetch = prefetch
|
1891
2239
|
@return_url = return_url
|
@@ -1944,6 +2292,8 @@ module Stripe
|
|
1944
2292
|
attr_accessor :link
|
1945
2293
|
# If this is a `paypal` PaymentMethod, this sub-hash contains details about the PayPal payment method options.
|
1946
2294
|
attr_accessor :paypal
|
2295
|
+
# If this is a `payto` SetupIntent, this sub-hash contains details about the PayTo payment method options.
|
2296
|
+
attr_accessor :payto
|
1947
2297
|
# If this is a `sepa_debit` SetupIntent, this sub-hash contains details about the SEPA Debit payment method options.
|
1948
2298
|
attr_accessor :sepa_debit
|
1949
2299
|
# If this is a `us_bank_account` SetupIntent, this sub-hash contains details about the US bank account payment method options.
|
@@ -1957,6 +2307,7 @@ module Stripe
|
|
1957
2307
|
card_present: nil,
|
1958
2308
|
link: nil,
|
1959
2309
|
paypal: nil,
|
2310
|
+
payto: nil,
|
1960
2311
|
sepa_debit: nil,
|
1961
2312
|
us_bank_account: nil
|
1962
2313
|
)
|
@@ -1967,6 +2318,7 @@ module Stripe
|
|
1967
2318
|
@card_present = card_present
|
1968
2319
|
@link = link
|
1969
2320
|
@paypal = paypal
|
2321
|
+
@payto = payto
|
1970
2322
|
@sepa_debit = sepa_debit
|
1971
2323
|
@us_bank_account = us_bank_account
|
1972
2324
|
end
|
@@ -1979,6 +2331,10 @@ module Stripe
|
|
1979
2331
|
#
|
1980
2332
|
# 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.
|
1981
2333
|
attr_accessor :customer
|
2334
|
+
# ID of the Account this SetupIntent belongs to, if one exists.
|
2335
|
+
#
|
2336
|
+
# 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.
|
2337
|
+
attr_accessor :customer_account
|
1982
2338
|
# An arbitrary string attached to the object. Often useful for displaying to users.
|
1983
2339
|
attr_accessor :description
|
1984
2340
|
# Specifies which fields in the response should be expanded.
|
@@ -2004,6 +2360,7 @@ module Stripe
|
|
2004
2360
|
def initialize(
|
2005
2361
|
attach_to_self: nil,
|
2006
2362
|
customer: nil,
|
2363
|
+
customer_account: nil,
|
2007
2364
|
description: nil,
|
2008
2365
|
expand: nil,
|
2009
2366
|
flow_directions: nil,
|
@@ -2016,6 +2373,7 @@ module Stripe
|
|
2016
2373
|
)
|
2017
2374
|
@attach_to_self = attach_to_self
|
2018
2375
|
@customer = customer
|
2376
|
+
@customer_account = customer_account
|
2019
2377
|
@description = description
|
2020
2378
|
@expand = expand
|
2021
2379
|
@flow_directions = flow_directions
|
@@ -2216,8 +2574,18 @@ module Stripe
|
|
2216
2574
|
end
|
2217
2575
|
|
2218
2576
|
class Giropay < Stripe::RequestParams; end
|
2577
|
+
class Gopay < Stripe::RequestParams; end
|
2219
2578
|
class Grabpay < Stripe::RequestParams; end
|
2220
2579
|
|
2580
|
+
class IdBankTransfer < Stripe::RequestParams
|
2581
|
+
# Bank where the account is held.
|
2582
|
+
attr_accessor :bank
|
2583
|
+
|
2584
|
+
def initialize(bank: nil)
|
2585
|
+
@bank = bank
|
2586
|
+
end
|
2587
|
+
end
|
2588
|
+
|
2221
2589
|
class Ideal < Stripe::RequestParams
|
2222
2590
|
# The customer's bank. Only use this parameter for existing customers. Don't use it for new customers.
|
2223
2591
|
attr_accessor :bank
|
@@ -2256,6 +2624,7 @@ module Stripe
|
|
2256
2624
|
class Konbini < Stripe::RequestParams; end
|
2257
2625
|
class KrCard < Stripe::RequestParams; end
|
2258
2626
|
class Link < Stripe::RequestParams; end
|
2627
|
+
class MbWay < Stripe::RequestParams; end
|
2259
2628
|
class Mobilepay < Stripe::RequestParams; end
|
2260
2629
|
class Multibanco < Stripe::RequestParams; end
|
2261
2630
|
|
@@ -2314,8 +2683,25 @@ module Stripe
|
|
2314
2683
|
class Payco < Stripe::RequestParams; end
|
2315
2684
|
class Paynow < Stripe::RequestParams; end
|
2316
2685
|
class Paypal < Stripe::RequestParams; end
|
2686
|
+
|
2687
|
+
class Payto < Stripe::RequestParams
|
2688
|
+
# The account number for the bank account.
|
2689
|
+
attr_accessor :account_number
|
2690
|
+
# Bank-State-Branch number of the bank account.
|
2691
|
+
attr_accessor :bsb_number
|
2692
|
+
# The PayID alias for the bank account.
|
2693
|
+
attr_accessor :pay_id
|
2694
|
+
|
2695
|
+
def initialize(account_number: nil, bsb_number: nil, pay_id: nil)
|
2696
|
+
@account_number = account_number
|
2697
|
+
@bsb_number = bsb_number
|
2698
|
+
@pay_id = pay_id
|
2699
|
+
end
|
2700
|
+
end
|
2701
|
+
|
2317
2702
|
class Pix < Stripe::RequestParams; end
|
2318
2703
|
class Promptpay < Stripe::RequestParams; end
|
2704
|
+
class Qris < Stripe::RequestParams; end
|
2319
2705
|
|
2320
2706
|
class RadarOptions < Stripe::RequestParams
|
2321
2707
|
# 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.
|
@@ -2326,6 +2712,29 @@ module Stripe
|
|
2326
2712
|
end
|
2327
2713
|
end
|
2328
2714
|
|
2715
|
+
class Rechnung < Stripe::RequestParams
|
2716
|
+
class Dob < Stripe::RequestParams
|
2717
|
+
# The day of birth, between 1 and 31.
|
2718
|
+
attr_accessor :day
|
2719
|
+
# The month of birth, between 1 and 12.
|
2720
|
+
attr_accessor :month
|
2721
|
+
# The four-digit year of birth.
|
2722
|
+
attr_accessor :year
|
2723
|
+
|
2724
|
+
def initialize(day: nil, month: nil, year: nil)
|
2725
|
+
@day = day
|
2726
|
+
@month = month
|
2727
|
+
@year = year
|
2728
|
+
end
|
2729
|
+
end
|
2730
|
+
# Customer's date of birth
|
2731
|
+
attr_accessor :dob
|
2732
|
+
|
2733
|
+
def initialize(dob: nil)
|
2734
|
+
@dob = dob
|
2735
|
+
end
|
2736
|
+
end
|
2737
|
+
|
2329
2738
|
class RevolutPay < Stripe::RequestParams; end
|
2330
2739
|
class SamsungPay < Stripe::RequestParams; end
|
2331
2740
|
class Satispay < Stripe::RequestParams; end
|
@@ -2339,6 +2748,8 @@ module Stripe
|
|
2339
2748
|
end
|
2340
2749
|
end
|
2341
2750
|
|
2751
|
+
class Shopeepay < Stripe::RequestParams; end
|
2752
|
+
|
2342
2753
|
class Sofort < Stripe::RequestParams
|
2343
2754
|
# Two-letter ISO code representing the country the bank account is located in.
|
2344
2755
|
attr_accessor :country
|
@@ -2348,6 +2759,18 @@ module Stripe
|
|
2348
2759
|
end
|
2349
2760
|
end
|
2350
2761
|
|
2762
|
+
class StripeBalance < Stripe::RequestParams
|
2763
|
+
# The connected account ID whose Stripe balance to use as the source of payment
|
2764
|
+
attr_accessor :account
|
2765
|
+
# The [source_type](https://docs.stripe.com/api/balance/balance_object#balance_object-available-source_types) of the balance
|
2766
|
+
attr_accessor :source_type
|
2767
|
+
|
2768
|
+
def initialize(account: nil, source_type: nil)
|
2769
|
+
@account = account
|
2770
|
+
@source_type = source_type
|
2771
|
+
end
|
2772
|
+
end
|
2773
|
+
|
2351
2774
|
class Swish < Stripe::RequestParams; end
|
2352
2775
|
class Twint < Stripe::RequestParams; end
|
2353
2776
|
|
@@ -2418,8 +2841,12 @@ module Stripe
|
|
2418
2841
|
attr_accessor :fpx
|
2419
2842
|
# If this is a `giropay` PaymentMethod, this hash contains details about the Giropay payment method.
|
2420
2843
|
attr_accessor :giropay
|
2844
|
+
# If this is a Gopay PaymentMethod, this hash contains details about the Gopay payment method.
|
2845
|
+
attr_accessor :gopay
|
2421
2846
|
# If this is a `grabpay` PaymentMethod, this hash contains details about the GrabPay payment method.
|
2422
2847
|
attr_accessor :grabpay
|
2848
|
+
# If this is an `IdBankTransfer` PaymentMethod, this hash contains details about the IdBankTransfer payment method.
|
2849
|
+
attr_accessor :id_bank_transfer
|
2423
2850
|
# If this is an `ideal` PaymentMethod, this hash contains details about the iDEAL payment method.
|
2424
2851
|
attr_accessor :ideal
|
2425
2852
|
# If this is an `interac_present` PaymentMethod, this hash contains details about the Interac Present payment method.
|
@@ -2434,6 +2861,8 @@ module Stripe
|
|
2434
2861
|
attr_accessor :kr_card
|
2435
2862
|
# If this is an `Link` PaymentMethod, this hash contains details about the Link payment method.
|
2436
2863
|
attr_accessor :link
|
2864
|
+
# If this is a MB WAY PaymentMethod, this hash contains details about the MB WAY payment method.
|
2865
|
+
attr_accessor :mb_way
|
2437
2866
|
# 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`.
|
2438
2867
|
attr_accessor :metadata
|
2439
2868
|
# If this is a `mobilepay` PaymentMethod, this hash contains details about the MobilePay payment method.
|
@@ -2456,12 +2885,18 @@ module Stripe
|
|
2456
2885
|
attr_accessor :paynow
|
2457
2886
|
# If this is a `paypal` PaymentMethod, this hash contains details about the PayPal payment method.
|
2458
2887
|
attr_accessor :paypal
|
2888
|
+
# If this is a `payto` PaymentMethod, this hash contains details about the PayTo payment method.
|
2889
|
+
attr_accessor :payto
|
2459
2890
|
# If this is a `pix` PaymentMethod, this hash contains details about the Pix payment method.
|
2460
2891
|
attr_accessor :pix
|
2461
2892
|
# If this is a `promptpay` PaymentMethod, this hash contains details about the PromptPay payment method.
|
2462
2893
|
attr_accessor :promptpay
|
2894
|
+
# If this is a `qris` PaymentMethod, this hash contains details about the QRIS payment method.
|
2895
|
+
attr_accessor :qris
|
2463
2896
|
# Options to configure Radar. See [Radar Session](https://stripe.com/docs/radar/radar-session) for more information.
|
2464
2897
|
attr_accessor :radar_options
|
2898
|
+
# If this is a `rechnung` PaymentMethod, this hash contains details about the Rechnung payment method.
|
2899
|
+
attr_accessor :rechnung
|
2465
2900
|
# If this is a `revolut_pay` PaymentMethod, this hash contains details about the Revolut Pay payment method.
|
2466
2901
|
attr_accessor :revolut_pay
|
2467
2902
|
# If this is a `samsung_pay` PaymentMethod, this hash contains details about the SamsungPay payment method.
|
@@ -2470,8 +2905,12 @@ module Stripe
|
|
2470
2905
|
attr_accessor :satispay
|
2471
2906
|
# If this is a `sepa_debit` PaymentMethod, this hash contains details about the SEPA debit bank account.
|
2472
2907
|
attr_accessor :sepa_debit
|
2908
|
+
# If this is a Shopeepay PaymentMethod, this hash contains details about the Shopeepay payment method.
|
2909
|
+
attr_accessor :shopeepay
|
2473
2910
|
# If this is a `sofort` PaymentMethod, this hash contains details about the SOFORT payment method.
|
2474
2911
|
attr_accessor :sofort
|
2912
|
+
# This hash contains details about the Stripe balance payment method.
|
2913
|
+
attr_accessor :stripe_balance
|
2475
2914
|
# If this is a `swish` PaymentMethod, this hash contains details about the Swish payment method.
|
2476
2915
|
attr_accessor :swish
|
2477
2916
|
# If this is a TWINT PaymentMethod, this hash contains details about the TWINT payment method.
|
@@ -2505,7 +2944,9 @@ module Stripe
|
|
2505
2944
|
eps: nil,
|
2506
2945
|
fpx: nil,
|
2507
2946
|
giropay: nil,
|
2947
|
+
gopay: nil,
|
2508
2948
|
grabpay: nil,
|
2949
|
+
id_bank_transfer: nil,
|
2509
2950
|
ideal: nil,
|
2510
2951
|
interac_present: nil,
|
2511
2952
|
kakao_pay: nil,
|
@@ -2513,6 +2954,7 @@ module Stripe
|
|
2513
2954
|
konbini: nil,
|
2514
2955
|
kr_card: nil,
|
2515
2956
|
link: nil,
|
2957
|
+
mb_way: nil,
|
2516
2958
|
metadata: nil,
|
2517
2959
|
mobilepay: nil,
|
2518
2960
|
multibanco: nil,
|
@@ -2524,14 +2966,19 @@ module Stripe
|
|
2524
2966
|
payco: nil,
|
2525
2967
|
paynow: nil,
|
2526
2968
|
paypal: nil,
|
2969
|
+
payto: nil,
|
2527
2970
|
pix: nil,
|
2528
2971
|
promptpay: nil,
|
2972
|
+
qris: nil,
|
2529
2973
|
radar_options: nil,
|
2974
|
+
rechnung: nil,
|
2530
2975
|
revolut_pay: nil,
|
2531
2976
|
samsung_pay: nil,
|
2532
2977
|
satispay: nil,
|
2533
2978
|
sepa_debit: nil,
|
2979
|
+
shopeepay: nil,
|
2534
2980
|
sofort: nil,
|
2981
|
+
stripe_balance: nil,
|
2535
2982
|
swish: nil,
|
2536
2983
|
twint: nil,
|
2537
2984
|
type: nil,
|
@@ -2558,7 +3005,9 @@ module Stripe
|
|
2558
3005
|
@eps = eps
|
2559
3006
|
@fpx = fpx
|
2560
3007
|
@giropay = giropay
|
3008
|
+
@gopay = gopay
|
2561
3009
|
@grabpay = grabpay
|
3010
|
+
@id_bank_transfer = id_bank_transfer
|
2562
3011
|
@ideal = ideal
|
2563
3012
|
@interac_present = interac_present
|
2564
3013
|
@kakao_pay = kakao_pay
|
@@ -2566,6 +3015,7 @@ module Stripe
|
|
2566
3015
|
@konbini = konbini
|
2567
3016
|
@kr_card = kr_card
|
2568
3017
|
@link = link
|
3018
|
+
@mb_way = mb_way
|
2569
3019
|
@metadata = metadata
|
2570
3020
|
@mobilepay = mobilepay
|
2571
3021
|
@multibanco = multibanco
|
@@ -2577,14 +3027,19 @@ module Stripe
|
|
2577
3027
|
@payco = payco
|
2578
3028
|
@paynow = paynow
|
2579
3029
|
@paypal = paypal
|
3030
|
+
@payto = payto
|
2580
3031
|
@pix = pix
|
2581
3032
|
@promptpay = promptpay
|
3033
|
+
@qris = qris
|
2582
3034
|
@radar_options = radar_options
|
3035
|
+
@rechnung = rechnung
|
2583
3036
|
@revolut_pay = revolut_pay
|
2584
3037
|
@samsung_pay = samsung_pay
|
2585
3038
|
@satispay = satispay
|
2586
3039
|
@sepa_debit = sepa_debit
|
3040
|
+
@shopeepay = shopeepay
|
2587
3041
|
@sofort = sofort
|
3042
|
+
@stripe_balance = stripe_balance
|
2588
3043
|
@swish = swish
|
2589
3044
|
@twint = twint
|
2590
3045
|
@type = type
|
@@ -2818,9 +3273,58 @@ module Stripe
|
|
2818
3273
|
class Paypal < Stripe::RequestParams
|
2819
3274
|
# The PayPal Billing Agreement ID (BAID). This is an ID generated by PayPal which represents the mandate between the merchant and the customer.
|
2820
3275
|
attr_accessor :billing_agreement_id
|
3276
|
+
# Attribute for param field currency
|
3277
|
+
attr_accessor :currency
|
3278
|
+
# 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.
|
3279
|
+
attr_accessor :subsellers
|
2821
3280
|
|
2822
|
-
def initialize(billing_agreement_id: nil)
|
3281
|
+
def initialize(billing_agreement_id: nil, currency: nil, subsellers: nil)
|
2823
3282
|
@billing_agreement_id = billing_agreement_id
|
3283
|
+
@currency = currency
|
3284
|
+
@subsellers = subsellers
|
3285
|
+
end
|
3286
|
+
end
|
3287
|
+
|
3288
|
+
class Payto < Stripe::RequestParams
|
3289
|
+
class MandateOptions < Stripe::RequestParams
|
3290
|
+
# Amount that will be collected. It is required when `amount_type` is `fixed`.
|
3291
|
+
attr_accessor :amount
|
3292
|
+
# 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.
|
3293
|
+
attr_accessor :amount_type
|
3294
|
+
# Date, in YYYY-MM-DD format, after which payments will not be collected. Defaults to no end date.
|
3295
|
+
attr_accessor :end_date
|
3296
|
+
# The periodicity at which payments will be collected.
|
3297
|
+
attr_accessor :payment_schedule
|
3298
|
+
# 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.
|
3299
|
+
attr_accessor :payments_per_period
|
3300
|
+
# The purpose for which payments are made. Defaults to retail.
|
3301
|
+
attr_accessor :purpose
|
3302
|
+
# Date, in YYYY-MM-DD format, from which payments will be collected. Defaults to confirmation time.
|
3303
|
+
attr_accessor :start_date
|
3304
|
+
|
3305
|
+
def initialize(
|
3306
|
+
amount: nil,
|
3307
|
+
amount_type: nil,
|
3308
|
+
end_date: nil,
|
3309
|
+
payment_schedule: nil,
|
3310
|
+
payments_per_period: nil,
|
3311
|
+
purpose: nil,
|
3312
|
+
start_date: nil
|
3313
|
+
)
|
3314
|
+
@amount = amount
|
3315
|
+
@amount_type = amount_type
|
3316
|
+
@end_date = end_date
|
3317
|
+
@payment_schedule = payment_schedule
|
3318
|
+
@payments_per_period = payments_per_period
|
3319
|
+
@purpose = purpose
|
3320
|
+
@start_date = start_date
|
3321
|
+
end
|
3322
|
+
end
|
3323
|
+
# Additional fields for Mandate creation.
|
3324
|
+
attr_accessor :mandate_options
|
3325
|
+
|
3326
|
+
def initialize(mandate_options: nil)
|
3327
|
+
@mandate_options = mandate_options
|
2824
3328
|
end
|
2825
3329
|
end
|
2826
3330
|
|
@@ -2846,13 +3350,27 @@ module Stripe
|
|
2846
3350
|
class Filters < Stripe::RequestParams
|
2847
3351
|
# The account subcategories to use to filter for selectable accounts. Valid subcategories are `checking` and `savings`.
|
2848
3352
|
attr_accessor :account_subcategories
|
3353
|
+
# ID of the institution to use to filter for selectable accounts.
|
3354
|
+
attr_accessor :institution
|
2849
3355
|
|
2850
|
-
def initialize(account_subcategories: nil)
|
3356
|
+
def initialize(account_subcategories: nil, institution: nil)
|
2851
3357
|
@account_subcategories = account_subcategories
|
3358
|
+
@institution = institution
|
3359
|
+
end
|
3360
|
+
end
|
3361
|
+
|
3362
|
+
class ManualEntry < Stripe::RequestParams
|
3363
|
+
# Settings for configuring manual entry of account details.
|
3364
|
+
attr_accessor :mode
|
3365
|
+
|
3366
|
+
def initialize(mode: nil)
|
3367
|
+
@mode = mode
|
2852
3368
|
end
|
2853
3369
|
end
|
2854
3370
|
# Provide filters for the linked accounts that the customer can select for the payment method.
|
2855
3371
|
attr_accessor :filters
|
3372
|
+
# Customize manual entry behavior
|
3373
|
+
attr_accessor :manual_entry
|
2856
3374
|
# 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`.
|
2857
3375
|
attr_accessor :permissions
|
2858
3376
|
# List of data features that you would like to retrieve upon account creation.
|
@@ -2860,8 +3378,15 @@ module Stripe
|
|
2860
3378
|
# 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.
|
2861
3379
|
attr_accessor :return_url
|
2862
3380
|
|
2863
|
-
def initialize(
|
3381
|
+
def initialize(
|
3382
|
+
filters: nil,
|
3383
|
+
manual_entry: nil,
|
3384
|
+
permissions: nil,
|
3385
|
+
prefetch: nil,
|
3386
|
+
return_url: nil
|
3387
|
+
)
|
2864
3388
|
@filters = filters
|
3389
|
+
@manual_entry = manual_entry
|
2865
3390
|
@permissions = permissions
|
2866
3391
|
@prefetch = prefetch
|
2867
3392
|
@return_url = return_url
|
@@ -2920,6 +3445,8 @@ module Stripe
|
|
2920
3445
|
attr_accessor :link
|
2921
3446
|
# If this is a `paypal` PaymentMethod, this sub-hash contains details about the PayPal payment method options.
|
2922
3447
|
attr_accessor :paypal
|
3448
|
+
# If this is a `payto` SetupIntent, this sub-hash contains details about the PayTo payment method options.
|
3449
|
+
attr_accessor :payto
|
2923
3450
|
# If this is a `sepa_debit` SetupIntent, this sub-hash contains details about the SEPA Debit payment method options.
|
2924
3451
|
attr_accessor :sepa_debit
|
2925
3452
|
# If this is a `us_bank_account` SetupIntent, this sub-hash contains details about the US bank account payment method options.
|
@@ -2933,6 +3460,7 @@ module Stripe
|
|
2933
3460
|
card_present: nil,
|
2934
3461
|
link: nil,
|
2935
3462
|
paypal: nil,
|
3463
|
+
payto: nil,
|
2936
3464
|
sepa_debit: nil,
|
2937
3465
|
us_bank_account: nil
|
2938
3466
|
)
|
@@ -2943,6 +3471,7 @@ module Stripe
|
|
2943
3471
|
@card_present = card_present
|
2944
3472
|
@link = link
|
2945
3473
|
@paypal = paypal
|
3474
|
+
@payto = payto
|
2946
3475
|
@sepa_debit = sepa_debit
|
2947
3476
|
@us_bank_account = us_bank_account
|
2948
3477
|
end
|