stripe 15.1.0.pre.beta.2 → 15.1.0
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 +696 -1554
- data/OPENAPI_VERSION +1 -1
- data/README.md +6 -0
- data/VERSION +1 -1
- data/lib/stripe/api_requestor.rb +0 -28
- data/lib/stripe/api_version.rb +1 -1
- data/lib/stripe/errors.rb +0 -54
- data/lib/stripe/event_types.rb +1 -75
- data/lib/stripe/events/v1_billing_meter_error_report_triggered_event.rb +1 -1
- data/lib/stripe/events/v1_billing_meter_no_meter_found_event.rb +1 -1
- data/lib/stripe/events/{v2_core_account_including_identity_updated_event.rb → v2_core_event_destination_ping_event.rb} +3 -3
- data/lib/stripe/object_types.rb +0 -53
- data/lib/stripe/resources/account.rb +3 -655
- data/lib/stripe/resources/account_session.rb +1 -299
- data/lib/stripe/resources/billing/credit_balance_summary.rb +0 -2
- data/lib/stripe/resources/billing/credit_balance_transaction.rb +0 -4
- data/lib/stripe/resources/billing/credit_grant.rb +0 -10
- data/lib/stripe/resources/billing_portal/session.rb +0 -6
- data/lib/stripe/resources/card.rb +0 -2
- data/lib/stripe/resources/cash_balance.rb +0 -2
- data/lib/stripe/resources/charge.rb +0 -1470
- data/lib/stripe/resources/checkout/session.rb +3 -327
- data/lib/stripe/resources/confirmation_token.rb +3 -177
- data/lib/stripe/resources/coupon.rb +1 -30
- data/lib/stripe/resources/credit_note.rb +0 -10
- data/lib/stripe/resources/credit_note_line_item.rb +0 -9
- data/lib/stripe/resources/customer.rb +2 -4
- data/lib/stripe/resources/customer_balance_transaction.rb +0 -2
- data/lib/stripe/resources/customer_cash_balance_transaction.rb +0 -2
- data/lib/stripe/resources/customer_session.rb +1 -6
- data/lib/stripe/resources/discount.rb +0 -2
- data/lib/stripe/resources/event.rb +0 -31
- data/lib/stripe/resources/financial_connections/account.rb +1 -20
- data/lib/stripe/resources/financial_connections/session.rb +2 -62
- data/lib/stripe/resources/identity/verification_session.rb +0 -10
- data/lib/stripe/resources/invoice.rb +17 -1123
- data/lib/stripe/resources/invoice_item.rb +2 -78
- data/lib/stripe/resources/invoice_line_item.rb +1 -55
- data/lib/stripe/resources/invoice_payment.rb +53 -2
- data/lib/stripe/resources/issuing/cardholder.rb +1 -2
- data/lib/stripe/resources/issuing/transaction.rb +0 -6
- data/lib/stripe/resources/line_item.rb +0 -37
- data/lib/stripe/resources/mandate.rb +0 -24
- data/lib/stripe/resources/payment_intent.rb +331 -5153
- data/lib/stripe/resources/payment_method.rb +1 -196
- data/lib/stripe/resources/payment_method_configuration.rb +0 -295
- data/lib/stripe/resources/payout.rb +0 -6
- data/lib/stripe/resources/price.rb +0 -30
- data/lib/stripe/resources/product.rb +0 -59
- data/lib/stripe/resources/promotion_code.rb +0 -10
- data/lib/stripe/resources/quote.rb +6 -2040
- data/lib/stripe/resources/refund.rb +0 -9
- data/lib/stripe/resources/setup_attempt.rb +0 -21
- data/lib/stripe/resources/setup_intent.rb +9 -596
- data/lib/stripe/resources/source.rb +0 -29
- data/lib/stripe/resources/subscription.rb +11 -294
- data/lib/stripe/resources/subscription_item.rb +3 -84
- data/lib/stripe/resources/subscription_schedule.rb +10 -1007
- data/lib/stripe/resources/tax/calculation.rb +2 -2
- data/lib/stripe/resources/tax/registration.rb +60 -0
- data/lib/stripe/resources/tax/transaction.rb +1 -1
- data/lib/stripe/resources/tax_id.rb +4 -14
- data/lib/stripe/resources/terminal/reader.rb +0 -406
- data/lib/stripe/resources/transfer.rb +0 -6
- data/lib/stripe/resources/treasury/financial_account.rb +3 -22
- data/lib/stripe/resources/treasury/financial_account_features.rb +0 -2
- data/lib/stripe/resources/treasury/outbound_payment.rb +1 -4
- data/lib/stripe/resources/treasury/outbound_transfer.rb +0 -37
- data/lib/stripe/resources/treasury/received_credit.rb +1 -38
- data/lib/stripe/resources/treasury/received_debit.rb +1 -40
- data/lib/stripe/resources/v2/billing/meter_event.rb +2 -2
- data/lib/stripe/resources/v2/billing/meter_event_adjustment.rb +2 -2
- data/lib/stripe/resources/v2/billing/meter_event_session.rb +2 -2
- data/lib/stripe/resources/v2/event.rb +2 -2
- data/lib/stripe/resources/v2/event_destination.rb +2 -2
- data/lib/stripe/resources.rb +1 -90
- data/lib/stripe/services/account_external_account_service.rb +1 -1
- data/lib/stripe/services/account_service.rb +3 -564
- data/lib/stripe/services/account_session_service.rb +1 -269
- data/lib/stripe/services/billing/credit_balance_summary_service.rb +1 -4
- data/lib/stripe/services/billing/credit_balance_transaction_service.rb +0 -4
- data/lib/stripe/services/billing/credit_grant_service.rb +0 -8
- data/lib/stripe/services/billing_portal/session_service.rb +0 -4
- data/lib/stripe/services/charge_service.rb +0 -1350
- data/lib/stripe/services/checkout/session_service.rb +2 -243
- data/lib/stripe/services/coupon_service.rb +1 -17
- data/lib/stripe/services/credit_note_service.rb +0 -4
- data/lib/stripe/services/customer_payment_method_service.rb +1 -1
- data/lib/stripe/services/customer_service.rb +1 -1
- data/lib/stripe/services/customer_session_service.rb +1 -4
- data/lib/stripe/services/customer_tax_id_service.rb +1 -1
- data/lib/stripe/services/financial_connections/account_service.rb +2 -7
- data/lib/stripe/services/financial_connections/session_service.rb +2 -34
- data/lib/stripe/services/financial_connections_service.rb +1 -2
- data/lib/stripe/services/identity/verification_session_service.rb +0 -8
- data/lib/stripe/services/invoice_item_service.rb +2 -74
- data/lib/stripe/services/invoice_line_item_service.rb +1 -33
- data/lib/stripe/services/invoice_payment_service.rb +83 -0
- data/lib/stripe/services/invoice_service.rb +16 -1052
- data/lib/stripe/services/issuing/cardholder_service.rb +1 -2
- data/lib/stripe/services/issuing/transaction_service.rb +0 -4
- data/lib/stripe/services/issuing_service.rb +1 -5
- data/lib/stripe/services/payment_intent_service.rb +283 -4656
- data/lib/stripe/services/payment_method_configuration_service.rb +0 -210
- data/lib/stripe/services/payment_method_service.rb +1 -126
- data/lib/stripe/services/payout_service.rb +0 -4
- data/lib/stripe/services/price_service.rb +0 -19
- data/lib/stripe/services/product_service.rb +0 -38
- data/lib/stripe/services/promotion_code_service.rb +0 -8
- data/lib/stripe/services/quote_service.rb +7 -1726
- data/lib/stripe/services/setup_intent_service.rb +9 -556
- data/lib/stripe/services/subscription_item_service.rb +3 -75
- data/lib/stripe/services/subscription_schedule_service.rb +10 -911
- data/lib/stripe/services/subscription_service.rb +10 -254
- data/lib/stripe/services/tax/calculation_service.rb +1 -1
- data/lib/stripe/services/tax/registration_service.rb +39 -0
- data/lib/stripe/services/tax_id_service.rb +3 -9
- data/lib/stripe/services/tax_service.rb +1 -3
- data/lib/stripe/services/terminal/reader_service.rb +0 -180
- data/lib/stripe/services/terminal_service.rb +1 -2
- data/lib/stripe/services/test_helpers/confirmation_token_service.rb +3 -106
- data/lib/stripe/services/test_helpers/terminal/reader_service.rb +0 -43
- data/lib/stripe/services/test_helpers/treasury/received_credit_service.rb +1 -25
- data/lib/stripe/services/test_helpers/treasury/received_debit_service.rb +1 -25
- data/lib/stripe/services/transfer_service.rb +0 -4
- data/lib/stripe/services/treasury/financial_account_features_service.rb +1 -4
- data/lib/stripe/services/treasury/financial_account_service.rb +2 -16
- data/lib/stripe/services/treasury/outbound_payment_service.rb +1 -4
- data/lib/stripe/services/treasury/outbound_transfer_service.rb +0 -24
- data/lib/stripe/services/v1_services.rb +2 -12
- data/lib/stripe/services/v2/core_service.rb +1 -4
- data/lib/stripe/services/v2_services.rb +2 -4
- data/lib/stripe/services.rb +1 -54
- data/lib/stripe/stripe_configuration.rb +1 -3
- data/lib/stripe/stripe_object.rb +1 -1
- data/lib/stripe/util.rb +1 -7
- data/lib/stripe/version.rb +1 -1
- data/lib/stripe.rb +0 -53
- data/rbi/stripe/resources/account.rbi +4903 -0
- data/rbi/stripe/resources/account_link.rbi +74 -0
- data/rbi/stripe/resources/account_session.rbi +894 -0
- data/rbi/stripe/resources/apple_pay_domain.rbi +90 -0
- data/rbi/stripe/resources/application.rbi +20 -0
- data/rbi/stripe/resources/application_fee.rbi +118 -0
- data/rbi/stripe/resources/application_fee_refund.rbi +37 -0
- data/rbi/stripe/resources/apps/secret.rbi +195 -0
- data/rbi/stripe/resources/balance.rbi +180 -0
- data/rbi/stripe/resources/balance_transaction.rbi +144 -0
- data/rbi/stripe/resources/bank_account.rbi +127 -0
- data/rbi/stripe/resources/billing/alert.rbi +201 -0
- data/rbi/stripe/resources/billing/alert_triggered.rbi +28 -0
- data/rbi/stripe/resources/billing/credit_balance_summary.rbi +63 -0
- data/rbi/stripe/resources/billing/credit_balance_transaction.rbi +147 -0
- data/rbi/stripe/resources/billing/credit_grant.rbi +291 -0
- data/rbi/stripe/resources/billing/meter.rbi +226 -0
- data/rbi/stripe/resources/billing/meter_event.rbi +64 -0
- data/rbi/stripe/resources/billing/meter_event_adjustment.rbi +64 -0
- data/rbi/stripe/resources/billing/meter_event_summary.rbi +35 -0
- data/rbi/stripe/resources/billing_portal/configuration.rbi +645 -0
- data/rbi/stripe/resources/billing_portal/session.rbi +345 -0
- data/rbi/stripe/resources/capability.rbi +125 -0
- data/rbi/stripe/resources/card.rbi +125 -0
- data/rbi/stripe/resources/cash_balance.rbi +32 -0
- data/rbi/stripe/resources/charge.rbi +2057 -0
- data/rbi/stripe/resources/checkout/session.rbi +3988 -0
- data/rbi/stripe/resources/climate/order.rbi +245 -0
- data/rbi/stripe/resources/climate/product.rbi +75 -0
- data/rbi/stripe/resources/climate/supplier.rbi +72 -0
- data/rbi/stripe/resources/confirmation_token.rbi +1873 -0
- data/rbi/stripe/resources/connect_collection_transfer.rbi +26 -0
- data/rbi/stripe/resources/country_spec.rbi +85 -0
- data/rbi/stripe/resources/coupon.rbi +252 -0
- data/rbi/stripe/resources/credit_note.rbi +747 -0
- data/rbi/stripe/resources/credit_note_line_item.rbi +101 -0
- data/rbi/stripe/resources/customer.rbi +1009 -0
- data/rbi/stripe/resources/customer_balance_transaction.rbi +56 -0
- data/rbi/stripe/resources/customer_cash_balance_transaction.rbi +151 -0
- data/rbi/stripe/resources/customer_session.rbi +200 -0
- data/rbi/stripe/resources/discount.rbi +53 -0
- data/rbi/stripe/resources/dispute.rbi +761 -0
- data/rbi/stripe/resources/entitlements/active_entitlement.rbi +58 -0
- data/rbi/stripe/resources/entitlements/active_entitlement_summary.rbi +23 -0
- data/rbi/stripe/resources/entitlements/feature.rbi +117 -0
- data/rbi/stripe/resources/ephemeral_key.rbi +44 -0
- data/rbi/stripe/resources/event.rbi +149 -0
- data/rbi/stripe/resources/exchange_rate.rbi +66 -0
- data/rbi/stripe/resources/file.rbi +143 -0
- data/rbi/stripe/resources/file_link.rbi +141 -0
- data/rbi/stripe/resources/financial_connections/account.rbi +339 -0
- data/rbi/stripe/resources/financial_connections/account_owner.rbi +35 -0
- data/rbi/stripe/resources/financial_connections/account_ownership.rbi +23 -0
- data/rbi/stripe/resources/financial_connections/session.rbi +123 -0
- data/rbi/stripe/resources/financial_connections/transaction.rbi +124 -0
- data/rbi/stripe/resources/forwarding/request.rbi +216 -0
- data/rbi/stripe/resources/funding_instructions.rbi +437 -0
- data/rbi/stripe/resources/identity/verification_report.rbi +351 -0
- data/rbi/stripe/resources/identity/verification_session.rbi +517 -0
- data/rbi/stripe/resources/invoice.rbi +3736 -0
- data/rbi/stripe/resources/invoice_item.rbi +475 -0
- data/rbi/stripe/resources/invoice_line_item.rbi +432 -0
- data/rbi/stripe/resources/invoice_payment.rbi +114 -0
- data/rbi/stripe/resources/invoice_rendering_template.rbi +104 -0
- data/rbi/stripe/resources/issuing/authorization.rbi +1283 -0
- data/rbi/stripe/resources/issuing/card.rbi +741 -0
- data/rbi/stripe/resources/issuing/cardholder.rbi +744 -0
- data/rbi/stripe/resources/issuing/dispute.rbi +913 -0
- data/rbi/stripe/resources/issuing/personalization_design.rbi +338 -0
- data/rbi/stripe/resources/issuing/physical_bundle.rbi +79 -0
- data/rbi/stripe/resources/issuing/token.rbi +226 -0
- data/rbi/stripe/resources/issuing/transaction.rbi +1061 -0
- data/rbi/stripe/resources/line_item.rbi +72 -0
- data/rbi/stripe/resources/login_link.rbi +19 -0
- data/rbi/stripe/resources/mandate.rbi +187 -0
- data/rbi/stripe/resources/payment_intent.rbi +9795 -0
- data/rbi/stripe/resources/payment_link.rbi +1801 -0
- data/rbi/stripe/resources/payment_method.rbi +1831 -0
- data/rbi/stripe/resources/payment_method_configuration.rbi +3220 -0
- data/rbi/stripe/resources/payment_method_domain.rbi +228 -0
- data/rbi/stripe/resources/payout.rbi +300 -0
- data/rbi/stripe/resources/person.rbi +401 -0
- data/rbi/stripe/resources/plan.rbi +373 -0
- data/rbi/stripe/resources/price.rbi +694 -0
- data/rbi/stripe/resources/product.rbi +557 -0
- data/rbi/stripe/resources/product_feature.rbi +26 -0
- data/rbi/stripe/resources/promotion_code.rbi +261 -0
- data/rbi/stripe/resources/quote.rbi +1126 -0
- data/rbi/stripe/resources/radar/early_fraud_warning.rbi +98 -0
- data/rbi/stripe/resources/radar/value_list.rbi +170 -0
- data/rbi/stripe/resources/radar/value_list_item.rbi +131 -0
- data/rbi/stripe/resources/refund.rbi +519 -0
- data/rbi/stripe/resources/reporting/report_run.rbi +191 -0
- data/rbi/stripe/resources/reporting/report_type.rbi +57 -0
- data/rbi/stripe/resources/reserve_transaction.rbi +23 -0
- data/rbi/stripe/resources/reversal.rbi +51 -0
- data/rbi/stripe/resources/review.rbi +154 -0
- data/rbi/stripe/resources/setup_attempt.rbi +477 -0
- data/rbi/stripe/resources/setup_intent.rbi +3869 -0
- data/rbi/stripe/resources/shipping_rate.rbi +305 -0
- data/rbi/stripe/resources/sigma/scheduled_query_run.rbi +75 -0
- data/rbi/stripe/resources/source.rbi +1496 -0
- data/rbi/stripe/resources/source_mandate_notification.rbi +77 -0
- data/rbi/stripe/resources/source_transaction.rbi +127 -0
- data/rbi/stripe/resources/subscription.rbi +1964 -0
- data/rbi/stripe/resources/subscription_item.rbi +370 -0
- data/rbi/stripe/resources/subscription_schedule.rbi +1495 -0
- data/rbi/stripe/resources/tax/calculation.rbi +474 -0
- data/rbi/stripe/resources/tax/calculation_line_item.rbi +88 -0
- data/rbi/stripe/resources/tax/registration.rbi +2713 -0
- data/rbi/stripe/resources/tax/settings.rbi +141 -0
- data/rbi/stripe/resources/tax/transaction.rbi +351 -0
- data/rbi/stripe/resources/tax/transaction_line_item.rbi +54 -0
- data/rbi/stripe/resources/tax_code.rbi +44 -0
- data/rbi/stripe/resources/tax_deducted_at_source.rbi +23 -0
- data/rbi/stripe/resources/tax_id.rbi +167 -0
- data/rbi/stripe/resources/tax_rate.rbi +239 -0
- data/rbi/stripe/resources/terminal/configuration.rbi +1388 -0
- data/rbi/stripe/resources/terminal/connection_token.rbi +37 -0
- data/rbi/stripe/resources/terminal/location.rbi +224 -0
- data/rbi/stripe/resources/terminal/reader.rbi +587 -0
- data/rbi/stripe/resources/test_helpers/test_clock.rbi +134 -0
- data/rbi/stripe/resources/token.rbi +1283 -0
- data/rbi/stripe/resources/topup.rbi +222 -0
- data/rbi/stripe/resources/transfer.rbi +199 -0
- data/rbi/stripe/resources/treasury/credit_reversal.rbi +119 -0
- data/rbi/stripe/resources/treasury/debit_reversal.rbi +131 -0
- data/rbi/stripe/resources/treasury/financial_account.rbi +865 -0
- data/rbi/stripe/resources/treasury/financial_account_features.rbi +260 -0
- data/rbi/stripe/resources/treasury/inbound_transfer.rbi +295 -0
- data/rbi/stripe/resources/treasury/outbound_payment.rbi +592 -0
- data/rbi/stripe/resources/treasury/outbound_transfer.rbi +431 -0
- data/rbi/stripe/resources/treasury/received_credit.rbi +302 -0
- data/rbi/stripe/resources/treasury/received_debit.rbi +256 -0
- data/rbi/stripe/resources/treasury/transaction.rbi +215 -0
- data/rbi/stripe/resources/treasury/transaction_entry.rbi +192 -0
- data/rbi/stripe/resources/v2/amount.rbi +14 -0
- data/rbi/stripe/resources/v2/billing/meter_event.rbi +37 -0
- data/rbi/stripe/resources/v2/billing/meter_event_adjustment.rbi +41 -0
- data/rbi/stripe/resources/v2/billing/meter_event_session.rbi +31 -0
- data/rbi/stripe/resources/v2/event.rbi +48 -0
- data/rbi/stripe/resources/v2/event_destination.rbi +91 -0
- data/rbi/stripe/resources/webhook_endpoint.rbi +170 -0
- data/rbi/stripe/services/account_capability_service.rbi +51 -0
- data/{lib/stripe/services/external_account_service.rb → rbi/stripe/services/account_external_account_service.rbi} +124 -136
- data/rbi/stripe/services/account_link_service.rbi +58 -0
- data/rbi/stripe/services/account_login_link_service.rbi +22 -0
- data/rbi/stripe/services/account_person_service.rbi +1013 -0
- data/rbi/stripe/services/account_service.rbi +4189 -0
- data/rbi/stripe/services/account_session_service.rbi +572 -0
- data/rbi/stripe/services/apple_pay_domain_service.rbi +78 -0
- data/rbi/stripe/services/application_fee_refund_service.rbi +93 -0
- data/rbi/stripe/services/application_fee_service.rbi +78 -0
- data/rbi/stripe/services/apps/secret_service.rbi +151 -0
- data/rbi/stripe/services/apps_service.rbi +9 -0
- data/rbi/stripe/services/balance_service.rbi +21 -0
- data/rbi/stripe/services/balance_transaction_service.rbi +93 -0
- data/rbi/stripe/services/billing/alert_service.rbi +152 -0
- data/rbi/stripe/services/billing/credit_balance_summary_service.rbi +68 -0
- data/rbi/stripe/services/billing/credit_balance_transaction_service.rbi +59 -0
- data/rbi/stripe/services/billing/credit_grant_service.rbi +211 -0
- data/rbi/stripe/services/billing/meter_event_adjustment_service.rbi +42 -0
- data/rbi/stripe/services/billing/meter_event_service.rbi +42 -0
- data/rbi/stripe/services/billing/meter_event_summary_service.rbi +54 -0
- data/rbi/stripe/services/billing/meter_service.rbi +163 -0
- data/rbi/stripe/services/billing_portal/configuration_service.rbi +511 -0
- data/rbi/stripe/services/billing_portal/session_service.rbi +204 -0
- data/rbi/stripe/services/billing_portal_service.rbi +10 -0
- data/rbi/stripe/services/billing_service.rbi +15 -0
- data/rbi/stripe/services/charge_service.rbi +448 -0
- data/rbi/stripe/services/checkout/session_line_item_service.rbi +33 -0
- data/rbi/stripe/services/checkout/session_service.rbi +2607 -0
- data/rbi/stripe/services/checkout_service.rbi +9 -0
- data/rbi/stripe/services/climate/order_service.rbi +142 -0
- data/{lib/stripe/services/financial_connections/institution_service.rb → rbi/stripe/services/climate/product_service.rbi} +25 -36
- data/{lib/stripe/services/privacy/redaction_job_validation_error_service.rb → rbi/stripe/services/climate/supplier_service.rbi} +25 -36
- data/rbi/stripe/services/climate_service.rbi +11 -0
- data/rbi/stripe/services/confirmation_token_service.rbi +20 -0
- data/rbi/stripe/services/country_spec_service.rbi +44 -0
- data/rbi/stripe/services/coupon_service.rbi +196 -0
- data/{lib/stripe/services/quote_preview_invoice_service.rb → rbi/stripe/services/credit_note_line_item_service.rbi} +16 -20
- data/rbi/stripe/services/credit_note_preview_lines_service.rbi +167 -0
- data/rbi/stripe/services/credit_note_service.rbi +416 -0
- data/rbi/stripe/services/customer_balance_transaction_service.rbi +92 -0
- data/rbi/stripe/services/customer_cash_balance_service.rbi +45 -0
- data/rbi/stripe/services/customer_cash_balance_transaction_service.rbi +44 -0
- data/rbi/stripe/services/customer_funding_instructions_service.rbi +59 -0
- data/rbi/stripe/services/customer_payment_method_service.rbi +57 -0
- data/rbi/stripe/services/customer_payment_source_service.rbi +232 -0
- data/rbi/stripe/services/customer_service.rbi +651 -0
- data/rbi/stripe/services/customer_session_service.rbi +116 -0
- data/rbi/stripe/services/customer_tax_id_service.rbi +72 -0
- data/rbi/stripe/services/dispute_service.rbi +424 -0
- data/rbi/stripe/services/entitlements/active_entitlement_service.rbi +55 -0
- data/rbi/stripe/services/entitlements/feature_service.rbi +107 -0
- data/rbi/stripe/services/entitlements_service.rbi +10 -0
- data/rbi/stripe/services/ephemeral_key_service.rbi +53 -0
- data/rbi/stripe/services/event_service.rbi +83 -0
- data/rbi/stripe/services/exchange_rate_service.rbi +44 -0
- data/rbi/stripe/services/file_link_service.rbi +124 -0
- data/rbi/stripe/services/file_service.rbi +116 -0
- data/rbi/stripe/services/financial_connections/account_owner_service.rbi +42 -0
- data/rbi/stripe/services/financial_connections/account_service.rbi +133 -0
- data/rbi/stripe/services/financial_connections/session_service.rbi +88 -0
- data/rbi/stripe/services/financial_connections/transaction_service.rbi +92 -0
- data/rbi/stripe/services/financial_connections_service.rbi +11 -0
- data/rbi/stripe/services/forwarding/request_service.rbi +134 -0
- data/rbi/stripe/services/forwarding_service.rbi +9 -0
- data/rbi/stripe/services/identity/verification_report_service.rbi +87 -0
- data/rbi/stripe/services/identity/verification_session_service.rbi +323 -0
- data/rbi/stripe/services/identity_service.rbi +10 -0
- data/rbi/stripe/services/invoice_item_service.rbi +368 -0
- data/rbi/stripe/services/invoice_line_item_service.rbi +259 -0
- data/rbi/stripe/services/invoice_payment_service.rbi +71 -0
- data/rbi/stripe/services/invoice_rendering_template_service.rbi +82 -0
- data/rbi/stripe/services/invoice_service.rbi +2920 -0
- data/rbi/stripe/services/issuing/authorization_service.rbi +146 -0
- data/rbi/stripe/services/issuing/card_service.rbi +495 -0
- data/rbi/stripe/services/issuing/cardholder_service.rbi +587 -0
- data/rbi/stripe/services/issuing/dispute_service.rbi +707 -0
- data/rbi/stripe/services/issuing/personalization_design_service.rbi +243 -0
- data/rbi/stripe/services/issuing/physical_bundle_service.rbi +59 -0
- data/rbi/stripe/services/issuing/token_service.rbi +99 -0
- data/rbi/stripe/services/issuing/transaction_service.rbi +105 -0
- data/rbi/stripe/services/issuing_service.rbi +16 -0
- data/rbi/stripe/services/mandate_service.rbi +20 -0
- data/rbi/stripe/services/payment_intent_service.rbi +7819 -0
- data/{lib/stripe/services/payment_intent_amount_details_line_item_service.rb → rbi/stripe/services/payment_link_line_item_service.rbi} +16 -20
- data/rbi/stripe/services/payment_link_service.rbi +1352 -0
- data/rbi/stripe/services/payment_method_configuration_service.rbi +2255 -0
- data/rbi/stripe/services/payment_method_domain_service.rbi +112 -0
- data/rbi/stripe/services/payment_method_service.rbi +846 -0
- data/rbi/stripe/services/payout_service.rbi +205 -0
- data/rbi/stripe/services/plan_service.rbi +284 -0
- data/rbi/stripe/services/price_service.rbi +546 -0
- data/rbi/stripe/services/product_feature_service.rbi +69 -0
- data/rbi/stripe/services/product_service.rbi +479 -0
- data/rbi/stripe/services/promotion_code_service.rbi +214 -0
- data/rbi/stripe/services/quote_computed_upfront_line_items_service.rbi +31 -0
- data/{lib/stripe/services/order_line_item_service.rb → rbi/stripe/services/quote_line_item_service.rbi} +16 -20
- data/rbi/stripe/services/quote_service.rbi +686 -0
- data/rbi/stripe/services/radar/early_fraud_warning_service.rbi +85 -0
- data/rbi/stripe/services/radar/value_list_item_service.rbi +111 -0
- data/rbi/stripe/services/radar/value_list_service.rbi +143 -0
- data/rbi/stripe/services/radar_service.rbi +11 -0
- data/rbi/stripe/services/refund_service.rbi +185 -0
- data/rbi/stripe/services/reporting/report_run_service.rbi +135 -0
- data/rbi/stripe/services/reporting/report_type_service.rbi +35 -0
- data/rbi/stripe/services/reporting_service.rbi +10 -0
- data/rbi/stripe/services/review_service.rbi +84 -0
- data/rbi/stripe/services/setup_attempt_service.rbi +65 -0
- data/rbi/stripe/services/setup_intent_service.rbi +3605 -0
- data/rbi/stripe/services/shipping_rate_service.rbi +241 -0
- data/rbi/stripe/services/sigma/scheduled_query_run_service.rbi +46 -0
- data/rbi/stripe/services/sigma_service.rbi +9 -0
- data/rbi/stripe/services/source_service.rbi +663 -0
- data/{lib/stripe/services/quote_line_service.rb → rbi/stripe/services/source_transaction_service.rbi} +16 -20
- data/rbi/stripe/services/subscription_item_service.rbi +324 -0
- data/rbi/stripe/services/subscription_schedule_service.rbi +1192 -0
- data/rbi/stripe/services/subscription_service.rbi +1596 -0
- data/rbi/stripe/services/tax/calculation_line_item_service.rbi +33 -0
- data/rbi/stripe/services/tax/calculation_service.rbi +230 -0
- data/rbi/stripe/services/tax/registration_service.rbi +1845 -0
- data/rbi/stripe/services/tax/settings_service.rbi +93 -0
- data/{lib/stripe/services/financial_connections/account_inferred_balance_service.rb → rbi/stripe/services/tax/transaction_line_item_service.rbi} +17 -21
- data/rbi/stripe/services/tax/transaction_service.rbi +146 -0
- data/rbi/stripe/services/tax_code_service.rbi +44 -0
- data/rbi/stripe/services/tax_id_service.rbi +112 -0
- data/rbi/stripe/services/tax_rate_service.rbi +185 -0
- data/rbi/stripe/services/tax_service.rbi +12 -0
- data/rbi/stripe/services/terminal/configuration_service.rbi +1120 -0
- data/rbi/stripe/services/terminal/connection_token_service.rbi +25 -0
- data/rbi/stripe/services/terminal/location_service.rbi +184 -0
- data/rbi/stripe/services/terminal/reader_service.rbi +344 -0
- data/rbi/stripe/services/terminal_service.rbi +12 -0
- data/rbi/stripe/services/test_helpers/confirmation_token_service.rbi +805 -0
- data/rbi/stripe/services/test_helpers/customer_service.rbi +33 -0
- data/rbi/stripe/services/test_helpers/issuing/authorization_service.rbi +848 -0
- data/rbi/stripe/services/test_helpers/issuing/card_service.rbi +76 -0
- data/rbi/stripe/services/test_helpers/issuing/personalization_design_service.rbi +69 -0
- data/rbi/stripe/services/test_helpers/issuing/transaction_service.rbi +711 -0
- data/rbi/stripe/services/test_helpers/issuing_service.rbi +14 -0
- data/rbi/stripe/services/test_helpers/refund_service.rbi +22 -0
- data/rbi/stripe/services/test_helpers/terminal/reader_service.rbi +62 -0
- data/rbi/stripe/services/test_helpers/terminal_service.rbi +11 -0
- data/rbi/stripe/services/test_helpers/test_clock_service.rbi +92 -0
- data/rbi/stripe/services/test_helpers/treasury/inbound_transfer_service.rbi +64 -0
- data/rbi/stripe/services/test_helpers/treasury/outbound_payment_service.rbi +125 -0
- data/rbi/stripe/services/test_helpers/treasury/outbound_transfer_service.rbi +125 -0
- data/rbi/stripe/services/test_helpers/treasury/received_credit_service.rbi +87 -0
- data/rbi/stripe/services/test_helpers/treasury/received_debit_service.rbi +87 -0
- data/rbi/stripe/services/test_helpers/treasury_service.rbi +15 -0
- data/rbi/stripe/services/test_helpers_service.rbi +15 -0
- data/rbi/stripe/services/token_service.rbi +1257 -0
- data/rbi/stripe/services/topup_service.rbi +176 -0
- data/rbi/stripe/services/transfer_reversal_service.rbi +101 -0
- data/rbi/stripe/services/transfer_service.rbi +152 -0
- data/rbi/stripe/services/treasury/credit_reversal_service.rbi +84 -0
- data/rbi/stripe/services/treasury/debit_reversal_service.rbi +88 -0
- data/rbi/stripe/services/treasury/financial_account_features_service.rbi +198 -0
- data/rbi/stripe/services/treasury/financial_account_service.rbi +562 -0
- data/rbi/stripe/services/treasury/inbound_transfer_service.rbi +117 -0
- data/rbi/stripe/services/treasury/outbound_payment_service.rbi +304 -0
- data/rbi/stripe/services/treasury/outbound_transfer_service.rbi +157 -0
- data/rbi/stripe/services/treasury/received_credit_service.rbi +72 -0
- data/rbi/stripe/services/treasury/received_debit_service.rbi +59 -0
- data/rbi/stripe/services/treasury/transaction_entry_service.rbi +111 -0
- data/rbi/stripe/services/treasury/transaction_service.rbi +122 -0
- data/rbi/stripe/services/treasury_service.rbi +18 -0
- data/rbi/stripe/services/v1_services.rbi +77 -0
- data/rbi/stripe/services/v2/billing/meter_event_adjustment_service.rbi +39 -0
- data/rbi/stripe/services/v2/billing/meter_event_service.rbi +42 -0
- data/rbi/stripe/services/v2/billing/meter_event_session_service.rbi +20 -0
- data/rbi/stripe/services/v2/billing/meter_event_stream_service.rbi +55 -0
- data/rbi/stripe/services/v2/billing_service.rbi +14 -0
- data/rbi/stripe/services/v2/core/event_destination_service.rbi +200 -0
- data/rbi/stripe/services/v2/core/event_service.rbi +38 -0
- data/rbi/stripe/services/v2/core_service.rbi +12 -0
- data/rbi/stripe/services/v2_services.rbi +10 -0
- data/rbi/stripe/services/webhook_endpoint_service.rbi +131 -0
- data/stripe.gemspec +1 -4
- metadata +326 -149
- data/lib/stripe/events/v2_core_account_including_configuration_customer_capability_status_updated_event.rb +0 -23
- data/lib/stripe/events/v2_core_account_including_configuration_customer_updated_event.rb +0 -21
- data/lib/stripe/events/v2_core_account_including_configuration_merchant_capability_status_updated_event.rb +0 -23
- data/lib/stripe/events/v2_core_account_including_configuration_merchant_updated_event.rb +0 -21
- data/lib/stripe/events/v2_core_account_including_configuration_recipient_capability_status_updated_event.rb +0 -23
- data/lib/stripe/events/v2_core_account_including_configuration_recipient_updated_event.rb +0 -21
- data/lib/stripe/events/v2_core_account_including_requirements_updated_event.rb +0 -21
- data/lib/stripe/events/v2_core_account_link_completed_event.rb +0 -13
- data/lib/stripe/events/v2_core_account_person_created_event.rb +0 -23
- data/lib/stripe/events/v2_core_account_person_deleted_event.rb +0 -23
- data/lib/stripe/events/v2_core_account_person_updated_event.rb +0 -23
- data/lib/stripe/events/v2_money_management_financial_account_created_event.rb +0 -21
- data/lib/stripe/events/v2_money_management_financial_address_activated_event.rb +0 -21
- data/lib/stripe/events/v2_money_management_financial_address_failed_event.rb +0 -21
- data/lib/stripe/events/v2_money_management_inbound_transfer_available_event.rb +0 -23
- data/lib/stripe/events/v2_money_management_inbound_transfer_bank_debit_failed_event.rb +0 -21
- data/lib/stripe/events/v2_money_management_inbound_transfer_bank_debit_processing_event.rb +0 -21
- data/lib/stripe/events/v2_money_management_inbound_transfer_bank_debit_queued_event.rb +0 -21
- data/lib/stripe/events/v2_money_management_inbound_transfer_bank_debit_returned_event.rb +0 -21
- data/lib/stripe/events/v2_money_management_inbound_transfer_bank_debit_succeeded_event.rb +0 -21
- data/lib/stripe/events/v2_money_management_outbound_payment_canceled_event.rb +0 -21
- data/lib/stripe/events/v2_money_management_outbound_payment_created_event.rb +0 -21
- data/lib/stripe/events/v2_money_management_outbound_payment_failed_event.rb +0 -21
- data/lib/stripe/events/v2_money_management_outbound_payment_posted_event.rb +0 -21
- data/lib/stripe/events/v2_money_management_outbound_payment_returned_event.rb +0 -21
- data/lib/stripe/events/v2_money_management_outbound_transfer_canceled_event.rb +0 -21
- data/lib/stripe/events/v2_money_management_outbound_transfer_created_event.rb +0 -21
- data/lib/stripe/events/v2_money_management_outbound_transfer_failed_event.rb +0 -21
- data/lib/stripe/events/v2_money_management_outbound_transfer_posted_event.rb +0 -21
- data/lib/stripe/events/v2_money_management_outbound_transfer_returned_event.rb +0 -21
- data/lib/stripe/events/v2_money_management_received_credit_available_event.rb +0 -23
- data/lib/stripe/events/v2_money_management_received_credit_failed_event.rb +0 -21
- data/lib/stripe/events/v2_money_management_received_credit_returned_event.rb +0 -21
- data/lib/stripe/events/v2_money_management_received_credit_succeeded_event.rb +0 -21
- data/lib/stripe/events/v2_money_management_received_debit_canceled_event.rb +0 -21
- data/lib/stripe/events/v2_money_management_received_debit_failed_event.rb +0 -21
- data/lib/stripe/events/v2_money_management_received_debit_pending_event.rb +0 -21
- data/lib/stripe/events/v2_money_management_received_debit_succeeded_event.rb +0 -21
- data/lib/stripe/events/v2_money_management_received_debit_updated_event.rb +0 -21
- data/lib/stripe/resources/account_notice.rb +0 -123
- data/lib/stripe/resources/balance_settings.rb +0 -105
- data/lib/stripe/resources/billing/meter_error_report.rb +0 -59
- data/lib/stripe/resources/capital/financing_offer.rb +0 -179
- data/lib/stripe/resources/capital/financing_summary.rb +0 -55
- data/lib/stripe/resources/capital/financing_transaction.rb +0 -114
- data/lib/stripe/resources/financial_connections/account_inferred_balance.rb +0 -27
- data/lib/stripe/resources/financial_connections/institution.rb +0 -90
- data/lib/stripe/resources/fx_quote.rb +0 -184
- data/lib/stripe/resources/gift_cards/card.rb +0 -208
- data/lib/stripe/resources/gift_cards/transaction.rb +0 -272
- data/lib/stripe/resources/issuing/credit_underwriting_record.rb +0 -602
- data/lib/stripe/resources/issuing/dispute_settlement_detail.rb +0 -82
- data/lib/stripe/resources/issuing/fraud_liability_debit.rb +0 -86
- data/lib/stripe/resources/issuing/settlement.rb +0 -53
- data/lib/stripe/resources/margin.rb +0 -115
- data/lib/stripe/resources/order.rb +0 -2859
- data/lib/stripe/resources/payment_attempt_record.rb +0 -1078
- data/lib/stripe/resources/payment_intent_amount_details_line_item.rb +0 -65
- data/lib/stripe/resources/payment_record.rb +0 -1607
- data/lib/stripe/resources/privacy/redaction_job.rb +0 -254
- data/lib/stripe/resources/privacy/redaction_job_root_objects.rb +0 -35
- data/lib/stripe/resources/privacy/redaction_job_validation_error.rb +0 -25
- data/lib/stripe/resources/quote_line.rb +0 -274
- data/lib/stripe/resources/quote_preview_invoice.rb +0 -663
- data/lib/stripe/resources/quote_preview_subscription_schedule.rb +0 -337
- data/lib/stripe/resources/tax/association.rb +0 -89
- data/lib/stripe/resources/tax/form.rb +0 -211
- data/lib/stripe/resources/terminal/reader_collected_data.rb +0 -31
- data/lib/stripe/resources/v2/core/account.rb +0 -1715
- data/lib/stripe/resources/v2/core/account_link.rb +0 -54
- data/lib/stripe/resources/v2/core/person.rb +0 -272
- data/lib/stripe/resources/v2/core/vault/gb_bank_account.rb +0 -72
- data/lib/stripe/resources/v2/core/vault/us_bank_account.rb +0 -37
- data/lib/stripe/resources/v2/financial_address_credit_simulation.rb +0 -18
- data/lib/stripe/resources/v2/financial_address_generated_microdeposits.rb +0 -20
- data/lib/stripe/resources/v2/money_management/adjustment.rb +0 -49
- data/lib/stripe/resources/v2/money_management/financial_account.rb +0 -56
- data/lib/stripe/resources/v2/money_management/financial_address.rb +0 -66
- data/lib/stripe/resources/v2/money_management/inbound_transfer.rb +0 -92
- data/lib/stripe/resources/v2/money_management/outbound_payment.rb +0 -127
- data/lib/stripe/resources/v2/money_management/outbound_payment_quote.rb +0 -74
- data/lib/stripe/resources/v2/money_management/outbound_setup_intent.rb +0 -43
- data/lib/stripe/resources/v2/money_management/outbound_transfer.rb +0 -115
- data/lib/stripe/resources/v2/money_management/payout_method.rb +0 -73
- data/lib/stripe/resources/v2/money_management/payout_methods_bank_account_spec.rb +0 -47
- data/lib/stripe/resources/v2/money_management/received_credit.rb +0 -134
- data/lib/stripe/resources/v2/money_management/received_debit.rb +0 -106
- data/lib/stripe/resources/v2/money_management/transaction.rb +0 -76
- data/lib/stripe/resources/v2/money_management/transaction_entry.rb +0 -66
- data/lib/stripe/services/account_notice_service.rb +0 -101
- data/lib/stripe/services/balance_settings_service.rb +0 -96
- data/lib/stripe/services/capital/financing_offer_service.rb +0 -112
- data/lib/stripe/services/capital/financing_summary_service.rb +0 -28
- data/lib/stripe/services/capital/financing_transaction_service.rb +0 -79
- data/lib/stripe/services/capital_service.rb +0 -15
- data/lib/stripe/services/fx_quote_service.rb +0 -123
- data/lib/stripe/services/gift_cards/card_service.rb +0 -170
- data/lib/stripe/services/gift_cards/transaction_service.rb +0 -209
- data/lib/stripe/services/gift_cards_service.rb +0 -14
- data/lib/stripe/services/issuing/credit_underwriting_record_service.rb +0 -504
- data/lib/stripe/services/issuing/dispute_settlement_detail_service.rb +0 -66
- data/lib/stripe/services/issuing/fraud_liability_debit_service.rb +0 -83
- data/lib/stripe/services/margin_service.rb +0 -119
- data/lib/stripe/services/order_service.rb +0 -2268
- data/lib/stripe/services/payment_attempt_record_service.rb +0 -49
- data/lib/stripe/services/payment_record_service.rb +0 -542
- data/lib/stripe/services/privacy/redaction_job_service.rb +0 -231
- data/lib/stripe/services/privacy_service.rb +0 -13
- data/lib/stripe/services/quote_preview_subscription_schedule_service.rb +0 -35
- data/lib/stripe/services/tax/association_service.rb +0 -31
- data/lib/stripe/services/tax/form_service.rb +0 -100
- data/lib/stripe/services/terminal/reader_collected_data_service.rb +0 -28
- data/lib/stripe/services/v2/core/account_link_service.rb +0 -76
- data/lib/stripe/services/v2/core/account_service.rb +0 -4130
- data/lib/stripe/services/v2/core/accounts/person_service.rb +0 -1040
- data/lib/stripe/services/v2/core/vault/gb_bank_account_service.rb +0 -135
- data/lib/stripe/services/v2/core/vault/us_bank_account_service.rb +0 -109
- data/lib/stripe/services/v2/core/vault_service.rb +0 -18
- data/lib/stripe/services/v2/money_management/adjustment_service.rb +0 -75
- data/lib/stripe/services/v2/money_management/financial_account_service.rb +0 -44
- data/lib/stripe/services/v2/money_management/financial_address_service.rb +0 -81
- data/lib/stripe/services/v2/money_management/inbound_transfer_service.rb +0 -126
- data/lib/stripe/services/v2/money_management/outbound_payment_quote_service.rb +0 -80
- data/lib/stripe/services/v2/money_management/outbound_payment_service.rb +0 -202
- data/lib/stripe/services/v2/money_management/outbound_setup_intent_service.rb +0 -237
- data/lib/stripe/services/v2/money_management/outbound_transfer_service.rb +0 -174
- data/lib/stripe/services/v2/money_management/payout_method_service.rb +0 -95
- data/lib/stripe/services/v2/money_management/payout_methods_bank_account_spec_service.rb +0 -32
- data/lib/stripe/services/v2/money_management/received_credit_service.rb +0 -71
- data/lib/stripe/services/v2/money_management/received_debit_service.rb +0 -44
- data/lib/stripe/services/v2/money_management/transaction_entry_service.rb +0 -70
- data/lib/stripe/services/v2/money_management/transaction_service.rb +0 -74
- data/lib/stripe/services/v2/money_management_service.rb +0 -31
- data/lib/stripe/services/v2/test_helper_service.rb +0 -15
- data/lib/stripe/services/v2/test_helpers/financial_address_service.rb +0 -50
- data/rbi/stripe.rbi +0 -191592
@@ -29,8 +29,6 @@ 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
|
34
32
|
# 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.
|
35
33
|
attr_accessor :ending_before
|
36
34
|
# Specifies which fields in the response should be expanded.
|
@@ -46,7 +44,6 @@ module Stripe
|
|
46
44
|
attach_to_self: nil,
|
47
45
|
created: nil,
|
48
46
|
customer: nil,
|
49
|
-
customer_account: nil,
|
50
47
|
ending_before: nil,
|
51
48
|
expand: nil,
|
52
49
|
limit: nil,
|
@@ -56,7 +53,6 @@ module Stripe
|
|
56
53
|
@attach_to_self = attach_to_self
|
57
54
|
@created = created
|
58
55
|
@customer = customer
|
59
|
-
@customer_account = customer_account
|
60
56
|
@ending_before = ending_before
|
61
57
|
@expand = expand
|
62
58
|
@limit = limit
|
@@ -274,21 +270,9 @@ module Stripe
|
|
274
270
|
class Giropay < Stripe::RequestParams
|
275
271
|
end
|
276
272
|
|
277
|
-
class Gopay < Stripe::RequestParams
|
278
|
-
end
|
279
|
-
|
280
273
|
class Grabpay < Stripe::RequestParams
|
281
274
|
end
|
282
275
|
|
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
|
-
|
292
276
|
class Ideal < Stripe::RequestParams
|
293
277
|
# The customer's bank. Only use this parameter for existing customers. Don't use it for new customers.
|
294
278
|
attr_accessor :bank
|
@@ -336,9 +320,6 @@ module Stripe
|
|
336
320
|
class Link < Stripe::RequestParams
|
337
321
|
end
|
338
322
|
|
339
|
-
class MbWay < Stripe::RequestParams
|
340
|
-
end
|
341
|
-
|
342
323
|
class Mobilepay < Stripe::RequestParams
|
343
324
|
end
|
344
325
|
|
@@ -409,30 +390,12 @@ module Stripe
|
|
409
390
|
class Paypal < Stripe::RequestParams
|
410
391
|
end
|
411
392
|
|
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
|
-
|
427
393
|
class Pix < Stripe::RequestParams
|
428
394
|
end
|
429
395
|
|
430
396
|
class Promptpay < Stripe::RequestParams
|
431
397
|
end
|
432
398
|
|
433
|
-
class Qris < Stripe::RequestParams
|
434
|
-
end
|
435
|
-
|
436
399
|
class RadarOptions < Stripe::RequestParams
|
437
400
|
# 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.
|
438
401
|
attr_accessor :session
|
@@ -442,29 +405,6 @@ module Stripe
|
|
442
405
|
end
|
443
406
|
end
|
444
407
|
|
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
|
-
|
468
408
|
class RevolutPay < Stripe::RequestParams
|
469
409
|
end
|
470
410
|
|
@@ -483,9 +423,6 @@ module Stripe
|
|
483
423
|
end
|
484
424
|
end
|
485
425
|
|
486
|
-
class Shopeepay < Stripe::RequestParams
|
487
|
-
end
|
488
|
-
|
489
426
|
class Sofort < Stripe::RequestParams
|
490
427
|
# Two-letter ISO code representing the country the bank account is located in.
|
491
428
|
attr_accessor :country
|
@@ -495,18 +432,6 @@ module Stripe
|
|
495
432
|
end
|
496
433
|
end
|
497
434
|
|
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
|
-
|
510
435
|
class Swish < Stripe::RequestParams
|
511
436
|
end
|
512
437
|
|
@@ -583,12 +508,8 @@ module Stripe
|
|
583
508
|
attr_accessor :fpx
|
584
509
|
# If this is a `giropay` PaymentMethod, this hash contains details about the Giropay payment method.
|
585
510
|
attr_accessor :giropay
|
586
|
-
# If this is a Gopay PaymentMethod, this hash contains details about the Gopay payment method.
|
587
|
-
attr_accessor :gopay
|
588
511
|
# If this is a `grabpay` PaymentMethod, this hash contains details about the GrabPay payment method.
|
589
512
|
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
|
592
513
|
# If this is an `ideal` PaymentMethod, this hash contains details about the iDEAL payment method.
|
593
514
|
attr_accessor :ideal
|
594
515
|
# If this is an `interac_present` PaymentMethod, this hash contains details about the Interac Present payment method.
|
@@ -603,8 +524,6 @@ module Stripe
|
|
603
524
|
attr_accessor :kr_card
|
604
525
|
# If this is an `Link` PaymentMethod, this hash contains details about the Link payment method.
|
605
526
|
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
|
608
527
|
# 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`.
|
609
528
|
attr_accessor :metadata
|
610
529
|
# If this is a `mobilepay` PaymentMethod, this hash contains details about the MobilePay payment method.
|
@@ -627,18 +546,12 @@ module Stripe
|
|
627
546
|
attr_accessor :paynow
|
628
547
|
# If this is a `paypal` PaymentMethod, this hash contains details about the PayPal payment method.
|
629
548
|
attr_accessor :paypal
|
630
|
-
# If this is a `payto` PaymentMethod, this hash contains details about the PayTo payment method.
|
631
|
-
attr_accessor :payto
|
632
549
|
# If this is a `pix` PaymentMethod, this hash contains details about the Pix payment method.
|
633
550
|
attr_accessor :pix
|
634
551
|
# If this is a `promptpay` PaymentMethod, this hash contains details about the PromptPay payment method.
|
635
552
|
attr_accessor :promptpay
|
636
|
-
# If this is a `qris` PaymentMethod, this hash contains details about the QRIS payment method.
|
637
|
-
attr_accessor :qris
|
638
553
|
# Options to configure Radar. See [Radar Session](https://stripe.com/docs/radar/radar-session) for more information.
|
639
554
|
attr_accessor :radar_options
|
640
|
-
# If this is a `rechnung` PaymentMethod, this hash contains details about the Rechnung payment method.
|
641
|
-
attr_accessor :rechnung
|
642
555
|
# If this is a `revolut_pay` PaymentMethod, this hash contains details about the Revolut Pay payment method.
|
643
556
|
attr_accessor :revolut_pay
|
644
557
|
# If this is a `samsung_pay` PaymentMethod, this hash contains details about the SamsungPay payment method.
|
@@ -647,12 +560,8 @@ module Stripe
|
|
647
560
|
attr_accessor :satispay
|
648
561
|
# If this is a `sepa_debit` PaymentMethod, this hash contains details about the SEPA debit bank account.
|
649
562
|
attr_accessor :sepa_debit
|
650
|
-
# If this is a Shopeepay PaymentMethod, this hash contains details about the Shopeepay payment method.
|
651
|
-
attr_accessor :shopeepay
|
652
563
|
# If this is a `sofort` PaymentMethod, this hash contains details about the SOFORT payment method.
|
653
564
|
attr_accessor :sofort
|
654
|
-
# This hash contains details about the Stripe balance payment method.
|
655
|
-
attr_accessor :stripe_balance
|
656
565
|
# If this is a `swish` PaymentMethod, this hash contains details about the Swish payment method.
|
657
566
|
attr_accessor :swish
|
658
567
|
# If this is a TWINT PaymentMethod, this hash contains details about the TWINT payment method.
|
@@ -686,9 +595,7 @@ module Stripe
|
|
686
595
|
eps: nil,
|
687
596
|
fpx: nil,
|
688
597
|
giropay: nil,
|
689
|
-
gopay: nil,
|
690
598
|
grabpay: nil,
|
691
|
-
id_bank_transfer: nil,
|
692
599
|
ideal: nil,
|
693
600
|
interac_present: nil,
|
694
601
|
kakao_pay: nil,
|
@@ -696,7 +603,6 @@ module Stripe
|
|
696
603
|
konbini: nil,
|
697
604
|
kr_card: nil,
|
698
605
|
link: nil,
|
699
|
-
mb_way: nil,
|
700
606
|
metadata: nil,
|
701
607
|
mobilepay: nil,
|
702
608
|
multibanco: nil,
|
@@ -708,19 +614,14 @@ module Stripe
|
|
708
614
|
payco: nil,
|
709
615
|
paynow: nil,
|
710
616
|
paypal: nil,
|
711
|
-
payto: nil,
|
712
617
|
pix: nil,
|
713
618
|
promptpay: nil,
|
714
|
-
qris: nil,
|
715
619
|
radar_options: nil,
|
716
|
-
rechnung: nil,
|
717
620
|
revolut_pay: nil,
|
718
621
|
samsung_pay: nil,
|
719
622
|
satispay: nil,
|
720
623
|
sepa_debit: nil,
|
721
|
-
shopeepay: nil,
|
722
624
|
sofort: nil,
|
723
|
-
stripe_balance: nil,
|
724
625
|
swish: nil,
|
725
626
|
twint: nil,
|
726
627
|
type: nil,
|
@@ -747,9 +648,7 @@ module Stripe
|
|
747
648
|
@eps = eps
|
748
649
|
@fpx = fpx
|
749
650
|
@giropay = giropay
|
750
|
-
@gopay = gopay
|
751
651
|
@grabpay = grabpay
|
752
|
-
@id_bank_transfer = id_bank_transfer
|
753
652
|
@ideal = ideal
|
754
653
|
@interac_present = interac_present
|
755
654
|
@kakao_pay = kakao_pay
|
@@ -757,7 +656,6 @@ module Stripe
|
|
757
656
|
@konbini = konbini
|
758
657
|
@kr_card = kr_card
|
759
658
|
@link = link
|
760
|
-
@mb_way = mb_way
|
761
659
|
@metadata = metadata
|
762
660
|
@mobilepay = mobilepay
|
763
661
|
@multibanco = multibanco
|
@@ -769,19 +667,14 @@ module Stripe
|
|
769
667
|
@payco = payco
|
770
668
|
@paynow = paynow
|
771
669
|
@paypal = paypal
|
772
|
-
@payto = payto
|
773
670
|
@pix = pix
|
774
671
|
@promptpay = promptpay
|
775
|
-
@qris = qris
|
776
672
|
@radar_options = radar_options
|
777
|
-
@rechnung = rechnung
|
778
673
|
@revolut_pay = revolut_pay
|
779
674
|
@samsung_pay = samsung_pay
|
780
675
|
@satispay = satispay
|
781
676
|
@sepa_debit = sepa_debit
|
782
|
-
@shopeepay = shopeepay
|
783
677
|
@sofort = sofort
|
784
|
-
@stripe_balance = stripe_balance
|
785
678
|
@swish = swish
|
786
679
|
@twint = twint
|
787
680
|
@type = type
|
@@ -1017,58 +910,9 @@ module Stripe
|
|
1017
910
|
class Paypal < Stripe::RequestParams
|
1018
911
|
# The PayPal Billing Agreement ID (BAID). This is an ID generated by PayPal which represents the mandate between the merchant and the customer.
|
1019
912
|
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
|
1024
913
|
|
1025
|
-
def initialize(billing_agreement_id: nil
|
914
|
+
def initialize(billing_agreement_id: nil)
|
1026
915
|
@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
|
1072
916
|
end
|
1073
917
|
end
|
1074
918
|
|
@@ -1094,27 +938,13 @@ module Stripe
|
|
1094
938
|
class Filters < Stripe::RequestParams
|
1095
939
|
# The account subcategories to use to filter for selectable accounts. Valid subcategories are `checking` and `savings`.
|
1096
940
|
attr_accessor :account_subcategories
|
1097
|
-
# ID of the institution to use to filter for selectable accounts.
|
1098
|
-
attr_accessor :institution
|
1099
941
|
|
1100
|
-
def initialize(account_subcategories: nil
|
942
|
+
def initialize(account_subcategories: nil)
|
1101
943
|
@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
|
1112
944
|
end
|
1113
945
|
end
|
1114
946
|
# Provide filters for the linked accounts that the customer can select for the payment method.
|
1115
947
|
attr_accessor :filters
|
1116
|
-
# Customize manual entry behavior
|
1117
|
-
attr_accessor :manual_entry
|
1118
948
|
# 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`.
|
1119
949
|
attr_accessor :permissions
|
1120
950
|
# List of data features that you would like to retrieve upon account creation.
|
@@ -1122,15 +952,8 @@ module Stripe
|
|
1122
952
|
# 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.
|
1123
953
|
attr_accessor :return_url
|
1124
954
|
|
1125
|
-
def initialize(
|
1126
|
-
filters: nil,
|
1127
|
-
manual_entry: nil,
|
1128
|
-
permissions: nil,
|
1129
|
-
prefetch: nil,
|
1130
|
-
return_url: nil
|
1131
|
-
)
|
955
|
+
def initialize(filters: nil, permissions: nil, prefetch: nil, return_url: nil)
|
1132
956
|
@filters = filters
|
1133
|
-
@manual_entry = manual_entry
|
1134
957
|
@permissions = permissions
|
1135
958
|
@prefetch = prefetch
|
1136
959
|
@return_url = return_url
|
@@ -1189,8 +1012,6 @@ module Stripe
|
|
1189
1012
|
attr_accessor :link
|
1190
1013
|
# If this is a `paypal` PaymentMethod, this sub-hash contains details about the PayPal payment method options.
|
1191
1014
|
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
|
1194
1015
|
# If this is a `sepa_debit` SetupIntent, this sub-hash contains details about the SEPA Debit payment method options.
|
1195
1016
|
attr_accessor :sepa_debit
|
1196
1017
|
# If this is a `us_bank_account` SetupIntent, this sub-hash contains details about the US bank account payment method options.
|
@@ -1204,7 +1025,6 @@ module Stripe
|
|
1204
1025
|
card_present: nil,
|
1205
1026
|
link: nil,
|
1206
1027
|
paypal: nil,
|
1207
|
-
payto: nil,
|
1208
1028
|
sepa_debit: nil,
|
1209
1029
|
us_bank_account: nil
|
1210
1030
|
)
|
@@ -1215,7 +1035,6 @@ module Stripe
|
|
1215
1035
|
@card_present = card_present
|
1216
1036
|
@link = link
|
1217
1037
|
@paypal = paypal
|
1218
|
-
@payto = payto
|
1219
1038
|
@sepa_debit = sepa_debit
|
1220
1039
|
@us_bank_account = us_bank_account
|
1221
1040
|
end
|
@@ -1248,10 +1067,6 @@ module Stripe
|
|
1248
1067
|
#
|
1249
1068
|
# 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.
|
1250
1069
|
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
|
1255
1070
|
# An arbitrary string attached to the object. Often useful for displaying to users.
|
1256
1071
|
attr_accessor :description
|
1257
1072
|
# Specifies which fields in the response should be expanded.
|
@@ -1294,7 +1109,6 @@ module Stripe
|
|
1294
1109
|
confirm: nil,
|
1295
1110
|
confirmation_token: nil,
|
1296
1111
|
customer: nil,
|
1297
|
-
customer_account: nil,
|
1298
1112
|
description: nil,
|
1299
1113
|
expand: nil,
|
1300
1114
|
flow_directions: nil,
|
@@ -1316,7 +1130,6 @@ module Stripe
|
|
1316
1130
|
@confirm = confirm
|
1317
1131
|
@confirmation_token = confirmation_token
|
1318
1132
|
@customer = customer
|
1319
|
-
@customer_account = customer_account
|
1320
1133
|
@description = description
|
1321
1134
|
@expand = expand
|
1322
1135
|
@flow_directions = flow_directions
|
@@ -1502,21 +1315,9 @@ module Stripe
|
|
1502
1315
|
class Giropay < Stripe::RequestParams
|
1503
1316
|
end
|
1504
1317
|
|
1505
|
-
class Gopay < Stripe::RequestParams
|
1506
|
-
end
|
1507
|
-
|
1508
1318
|
class Grabpay < Stripe::RequestParams
|
1509
1319
|
end
|
1510
1320
|
|
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
|
-
|
1520
1321
|
class Ideal < Stripe::RequestParams
|
1521
1322
|
# The customer's bank. Only use this parameter for existing customers. Don't use it for new customers.
|
1522
1323
|
attr_accessor :bank
|
@@ -1564,9 +1365,6 @@ module Stripe
|
|
1564
1365
|
class Link < Stripe::RequestParams
|
1565
1366
|
end
|
1566
1367
|
|
1567
|
-
class MbWay < Stripe::RequestParams
|
1568
|
-
end
|
1569
|
-
|
1570
1368
|
class Mobilepay < Stripe::RequestParams
|
1571
1369
|
end
|
1572
1370
|
|
@@ -1637,30 +1435,12 @@ module Stripe
|
|
1637
1435
|
class Paypal < Stripe::RequestParams
|
1638
1436
|
end
|
1639
1437
|
|
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
|
-
|
1655
1438
|
class Pix < Stripe::RequestParams
|
1656
1439
|
end
|
1657
1440
|
|
1658
1441
|
class Promptpay < Stripe::RequestParams
|
1659
1442
|
end
|
1660
1443
|
|
1661
|
-
class Qris < Stripe::RequestParams
|
1662
|
-
end
|
1663
|
-
|
1664
1444
|
class RadarOptions < Stripe::RequestParams
|
1665
1445
|
# 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.
|
1666
1446
|
attr_accessor :session
|
@@ -1670,29 +1450,6 @@ module Stripe
|
|
1670
1450
|
end
|
1671
1451
|
end
|
1672
1452
|
|
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
|
-
|
1696
1453
|
class RevolutPay < Stripe::RequestParams
|
1697
1454
|
end
|
1698
1455
|
|
@@ -1711,9 +1468,6 @@ module Stripe
|
|
1711
1468
|
end
|
1712
1469
|
end
|
1713
1470
|
|
1714
|
-
class Shopeepay < Stripe::RequestParams
|
1715
|
-
end
|
1716
|
-
|
1717
1471
|
class Sofort < Stripe::RequestParams
|
1718
1472
|
# Two-letter ISO code representing the country the bank account is located in.
|
1719
1473
|
attr_accessor :country
|
@@ -1723,18 +1477,6 @@ module Stripe
|
|
1723
1477
|
end
|
1724
1478
|
end
|
1725
1479
|
|
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
|
-
|
1738
1480
|
class Swish < Stripe::RequestParams
|
1739
1481
|
end
|
1740
1482
|
|
@@ -1811,12 +1553,8 @@ module Stripe
|
|
1811
1553
|
attr_accessor :fpx
|
1812
1554
|
# If this is a `giropay` PaymentMethod, this hash contains details about the Giropay payment method.
|
1813
1555
|
attr_accessor :giropay
|
1814
|
-
# If this is a Gopay PaymentMethod, this hash contains details about the Gopay payment method.
|
1815
|
-
attr_accessor :gopay
|
1816
1556
|
# If this is a `grabpay` PaymentMethod, this hash contains details about the GrabPay payment method.
|
1817
1557
|
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
|
1820
1558
|
# If this is an `ideal` PaymentMethod, this hash contains details about the iDEAL payment method.
|
1821
1559
|
attr_accessor :ideal
|
1822
1560
|
# If this is an `interac_present` PaymentMethod, this hash contains details about the Interac Present payment method.
|
@@ -1831,8 +1569,6 @@ module Stripe
|
|
1831
1569
|
attr_accessor :kr_card
|
1832
1570
|
# If this is an `Link` PaymentMethod, this hash contains details about the Link payment method.
|
1833
1571
|
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
|
1836
1572
|
# 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`.
|
1837
1573
|
attr_accessor :metadata
|
1838
1574
|
# If this is a `mobilepay` PaymentMethod, this hash contains details about the MobilePay payment method.
|
@@ -1855,18 +1591,12 @@ module Stripe
|
|
1855
1591
|
attr_accessor :paynow
|
1856
1592
|
# If this is a `paypal` PaymentMethod, this hash contains details about the PayPal payment method.
|
1857
1593
|
attr_accessor :paypal
|
1858
|
-
# If this is a `payto` PaymentMethod, this hash contains details about the PayTo payment method.
|
1859
|
-
attr_accessor :payto
|
1860
1594
|
# If this is a `pix` PaymentMethod, this hash contains details about the Pix payment method.
|
1861
1595
|
attr_accessor :pix
|
1862
1596
|
# If this is a `promptpay` PaymentMethod, this hash contains details about the PromptPay payment method.
|
1863
1597
|
attr_accessor :promptpay
|
1864
|
-
# If this is a `qris` PaymentMethod, this hash contains details about the QRIS payment method.
|
1865
|
-
attr_accessor :qris
|
1866
1598
|
# Options to configure Radar. See [Radar Session](https://stripe.com/docs/radar/radar-session) for more information.
|
1867
1599
|
attr_accessor :radar_options
|
1868
|
-
# If this is a `rechnung` PaymentMethod, this hash contains details about the Rechnung payment method.
|
1869
|
-
attr_accessor :rechnung
|
1870
1600
|
# If this is a `revolut_pay` PaymentMethod, this hash contains details about the Revolut Pay payment method.
|
1871
1601
|
attr_accessor :revolut_pay
|
1872
1602
|
# If this is a `samsung_pay` PaymentMethod, this hash contains details about the SamsungPay payment method.
|
@@ -1875,12 +1605,8 @@ module Stripe
|
|
1875
1605
|
attr_accessor :satispay
|
1876
1606
|
# If this is a `sepa_debit` PaymentMethod, this hash contains details about the SEPA debit bank account.
|
1877
1607
|
attr_accessor :sepa_debit
|
1878
|
-
# If this is a Shopeepay PaymentMethod, this hash contains details about the Shopeepay payment method.
|
1879
|
-
attr_accessor :shopeepay
|
1880
1608
|
# If this is a `sofort` PaymentMethod, this hash contains details about the SOFORT payment method.
|
1881
1609
|
attr_accessor :sofort
|
1882
|
-
# This hash contains details about the Stripe balance payment method.
|
1883
|
-
attr_accessor :stripe_balance
|
1884
1610
|
# If this is a `swish` PaymentMethod, this hash contains details about the Swish payment method.
|
1885
1611
|
attr_accessor :swish
|
1886
1612
|
# If this is a TWINT PaymentMethod, this hash contains details about the TWINT payment method.
|
@@ -1914,9 +1640,7 @@ module Stripe
|
|
1914
1640
|
eps: nil,
|
1915
1641
|
fpx: nil,
|
1916
1642
|
giropay: nil,
|
1917
|
-
gopay: nil,
|
1918
1643
|
grabpay: nil,
|
1919
|
-
id_bank_transfer: nil,
|
1920
1644
|
ideal: nil,
|
1921
1645
|
interac_present: nil,
|
1922
1646
|
kakao_pay: nil,
|
@@ -1924,7 +1648,6 @@ module Stripe
|
|
1924
1648
|
konbini: nil,
|
1925
1649
|
kr_card: nil,
|
1926
1650
|
link: nil,
|
1927
|
-
mb_way: nil,
|
1928
1651
|
metadata: nil,
|
1929
1652
|
mobilepay: nil,
|
1930
1653
|
multibanco: nil,
|
@@ -1936,19 +1659,14 @@ module Stripe
|
|
1936
1659
|
payco: nil,
|
1937
1660
|
paynow: nil,
|
1938
1661
|
paypal: nil,
|
1939
|
-
payto: nil,
|
1940
1662
|
pix: nil,
|
1941
1663
|
promptpay: nil,
|
1942
|
-
qris: nil,
|
1943
1664
|
radar_options: nil,
|
1944
|
-
rechnung: nil,
|
1945
1665
|
revolut_pay: nil,
|
1946
1666
|
samsung_pay: nil,
|
1947
1667
|
satispay: nil,
|
1948
1668
|
sepa_debit: nil,
|
1949
|
-
shopeepay: nil,
|
1950
1669
|
sofort: nil,
|
1951
|
-
stripe_balance: nil,
|
1952
1670
|
swish: nil,
|
1953
1671
|
twint: nil,
|
1954
1672
|
type: nil,
|
@@ -1975,9 +1693,7 @@ module Stripe
|
|
1975
1693
|
@eps = eps
|
1976
1694
|
@fpx = fpx
|
1977
1695
|
@giropay = giropay
|
1978
|
-
@gopay = gopay
|
1979
1696
|
@grabpay = grabpay
|
1980
|
-
@id_bank_transfer = id_bank_transfer
|
1981
1697
|
@ideal = ideal
|
1982
1698
|
@interac_present = interac_present
|
1983
1699
|
@kakao_pay = kakao_pay
|
@@ -1985,7 +1701,6 @@ module Stripe
|
|
1985
1701
|
@konbini = konbini
|
1986
1702
|
@kr_card = kr_card
|
1987
1703
|
@link = link
|
1988
|
-
@mb_way = mb_way
|
1989
1704
|
@metadata = metadata
|
1990
1705
|
@mobilepay = mobilepay
|
1991
1706
|
@multibanco = multibanco
|
@@ -1997,19 +1712,14 @@ module Stripe
|
|
1997
1712
|
@payco = payco
|
1998
1713
|
@paynow = paynow
|
1999
1714
|
@paypal = paypal
|
2000
|
-
@payto = payto
|
2001
1715
|
@pix = pix
|
2002
1716
|
@promptpay = promptpay
|
2003
|
-
@qris = qris
|
2004
1717
|
@radar_options = radar_options
|
2005
|
-
@rechnung = rechnung
|
2006
1718
|
@revolut_pay = revolut_pay
|
2007
1719
|
@samsung_pay = samsung_pay
|
2008
1720
|
@satispay = satispay
|
2009
1721
|
@sepa_debit = sepa_debit
|
2010
|
-
@shopeepay = shopeepay
|
2011
1722
|
@sofort = sofort
|
2012
|
-
@stripe_balance = stripe_balance
|
2013
1723
|
@swish = swish
|
2014
1724
|
@twint = twint
|
2015
1725
|
@type = type
|
@@ -2245,58 +1955,9 @@ module Stripe
|
|
2245
1955
|
class Paypal < Stripe::RequestParams
|
2246
1956
|
# The PayPal Billing Agreement ID (BAID). This is an ID generated by PayPal which represents the mandate between the merchant and the customer.
|
2247
1957
|
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
|
2252
1958
|
|
2253
|
-
def initialize(billing_agreement_id: nil
|
1959
|
+
def initialize(billing_agreement_id: nil)
|
2254
1960
|
@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
|
2300
1961
|
end
|
2301
1962
|
end
|
2302
1963
|
|
@@ -2322,27 +1983,13 @@ module Stripe
|
|
2322
1983
|
class Filters < Stripe::RequestParams
|
2323
1984
|
# The account subcategories to use to filter for selectable accounts. Valid subcategories are `checking` and `savings`.
|
2324
1985
|
attr_accessor :account_subcategories
|
2325
|
-
# ID of the institution to use to filter for selectable accounts.
|
2326
|
-
attr_accessor :institution
|
2327
1986
|
|
2328
|
-
def initialize(account_subcategories: nil
|
1987
|
+
def initialize(account_subcategories: nil)
|
2329
1988
|
@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
|
2340
1989
|
end
|
2341
1990
|
end
|
2342
1991
|
# Provide filters for the linked accounts that the customer can select for the payment method.
|
2343
1992
|
attr_accessor :filters
|
2344
|
-
# Customize manual entry behavior
|
2345
|
-
attr_accessor :manual_entry
|
2346
1993
|
# 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`.
|
2347
1994
|
attr_accessor :permissions
|
2348
1995
|
# List of data features that you would like to retrieve upon account creation.
|
@@ -2350,15 +1997,8 @@ module Stripe
|
|
2350
1997
|
# 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.
|
2351
1998
|
attr_accessor :return_url
|
2352
1999
|
|
2353
|
-
def initialize(
|
2354
|
-
filters: nil,
|
2355
|
-
manual_entry: nil,
|
2356
|
-
permissions: nil,
|
2357
|
-
prefetch: nil,
|
2358
|
-
return_url: nil
|
2359
|
-
)
|
2000
|
+
def initialize(filters: nil, permissions: nil, prefetch: nil, return_url: nil)
|
2360
2001
|
@filters = filters
|
2361
|
-
@manual_entry = manual_entry
|
2362
2002
|
@permissions = permissions
|
2363
2003
|
@prefetch = prefetch
|
2364
2004
|
@return_url = return_url
|
@@ -2417,8 +2057,6 @@ module Stripe
|
|
2417
2057
|
attr_accessor :link
|
2418
2058
|
# If this is a `paypal` PaymentMethod, this sub-hash contains details about the PayPal payment method options.
|
2419
2059
|
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
|
2422
2060
|
# If this is a `sepa_debit` SetupIntent, this sub-hash contains details about the SEPA Debit payment method options.
|
2423
2061
|
attr_accessor :sepa_debit
|
2424
2062
|
# If this is a `us_bank_account` SetupIntent, this sub-hash contains details about the US bank account payment method options.
|
@@ -2432,7 +2070,6 @@ module Stripe
|
|
2432
2070
|
card_present: nil,
|
2433
2071
|
link: nil,
|
2434
2072
|
paypal: nil,
|
2435
|
-
payto: nil,
|
2436
2073
|
sepa_debit: nil,
|
2437
2074
|
us_bank_account: nil
|
2438
2075
|
)
|
@@ -2443,7 +2080,6 @@ module Stripe
|
|
2443
2080
|
@card_present = card_present
|
2444
2081
|
@link = link
|
2445
2082
|
@paypal = paypal
|
2446
|
-
@payto = payto
|
2447
2083
|
@sepa_debit = sepa_debit
|
2448
2084
|
@us_bank_account = us_bank_account
|
2449
2085
|
end
|
@@ -2456,10 +2092,6 @@ module Stripe
|
|
2456
2092
|
#
|
2457
2093
|
# 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.
|
2458
2094
|
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
|
2463
2095
|
# An arbitrary string attached to the object. Often useful for displaying to users.
|
2464
2096
|
attr_accessor :description
|
2465
2097
|
# Specifies which fields in the response should be expanded.
|
@@ -2485,7 +2117,6 @@ module Stripe
|
|
2485
2117
|
def initialize(
|
2486
2118
|
attach_to_self: nil,
|
2487
2119
|
customer: nil,
|
2488
|
-
customer_account: nil,
|
2489
2120
|
description: nil,
|
2490
2121
|
expand: nil,
|
2491
2122
|
flow_directions: nil,
|
@@ -2498,7 +2129,6 @@ module Stripe
|
|
2498
2129
|
)
|
2499
2130
|
@attach_to_self = attach_to_self
|
2500
2131
|
@customer = customer
|
2501
|
-
@customer_account = customer_account
|
2502
2132
|
@description = description
|
2503
2133
|
@expand = expand
|
2504
2134
|
@flow_directions = flow_directions
|
@@ -2718,21 +2348,9 @@ module Stripe
|
|
2718
2348
|
class Giropay < Stripe::RequestParams
|
2719
2349
|
end
|
2720
2350
|
|
2721
|
-
class Gopay < Stripe::RequestParams
|
2722
|
-
end
|
2723
|
-
|
2724
2351
|
class Grabpay < Stripe::RequestParams
|
2725
2352
|
end
|
2726
2353
|
|
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
|
-
|
2736
2354
|
class Ideal < Stripe::RequestParams
|
2737
2355
|
# The customer's bank. Only use this parameter for existing customers. Don't use it for new customers.
|
2738
2356
|
attr_accessor :bank
|
@@ -2780,9 +2398,6 @@ module Stripe
|
|
2780
2398
|
class Link < Stripe::RequestParams
|
2781
2399
|
end
|
2782
2400
|
|
2783
|
-
class MbWay < Stripe::RequestParams
|
2784
|
-
end
|
2785
|
-
|
2786
2401
|
class Mobilepay < Stripe::RequestParams
|
2787
2402
|
end
|
2788
2403
|
|
@@ -2853,30 +2468,12 @@ module Stripe
|
|
2853
2468
|
class Paypal < Stripe::RequestParams
|
2854
2469
|
end
|
2855
2470
|
|
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
|
-
|
2871
2471
|
class Pix < Stripe::RequestParams
|
2872
2472
|
end
|
2873
2473
|
|
2874
2474
|
class Promptpay < Stripe::RequestParams
|
2875
2475
|
end
|
2876
2476
|
|
2877
|
-
class Qris < Stripe::RequestParams
|
2878
|
-
end
|
2879
|
-
|
2880
2477
|
class RadarOptions < Stripe::RequestParams
|
2881
2478
|
# 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.
|
2882
2479
|
attr_accessor :session
|
@@ -2886,29 +2483,6 @@ module Stripe
|
|
2886
2483
|
end
|
2887
2484
|
end
|
2888
2485
|
|
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
|
-
|
2912
2486
|
class RevolutPay < Stripe::RequestParams
|
2913
2487
|
end
|
2914
2488
|
|
@@ -2927,9 +2501,6 @@ module Stripe
|
|
2927
2501
|
end
|
2928
2502
|
end
|
2929
2503
|
|
2930
|
-
class Shopeepay < Stripe::RequestParams
|
2931
|
-
end
|
2932
|
-
|
2933
2504
|
class Sofort < Stripe::RequestParams
|
2934
2505
|
# Two-letter ISO code representing the country the bank account is located in.
|
2935
2506
|
attr_accessor :country
|
@@ -2939,18 +2510,6 @@ module Stripe
|
|
2939
2510
|
end
|
2940
2511
|
end
|
2941
2512
|
|
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
|
-
|
2954
2513
|
class Swish < Stripe::RequestParams
|
2955
2514
|
end
|
2956
2515
|
|
@@ -3027,12 +2586,8 @@ module Stripe
|
|
3027
2586
|
attr_accessor :fpx
|
3028
2587
|
# If this is a `giropay` PaymentMethod, this hash contains details about the Giropay payment method.
|
3029
2588
|
attr_accessor :giropay
|
3030
|
-
# If this is a Gopay PaymentMethod, this hash contains details about the Gopay payment method.
|
3031
|
-
attr_accessor :gopay
|
3032
2589
|
# If this is a `grabpay` PaymentMethod, this hash contains details about the GrabPay payment method.
|
3033
2590
|
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
|
3036
2591
|
# If this is an `ideal` PaymentMethod, this hash contains details about the iDEAL payment method.
|
3037
2592
|
attr_accessor :ideal
|
3038
2593
|
# If this is an `interac_present` PaymentMethod, this hash contains details about the Interac Present payment method.
|
@@ -3047,8 +2602,6 @@ module Stripe
|
|
3047
2602
|
attr_accessor :kr_card
|
3048
2603
|
# If this is an `Link` PaymentMethod, this hash contains details about the Link payment method.
|
3049
2604
|
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
|
3052
2605
|
# 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`.
|
3053
2606
|
attr_accessor :metadata
|
3054
2607
|
# If this is a `mobilepay` PaymentMethod, this hash contains details about the MobilePay payment method.
|
@@ -3071,18 +2624,12 @@ module Stripe
|
|
3071
2624
|
attr_accessor :paynow
|
3072
2625
|
# If this is a `paypal` PaymentMethod, this hash contains details about the PayPal payment method.
|
3073
2626
|
attr_accessor :paypal
|
3074
|
-
# If this is a `payto` PaymentMethod, this hash contains details about the PayTo payment method.
|
3075
|
-
attr_accessor :payto
|
3076
2627
|
# If this is a `pix` PaymentMethod, this hash contains details about the Pix payment method.
|
3077
2628
|
attr_accessor :pix
|
3078
2629
|
# If this is a `promptpay` PaymentMethod, this hash contains details about the PromptPay payment method.
|
3079
2630
|
attr_accessor :promptpay
|
3080
|
-
# If this is a `qris` PaymentMethod, this hash contains details about the QRIS payment method.
|
3081
|
-
attr_accessor :qris
|
3082
2631
|
# Options to configure Radar. See [Radar Session](https://stripe.com/docs/radar/radar-session) for more information.
|
3083
2632
|
attr_accessor :radar_options
|
3084
|
-
# If this is a `rechnung` PaymentMethod, this hash contains details about the Rechnung payment method.
|
3085
|
-
attr_accessor :rechnung
|
3086
2633
|
# If this is a `revolut_pay` PaymentMethod, this hash contains details about the Revolut Pay payment method.
|
3087
2634
|
attr_accessor :revolut_pay
|
3088
2635
|
# If this is a `samsung_pay` PaymentMethod, this hash contains details about the SamsungPay payment method.
|
@@ -3091,12 +2638,8 @@ module Stripe
|
|
3091
2638
|
attr_accessor :satispay
|
3092
2639
|
# If this is a `sepa_debit` PaymentMethod, this hash contains details about the SEPA debit bank account.
|
3093
2640
|
attr_accessor :sepa_debit
|
3094
|
-
# If this is a Shopeepay PaymentMethod, this hash contains details about the Shopeepay payment method.
|
3095
|
-
attr_accessor :shopeepay
|
3096
2641
|
# If this is a `sofort` PaymentMethod, this hash contains details about the SOFORT payment method.
|
3097
2642
|
attr_accessor :sofort
|
3098
|
-
# This hash contains details about the Stripe balance payment method.
|
3099
|
-
attr_accessor :stripe_balance
|
3100
2643
|
# If this is a `swish` PaymentMethod, this hash contains details about the Swish payment method.
|
3101
2644
|
attr_accessor :swish
|
3102
2645
|
# If this is a TWINT PaymentMethod, this hash contains details about the TWINT payment method.
|
@@ -3130,9 +2673,7 @@ module Stripe
|
|
3130
2673
|
eps: nil,
|
3131
2674
|
fpx: nil,
|
3132
2675
|
giropay: nil,
|
3133
|
-
gopay: nil,
|
3134
2676
|
grabpay: nil,
|
3135
|
-
id_bank_transfer: nil,
|
3136
2677
|
ideal: nil,
|
3137
2678
|
interac_present: nil,
|
3138
2679
|
kakao_pay: nil,
|
@@ -3140,7 +2681,6 @@ module Stripe
|
|
3140
2681
|
konbini: nil,
|
3141
2682
|
kr_card: nil,
|
3142
2683
|
link: nil,
|
3143
|
-
mb_way: nil,
|
3144
2684
|
metadata: nil,
|
3145
2685
|
mobilepay: nil,
|
3146
2686
|
multibanco: nil,
|
@@ -3152,19 +2692,14 @@ module Stripe
|
|
3152
2692
|
payco: nil,
|
3153
2693
|
paynow: nil,
|
3154
2694
|
paypal: nil,
|
3155
|
-
payto: nil,
|
3156
2695
|
pix: nil,
|
3157
2696
|
promptpay: nil,
|
3158
|
-
qris: nil,
|
3159
2697
|
radar_options: nil,
|
3160
|
-
rechnung: nil,
|
3161
2698
|
revolut_pay: nil,
|
3162
2699
|
samsung_pay: nil,
|
3163
2700
|
satispay: nil,
|
3164
2701
|
sepa_debit: nil,
|
3165
|
-
shopeepay: nil,
|
3166
2702
|
sofort: nil,
|
3167
|
-
stripe_balance: nil,
|
3168
2703
|
swish: nil,
|
3169
2704
|
twint: nil,
|
3170
2705
|
type: nil,
|
@@ -3191,9 +2726,7 @@ module Stripe
|
|
3191
2726
|
@eps = eps
|
3192
2727
|
@fpx = fpx
|
3193
2728
|
@giropay = giropay
|
3194
|
-
@gopay = gopay
|
3195
2729
|
@grabpay = grabpay
|
3196
|
-
@id_bank_transfer = id_bank_transfer
|
3197
2730
|
@ideal = ideal
|
3198
2731
|
@interac_present = interac_present
|
3199
2732
|
@kakao_pay = kakao_pay
|
@@ -3201,7 +2734,6 @@ module Stripe
|
|
3201
2734
|
@konbini = konbini
|
3202
2735
|
@kr_card = kr_card
|
3203
2736
|
@link = link
|
3204
|
-
@mb_way = mb_way
|
3205
2737
|
@metadata = metadata
|
3206
2738
|
@mobilepay = mobilepay
|
3207
2739
|
@multibanco = multibanco
|
@@ -3213,19 +2745,14 @@ module Stripe
|
|
3213
2745
|
@payco = payco
|
3214
2746
|
@paynow = paynow
|
3215
2747
|
@paypal = paypal
|
3216
|
-
@payto = payto
|
3217
2748
|
@pix = pix
|
3218
2749
|
@promptpay = promptpay
|
3219
|
-
@qris = qris
|
3220
2750
|
@radar_options = radar_options
|
3221
|
-
@rechnung = rechnung
|
3222
2751
|
@revolut_pay = revolut_pay
|
3223
2752
|
@samsung_pay = samsung_pay
|
3224
2753
|
@satispay = satispay
|
3225
2754
|
@sepa_debit = sepa_debit
|
3226
|
-
@shopeepay = shopeepay
|
3227
2755
|
@sofort = sofort
|
3228
|
-
@stripe_balance = stripe_balance
|
3229
2756
|
@swish = swish
|
3230
2757
|
@twint = twint
|
3231
2758
|
@type = type
|
@@ -3461,58 +2988,9 @@ module Stripe
|
|
3461
2988
|
class Paypal < Stripe::RequestParams
|
3462
2989
|
# The PayPal Billing Agreement ID (BAID). This is an ID generated by PayPal which represents the mandate between the merchant and the customer.
|
3463
2990
|
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
|
3468
2991
|
|
3469
|
-
def initialize(billing_agreement_id: nil
|
2992
|
+
def initialize(billing_agreement_id: nil)
|
3470
2993
|
@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
|
3516
2994
|
end
|
3517
2995
|
end
|
3518
2996
|
|
@@ -3538,27 +3016,13 @@ module Stripe
|
|
3538
3016
|
class Filters < Stripe::RequestParams
|
3539
3017
|
# The account subcategories to use to filter for selectable accounts. Valid subcategories are `checking` and `savings`.
|
3540
3018
|
attr_accessor :account_subcategories
|
3541
|
-
# ID of the institution to use to filter for selectable accounts.
|
3542
|
-
attr_accessor :institution
|
3543
3019
|
|
3544
|
-
def initialize(account_subcategories: nil
|
3020
|
+
def initialize(account_subcategories: nil)
|
3545
3021
|
@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
|
3556
3022
|
end
|
3557
3023
|
end
|
3558
3024
|
# Provide filters for the linked accounts that the customer can select for the payment method.
|
3559
3025
|
attr_accessor :filters
|
3560
|
-
# Customize manual entry behavior
|
3561
|
-
attr_accessor :manual_entry
|
3562
3026
|
# 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`.
|
3563
3027
|
attr_accessor :permissions
|
3564
3028
|
# List of data features that you would like to retrieve upon account creation.
|
@@ -3566,15 +3030,8 @@ module Stripe
|
|
3566
3030
|
# 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.
|
3567
3031
|
attr_accessor :return_url
|
3568
3032
|
|
3569
|
-
def initialize(
|
3570
|
-
filters: nil,
|
3571
|
-
manual_entry: nil,
|
3572
|
-
permissions: nil,
|
3573
|
-
prefetch: nil,
|
3574
|
-
return_url: nil
|
3575
|
-
)
|
3033
|
+
def initialize(filters: nil, permissions: nil, prefetch: nil, return_url: nil)
|
3576
3034
|
@filters = filters
|
3577
|
-
@manual_entry = manual_entry
|
3578
3035
|
@permissions = permissions
|
3579
3036
|
@prefetch = prefetch
|
3580
3037
|
@return_url = return_url
|
@@ -3633,8 +3090,6 @@ module Stripe
|
|
3633
3090
|
attr_accessor :link
|
3634
3091
|
# If this is a `paypal` PaymentMethod, this sub-hash contains details about the PayPal payment method options.
|
3635
3092
|
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
|
3638
3093
|
# If this is a `sepa_debit` SetupIntent, this sub-hash contains details about the SEPA Debit payment method options.
|
3639
3094
|
attr_accessor :sepa_debit
|
3640
3095
|
# If this is a `us_bank_account` SetupIntent, this sub-hash contains details about the US bank account payment method options.
|
@@ -3648,7 +3103,6 @@ module Stripe
|
|
3648
3103
|
card_present: nil,
|
3649
3104
|
link: nil,
|
3650
3105
|
paypal: nil,
|
3651
|
-
payto: nil,
|
3652
3106
|
sepa_debit: nil,
|
3653
3107
|
us_bank_account: nil
|
3654
3108
|
)
|
@@ -3659,7 +3113,6 @@ module Stripe
|
|
3659
3113
|
@card_present = card_present
|
3660
3114
|
@link = link
|
3661
3115
|
@paypal = paypal
|
3662
|
-
@payto = payto
|
3663
3116
|
@sepa_debit = sepa_debit
|
3664
3117
|
@us_bank_account = us_bank_account
|
3665
3118
|
end
|