stripe 15.3.0 → 15.4.0.pre.beta.1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- checksums.yaml +4 -4
- data/API_VERSION +1 -1
- data/CHANGELOG.md +1594 -667
- data/README.md +1 -1
- data/VERSION +1 -1
- data/lib/stripe/api_requestor.rb +28 -0
- data/lib/stripe/api_version.rb +1 -2
- data/lib/stripe/errors.rb +54 -0
- data/lib/stripe/event_types.rb +98 -0
- data/lib/stripe/events/v2_core_account_closed_event.rb +21 -0
- data/lib/stripe/events/v2_core_account_created_event.rb +21 -0
- data/lib/stripe/events/v2_core_account_including_configuration_customer_capability_status_updated_event.rb +23 -0
- data/lib/stripe/events/v2_core_account_including_configuration_customer_updated_event.rb +21 -0
- data/lib/stripe/events/v2_core_account_including_configuration_merchant_capability_status_updated_event.rb +23 -0
- data/lib/stripe/events/v2_core_account_including_configuration_merchant_updated_event.rb +21 -0
- data/lib/stripe/events/v2_core_account_including_configuration_recipient_capability_status_updated_event.rb +23 -0
- data/lib/stripe/events/v2_core_account_including_configuration_recipient_updated_event.rb +21 -0
- data/lib/stripe/events/v2_core_account_including_defaults_updated_event.rb +21 -0
- data/lib/stripe/events/v2_core_account_including_identity_updated_event.rb +21 -0
- data/lib/stripe/events/v2_core_account_including_requirements_updated_event.rb +21 -0
- data/lib/stripe/events/v2_core_account_link_completed_event.rb +13 -0
- data/lib/stripe/events/v2_core_account_person_created_event.rb +23 -0
- data/lib/stripe/events/v2_core_account_person_deleted_event.rb +23 -0
- data/lib/stripe/events/v2_core_account_person_updated_event.rb +23 -0
- data/lib/stripe/events/v2_core_account_updated_event.rb +21 -0
- data/lib/stripe/events/v2_money_management_adjustment_created_event.rb +21 -0
- data/lib/stripe/events/v2_money_management_financial_account_created_event.rb +21 -0
- data/lib/stripe/events/v2_money_management_financial_account_updated_event.rb +21 -0
- data/lib/stripe/events/v2_money_management_financial_address_activated_event.rb +21 -0
- data/lib/stripe/events/v2_money_management_financial_address_failed_event.rb +21 -0
- data/lib/stripe/events/v2_money_management_inbound_transfer_available_event.rb +23 -0
- data/lib/stripe/events/v2_money_management_inbound_transfer_bank_debit_failed_event.rb +21 -0
- data/lib/stripe/events/v2_money_management_inbound_transfer_bank_debit_processing_event.rb +21 -0
- data/lib/stripe/events/v2_money_management_inbound_transfer_bank_debit_queued_event.rb +21 -0
- data/lib/stripe/events/v2_money_management_inbound_transfer_bank_debit_returned_event.rb +21 -0
- data/lib/stripe/events/v2_money_management_inbound_transfer_bank_debit_succeeded_event.rb +21 -0
- data/lib/stripe/events/v2_money_management_outbound_payment_canceled_event.rb +21 -0
- data/lib/stripe/events/v2_money_management_outbound_payment_created_event.rb +21 -0
- data/lib/stripe/events/v2_money_management_outbound_payment_failed_event.rb +21 -0
- data/lib/stripe/events/v2_money_management_outbound_payment_posted_event.rb +21 -0
- data/lib/stripe/events/v2_money_management_outbound_payment_returned_event.rb +21 -0
- data/lib/stripe/events/v2_money_management_outbound_payment_updated_event.rb +21 -0
- data/lib/stripe/events/v2_money_management_outbound_transfer_canceled_event.rb +21 -0
- data/lib/stripe/events/v2_money_management_outbound_transfer_created_event.rb +21 -0
- data/lib/stripe/events/v2_money_management_outbound_transfer_failed_event.rb +21 -0
- data/lib/stripe/events/v2_money_management_outbound_transfer_posted_event.rb +21 -0
- data/lib/stripe/events/v2_money_management_outbound_transfer_returned_event.rb +21 -0
- data/lib/stripe/events/v2_money_management_outbound_transfer_updated_event.rb +21 -0
- data/lib/stripe/events/v2_money_management_received_credit_available_event.rb +23 -0
- data/lib/stripe/events/v2_money_management_received_credit_failed_event.rb +21 -0
- data/lib/stripe/events/v2_money_management_received_credit_returned_event.rb +21 -0
- data/lib/stripe/events/v2_money_management_received_credit_succeeded_event.rb +21 -0
- data/lib/stripe/events/v2_money_management_received_debit_canceled_event.rb +21 -0
- data/lib/stripe/events/v2_money_management_received_debit_failed_event.rb +21 -0
- data/lib/stripe/events/v2_money_management_received_debit_pending_event.rb +21 -0
- data/lib/stripe/events/v2_money_management_received_debit_succeeded_event.rb +21 -0
- data/lib/stripe/events/v2_money_management_received_debit_updated_event.rb +21 -0
- data/lib/stripe/events/v2_money_management_transaction_created_event.rb +21 -0
- data/lib/stripe/events/v2_money_management_transaction_updated_event.rb +21 -0
- data/lib/stripe/events/v2_off_session_payment_requires_capture_event.rb +21 -0
- data/lib/stripe/events/v2_payments_off_session_payment_authorization_attempt_failed_event.rb +21 -0
- data/lib/stripe/events/v2_payments_off_session_payment_authorization_attempt_started_event.rb +21 -0
- data/lib/stripe/events/v2_payments_off_session_payment_canceled_event.rb +21 -0
- data/lib/stripe/events/v2_payments_off_session_payment_created_event.rb +21 -0
- data/lib/stripe/events/v2_payments_off_session_payment_failed_event.rb +21 -0
- data/lib/stripe/events/v2_payments_off_session_payment_succeeded_event.rb +21 -0
- data/lib/stripe/object_types.rb +50 -0
- data/lib/stripe/resources/account.rb +653 -1
- data/lib/stripe/resources/account_notice.rb +123 -0
- data/lib/stripe/resources/account_session.rb +256 -1
- data/lib/stripe/resources/balance_settings.rb +105 -0
- data/lib/stripe/resources/billing/credit_balance_summary.rb +2 -0
- data/lib/stripe/resources/billing/credit_balance_transaction.rb +4 -0
- data/lib/stripe/resources/billing/credit_grant.rb +10 -0
- data/lib/stripe/resources/billing_portal/session.rb +6 -0
- data/lib/stripe/resources/capital/financing_offer.rb +179 -0
- data/lib/stripe/resources/capital/financing_summary.rb +55 -0
- data/lib/stripe/resources/capital/financing_transaction.rb +114 -0
- data/lib/stripe/resources/card.rb +2 -0
- data/lib/stripe/resources/cash_balance.rb +2 -0
- data/lib/stripe/resources/charge.rb +1538 -0
- data/lib/stripe/resources/checkout/session.rb +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 +1755 -0
- data/lib/stripe/resources/v2/core/account_link.rb +56 -0
- data/lib/stripe/resources/v2/core/person.rb +276 -0
- data/lib/stripe/resources/v2/core/vault/gb_bank_account.rb +74 -0
- data/lib/stripe/resources/v2/core/vault/us_bank_account.rb +39 -0
- data/lib/stripe/resources/v2/financial_address_credit_simulation.rb +20 -0
- data/lib/stripe/resources/v2/financial_address_generated_microdeposits.rb +22 -0
- data/lib/stripe/resources/v2/money_management/adjustment.rb +51 -0
- data/lib/stripe/resources/v2/money_management/financial_account.rb +58 -0
- data/lib/stripe/resources/v2/money_management/financial_address.rb +68 -0
- data/lib/stripe/resources/v2/money_management/inbound_transfer.rb +94 -0
- data/lib/stripe/resources/v2/money_management/outbound_payment.rb +129 -0
- data/lib/stripe/resources/v2/money_management/outbound_payment_quote.rb +82 -0
- data/lib/stripe/resources/v2/money_management/outbound_setup_intent.rb +45 -0
- data/lib/stripe/resources/v2/money_management/outbound_transfer.rb +117 -0
- data/lib/stripe/resources/v2/money_management/payout_method.rb +75 -0
- data/lib/stripe/resources/v2/money_management/payout_methods_bank_account_spec.rb +49 -0
- data/lib/stripe/resources/v2/money_management/received_credit.rb +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 +104 -0
- data/lib/stripe/services/account_notice_service.rb +101 -0
- data/lib/stripe/services/account_service.rb +562 -1
- data/lib/stripe/services/account_session_service.rb +226 -1
- data/lib/stripe/services/balance_settings_service.rb +96 -0
- data/lib/stripe/services/billing/credit_balance_summary_service.rb +4 -1
- data/lib/stripe/services/billing/credit_balance_transaction_service.rb +4 -0
- data/lib/stripe/services/billing/credit_grant_service.rb +8 -0
- data/lib/stripe/services/billing_portal/session_service.rb +4 -0
- data/lib/stripe/services/capital/financing_offer_service.rb +112 -0
- data/lib/stripe/services/capital/financing_summary_service.rb +28 -0
- data/lib/stripe/services/capital/financing_transaction_service.rb +79 -0
- data/lib/stripe/services/capital_service.rb +15 -0
- data/lib/stripe/services/charge_service.rb +1418 -0
- data/lib/stripe/services/checkout/session_service.rb +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 +4170 -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 +43 -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 +193855 -0
- data/stripe.gemspec +4 -1
- metadata +161 -324
- data/lib/stripe/services/invoice_payment_service.rb +0 -83
- data/rbi/stripe/resources/account.rbi +0 -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
@@ -244,6 +244,31 @@ module Stripe
|
|
244
244
|
class Paypal < Stripe::StripeObject
|
245
245
|
# The PayPal Billing Agreement ID (BAID). This is an ID generated by PayPal which represents the mandate between the merchant and the customer.
|
246
246
|
attr_reader :billing_agreement_id
|
247
|
+
# Three-letter [ISO currency code](https://www.iso.org/iso-4217-currency-codes.html), in lowercase. Must be a [supported currency](https://stripe.com/docs/currencies).
|
248
|
+
attr_reader :currency
|
249
|
+
# 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.
|
250
|
+
attr_reader :subsellers
|
251
|
+
end
|
252
|
+
|
253
|
+
class Payto < Stripe::StripeObject
|
254
|
+
class MandateOptions < Stripe::StripeObject
|
255
|
+
# Amount that will be collected. It is required when `amount_type` is `fixed`.
|
256
|
+
attr_reader :amount
|
257
|
+
# 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.
|
258
|
+
attr_reader :amount_type
|
259
|
+
# Date, in YYYY-MM-DD format, after which payments will not be collected. Defaults to no end date.
|
260
|
+
attr_reader :end_date
|
261
|
+
# The periodicity at which payments will be collected.
|
262
|
+
attr_reader :payment_schedule
|
263
|
+
# 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.
|
264
|
+
attr_reader :payments_per_period
|
265
|
+
# The purpose for which payments are made. Defaults to retail.
|
266
|
+
attr_reader :purpose
|
267
|
+
# Date, in YYYY-MM-DD format, from which payments will be collected. Defaults to confirmation time.
|
268
|
+
attr_reader :start_date
|
269
|
+
end
|
270
|
+
# Attribute for field mandate_options
|
271
|
+
attr_reader :mandate_options
|
247
272
|
end
|
248
273
|
|
249
274
|
class SepaDebit < Stripe::StripeObject
|
@@ -260,9 +285,18 @@ module Stripe
|
|
260
285
|
class Filters < Stripe::StripeObject
|
261
286
|
# The account subcategories to use to filter for possible accounts to link. Valid subcategories are `checking` and `savings`.
|
262
287
|
attr_reader :account_subcategories
|
288
|
+
# The institution to use to filter for possible accounts to link.
|
289
|
+
attr_reader :institution
|
290
|
+
end
|
291
|
+
|
292
|
+
class ManualEntry < Stripe::StripeObject
|
293
|
+
# Settings for configuring manual entry of account details.
|
294
|
+
attr_reader :mode
|
263
295
|
end
|
264
296
|
# Attribute for field filters
|
265
297
|
attr_reader :filters
|
298
|
+
# Attribute for field manual_entry
|
299
|
+
attr_reader :manual_entry
|
266
300
|
# The list of permissions to request. The `payment_method` permission must be included.
|
267
301
|
attr_reader :permissions
|
268
302
|
# Data features requested to be retrieved upon account creation.
|
@@ -298,6 +332,8 @@ module Stripe
|
|
298
332
|
attr_reader :link
|
299
333
|
# Attribute for field paypal
|
300
334
|
attr_reader :paypal
|
335
|
+
# Attribute for field payto
|
336
|
+
attr_reader :payto
|
301
337
|
# Attribute for field sepa_debit
|
302
338
|
attr_reader :sepa_debit
|
303
339
|
# Attribute for field us_bank_account
|
@@ -330,6 +366,8 @@ module Stripe
|
|
330
366
|
attr_accessor :created
|
331
367
|
# Only return SetupIntents for the customer specified by this customer ID.
|
332
368
|
attr_accessor :customer
|
369
|
+
# Only return SetupIntents for the account specified by this customer ID.
|
370
|
+
attr_accessor :customer_account
|
333
371
|
# 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.
|
334
372
|
attr_accessor :ending_before
|
335
373
|
# Specifies which fields in the response should be expanded.
|
@@ -345,6 +383,7 @@ module Stripe
|
|
345
383
|
attach_to_self: nil,
|
346
384
|
created: nil,
|
347
385
|
customer: nil,
|
386
|
+
customer_account: nil,
|
348
387
|
ending_before: nil,
|
349
388
|
expand: nil,
|
350
389
|
limit: nil,
|
@@ -354,6 +393,7 @@ module Stripe
|
|
354
393
|
@attach_to_self = attach_to_self
|
355
394
|
@created = created
|
356
395
|
@customer = customer
|
396
|
+
@customer_account = customer_account
|
357
397
|
@ending_before = ending_before
|
358
398
|
@expand = expand
|
359
399
|
@limit = limit
|
@@ -553,8 +593,18 @@ module Stripe
|
|
553
593
|
end
|
554
594
|
|
555
595
|
class Giropay < Stripe::RequestParams; end
|
596
|
+
class Gopay < Stripe::RequestParams; end
|
556
597
|
class Grabpay < Stripe::RequestParams; end
|
557
598
|
|
599
|
+
class IdBankTransfer < Stripe::RequestParams
|
600
|
+
# Bank where the account is held.
|
601
|
+
attr_accessor :bank
|
602
|
+
|
603
|
+
def initialize(bank: nil)
|
604
|
+
@bank = bank
|
605
|
+
end
|
606
|
+
end
|
607
|
+
|
558
608
|
class Ideal < Stripe::RequestParams
|
559
609
|
# The customer's bank. Only use this parameter for existing customers. Don't use it for new customers.
|
560
610
|
attr_accessor :bank
|
@@ -593,6 +643,7 @@ module Stripe
|
|
593
643
|
class Konbini < Stripe::RequestParams; end
|
594
644
|
class KrCard < Stripe::RequestParams; end
|
595
645
|
class Link < Stripe::RequestParams; end
|
646
|
+
class MbWay < Stripe::RequestParams; end
|
596
647
|
class Mobilepay < Stripe::RequestParams; end
|
597
648
|
class Multibanco < Stripe::RequestParams; end
|
598
649
|
|
@@ -651,8 +702,25 @@ module Stripe
|
|
651
702
|
class Payco < Stripe::RequestParams; end
|
652
703
|
class Paynow < Stripe::RequestParams; end
|
653
704
|
class Paypal < Stripe::RequestParams; end
|
705
|
+
|
706
|
+
class Payto < Stripe::RequestParams
|
707
|
+
# The account number for the bank account.
|
708
|
+
attr_accessor :account_number
|
709
|
+
# Bank-State-Branch number of the bank account.
|
710
|
+
attr_accessor :bsb_number
|
711
|
+
# The PayID alias for the bank account.
|
712
|
+
attr_accessor :pay_id
|
713
|
+
|
714
|
+
def initialize(account_number: nil, bsb_number: nil, pay_id: nil)
|
715
|
+
@account_number = account_number
|
716
|
+
@bsb_number = bsb_number
|
717
|
+
@pay_id = pay_id
|
718
|
+
end
|
719
|
+
end
|
720
|
+
|
654
721
|
class Pix < Stripe::RequestParams; end
|
655
722
|
class Promptpay < Stripe::RequestParams; end
|
723
|
+
class Qris < Stripe::RequestParams; end
|
656
724
|
|
657
725
|
class RadarOptions < Stripe::RequestParams
|
658
726
|
# 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.
|
@@ -663,6 +731,29 @@ module Stripe
|
|
663
731
|
end
|
664
732
|
end
|
665
733
|
|
734
|
+
class Rechnung < Stripe::RequestParams
|
735
|
+
class Dob < Stripe::RequestParams
|
736
|
+
# The day of birth, between 1 and 31.
|
737
|
+
attr_accessor :day
|
738
|
+
# The month of birth, between 1 and 12.
|
739
|
+
attr_accessor :month
|
740
|
+
# The four-digit year of birth.
|
741
|
+
attr_accessor :year
|
742
|
+
|
743
|
+
def initialize(day: nil, month: nil, year: nil)
|
744
|
+
@day = day
|
745
|
+
@month = month
|
746
|
+
@year = year
|
747
|
+
end
|
748
|
+
end
|
749
|
+
# Customer's date of birth
|
750
|
+
attr_accessor :dob
|
751
|
+
|
752
|
+
def initialize(dob: nil)
|
753
|
+
@dob = dob
|
754
|
+
end
|
755
|
+
end
|
756
|
+
|
666
757
|
class RevolutPay < Stripe::RequestParams; end
|
667
758
|
class SamsungPay < Stripe::RequestParams; end
|
668
759
|
class Satispay < Stripe::RequestParams; end
|
@@ -676,6 +767,8 @@ module Stripe
|
|
676
767
|
end
|
677
768
|
end
|
678
769
|
|
770
|
+
class Shopeepay < Stripe::RequestParams; end
|
771
|
+
|
679
772
|
class Sofort < Stripe::RequestParams
|
680
773
|
# Two-letter ISO code representing the country the bank account is located in.
|
681
774
|
attr_accessor :country
|
@@ -685,6 +778,18 @@ module Stripe
|
|
685
778
|
end
|
686
779
|
end
|
687
780
|
|
781
|
+
class StripeBalance < Stripe::RequestParams
|
782
|
+
# The connected account ID whose Stripe balance to use as the source of payment
|
783
|
+
attr_accessor :account
|
784
|
+
# The [source_type](https://docs.stripe.com/api/balance/balance_object#balance_object-available-source_types) of the balance
|
785
|
+
attr_accessor :source_type
|
786
|
+
|
787
|
+
def initialize(account: nil, source_type: nil)
|
788
|
+
@account = account
|
789
|
+
@source_type = source_type
|
790
|
+
end
|
791
|
+
end
|
792
|
+
|
688
793
|
class Swish < Stripe::RequestParams; end
|
689
794
|
class Twint < Stripe::RequestParams; end
|
690
795
|
|
@@ -757,8 +862,12 @@ module Stripe
|
|
757
862
|
attr_accessor :fpx
|
758
863
|
# If this is a `giropay` PaymentMethod, this hash contains details about the Giropay payment method.
|
759
864
|
attr_accessor :giropay
|
865
|
+
# If this is a Gopay PaymentMethod, this hash contains details about the Gopay payment method.
|
866
|
+
attr_accessor :gopay
|
760
867
|
# If this is a `grabpay` PaymentMethod, this hash contains details about the GrabPay payment method.
|
761
868
|
attr_accessor :grabpay
|
869
|
+
# If this is an `IdBankTransfer` PaymentMethod, this hash contains details about the IdBankTransfer payment method.
|
870
|
+
attr_accessor :id_bank_transfer
|
762
871
|
# If this is an `ideal` PaymentMethod, this hash contains details about the iDEAL payment method.
|
763
872
|
attr_accessor :ideal
|
764
873
|
# If this is an `interac_present` PaymentMethod, this hash contains details about the Interac Present payment method.
|
@@ -773,6 +882,8 @@ module Stripe
|
|
773
882
|
attr_accessor :kr_card
|
774
883
|
# If this is an `Link` PaymentMethod, this hash contains details about the Link payment method.
|
775
884
|
attr_accessor :link
|
885
|
+
# If this is a MB WAY PaymentMethod, this hash contains details about the MB WAY payment method.
|
886
|
+
attr_accessor :mb_way
|
776
887
|
# 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`.
|
777
888
|
attr_accessor :metadata
|
778
889
|
# If this is a `mobilepay` PaymentMethod, this hash contains details about the MobilePay payment method.
|
@@ -795,12 +906,18 @@ module Stripe
|
|
795
906
|
attr_accessor :paynow
|
796
907
|
# If this is a `paypal` PaymentMethod, this hash contains details about the PayPal payment method.
|
797
908
|
attr_accessor :paypal
|
909
|
+
# If this is a `payto` PaymentMethod, this hash contains details about the PayTo payment method.
|
910
|
+
attr_accessor :payto
|
798
911
|
# If this is a `pix` PaymentMethod, this hash contains details about the Pix payment method.
|
799
912
|
attr_accessor :pix
|
800
913
|
# If this is a `promptpay` PaymentMethod, this hash contains details about the PromptPay payment method.
|
801
914
|
attr_accessor :promptpay
|
915
|
+
# If this is a `qris` PaymentMethod, this hash contains details about the QRIS payment method.
|
916
|
+
attr_accessor :qris
|
802
917
|
# Options to configure Radar. See [Radar Session](https://stripe.com/docs/radar/radar-session) for more information.
|
803
918
|
attr_accessor :radar_options
|
919
|
+
# If this is a `rechnung` PaymentMethod, this hash contains details about the Rechnung payment method.
|
920
|
+
attr_accessor :rechnung
|
804
921
|
# If this is a `revolut_pay` PaymentMethod, this hash contains details about the Revolut Pay payment method.
|
805
922
|
attr_accessor :revolut_pay
|
806
923
|
# If this is a `samsung_pay` PaymentMethod, this hash contains details about the SamsungPay payment method.
|
@@ -809,8 +926,12 @@ module Stripe
|
|
809
926
|
attr_accessor :satispay
|
810
927
|
# If this is a `sepa_debit` PaymentMethod, this hash contains details about the SEPA debit bank account.
|
811
928
|
attr_accessor :sepa_debit
|
929
|
+
# If this is a Shopeepay PaymentMethod, this hash contains details about the Shopeepay payment method.
|
930
|
+
attr_accessor :shopeepay
|
812
931
|
# If this is a `sofort` PaymentMethod, this hash contains details about the SOFORT payment method.
|
813
932
|
attr_accessor :sofort
|
933
|
+
# This hash contains details about the Stripe balance payment method.
|
934
|
+
attr_accessor :stripe_balance
|
814
935
|
# If this is a `swish` PaymentMethod, this hash contains details about the Swish payment method.
|
815
936
|
attr_accessor :swish
|
816
937
|
# If this is a TWINT PaymentMethod, this hash contains details about the TWINT payment method.
|
@@ -845,7 +966,9 @@ module Stripe
|
|
845
966
|
eps: nil,
|
846
967
|
fpx: nil,
|
847
968
|
giropay: nil,
|
969
|
+
gopay: nil,
|
848
970
|
grabpay: nil,
|
971
|
+
id_bank_transfer: nil,
|
849
972
|
ideal: nil,
|
850
973
|
interac_present: nil,
|
851
974
|
kakao_pay: nil,
|
@@ -853,6 +976,7 @@ module Stripe
|
|
853
976
|
konbini: nil,
|
854
977
|
kr_card: nil,
|
855
978
|
link: nil,
|
979
|
+
mb_way: nil,
|
856
980
|
metadata: nil,
|
857
981
|
mobilepay: nil,
|
858
982
|
multibanco: nil,
|
@@ -864,14 +988,19 @@ module Stripe
|
|
864
988
|
payco: nil,
|
865
989
|
paynow: nil,
|
866
990
|
paypal: nil,
|
991
|
+
payto: nil,
|
867
992
|
pix: nil,
|
868
993
|
promptpay: nil,
|
994
|
+
qris: nil,
|
869
995
|
radar_options: nil,
|
996
|
+
rechnung: nil,
|
870
997
|
revolut_pay: nil,
|
871
998
|
samsung_pay: nil,
|
872
999
|
satispay: nil,
|
873
1000
|
sepa_debit: nil,
|
1001
|
+
shopeepay: nil,
|
874
1002
|
sofort: nil,
|
1003
|
+
stripe_balance: nil,
|
875
1004
|
swish: nil,
|
876
1005
|
twint: nil,
|
877
1006
|
type: nil,
|
@@ -899,7 +1028,9 @@ module Stripe
|
|
899
1028
|
@eps = eps
|
900
1029
|
@fpx = fpx
|
901
1030
|
@giropay = giropay
|
1031
|
+
@gopay = gopay
|
902
1032
|
@grabpay = grabpay
|
1033
|
+
@id_bank_transfer = id_bank_transfer
|
903
1034
|
@ideal = ideal
|
904
1035
|
@interac_present = interac_present
|
905
1036
|
@kakao_pay = kakao_pay
|
@@ -907,6 +1038,7 @@ module Stripe
|
|
907
1038
|
@konbini = konbini
|
908
1039
|
@kr_card = kr_card
|
909
1040
|
@link = link
|
1041
|
+
@mb_way = mb_way
|
910
1042
|
@metadata = metadata
|
911
1043
|
@mobilepay = mobilepay
|
912
1044
|
@multibanco = multibanco
|
@@ -918,14 +1050,19 @@ module Stripe
|
|
918
1050
|
@payco = payco
|
919
1051
|
@paynow = paynow
|
920
1052
|
@paypal = paypal
|
1053
|
+
@payto = payto
|
921
1054
|
@pix = pix
|
922
1055
|
@promptpay = promptpay
|
1056
|
+
@qris = qris
|
923
1057
|
@radar_options = radar_options
|
1058
|
+
@rechnung = rechnung
|
924
1059
|
@revolut_pay = revolut_pay
|
925
1060
|
@samsung_pay = samsung_pay
|
926
1061
|
@satispay = satispay
|
927
1062
|
@sepa_debit = sepa_debit
|
1063
|
+
@shopeepay = shopeepay
|
928
1064
|
@sofort = sofort
|
1065
|
+
@stripe_balance = stripe_balance
|
929
1066
|
@swish = swish
|
930
1067
|
@twint = twint
|
931
1068
|
@type = type
|
@@ -1241,9 +1378,58 @@ module Stripe
|
|
1241
1378
|
class Paypal < Stripe::RequestParams
|
1242
1379
|
# The PayPal Billing Agreement ID (BAID). This is an ID generated by PayPal which represents the mandate between the merchant and the customer.
|
1243
1380
|
attr_accessor :billing_agreement_id
|
1381
|
+
# Attribute for param field currency
|
1382
|
+
attr_accessor :currency
|
1383
|
+
# 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.
|
1384
|
+
attr_accessor :subsellers
|
1244
1385
|
|
1245
|
-
def initialize(billing_agreement_id: nil)
|
1386
|
+
def initialize(billing_agreement_id: nil, currency: nil, subsellers: nil)
|
1246
1387
|
@billing_agreement_id = billing_agreement_id
|
1388
|
+
@currency = currency
|
1389
|
+
@subsellers = subsellers
|
1390
|
+
end
|
1391
|
+
end
|
1392
|
+
|
1393
|
+
class Payto < Stripe::RequestParams
|
1394
|
+
class MandateOptions < Stripe::RequestParams
|
1395
|
+
# Amount that will be collected. It is required when `amount_type` is `fixed`.
|
1396
|
+
attr_accessor :amount
|
1397
|
+
# 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.
|
1398
|
+
attr_accessor :amount_type
|
1399
|
+
# Date, in YYYY-MM-DD format, after which payments will not be collected. Defaults to no end date.
|
1400
|
+
attr_accessor :end_date
|
1401
|
+
# The periodicity at which payments will be collected.
|
1402
|
+
attr_accessor :payment_schedule
|
1403
|
+
# 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.
|
1404
|
+
attr_accessor :payments_per_period
|
1405
|
+
# The purpose for which payments are made. Defaults to retail.
|
1406
|
+
attr_accessor :purpose
|
1407
|
+
# Date, in YYYY-MM-DD format, from which payments will be collected. Defaults to confirmation time.
|
1408
|
+
attr_accessor :start_date
|
1409
|
+
|
1410
|
+
def initialize(
|
1411
|
+
amount: nil,
|
1412
|
+
amount_type: nil,
|
1413
|
+
end_date: nil,
|
1414
|
+
payment_schedule: nil,
|
1415
|
+
payments_per_period: nil,
|
1416
|
+
purpose: nil,
|
1417
|
+
start_date: nil
|
1418
|
+
)
|
1419
|
+
@amount = amount
|
1420
|
+
@amount_type = amount_type
|
1421
|
+
@end_date = end_date
|
1422
|
+
@payment_schedule = payment_schedule
|
1423
|
+
@payments_per_period = payments_per_period
|
1424
|
+
@purpose = purpose
|
1425
|
+
@start_date = start_date
|
1426
|
+
end
|
1427
|
+
end
|
1428
|
+
# Additional fields for Mandate creation.
|
1429
|
+
attr_accessor :mandate_options
|
1430
|
+
|
1431
|
+
def initialize(mandate_options: nil)
|
1432
|
+
@mandate_options = mandate_options
|
1247
1433
|
end
|
1248
1434
|
end
|
1249
1435
|
|
@@ -1269,13 +1455,27 @@ module Stripe
|
|
1269
1455
|
class Filters < Stripe::RequestParams
|
1270
1456
|
# The account subcategories to use to filter for selectable accounts. Valid subcategories are `checking` and `savings`.
|
1271
1457
|
attr_accessor :account_subcategories
|
1458
|
+
# ID of the institution to use to filter for selectable accounts.
|
1459
|
+
attr_accessor :institution
|
1272
1460
|
|
1273
|
-
def initialize(account_subcategories: nil)
|
1461
|
+
def initialize(account_subcategories: nil, institution: nil)
|
1274
1462
|
@account_subcategories = account_subcategories
|
1463
|
+
@institution = institution
|
1464
|
+
end
|
1465
|
+
end
|
1466
|
+
|
1467
|
+
class ManualEntry < Stripe::RequestParams
|
1468
|
+
# Settings for configuring manual entry of account details.
|
1469
|
+
attr_accessor :mode
|
1470
|
+
|
1471
|
+
def initialize(mode: nil)
|
1472
|
+
@mode = mode
|
1275
1473
|
end
|
1276
1474
|
end
|
1277
1475
|
# Provide filters for the linked accounts that the customer can select for the payment method.
|
1278
1476
|
attr_accessor :filters
|
1477
|
+
# Customize manual entry behavior
|
1478
|
+
attr_accessor :manual_entry
|
1279
1479
|
# 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`.
|
1280
1480
|
attr_accessor :permissions
|
1281
1481
|
# List of data features that you would like to retrieve upon account creation.
|
@@ -1283,8 +1483,15 @@ module Stripe
|
|
1283
1483
|
# 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.
|
1284
1484
|
attr_accessor :return_url
|
1285
1485
|
|
1286
|
-
def initialize(
|
1486
|
+
def initialize(
|
1487
|
+
filters: nil,
|
1488
|
+
manual_entry: nil,
|
1489
|
+
permissions: nil,
|
1490
|
+
prefetch: nil,
|
1491
|
+
return_url: nil
|
1492
|
+
)
|
1287
1493
|
@filters = filters
|
1494
|
+
@manual_entry = manual_entry
|
1288
1495
|
@permissions = permissions
|
1289
1496
|
@prefetch = prefetch
|
1290
1497
|
@return_url = return_url
|
@@ -1345,6 +1552,8 @@ module Stripe
|
|
1345
1552
|
attr_accessor :link
|
1346
1553
|
# If this is a `paypal` PaymentMethod, this sub-hash contains details about the PayPal payment method options.
|
1347
1554
|
attr_accessor :paypal
|
1555
|
+
# If this is a `payto` SetupIntent, this sub-hash contains details about the PayTo payment method options.
|
1556
|
+
attr_accessor :payto
|
1348
1557
|
# If this is a `sepa_debit` SetupIntent, this sub-hash contains details about the SEPA Debit payment method options.
|
1349
1558
|
attr_accessor :sepa_debit
|
1350
1559
|
# If this is a `us_bank_account` SetupIntent, this sub-hash contains details about the US bank account payment method options.
|
@@ -1359,6 +1568,7 @@ module Stripe
|
|
1359
1568
|
klarna: nil,
|
1360
1569
|
link: nil,
|
1361
1570
|
paypal: nil,
|
1571
|
+
payto: nil,
|
1362
1572
|
sepa_debit: nil,
|
1363
1573
|
us_bank_account: nil
|
1364
1574
|
)
|
@@ -1370,6 +1580,7 @@ module Stripe
|
|
1370
1580
|
@klarna = klarna
|
1371
1581
|
@link = link
|
1372
1582
|
@paypal = paypal
|
1583
|
+
@payto = payto
|
1373
1584
|
@sepa_debit = sepa_debit
|
1374
1585
|
@us_bank_account = us_bank_account
|
1375
1586
|
end
|
@@ -1402,6 +1613,10 @@ module Stripe
|
|
1402
1613
|
#
|
1403
1614
|
# 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.
|
1404
1615
|
attr_accessor :customer
|
1616
|
+
# ID of the Account this SetupIntent belongs to, if one exists.
|
1617
|
+
#
|
1618
|
+
# 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.
|
1619
|
+
attr_accessor :customer_account
|
1405
1620
|
# An arbitrary string attached to the object. Often useful for displaying to users.
|
1406
1621
|
attr_accessor :description
|
1407
1622
|
# Specifies which fields in the response should be expanded.
|
@@ -1444,6 +1659,7 @@ module Stripe
|
|
1444
1659
|
confirm: nil,
|
1445
1660
|
confirmation_token: nil,
|
1446
1661
|
customer: nil,
|
1662
|
+
customer_account: nil,
|
1447
1663
|
description: nil,
|
1448
1664
|
expand: nil,
|
1449
1665
|
flow_directions: nil,
|
@@ -1465,6 +1681,7 @@ module Stripe
|
|
1465
1681
|
@confirm = confirm
|
1466
1682
|
@confirmation_token = confirmation_token
|
1467
1683
|
@customer = customer
|
1684
|
+
@customer_account = customer_account
|
1468
1685
|
@description = description
|
1469
1686
|
@expand = expand
|
1470
1687
|
@flow_directions = flow_directions
|
@@ -1621,8 +1838,18 @@ module Stripe
|
|
1621
1838
|
end
|
1622
1839
|
|
1623
1840
|
class Giropay < Stripe::RequestParams; end
|
1841
|
+
class Gopay < Stripe::RequestParams; end
|
1624
1842
|
class Grabpay < Stripe::RequestParams; end
|
1625
1843
|
|
1844
|
+
class IdBankTransfer < Stripe::RequestParams
|
1845
|
+
# Bank where the account is held.
|
1846
|
+
attr_accessor :bank
|
1847
|
+
|
1848
|
+
def initialize(bank: nil)
|
1849
|
+
@bank = bank
|
1850
|
+
end
|
1851
|
+
end
|
1852
|
+
|
1626
1853
|
class Ideal < Stripe::RequestParams
|
1627
1854
|
# The customer's bank. Only use this parameter for existing customers. Don't use it for new customers.
|
1628
1855
|
attr_accessor :bank
|
@@ -1661,6 +1888,7 @@ module Stripe
|
|
1661
1888
|
class Konbini < Stripe::RequestParams; end
|
1662
1889
|
class KrCard < Stripe::RequestParams; end
|
1663
1890
|
class Link < Stripe::RequestParams; end
|
1891
|
+
class MbWay < Stripe::RequestParams; end
|
1664
1892
|
class Mobilepay < Stripe::RequestParams; end
|
1665
1893
|
class Multibanco < Stripe::RequestParams; end
|
1666
1894
|
|
@@ -1719,8 +1947,25 @@ module Stripe
|
|
1719
1947
|
class Payco < Stripe::RequestParams; end
|
1720
1948
|
class Paynow < Stripe::RequestParams; end
|
1721
1949
|
class Paypal < Stripe::RequestParams; end
|
1950
|
+
|
1951
|
+
class Payto < Stripe::RequestParams
|
1952
|
+
# The account number for the bank account.
|
1953
|
+
attr_accessor :account_number
|
1954
|
+
# Bank-State-Branch number of the bank account.
|
1955
|
+
attr_accessor :bsb_number
|
1956
|
+
# The PayID alias for the bank account.
|
1957
|
+
attr_accessor :pay_id
|
1958
|
+
|
1959
|
+
def initialize(account_number: nil, bsb_number: nil, pay_id: nil)
|
1960
|
+
@account_number = account_number
|
1961
|
+
@bsb_number = bsb_number
|
1962
|
+
@pay_id = pay_id
|
1963
|
+
end
|
1964
|
+
end
|
1965
|
+
|
1722
1966
|
class Pix < Stripe::RequestParams; end
|
1723
1967
|
class Promptpay < Stripe::RequestParams; end
|
1968
|
+
class Qris < Stripe::RequestParams; end
|
1724
1969
|
|
1725
1970
|
class RadarOptions < Stripe::RequestParams
|
1726
1971
|
# 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.
|
@@ -1731,6 +1976,29 @@ module Stripe
|
|
1731
1976
|
end
|
1732
1977
|
end
|
1733
1978
|
|
1979
|
+
class Rechnung < Stripe::RequestParams
|
1980
|
+
class Dob < Stripe::RequestParams
|
1981
|
+
# The day of birth, between 1 and 31.
|
1982
|
+
attr_accessor :day
|
1983
|
+
# The month of birth, between 1 and 12.
|
1984
|
+
attr_accessor :month
|
1985
|
+
# The four-digit year of birth.
|
1986
|
+
attr_accessor :year
|
1987
|
+
|
1988
|
+
def initialize(day: nil, month: nil, year: nil)
|
1989
|
+
@day = day
|
1990
|
+
@month = month
|
1991
|
+
@year = year
|
1992
|
+
end
|
1993
|
+
end
|
1994
|
+
# Customer's date of birth
|
1995
|
+
attr_accessor :dob
|
1996
|
+
|
1997
|
+
def initialize(dob: nil)
|
1998
|
+
@dob = dob
|
1999
|
+
end
|
2000
|
+
end
|
2001
|
+
|
1734
2002
|
class RevolutPay < Stripe::RequestParams; end
|
1735
2003
|
class SamsungPay < Stripe::RequestParams; end
|
1736
2004
|
class Satispay < Stripe::RequestParams; end
|
@@ -1744,6 +2012,8 @@ module Stripe
|
|
1744
2012
|
end
|
1745
2013
|
end
|
1746
2014
|
|
2015
|
+
class Shopeepay < Stripe::RequestParams; end
|
2016
|
+
|
1747
2017
|
class Sofort < Stripe::RequestParams
|
1748
2018
|
# Two-letter ISO code representing the country the bank account is located in.
|
1749
2019
|
attr_accessor :country
|
@@ -1753,6 +2023,18 @@ module Stripe
|
|
1753
2023
|
end
|
1754
2024
|
end
|
1755
2025
|
|
2026
|
+
class StripeBalance < Stripe::RequestParams
|
2027
|
+
# The connected account ID whose Stripe balance to use as the source of payment
|
2028
|
+
attr_accessor :account
|
2029
|
+
# The [source_type](https://docs.stripe.com/api/balance/balance_object#balance_object-available-source_types) of the balance
|
2030
|
+
attr_accessor :source_type
|
2031
|
+
|
2032
|
+
def initialize(account: nil, source_type: nil)
|
2033
|
+
@account = account
|
2034
|
+
@source_type = source_type
|
2035
|
+
end
|
2036
|
+
end
|
2037
|
+
|
1756
2038
|
class Swish < Stripe::RequestParams; end
|
1757
2039
|
class Twint < Stripe::RequestParams; end
|
1758
2040
|
|
@@ -1825,8 +2107,12 @@ module Stripe
|
|
1825
2107
|
attr_accessor :fpx
|
1826
2108
|
# If this is a `giropay` PaymentMethod, this hash contains details about the Giropay payment method.
|
1827
2109
|
attr_accessor :giropay
|
2110
|
+
# If this is a Gopay PaymentMethod, this hash contains details about the Gopay payment method.
|
2111
|
+
attr_accessor :gopay
|
1828
2112
|
# If this is a `grabpay` PaymentMethod, this hash contains details about the GrabPay payment method.
|
1829
2113
|
attr_accessor :grabpay
|
2114
|
+
# If this is an `IdBankTransfer` PaymentMethod, this hash contains details about the IdBankTransfer payment method.
|
2115
|
+
attr_accessor :id_bank_transfer
|
1830
2116
|
# If this is an `ideal` PaymentMethod, this hash contains details about the iDEAL payment method.
|
1831
2117
|
attr_accessor :ideal
|
1832
2118
|
# If this is an `interac_present` PaymentMethod, this hash contains details about the Interac Present payment method.
|
@@ -1841,6 +2127,8 @@ module Stripe
|
|
1841
2127
|
attr_accessor :kr_card
|
1842
2128
|
# If this is an `Link` PaymentMethod, this hash contains details about the Link payment method.
|
1843
2129
|
attr_accessor :link
|
2130
|
+
# If this is a MB WAY PaymentMethod, this hash contains details about the MB WAY payment method.
|
2131
|
+
attr_accessor :mb_way
|
1844
2132
|
# 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`.
|
1845
2133
|
attr_accessor :metadata
|
1846
2134
|
# If this is a `mobilepay` PaymentMethod, this hash contains details about the MobilePay payment method.
|
@@ -1863,12 +2151,18 @@ module Stripe
|
|
1863
2151
|
attr_accessor :paynow
|
1864
2152
|
# If this is a `paypal` PaymentMethod, this hash contains details about the PayPal payment method.
|
1865
2153
|
attr_accessor :paypal
|
2154
|
+
# If this is a `payto` PaymentMethod, this hash contains details about the PayTo payment method.
|
2155
|
+
attr_accessor :payto
|
1866
2156
|
# If this is a `pix` PaymentMethod, this hash contains details about the Pix payment method.
|
1867
2157
|
attr_accessor :pix
|
1868
2158
|
# If this is a `promptpay` PaymentMethod, this hash contains details about the PromptPay payment method.
|
1869
2159
|
attr_accessor :promptpay
|
2160
|
+
# If this is a `qris` PaymentMethod, this hash contains details about the QRIS payment method.
|
2161
|
+
attr_accessor :qris
|
1870
2162
|
# Options to configure Radar. See [Radar Session](https://stripe.com/docs/radar/radar-session) for more information.
|
1871
2163
|
attr_accessor :radar_options
|
2164
|
+
# If this is a `rechnung` PaymentMethod, this hash contains details about the Rechnung payment method.
|
2165
|
+
attr_accessor :rechnung
|
1872
2166
|
# If this is a `revolut_pay` PaymentMethod, this hash contains details about the Revolut Pay payment method.
|
1873
2167
|
attr_accessor :revolut_pay
|
1874
2168
|
# If this is a `samsung_pay` PaymentMethod, this hash contains details about the SamsungPay payment method.
|
@@ -1877,8 +2171,12 @@ module Stripe
|
|
1877
2171
|
attr_accessor :satispay
|
1878
2172
|
# If this is a `sepa_debit` PaymentMethod, this hash contains details about the SEPA debit bank account.
|
1879
2173
|
attr_accessor :sepa_debit
|
2174
|
+
# If this is a Shopeepay PaymentMethod, this hash contains details about the Shopeepay payment method.
|
2175
|
+
attr_accessor :shopeepay
|
1880
2176
|
# If this is a `sofort` PaymentMethod, this hash contains details about the SOFORT payment method.
|
1881
2177
|
attr_accessor :sofort
|
2178
|
+
# This hash contains details about the Stripe balance payment method.
|
2179
|
+
attr_accessor :stripe_balance
|
1882
2180
|
# If this is a `swish` PaymentMethod, this hash contains details about the Swish payment method.
|
1883
2181
|
attr_accessor :swish
|
1884
2182
|
# If this is a TWINT PaymentMethod, this hash contains details about the TWINT payment method.
|
@@ -1913,7 +2211,9 @@ module Stripe
|
|
1913
2211
|
eps: nil,
|
1914
2212
|
fpx: nil,
|
1915
2213
|
giropay: nil,
|
2214
|
+
gopay: nil,
|
1916
2215
|
grabpay: nil,
|
2216
|
+
id_bank_transfer: nil,
|
1917
2217
|
ideal: nil,
|
1918
2218
|
interac_present: nil,
|
1919
2219
|
kakao_pay: nil,
|
@@ -1921,6 +2221,7 @@ module Stripe
|
|
1921
2221
|
konbini: nil,
|
1922
2222
|
kr_card: nil,
|
1923
2223
|
link: nil,
|
2224
|
+
mb_way: nil,
|
1924
2225
|
metadata: nil,
|
1925
2226
|
mobilepay: nil,
|
1926
2227
|
multibanco: nil,
|
@@ -1932,14 +2233,19 @@ module Stripe
|
|
1932
2233
|
payco: nil,
|
1933
2234
|
paynow: nil,
|
1934
2235
|
paypal: nil,
|
2236
|
+
payto: nil,
|
1935
2237
|
pix: nil,
|
1936
2238
|
promptpay: nil,
|
2239
|
+
qris: nil,
|
1937
2240
|
radar_options: nil,
|
2241
|
+
rechnung: nil,
|
1938
2242
|
revolut_pay: nil,
|
1939
2243
|
samsung_pay: nil,
|
1940
2244
|
satispay: nil,
|
1941
2245
|
sepa_debit: nil,
|
2246
|
+
shopeepay: nil,
|
1942
2247
|
sofort: nil,
|
2248
|
+
stripe_balance: nil,
|
1943
2249
|
swish: nil,
|
1944
2250
|
twint: nil,
|
1945
2251
|
type: nil,
|
@@ -1967,7 +2273,9 @@ module Stripe
|
|
1967
2273
|
@eps = eps
|
1968
2274
|
@fpx = fpx
|
1969
2275
|
@giropay = giropay
|
2276
|
+
@gopay = gopay
|
1970
2277
|
@grabpay = grabpay
|
2278
|
+
@id_bank_transfer = id_bank_transfer
|
1971
2279
|
@ideal = ideal
|
1972
2280
|
@interac_present = interac_present
|
1973
2281
|
@kakao_pay = kakao_pay
|
@@ -1975,6 +2283,7 @@ module Stripe
|
|
1975
2283
|
@konbini = konbini
|
1976
2284
|
@kr_card = kr_card
|
1977
2285
|
@link = link
|
2286
|
+
@mb_way = mb_way
|
1978
2287
|
@metadata = metadata
|
1979
2288
|
@mobilepay = mobilepay
|
1980
2289
|
@multibanco = multibanco
|
@@ -1986,14 +2295,19 @@ module Stripe
|
|
1986
2295
|
@payco = payco
|
1987
2296
|
@paynow = paynow
|
1988
2297
|
@paypal = paypal
|
2298
|
+
@payto = payto
|
1989
2299
|
@pix = pix
|
1990
2300
|
@promptpay = promptpay
|
2301
|
+
@qris = qris
|
1991
2302
|
@radar_options = radar_options
|
2303
|
+
@rechnung = rechnung
|
1992
2304
|
@revolut_pay = revolut_pay
|
1993
2305
|
@samsung_pay = samsung_pay
|
1994
2306
|
@satispay = satispay
|
1995
2307
|
@sepa_debit = sepa_debit
|
2308
|
+
@shopeepay = shopeepay
|
1996
2309
|
@sofort = sofort
|
2310
|
+
@stripe_balance = stripe_balance
|
1997
2311
|
@swish = swish
|
1998
2312
|
@twint = twint
|
1999
2313
|
@type = type
|
@@ -2309,9 +2623,58 @@ module Stripe
|
|
2309
2623
|
class Paypal < Stripe::RequestParams
|
2310
2624
|
# The PayPal Billing Agreement ID (BAID). This is an ID generated by PayPal which represents the mandate between the merchant and the customer.
|
2311
2625
|
attr_accessor :billing_agreement_id
|
2626
|
+
# Attribute for param field currency
|
2627
|
+
attr_accessor :currency
|
2628
|
+
# 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.
|
2629
|
+
attr_accessor :subsellers
|
2312
2630
|
|
2313
|
-
def initialize(billing_agreement_id: nil)
|
2631
|
+
def initialize(billing_agreement_id: nil, currency: nil, subsellers: nil)
|
2314
2632
|
@billing_agreement_id = billing_agreement_id
|
2633
|
+
@currency = currency
|
2634
|
+
@subsellers = subsellers
|
2635
|
+
end
|
2636
|
+
end
|
2637
|
+
|
2638
|
+
class Payto < Stripe::RequestParams
|
2639
|
+
class MandateOptions < Stripe::RequestParams
|
2640
|
+
# Amount that will be collected. It is required when `amount_type` is `fixed`.
|
2641
|
+
attr_accessor :amount
|
2642
|
+
# 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.
|
2643
|
+
attr_accessor :amount_type
|
2644
|
+
# Date, in YYYY-MM-DD format, after which payments will not be collected. Defaults to no end date.
|
2645
|
+
attr_accessor :end_date
|
2646
|
+
# The periodicity at which payments will be collected.
|
2647
|
+
attr_accessor :payment_schedule
|
2648
|
+
# 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.
|
2649
|
+
attr_accessor :payments_per_period
|
2650
|
+
# The purpose for which payments are made. Defaults to retail.
|
2651
|
+
attr_accessor :purpose
|
2652
|
+
# Date, in YYYY-MM-DD format, from which payments will be collected. Defaults to confirmation time.
|
2653
|
+
attr_accessor :start_date
|
2654
|
+
|
2655
|
+
def initialize(
|
2656
|
+
amount: nil,
|
2657
|
+
amount_type: nil,
|
2658
|
+
end_date: nil,
|
2659
|
+
payment_schedule: nil,
|
2660
|
+
payments_per_period: nil,
|
2661
|
+
purpose: nil,
|
2662
|
+
start_date: nil
|
2663
|
+
)
|
2664
|
+
@amount = amount
|
2665
|
+
@amount_type = amount_type
|
2666
|
+
@end_date = end_date
|
2667
|
+
@payment_schedule = payment_schedule
|
2668
|
+
@payments_per_period = payments_per_period
|
2669
|
+
@purpose = purpose
|
2670
|
+
@start_date = start_date
|
2671
|
+
end
|
2672
|
+
end
|
2673
|
+
# Additional fields for Mandate creation.
|
2674
|
+
attr_accessor :mandate_options
|
2675
|
+
|
2676
|
+
def initialize(mandate_options: nil)
|
2677
|
+
@mandate_options = mandate_options
|
2315
2678
|
end
|
2316
2679
|
end
|
2317
2680
|
|
@@ -2337,13 +2700,27 @@ module Stripe
|
|
2337
2700
|
class Filters < Stripe::RequestParams
|
2338
2701
|
# The account subcategories to use to filter for selectable accounts. Valid subcategories are `checking` and `savings`.
|
2339
2702
|
attr_accessor :account_subcategories
|
2703
|
+
# ID of the institution to use to filter for selectable accounts.
|
2704
|
+
attr_accessor :institution
|
2340
2705
|
|
2341
|
-
def initialize(account_subcategories: nil)
|
2706
|
+
def initialize(account_subcategories: nil, institution: nil)
|
2342
2707
|
@account_subcategories = account_subcategories
|
2708
|
+
@institution = institution
|
2709
|
+
end
|
2710
|
+
end
|
2711
|
+
|
2712
|
+
class ManualEntry < Stripe::RequestParams
|
2713
|
+
# Settings for configuring manual entry of account details.
|
2714
|
+
attr_accessor :mode
|
2715
|
+
|
2716
|
+
def initialize(mode: nil)
|
2717
|
+
@mode = mode
|
2343
2718
|
end
|
2344
2719
|
end
|
2345
2720
|
# Provide filters for the linked accounts that the customer can select for the payment method.
|
2346
2721
|
attr_accessor :filters
|
2722
|
+
# Customize manual entry behavior
|
2723
|
+
attr_accessor :manual_entry
|
2347
2724
|
# 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`.
|
2348
2725
|
attr_accessor :permissions
|
2349
2726
|
# List of data features that you would like to retrieve upon account creation.
|
@@ -2351,8 +2728,15 @@ module Stripe
|
|
2351
2728
|
# 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.
|
2352
2729
|
attr_accessor :return_url
|
2353
2730
|
|
2354
|
-
def initialize(
|
2731
|
+
def initialize(
|
2732
|
+
filters: nil,
|
2733
|
+
manual_entry: nil,
|
2734
|
+
permissions: nil,
|
2735
|
+
prefetch: nil,
|
2736
|
+
return_url: nil
|
2737
|
+
)
|
2355
2738
|
@filters = filters
|
2739
|
+
@manual_entry = manual_entry
|
2356
2740
|
@permissions = permissions
|
2357
2741
|
@prefetch = prefetch
|
2358
2742
|
@return_url = return_url
|
@@ -2413,6 +2797,8 @@ module Stripe
|
|
2413
2797
|
attr_accessor :link
|
2414
2798
|
# If this is a `paypal` PaymentMethod, this sub-hash contains details about the PayPal payment method options.
|
2415
2799
|
attr_accessor :paypal
|
2800
|
+
# If this is a `payto` SetupIntent, this sub-hash contains details about the PayTo payment method options.
|
2801
|
+
attr_accessor :payto
|
2416
2802
|
# If this is a `sepa_debit` SetupIntent, this sub-hash contains details about the SEPA Debit payment method options.
|
2417
2803
|
attr_accessor :sepa_debit
|
2418
2804
|
# If this is a `us_bank_account` SetupIntent, this sub-hash contains details about the US bank account payment method options.
|
@@ -2427,6 +2813,7 @@ module Stripe
|
|
2427
2813
|
klarna: nil,
|
2428
2814
|
link: nil,
|
2429
2815
|
paypal: nil,
|
2816
|
+
payto: nil,
|
2430
2817
|
sepa_debit: nil,
|
2431
2818
|
us_bank_account: nil
|
2432
2819
|
)
|
@@ -2438,6 +2825,7 @@ module Stripe
|
|
2438
2825
|
@klarna = klarna
|
2439
2826
|
@link = link
|
2440
2827
|
@paypal = paypal
|
2828
|
+
@payto = payto
|
2441
2829
|
@sepa_debit = sepa_debit
|
2442
2830
|
@us_bank_account = us_bank_account
|
2443
2831
|
end
|
@@ -2450,6 +2838,10 @@ module Stripe
|
|
2450
2838
|
#
|
2451
2839
|
# 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.
|
2452
2840
|
attr_accessor :customer
|
2841
|
+
# ID of the Account this SetupIntent belongs to, if one exists.
|
2842
|
+
#
|
2843
|
+
# 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.
|
2844
|
+
attr_accessor :customer_account
|
2453
2845
|
# An arbitrary string attached to the object. Often useful for displaying to users.
|
2454
2846
|
attr_accessor :description
|
2455
2847
|
# Specifies which fields in the response should be expanded.
|
@@ -2475,6 +2867,7 @@ module Stripe
|
|
2475
2867
|
def initialize(
|
2476
2868
|
attach_to_self: nil,
|
2477
2869
|
customer: nil,
|
2870
|
+
customer_account: nil,
|
2478
2871
|
description: nil,
|
2479
2872
|
expand: nil,
|
2480
2873
|
flow_directions: nil,
|
@@ -2487,6 +2880,7 @@ module Stripe
|
|
2487
2880
|
)
|
2488
2881
|
@attach_to_self = attach_to_self
|
2489
2882
|
@customer = customer
|
2883
|
+
@customer_account = customer_account
|
2490
2884
|
@description = description
|
2491
2885
|
@expand = expand
|
2492
2886
|
@flow_directions = flow_directions
|
@@ -2688,8 +3082,18 @@ module Stripe
|
|
2688
3082
|
end
|
2689
3083
|
|
2690
3084
|
class Giropay < Stripe::RequestParams; end
|
3085
|
+
class Gopay < Stripe::RequestParams; end
|
2691
3086
|
class Grabpay < Stripe::RequestParams; end
|
2692
3087
|
|
3088
|
+
class IdBankTransfer < Stripe::RequestParams
|
3089
|
+
# Bank where the account is held.
|
3090
|
+
attr_accessor :bank
|
3091
|
+
|
3092
|
+
def initialize(bank: nil)
|
3093
|
+
@bank = bank
|
3094
|
+
end
|
3095
|
+
end
|
3096
|
+
|
2693
3097
|
class Ideal < Stripe::RequestParams
|
2694
3098
|
# The customer's bank. Only use this parameter for existing customers. Don't use it for new customers.
|
2695
3099
|
attr_accessor :bank
|
@@ -2728,6 +3132,7 @@ module Stripe
|
|
2728
3132
|
class Konbini < Stripe::RequestParams; end
|
2729
3133
|
class KrCard < Stripe::RequestParams; end
|
2730
3134
|
class Link < Stripe::RequestParams; end
|
3135
|
+
class MbWay < Stripe::RequestParams; end
|
2731
3136
|
class Mobilepay < Stripe::RequestParams; end
|
2732
3137
|
class Multibanco < Stripe::RequestParams; end
|
2733
3138
|
|
@@ -2786,8 +3191,25 @@ module Stripe
|
|
2786
3191
|
class Payco < Stripe::RequestParams; end
|
2787
3192
|
class Paynow < Stripe::RequestParams; end
|
2788
3193
|
class Paypal < Stripe::RequestParams; end
|
3194
|
+
|
3195
|
+
class Payto < Stripe::RequestParams
|
3196
|
+
# The account number for the bank account.
|
3197
|
+
attr_accessor :account_number
|
3198
|
+
# Bank-State-Branch number of the bank account.
|
3199
|
+
attr_accessor :bsb_number
|
3200
|
+
# The PayID alias for the bank account.
|
3201
|
+
attr_accessor :pay_id
|
3202
|
+
|
3203
|
+
def initialize(account_number: nil, bsb_number: nil, pay_id: nil)
|
3204
|
+
@account_number = account_number
|
3205
|
+
@bsb_number = bsb_number
|
3206
|
+
@pay_id = pay_id
|
3207
|
+
end
|
3208
|
+
end
|
3209
|
+
|
2789
3210
|
class Pix < Stripe::RequestParams; end
|
2790
3211
|
class Promptpay < Stripe::RequestParams; end
|
3212
|
+
class Qris < Stripe::RequestParams; end
|
2791
3213
|
|
2792
3214
|
class RadarOptions < Stripe::RequestParams
|
2793
3215
|
# 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.
|
@@ -2798,6 +3220,29 @@ module Stripe
|
|
2798
3220
|
end
|
2799
3221
|
end
|
2800
3222
|
|
3223
|
+
class Rechnung < Stripe::RequestParams
|
3224
|
+
class Dob < Stripe::RequestParams
|
3225
|
+
# The day of birth, between 1 and 31.
|
3226
|
+
attr_accessor :day
|
3227
|
+
# The month of birth, between 1 and 12.
|
3228
|
+
attr_accessor :month
|
3229
|
+
# The four-digit year of birth.
|
3230
|
+
attr_accessor :year
|
3231
|
+
|
3232
|
+
def initialize(day: nil, month: nil, year: nil)
|
3233
|
+
@day = day
|
3234
|
+
@month = month
|
3235
|
+
@year = year
|
3236
|
+
end
|
3237
|
+
end
|
3238
|
+
# Customer's date of birth
|
3239
|
+
attr_accessor :dob
|
3240
|
+
|
3241
|
+
def initialize(dob: nil)
|
3242
|
+
@dob = dob
|
3243
|
+
end
|
3244
|
+
end
|
3245
|
+
|
2801
3246
|
class RevolutPay < Stripe::RequestParams; end
|
2802
3247
|
class SamsungPay < Stripe::RequestParams; end
|
2803
3248
|
class Satispay < Stripe::RequestParams; end
|
@@ -2811,6 +3256,8 @@ module Stripe
|
|
2811
3256
|
end
|
2812
3257
|
end
|
2813
3258
|
|
3259
|
+
class Shopeepay < Stripe::RequestParams; end
|
3260
|
+
|
2814
3261
|
class Sofort < Stripe::RequestParams
|
2815
3262
|
# Two-letter ISO code representing the country the bank account is located in.
|
2816
3263
|
attr_accessor :country
|
@@ -2820,6 +3267,18 @@ module Stripe
|
|
2820
3267
|
end
|
2821
3268
|
end
|
2822
3269
|
|
3270
|
+
class StripeBalance < Stripe::RequestParams
|
3271
|
+
# The connected account ID whose Stripe balance to use as the source of payment
|
3272
|
+
attr_accessor :account
|
3273
|
+
# The [source_type](https://docs.stripe.com/api/balance/balance_object#balance_object-available-source_types) of the balance
|
3274
|
+
attr_accessor :source_type
|
3275
|
+
|
3276
|
+
def initialize(account: nil, source_type: nil)
|
3277
|
+
@account = account
|
3278
|
+
@source_type = source_type
|
3279
|
+
end
|
3280
|
+
end
|
3281
|
+
|
2823
3282
|
class Swish < Stripe::RequestParams; end
|
2824
3283
|
class Twint < Stripe::RequestParams; end
|
2825
3284
|
|
@@ -2892,8 +3351,12 @@ module Stripe
|
|
2892
3351
|
attr_accessor :fpx
|
2893
3352
|
# If this is a `giropay` PaymentMethod, this hash contains details about the Giropay payment method.
|
2894
3353
|
attr_accessor :giropay
|
3354
|
+
# If this is a Gopay PaymentMethod, this hash contains details about the Gopay payment method.
|
3355
|
+
attr_accessor :gopay
|
2895
3356
|
# If this is a `grabpay` PaymentMethod, this hash contains details about the GrabPay payment method.
|
2896
3357
|
attr_accessor :grabpay
|
3358
|
+
# If this is an `IdBankTransfer` PaymentMethod, this hash contains details about the IdBankTransfer payment method.
|
3359
|
+
attr_accessor :id_bank_transfer
|
2897
3360
|
# If this is an `ideal` PaymentMethod, this hash contains details about the iDEAL payment method.
|
2898
3361
|
attr_accessor :ideal
|
2899
3362
|
# If this is an `interac_present` PaymentMethod, this hash contains details about the Interac Present payment method.
|
@@ -2908,6 +3371,8 @@ module Stripe
|
|
2908
3371
|
attr_accessor :kr_card
|
2909
3372
|
# If this is an `Link` PaymentMethod, this hash contains details about the Link payment method.
|
2910
3373
|
attr_accessor :link
|
3374
|
+
# If this is a MB WAY PaymentMethod, this hash contains details about the MB WAY payment method.
|
3375
|
+
attr_accessor :mb_way
|
2911
3376
|
# 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`.
|
2912
3377
|
attr_accessor :metadata
|
2913
3378
|
# If this is a `mobilepay` PaymentMethod, this hash contains details about the MobilePay payment method.
|
@@ -2930,12 +3395,18 @@ module Stripe
|
|
2930
3395
|
attr_accessor :paynow
|
2931
3396
|
# If this is a `paypal` PaymentMethod, this hash contains details about the PayPal payment method.
|
2932
3397
|
attr_accessor :paypal
|
3398
|
+
# If this is a `payto` PaymentMethod, this hash contains details about the PayTo payment method.
|
3399
|
+
attr_accessor :payto
|
2933
3400
|
# If this is a `pix` PaymentMethod, this hash contains details about the Pix payment method.
|
2934
3401
|
attr_accessor :pix
|
2935
3402
|
# If this is a `promptpay` PaymentMethod, this hash contains details about the PromptPay payment method.
|
2936
3403
|
attr_accessor :promptpay
|
3404
|
+
# If this is a `qris` PaymentMethod, this hash contains details about the QRIS payment method.
|
3405
|
+
attr_accessor :qris
|
2937
3406
|
# Options to configure Radar. See [Radar Session](https://stripe.com/docs/radar/radar-session) for more information.
|
2938
3407
|
attr_accessor :radar_options
|
3408
|
+
# If this is a `rechnung` PaymentMethod, this hash contains details about the Rechnung payment method.
|
3409
|
+
attr_accessor :rechnung
|
2939
3410
|
# If this is a `revolut_pay` PaymentMethod, this hash contains details about the Revolut Pay payment method.
|
2940
3411
|
attr_accessor :revolut_pay
|
2941
3412
|
# If this is a `samsung_pay` PaymentMethod, this hash contains details about the SamsungPay payment method.
|
@@ -2944,8 +3415,12 @@ module Stripe
|
|
2944
3415
|
attr_accessor :satispay
|
2945
3416
|
# If this is a `sepa_debit` PaymentMethod, this hash contains details about the SEPA debit bank account.
|
2946
3417
|
attr_accessor :sepa_debit
|
3418
|
+
# If this is a Shopeepay PaymentMethod, this hash contains details about the Shopeepay payment method.
|
3419
|
+
attr_accessor :shopeepay
|
2947
3420
|
# If this is a `sofort` PaymentMethod, this hash contains details about the SOFORT payment method.
|
2948
3421
|
attr_accessor :sofort
|
3422
|
+
# This hash contains details about the Stripe balance payment method.
|
3423
|
+
attr_accessor :stripe_balance
|
2949
3424
|
# If this is a `swish` PaymentMethod, this hash contains details about the Swish payment method.
|
2950
3425
|
attr_accessor :swish
|
2951
3426
|
# If this is a TWINT PaymentMethod, this hash contains details about the TWINT payment method.
|
@@ -2980,7 +3455,9 @@ module Stripe
|
|
2980
3455
|
eps: nil,
|
2981
3456
|
fpx: nil,
|
2982
3457
|
giropay: nil,
|
3458
|
+
gopay: nil,
|
2983
3459
|
grabpay: nil,
|
3460
|
+
id_bank_transfer: nil,
|
2984
3461
|
ideal: nil,
|
2985
3462
|
interac_present: nil,
|
2986
3463
|
kakao_pay: nil,
|
@@ -2988,6 +3465,7 @@ module Stripe
|
|
2988
3465
|
konbini: nil,
|
2989
3466
|
kr_card: nil,
|
2990
3467
|
link: nil,
|
3468
|
+
mb_way: nil,
|
2991
3469
|
metadata: nil,
|
2992
3470
|
mobilepay: nil,
|
2993
3471
|
multibanco: nil,
|
@@ -2999,14 +3477,19 @@ module Stripe
|
|
2999
3477
|
payco: nil,
|
3000
3478
|
paynow: nil,
|
3001
3479
|
paypal: nil,
|
3480
|
+
payto: nil,
|
3002
3481
|
pix: nil,
|
3003
3482
|
promptpay: nil,
|
3483
|
+
qris: nil,
|
3004
3484
|
radar_options: nil,
|
3485
|
+
rechnung: nil,
|
3005
3486
|
revolut_pay: nil,
|
3006
3487
|
samsung_pay: nil,
|
3007
3488
|
satispay: nil,
|
3008
3489
|
sepa_debit: nil,
|
3490
|
+
shopeepay: nil,
|
3009
3491
|
sofort: nil,
|
3492
|
+
stripe_balance: nil,
|
3010
3493
|
swish: nil,
|
3011
3494
|
twint: nil,
|
3012
3495
|
type: nil,
|
@@ -3034,7 +3517,9 @@ module Stripe
|
|
3034
3517
|
@eps = eps
|
3035
3518
|
@fpx = fpx
|
3036
3519
|
@giropay = giropay
|
3520
|
+
@gopay = gopay
|
3037
3521
|
@grabpay = grabpay
|
3522
|
+
@id_bank_transfer = id_bank_transfer
|
3038
3523
|
@ideal = ideal
|
3039
3524
|
@interac_present = interac_present
|
3040
3525
|
@kakao_pay = kakao_pay
|
@@ -3042,6 +3527,7 @@ module Stripe
|
|
3042
3527
|
@konbini = konbini
|
3043
3528
|
@kr_card = kr_card
|
3044
3529
|
@link = link
|
3530
|
+
@mb_way = mb_way
|
3045
3531
|
@metadata = metadata
|
3046
3532
|
@mobilepay = mobilepay
|
3047
3533
|
@multibanco = multibanco
|
@@ -3053,14 +3539,19 @@ module Stripe
|
|
3053
3539
|
@payco = payco
|
3054
3540
|
@paynow = paynow
|
3055
3541
|
@paypal = paypal
|
3542
|
+
@payto = payto
|
3056
3543
|
@pix = pix
|
3057
3544
|
@promptpay = promptpay
|
3545
|
+
@qris = qris
|
3058
3546
|
@radar_options = radar_options
|
3547
|
+
@rechnung = rechnung
|
3059
3548
|
@revolut_pay = revolut_pay
|
3060
3549
|
@samsung_pay = samsung_pay
|
3061
3550
|
@satispay = satispay
|
3062
3551
|
@sepa_debit = sepa_debit
|
3552
|
+
@shopeepay = shopeepay
|
3063
3553
|
@sofort = sofort
|
3554
|
+
@stripe_balance = stripe_balance
|
3064
3555
|
@swish = swish
|
3065
3556
|
@twint = twint
|
3066
3557
|
@type = type
|
@@ -3376,9 +3867,58 @@ module Stripe
|
|
3376
3867
|
class Paypal < Stripe::RequestParams
|
3377
3868
|
# The PayPal Billing Agreement ID (BAID). This is an ID generated by PayPal which represents the mandate between the merchant and the customer.
|
3378
3869
|
attr_accessor :billing_agreement_id
|
3870
|
+
# Attribute for param field currency
|
3871
|
+
attr_accessor :currency
|
3872
|
+
# 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.
|
3873
|
+
attr_accessor :subsellers
|
3379
3874
|
|
3380
|
-
def initialize(billing_agreement_id: nil)
|
3875
|
+
def initialize(billing_agreement_id: nil, currency: nil, subsellers: nil)
|
3381
3876
|
@billing_agreement_id = billing_agreement_id
|
3877
|
+
@currency = currency
|
3878
|
+
@subsellers = subsellers
|
3879
|
+
end
|
3880
|
+
end
|
3881
|
+
|
3882
|
+
class Payto < Stripe::RequestParams
|
3883
|
+
class MandateOptions < Stripe::RequestParams
|
3884
|
+
# Amount that will be collected. It is required when `amount_type` is `fixed`.
|
3885
|
+
attr_accessor :amount
|
3886
|
+
# 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.
|
3887
|
+
attr_accessor :amount_type
|
3888
|
+
# Date, in YYYY-MM-DD format, after which payments will not be collected. Defaults to no end date.
|
3889
|
+
attr_accessor :end_date
|
3890
|
+
# The periodicity at which payments will be collected.
|
3891
|
+
attr_accessor :payment_schedule
|
3892
|
+
# 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.
|
3893
|
+
attr_accessor :payments_per_period
|
3894
|
+
# The purpose for which payments are made. Defaults to retail.
|
3895
|
+
attr_accessor :purpose
|
3896
|
+
# Date, in YYYY-MM-DD format, from which payments will be collected. Defaults to confirmation time.
|
3897
|
+
attr_accessor :start_date
|
3898
|
+
|
3899
|
+
def initialize(
|
3900
|
+
amount: nil,
|
3901
|
+
amount_type: nil,
|
3902
|
+
end_date: nil,
|
3903
|
+
payment_schedule: nil,
|
3904
|
+
payments_per_period: nil,
|
3905
|
+
purpose: nil,
|
3906
|
+
start_date: nil
|
3907
|
+
)
|
3908
|
+
@amount = amount
|
3909
|
+
@amount_type = amount_type
|
3910
|
+
@end_date = end_date
|
3911
|
+
@payment_schedule = payment_schedule
|
3912
|
+
@payments_per_period = payments_per_period
|
3913
|
+
@purpose = purpose
|
3914
|
+
@start_date = start_date
|
3915
|
+
end
|
3916
|
+
end
|
3917
|
+
# Additional fields for Mandate creation.
|
3918
|
+
attr_accessor :mandate_options
|
3919
|
+
|
3920
|
+
def initialize(mandate_options: nil)
|
3921
|
+
@mandate_options = mandate_options
|
3382
3922
|
end
|
3383
3923
|
end
|
3384
3924
|
|
@@ -3404,13 +3944,27 @@ module Stripe
|
|
3404
3944
|
class Filters < Stripe::RequestParams
|
3405
3945
|
# The account subcategories to use to filter for selectable accounts. Valid subcategories are `checking` and `savings`.
|
3406
3946
|
attr_accessor :account_subcategories
|
3947
|
+
# ID of the institution to use to filter for selectable accounts.
|
3948
|
+
attr_accessor :institution
|
3407
3949
|
|
3408
|
-
def initialize(account_subcategories: nil)
|
3950
|
+
def initialize(account_subcategories: nil, institution: nil)
|
3409
3951
|
@account_subcategories = account_subcategories
|
3952
|
+
@institution = institution
|
3953
|
+
end
|
3954
|
+
end
|
3955
|
+
|
3956
|
+
class ManualEntry < Stripe::RequestParams
|
3957
|
+
# Settings for configuring manual entry of account details.
|
3958
|
+
attr_accessor :mode
|
3959
|
+
|
3960
|
+
def initialize(mode: nil)
|
3961
|
+
@mode = mode
|
3410
3962
|
end
|
3411
3963
|
end
|
3412
3964
|
# Provide filters for the linked accounts that the customer can select for the payment method.
|
3413
3965
|
attr_accessor :filters
|
3966
|
+
# Customize manual entry behavior
|
3967
|
+
attr_accessor :manual_entry
|
3414
3968
|
# 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`.
|
3415
3969
|
attr_accessor :permissions
|
3416
3970
|
# List of data features that you would like to retrieve upon account creation.
|
@@ -3418,8 +3972,15 @@ module Stripe
|
|
3418
3972
|
# 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.
|
3419
3973
|
attr_accessor :return_url
|
3420
3974
|
|
3421
|
-
def initialize(
|
3975
|
+
def initialize(
|
3976
|
+
filters: nil,
|
3977
|
+
manual_entry: nil,
|
3978
|
+
permissions: nil,
|
3979
|
+
prefetch: nil,
|
3980
|
+
return_url: nil
|
3981
|
+
)
|
3422
3982
|
@filters = filters
|
3983
|
+
@manual_entry = manual_entry
|
3423
3984
|
@permissions = permissions
|
3424
3985
|
@prefetch = prefetch
|
3425
3986
|
@return_url = return_url
|
@@ -3480,6 +4041,8 @@ module Stripe
|
|
3480
4041
|
attr_accessor :link
|
3481
4042
|
# If this is a `paypal` PaymentMethod, this sub-hash contains details about the PayPal payment method options.
|
3482
4043
|
attr_accessor :paypal
|
4044
|
+
# If this is a `payto` SetupIntent, this sub-hash contains details about the PayTo payment method options.
|
4045
|
+
attr_accessor :payto
|
3483
4046
|
# If this is a `sepa_debit` SetupIntent, this sub-hash contains details about the SEPA Debit payment method options.
|
3484
4047
|
attr_accessor :sepa_debit
|
3485
4048
|
# If this is a `us_bank_account` SetupIntent, this sub-hash contains details about the US bank account payment method options.
|
@@ -3494,6 +4057,7 @@ module Stripe
|
|
3494
4057
|
klarna: nil,
|
3495
4058
|
link: nil,
|
3496
4059
|
paypal: nil,
|
4060
|
+
payto: nil,
|
3497
4061
|
sepa_debit: nil,
|
3498
4062
|
us_bank_account: nil
|
3499
4063
|
)
|
@@ -3505,6 +4069,7 @@ module Stripe
|
|
3505
4069
|
@klarna = klarna
|
3506
4070
|
@link = link
|
3507
4071
|
@paypal = paypal
|
4072
|
+
@payto = payto
|
3508
4073
|
@sepa_debit = sepa_debit
|
3509
4074
|
@us_bank_account = us_bank_account
|
3510
4075
|
end
|
@@ -3586,6 +4151,10 @@ module Stripe
|
|
3586
4151
|
#
|
3587
4152
|
# 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.
|
3588
4153
|
attr_reader :customer
|
4154
|
+
# ID of the Account this SetupIntent belongs to, if one exists.
|
4155
|
+
#
|
4156
|
+
# 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.
|
4157
|
+
attr_reader :customer_account
|
3589
4158
|
# An arbitrary string attached to the object. Often useful for displaying to users.
|
3590
4159
|
attr_reader :description
|
3591
4160
|
# Indicates the directions of money movement for which this payment method is intended to be used.
|