stripe 15.3.0 → 15.4.0.pre.beta.2
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- checksums.yaml +4 -4
- data/API_VERSION +1 -1
- data/CHANGELOG.md +1603 -667
- data/README.md +1 -1
- data/VERSION +1 -1
- data/lib/stripe/api_requestor.rb +32 -0
- data/lib/stripe/api_version.rb +1 -2
- data/lib/stripe/errors.rb +60 -0
- data/lib/stripe/event_types.rb +102 -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_configuration_storer_capability_status_updated_event.rb +23 -0
- data/lib/stripe/events/v2_core_account_including_configuration_storer_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 +326 -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/dispute.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 +1063 -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 +2958 -0
- data/lib/stripe/resources/payment_attempt_record.rb +1099 -0
- data/lib/stripe/resources/payment_intent.rb +8540 -3584
- 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 +1628 -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 +2038 -7
- 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 +371 -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 +288 -9
- data/lib/stripe/resources/subscription_item.rb +84 -3
- data/lib/stripe/resources/subscription_schedule.rb +1007 -10
- data/lib/stripe/resources/tax/association.rb +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 +8 -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 +1919 -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 +77 -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 +122 -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 +72 -0
- data/lib/stripe/resources.rb +106 -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 +243 -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 +1014 -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 +2388 -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 +4879 -391
- 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 +1723 -8
- 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 +911 -10
- data/lib/stripe/services/subscription_service.rb +249 -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_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 +4486 -0
- data/lib/stripe/services/v2/core/accounts/person_service.rb +1045 -0
- data/lib/stripe/services/v2/core/vault/gb_bank_account_service.rb +130 -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 +116 -0
- data/lib/stripe/services/v2/money_management/financial_address_service.rb +82 -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 +199 -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 +90 -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 +137 -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 +4 -1
- 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 +194513 -0
- data/stripe.gemspec +4 -1
- metadata +164 -325
- data/lib/stripe/services/invoice_payment_service.rb +0 -83
- data/rbi/stripe/resources/account.rbi +0 -4995
- 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 -2086
- data/rbi/stripe/resources/checkout/session.rbi +0 -4060
- 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 -1818
- 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 -564
- data/rbi/stripe/resources/invoice.rbi +0 -3842
- data/rbi/stripe/resources/invoice_item.rbi +0 -470
- 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 -191
- data/rbi/stripe/resources/payment_intent.rbi +0 -9987
- data/rbi/stripe/resources/payment_link.rbi +0 -1801
- data/rbi/stripe/resources/payment_method.rbi +0 -1770
- 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 -1145
- 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 -3978
- 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 -2080
- data/rbi/stripe/resources/subscription_item.rbi +0 -404
- data/rbi/stripe/resources/subscription_schedule.rbi +0 -1645
- 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 -2732
- 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 -1387
- 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 -994
- 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 -869
- 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 -4281
- 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 -2670
- 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 -339
- 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 -3011
- 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 -7989
- 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 -781
- 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 -699
- 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 -3709
- 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 -1301
- data/rbi/stripe/services/subscription_service.rbi +0 -1684
- data/rbi/stripe/services/tax/calculation_service.rbi +0 -234
- data/rbi/stripe/services/tax/registration_service.rbi +0 -1858
- 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 -540
- data/rbi/stripe/services/terminal_service.rbi +0 -12
- data/rbi/stripe/services/test_helpers/confirmation_token_service.rbi +0 -746
- data/rbi/stripe/services/test_helpers/customer_service.rbi +0 -33
- data/rbi/stripe/services/test_helpers/issuing/authorization_service.rbi +0 -848
- data/rbi/stripe/services/test_helpers/issuing/card_service.rbi +0 -76
- data/rbi/stripe/services/test_helpers/issuing/personalization_design_service.rbi +0 -69
- data/rbi/stripe/services/test_helpers/issuing/transaction_service.rbi +0 -711
- data/rbi/stripe/services/test_helpers/issuing_service.rbi +0 -14
- data/rbi/stripe/services/test_helpers/refund_service.rbi +0 -22
- data/rbi/stripe/services/test_helpers/terminal/reader_service.rbi +0 -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 -566
- 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
|
@@ -252,8 +256,18 @@ module Stripe
|
|
252
256
|
end
|
253
257
|
|
254
258
|
class Giropay < Stripe::RequestParams; end
|
259
|
+
class Gopay < Stripe::RequestParams; end
|
255
260
|
class Grabpay < Stripe::RequestParams; end
|
256
261
|
|
262
|
+
class IdBankTransfer < Stripe::RequestParams
|
263
|
+
# Bank where the account is held.
|
264
|
+
attr_accessor :bank
|
265
|
+
|
266
|
+
def initialize(bank: nil)
|
267
|
+
@bank = bank
|
268
|
+
end
|
269
|
+
end
|
270
|
+
|
257
271
|
class Ideal < Stripe::RequestParams
|
258
272
|
# The customer's bank. Only use this parameter for existing customers. Don't use it for new customers.
|
259
273
|
attr_accessor :bank
|
@@ -292,6 +306,7 @@ module Stripe
|
|
292
306
|
class Konbini < Stripe::RequestParams; end
|
293
307
|
class KrCard < Stripe::RequestParams; end
|
294
308
|
class Link < Stripe::RequestParams; end
|
309
|
+
class MbWay < Stripe::RequestParams; end
|
295
310
|
class Mobilepay < Stripe::RequestParams; end
|
296
311
|
class Multibanco < Stripe::RequestParams; end
|
297
312
|
|
@@ -350,8 +365,25 @@ module Stripe
|
|
350
365
|
class Payco < Stripe::RequestParams; end
|
351
366
|
class Paynow < Stripe::RequestParams; end
|
352
367
|
class Paypal < Stripe::RequestParams; end
|
368
|
+
|
369
|
+
class Payto < Stripe::RequestParams
|
370
|
+
# The account number for the bank account.
|
371
|
+
attr_accessor :account_number
|
372
|
+
# Bank-State-Branch number of the bank account.
|
373
|
+
attr_accessor :bsb_number
|
374
|
+
# The PayID alias for the bank account.
|
375
|
+
attr_accessor :pay_id
|
376
|
+
|
377
|
+
def initialize(account_number: nil, bsb_number: nil, pay_id: nil)
|
378
|
+
@account_number = account_number
|
379
|
+
@bsb_number = bsb_number
|
380
|
+
@pay_id = pay_id
|
381
|
+
end
|
382
|
+
end
|
383
|
+
|
353
384
|
class Pix < Stripe::RequestParams; end
|
354
385
|
class Promptpay < Stripe::RequestParams; end
|
386
|
+
class Qris < Stripe::RequestParams; end
|
355
387
|
|
356
388
|
class RadarOptions < Stripe::RequestParams
|
357
389
|
# 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.
|
@@ -362,6 +394,29 @@ module Stripe
|
|
362
394
|
end
|
363
395
|
end
|
364
396
|
|
397
|
+
class Rechnung < Stripe::RequestParams
|
398
|
+
class Dob < Stripe::RequestParams
|
399
|
+
# The day of birth, between 1 and 31.
|
400
|
+
attr_accessor :day
|
401
|
+
# The month of birth, between 1 and 12.
|
402
|
+
attr_accessor :month
|
403
|
+
# The four-digit year of birth.
|
404
|
+
attr_accessor :year
|
405
|
+
|
406
|
+
def initialize(day: nil, month: nil, year: nil)
|
407
|
+
@day = day
|
408
|
+
@month = month
|
409
|
+
@year = year
|
410
|
+
end
|
411
|
+
end
|
412
|
+
# Customer's date of birth
|
413
|
+
attr_accessor :dob
|
414
|
+
|
415
|
+
def initialize(dob: nil)
|
416
|
+
@dob = dob
|
417
|
+
end
|
418
|
+
end
|
419
|
+
|
365
420
|
class RevolutPay < Stripe::RequestParams; end
|
366
421
|
class SamsungPay < Stripe::RequestParams; end
|
367
422
|
class Satispay < Stripe::RequestParams; end
|
@@ -375,6 +430,8 @@ module Stripe
|
|
375
430
|
end
|
376
431
|
end
|
377
432
|
|
433
|
+
class Shopeepay < Stripe::RequestParams; end
|
434
|
+
|
378
435
|
class Sofort < Stripe::RequestParams
|
379
436
|
# Two-letter ISO code representing the country the bank account is located in.
|
380
437
|
attr_accessor :country
|
@@ -384,6 +441,18 @@ module Stripe
|
|
384
441
|
end
|
385
442
|
end
|
386
443
|
|
444
|
+
class StripeBalance < Stripe::RequestParams
|
445
|
+
# The connected account ID whose Stripe balance to use as the source of payment
|
446
|
+
attr_accessor :account
|
447
|
+
# The [source_type](https://docs.stripe.com/api/balance/balance_object#balance_object-available-source_types) of the balance
|
448
|
+
attr_accessor :source_type
|
449
|
+
|
450
|
+
def initialize(account: nil, source_type: nil)
|
451
|
+
@account = account
|
452
|
+
@source_type = source_type
|
453
|
+
end
|
454
|
+
end
|
455
|
+
|
387
456
|
class Swish < Stripe::RequestParams; end
|
388
457
|
class Twint < Stripe::RequestParams; end
|
389
458
|
|
@@ -456,8 +525,12 @@ module Stripe
|
|
456
525
|
attr_accessor :fpx
|
457
526
|
# If this is a `giropay` PaymentMethod, this hash contains details about the Giropay payment method.
|
458
527
|
attr_accessor :giropay
|
528
|
+
# If this is a Gopay PaymentMethod, this hash contains details about the Gopay payment method.
|
529
|
+
attr_accessor :gopay
|
459
530
|
# If this is a `grabpay` PaymentMethod, this hash contains details about the GrabPay payment method.
|
460
531
|
attr_accessor :grabpay
|
532
|
+
# If this is an `IdBankTransfer` PaymentMethod, this hash contains details about the IdBankTransfer payment method.
|
533
|
+
attr_accessor :id_bank_transfer
|
461
534
|
# If this is an `ideal` PaymentMethod, this hash contains details about the iDEAL payment method.
|
462
535
|
attr_accessor :ideal
|
463
536
|
# If this is an `interac_present` PaymentMethod, this hash contains details about the Interac Present payment method.
|
@@ -472,6 +545,8 @@ module Stripe
|
|
472
545
|
attr_accessor :kr_card
|
473
546
|
# If this is an `Link` PaymentMethod, this hash contains details about the Link payment method.
|
474
547
|
attr_accessor :link
|
548
|
+
# If this is a MB WAY PaymentMethod, this hash contains details about the MB WAY payment method.
|
549
|
+
attr_accessor :mb_way
|
475
550
|
# 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`.
|
476
551
|
attr_accessor :metadata
|
477
552
|
# If this is a `mobilepay` PaymentMethod, this hash contains details about the MobilePay payment method.
|
@@ -494,12 +569,18 @@ module Stripe
|
|
494
569
|
attr_accessor :paynow
|
495
570
|
# If this is a `paypal` PaymentMethod, this hash contains details about the PayPal payment method.
|
496
571
|
attr_accessor :paypal
|
572
|
+
# If this is a `payto` PaymentMethod, this hash contains details about the PayTo payment method.
|
573
|
+
attr_accessor :payto
|
497
574
|
# If this is a `pix` PaymentMethod, this hash contains details about the Pix payment method.
|
498
575
|
attr_accessor :pix
|
499
576
|
# If this is a `promptpay` PaymentMethod, this hash contains details about the PromptPay payment method.
|
500
577
|
attr_accessor :promptpay
|
578
|
+
# If this is a `qris` PaymentMethod, this hash contains details about the QRIS payment method.
|
579
|
+
attr_accessor :qris
|
501
580
|
# Options to configure Radar. See [Radar Session](https://stripe.com/docs/radar/radar-session) for more information.
|
502
581
|
attr_accessor :radar_options
|
582
|
+
# If this is a `rechnung` PaymentMethod, this hash contains details about the Rechnung payment method.
|
583
|
+
attr_accessor :rechnung
|
503
584
|
# If this is a `revolut_pay` PaymentMethod, this hash contains details about the Revolut Pay payment method.
|
504
585
|
attr_accessor :revolut_pay
|
505
586
|
# If this is a `samsung_pay` PaymentMethod, this hash contains details about the SamsungPay payment method.
|
@@ -508,8 +589,12 @@ module Stripe
|
|
508
589
|
attr_accessor :satispay
|
509
590
|
# If this is a `sepa_debit` PaymentMethod, this hash contains details about the SEPA debit bank account.
|
510
591
|
attr_accessor :sepa_debit
|
592
|
+
# If this is a Shopeepay PaymentMethod, this hash contains details about the Shopeepay payment method.
|
593
|
+
attr_accessor :shopeepay
|
511
594
|
# If this is a `sofort` PaymentMethod, this hash contains details about the SOFORT payment method.
|
512
595
|
attr_accessor :sofort
|
596
|
+
# This hash contains details about the Stripe balance payment method.
|
597
|
+
attr_accessor :stripe_balance
|
513
598
|
# If this is a `swish` PaymentMethod, this hash contains details about the Swish payment method.
|
514
599
|
attr_accessor :swish
|
515
600
|
# If this is a TWINT PaymentMethod, this hash contains details about the TWINT payment method.
|
@@ -544,7 +629,9 @@ module Stripe
|
|
544
629
|
eps: nil,
|
545
630
|
fpx: nil,
|
546
631
|
giropay: nil,
|
632
|
+
gopay: nil,
|
547
633
|
grabpay: nil,
|
634
|
+
id_bank_transfer: nil,
|
548
635
|
ideal: nil,
|
549
636
|
interac_present: nil,
|
550
637
|
kakao_pay: nil,
|
@@ -552,6 +639,7 @@ module Stripe
|
|
552
639
|
konbini: nil,
|
553
640
|
kr_card: nil,
|
554
641
|
link: nil,
|
642
|
+
mb_way: nil,
|
555
643
|
metadata: nil,
|
556
644
|
mobilepay: nil,
|
557
645
|
multibanco: nil,
|
@@ -563,14 +651,19 @@ module Stripe
|
|
563
651
|
payco: nil,
|
564
652
|
paynow: nil,
|
565
653
|
paypal: nil,
|
654
|
+
payto: nil,
|
566
655
|
pix: nil,
|
567
656
|
promptpay: nil,
|
657
|
+
qris: nil,
|
568
658
|
radar_options: nil,
|
659
|
+
rechnung: nil,
|
569
660
|
revolut_pay: nil,
|
570
661
|
samsung_pay: nil,
|
571
662
|
satispay: nil,
|
572
663
|
sepa_debit: nil,
|
664
|
+
shopeepay: nil,
|
573
665
|
sofort: nil,
|
666
|
+
stripe_balance: nil,
|
574
667
|
swish: nil,
|
575
668
|
twint: nil,
|
576
669
|
type: nil,
|
@@ -598,7 +691,9 @@ module Stripe
|
|
598
691
|
@eps = eps
|
599
692
|
@fpx = fpx
|
600
693
|
@giropay = giropay
|
694
|
+
@gopay = gopay
|
601
695
|
@grabpay = grabpay
|
696
|
+
@id_bank_transfer = id_bank_transfer
|
602
697
|
@ideal = ideal
|
603
698
|
@interac_present = interac_present
|
604
699
|
@kakao_pay = kakao_pay
|
@@ -606,6 +701,7 @@ module Stripe
|
|
606
701
|
@konbini = konbini
|
607
702
|
@kr_card = kr_card
|
608
703
|
@link = link
|
704
|
+
@mb_way = mb_way
|
609
705
|
@metadata = metadata
|
610
706
|
@mobilepay = mobilepay
|
611
707
|
@multibanco = multibanco
|
@@ -617,14 +713,19 @@ module Stripe
|
|
617
713
|
@payco = payco
|
618
714
|
@paynow = paynow
|
619
715
|
@paypal = paypal
|
716
|
+
@payto = payto
|
620
717
|
@pix = pix
|
621
718
|
@promptpay = promptpay
|
719
|
+
@qris = qris
|
622
720
|
@radar_options = radar_options
|
721
|
+
@rechnung = rechnung
|
623
722
|
@revolut_pay = revolut_pay
|
624
723
|
@samsung_pay = samsung_pay
|
625
724
|
@satispay = satispay
|
626
725
|
@sepa_debit = sepa_debit
|
726
|
+
@shopeepay = shopeepay
|
627
727
|
@sofort = sofort
|
728
|
+
@stripe_balance = stripe_balance
|
628
729
|
@swish = swish
|
629
730
|
@twint = twint
|
630
731
|
@type = type
|
@@ -940,9 +1041,58 @@ module Stripe
|
|
940
1041
|
class Paypal < Stripe::RequestParams
|
941
1042
|
# The PayPal Billing Agreement ID (BAID). This is an ID generated by PayPal which represents the mandate between the merchant and the customer.
|
942
1043
|
attr_accessor :billing_agreement_id
|
1044
|
+
# Attribute for param field currency
|
1045
|
+
attr_accessor :currency
|
1046
|
+
# 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.
|
1047
|
+
attr_accessor :subsellers
|
943
1048
|
|
944
|
-
def initialize(billing_agreement_id: nil)
|
1049
|
+
def initialize(billing_agreement_id: nil, currency: nil, subsellers: nil)
|
945
1050
|
@billing_agreement_id = billing_agreement_id
|
1051
|
+
@currency = currency
|
1052
|
+
@subsellers = subsellers
|
1053
|
+
end
|
1054
|
+
end
|
1055
|
+
|
1056
|
+
class Payto < Stripe::RequestParams
|
1057
|
+
class MandateOptions < Stripe::RequestParams
|
1058
|
+
# Amount that will be collected. It is required when `amount_type` is `fixed`.
|
1059
|
+
attr_accessor :amount
|
1060
|
+
# 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.
|
1061
|
+
attr_accessor :amount_type
|
1062
|
+
# Date, in YYYY-MM-DD format, after which payments will not be collected. Defaults to no end date.
|
1063
|
+
attr_accessor :end_date
|
1064
|
+
# The periodicity at which payments will be collected.
|
1065
|
+
attr_accessor :payment_schedule
|
1066
|
+
# 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.
|
1067
|
+
attr_accessor :payments_per_period
|
1068
|
+
# The purpose for which payments are made. Defaults to retail.
|
1069
|
+
attr_accessor :purpose
|
1070
|
+
# Date, in YYYY-MM-DD format, from which payments will be collected. Defaults to confirmation time.
|
1071
|
+
attr_accessor :start_date
|
1072
|
+
|
1073
|
+
def initialize(
|
1074
|
+
amount: nil,
|
1075
|
+
amount_type: nil,
|
1076
|
+
end_date: nil,
|
1077
|
+
payment_schedule: nil,
|
1078
|
+
payments_per_period: nil,
|
1079
|
+
purpose: nil,
|
1080
|
+
start_date: nil
|
1081
|
+
)
|
1082
|
+
@amount = amount
|
1083
|
+
@amount_type = amount_type
|
1084
|
+
@end_date = end_date
|
1085
|
+
@payment_schedule = payment_schedule
|
1086
|
+
@payments_per_period = payments_per_period
|
1087
|
+
@purpose = purpose
|
1088
|
+
@start_date = start_date
|
1089
|
+
end
|
1090
|
+
end
|
1091
|
+
# Additional fields for Mandate creation.
|
1092
|
+
attr_accessor :mandate_options
|
1093
|
+
|
1094
|
+
def initialize(mandate_options: nil)
|
1095
|
+
@mandate_options = mandate_options
|
946
1096
|
end
|
947
1097
|
end
|
948
1098
|
|
@@ -968,13 +1118,27 @@ module Stripe
|
|
968
1118
|
class Filters < Stripe::RequestParams
|
969
1119
|
# The account subcategories to use to filter for selectable accounts. Valid subcategories are `checking` and `savings`.
|
970
1120
|
attr_accessor :account_subcategories
|
1121
|
+
# ID of the institution to use to filter for selectable accounts.
|
1122
|
+
attr_accessor :institution
|
971
1123
|
|
972
|
-
def initialize(account_subcategories: nil)
|
1124
|
+
def initialize(account_subcategories: nil, institution: nil)
|
973
1125
|
@account_subcategories = account_subcategories
|
1126
|
+
@institution = institution
|
1127
|
+
end
|
1128
|
+
end
|
1129
|
+
|
1130
|
+
class ManualEntry < Stripe::RequestParams
|
1131
|
+
# Settings for configuring manual entry of account details.
|
1132
|
+
attr_accessor :mode
|
1133
|
+
|
1134
|
+
def initialize(mode: nil)
|
1135
|
+
@mode = mode
|
974
1136
|
end
|
975
1137
|
end
|
976
1138
|
# Provide filters for the linked accounts that the customer can select for the payment method.
|
977
1139
|
attr_accessor :filters
|
1140
|
+
# Customize manual entry behavior
|
1141
|
+
attr_accessor :manual_entry
|
978
1142
|
# 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`.
|
979
1143
|
attr_accessor :permissions
|
980
1144
|
# List of data features that you would like to retrieve upon account creation.
|
@@ -982,8 +1146,15 @@ module Stripe
|
|
982
1146
|
# 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.
|
983
1147
|
attr_accessor :return_url
|
984
1148
|
|
985
|
-
def initialize(
|
1149
|
+
def initialize(
|
1150
|
+
filters: nil,
|
1151
|
+
manual_entry: nil,
|
1152
|
+
permissions: nil,
|
1153
|
+
prefetch: nil,
|
1154
|
+
return_url: nil
|
1155
|
+
)
|
986
1156
|
@filters = filters
|
1157
|
+
@manual_entry = manual_entry
|
987
1158
|
@permissions = permissions
|
988
1159
|
@prefetch = prefetch
|
989
1160
|
@return_url = return_url
|
@@ -1044,6 +1215,8 @@ module Stripe
|
|
1044
1215
|
attr_accessor :link
|
1045
1216
|
# If this is a `paypal` PaymentMethod, this sub-hash contains details about the PayPal payment method options.
|
1046
1217
|
attr_accessor :paypal
|
1218
|
+
# If this is a `payto` SetupIntent, this sub-hash contains details about the PayTo payment method options.
|
1219
|
+
attr_accessor :payto
|
1047
1220
|
# If this is a `sepa_debit` SetupIntent, this sub-hash contains details about the SEPA Debit payment method options.
|
1048
1221
|
attr_accessor :sepa_debit
|
1049
1222
|
# If this is a `us_bank_account` SetupIntent, this sub-hash contains details about the US bank account payment method options.
|
@@ -1058,6 +1231,7 @@ module Stripe
|
|
1058
1231
|
klarna: nil,
|
1059
1232
|
link: nil,
|
1060
1233
|
paypal: nil,
|
1234
|
+
payto: nil,
|
1061
1235
|
sepa_debit: nil,
|
1062
1236
|
us_bank_account: nil
|
1063
1237
|
)
|
@@ -1069,6 +1243,7 @@ module Stripe
|
|
1069
1243
|
@klarna = klarna
|
1070
1244
|
@link = link
|
1071
1245
|
@paypal = paypal
|
1246
|
+
@payto = payto
|
1072
1247
|
@sepa_debit = sepa_debit
|
1073
1248
|
@us_bank_account = us_bank_account
|
1074
1249
|
end
|
@@ -1101,6 +1276,10 @@ module Stripe
|
|
1101
1276
|
#
|
1102
1277
|
# 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.
|
1103
1278
|
attr_accessor :customer
|
1279
|
+
# ID of the Account this SetupIntent belongs to, if one exists.
|
1280
|
+
#
|
1281
|
+
# 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.
|
1282
|
+
attr_accessor :customer_account
|
1104
1283
|
# An arbitrary string attached to the object. Often useful for displaying to users.
|
1105
1284
|
attr_accessor :description
|
1106
1285
|
# Specifies which fields in the response should be expanded.
|
@@ -1143,6 +1322,7 @@ module Stripe
|
|
1143
1322
|
confirm: nil,
|
1144
1323
|
confirmation_token: nil,
|
1145
1324
|
customer: nil,
|
1325
|
+
customer_account: nil,
|
1146
1326
|
description: nil,
|
1147
1327
|
expand: nil,
|
1148
1328
|
flow_directions: nil,
|
@@ -1164,6 +1344,7 @@ module Stripe
|
|
1164
1344
|
@confirm = confirm
|
1165
1345
|
@confirmation_token = confirmation_token
|
1166
1346
|
@customer = customer
|
1347
|
+
@customer_account = customer_account
|
1167
1348
|
@description = description
|
1168
1349
|
@expand = expand
|
1169
1350
|
@flow_directions = flow_directions
|
@@ -1332,8 +1513,18 @@ module Stripe
|
|
1332
1513
|
end
|
1333
1514
|
|
1334
1515
|
class Giropay < Stripe::RequestParams; end
|
1516
|
+
class Gopay < Stripe::RequestParams; end
|
1335
1517
|
class Grabpay < Stripe::RequestParams; end
|
1336
1518
|
|
1519
|
+
class IdBankTransfer < Stripe::RequestParams
|
1520
|
+
# Bank where the account is held.
|
1521
|
+
attr_accessor :bank
|
1522
|
+
|
1523
|
+
def initialize(bank: nil)
|
1524
|
+
@bank = bank
|
1525
|
+
end
|
1526
|
+
end
|
1527
|
+
|
1337
1528
|
class Ideal < Stripe::RequestParams
|
1338
1529
|
# The customer's bank. Only use this parameter for existing customers. Don't use it for new customers.
|
1339
1530
|
attr_accessor :bank
|
@@ -1372,6 +1563,7 @@ module Stripe
|
|
1372
1563
|
class Konbini < Stripe::RequestParams; end
|
1373
1564
|
class KrCard < Stripe::RequestParams; end
|
1374
1565
|
class Link < Stripe::RequestParams; end
|
1566
|
+
class MbWay < Stripe::RequestParams; end
|
1375
1567
|
class Mobilepay < Stripe::RequestParams; end
|
1376
1568
|
class Multibanco < Stripe::RequestParams; end
|
1377
1569
|
|
@@ -1430,8 +1622,25 @@ module Stripe
|
|
1430
1622
|
class Payco < Stripe::RequestParams; end
|
1431
1623
|
class Paynow < Stripe::RequestParams; end
|
1432
1624
|
class Paypal < Stripe::RequestParams; end
|
1625
|
+
|
1626
|
+
class Payto < Stripe::RequestParams
|
1627
|
+
# The account number for the bank account.
|
1628
|
+
attr_accessor :account_number
|
1629
|
+
# Bank-State-Branch number of the bank account.
|
1630
|
+
attr_accessor :bsb_number
|
1631
|
+
# The PayID alias for the bank account.
|
1632
|
+
attr_accessor :pay_id
|
1633
|
+
|
1634
|
+
def initialize(account_number: nil, bsb_number: nil, pay_id: nil)
|
1635
|
+
@account_number = account_number
|
1636
|
+
@bsb_number = bsb_number
|
1637
|
+
@pay_id = pay_id
|
1638
|
+
end
|
1639
|
+
end
|
1640
|
+
|
1433
1641
|
class Pix < Stripe::RequestParams; end
|
1434
1642
|
class Promptpay < Stripe::RequestParams; end
|
1643
|
+
class Qris < Stripe::RequestParams; end
|
1435
1644
|
|
1436
1645
|
class RadarOptions < Stripe::RequestParams
|
1437
1646
|
# 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.
|
@@ -1442,6 +1651,29 @@ module Stripe
|
|
1442
1651
|
end
|
1443
1652
|
end
|
1444
1653
|
|
1654
|
+
class Rechnung < Stripe::RequestParams
|
1655
|
+
class Dob < Stripe::RequestParams
|
1656
|
+
# The day of birth, between 1 and 31.
|
1657
|
+
attr_accessor :day
|
1658
|
+
# The month of birth, between 1 and 12.
|
1659
|
+
attr_accessor :month
|
1660
|
+
# The four-digit year of birth.
|
1661
|
+
attr_accessor :year
|
1662
|
+
|
1663
|
+
def initialize(day: nil, month: nil, year: nil)
|
1664
|
+
@day = day
|
1665
|
+
@month = month
|
1666
|
+
@year = year
|
1667
|
+
end
|
1668
|
+
end
|
1669
|
+
# Customer's date of birth
|
1670
|
+
attr_accessor :dob
|
1671
|
+
|
1672
|
+
def initialize(dob: nil)
|
1673
|
+
@dob = dob
|
1674
|
+
end
|
1675
|
+
end
|
1676
|
+
|
1445
1677
|
class RevolutPay < Stripe::RequestParams; end
|
1446
1678
|
class SamsungPay < Stripe::RequestParams; end
|
1447
1679
|
class Satispay < Stripe::RequestParams; end
|
@@ -1455,6 +1687,8 @@ module Stripe
|
|
1455
1687
|
end
|
1456
1688
|
end
|
1457
1689
|
|
1690
|
+
class Shopeepay < Stripe::RequestParams; end
|
1691
|
+
|
1458
1692
|
class Sofort < Stripe::RequestParams
|
1459
1693
|
# Two-letter ISO code representing the country the bank account is located in.
|
1460
1694
|
attr_accessor :country
|
@@ -1464,6 +1698,18 @@ module Stripe
|
|
1464
1698
|
end
|
1465
1699
|
end
|
1466
1700
|
|
1701
|
+
class StripeBalance < Stripe::RequestParams
|
1702
|
+
# The connected account ID whose Stripe balance to use as the source of payment
|
1703
|
+
attr_accessor :account
|
1704
|
+
# The [source_type](https://docs.stripe.com/api/balance/balance_object#balance_object-available-source_types) of the balance
|
1705
|
+
attr_accessor :source_type
|
1706
|
+
|
1707
|
+
def initialize(account: nil, source_type: nil)
|
1708
|
+
@account = account
|
1709
|
+
@source_type = source_type
|
1710
|
+
end
|
1711
|
+
end
|
1712
|
+
|
1467
1713
|
class Swish < Stripe::RequestParams; end
|
1468
1714
|
class Twint < Stripe::RequestParams; end
|
1469
1715
|
|
@@ -1536,8 +1782,12 @@ module Stripe
|
|
1536
1782
|
attr_accessor :fpx
|
1537
1783
|
# If this is a `giropay` PaymentMethod, this hash contains details about the Giropay payment method.
|
1538
1784
|
attr_accessor :giropay
|
1785
|
+
# If this is a Gopay PaymentMethod, this hash contains details about the Gopay payment method.
|
1786
|
+
attr_accessor :gopay
|
1539
1787
|
# If this is a `grabpay` PaymentMethod, this hash contains details about the GrabPay payment method.
|
1540
1788
|
attr_accessor :grabpay
|
1789
|
+
# If this is an `IdBankTransfer` PaymentMethod, this hash contains details about the IdBankTransfer payment method.
|
1790
|
+
attr_accessor :id_bank_transfer
|
1541
1791
|
# If this is an `ideal` PaymentMethod, this hash contains details about the iDEAL payment method.
|
1542
1792
|
attr_accessor :ideal
|
1543
1793
|
# If this is an `interac_present` PaymentMethod, this hash contains details about the Interac Present payment method.
|
@@ -1552,6 +1802,8 @@ module Stripe
|
|
1552
1802
|
attr_accessor :kr_card
|
1553
1803
|
# If this is an `Link` PaymentMethod, this hash contains details about the Link payment method.
|
1554
1804
|
attr_accessor :link
|
1805
|
+
# If this is a MB WAY PaymentMethod, this hash contains details about the MB WAY payment method.
|
1806
|
+
attr_accessor :mb_way
|
1555
1807
|
# 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`.
|
1556
1808
|
attr_accessor :metadata
|
1557
1809
|
# If this is a `mobilepay` PaymentMethod, this hash contains details about the MobilePay payment method.
|
@@ -1574,12 +1826,18 @@ module Stripe
|
|
1574
1826
|
attr_accessor :paynow
|
1575
1827
|
# If this is a `paypal` PaymentMethod, this hash contains details about the PayPal payment method.
|
1576
1828
|
attr_accessor :paypal
|
1829
|
+
# If this is a `payto` PaymentMethod, this hash contains details about the PayTo payment method.
|
1830
|
+
attr_accessor :payto
|
1577
1831
|
# If this is a `pix` PaymentMethod, this hash contains details about the Pix payment method.
|
1578
1832
|
attr_accessor :pix
|
1579
1833
|
# If this is a `promptpay` PaymentMethod, this hash contains details about the PromptPay payment method.
|
1580
1834
|
attr_accessor :promptpay
|
1835
|
+
# If this is a `qris` PaymentMethod, this hash contains details about the QRIS payment method.
|
1836
|
+
attr_accessor :qris
|
1581
1837
|
# Options to configure Radar. See [Radar Session](https://stripe.com/docs/radar/radar-session) for more information.
|
1582
1838
|
attr_accessor :radar_options
|
1839
|
+
# If this is a `rechnung` PaymentMethod, this hash contains details about the Rechnung payment method.
|
1840
|
+
attr_accessor :rechnung
|
1583
1841
|
# If this is a `revolut_pay` PaymentMethod, this hash contains details about the Revolut Pay payment method.
|
1584
1842
|
attr_accessor :revolut_pay
|
1585
1843
|
# If this is a `samsung_pay` PaymentMethod, this hash contains details about the SamsungPay payment method.
|
@@ -1588,8 +1846,12 @@ module Stripe
|
|
1588
1846
|
attr_accessor :satispay
|
1589
1847
|
# If this is a `sepa_debit` PaymentMethod, this hash contains details about the SEPA debit bank account.
|
1590
1848
|
attr_accessor :sepa_debit
|
1849
|
+
# If this is a Shopeepay PaymentMethod, this hash contains details about the Shopeepay payment method.
|
1850
|
+
attr_accessor :shopeepay
|
1591
1851
|
# If this is a `sofort` PaymentMethod, this hash contains details about the SOFORT payment method.
|
1592
1852
|
attr_accessor :sofort
|
1853
|
+
# This hash contains details about the Stripe balance payment method.
|
1854
|
+
attr_accessor :stripe_balance
|
1593
1855
|
# If this is a `swish` PaymentMethod, this hash contains details about the Swish payment method.
|
1594
1856
|
attr_accessor :swish
|
1595
1857
|
# If this is a TWINT PaymentMethod, this hash contains details about the TWINT payment method.
|
@@ -1624,7 +1886,9 @@ module Stripe
|
|
1624
1886
|
eps: nil,
|
1625
1887
|
fpx: nil,
|
1626
1888
|
giropay: nil,
|
1889
|
+
gopay: nil,
|
1627
1890
|
grabpay: nil,
|
1891
|
+
id_bank_transfer: nil,
|
1628
1892
|
ideal: nil,
|
1629
1893
|
interac_present: nil,
|
1630
1894
|
kakao_pay: nil,
|
@@ -1632,6 +1896,7 @@ module Stripe
|
|
1632
1896
|
konbini: nil,
|
1633
1897
|
kr_card: nil,
|
1634
1898
|
link: nil,
|
1899
|
+
mb_way: nil,
|
1635
1900
|
metadata: nil,
|
1636
1901
|
mobilepay: nil,
|
1637
1902
|
multibanco: nil,
|
@@ -1643,14 +1908,19 @@ module Stripe
|
|
1643
1908
|
payco: nil,
|
1644
1909
|
paynow: nil,
|
1645
1910
|
paypal: nil,
|
1911
|
+
payto: nil,
|
1646
1912
|
pix: nil,
|
1647
1913
|
promptpay: nil,
|
1914
|
+
qris: nil,
|
1648
1915
|
radar_options: nil,
|
1916
|
+
rechnung: nil,
|
1649
1917
|
revolut_pay: nil,
|
1650
1918
|
samsung_pay: nil,
|
1651
1919
|
satispay: nil,
|
1652
1920
|
sepa_debit: nil,
|
1921
|
+
shopeepay: nil,
|
1653
1922
|
sofort: nil,
|
1923
|
+
stripe_balance: nil,
|
1654
1924
|
swish: nil,
|
1655
1925
|
twint: nil,
|
1656
1926
|
type: nil,
|
@@ -1678,7 +1948,9 @@ module Stripe
|
|
1678
1948
|
@eps = eps
|
1679
1949
|
@fpx = fpx
|
1680
1950
|
@giropay = giropay
|
1951
|
+
@gopay = gopay
|
1681
1952
|
@grabpay = grabpay
|
1953
|
+
@id_bank_transfer = id_bank_transfer
|
1682
1954
|
@ideal = ideal
|
1683
1955
|
@interac_present = interac_present
|
1684
1956
|
@kakao_pay = kakao_pay
|
@@ -1686,6 +1958,7 @@ module Stripe
|
|
1686
1958
|
@konbini = konbini
|
1687
1959
|
@kr_card = kr_card
|
1688
1960
|
@link = link
|
1961
|
+
@mb_way = mb_way
|
1689
1962
|
@metadata = metadata
|
1690
1963
|
@mobilepay = mobilepay
|
1691
1964
|
@multibanco = multibanco
|
@@ -1697,14 +1970,19 @@ module Stripe
|
|
1697
1970
|
@payco = payco
|
1698
1971
|
@paynow = paynow
|
1699
1972
|
@paypal = paypal
|
1973
|
+
@payto = payto
|
1700
1974
|
@pix = pix
|
1701
1975
|
@promptpay = promptpay
|
1976
|
+
@qris = qris
|
1702
1977
|
@radar_options = radar_options
|
1978
|
+
@rechnung = rechnung
|
1703
1979
|
@revolut_pay = revolut_pay
|
1704
1980
|
@samsung_pay = samsung_pay
|
1705
1981
|
@satispay = satispay
|
1706
1982
|
@sepa_debit = sepa_debit
|
1983
|
+
@shopeepay = shopeepay
|
1707
1984
|
@sofort = sofort
|
1985
|
+
@stripe_balance = stripe_balance
|
1708
1986
|
@swish = swish
|
1709
1987
|
@twint = twint
|
1710
1988
|
@type = type
|
@@ -2020,9 +2298,58 @@ module Stripe
|
|
2020
2298
|
class Paypal < Stripe::RequestParams
|
2021
2299
|
# The PayPal Billing Agreement ID (BAID). This is an ID generated by PayPal which represents the mandate between the merchant and the customer.
|
2022
2300
|
attr_accessor :billing_agreement_id
|
2301
|
+
# Attribute for param field currency
|
2302
|
+
attr_accessor :currency
|
2303
|
+
# 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.
|
2304
|
+
attr_accessor :subsellers
|
2023
2305
|
|
2024
|
-
def initialize(billing_agreement_id: nil)
|
2306
|
+
def initialize(billing_agreement_id: nil, currency: nil, subsellers: nil)
|
2025
2307
|
@billing_agreement_id = billing_agreement_id
|
2308
|
+
@currency = currency
|
2309
|
+
@subsellers = subsellers
|
2310
|
+
end
|
2311
|
+
end
|
2312
|
+
|
2313
|
+
class Payto < Stripe::RequestParams
|
2314
|
+
class MandateOptions < Stripe::RequestParams
|
2315
|
+
# Amount that will be collected. It is required when `amount_type` is `fixed`.
|
2316
|
+
attr_accessor :amount
|
2317
|
+
# 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.
|
2318
|
+
attr_accessor :amount_type
|
2319
|
+
# Date, in YYYY-MM-DD format, after which payments will not be collected. Defaults to no end date.
|
2320
|
+
attr_accessor :end_date
|
2321
|
+
# The periodicity at which payments will be collected.
|
2322
|
+
attr_accessor :payment_schedule
|
2323
|
+
# 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.
|
2324
|
+
attr_accessor :payments_per_period
|
2325
|
+
# The purpose for which payments are made. Defaults to retail.
|
2326
|
+
attr_accessor :purpose
|
2327
|
+
# Date, in YYYY-MM-DD format, from which payments will be collected. Defaults to confirmation time.
|
2328
|
+
attr_accessor :start_date
|
2329
|
+
|
2330
|
+
def initialize(
|
2331
|
+
amount: nil,
|
2332
|
+
amount_type: nil,
|
2333
|
+
end_date: nil,
|
2334
|
+
payment_schedule: nil,
|
2335
|
+
payments_per_period: nil,
|
2336
|
+
purpose: nil,
|
2337
|
+
start_date: nil
|
2338
|
+
)
|
2339
|
+
@amount = amount
|
2340
|
+
@amount_type = amount_type
|
2341
|
+
@end_date = end_date
|
2342
|
+
@payment_schedule = payment_schedule
|
2343
|
+
@payments_per_period = payments_per_period
|
2344
|
+
@purpose = purpose
|
2345
|
+
@start_date = start_date
|
2346
|
+
end
|
2347
|
+
end
|
2348
|
+
# Additional fields for Mandate creation.
|
2349
|
+
attr_accessor :mandate_options
|
2350
|
+
|
2351
|
+
def initialize(mandate_options: nil)
|
2352
|
+
@mandate_options = mandate_options
|
2026
2353
|
end
|
2027
2354
|
end
|
2028
2355
|
|
@@ -2048,13 +2375,27 @@ module Stripe
|
|
2048
2375
|
class Filters < Stripe::RequestParams
|
2049
2376
|
# The account subcategories to use to filter for selectable accounts. Valid subcategories are `checking` and `savings`.
|
2050
2377
|
attr_accessor :account_subcategories
|
2378
|
+
# ID of the institution to use to filter for selectable accounts.
|
2379
|
+
attr_accessor :institution
|
2051
2380
|
|
2052
|
-
def initialize(account_subcategories: nil)
|
2381
|
+
def initialize(account_subcategories: nil, institution: nil)
|
2053
2382
|
@account_subcategories = account_subcategories
|
2383
|
+
@institution = institution
|
2384
|
+
end
|
2385
|
+
end
|
2386
|
+
|
2387
|
+
class ManualEntry < Stripe::RequestParams
|
2388
|
+
# Settings for configuring manual entry of account details.
|
2389
|
+
attr_accessor :mode
|
2390
|
+
|
2391
|
+
def initialize(mode: nil)
|
2392
|
+
@mode = mode
|
2054
2393
|
end
|
2055
2394
|
end
|
2056
2395
|
# Provide filters for the linked accounts that the customer can select for the payment method.
|
2057
2396
|
attr_accessor :filters
|
2397
|
+
# Customize manual entry behavior
|
2398
|
+
attr_accessor :manual_entry
|
2058
2399
|
# 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`.
|
2059
2400
|
attr_accessor :permissions
|
2060
2401
|
# List of data features that you would like to retrieve upon account creation.
|
@@ -2062,8 +2403,15 @@ module Stripe
|
|
2062
2403
|
# 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.
|
2063
2404
|
attr_accessor :return_url
|
2064
2405
|
|
2065
|
-
def initialize(
|
2406
|
+
def initialize(
|
2407
|
+
filters: nil,
|
2408
|
+
manual_entry: nil,
|
2409
|
+
permissions: nil,
|
2410
|
+
prefetch: nil,
|
2411
|
+
return_url: nil
|
2412
|
+
)
|
2066
2413
|
@filters = filters
|
2414
|
+
@manual_entry = manual_entry
|
2067
2415
|
@permissions = permissions
|
2068
2416
|
@prefetch = prefetch
|
2069
2417
|
@return_url = return_url
|
@@ -2124,6 +2472,8 @@ module Stripe
|
|
2124
2472
|
attr_accessor :link
|
2125
2473
|
# If this is a `paypal` PaymentMethod, this sub-hash contains details about the PayPal payment method options.
|
2126
2474
|
attr_accessor :paypal
|
2475
|
+
# If this is a `payto` SetupIntent, this sub-hash contains details about the PayTo payment method options.
|
2476
|
+
attr_accessor :payto
|
2127
2477
|
# If this is a `sepa_debit` SetupIntent, this sub-hash contains details about the SEPA Debit payment method options.
|
2128
2478
|
attr_accessor :sepa_debit
|
2129
2479
|
# If this is a `us_bank_account` SetupIntent, this sub-hash contains details about the US bank account payment method options.
|
@@ -2138,6 +2488,7 @@ module Stripe
|
|
2138
2488
|
klarna: nil,
|
2139
2489
|
link: nil,
|
2140
2490
|
paypal: nil,
|
2491
|
+
payto: nil,
|
2141
2492
|
sepa_debit: nil,
|
2142
2493
|
us_bank_account: nil
|
2143
2494
|
)
|
@@ -2149,6 +2500,7 @@ module Stripe
|
|
2149
2500
|
@klarna = klarna
|
2150
2501
|
@link = link
|
2151
2502
|
@paypal = paypal
|
2503
|
+
@payto = payto
|
2152
2504
|
@sepa_debit = sepa_debit
|
2153
2505
|
@us_bank_account = us_bank_account
|
2154
2506
|
end
|
@@ -2161,6 +2513,10 @@ module Stripe
|
|
2161
2513
|
#
|
2162
2514
|
# 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.
|
2163
2515
|
attr_accessor :customer
|
2516
|
+
# ID of the Account this SetupIntent belongs to, if one exists.
|
2517
|
+
#
|
2518
|
+
# 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.
|
2519
|
+
attr_accessor :customer_account
|
2164
2520
|
# An arbitrary string attached to the object. Often useful for displaying to users.
|
2165
2521
|
attr_accessor :description
|
2166
2522
|
# Specifies which fields in the response should be expanded.
|
@@ -2186,6 +2542,7 @@ module Stripe
|
|
2186
2542
|
def initialize(
|
2187
2543
|
attach_to_self: nil,
|
2188
2544
|
customer: nil,
|
2545
|
+
customer_account: nil,
|
2189
2546
|
description: nil,
|
2190
2547
|
expand: nil,
|
2191
2548
|
flow_directions: nil,
|
@@ -2198,6 +2555,7 @@ module Stripe
|
|
2198
2555
|
)
|
2199
2556
|
@attach_to_self = attach_to_self
|
2200
2557
|
@customer = customer
|
2558
|
+
@customer_account = customer_account
|
2201
2559
|
@description = description
|
2202
2560
|
@expand = expand
|
2203
2561
|
@flow_directions = flow_directions
|
@@ -2399,8 +2757,18 @@ module Stripe
|
|
2399
2757
|
end
|
2400
2758
|
|
2401
2759
|
class Giropay < Stripe::RequestParams; end
|
2760
|
+
class Gopay < Stripe::RequestParams; end
|
2402
2761
|
class Grabpay < Stripe::RequestParams; end
|
2403
2762
|
|
2763
|
+
class IdBankTransfer < Stripe::RequestParams
|
2764
|
+
# Bank where the account is held.
|
2765
|
+
attr_accessor :bank
|
2766
|
+
|
2767
|
+
def initialize(bank: nil)
|
2768
|
+
@bank = bank
|
2769
|
+
end
|
2770
|
+
end
|
2771
|
+
|
2404
2772
|
class Ideal < Stripe::RequestParams
|
2405
2773
|
# The customer's bank. Only use this parameter for existing customers. Don't use it for new customers.
|
2406
2774
|
attr_accessor :bank
|
@@ -2439,6 +2807,7 @@ module Stripe
|
|
2439
2807
|
class Konbini < Stripe::RequestParams; end
|
2440
2808
|
class KrCard < Stripe::RequestParams; end
|
2441
2809
|
class Link < Stripe::RequestParams; end
|
2810
|
+
class MbWay < Stripe::RequestParams; end
|
2442
2811
|
class Mobilepay < Stripe::RequestParams; end
|
2443
2812
|
class Multibanco < Stripe::RequestParams; end
|
2444
2813
|
|
@@ -2497,8 +2866,25 @@ module Stripe
|
|
2497
2866
|
class Payco < Stripe::RequestParams; end
|
2498
2867
|
class Paynow < Stripe::RequestParams; end
|
2499
2868
|
class Paypal < Stripe::RequestParams; end
|
2869
|
+
|
2870
|
+
class Payto < Stripe::RequestParams
|
2871
|
+
# The account number for the bank account.
|
2872
|
+
attr_accessor :account_number
|
2873
|
+
# Bank-State-Branch number of the bank account.
|
2874
|
+
attr_accessor :bsb_number
|
2875
|
+
# The PayID alias for the bank account.
|
2876
|
+
attr_accessor :pay_id
|
2877
|
+
|
2878
|
+
def initialize(account_number: nil, bsb_number: nil, pay_id: nil)
|
2879
|
+
@account_number = account_number
|
2880
|
+
@bsb_number = bsb_number
|
2881
|
+
@pay_id = pay_id
|
2882
|
+
end
|
2883
|
+
end
|
2884
|
+
|
2500
2885
|
class Pix < Stripe::RequestParams; end
|
2501
2886
|
class Promptpay < Stripe::RequestParams; end
|
2887
|
+
class Qris < Stripe::RequestParams; end
|
2502
2888
|
|
2503
2889
|
class RadarOptions < Stripe::RequestParams
|
2504
2890
|
# 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.
|
@@ -2509,6 +2895,29 @@ module Stripe
|
|
2509
2895
|
end
|
2510
2896
|
end
|
2511
2897
|
|
2898
|
+
class Rechnung < Stripe::RequestParams
|
2899
|
+
class Dob < Stripe::RequestParams
|
2900
|
+
# The day of birth, between 1 and 31.
|
2901
|
+
attr_accessor :day
|
2902
|
+
# The month of birth, between 1 and 12.
|
2903
|
+
attr_accessor :month
|
2904
|
+
# The four-digit year of birth.
|
2905
|
+
attr_accessor :year
|
2906
|
+
|
2907
|
+
def initialize(day: nil, month: nil, year: nil)
|
2908
|
+
@day = day
|
2909
|
+
@month = month
|
2910
|
+
@year = year
|
2911
|
+
end
|
2912
|
+
end
|
2913
|
+
# Customer's date of birth
|
2914
|
+
attr_accessor :dob
|
2915
|
+
|
2916
|
+
def initialize(dob: nil)
|
2917
|
+
@dob = dob
|
2918
|
+
end
|
2919
|
+
end
|
2920
|
+
|
2512
2921
|
class RevolutPay < Stripe::RequestParams; end
|
2513
2922
|
class SamsungPay < Stripe::RequestParams; end
|
2514
2923
|
class Satispay < Stripe::RequestParams; end
|
@@ -2522,6 +2931,8 @@ module Stripe
|
|
2522
2931
|
end
|
2523
2932
|
end
|
2524
2933
|
|
2934
|
+
class Shopeepay < Stripe::RequestParams; end
|
2935
|
+
|
2525
2936
|
class Sofort < Stripe::RequestParams
|
2526
2937
|
# Two-letter ISO code representing the country the bank account is located in.
|
2527
2938
|
attr_accessor :country
|
@@ -2531,6 +2942,18 @@ module Stripe
|
|
2531
2942
|
end
|
2532
2943
|
end
|
2533
2944
|
|
2945
|
+
class StripeBalance < Stripe::RequestParams
|
2946
|
+
# The connected account ID whose Stripe balance to use as the source of payment
|
2947
|
+
attr_accessor :account
|
2948
|
+
# The [source_type](https://docs.stripe.com/api/balance/balance_object#balance_object-available-source_types) of the balance
|
2949
|
+
attr_accessor :source_type
|
2950
|
+
|
2951
|
+
def initialize(account: nil, source_type: nil)
|
2952
|
+
@account = account
|
2953
|
+
@source_type = source_type
|
2954
|
+
end
|
2955
|
+
end
|
2956
|
+
|
2534
2957
|
class Swish < Stripe::RequestParams; end
|
2535
2958
|
class Twint < Stripe::RequestParams; end
|
2536
2959
|
|
@@ -2603,8 +3026,12 @@ module Stripe
|
|
2603
3026
|
attr_accessor :fpx
|
2604
3027
|
# If this is a `giropay` PaymentMethod, this hash contains details about the Giropay payment method.
|
2605
3028
|
attr_accessor :giropay
|
3029
|
+
# If this is a Gopay PaymentMethod, this hash contains details about the Gopay payment method.
|
3030
|
+
attr_accessor :gopay
|
2606
3031
|
# If this is a `grabpay` PaymentMethod, this hash contains details about the GrabPay payment method.
|
2607
3032
|
attr_accessor :grabpay
|
3033
|
+
# If this is an `IdBankTransfer` PaymentMethod, this hash contains details about the IdBankTransfer payment method.
|
3034
|
+
attr_accessor :id_bank_transfer
|
2608
3035
|
# If this is an `ideal` PaymentMethod, this hash contains details about the iDEAL payment method.
|
2609
3036
|
attr_accessor :ideal
|
2610
3037
|
# If this is an `interac_present` PaymentMethod, this hash contains details about the Interac Present payment method.
|
@@ -2619,6 +3046,8 @@ module Stripe
|
|
2619
3046
|
attr_accessor :kr_card
|
2620
3047
|
# If this is an `Link` PaymentMethod, this hash contains details about the Link payment method.
|
2621
3048
|
attr_accessor :link
|
3049
|
+
# If this is a MB WAY PaymentMethod, this hash contains details about the MB WAY payment method.
|
3050
|
+
attr_accessor :mb_way
|
2622
3051
|
# 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`.
|
2623
3052
|
attr_accessor :metadata
|
2624
3053
|
# If this is a `mobilepay` PaymentMethod, this hash contains details about the MobilePay payment method.
|
@@ -2641,12 +3070,18 @@ module Stripe
|
|
2641
3070
|
attr_accessor :paynow
|
2642
3071
|
# If this is a `paypal` PaymentMethod, this hash contains details about the PayPal payment method.
|
2643
3072
|
attr_accessor :paypal
|
3073
|
+
# If this is a `payto` PaymentMethod, this hash contains details about the PayTo payment method.
|
3074
|
+
attr_accessor :payto
|
2644
3075
|
# If this is a `pix` PaymentMethod, this hash contains details about the Pix payment method.
|
2645
3076
|
attr_accessor :pix
|
2646
3077
|
# If this is a `promptpay` PaymentMethod, this hash contains details about the PromptPay payment method.
|
2647
3078
|
attr_accessor :promptpay
|
3079
|
+
# If this is a `qris` PaymentMethod, this hash contains details about the QRIS payment method.
|
3080
|
+
attr_accessor :qris
|
2648
3081
|
# Options to configure Radar. See [Radar Session](https://stripe.com/docs/radar/radar-session) for more information.
|
2649
3082
|
attr_accessor :radar_options
|
3083
|
+
# If this is a `rechnung` PaymentMethod, this hash contains details about the Rechnung payment method.
|
3084
|
+
attr_accessor :rechnung
|
2650
3085
|
# If this is a `revolut_pay` PaymentMethod, this hash contains details about the Revolut Pay payment method.
|
2651
3086
|
attr_accessor :revolut_pay
|
2652
3087
|
# If this is a `samsung_pay` PaymentMethod, this hash contains details about the SamsungPay payment method.
|
@@ -2655,8 +3090,12 @@ module Stripe
|
|
2655
3090
|
attr_accessor :satispay
|
2656
3091
|
# If this is a `sepa_debit` PaymentMethod, this hash contains details about the SEPA debit bank account.
|
2657
3092
|
attr_accessor :sepa_debit
|
3093
|
+
# If this is a Shopeepay PaymentMethod, this hash contains details about the Shopeepay payment method.
|
3094
|
+
attr_accessor :shopeepay
|
2658
3095
|
# If this is a `sofort` PaymentMethod, this hash contains details about the SOFORT payment method.
|
2659
3096
|
attr_accessor :sofort
|
3097
|
+
# This hash contains details about the Stripe balance payment method.
|
3098
|
+
attr_accessor :stripe_balance
|
2660
3099
|
# If this is a `swish` PaymentMethod, this hash contains details about the Swish payment method.
|
2661
3100
|
attr_accessor :swish
|
2662
3101
|
# If this is a TWINT PaymentMethod, this hash contains details about the TWINT payment method.
|
@@ -2691,7 +3130,9 @@ module Stripe
|
|
2691
3130
|
eps: nil,
|
2692
3131
|
fpx: nil,
|
2693
3132
|
giropay: nil,
|
3133
|
+
gopay: nil,
|
2694
3134
|
grabpay: nil,
|
3135
|
+
id_bank_transfer: nil,
|
2695
3136
|
ideal: nil,
|
2696
3137
|
interac_present: nil,
|
2697
3138
|
kakao_pay: nil,
|
@@ -2699,6 +3140,7 @@ module Stripe
|
|
2699
3140
|
konbini: nil,
|
2700
3141
|
kr_card: nil,
|
2701
3142
|
link: nil,
|
3143
|
+
mb_way: nil,
|
2702
3144
|
metadata: nil,
|
2703
3145
|
mobilepay: nil,
|
2704
3146
|
multibanco: nil,
|
@@ -2710,14 +3152,19 @@ module Stripe
|
|
2710
3152
|
payco: nil,
|
2711
3153
|
paynow: nil,
|
2712
3154
|
paypal: nil,
|
3155
|
+
payto: nil,
|
2713
3156
|
pix: nil,
|
2714
3157
|
promptpay: nil,
|
3158
|
+
qris: nil,
|
2715
3159
|
radar_options: nil,
|
3160
|
+
rechnung: nil,
|
2716
3161
|
revolut_pay: nil,
|
2717
3162
|
samsung_pay: nil,
|
2718
3163
|
satispay: nil,
|
2719
3164
|
sepa_debit: nil,
|
3165
|
+
shopeepay: nil,
|
2720
3166
|
sofort: nil,
|
3167
|
+
stripe_balance: nil,
|
2721
3168
|
swish: nil,
|
2722
3169
|
twint: nil,
|
2723
3170
|
type: nil,
|
@@ -2745,7 +3192,9 @@ module Stripe
|
|
2745
3192
|
@eps = eps
|
2746
3193
|
@fpx = fpx
|
2747
3194
|
@giropay = giropay
|
3195
|
+
@gopay = gopay
|
2748
3196
|
@grabpay = grabpay
|
3197
|
+
@id_bank_transfer = id_bank_transfer
|
2749
3198
|
@ideal = ideal
|
2750
3199
|
@interac_present = interac_present
|
2751
3200
|
@kakao_pay = kakao_pay
|
@@ -2753,6 +3202,7 @@ module Stripe
|
|
2753
3202
|
@konbini = konbini
|
2754
3203
|
@kr_card = kr_card
|
2755
3204
|
@link = link
|
3205
|
+
@mb_way = mb_way
|
2756
3206
|
@metadata = metadata
|
2757
3207
|
@mobilepay = mobilepay
|
2758
3208
|
@multibanco = multibanco
|
@@ -2764,14 +3214,19 @@ module Stripe
|
|
2764
3214
|
@payco = payco
|
2765
3215
|
@paynow = paynow
|
2766
3216
|
@paypal = paypal
|
3217
|
+
@payto = payto
|
2767
3218
|
@pix = pix
|
2768
3219
|
@promptpay = promptpay
|
3220
|
+
@qris = qris
|
2769
3221
|
@radar_options = radar_options
|
3222
|
+
@rechnung = rechnung
|
2770
3223
|
@revolut_pay = revolut_pay
|
2771
3224
|
@samsung_pay = samsung_pay
|
2772
3225
|
@satispay = satispay
|
2773
3226
|
@sepa_debit = sepa_debit
|
3227
|
+
@shopeepay = shopeepay
|
2774
3228
|
@sofort = sofort
|
3229
|
+
@stripe_balance = stripe_balance
|
2775
3230
|
@swish = swish
|
2776
3231
|
@twint = twint
|
2777
3232
|
@type = type
|
@@ -3087,9 +3542,58 @@ module Stripe
|
|
3087
3542
|
class Paypal < Stripe::RequestParams
|
3088
3543
|
# The PayPal Billing Agreement ID (BAID). This is an ID generated by PayPal which represents the mandate between the merchant and the customer.
|
3089
3544
|
attr_accessor :billing_agreement_id
|
3545
|
+
# Attribute for param field currency
|
3546
|
+
attr_accessor :currency
|
3547
|
+
# 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.
|
3548
|
+
attr_accessor :subsellers
|
3090
3549
|
|
3091
|
-
def initialize(billing_agreement_id: nil)
|
3550
|
+
def initialize(billing_agreement_id: nil, currency: nil, subsellers: nil)
|
3092
3551
|
@billing_agreement_id = billing_agreement_id
|
3552
|
+
@currency = currency
|
3553
|
+
@subsellers = subsellers
|
3554
|
+
end
|
3555
|
+
end
|
3556
|
+
|
3557
|
+
class Payto < Stripe::RequestParams
|
3558
|
+
class MandateOptions < Stripe::RequestParams
|
3559
|
+
# Amount that will be collected. It is required when `amount_type` is `fixed`.
|
3560
|
+
attr_accessor :amount
|
3561
|
+
# 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.
|
3562
|
+
attr_accessor :amount_type
|
3563
|
+
# Date, in YYYY-MM-DD format, after which payments will not be collected. Defaults to no end date.
|
3564
|
+
attr_accessor :end_date
|
3565
|
+
# The periodicity at which payments will be collected.
|
3566
|
+
attr_accessor :payment_schedule
|
3567
|
+
# 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.
|
3568
|
+
attr_accessor :payments_per_period
|
3569
|
+
# The purpose for which payments are made. Defaults to retail.
|
3570
|
+
attr_accessor :purpose
|
3571
|
+
# Date, in YYYY-MM-DD format, from which payments will be collected. Defaults to confirmation time.
|
3572
|
+
attr_accessor :start_date
|
3573
|
+
|
3574
|
+
def initialize(
|
3575
|
+
amount: nil,
|
3576
|
+
amount_type: nil,
|
3577
|
+
end_date: nil,
|
3578
|
+
payment_schedule: nil,
|
3579
|
+
payments_per_period: nil,
|
3580
|
+
purpose: nil,
|
3581
|
+
start_date: nil
|
3582
|
+
)
|
3583
|
+
@amount = amount
|
3584
|
+
@amount_type = amount_type
|
3585
|
+
@end_date = end_date
|
3586
|
+
@payment_schedule = payment_schedule
|
3587
|
+
@payments_per_period = payments_per_period
|
3588
|
+
@purpose = purpose
|
3589
|
+
@start_date = start_date
|
3590
|
+
end
|
3591
|
+
end
|
3592
|
+
# Additional fields for Mandate creation.
|
3593
|
+
attr_accessor :mandate_options
|
3594
|
+
|
3595
|
+
def initialize(mandate_options: nil)
|
3596
|
+
@mandate_options = mandate_options
|
3093
3597
|
end
|
3094
3598
|
end
|
3095
3599
|
|
@@ -3115,13 +3619,27 @@ module Stripe
|
|
3115
3619
|
class Filters < Stripe::RequestParams
|
3116
3620
|
# The account subcategories to use to filter for selectable accounts. Valid subcategories are `checking` and `savings`.
|
3117
3621
|
attr_accessor :account_subcategories
|
3622
|
+
# ID of the institution to use to filter for selectable accounts.
|
3623
|
+
attr_accessor :institution
|
3118
3624
|
|
3119
|
-
def initialize(account_subcategories: nil)
|
3625
|
+
def initialize(account_subcategories: nil, institution: nil)
|
3120
3626
|
@account_subcategories = account_subcategories
|
3627
|
+
@institution = institution
|
3628
|
+
end
|
3629
|
+
end
|
3630
|
+
|
3631
|
+
class ManualEntry < Stripe::RequestParams
|
3632
|
+
# Settings for configuring manual entry of account details.
|
3633
|
+
attr_accessor :mode
|
3634
|
+
|
3635
|
+
def initialize(mode: nil)
|
3636
|
+
@mode = mode
|
3121
3637
|
end
|
3122
3638
|
end
|
3123
3639
|
# Provide filters for the linked accounts that the customer can select for the payment method.
|
3124
3640
|
attr_accessor :filters
|
3641
|
+
# Customize manual entry behavior
|
3642
|
+
attr_accessor :manual_entry
|
3125
3643
|
# 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`.
|
3126
3644
|
attr_accessor :permissions
|
3127
3645
|
# List of data features that you would like to retrieve upon account creation.
|
@@ -3129,8 +3647,15 @@ module Stripe
|
|
3129
3647
|
# 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.
|
3130
3648
|
attr_accessor :return_url
|
3131
3649
|
|
3132
|
-
def initialize(
|
3650
|
+
def initialize(
|
3651
|
+
filters: nil,
|
3652
|
+
manual_entry: nil,
|
3653
|
+
permissions: nil,
|
3654
|
+
prefetch: nil,
|
3655
|
+
return_url: nil
|
3656
|
+
)
|
3133
3657
|
@filters = filters
|
3658
|
+
@manual_entry = manual_entry
|
3134
3659
|
@permissions = permissions
|
3135
3660
|
@prefetch = prefetch
|
3136
3661
|
@return_url = return_url
|
@@ -3191,6 +3716,8 @@ module Stripe
|
|
3191
3716
|
attr_accessor :link
|
3192
3717
|
# If this is a `paypal` PaymentMethod, this sub-hash contains details about the PayPal payment method options.
|
3193
3718
|
attr_accessor :paypal
|
3719
|
+
# If this is a `payto` SetupIntent, this sub-hash contains details about the PayTo payment method options.
|
3720
|
+
attr_accessor :payto
|
3194
3721
|
# If this is a `sepa_debit` SetupIntent, this sub-hash contains details about the SEPA Debit payment method options.
|
3195
3722
|
attr_accessor :sepa_debit
|
3196
3723
|
# If this is a `us_bank_account` SetupIntent, this sub-hash contains details about the US bank account payment method options.
|
@@ -3205,6 +3732,7 @@ module Stripe
|
|
3205
3732
|
klarna: nil,
|
3206
3733
|
link: nil,
|
3207
3734
|
paypal: nil,
|
3735
|
+
payto: nil,
|
3208
3736
|
sepa_debit: nil,
|
3209
3737
|
us_bank_account: nil
|
3210
3738
|
)
|
@@ -3216,6 +3744,7 @@ module Stripe
|
|
3216
3744
|
@klarna = klarna
|
3217
3745
|
@link = link
|
3218
3746
|
@paypal = paypal
|
3747
|
+
@payto = payto
|
3219
3748
|
@sepa_debit = sepa_debit
|
3220
3749
|
@us_bank_account = us_bank_account
|
3221
3750
|
end
|