stripe 15.1.0 → 15.2.0.pre.beta.1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- checksums.yaml +4 -4
- data/CHANGELOG.md +1561 -695
- data/VERSION +1 -1
- data/lib/stripe/api_requestor.rb +28 -0
- data/lib/stripe/api_version.rb +1 -1
- data/lib/stripe/errors.rb +54 -0
- data/lib/stripe/event_types.rb +89 -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/object_types.rb +52 -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 +299 -1
- data/lib/stripe/resources/balance_settings.rb +105 -0
- data/lib/stripe/resources/billing/credit_balance_summary.rb +2 -0
- data/lib/stripe/resources/billing/credit_balance_transaction.rb +4 -0
- data/lib/stripe/resources/billing/credit_grant.rb +10 -0
- data/lib/stripe/resources/billing/meter_error_report.rb +59 -0
- data/lib/stripe/resources/billing_portal/session.rb +6 -0
- data/lib/stripe/resources/capital/financing_offer.rb +179 -0
- data/lib/stripe/resources/capital/financing_summary.rb +55 -0
- data/lib/stripe/resources/capital/financing_transaction.rb +114 -0
- data/lib/stripe/resources/card.rb +2 -0
- data/lib/stripe/resources/cash_balance.rb +2 -0
- data/lib/stripe/resources/charge.rb +1470 -0
- data/lib/stripe/resources/checkout/session.rb +331 -3
- data/lib/stripe/resources/confirmation_token.rb +176 -0
- data/lib/stripe/resources/coupon.rb +30 -1
- data/lib/stripe/resources/credit_note.rb +10 -0
- data/lib/stripe/resources/credit_note_line_item.rb +9 -0
- data/lib/stripe/resources/customer.rb +2 -0
- data/lib/stripe/resources/customer_balance_transaction.rb +2 -0
- data/lib/stripe/resources/customer_cash_balance_transaction.rb +2 -0
- data/lib/stripe/resources/customer_session.rb +6 -1
- data/lib/stripe/resources/discount.rb +2 -0
- data/lib/stripe/resources/event.rb +31 -0
- data/lib/stripe/resources/financial_connections/account.rb +20 -1
- data/lib/stripe/resources/financial_connections/account_inferred_balance.rb +27 -0
- data/lib/stripe/resources/financial_connections/institution.rb +90 -0
- data/lib/stripe/resources/financial_connections/session.rb +62 -2
- data/lib/stripe/resources/fx_quote.rb +184 -0
- data/lib/stripe/resources/gift_cards/card.rb +208 -0
- data/lib/stripe/resources/gift_cards/transaction.rb +272 -0
- data/lib/stripe/resources/identity/verification_session.rb +10 -0
- data/lib/stripe/resources/invoice.rb +1129 -15
- 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 +2859 -0
- data/lib/stripe/resources/payment_attempt_record.rb +1078 -0
- data/lib/stripe/resources/payment_intent.rb +6036 -1214
- data/lib/stripe/resources/payment_intent_amount_details_line_item.rb +65 -0
- data/lib/stripe/resources/payment_method.rb +198 -1
- data/lib/stripe/resources/payment_method_configuration.rb +295 -0
- data/lib/stripe/resources/payment_record.rb +1607 -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 +275 -0
- data/lib/stripe/resources/privacy/redaction_job_validation_error.rb +25 -0
- data/lib/stripe/resources/product.rb +59 -0
- data/lib/stripe/resources/promotion_code.rb +10 -0
- data/lib/stripe/resources/quote.rb +2046 -6
- data/lib/stripe/resources/quote_line.rb +274 -0
- data/lib/stripe/resources/quote_preview_invoice.rb +663 -0
- data/lib/stripe/resources/quote_preview_subscription_schedule.rb +339 -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 +596 -9
- data/lib/stripe/resources/source.rb +29 -0
- data/lib/stripe/resources/subscription.rb +298 -9
- data/lib/stripe/resources/subscription_item.rb +84 -3
- data/lib/stripe/resources/subscription_schedule.rb +1013 -10
- data/lib/stripe/resources/tax/association.rb +89 -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 +406 -0
- data/lib/stripe/resources/terminal/reader_collected_data.rb +31 -0
- data/lib/stripe/resources/transfer.rb +6 -0
- data/lib/stripe/resources/treasury/financial_account.rb +22 -3
- data/lib/stripe/resources/treasury/financial_account_features.rb +2 -0
- data/lib/stripe/resources/treasury/outbound_transfer.rb +37 -0
- data/lib/stripe/resources/treasury/received_credit.rb +38 -1
- data/lib/stripe/resources/treasury/received_debit.rb +40 -1
- data/lib/stripe/resources/v2/core/account.rb +1746 -0
- data/lib/stripe/resources/v2/core/account_link.rb +56 -0
- data/lib/stripe/resources/v2/core/person.rb +276 -0
- data/lib/stripe/resources/v2/core/vault/gb_bank_account.rb +74 -0
- data/lib/stripe/resources/v2/core/vault/us_bank_account.rb +39 -0
- data/lib/stripe/resources/v2/financial_address_credit_simulation.rb +20 -0
- data/lib/stripe/resources/v2/financial_address_generated_microdeposits.rb +22 -0
- data/lib/stripe/resources/v2/money_management/adjustment.rb +51 -0
- data/lib/stripe/resources/v2/money_management/financial_account.rb +58 -0
- data/lib/stripe/resources/v2/money_management/financial_address.rb +68 -0
- data/lib/stripe/resources/v2/money_management/inbound_transfer.rb +94 -0
- data/lib/stripe/resources/v2/money_management/outbound_payment.rb +129 -0
- data/lib/stripe/resources/v2/money_management/outbound_payment_quote.rb +82 -0
- data/lib/stripe/resources/v2/money_management/outbound_setup_intent.rb +45 -0
- data/lib/stripe/resources/v2/money_management/outbound_transfer.rb +117 -0
- data/lib/stripe/resources/v2/money_management/payout_method.rb +75 -0
- data/lib/stripe/resources/v2/money_management/payout_methods_bank_account_spec.rb +49 -0
- data/lib/stripe/resources/v2/money_management/received_credit.rb +136 -0
- data/lib/stripe/resources/v2/money_management/received_debit.rb +108 -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.rb +99 -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 +269 -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 +1350 -0
- data/lib/stripe/services/checkout/session_service.rb +247 -2
- data/lib/stripe/services/coupon_service.rb +17 -1
- data/lib/stripe/services/credit_note_service.rb +4 -0
- data/lib/stripe/services/customer_session_service.rb +4 -1
- data/{rbi/stripe/services/account_external_account_service.rbi → lib/stripe/services/external_account_service.rb} +135 -123
- data/{rbi/stripe/services/tax/transaction_line_item_service.rbi → lib/stripe/services/financial_connections/account_inferred_balance_service.rb} +21 -17
- data/lib/stripe/services/financial_connections/account_service.rb +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/gift_cards/card_service.rb +170 -0
- data/lib/stripe/services/gift_cards/transaction_service.rb +209 -0
- data/lib/stripe/services/gift_cards_service.rb +14 -0
- data/lib/stripe/services/identity/verification_session_service.rb +8 -0
- data/lib/stripe/services/invoice_item_service.rb +74 -2
- data/lib/stripe/services/invoice_line_item_service.rb +33 -1
- data/lib/stripe/services/invoice_service.rb +1059 -15
- 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 +2268 -0
- data/lib/stripe/services/payment_attempt_record_service.rb +49 -0
- data/{rbi/stripe/services/quote_line_item_service.rbi → lib/stripe/services/payment_intent_amount_details_line_item_service.rb} +20 -16
- data/lib/stripe/services/payment_intent_service.rb +4631 -258
- data/lib/stripe/services/payment_method_configuration_service.rb +210 -0
- data/lib/stripe/services/payment_method_service.rb +126 -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 +231 -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/product_service.rb +38 -0
- data/lib/stripe/services/promotion_code_service.rb +8 -0
- data/{rbi/stripe/services/credit_note_line_item_service.rbi → lib/stripe/services/quote_line_service.rb} +20 -16
- data/{rbi/stripe/services/payment_link_line_item_service.rbi → lib/stripe/services/quote_preview_invoice_service.rb} +20 -16
- data/lib/stripe/services/quote_preview_subscription_schedule_service.rb +35 -0
- data/lib/stripe/services/quote_service.rb +1730 -7
- data/lib/stripe/services/setup_intent_service.rb +556 -9
- data/lib/stripe/services/subscription_item_service.rb +75 -3
- data/lib/stripe/services/subscription_schedule_service.rb +915 -10
- data/lib/stripe/services/subscription_service.rb +257 -9
- data/lib/stripe/services/tax/association_service.rb +31 -0
- data/lib/stripe/services/tax/form_service.rb +100 -0
- data/lib/stripe/services/tax_id_service.rb +8 -2
- data/lib/stripe/services/tax_service.rb +3 -1
- data/lib/stripe/services/terminal/reader_collected_data_service.rb +28 -0
- data/lib/stripe/services/terminal/reader_service.rb +180 -0
- data/lib/stripe/services/terminal_service.rb +2 -1
- data/lib/stripe/services/test_helpers/confirmation_token_service.rb +103 -0
- data/lib/stripe/services/test_helpers/terminal/reader_service.rb +43 -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 +12 -2
- data/lib/stripe/services/v2/core/account_link_service.rb +76 -0
- data/lib/stripe/services/v2/core/account_service.rb +4138 -0
- data/lib/stripe/services/v2/core/accounts/person_service.rb +1048 -0
- data/lib/stripe/services/v2/core/vault/gb_bank_account_service.rb +135 -0
- data/lib/stripe/services/v2/core/vault/us_bank_account_service.rb +109 -0
- data/lib/stripe/services/v2/core/vault_service.rb +18 -0
- data/lib/stripe/services/v2/core_service.rb +4 -1
- data/lib/stripe/services/v2/money_management/adjustment_service.rb +75 -0
- data/lib/stripe/services/v2/money_management/financial_account_service.rb +44 -0
- data/lib/stripe/services/v2/money_management/financial_address_service.rb +81 -0
- data/lib/stripe/services/v2/money_management/inbound_transfer_service.rb +126 -0
- data/lib/stripe/services/v2/money_management/outbound_payment_quote_service.rb +96 -0
- data/lib/stripe/services/v2/money_management/outbound_payment_service.rb +202 -0
- data/lib/stripe/services/v2/money_management/outbound_setup_intent_service.rb +237 -0
- data/lib/stripe/services/v2/money_management/outbound_transfer_service.rb +174 -0
- data/lib/stripe/services/v2/money_management/payout_method_service.rb +95 -0
- data/lib/stripe/services/v2/money_management/payout_methods_bank_account_spec_service.rb +32 -0
- data/lib/stripe/services/v2/money_management/received_credit_service.rb +71 -0
- data/lib/stripe/services/v2/money_management/received_debit_service.rb +44 -0
- data/lib/stripe/services/v2/money_management/transaction_entry_service.rb +70 -0
- data/lib/stripe/services/v2/money_management/transaction_service.rb +74 -0
- data/lib/stripe/services/v2/money_management_service.rb +31 -0
- data/lib/stripe/services/v2/test_helper_service.rb +15 -0
- data/lib/stripe/services/v2/test_helpers/financial_address_service.rb +50 -0
- data/lib/stripe/services/v2_services.rb +4 -2
- data/lib/stripe/services.rb +54 -1
- data/lib/stripe/stripe_configuration.rb +3 -1
- data/lib/stripe/stripe_object.rb +1 -1
- data/lib/stripe/util.rb +7 -1
- data/lib/stripe/version.rb +1 -1
- data/lib/stripe.rb +53 -0
- data/rbi/stripe.rbi +191867 -0
- data/stripe.gemspec +4 -1
- metadata +157 -324
- data/lib/stripe/services/invoice_payment_service.rb +0 -83
- data/rbi/stripe/resources/account.rbi +0 -4903
- data/rbi/stripe/resources/account_link.rbi +0 -74
- data/rbi/stripe/resources/account_session.rbi +0 -894
- data/rbi/stripe/resources/apple_pay_domain.rbi +0 -90
- data/rbi/stripe/resources/application.rbi +0 -20
- data/rbi/stripe/resources/application_fee.rbi +0 -118
- data/rbi/stripe/resources/application_fee_refund.rbi +0 -37
- data/rbi/stripe/resources/apps/secret.rbi +0 -195
- data/rbi/stripe/resources/balance.rbi +0 -180
- data/rbi/stripe/resources/balance_transaction.rbi +0 -144
- data/rbi/stripe/resources/bank_account.rbi +0 -127
- data/rbi/stripe/resources/billing/alert.rbi +0 -201
- data/rbi/stripe/resources/billing/alert_triggered.rbi +0 -28
- data/rbi/stripe/resources/billing/credit_balance_summary.rbi +0 -63
- data/rbi/stripe/resources/billing/credit_balance_transaction.rbi +0 -147
- data/rbi/stripe/resources/billing/credit_grant.rbi +0 -291
- data/rbi/stripe/resources/billing/meter.rbi +0 -226
- data/rbi/stripe/resources/billing/meter_event.rbi +0 -64
- data/rbi/stripe/resources/billing/meter_event_adjustment.rbi +0 -64
- data/rbi/stripe/resources/billing/meter_event_summary.rbi +0 -35
- data/rbi/stripe/resources/billing_portal/configuration.rbi +0 -645
- data/rbi/stripe/resources/billing_portal/session.rbi +0 -345
- data/rbi/stripe/resources/capability.rbi +0 -125
- data/rbi/stripe/resources/card.rbi +0 -125
- data/rbi/stripe/resources/cash_balance.rbi +0 -32
- data/rbi/stripe/resources/charge.rbi +0 -2057
- data/rbi/stripe/resources/checkout/session.rbi +0 -3988
- 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 -1873
- data/rbi/stripe/resources/connect_collection_transfer.rbi +0 -26
- data/rbi/stripe/resources/country_spec.rbi +0 -85
- data/rbi/stripe/resources/coupon.rbi +0 -252
- data/rbi/stripe/resources/credit_note.rbi +0 -747
- data/rbi/stripe/resources/credit_note_line_item.rbi +0 -101
- data/rbi/stripe/resources/customer.rbi +0 -1009
- data/rbi/stripe/resources/customer_balance_transaction.rbi +0 -56
- data/rbi/stripe/resources/customer_cash_balance_transaction.rbi +0 -151
- data/rbi/stripe/resources/customer_session.rbi +0 -200
- data/rbi/stripe/resources/discount.rbi +0 -53
- data/rbi/stripe/resources/dispute.rbi +0 -761
- data/rbi/stripe/resources/entitlements/active_entitlement.rbi +0 -58
- data/rbi/stripe/resources/entitlements/active_entitlement_summary.rbi +0 -23
- data/rbi/stripe/resources/entitlements/feature.rbi +0 -117
- data/rbi/stripe/resources/ephemeral_key.rbi +0 -44
- data/rbi/stripe/resources/event.rbi +0 -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 -351
- data/rbi/stripe/resources/identity/verification_session.rbi +0 -517
- data/rbi/stripe/resources/invoice.rbi +0 -3736
- data/rbi/stripe/resources/invoice_item.rbi +0 -475
- data/rbi/stripe/resources/invoice_line_item.rbi +0 -432
- data/rbi/stripe/resources/invoice_payment.rbi +0 -114
- data/rbi/stripe/resources/invoice_rendering_template.rbi +0 -104
- data/rbi/stripe/resources/issuing/authorization.rbi +0 -1283
- data/rbi/stripe/resources/issuing/card.rbi +0 -741
- data/rbi/stripe/resources/issuing/cardholder.rbi +0 -744
- data/rbi/stripe/resources/issuing/dispute.rbi +0 -913
- data/rbi/stripe/resources/issuing/personalization_design.rbi +0 -338
- data/rbi/stripe/resources/issuing/physical_bundle.rbi +0 -79
- data/rbi/stripe/resources/issuing/token.rbi +0 -226
- data/rbi/stripe/resources/issuing/transaction.rbi +0 -1061
- data/rbi/stripe/resources/line_item.rbi +0 -72
- data/rbi/stripe/resources/login_link.rbi +0 -19
- data/rbi/stripe/resources/mandate.rbi +0 -187
- data/rbi/stripe/resources/payment_intent.rbi +0 -9795
- data/rbi/stripe/resources/payment_link.rbi +0 -1801
- data/rbi/stripe/resources/payment_method.rbi +0 -1831
- data/rbi/stripe/resources/payment_method_configuration.rbi +0 -3220
- 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 -373
- data/rbi/stripe/resources/price.rbi +0 -694
- data/rbi/stripe/resources/product.rbi +0 -557
- data/rbi/stripe/resources/product_feature.rbi +0 -26
- data/rbi/stripe/resources/promotion_code.rbi +0 -261
- data/rbi/stripe/resources/quote.rbi +0 -1126
- data/rbi/stripe/resources/radar/early_fraud_warning.rbi +0 -98
- data/rbi/stripe/resources/radar/value_list.rbi +0 -170
- data/rbi/stripe/resources/radar/value_list_item.rbi +0 -131
- data/rbi/stripe/resources/refund.rbi +0 -519
- 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 -3869
- data/rbi/stripe/resources/shipping_rate.rbi +0 -305
- data/rbi/stripe/resources/sigma/scheduled_query_run.rbi +0 -75
- data/rbi/stripe/resources/source.rbi +0 -1496
- data/rbi/stripe/resources/source_mandate_notification.rbi +0 -77
- data/rbi/stripe/resources/source_transaction.rbi +0 -127
- data/rbi/stripe/resources/subscription.rbi +0 -1964
- data/rbi/stripe/resources/subscription_item.rbi +0 -370
- data/rbi/stripe/resources/subscription_schedule.rbi +0 -1495
- data/rbi/stripe/resources/tax/calculation.rbi +0 -474
- data/rbi/stripe/resources/tax/calculation_line_item.rbi +0 -88
- data/rbi/stripe/resources/tax/registration.rbi +0 -2713
- data/rbi/stripe/resources/tax/settings.rbi +0 -141
- data/rbi/stripe/resources/tax/transaction.rbi +0 -351
- data/rbi/stripe/resources/tax/transaction_line_item.rbi +0 -54
- data/rbi/stripe/resources/tax_code.rbi +0 -44
- data/rbi/stripe/resources/tax_deducted_at_source.rbi +0 -23
- data/rbi/stripe/resources/tax_id.rbi +0 -167
- data/rbi/stripe/resources/tax_rate.rbi +0 -239
- data/rbi/stripe/resources/terminal/configuration.rbi +0 -1388
- data/rbi/stripe/resources/terminal/connection_token.rbi +0 -37
- data/rbi/stripe/resources/terminal/location.rbi +0 -224
- data/rbi/stripe/resources/terminal/reader.rbi +0 -587
- data/rbi/stripe/resources/test_helpers/test_clock.rbi +0 -134
- data/rbi/stripe/resources/token.rbi +0 -1283
- data/rbi/stripe/resources/topup.rbi +0 -222
- data/rbi/stripe/resources/transfer.rbi +0 -199
- data/rbi/stripe/resources/treasury/credit_reversal.rbi +0 -119
- data/rbi/stripe/resources/treasury/debit_reversal.rbi +0 -131
- data/rbi/stripe/resources/treasury/financial_account.rbi +0 -865
- data/rbi/stripe/resources/treasury/financial_account_features.rbi +0 -260
- data/rbi/stripe/resources/treasury/inbound_transfer.rbi +0 -295
- data/rbi/stripe/resources/treasury/outbound_payment.rbi +0 -592
- data/rbi/stripe/resources/treasury/outbound_transfer.rbi +0 -431
- data/rbi/stripe/resources/treasury/received_credit.rbi +0 -302
- data/rbi/stripe/resources/treasury/received_debit.rbi +0 -256
- data/rbi/stripe/resources/treasury/transaction.rbi +0 -215
- data/rbi/stripe/resources/treasury/transaction_entry.rbi +0 -192
- data/rbi/stripe/resources/v2/amount.rbi +0 -14
- data/rbi/stripe/resources/v2/billing/meter_event.rbi +0 -37
- data/rbi/stripe/resources/v2/billing/meter_event_adjustment.rbi +0 -41
- data/rbi/stripe/resources/v2/billing/meter_event_session.rbi +0 -31
- data/rbi/stripe/resources/v2/event.rbi +0 -48
- data/rbi/stripe/resources/v2/event_destination.rbi +0 -91
- data/rbi/stripe/resources/webhook_endpoint.rbi +0 -170
- data/rbi/stripe/services/account_capability_service.rbi +0 -51
- data/rbi/stripe/services/account_link_service.rbi +0 -58
- data/rbi/stripe/services/account_login_link_service.rbi +0 -22
- data/rbi/stripe/services/account_person_service.rbi +0 -1013
- data/rbi/stripe/services/account_service.rbi +0 -4189
- data/rbi/stripe/services/account_session_service.rbi +0 -572
- data/rbi/stripe/services/apple_pay_domain_service.rbi +0 -78
- data/rbi/stripe/services/application_fee_refund_service.rbi +0 -93
- data/rbi/stripe/services/application_fee_service.rbi +0 -78
- data/rbi/stripe/services/apps/secret_service.rbi +0 -151
- data/rbi/stripe/services/apps_service.rbi +0 -9
- data/rbi/stripe/services/balance_service.rbi +0 -21
- data/rbi/stripe/services/balance_transaction_service.rbi +0 -93
- data/rbi/stripe/services/billing/alert_service.rbi +0 -152
- data/rbi/stripe/services/billing/credit_balance_summary_service.rbi +0 -68
- data/rbi/stripe/services/billing/credit_balance_transaction_service.rbi +0 -59
- data/rbi/stripe/services/billing/credit_grant_service.rbi +0 -211
- data/rbi/stripe/services/billing/meter_event_adjustment_service.rbi +0 -42
- data/rbi/stripe/services/billing/meter_event_service.rbi +0 -42
- data/rbi/stripe/services/billing/meter_event_summary_service.rbi +0 -54
- data/rbi/stripe/services/billing/meter_service.rbi +0 -163
- data/rbi/stripe/services/billing_portal/configuration_service.rbi +0 -511
- data/rbi/stripe/services/billing_portal/session_service.rbi +0 -204
- data/rbi/stripe/services/billing_portal_service.rbi +0 -10
- data/rbi/stripe/services/billing_service.rbi +0 -15
- data/rbi/stripe/services/charge_service.rbi +0 -448
- data/rbi/stripe/services/checkout/session_line_item_service.rbi +0 -33
- data/rbi/stripe/services/checkout/session_service.rbi +0 -2607
- 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 -196
- data/rbi/stripe/services/credit_note_preview_lines_service.rbi +0 -167
- data/rbi/stripe/services/credit_note_service.rbi +0 -416
- data/rbi/stripe/services/customer_balance_transaction_service.rbi +0 -92
- data/rbi/stripe/services/customer_cash_balance_service.rbi +0 -45
- data/rbi/stripe/services/customer_cash_balance_transaction_service.rbi +0 -44
- data/rbi/stripe/services/customer_funding_instructions_service.rbi +0 -59
- data/rbi/stripe/services/customer_payment_method_service.rbi +0 -57
- data/rbi/stripe/services/customer_payment_source_service.rbi +0 -232
- data/rbi/stripe/services/customer_service.rbi +0 -651
- data/rbi/stripe/services/customer_session_service.rbi +0 -116
- data/rbi/stripe/services/customer_tax_id_service.rbi +0 -72
- data/rbi/stripe/services/dispute_service.rbi +0 -424
- data/rbi/stripe/services/entitlements/active_entitlement_service.rbi +0 -55
- data/rbi/stripe/services/entitlements/feature_service.rbi +0 -107
- data/rbi/stripe/services/entitlements_service.rbi +0 -10
- data/rbi/stripe/services/ephemeral_key_service.rbi +0 -53
- data/rbi/stripe/services/event_service.rbi +0 -83
- data/rbi/stripe/services/exchange_rate_service.rbi +0 -44
- data/rbi/stripe/services/file_link_service.rbi +0 -124
- data/rbi/stripe/services/file_service.rbi +0 -116
- data/rbi/stripe/services/financial_connections/account_owner_service.rbi +0 -42
- data/rbi/stripe/services/financial_connections/account_service.rbi +0 -133
- data/rbi/stripe/services/financial_connections/session_service.rbi +0 -88
- data/rbi/stripe/services/financial_connections/transaction_service.rbi +0 -92
- data/rbi/stripe/services/financial_connections_service.rbi +0 -11
- data/rbi/stripe/services/forwarding/request_service.rbi +0 -134
- data/rbi/stripe/services/forwarding_service.rbi +0 -9
- data/rbi/stripe/services/identity/verification_report_service.rbi +0 -87
- data/rbi/stripe/services/identity/verification_session_service.rbi +0 -323
- data/rbi/stripe/services/identity_service.rbi +0 -10
- data/rbi/stripe/services/invoice_item_service.rbi +0 -368
- data/rbi/stripe/services/invoice_line_item_service.rbi +0 -259
- data/rbi/stripe/services/invoice_payment_service.rbi +0 -71
- data/rbi/stripe/services/invoice_rendering_template_service.rbi +0 -82
- data/rbi/stripe/services/invoice_service.rbi +0 -2920
- data/rbi/stripe/services/issuing/authorization_service.rbi +0 -146
- data/rbi/stripe/services/issuing/card_service.rbi +0 -495
- data/rbi/stripe/services/issuing/cardholder_service.rbi +0 -587
- data/rbi/stripe/services/issuing/dispute_service.rbi +0 -707
- data/rbi/stripe/services/issuing/personalization_design_service.rbi +0 -243
- data/rbi/stripe/services/issuing/physical_bundle_service.rbi +0 -59
- data/rbi/stripe/services/issuing/token_service.rbi +0 -99
- data/rbi/stripe/services/issuing/transaction_service.rbi +0 -105
- data/rbi/stripe/services/issuing_service.rbi +0 -16
- data/rbi/stripe/services/mandate_service.rbi +0 -20
- data/rbi/stripe/services/payment_intent_service.rbi +0 -7819
- data/rbi/stripe/services/payment_link_service.rbi +0 -1352
- data/rbi/stripe/services/payment_method_configuration_service.rbi +0 -2255
- data/rbi/stripe/services/payment_method_domain_service.rbi +0 -112
- data/rbi/stripe/services/payment_method_service.rbi +0 -846
- data/rbi/stripe/services/payout_service.rbi +0 -205
- data/rbi/stripe/services/plan_service.rbi +0 -284
- data/rbi/stripe/services/price_service.rbi +0 -546
- data/rbi/stripe/services/product_feature_service.rbi +0 -69
- data/rbi/stripe/services/product_service.rbi +0 -479
- data/rbi/stripe/services/promotion_code_service.rbi +0 -214
- data/rbi/stripe/services/quote_computed_upfront_line_items_service.rbi +0 -31
- data/rbi/stripe/services/quote_service.rbi +0 -686
- data/rbi/stripe/services/radar/early_fraud_warning_service.rbi +0 -85
- data/rbi/stripe/services/radar/value_list_item_service.rbi +0 -111
- data/rbi/stripe/services/radar/value_list_service.rbi +0 -143
- data/rbi/stripe/services/radar_service.rbi +0 -11
- data/rbi/stripe/services/refund_service.rbi +0 -185
- data/rbi/stripe/services/reporting/report_run_service.rbi +0 -135
- data/rbi/stripe/services/reporting/report_type_service.rbi +0 -35
- data/rbi/stripe/services/reporting_service.rbi +0 -10
- data/rbi/stripe/services/review_service.rbi +0 -84
- data/rbi/stripe/services/setup_attempt_service.rbi +0 -65
- data/rbi/stripe/services/setup_intent_service.rbi +0 -3605
- data/rbi/stripe/services/shipping_rate_service.rbi +0 -241
- data/rbi/stripe/services/sigma/scheduled_query_run_service.rbi +0 -46
- data/rbi/stripe/services/sigma_service.rbi +0 -9
- data/rbi/stripe/services/source_service.rbi +0 -663
- data/rbi/stripe/services/subscription_item_service.rbi +0 -324
- data/rbi/stripe/services/subscription_schedule_service.rbi +0 -1192
- data/rbi/stripe/services/subscription_service.rbi +0 -1596
- data/rbi/stripe/services/tax/calculation_service.rbi +0 -230
- data/rbi/stripe/services/tax/registration_service.rbi +0 -1845
- data/rbi/stripe/services/tax/settings_service.rbi +0 -93
- data/rbi/stripe/services/tax/transaction_service.rbi +0 -146
- data/rbi/stripe/services/tax_code_service.rbi +0 -44
- data/rbi/stripe/services/tax_id_service.rbi +0 -112
- data/rbi/stripe/services/tax_rate_service.rbi +0 -185
- data/rbi/stripe/services/tax_service.rbi +0 -12
- data/rbi/stripe/services/terminal/configuration_service.rbi +0 -1120
- data/rbi/stripe/services/terminal/connection_token_service.rbi +0 -25
- data/rbi/stripe/services/terminal/location_service.rbi +0 -184
- data/rbi/stripe/services/terminal/reader_service.rbi +0 -344
- data/rbi/stripe/services/terminal_service.rbi +0 -12
- data/rbi/stripe/services/test_helpers/confirmation_token_service.rbi +0 -805
- data/rbi/stripe/services/test_helpers/customer_service.rbi +0 -33
- data/rbi/stripe/services/test_helpers/issuing/authorization_service.rbi +0 -848
- data/rbi/stripe/services/test_helpers/issuing/card_service.rbi +0 -76
- data/rbi/stripe/services/test_helpers/issuing/personalization_design_service.rbi +0 -69
- data/rbi/stripe/services/test_helpers/issuing/transaction_service.rbi +0 -711
- data/rbi/stripe/services/test_helpers/issuing_service.rbi +0 -14
- data/rbi/stripe/services/test_helpers/refund_service.rbi +0 -22
- data/rbi/stripe/services/test_helpers/terminal/reader_service.rbi +0 -62
- data/rbi/stripe/services/test_helpers/terminal_service.rbi +0 -11
- data/rbi/stripe/services/test_helpers/test_clock_service.rbi +0 -92
- data/rbi/stripe/services/test_helpers/treasury/inbound_transfer_service.rbi +0 -64
- data/rbi/stripe/services/test_helpers/treasury/outbound_payment_service.rbi +0 -125
- data/rbi/stripe/services/test_helpers/treasury/outbound_transfer_service.rbi +0 -125
- data/rbi/stripe/services/test_helpers/treasury/received_credit_service.rbi +0 -87
- data/rbi/stripe/services/test_helpers/treasury/received_debit_service.rbi +0 -87
- data/rbi/stripe/services/test_helpers/treasury_service.rbi +0 -15
- data/rbi/stripe/services/test_helpers_service.rbi +0 -15
- data/rbi/stripe/services/token_service.rbi +0 -1257
- data/rbi/stripe/services/topup_service.rbi +0 -176
- data/rbi/stripe/services/transfer_reversal_service.rbi +0 -101
- data/rbi/stripe/services/transfer_service.rbi +0 -152
- data/rbi/stripe/services/treasury/credit_reversal_service.rbi +0 -84
- data/rbi/stripe/services/treasury/debit_reversal_service.rbi +0 -88
- data/rbi/stripe/services/treasury/financial_account_features_service.rbi +0 -198
- data/rbi/stripe/services/treasury/financial_account_service.rbi +0 -562
- data/rbi/stripe/services/treasury/inbound_transfer_service.rbi +0 -117
- data/rbi/stripe/services/treasury/outbound_payment_service.rbi +0 -304
- data/rbi/stripe/services/treasury/outbound_transfer_service.rbi +0 -157
- data/rbi/stripe/services/treasury/received_credit_service.rbi +0 -72
- data/rbi/stripe/services/treasury/received_debit_service.rbi +0 -59
- data/rbi/stripe/services/treasury/transaction_entry_service.rbi +0 -111
- data/rbi/stripe/services/treasury/transaction_service.rbi +0 -122
- data/rbi/stripe/services/treasury_service.rbi +0 -18
- data/rbi/stripe/services/v1_services.rbi +0 -77
- data/rbi/stripe/services/v2/billing/meter_event_adjustment_service.rbi +0 -39
- data/rbi/stripe/services/v2/billing/meter_event_service.rbi +0 -42
- data/rbi/stripe/services/v2/billing/meter_event_session_service.rbi +0 -20
- data/rbi/stripe/services/v2/billing/meter_event_stream_service.rbi +0 -55
- data/rbi/stripe/services/v2/billing_service.rbi +0 -14
- data/rbi/stripe/services/v2/core/event_destination_service.rbi +0 -200
- data/rbi/stripe/services/v2/core/event_service.rbi +0 -38
- data/rbi/stripe/services/v2/core_service.rbi +0 -12
- data/rbi/stripe/services/v2_services.rbi +0 -10
- data/rbi/stripe/services/webhook_endpoint_service.rbi +0 -131
@@ -29,6 +29,8 @@ module Stripe
|
|
29
29
|
attr_accessor :created
|
30
30
|
# Only return SetupIntents for the customer specified by this customer ID.
|
31
31
|
attr_accessor :customer
|
32
|
+
# Only return SetupIntents for the account specified by this customer ID.
|
33
|
+
attr_accessor :customer_account
|
32
34
|
# A cursor for use in pagination. `ending_before` is an object ID that defines your place in the list. For instance, if you make a list request and receive 100 objects, starting with `obj_bar`, your subsequent call can include `ending_before=obj_bar` in order to fetch the previous page of the list.
|
33
35
|
attr_accessor :ending_before
|
34
36
|
# Specifies which fields in the response should be expanded.
|
@@ -44,6 +46,7 @@ module Stripe
|
|
44
46
|
attach_to_self: nil,
|
45
47
|
created: nil,
|
46
48
|
customer: nil,
|
49
|
+
customer_account: nil,
|
47
50
|
ending_before: nil,
|
48
51
|
expand: nil,
|
49
52
|
limit: nil,
|
@@ -53,6 +56,7 @@ module Stripe
|
|
53
56
|
@attach_to_self = attach_to_self
|
54
57
|
@created = created
|
55
58
|
@customer = customer
|
59
|
+
@customer_account = customer_account
|
56
60
|
@ending_before = ending_before
|
57
61
|
@expand = expand
|
58
62
|
@limit = limit
|
@@ -270,9 +274,21 @@ module Stripe
|
|
270
274
|
class Giropay < Stripe::RequestParams
|
271
275
|
end
|
272
276
|
|
277
|
+
class Gopay < Stripe::RequestParams
|
278
|
+
end
|
279
|
+
|
273
280
|
class Grabpay < Stripe::RequestParams
|
274
281
|
end
|
275
282
|
|
283
|
+
class IdBankTransfer < Stripe::RequestParams
|
284
|
+
# Bank where the account is held.
|
285
|
+
attr_accessor :bank
|
286
|
+
|
287
|
+
def initialize(bank: nil)
|
288
|
+
@bank = bank
|
289
|
+
end
|
290
|
+
end
|
291
|
+
|
276
292
|
class Ideal < Stripe::RequestParams
|
277
293
|
# The customer's bank. Only use this parameter for existing customers. Don't use it for new customers.
|
278
294
|
attr_accessor :bank
|
@@ -320,6 +336,9 @@ module Stripe
|
|
320
336
|
class Link < Stripe::RequestParams
|
321
337
|
end
|
322
338
|
|
339
|
+
class MbWay < Stripe::RequestParams
|
340
|
+
end
|
341
|
+
|
323
342
|
class Mobilepay < Stripe::RequestParams
|
324
343
|
end
|
325
344
|
|
@@ -390,12 +409,30 @@ module Stripe
|
|
390
409
|
class Paypal < Stripe::RequestParams
|
391
410
|
end
|
392
411
|
|
412
|
+
class Payto < Stripe::RequestParams
|
413
|
+
# The account number for the bank account.
|
414
|
+
attr_accessor :account_number
|
415
|
+
# Bank-State-Branch number of the bank account.
|
416
|
+
attr_accessor :bsb_number
|
417
|
+
# The PayID alias for the bank account.
|
418
|
+
attr_accessor :pay_id
|
419
|
+
|
420
|
+
def initialize(account_number: nil, bsb_number: nil, pay_id: nil)
|
421
|
+
@account_number = account_number
|
422
|
+
@bsb_number = bsb_number
|
423
|
+
@pay_id = pay_id
|
424
|
+
end
|
425
|
+
end
|
426
|
+
|
393
427
|
class Pix < Stripe::RequestParams
|
394
428
|
end
|
395
429
|
|
396
430
|
class Promptpay < Stripe::RequestParams
|
397
431
|
end
|
398
432
|
|
433
|
+
class Qris < Stripe::RequestParams
|
434
|
+
end
|
435
|
+
|
399
436
|
class RadarOptions < Stripe::RequestParams
|
400
437
|
# A [Radar Session](https://stripe.com/docs/radar/radar-session) is a snapshot of the browser metadata and device details that help Radar make more accurate predictions on your payments.
|
401
438
|
attr_accessor :session
|
@@ -405,6 +442,29 @@ module Stripe
|
|
405
442
|
end
|
406
443
|
end
|
407
444
|
|
445
|
+
class Rechnung < Stripe::RequestParams
|
446
|
+
class Dob < Stripe::RequestParams
|
447
|
+
# The day of birth, between 1 and 31.
|
448
|
+
attr_accessor :day
|
449
|
+
# The month of birth, between 1 and 12.
|
450
|
+
attr_accessor :month
|
451
|
+
# The four-digit year of birth.
|
452
|
+
attr_accessor :year
|
453
|
+
|
454
|
+
def initialize(day: nil, month: nil, year: nil)
|
455
|
+
@day = day
|
456
|
+
@month = month
|
457
|
+
@year = year
|
458
|
+
end
|
459
|
+
end
|
460
|
+
# Customer's date of birth
|
461
|
+
attr_accessor :dob
|
462
|
+
|
463
|
+
def initialize(dob: nil)
|
464
|
+
@dob = dob
|
465
|
+
end
|
466
|
+
end
|
467
|
+
|
408
468
|
class RevolutPay < Stripe::RequestParams
|
409
469
|
end
|
410
470
|
|
@@ -423,6 +483,9 @@ module Stripe
|
|
423
483
|
end
|
424
484
|
end
|
425
485
|
|
486
|
+
class Shopeepay < Stripe::RequestParams
|
487
|
+
end
|
488
|
+
|
426
489
|
class Sofort < Stripe::RequestParams
|
427
490
|
# Two-letter ISO code representing the country the bank account is located in.
|
428
491
|
attr_accessor :country
|
@@ -432,6 +495,18 @@ module Stripe
|
|
432
495
|
end
|
433
496
|
end
|
434
497
|
|
498
|
+
class StripeBalance < Stripe::RequestParams
|
499
|
+
# The connected account ID whose Stripe balance to use as the source of payment
|
500
|
+
attr_accessor :account
|
501
|
+
# The [source_type](https://docs.stripe.com/api/balance/balance_object#balance_object-available-source_types) of the balance
|
502
|
+
attr_accessor :source_type
|
503
|
+
|
504
|
+
def initialize(account: nil, source_type: nil)
|
505
|
+
@account = account
|
506
|
+
@source_type = source_type
|
507
|
+
end
|
508
|
+
end
|
509
|
+
|
435
510
|
class Swish < Stripe::RequestParams
|
436
511
|
end
|
437
512
|
|
@@ -508,8 +583,12 @@ module Stripe
|
|
508
583
|
attr_accessor :fpx
|
509
584
|
# If this is a `giropay` PaymentMethod, this hash contains details about the Giropay payment method.
|
510
585
|
attr_accessor :giropay
|
586
|
+
# If this is a Gopay PaymentMethod, this hash contains details about the Gopay payment method.
|
587
|
+
attr_accessor :gopay
|
511
588
|
# If this is a `grabpay` PaymentMethod, this hash contains details about the GrabPay payment method.
|
512
589
|
attr_accessor :grabpay
|
590
|
+
# If this is an `IdBankTransfer` PaymentMethod, this hash contains details about the IdBankTransfer payment method.
|
591
|
+
attr_accessor :id_bank_transfer
|
513
592
|
# If this is an `ideal` PaymentMethod, this hash contains details about the iDEAL payment method.
|
514
593
|
attr_accessor :ideal
|
515
594
|
# If this is an `interac_present` PaymentMethod, this hash contains details about the Interac Present payment method.
|
@@ -524,6 +603,8 @@ module Stripe
|
|
524
603
|
attr_accessor :kr_card
|
525
604
|
# If this is an `Link` PaymentMethod, this hash contains details about the Link payment method.
|
526
605
|
attr_accessor :link
|
606
|
+
# If this is a MB WAY PaymentMethod, this hash contains details about the MB WAY payment method.
|
607
|
+
attr_accessor :mb_way
|
527
608
|
# Set of [key-value pairs](https://stripe.com/docs/api/metadata) that you can attach to an object. This can be useful for storing additional information about the object in a structured format. Individual keys can be unset by posting an empty value to them. All keys can be unset by posting an empty value to `metadata`.
|
528
609
|
attr_accessor :metadata
|
529
610
|
# If this is a `mobilepay` PaymentMethod, this hash contains details about the MobilePay payment method.
|
@@ -546,12 +627,18 @@ module Stripe
|
|
546
627
|
attr_accessor :paynow
|
547
628
|
# If this is a `paypal` PaymentMethod, this hash contains details about the PayPal payment method.
|
548
629
|
attr_accessor :paypal
|
630
|
+
# If this is a `payto` PaymentMethod, this hash contains details about the PayTo payment method.
|
631
|
+
attr_accessor :payto
|
549
632
|
# If this is a `pix` PaymentMethod, this hash contains details about the Pix payment method.
|
550
633
|
attr_accessor :pix
|
551
634
|
# If this is a `promptpay` PaymentMethod, this hash contains details about the PromptPay payment method.
|
552
635
|
attr_accessor :promptpay
|
636
|
+
# If this is a `qris` PaymentMethod, this hash contains details about the QRIS payment method.
|
637
|
+
attr_accessor :qris
|
553
638
|
# Options to configure Radar. See [Radar Session](https://stripe.com/docs/radar/radar-session) for more information.
|
554
639
|
attr_accessor :radar_options
|
640
|
+
# If this is a `rechnung` PaymentMethod, this hash contains details about the Rechnung payment method.
|
641
|
+
attr_accessor :rechnung
|
555
642
|
# If this is a `revolut_pay` PaymentMethod, this hash contains details about the Revolut Pay payment method.
|
556
643
|
attr_accessor :revolut_pay
|
557
644
|
# If this is a `samsung_pay` PaymentMethod, this hash contains details about the SamsungPay payment method.
|
@@ -560,8 +647,12 @@ module Stripe
|
|
560
647
|
attr_accessor :satispay
|
561
648
|
# If this is a `sepa_debit` PaymentMethod, this hash contains details about the SEPA debit bank account.
|
562
649
|
attr_accessor :sepa_debit
|
650
|
+
# If this is a Shopeepay PaymentMethod, this hash contains details about the Shopeepay payment method.
|
651
|
+
attr_accessor :shopeepay
|
563
652
|
# If this is a `sofort` PaymentMethod, this hash contains details about the SOFORT payment method.
|
564
653
|
attr_accessor :sofort
|
654
|
+
# This hash contains details about the Stripe balance payment method.
|
655
|
+
attr_accessor :stripe_balance
|
565
656
|
# If this is a `swish` PaymentMethod, this hash contains details about the Swish payment method.
|
566
657
|
attr_accessor :swish
|
567
658
|
# If this is a TWINT PaymentMethod, this hash contains details about the TWINT payment method.
|
@@ -595,7 +686,9 @@ module Stripe
|
|
595
686
|
eps: nil,
|
596
687
|
fpx: nil,
|
597
688
|
giropay: nil,
|
689
|
+
gopay: nil,
|
598
690
|
grabpay: nil,
|
691
|
+
id_bank_transfer: nil,
|
599
692
|
ideal: nil,
|
600
693
|
interac_present: nil,
|
601
694
|
kakao_pay: nil,
|
@@ -603,6 +696,7 @@ module Stripe
|
|
603
696
|
konbini: nil,
|
604
697
|
kr_card: nil,
|
605
698
|
link: nil,
|
699
|
+
mb_way: nil,
|
606
700
|
metadata: nil,
|
607
701
|
mobilepay: nil,
|
608
702
|
multibanco: nil,
|
@@ -614,14 +708,19 @@ module Stripe
|
|
614
708
|
payco: nil,
|
615
709
|
paynow: nil,
|
616
710
|
paypal: nil,
|
711
|
+
payto: nil,
|
617
712
|
pix: nil,
|
618
713
|
promptpay: nil,
|
714
|
+
qris: nil,
|
619
715
|
radar_options: nil,
|
716
|
+
rechnung: nil,
|
620
717
|
revolut_pay: nil,
|
621
718
|
samsung_pay: nil,
|
622
719
|
satispay: nil,
|
623
720
|
sepa_debit: nil,
|
721
|
+
shopeepay: nil,
|
624
722
|
sofort: nil,
|
723
|
+
stripe_balance: nil,
|
625
724
|
swish: nil,
|
626
725
|
twint: nil,
|
627
726
|
type: nil,
|
@@ -648,7 +747,9 @@ module Stripe
|
|
648
747
|
@eps = eps
|
649
748
|
@fpx = fpx
|
650
749
|
@giropay = giropay
|
750
|
+
@gopay = gopay
|
651
751
|
@grabpay = grabpay
|
752
|
+
@id_bank_transfer = id_bank_transfer
|
652
753
|
@ideal = ideal
|
653
754
|
@interac_present = interac_present
|
654
755
|
@kakao_pay = kakao_pay
|
@@ -656,6 +757,7 @@ module Stripe
|
|
656
757
|
@konbini = konbini
|
657
758
|
@kr_card = kr_card
|
658
759
|
@link = link
|
760
|
+
@mb_way = mb_way
|
659
761
|
@metadata = metadata
|
660
762
|
@mobilepay = mobilepay
|
661
763
|
@multibanco = multibanco
|
@@ -667,14 +769,19 @@ module Stripe
|
|
667
769
|
@payco = payco
|
668
770
|
@paynow = paynow
|
669
771
|
@paypal = paypal
|
772
|
+
@payto = payto
|
670
773
|
@pix = pix
|
671
774
|
@promptpay = promptpay
|
775
|
+
@qris = qris
|
672
776
|
@radar_options = radar_options
|
777
|
+
@rechnung = rechnung
|
673
778
|
@revolut_pay = revolut_pay
|
674
779
|
@samsung_pay = samsung_pay
|
675
780
|
@satispay = satispay
|
676
781
|
@sepa_debit = sepa_debit
|
782
|
+
@shopeepay = shopeepay
|
677
783
|
@sofort = sofort
|
784
|
+
@stripe_balance = stripe_balance
|
678
785
|
@swish = swish
|
679
786
|
@twint = twint
|
680
787
|
@type = type
|
@@ -910,9 +1017,58 @@ module Stripe
|
|
910
1017
|
class Paypal < Stripe::RequestParams
|
911
1018
|
# The PayPal Billing Agreement ID (BAID). This is an ID generated by PayPal which represents the mandate between the merchant and the customer.
|
912
1019
|
attr_accessor :billing_agreement_id
|
1020
|
+
# Attribute for param field currency
|
1021
|
+
attr_accessor :currency
|
1022
|
+
# The Stripe connected account IDs of the sellers on the platform for this transaction (optional). Only allowed when [separate charges and transfers](https://stripe.com/docs/connect/separate-charges-and-transfers) are used.
|
1023
|
+
attr_accessor :subsellers
|
913
1024
|
|
914
|
-
def initialize(billing_agreement_id: nil)
|
1025
|
+
def initialize(billing_agreement_id: nil, currency: nil, subsellers: nil)
|
915
1026
|
@billing_agreement_id = billing_agreement_id
|
1027
|
+
@currency = currency
|
1028
|
+
@subsellers = subsellers
|
1029
|
+
end
|
1030
|
+
end
|
1031
|
+
|
1032
|
+
class Payto < Stripe::RequestParams
|
1033
|
+
class MandateOptions < Stripe::RequestParams
|
1034
|
+
# Amount that will be collected. It is required when `amount_type` is `fixed`.
|
1035
|
+
attr_accessor :amount
|
1036
|
+
# The type of amount that will be collected. The amount charged must be exact or up to the value of `amount` param for `fixed` or `maximum` type respectively.
|
1037
|
+
attr_accessor :amount_type
|
1038
|
+
# Date, in YYYY-MM-DD format, after which payments will not be collected. Defaults to no end date.
|
1039
|
+
attr_accessor :end_date
|
1040
|
+
# The periodicity at which payments will be collected.
|
1041
|
+
attr_accessor :payment_schedule
|
1042
|
+
# The number of payments that will be made during a payment period. Defaults to 1 except for when `payment_schedule` is `adhoc`. In that case, it defaults to no limit.
|
1043
|
+
attr_accessor :payments_per_period
|
1044
|
+
# The purpose for which payments are made. Defaults to retail.
|
1045
|
+
attr_accessor :purpose
|
1046
|
+
# Date, in YYYY-MM-DD format, from which payments will be collected. Defaults to confirmation time.
|
1047
|
+
attr_accessor :start_date
|
1048
|
+
|
1049
|
+
def initialize(
|
1050
|
+
amount: nil,
|
1051
|
+
amount_type: nil,
|
1052
|
+
end_date: nil,
|
1053
|
+
payment_schedule: nil,
|
1054
|
+
payments_per_period: nil,
|
1055
|
+
purpose: nil,
|
1056
|
+
start_date: nil
|
1057
|
+
)
|
1058
|
+
@amount = amount
|
1059
|
+
@amount_type = amount_type
|
1060
|
+
@end_date = end_date
|
1061
|
+
@payment_schedule = payment_schedule
|
1062
|
+
@payments_per_period = payments_per_period
|
1063
|
+
@purpose = purpose
|
1064
|
+
@start_date = start_date
|
1065
|
+
end
|
1066
|
+
end
|
1067
|
+
# Additional fields for Mandate creation.
|
1068
|
+
attr_accessor :mandate_options
|
1069
|
+
|
1070
|
+
def initialize(mandate_options: nil)
|
1071
|
+
@mandate_options = mandate_options
|
916
1072
|
end
|
917
1073
|
end
|
918
1074
|
|
@@ -938,13 +1094,27 @@ module Stripe
|
|
938
1094
|
class Filters < Stripe::RequestParams
|
939
1095
|
# The account subcategories to use to filter for selectable accounts. Valid subcategories are `checking` and `savings`.
|
940
1096
|
attr_accessor :account_subcategories
|
1097
|
+
# ID of the institution to use to filter for selectable accounts.
|
1098
|
+
attr_accessor :institution
|
941
1099
|
|
942
|
-
def initialize(account_subcategories: nil)
|
1100
|
+
def initialize(account_subcategories: nil, institution: nil)
|
943
1101
|
@account_subcategories = account_subcategories
|
1102
|
+
@institution = institution
|
1103
|
+
end
|
1104
|
+
end
|
1105
|
+
|
1106
|
+
class ManualEntry < Stripe::RequestParams
|
1107
|
+
# Settings for configuring manual entry of account details.
|
1108
|
+
attr_accessor :mode
|
1109
|
+
|
1110
|
+
def initialize(mode: nil)
|
1111
|
+
@mode = mode
|
944
1112
|
end
|
945
1113
|
end
|
946
1114
|
# Provide filters for the linked accounts that the customer can select for the payment method.
|
947
1115
|
attr_accessor :filters
|
1116
|
+
# Customize manual entry behavior
|
1117
|
+
attr_accessor :manual_entry
|
948
1118
|
# The list of permissions to request. If this parameter is passed, the `payment_method` permission must be included. Valid permissions include: `balances`, `ownership`, `payment_method`, and `transactions`.
|
949
1119
|
attr_accessor :permissions
|
950
1120
|
# List of data features that you would like to retrieve upon account creation.
|
@@ -952,8 +1122,15 @@ module Stripe
|
|
952
1122
|
# For webview integrations only. Upon completing OAuth login in the native browser, the user will be redirected to this URL to return to your app.
|
953
1123
|
attr_accessor :return_url
|
954
1124
|
|
955
|
-
def initialize(
|
1125
|
+
def initialize(
|
1126
|
+
filters: nil,
|
1127
|
+
manual_entry: nil,
|
1128
|
+
permissions: nil,
|
1129
|
+
prefetch: nil,
|
1130
|
+
return_url: nil
|
1131
|
+
)
|
956
1132
|
@filters = filters
|
1133
|
+
@manual_entry = manual_entry
|
957
1134
|
@permissions = permissions
|
958
1135
|
@prefetch = prefetch
|
959
1136
|
@return_url = return_url
|
@@ -1012,6 +1189,8 @@ module Stripe
|
|
1012
1189
|
attr_accessor :link
|
1013
1190
|
# If this is a `paypal` PaymentMethod, this sub-hash contains details about the PayPal payment method options.
|
1014
1191
|
attr_accessor :paypal
|
1192
|
+
# If this is a `payto` SetupIntent, this sub-hash contains details about the PayTo payment method options.
|
1193
|
+
attr_accessor :payto
|
1015
1194
|
# If this is a `sepa_debit` SetupIntent, this sub-hash contains details about the SEPA Debit payment method options.
|
1016
1195
|
attr_accessor :sepa_debit
|
1017
1196
|
# If this is a `us_bank_account` SetupIntent, this sub-hash contains details about the US bank account payment method options.
|
@@ -1025,6 +1204,7 @@ module Stripe
|
|
1025
1204
|
card_present: nil,
|
1026
1205
|
link: nil,
|
1027
1206
|
paypal: nil,
|
1207
|
+
payto: nil,
|
1028
1208
|
sepa_debit: nil,
|
1029
1209
|
us_bank_account: nil
|
1030
1210
|
)
|
@@ -1035,6 +1215,7 @@ module Stripe
|
|
1035
1215
|
@card_present = card_present
|
1036
1216
|
@link = link
|
1037
1217
|
@paypal = paypal
|
1218
|
+
@payto = payto
|
1038
1219
|
@sepa_debit = sepa_debit
|
1039
1220
|
@us_bank_account = us_bank_account
|
1040
1221
|
end
|
@@ -1067,6 +1248,10 @@ module Stripe
|
|
1067
1248
|
#
|
1068
1249
|
# If present, the SetupIntent's payment method will be attached to the Customer on successful setup. Payment methods attached to other Customers cannot be used with this SetupIntent.
|
1069
1250
|
attr_accessor :customer
|
1251
|
+
# ID of the Account this SetupIntent belongs to, if one exists.
|
1252
|
+
#
|
1253
|
+
# If present, the SetupIntent's payment method will be attached to the Account on successful setup. Payment methods attached to other Accounts cannot be used with this SetupIntent.
|
1254
|
+
attr_accessor :customer_account
|
1070
1255
|
# An arbitrary string attached to the object. Often useful for displaying to users.
|
1071
1256
|
attr_accessor :description
|
1072
1257
|
# Specifies which fields in the response should be expanded.
|
@@ -1109,6 +1294,7 @@ module Stripe
|
|
1109
1294
|
confirm: nil,
|
1110
1295
|
confirmation_token: nil,
|
1111
1296
|
customer: nil,
|
1297
|
+
customer_account: nil,
|
1112
1298
|
description: nil,
|
1113
1299
|
expand: nil,
|
1114
1300
|
flow_directions: nil,
|
@@ -1130,6 +1316,7 @@ module Stripe
|
|
1130
1316
|
@confirm = confirm
|
1131
1317
|
@confirmation_token = confirmation_token
|
1132
1318
|
@customer = customer
|
1319
|
+
@customer_account = customer_account
|
1133
1320
|
@description = description
|
1134
1321
|
@expand = expand
|
1135
1322
|
@flow_directions = flow_directions
|
@@ -1315,9 +1502,21 @@ module Stripe
|
|
1315
1502
|
class Giropay < Stripe::RequestParams
|
1316
1503
|
end
|
1317
1504
|
|
1505
|
+
class Gopay < Stripe::RequestParams
|
1506
|
+
end
|
1507
|
+
|
1318
1508
|
class Grabpay < Stripe::RequestParams
|
1319
1509
|
end
|
1320
1510
|
|
1511
|
+
class IdBankTransfer < Stripe::RequestParams
|
1512
|
+
# Bank where the account is held.
|
1513
|
+
attr_accessor :bank
|
1514
|
+
|
1515
|
+
def initialize(bank: nil)
|
1516
|
+
@bank = bank
|
1517
|
+
end
|
1518
|
+
end
|
1519
|
+
|
1321
1520
|
class Ideal < Stripe::RequestParams
|
1322
1521
|
# The customer's bank. Only use this parameter for existing customers. Don't use it for new customers.
|
1323
1522
|
attr_accessor :bank
|
@@ -1365,6 +1564,9 @@ module Stripe
|
|
1365
1564
|
class Link < Stripe::RequestParams
|
1366
1565
|
end
|
1367
1566
|
|
1567
|
+
class MbWay < Stripe::RequestParams
|
1568
|
+
end
|
1569
|
+
|
1368
1570
|
class Mobilepay < Stripe::RequestParams
|
1369
1571
|
end
|
1370
1572
|
|
@@ -1435,12 +1637,30 @@ module Stripe
|
|
1435
1637
|
class Paypal < Stripe::RequestParams
|
1436
1638
|
end
|
1437
1639
|
|
1640
|
+
class Payto < Stripe::RequestParams
|
1641
|
+
# The account number for the bank account.
|
1642
|
+
attr_accessor :account_number
|
1643
|
+
# Bank-State-Branch number of the bank account.
|
1644
|
+
attr_accessor :bsb_number
|
1645
|
+
# The PayID alias for the bank account.
|
1646
|
+
attr_accessor :pay_id
|
1647
|
+
|
1648
|
+
def initialize(account_number: nil, bsb_number: nil, pay_id: nil)
|
1649
|
+
@account_number = account_number
|
1650
|
+
@bsb_number = bsb_number
|
1651
|
+
@pay_id = pay_id
|
1652
|
+
end
|
1653
|
+
end
|
1654
|
+
|
1438
1655
|
class Pix < Stripe::RequestParams
|
1439
1656
|
end
|
1440
1657
|
|
1441
1658
|
class Promptpay < Stripe::RequestParams
|
1442
1659
|
end
|
1443
1660
|
|
1661
|
+
class Qris < Stripe::RequestParams
|
1662
|
+
end
|
1663
|
+
|
1444
1664
|
class RadarOptions < Stripe::RequestParams
|
1445
1665
|
# A [Radar Session](https://stripe.com/docs/radar/radar-session) is a snapshot of the browser metadata and device details that help Radar make more accurate predictions on your payments.
|
1446
1666
|
attr_accessor :session
|
@@ -1450,6 +1670,29 @@ module Stripe
|
|
1450
1670
|
end
|
1451
1671
|
end
|
1452
1672
|
|
1673
|
+
class Rechnung < Stripe::RequestParams
|
1674
|
+
class Dob < Stripe::RequestParams
|
1675
|
+
# The day of birth, between 1 and 31.
|
1676
|
+
attr_accessor :day
|
1677
|
+
# The month of birth, between 1 and 12.
|
1678
|
+
attr_accessor :month
|
1679
|
+
# The four-digit year of birth.
|
1680
|
+
attr_accessor :year
|
1681
|
+
|
1682
|
+
def initialize(day: nil, month: nil, year: nil)
|
1683
|
+
@day = day
|
1684
|
+
@month = month
|
1685
|
+
@year = year
|
1686
|
+
end
|
1687
|
+
end
|
1688
|
+
# Customer's date of birth
|
1689
|
+
attr_accessor :dob
|
1690
|
+
|
1691
|
+
def initialize(dob: nil)
|
1692
|
+
@dob = dob
|
1693
|
+
end
|
1694
|
+
end
|
1695
|
+
|
1453
1696
|
class RevolutPay < Stripe::RequestParams
|
1454
1697
|
end
|
1455
1698
|
|
@@ -1468,6 +1711,9 @@ module Stripe
|
|
1468
1711
|
end
|
1469
1712
|
end
|
1470
1713
|
|
1714
|
+
class Shopeepay < Stripe::RequestParams
|
1715
|
+
end
|
1716
|
+
|
1471
1717
|
class Sofort < Stripe::RequestParams
|
1472
1718
|
# Two-letter ISO code representing the country the bank account is located in.
|
1473
1719
|
attr_accessor :country
|
@@ -1477,6 +1723,18 @@ module Stripe
|
|
1477
1723
|
end
|
1478
1724
|
end
|
1479
1725
|
|
1726
|
+
class StripeBalance < Stripe::RequestParams
|
1727
|
+
# The connected account ID whose Stripe balance to use as the source of payment
|
1728
|
+
attr_accessor :account
|
1729
|
+
# The [source_type](https://docs.stripe.com/api/balance/balance_object#balance_object-available-source_types) of the balance
|
1730
|
+
attr_accessor :source_type
|
1731
|
+
|
1732
|
+
def initialize(account: nil, source_type: nil)
|
1733
|
+
@account = account
|
1734
|
+
@source_type = source_type
|
1735
|
+
end
|
1736
|
+
end
|
1737
|
+
|
1480
1738
|
class Swish < Stripe::RequestParams
|
1481
1739
|
end
|
1482
1740
|
|
@@ -1553,8 +1811,12 @@ module Stripe
|
|
1553
1811
|
attr_accessor :fpx
|
1554
1812
|
# If this is a `giropay` PaymentMethod, this hash contains details about the Giropay payment method.
|
1555
1813
|
attr_accessor :giropay
|
1814
|
+
# If this is a Gopay PaymentMethod, this hash contains details about the Gopay payment method.
|
1815
|
+
attr_accessor :gopay
|
1556
1816
|
# If this is a `grabpay` PaymentMethod, this hash contains details about the GrabPay payment method.
|
1557
1817
|
attr_accessor :grabpay
|
1818
|
+
# If this is an `IdBankTransfer` PaymentMethod, this hash contains details about the IdBankTransfer payment method.
|
1819
|
+
attr_accessor :id_bank_transfer
|
1558
1820
|
# If this is an `ideal` PaymentMethod, this hash contains details about the iDEAL payment method.
|
1559
1821
|
attr_accessor :ideal
|
1560
1822
|
# If this is an `interac_present` PaymentMethod, this hash contains details about the Interac Present payment method.
|
@@ -1569,6 +1831,8 @@ module Stripe
|
|
1569
1831
|
attr_accessor :kr_card
|
1570
1832
|
# If this is an `Link` PaymentMethod, this hash contains details about the Link payment method.
|
1571
1833
|
attr_accessor :link
|
1834
|
+
# If this is a MB WAY PaymentMethod, this hash contains details about the MB WAY payment method.
|
1835
|
+
attr_accessor :mb_way
|
1572
1836
|
# Set of [key-value pairs](https://stripe.com/docs/api/metadata) that you can attach to an object. This can be useful for storing additional information about the object in a structured format. Individual keys can be unset by posting an empty value to them. All keys can be unset by posting an empty value to `metadata`.
|
1573
1837
|
attr_accessor :metadata
|
1574
1838
|
# If this is a `mobilepay` PaymentMethod, this hash contains details about the MobilePay payment method.
|
@@ -1591,12 +1855,18 @@ module Stripe
|
|
1591
1855
|
attr_accessor :paynow
|
1592
1856
|
# If this is a `paypal` PaymentMethod, this hash contains details about the PayPal payment method.
|
1593
1857
|
attr_accessor :paypal
|
1858
|
+
# If this is a `payto` PaymentMethod, this hash contains details about the PayTo payment method.
|
1859
|
+
attr_accessor :payto
|
1594
1860
|
# If this is a `pix` PaymentMethod, this hash contains details about the Pix payment method.
|
1595
1861
|
attr_accessor :pix
|
1596
1862
|
# If this is a `promptpay` PaymentMethod, this hash contains details about the PromptPay payment method.
|
1597
1863
|
attr_accessor :promptpay
|
1864
|
+
# If this is a `qris` PaymentMethod, this hash contains details about the QRIS payment method.
|
1865
|
+
attr_accessor :qris
|
1598
1866
|
# Options to configure Radar. See [Radar Session](https://stripe.com/docs/radar/radar-session) for more information.
|
1599
1867
|
attr_accessor :radar_options
|
1868
|
+
# If this is a `rechnung` PaymentMethod, this hash contains details about the Rechnung payment method.
|
1869
|
+
attr_accessor :rechnung
|
1600
1870
|
# If this is a `revolut_pay` PaymentMethod, this hash contains details about the Revolut Pay payment method.
|
1601
1871
|
attr_accessor :revolut_pay
|
1602
1872
|
# If this is a `samsung_pay` PaymentMethod, this hash contains details about the SamsungPay payment method.
|
@@ -1605,8 +1875,12 @@ module Stripe
|
|
1605
1875
|
attr_accessor :satispay
|
1606
1876
|
# If this is a `sepa_debit` PaymentMethod, this hash contains details about the SEPA debit bank account.
|
1607
1877
|
attr_accessor :sepa_debit
|
1878
|
+
# If this is a Shopeepay PaymentMethod, this hash contains details about the Shopeepay payment method.
|
1879
|
+
attr_accessor :shopeepay
|
1608
1880
|
# If this is a `sofort` PaymentMethod, this hash contains details about the SOFORT payment method.
|
1609
1881
|
attr_accessor :sofort
|
1882
|
+
# This hash contains details about the Stripe balance payment method.
|
1883
|
+
attr_accessor :stripe_balance
|
1610
1884
|
# If this is a `swish` PaymentMethod, this hash contains details about the Swish payment method.
|
1611
1885
|
attr_accessor :swish
|
1612
1886
|
# If this is a TWINT PaymentMethod, this hash contains details about the TWINT payment method.
|
@@ -1640,7 +1914,9 @@ module Stripe
|
|
1640
1914
|
eps: nil,
|
1641
1915
|
fpx: nil,
|
1642
1916
|
giropay: nil,
|
1917
|
+
gopay: nil,
|
1643
1918
|
grabpay: nil,
|
1919
|
+
id_bank_transfer: nil,
|
1644
1920
|
ideal: nil,
|
1645
1921
|
interac_present: nil,
|
1646
1922
|
kakao_pay: nil,
|
@@ -1648,6 +1924,7 @@ module Stripe
|
|
1648
1924
|
konbini: nil,
|
1649
1925
|
kr_card: nil,
|
1650
1926
|
link: nil,
|
1927
|
+
mb_way: nil,
|
1651
1928
|
metadata: nil,
|
1652
1929
|
mobilepay: nil,
|
1653
1930
|
multibanco: nil,
|
@@ -1659,14 +1936,19 @@ module Stripe
|
|
1659
1936
|
payco: nil,
|
1660
1937
|
paynow: nil,
|
1661
1938
|
paypal: nil,
|
1939
|
+
payto: nil,
|
1662
1940
|
pix: nil,
|
1663
1941
|
promptpay: nil,
|
1942
|
+
qris: nil,
|
1664
1943
|
radar_options: nil,
|
1944
|
+
rechnung: nil,
|
1665
1945
|
revolut_pay: nil,
|
1666
1946
|
samsung_pay: nil,
|
1667
1947
|
satispay: nil,
|
1668
1948
|
sepa_debit: nil,
|
1949
|
+
shopeepay: nil,
|
1669
1950
|
sofort: nil,
|
1951
|
+
stripe_balance: nil,
|
1670
1952
|
swish: nil,
|
1671
1953
|
twint: nil,
|
1672
1954
|
type: nil,
|
@@ -1693,7 +1975,9 @@ module Stripe
|
|
1693
1975
|
@eps = eps
|
1694
1976
|
@fpx = fpx
|
1695
1977
|
@giropay = giropay
|
1978
|
+
@gopay = gopay
|
1696
1979
|
@grabpay = grabpay
|
1980
|
+
@id_bank_transfer = id_bank_transfer
|
1697
1981
|
@ideal = ideal
|
1698
1982
|
@interac_present = interac_present
|
1699
1983
|
@kakao_pay = kakao_pay
|
@@ -1701,6 +1985,7 @@ module Stripe
|
|
1701
1985
|
@konbini = konbini
|
1702
1986
|
@kr_card = kr_card
|
1703
1987
|
@link = link
|
1988
|
+
@mb_way = mb_way
|
1704
1989
|
@metadata = metadata
|
1705
1990
|
@mobilepay = mobilepay
|
1706
1991
|
@multibanco = multibanco
|
@@ -1712,14 +1997,19 @@ module Stripe
|
|
1712
1997
|
@payco = payco
|
1713
1998
|
@paynow = paynow
|
1714
1999
|
@paypal = paypal
|
2000
|
+
@payto = payto
|
1715
2001
|
@pix = pix
|
1716
2002
|
@promptpay = promptpay
|
2003
|
+
@qris = qris
|
1717
2004
|
@radar_options = radar_options
|
2005
|
+
@rechnung = rechnung
|
1718
2006
|
@revolut_pay = revolut_pay
|
1719
2007
|
@samsung_pay = samsung_pay
|
1720
2008
|
@satispay = satispay
|
1721
2009
|
@sepa_debit = sepa_debit
|
2010
|
+
@shopeepay = shopeepay
|
1722
2011
|
@sofort = sofort
|
2012
|
+
@stripe_balance = stripe_balance
|
1723
2013
|
@swish = swish
|
1724
2014
|
@twint = twint
|
1725
2015
|
@type = type
|
@@ -1955,9 +2245,58 @@ module Stripe
|
|
1955
2245
|
class Paypal < Stripe::RequestParams
|
1956
2246
|
# The PayPal Billing Agreement ID (BAID). This is an ID generated by PayPal which represents the mandate between the merchant and the customer.
|
1957
2247
|
attr_accessor :billing_agreement_id
|
2248
|
+
# Attribute for param field currency
|
2249
|
+
attr_accessor :currency
|
2250
|
+
# The Stripe connected account IDs of the sellers on the platform for this transaction (optional). Only allowed when [separate charges and transfers](https://stripe.com/docs/connect/separate-charges-and-transfers) are used.
|
2251
|
+
attr_accessor :subsellers
|
1958
2252
|
|
1959
|
-
def initialize(billing_agreement_id: nil)
|
2253
|
+
def initialize(billing_agreement_id: nil, currency: nil, subsellers: nil)
|
1960
2254
|
@billing_agreement_id = billing_agreement_id
|
2255
|
+
@currency = currency
|
2256
|
+
@subsellers = subsellers
|
2257
|
+
end
|
2258
|
+
end
|
2259
|
+
|
2260
|
+
class Payto < Stripe::RequestParams
|
2261
|
+
class MandateOptions < Stripe::RequestParams
|
2262
|
+
# Amount that will be collected. It is required when `amount_type` is `fixed`.
|
2263
|
+
attr_accessor :amount
|
2264
|
+
# The type of amount that will be collected. The amount charged must be exact or up to the value of `amount` param for `fixed` or `maximum` type respectively.
|
2265
|
+
attr_accessor :amount_type
|
2266
|
+
# Date, in YYYY-MM-DD format, after which payments will not be collected. Defaults to no end date.
|
2267
|
+
attr_accessor :end_date
|
2268
|
+
# The periodicity at which payments will be collected.
|
2269
|
+
attr_accessor :payment_schedule
|
2270
|
+
# The number of payments that will be made during a payment period. Defaults to 1 except for when `payment_schedule` is `adhoc`. In that case, it defaults to no limit.
|
2271
|
+
attr_accessor :payments_per_period
|
2272
|
+
# The purpose for which payments are made. Defaults to retail.
|
2273
|
+
attr_accessor :purpose
|
2274
|
+
# Date, in YYYY-MM-DD format, from which payments will be collected. Defaults to confirmation time.
|
2275
|
+
attr_accessor :start_date
|
2276
|
+
|
2277
|
+
def initialize(
|
2278
|
+
amount: nil,
|
2279
|
+
amount_type: nil,
|
2280
|
+
end_date: nil,
|
2281
|
+
payment_schedule: nil,
|
2282
|
+
payments_per_period: nil,
|
2283
|
+
purpose: nil,
|
2284
|
+
start_date: nil
|
2285
|
+
)
|
2286
|
+
@amount = amount
|
2287
|
+
@amount_type = amount_type
|
2288
|
+
@end_date = end_date
|
2289
|
+
@payment_schedule = payment_schedule
|
2290
|
+
@payments_per_period = payments_per_period
|
2291
|
+
@purpose = purpose
|
2292
|
+
@start_date = start_date
|
2293
|
+
end
|
2294
|
+
end
|
2295
|
+
# Additional fields for Mandate creation.
|
2296
|
+
attr_accessor :mandate_options
|
2297
|
+
|
2298
|
+
def initialize(mandate_options: nil)
|
2299
|
+
@mandate_options = mandate_options
|
1961
2300
|
end
|
1962
2301
|
end
|
1963
2302
|
|
@@ -1983,13 +2322,27 @@ module Stripe
|
|
1983
2322
|
class Filters < Stripe::RequestParams
|
1984
2323
|
# The account subcategories to use to filter for selectable accounts. Valid subcategories are `checking` and `savings`.
|
1985
2324
|
attr_accessor :account_subcategories
|
2325
|
+
# ID of the institution to use to filter for selectable accounts.
|
2326
|
+
attr_accessor :institution
|
1986
2327
|
|
1987
|
-
def initialize(account_subcategories: nil)
|
2328
|
+
def initialize(account_subcategories: nil, institution: nil)
|
1988
2329
|
@account_subcategories = account_subcategories
|
2330
|
+
@institution = institution
|
2331
|
+
end
|
2332
|
+
end
|
2333
|
+
|
2334
|
+
class ManualEntry < Stripe::RequestParams
|
2335
|
+
# Settings for configuring manual entry of account details.
|
2336
|
+
attr_accessor :mode
|
2337
|
+
|
2338
|
+
def initialize(mode: nil)
|
2339
|
+
@mode = mode
|
1989
2340
|
end
|
1990
2341
|
end
|
1991
2342
|
# Provide filters for the linked accounts that the customer can select for the payment method.
|
1992
2343
|
attr_accessor :filters
|
2344
|
+
# Customize manual entry behavior
|
2345
|
+
attr_accessor :manual_entry
|
1993
2346
|
# The list of permissions to request. If this parameter is passed, the `payment_method` permission must be included. Valid permissions include: `balances`, `ownership`, `payment_method`, and `transactions`.
|
1994
2347
|
attr_accessor :permissions
|
1995
2348
|
# List of data features that you would like to retrieve upon account creation.
|
@@ -1997,8 +2350,15 @@ module Stripe
|
|
1997
2350
|
# For webview integrations only. Upon completing OAuth login in the native browser, the user will be redirected to this URL to return to your app.
|
1998
2351
|
attr_accessor :return_url
|
1999
2352
|
|
2000
|
-
def initialize(
|
2353
|
+
def initialize(
|
2354
|
+
filters: nil,
|
2355
|
+
manual_entry: nil,
|
2356
|
+
permissions: nil,
|
2357
|
+
prefetch: nil,
|
2358
|
+
return_url: nil
|
2359
|
+
)
|
2001
2360
|
@filters = filters
|
2361
|
+
@manual_entry = manual_entry
|
2002
2362
|
@permissions = permissions
|
2003
2363
|
@prefetch = prefetch
|
2004
2364
|
@return_url = return_url
|
@@ -2057,6 +2417,8 @@ module Stripe
|
|
2057
2417
|
attr_accessor :link
|
2058
2418
|
# If this is a `paypal` PaymentMethod, this sub-hash contains details about the PayPal payment method options.
|
2059
2419
|
attr_accessor :paypal
|
2420
|
+
# If this is a `payto` SetupIntent, this sub-hash contains details about the PayTo payment method options.
|
2421
|
+
attr_accessor :payto
|
2060
2422
|
# If this is a `sepa_debit` SetupIntent, this sub-hash contains details about the SEPA Debit payment method options.
|
2061
2423
|
attr_accessor :sepa_debit
|
2062
2424
|
# If this is a `us_bank_account` SetupIntent, this sub-hash contains details about the US bank account payment method options.
|
@@ -2070,6 +2432,7 @@ module Stripe
|
|
2070
2432
|
card_present: nil,
|
2071
2433
|
link: nil,
|
2072
2434
|
paypal: nil,
|
2435
|
+
payto: nil,
|
2073
2436
|
sepa_debit: nil,
|
2074
2437
|
us_bank_account: nil
|
2075
2438
|
)
|
@@ -2080,6 +2443,7 @@ module Stripe
|
|
2080
2443
|
@card_present = card_present
|
2081
2444
|
@link = link
|
2082
2445
|
@paypal = paypal
|
2446
|
+
@payto = payto
|
2083
2447
|
@sepa_debit = sepa_debit
|
2084
2448
|
@us_bank_account = us_bank_account
|
2085
2449
|
end
|
@@ -2092,6 +2456,10 @@ module Stripe
|
|
2092
2456
|
#
|
2093
2457
|
# If present, the SetupIntent's payment method will be attached to the Customer on successful setup. Payment methods attached to other Customers cannot be used with this SetupIntent.
|
2094
2458
|
attr_accessor :customer
|
2459
|
+
# ID of the Account this SetupIntent belongs to, if one exists.
|
2460
|
+
#
|
2461
|
+
# If present, the SetupIntent's payment method will be attached to the Account on successful setup. Payment methods attached to other Accounts cannot be used with this SetupIntent.
|
2462
|
+
attr_accessor :customer_account
|
2095
2463
|
# An arbitrary string attached to the object. Often useful for displaying to users.
|
2096
2464
|
attr_accessor :description
|
2097
2465
|
# Specifies which fields in the response should be expanded.
|
@@ -2117,6 +2485,7 @@ module Stripe
|
|
2117
2485
|
def initialize(
|
2118
2486
|
attach_to_self: nil,
|
2119
2487
|
customer: nil,
|
2488
|
+
customer_account: nil,
|
2120
2489
|
description: nil,
|
2121
2490
|
expand: nil,
|
2122
2491
|
flow_directions: nil,
|
@@ -2129,6 +2498,7 @@ module Stripe
|
|
2129
2498
|
)
|
2130
2499
|
@attach_to_self = attach_to_self
|
2131
2500
|
@customer = customer
|
2501
|
+
@customer_account = customer_account
|
2132
2502
|
@description = description
|
2133
2503
|
@expand = expand
|
2134
2504
|
@flow_directions = flow_directions
|
@@ -2348,9 +2718,21 @@ module Stripe
|
|
2348
2718
|
class Giropay < Stripe::RequestParams
|
2349
2719
|
end
|
2350
2720
|
|
2721
|
+
class Gopay < Stripe::RequestParams
|
2722
|
+
end
|
2723
|
+
|
2351
2724
|
class Grabpay < Stripe::RequestParams
|
2352
2725
|
end
|
2353
2726
|
|
2727
|
+
class IdBankTransfer < Stripe::RequestParams
|
2728
|
+
# Bank where the account is held.
|
2729
|
+
attr_accessor :bank
|
2730
|
+
|
2731
|
+
def initialize(bank: nil)
|
2732
|
+
@bank = bank
|
2733
|
+
end
|
2734
|
+
end
|
2735
|
+
|
2354
2736
|
class Ideal < Stripe::RequestParams
|
2355
2737
|
# The customer's bank. Only use this parameter for existing customers. Don't use it for new customers.
|
2356
2738
|
attr_accessor :bank
|
@@ -2398,6 +2780,9 @@ module Stripe
|
|
2398
2780
|
class Link < Stripe::RequestParams
|
2399
2781
|
end
|
2400
2782
|
|
2783
|
+
class MbWay < Stripe::RequestParams
|
2784
|
+
end
|
2785
|
+
|
2401
2786
|
class Mobilepay < Stripe::RequestParams
|
2402
2787
|
end
|
2403
2788
|
|
@@ -2468,12 +2853,30 @@ module Stripe
|
|
2468
2853
|
class Paypal < Stripe::RequestParams
|
2469
2854
|
end
|
2470
2855
|
|
2856
|
+
class Payto < Stripe::RequestParams
|
2857
|
+
# The account number for the bank account.
|
2858
|
+
attr_accessor :account_number
|
2859
|
+
# Bank-State-Branch number of the bank account.
|
2860
|
+
attr_accessor :bsb_number
|
2861
|
+
# The PayID alias for the bank account.
|
2862
|
+
attr_accessor :pay_id
|
2863
|
+
|
2864
|
+
def initialize(account_number: nil, bsb_number: nil, pay_id: nil)
|
2865
|
+
@account_number = account_number
|
2866
|
+
@bsb_number = bsb_number
|
2867
|
+
@pay_id = pay_id
|
2868
|
+
end
|
2869
|
+
end
|
2870
|
+
|
2471
2871
|
class Pix < Stripe::RequestParams
|
2472
2872
|
end
|
2473
2873
|
|
2474
2874
|
class Promptpay < Stripe::RequestParams
|
2475
2875
|
end
|
2476
2876
|
|
2877
|
+
class Qris < Stripe::RequestParams
|
2878
|
+
end
|
2879
|
+
|
2477
2880
|
class RadarOptions < Stripe::RequestParams
|
2478
2881
|
# A [Radar Session](https://stripe.com/docs/radar/radar-session) is a snapshot of the browser metadata and device details that help Radar make more accurate predictions on your payments.
|
2479
2882
|
attr_accessor :session
|
@@ -2483,6 +2886,29 @@ module Stripe
|
|
2483
2886
|
end
|
2484
2887
|
end
|
2485
2888
|
|
2889
|
+
class Rechnung < Stripe::RequestParams
|
2890
|
+
class Dob < Stripe::RequestParams
|
2891
|
+
# The day of birth, between 1 and 31.
|
2892
|
+
attr_accessor :day
|
2893
|
+
# The month of birth, between 1 and 12.
|
2894
|
+
attr_accessor :month
|
2895
|
+
# The four-digit year of birth.
|
2896
|
+
attr_accessor :year
|
2897
|
+
|
2898
|
+
def initialize(day: nil, month: nil, year: nil)
|
2899
|
+
@day = day
|
2900
|
+
@month = month
|
2901
|
+
@year = year
|
2902
|
+
end
|
2903
|
+
end
|
2904
|
+
# Customer's date of birth
|
2905
|
+
attr_accessor :dob
|
2906
|
+
|
2907
|
+
def initialize(dob: nil)
|
2908
|
+
@dob = dob
|
2909
|
+
end
|
2910
|
+
end
|
2911
|
+
|
2486
2912
|
class RevolutPay < Stripe::RequestParams
|
2487
2913
|
end
|
2488
2914
|
|
@@ -2501,6 +2927,9 @@ module Stripe
|
|
2501
2927
|
end
|
2502
2928
|
end
|
2503
2929
|
|
2930
|
+
class Shopeepay < Stripe::RequestParams
|
2931
|
+
end
|
2932
|
+
|
2504
2933
|
class Sofort < Stripe::RequestParams
|
2505
2934
|
# Two-letter ISO code representing the country the bank account is located in.
|
2506
2935
|
attr_accessor :country
|
@@ -2510,6 +2939,18 @@ module Stripe
|
|
2510
2939
|
end
|
2511
2940
|
end
|
2512
2941
|
|
2942
|
+
class StripeBalance < Stripe::RequestParams
|
2943
|
+
# The connected account ID whose Stripe balance to use as the source of payment
|
2944
|
+
attr_accessor :account
|
2945
|
+
# The [source_type](https://docs.stripe.com/api/balance/balance_object#balance_object-available-source_types) of the balance
|
2946
|
+
attr_accessor :source_type
|
2947
|
+
|
2948
|
+
def initialize(account: nil, source_type: nil)
|
2949
|
+
@account = account
|
2950
|
+
@source_type = source_type
|
2951
|
+
end
|
2952
|
+
end
|
2953
|
+
|
2513
2954
|
class Swish < Stripe::RequestParams
|
2514
2955
|
end
|
2515
2956
|
|
@@ -2586,8 +3027,12 @@ module Stripe
|
|
2586
3027
|
attr_accessor :fpx
|
2587
3028
|
# If this is a `giropay` PaymentMethod, this hash contains details about the Giropay payment method.
|
2588
3029
|
attr_accessor :giropay
|
3030
|
+
# If this is a Gopay PaymentMethod, this hash contains details about the Gopay payment method.
|
3031
|
+
attr_accessor :gopay
|
2589
3032
|
# If this is a `grabpay` PaymentMethod, this hash contains details about the GrabPay payment method.
|
2590
3033
|
attr_accessor :grabpay
|
3034
|
+
# If this is an `IdBankTransfer` PaymentMethod, this hash contains details about the IdBankTransfer payment method.
|
3035
|
+
attr_accessor :id_bank_transfer
|
2591
3036
|
# If this is an `ideal` PaymentMethod, this hash contains details about the iDEAL payment method.
|
2592
3037
|
attr_accessor :ideal
|
2593
3038
|
# If this is an `interac_present` PaymentMethod, this hash contains details about the Interac Present payment method.
|
@@ -2602,6 +3047,8 @@ module Stripe
|
|
2602
3047
|
attr_accessor :kr_card
|
2603
3048
|
# If this is an `Link` PaymentMethod, this hash contains details about the Link payment method.
|
2604
3049
|
attr_accessor :link
|
3050
|
+
# If this is a MB WAY PaymentMethod, this hash contains details about the MB WAY payment method.
|
3051
|
+
attr_accessor :mb_way
|
2605
3052
|
# Set of [key-value pairs](https://stripe.com/docs/api/metadata) that you can attach to an object. This can be useful for storing additional information about the object in a structured format. Individual keys can be unset by posting an empty value to them. All keys can be unset by posting an empty value to `metadata`.
|
2606
3053
|
attr_accessor :metadata
|
2607
3054
|
# If this is a `mobilepay` PaymentMethod, this hash contains details about the MobilePay payment method.
|
@@ -2624,12 +3071,18 @@ module Stripe
|
|
2624
3071
|
attr_accessor :paynow
|
2625
3072
|
# If this is a `paypal` PaymentMethod, this hash contains details about the PayPal payment method.
|
2626
3073
|
attr_accessor :paypal
|
3074
|
+
# If this is a `payto` PaymentMethod, this hash contains details about the PayTo payment method.
|
3075
|
+
attr_accessor :payto
|
2627
3076
|
# If this is a `pix` PaymentMethod, this hash contains details about the Pix payment method.
|
2628
3077
|
attr_accessor :pix
|
2629
3078
|
# If this is a `promptpay` PaymentMethod, this hash contains details about the PromptPay payment method.
|
2630
3079
|
attr_accessor :promptpay
|
3080
|
+
# If this is a `qris` PaymentMethod, this hash contains details about the QRIS payment method.
|
3081
|
+
attr_accessor :qris
|
2631
3082
|
# Options to configure Radar. See [Radar Session](https://stripe.com/docs/radar/radar-session) for more information.
|
2632
3083
|
attr_accessor :radar_options
|
3084
|
+
# If this is a `rechnung` PaymentMethod, this hash contains details about the Rechnung payment method.
|
3085
|
+
attr_accessor :rechnung
|
2633
3086
|
# If this is a `revolut_pay` PaymentMethod, this hash contains details about the Revolut Pay payment method.
|
2634
3087
|
attr_accessor :revolut_pay
|
2635
3088
|
# If this is a `samsung_pay` PaymentMethod, this hash contains details about the SamsungPay payment method.
|
@@ -2638,8 +3091,12 @@ module Stripe
|
|
2638
3091
|
attr_accessor :satispay
|
2639
3092
|
# If this is a `sepa_debit` PaymentMethod, this hash contains details about the SEPA debit bank account.
|
2640
3093
|
attr_accessor :sepa_debit
|
3094
|
+
# If this is a Shopeepay PaymentMethod, this hash contains details about the Shopeepay payment method.
|
3095
|
+
attr_accessor :shopeepay
|
2641
3096
|
# If this is a `sofort` PaymentMethod, this hash contains details about the SOFORT payment method.
|
2642
3097
|
attr_accessor :sofort
|
3098
|
+
# This hash contains details about the Stripe balance payment method.
|
3099
|
+
attr_accessor :stripe_balance
|
2643
3100
|
# If this is a `swish` PaymentMethod, this hash contains details about the Swish payment method.
|
2644
3101
|
attr_accessor :swish
|
2645
3102
|
# If this is a TWINT PaymentMethod, this hash contains details about the TWINT payment method.
|
@@ -2673,7 +3130,9 @@ module Stripe
|
|
2673
3130
|
eps: nil,
|
2674
3131
|
fpx: nil,
|
2675
3132
|
giropay: nil,
|
3133
|
+
gopay: nil,
|
2676
3134
|
grabpay: nil,
|
3135
|
+
id_bank_transfer: nil,
|
2677
3136
|
ideal: nil,
|
2678
3137
|
interac_present: nil,
|
2679
3138
|
kakao_pay: nil,
|
@@ -2681,6 +3140,7 @@ module Stripe
|
|
2681
3140
|
konbini: nil,
|
2682
3141
|
kr_card: nil,
|
2683
3142
|
link: nil,
|
3143
|
+
mb_way: nil,
|
2684
3144
|
metadata: nil,
|
2685
3145
|
mobilepay: nil,
|
2686
3146
|
multibanco: nil,
|
@@ -2692,14 +3152,19 @@ module Stripe
|
|
2692
3152
|
payco: nil,
|
2693
3153
|
paynow: nil,
|
2694
3154
|
paypal: nil,
|
3155
|
+
payto: nil,
|
2695
3156
|
pix: nil,
|
2696
3157
|
promptpay: nil,
|
3158
|
+
qris: nil,
|
2697
3159
|
radar_options: nil,
|
3160
|
+
rechnung: nil,
|
2698
3161
|
revolut_pay: nil,
|
2699
3162
|
samsung_pay: nil,
|
2700
3163
|
satispay: nil,
|
2701
3164
|
sepa_debit: nil,
|
3165
|
+
shopeepay: nil,
|
2702
3166
|
sofort: nil,
|
3167
|
+
stripe_balance: nil,
|
2703
3168
|
swish: nil,
|
2704
3169
|
twint: nil,
|
2705
3170
|
type: nil,
|
@@ -2726,7 +3191,9 @@ module Stripe
|
|
2726
3191
|
@eps = eps
|
2727
3192
|
@fpx = fpx
|
2728
3193
|
@giropay = giropay
|
3194
|
+
@gopay = gopay
|
2729
3195
|
@grabpay = grabpay
|
3196
|
+
@id_bank_transfer = id_bank_transfer
|
2730
3197
|
@ideal = ideal
|
2731
3198
|
@interac_present = interac_present
|
2732
3199
|
@kakao_pay = kakao_pay
|
@@ -2734,6 +3201,7 @@ module Stripe
|
|
2734
3201
|
@konbini = konbini
|
2735
3202
|
@kr_card = kr_card
|
2736
3203
|
@link = link
|
3204
|
+
@mb_way = mb_way
|
2737
3205
|
@metadata = metadata
|
2738
3206
|
@mobilepay = mobilepay
|
2739
3207
|
@multibanco = multibanco
|
@@ -2745,14 +3213,19 @@ module Stripe
|
|
2745
3213
|
@payco = payco
|
2746
3214
|
@paynow = paynow
|
2747
3215
|
@paypal = paypal
|
3216
|
+
@payto = payto
|
2748
3217
|
@pix = pix
|
2749
3218
|
@promptpay = promptpay
|
3219
|
+
@qris = qris
|
2750
3220
|
@radar_options = radar_options
|
3221
|
+
@rechnung = rechnung
|
2751
3222
|
@revolut_pay = revolut_pay
|
2752
3223
|
@samsung_pay = samsung_pay
|
2753
3224
|
@satispay = satispay
|
2754
3225
|
@sepa_debit = sepa_debit
|
3226
|
+
@shopeepay = shopeepay
|
2755
3227
|
@sofort = sofort
|
3228
|
+
@stripe_balance = stripe_balance
|
2756
3229
|
@swish = swish
|
2757
3230
|
@twint = twint
|
2758
3231
|
@type = type
|
@@ -2988,9 +3461,58 @@ module Stripe
|
|
2988
3461
|
class Paypal < Stripe::RequestParams
|
2989
3462
|
# The PayPal Billing Agreement ID (BAID). This is an ID generated by PayPal which represents the mandate between the merchant and the customer.
|
2990
3463
|
attr_accessor :billing_agreement_id
|
3464
|
+
# Attribute for param field currency
|
3465
|
+
attr_accessor :currency
|
3466
|
+
# The Stripe connected account IDs of the sellers on the platform for this transaction (optional). Only allowed when [separate charges and transfers](https://stripe.com/docs/connect/separate-charges-and-transfers) are used.
|
3467
|
+
attr_accessor :subsellers
|
2991
3468
|
|
2992
|
-
def initialize(billing_agreement_id: nil)
|
3469
|
+
def initialize(billing_agreement_id: nil, currency: nil, subsellers: nil)
|
2993
3470
|
@billing_agreement_id = billing_agreement_id
|
3471
|
+
@currency = currency
|
3472
|
+
@subsellers = subsellers
|
3473
|
+
end
|
3474
|
+
end
|
3475
|
+
|
3476
|
+
class Payto < Stripe::RequestParams
|
3477
|
+
class MandateOptions < Stripe::RequestParams
|
3478
|
+
# Amount that will be collected. It is required when `amount_type` is `fixed`.
|
3479
|
+
attr_accessor :amount
|
3480
|
+
# The type of amount that will be collected. The amount charged must be exact or up to the value of `amount` param for `fixed` or `maximum` type respectively.
|
3481
|
+
attr_accessor :amount_type
|
3482
|
+
# Date, in YYYY-MM-DD format, after which payments will not be collected. Defaults to no end date.
|
3483
|
+
attr_accessor :end_date
|
3484
|
+
# The periodicity at which payments will be collected.
|
3485
|
+
attr_accessor :payment_schedule
|
3486
|
+
# The number of payments that will be made during a payment period. Defaults to 1 except for when `payment_schedule` is `adhoc`. In that case, it defaults to no limit.
|
3487
|
+
attr_accessor :payments_per_period
|
3488
|
+
# The purpose for which payments are made. Defaults to retail.
|
3489
|
+
attr_accessor :purpose
|
3490
|
+
# Date, in YYYY-MM-DD format, from which payments will be collected. Defaults to confirmation time.
|
3491
|
+
attr_accessor :start_date
|
3492
|
+
|
3493
|
+
def initialize(
|
3494
|
+
amount: nil,
|
3495
|
+
amount_type: nil,
|
3496
|
+
end_date: nil,
|
3497
|
+
payment_schedule: nil,
|
3498
|
+
payments_per_period: nil,
|
3499
|
+
purpose: nil,
|
3500
|
+
start_date: nil
|
3501
|
+
)
|
3502
|
+
@amount = amount
|
3503
|
+
@amount_type = amount_type
|
3504
|
+
@end_date = end_date
|
3505
|
+
@payment_schedule = payment_schedule
|
3506
|
+
@payments_per_period = payments_per_period
|
3507
|
+
@purpose = purpose
|
3508
|
+
@start_date = start_date
|
3509
|
+
end
|
3510
|
+
end
|
3511
|
+
# Additional fields for Mandate creation.
|
3512
|
+
attr_accessor :mandate_options
|
3513
|
+
|
3514
|
+
def initialize(mandate_options: nil)
|
3515
|
+
@mandate_options = mandate_options
|
2994
3516
|
end
|
2995
3517
|
end
|
2996
3518
|
|
@@ -3016,13 +3538,27 @@ module Stripe
|
|
3016
3538
|
class Filters < Stripe::RequestParams
|
3017
3539
|
# The account subcategories to use to filter for selectable accounts. Valid subcategories are `checking` and `savings`.
|
3018
3540
|
attr_accessor :account_subcategories
|
3541
|
+
# ID of the institution to use to filter for selectable accounts.
|
3542
|
+
attr_accessor :institution
|
3019
3543
|
|
3020
|
-
def initialize(account_subcategories: nil)
|
3544
|
+
def initialize(account_subcategories: nil, institution: nil)
|
3021
3545
|
@account_subcategories = account_subcategories
|
3546
|
+
@institution = institution
|
3547
|
+
end
|
3548
|
+
end
|
3549
|
+
|
3550
|
+
class ManualEntry < Stripe::RequestParams
|
3551
|
+
# Settings for configuring manual entry of account details.
|
3552
|
+
attr_accessor :mode
|
3553
|
+
|
3554
|
+
def initialize(mode: nil)
|
3555
|
+
@mode = mode
|
3022
3556
|
end
|
3023
3557
|
end
|
3024
3558
|
# Provide filters for the linked accounts that the customer can select for the payment method.
|
3025
3559
|
attr_accessor :filters
|
3560
|
+
# Customize manual entry behavior
|
3561
|
+
attr_accessor :manual_entry
|
3026
3562
|
# The list of permissions to request. If this parameter is passed, the `payment_method` permission must be included. Valid permissions include: `balances`, `ownership`, `payment_method`, and `transactions`.
|
3027
3563
|
attr_accessor :permissions
|
3028
3564
|
# List of data features that you would like to retrieve upon account creation.
|
@@ -3030,8 +3566,15 @@ module Stripe
|
|
3030
3566
|
# For webview integrations only. Upon completing OAuth login in the native browser, the user will be redirected to this URL to return to your app.
|
3031
3567
|
attr_accessor :return_url
|
3032
3568
|
|
3033
|
-
def initialize(
|
3569
|
+
def initialize(
|
3570
|
+
filters: nil,
|
3571
|
+
manual_entry: nil,
|
3572
|
+
permissions: nil,
|
3573
|
+
prefetch: nil,
|
3574
|
+
return_url: nil
|
3575
|
+
)
|
3034
3576
|
@filters = filters
|
3577
|
+
@manual_entry = manual_entry
|
3035
3578
|
@permissions = permissions
|
3036
3579
|
@prefetch = prefetch
|
3037
3580
|
@return_url = return_url
|
@@ -3090,6 +3633,8 @@ module Stripe
|
|
3090
3633
|
attr_accessor :link
|
3091
3634
|
# If this is a `paypal` PaymentMethod, this sub-hash contains details about the PayPal payment method options.
|
3092
3635
|
attr_accessor :paypal
|
3636
|
+
# If this is a `payto` SetupIntent, this sub-hash contains details about the PayTo payment method options.
|
3637
|
+
attr_accessor :payto
|
3093
3638
|
# If this is a `sepa_debit` SetupIntent, this sub-hash contains details about the SEPA Debit payment method options.
|
3094
3639
|
attr_accessor :sepa_debit
|
3095
3640
|
# If this is a `us_bank_account` SetupIntent, this sub-hash contains details about the US bank account payment method options.
|
@@ -3103,6 +3648,7 @@ module Stripe
|
|
3103
3648
|
card_present: nil,
|
3104
3649
|
link: nil,
|
3105
3650
|
paypal: nil,
|
3651
|
+
payto: nil,
|
3106
3652
|
sepa_debit: nil,
|
3107
3653
|
us_bank_account: nil
|
3108
3654
|
)
|
@@ -3113,6 +3659,7 @@ module Stripe
|
|
3113
3659
|
@card_present = card_present
|
3114
3660
|
@link = link
|
3115
3661
|
@paypal = paypal
|
3662
|
+
@payto = payto
|
3116
3663
|
@sepa_debit = sepa_debit
|
3117
3664
|
@us_bank_account = us_bank_account
|
3118
3665
|
end
|