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
@@ -237,31 +237,6 @@ module Stripe
|
|
237
237
|
class Paypal < Stripe::StripeObject
|
238
238
|
# The PayPal Billing Agreement ID (BAID). This is an ID generated by PayPal which represents the mandate between the merchant and the customer.
|
239
239
|
attr_reader :billing_agreement_id
|
240
|
-
# Three-letter [ISO currency code](https://www.iso.org/iso-4217-currency-codes.html), in lowercase. Must be a [supported currency](https://stripe.com/docs/currencies).
|
241
|
-
attr_reader :currency
|
242
|
-
# 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.
|
243
|
-
attr_reader :subsellers
|
244
|
-
end
|
245
|
-
|
246
|
-
class Payto < Stripe::StripeObject
|
247
|
-
class MandateOptions < Stripe::StripeObject
|
248
|
-
# Amount that will be collected. It is required when `amount_type` is `fixed`.
|
249
|
-
attr_reader :amount
|
250
|
-
# 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.
|
251
|
-
attr_reader :amount_type
|
252
|
-
# Date, in YYYY-MM-DD format, after which payments will not be collected. Defaults to no end date.
|
253
|
-
attr_reader :end_date
|
254
|
-
# The periodicity at which payments will be collected.
|
255
|
-
attr_reader :payment_schedule
|
256
|
-
# 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.
|
257
|
-
attr_reader :payments_per_period
|
258
|
-
# The purpose for which payments are made. Defaults to retail.
|
259
|
-
attr_reader :purpose
|
260
|
-
# Date, in YYYY-MM-DD format, from which payments will be collected. Defaults to confirmation time.
|
261
|
-
attr_reader :start_date
|
262
|
-
end
|
263
|
-
# Attribute for field mandate_options
|
264
|
-
attr_reader :mandate_options
|
265
240
|
end
|
266
241
|
|
267
242
|
class SepaDebit < Stripe::StripeObject
|
@@ -278,18 +253,9 @@ module Stripe
|
|
278
253
|
class Filters < Stripe::StripeObject
|
279
254
|
# The account subcategories to use to filter for possible accounts to link. Valid subcategories are `checking` and `savings`.
|
280
255
|
attr_reader :account_subcategories
|
281
|
-
# The institution to use to filter for possible accounts to link.
|
282
|
-
attr_reader :institution
|
283
|
-
end
|
284
|
-
|
285
|
-
class ManualEntry < Stripe::StripeObject
|
286
|
-
# Settings for configuring manual entry of account details.
|
287
|
-
attr_reader :mode
|
288
256
|
end
|
289
257
|
# Attribute for field filters
|
290
258
|
attr_reader :filters
|
291
|
-
# Attribute for field manual_entry
|
292
|
-
attr_reader :manual_entry
|
293
259
|
# The list of permissions to request. The `payment_method` permission must be included.
|
294
260
|
attr_reader :permissions
|
295
261
|
# Data features requested to be retrieved upon account creation.
|
@@ -323,8 +289,6 @@ module Stripe
|
|
323
289
|
attr_reader :link
|
324
290
|
# Attribute for field paypal
|
325
291
|
attr_reader :paypal
|
326
|
-
# Attribute for field payto
|
327
|
-
attr_reader :payto
|
328
292
|
# Attribute for field sepa_debit
|
329
293
|
attr_reader :sepa_debit
|
330
294
|
# Attribute for field us_bank_account
|
@@ -357,8 +321,6 @@ module Stripe
|
|
357
321
|
attr_accessor :created
|
358
322
|
# Only return SetupIntents for the customer specified by this customer ID.
|
359
323
|
attr_accessor :customer
|
360
|
-
# Only return SetupIntents for the account specified by this customer ID.
|
361
|
-
attr_accessor :customer_account
|
362
324
|
# 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.
|
363
325
|
attr_accessor :ending_before
|
364
326
|
# Specifies which fields in the response should be expanded.
|
@@ -374,7 +336,6 @@ module Stripe
|
|
374
336
|
attach_to_self: nil,
|
375
337
|
created: nil,
|
376
338
|
customer: nil,
|
377
|
-
customer_account: nil,
|
378
339
|
ending_before: nil,
|
379
340
|
expand: nil,
|
380
341
|
limit: nil,
|
@@ -384,7 +345,6 @@ module Stripe
|
|
384
345
|
@attach_to_self = attach_to_self
|
385
346
|
@created = created
|
386
347
|
@customer = customer
|
387
|
-
@customer_account = customer_account
|
388
348
|
@ending_before = ending_before
|
389
349
|
@expand = expand
|
390
350
|
@limit = limit
|
@@ -602,21 +562,9 @@ module Stripe
|
|
602
562
|
class Giropay < Stripe::RequestParams
|
603
563
|
end
|
604
564
|
|
605
|
-
class Gopay < Stripe::RequestParams
|
606
|
-
end
|
607
|
-
|
608
565
|
class Grabpay < Stripe::RequestParams
|
609
566
|
end
|
610
567
|
|
611
|
-
class IdBankTransfer < Stripe::RequestParams
|
612
|
-
# Bank where the account is held.
|
613
|
-
attr_accessor :bank
|
614
|
-
|
615
|
-
def initialize(bank: nil)
|
616
|
-
@bank = bank
|
617
|
-
end
|
618
|
-
end
|
619
|
-
|
620
568
|
class Ideal < Stripe::RequestParams
|
621
569
|
# The customer's bank. Only use this parameter for existing customers. Don't use it for new customers.
|
622
570
|
attr_accessor :bank
|
@@ -664,9 +612,6 @@ module Stripe
|
|
664
612
|
class Link < Stripe::RequestParams
|
665
613
|
end
|
666
614
|
|
667
|
-
class MbWay < Stripe::RequestParams
|
668
|
-
end
|
669
|
-
|
670
615
|
class Mobilepay < Stripe::RequestParams
|
671
616
|
end
|
672
617
|
|
@@ -737,30 +682,12 @@ module Stripe
|
|
737
682
|
class Paypal < Stripe::RequestParams
|
738
683
|
end
|
739
684
|
|
740
|
-
class Payto < Stripe::RequestParams
|
741
|
-
# The account number for the bank account.
|
742
|
-
attr_accessor :account_number
|
743
|
-
# Bank-State-Branch number of the bank account.
|
744
|
-
attr_accessor :bsb_number
|
745
|
-
# The PayID alias for the bank account.
|
746
|
-
attr_accessor :pay_id
|
747
|
-
|
748
|
-
def initialize(account_number: nil, bsb_number: nil, pay_id: nil)
|
749
|
-
@account_number = account_number
|
750
|
-
@bsb_number = bsb_number
|
751
|
-
@pay_id = pay_id
|
752
|
-
end
|
753
|
-
end
|
754
|
-
|
755
685
|
class Pix < Stripe::RequestParams
|
756
686
|
end
|
757
687
|
|
758
688
|
class Promptpay < Stripe::RequestParams
|
759
689
|
end
|
760
690
|
|
761
|
-
class Qris < Stripe::RequestParams
|
762
|
-
end
|
763
|
-
|
764
691
|
class RadarOptions < Stripe::RequestParams
|
765
692
|
# 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.
|
766
693
|
attr_accessor :session
|
@@ -770,29 +697,6 @@ module Stripe
|
|
770
697
|
end
|
771
698
|
end
|
772
699
|
|
773
|
-
class Rechnung < Stripe::RequestParams
|
774
|
-
class Dob < Stripe::RequestParams
|
775
|
-
# The day of birth, between 1 and 31.
|
776
|
-
attr_accessor :day
|
777
|
-
# The month of birth, between 1 and 12.
|
778
|
-
attr_accessor :month
|
779
|
-
# The four-digit year of birth.
|
780
|
-
attr_accessor :year
|
781
|
-
|
782
|
-
def initialize(day: nil, month: nil, year: nil)
|
783
|
-
@day = day
|
784
|
-
@month = month
|
785
|
-
@year = year
|
786
|
-
end
|
787
|
-
end
|
788
|
-
# Customer's date of birth
|
789
|
-
attr_accessor :dob
|
790
|
-
|
791
|
-
def initialize(dob: nil)
|
792
|
-
@dob = dob
|
793
|
-
end
|
794
|
-
end
|
795
|
-
|
796
700
|
class RevolutPay < Stripe::RequestParams
|
797
701
|
end
|
798
702
|
|
@@ -811,9 +715,6 @@ module Stripe
|
|
811
715
|
end
|
812
716
|
end
|
813
717
|
|
814
|
-
class Shopeepay < Stripe::RequestParams
|
815
|
-
end
|
816
|
-
|
817
718
|
class Sofort < Stripe::RequestParams
|
818
719
|
# Two-letter ISO code representing the country the bank account is located in.
|
819
720
|
attr_accessor :country
|
@@ -823,18 +724,6 @@ module Stripe
|
|
823
724
|
end
|
824
725
|
end
|
825
726
|
|
826
|
-
class StripeBalance < Stripe::RequestParams
|
827
|
-
# The connected account ID whose Stripe balance to use as the source of payment
|
828
|
-
attr_accessor :account
|
829
|
-
# The [source_type](https://docs.stripe.com/api/balance/balance_object#balance_object-available-source_types) of the balance
|
830
|
-
attr_accessor :source_type
|
831
|
-
|
832
|
-
def initialize(account: nil, source_type: nil)
|
833
|
-
@account = account
|
834
|
-
@source_type = source_type
|
835
|
-
end
|
836
|
-
end
|
837
|
-
|
838
727
|
class Swish < Stripe::RequestParams
|
839
728
|
end
|
840
729
|
|
@@ -911,12 +800,8 @@ module Stripe
|
|
911
800
|
attr_accessor :fpx
|
912
801
|
# If this is a `giropay` PaymentMethod, this hash contains details about the Giropay payment method.
|
913
802
|
attr_accessor :giropay
|
914
|
-
# If this is a Gopay PaymentMethod, this hash contains details about the Gopay payment method.
|
915
|
-
attr_accessor :gopay
|
916
803
|
# If this is a `grabpay` PaymentMethod, this hash contains details about the GrabPay payment method.
|
917
804
|
attr_accessor :grabpay
|
918
|
-
# If this is an `IdBankTransfer` PaymentMethod, this hash contains details about the IdBankTransfer payment method.
|
919
|
-
attr_accessor :id_bank_transfer
|
920
805
|
# If this is an `ideal` PaymentMethod, this hash contains details about the iDEAL payment method.
|
921
806
|
attr_accessor :ideal
|
922
807
|
# If this is an `interac_present` PaymentMethod, this hash contains details about the Interac Present payment method.
|
@@ -931,8 +816,6 @@ module Stripe
|
|
931
816
|
attr_accessor :kr_card
|
932
817
|
# If this is an `Link` PaymentMethod, this hash contains details about the Link payment method.
|
933
818
|
attr_accessor :link
|
934
|
-
# If this is a MB WAY PaymentMethod, this hash contains details about the MB WAY payment method.
|
935
|
-
attr_accessor :mb_way
|
936
819
|
# 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`.
|
937
820
|
attr_accessor :metadata
|
938
821
|
# If this is a `mobilepay` PaymentMethod, this hash contains details about the MobilePay payment method.
|
@@ -955,18 +838,12 @@ module Stripe
|
|
955
838
|
attr_accessor :paynow
|
956
839
|
# If this is a `paypal` PaymentMethod, this hash contains details about the PayPal payment method.
|
957
840
|
attr_accessor :paypal
|
958
|
-
# If this is a `payto` PaymentMethod, this hash contains details about the PayTo payment method.
|
959
|
-
attr_accessor :payto
|
960
841
|
# If this is a `pix` PaymentMethod, this hash contains details about the Pix payment method.
|
961
842
|
attr_accessor :pix
|
962
843
|
# If this is a `promptpay` PaymentMethod, this hash contains details about the PromptPay payment method.
|
963
844
|
attr_accessor :promptpay
|
964
|
-
# If this is a `qris` PaymentMethod, this hash contains details about the QRIS payment method.
|
965
|
-
attr_accessor :qris
|
966
845
|
# Options to configure Radar. See [Radar Session](https://stripe.com/docs/radar/radar-session) for more information.
|
967
846
|
attr_accessor :radar_options
|
968
|
-
# If this is a `rechnung` PaymentMethod, this hash contains details about the Rechnung payment method.
|
969
|
-
attr_accessor :rechnung
|
970
847
|
# If this is a `revolut_pay` PaymentMethod, this hash contains details about the Revolut Pay payment method.
|
971
848
|
attr_accessor :revolut_pay
|
972
849
|
# If this is a `samsung_pay` PaymentMethod, this hash contains details about the SamsungPay payment method.
|
@@ -975,12 +852,8 @@ module Stripe
|
|
975
852
|
attr_accessor :satispay
|
976
853
|
# If this is a `sepa_debit` PaymentMethod, this hash contains details about the SEPA debit bank account.
|
977
854
|
attr_accessor :sepa_debit
|
978
|
-
# If this is a Shopeepay PaymentMethod, this hash contains details about the Shopeepay payment method.
|
979
|
-
attr_accessor :shopeepay
|
980
855
|
# If this is a `sofort` PaymentMethod, this hash contains details about the SOFORT payment method.
|
981
856
|
attr_accessor :sofort
|
982
|
-
# This hash contains details about the Stripe balance payment method.
|
983
|
-
attr_accessor :stripe_balance
|
984
857
|
# If this is a `swish` PaymentMethod, this hash contains details about the Swish payment method.
|
985
858
|
attr_accessor :swish
|
986
859
|
# If this is a TWINT PaymentMethod, this hash contains details about the TWINT payment method.
|
@@ -1014,9 +887,7 @@ module Stripe
|
|
1014
887
|
eps: nil,
|
1015
888
|
fpx: nil,
|
1016
889
|
giropay: nil,
|
1017
|
-
gopay: nil,
|
1018
890
|
grabpay: nil,
|
1019
|
-
id_bank_transfer: nil,
|
1020
891
|
ideal: nil,
|
1021
892
|
interac_present: nil,
|
1022
893
|
kakao_pay: nil,
|
@@ -1024,7 +895,6 @@ module Stripe
|
|
1024
895
|
konbini: nil,
|
1025
896
|
kr_card: nil,
|
1026
897
|
link: nil,
|
1027
|
-
mb_way: nil,
|
1028
898
|
metadata: nil,
|
1029
899
|
mobilepay: nil,
|
1030
900
|
multibanco: nil,
|
@@ -1036,19 +906,14 @@ module Stripe
|
|
1036
906
|
payco: nil,
|
1037
907
|
paynow: nil,
|
1038
908
|
paypal: nil,
|
1039
|
-
payto: nil,
|
1040
909
|
pix: nil,
|
1041
910
|
promptpay: nil,
|
1042
|
-
qris: nil,
|
1043
911
|
radar_options: nil,
|
1044
|
-
rechnung: nil,
|
1045
912
|
revolut_pay: nil,
|
1046
913
|
samsung_pay: nil,
|
1047
914
|
satispay: nil,
|
1048
915
|
sepa_debit: nil,
|
1049
|
-
shopeepay: nil,
|
1050
916
|
sofort: nil,
|
1051
|
-
stripe_balance: nil,
|
1052
917
|
swish: nil,
|
1053
918
|
twint: nil,
|
1054
919
|
type: nil,
|
@@ -1075,9 +940,7 @@ module Stripe
|
|
1075
940
|
@eps = eps
|
1076
941
|
@fpx = fpx
|
1077
942
|
@giropay = giropay
|
1078
|
-
@gopay = gopay
|
1079
943
|
@grabpay = grabpay
|
1080
|
-
@id_bank_transfer = id_bank_transfer
|
1081
944
|
@ideal = ideal
|
1082
945
|
@interac_present = interac_present
|
1083
946
|
@kakao_pay = kakao_pay
|
@@ -1085,7 +948,6 @@ module Stripe
|
|
1085
948
|
@konbini = konbini
|
1086
949
|
@kr_card = kr_card
|
1087
950
|
@link = link
|
1088
|
-
@mb_way = mb_way
|
1089
951
|
@metadata = metadata
|
1090
952
|
@mobilepay = mobilepay
|
1091
953
|
@multibanco = multibanco
|
@@ -1097,19 +959,14 @@ module Stripe
|
|
1097
959
|
@payco = payco
|
1098
960
|
@paynow = paynow
|
1099
961
|
@paypal = paypal
|
1100
|
-
@payto = payto
|
1101
962
|
@pix = pix
|
1102
963
|
@promptpay = promptpay
|
1103
|
-
@qris = qris
|
1104
964
|
@radar_options = radar_options
|
1105
|
-
@rechnung = rechnung
|
1106
965
|
@revolut_pay = revolut_pay
|
1107
966
|
@samsung_pay = samsung_pay
|
1108
967
|
@satispay = satispay
|
1109
968
|
@sepa_debit = sepa_debit
|
1110
|
-
@shopeepay = shopeepay
|
1111
969
|
@sofort = sofort
|
1112
|
-
@stripe_balance = stripe_balance
|
1113
970
|
@swish = swish
|
1114
971
|
@twint = twint
|
1115
972
|
@type = type
|
@@ -1345,58 +1202,9 @@ module Stripe
|
|
1345
1202
|
class Paypal < Stripe::RequestParams
|
1346
1203
|
# The PayPal Billing Agreement ID (BAID). This is an ID generated by PayPal which represents the mandate between the merchant and the customer.
|
1347
1204
|
attr_accessor :billing_agreement_id
|
1348
|
-
# Attribute for param field currency
|
1349
|
-
attr_accessor :currency
|
1350
|
-
# 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.
|
1351
|
-
attr_accessor :subsellers
|
1352
1205
|
|
1353
|
-
def initialize(billing_agreement_id: nil
|
1206
|
+
def initialize(billing_agreement_id: nil)
|
1354
1207
|
@billing_agreement_id = billing_agreement_id
|
1355
|
-
@currency = currency
|
1356
|
-
@subsellers = subsellers
|
1357
|
-
end
|
1358
|
-
end
|
1359
|
-
|
1360
|
-
class Payto < Stripe::RequestParams
|
1361
|
-
class MandateOptions < Stripe::RequestParams
|
1362
|
-
# Amount that will be collected. It is required when `amount_type` is `fixed`.
|
1363
|
-
attr_accessor :amount
|
1364
|
-
# 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.
|
1365
|
-
attr_accessor :amount_type
|
1366
|
-
# Date, in YYYY-MM-DD format, after which payments will not be collected. Defaults to no end date.
|
1367
|
-
attr_accessor :end_date
|
1368
|
-
# The periodicity at which payments will be collected.
|
1369
|
-
attr_accessor :payment_schedule
|
1370
|
-
# 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.
|
1371
|
-
attr_accessor :payments_per_period
|
1372
|
-
# The purpose for which payments are made. Defaults to retail.
|
1373
|
-
attr_accessor :purpose
|
1374
|
-
# Date, in YYYY-MM-DD format, from which payments will be collected. Defaults to confirmation time.
|
1375
|
-
attr_accessor :start_date
|
1376
|
-
|
1377
|
-
def initialize(
|
1378
|
-
amount: nil,
|
1379
|
-
amount_type: nil,
|
1380
|
-
end_date: nil,
|
1381
|
-
payment_schedule: nil,
|
1382
|
-
payments_per_period: nil,
|
1383
|
-
purpose: nil,
|
1384
|
-
start_date: nil
|
1385
|
-
)
|
1386
|
-
@amount = amount
|
1387
|
-
@amount_type = amount_type
|
1388
|
-
@end_date = end_date
|
1389
|
-
@payment_schedule = payment_schedule
|
1390
|
-
@payments_per_period = payments_per_period
|
1391
|
-
@purpose = purpose
|
1392
|
-
@start_date = start_date
|
1393
|
-
end
|
1394
|
-
end
|
1395
|
-
# Additional fields for Mandate creation.
|
1396
|
-
attr_accessor :mandate_options
|
1397
|
-
|
1398
|
-
def initialize(mandate_options: nil)
|
1399
|
-
@mandate_options = mandate_options
|
1400
1208
|
end
|
1401
1209
|
end
|
1402
1210
|
|
@@ -1422,27 +1230,13 @@ module Stripe
|
|
1422
1230
|
class Filters < Stripe::RequestParams
|
1423
1231
|
# The account subcategories to use to filter for selectable accounts. Valid subcategories are `checking` and `savings`.
|
1424
1232
|
attr_accessor :account_subcategories
|
1425
|
-
# ID of the institution to use to filter for selectable accounts.
|
1426
|
-
attr_accessor :institution
|
1427
1233
|
|
1428
|
-
def initialize(account_subcategories: nil
|
1234
|
+
def initialize(account_subcategories: nil)
|
1429
1235
|
@account_subcategories = account_subcategories
|
1430
|
-
@institution = institution
|
1431
|
-
end
|
1432
|
-
end
|
1433
|
-
|
1434
|
-
class ManualEntry < Stripe::RequestParams
|
1435
|
-
# Settings for configuring manual entry of account details.
|
1436
|
-
attr_accessor :mode
|
1437
|
-
|
1438
|
-
def initialize(mode: nil)
|
1439
|
-
@mode = mode
|
1440
1236
|
end
|
1441
1237
|
end
|
1442
1238
|
# Provide filters for the linked accounts that the customer can select for the payment method.
|
1443
1239
|
attr_accessor :filters
|
1444
|
-
# Customize manual entry behavior
|
1445
|
-
attr_accessor :manual_entry
|
1446
1240
|
# 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`.
|
1447
1241
|
attr_accessor :permissions
|
1448
1242
|
# List of data features that you would like to retrieve upon account creation.
|
@@ -1450,15 +1244,8 @@ module Stripe
|
|
1450
1244
|
# 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.
|
1451
1245
|
attr_accessor :return_url
|
1452
1246
|
|
1453
|
-
def initialize(
|
1454
|
-
filters: nil,
|
1455
|
-
manual_entry: nil,
|
1456
|
-
permissions: nil,
|
1457
|
-
prefetch: nil,
|
1458
|
-
return_url: nil
|
1459
|
-
)
|
1247
|
+
def initialize(filters: nil, permissions: nil, prefetch: nil, return_url: nil)
|
1460
1248
|
@filters = filters
|
1461
|
-
@manual_entry = manual_entry
|
1462
1249
|
@permissions = permissions
|
1463
1250
|
@prefetch = prefetch
|
1464
1251
|
@return_url = return_url
|
@@ -1517,8 +1304,6 @@ module Stripe
|
|
1517
1304
|
attr_accessor :link
|
1518
1305
|
# If this is a `paypal` PaymentMethod, this sub-hash contains details about the PayPal payment method options.
|
1519
1306
|
attr_accessor :paypal
|
1520
|
-
# If this is a `payto` SetupIntent, this sub-hash contains details about the PayTo payment method options.
|
1521
|
-
attr_accessor :payto
|
1522
1307
|
# If this is a `sepa_debit` SetupIntent, this sub-hash contains details about the SEPA Debit payment method options.
|
1523
1308
|
attr_accessor :sepa_debit
|
1524
1309
|
# If this is a `us_bank_account` SetupIntent, this sub-hash contains details about the US bank account payment method options.
|
@@ -1532,7 +1317,6 @@ module Stripe
|
|
1532
1317
|
card_present: nil,
|
1533
1318
|
link: nil,
|
1534
1319
|
paypal: nil,
|
1535
|
-
payto: nil,
|
1536
1320
|
sepa_debit: nil,
|
1537
1321
|
us_bank_account: nil
|
1538
1322
|
)
|
@@ -1543,7 +1327,6 @@ module Stripe
|
|
1543
1327
|
@card_present = card_present
|
1544
1328
|
@link = link
|
1545
1329
|
@paypal = paypal
|
1546
|
-
@payto = payto
|
1547
1330
|
@sepa_debit = sepa_debit
|
1548
1331
|
@us_bank_account = us_bank_account
|
1549
1332
|
end
|
@@ -1576,10 +1359,6 @@ module Stripe
|
|
1576
1359
|
#
|
1577
1360
|
# 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.
|
1578
1361
|
attr_accessor :customer
|
1579
|
-
# ID of the Account this SetupIntent belongs to, if one exists.
|
1580
|
-
#
|
1581
|
-
# 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.
|
1582
|
-
attr_accessor :customer_account
|
1583
1362
|
# An arbitrary string attached to the object. Often useful for displaying to users.
|
1584
1363
|
attr_accessor :description
|
1585
1364
|
# Specifies which fields in the response should be expanded.
|
@@ -1622,7 +1401,6 @@ module Stripe
|
|
1622
1401
|
confirm: nil,
|
1623
1402
|
confirmation_token: nil,
|
1624
1403
|
customer: nil,
|
1625
|
-
customer_account: nil,
|
1626
1404
|
description: nil,
|
1627
1405
|
expand: nil,
|
1628
1406
|
flow_directions: nil,
|
@@ -1644,7 +1422,6 @@ module Stripe
|
|
1644
1422
|
@confirm = confirm
|
1645
1423
|
@confirmation_token = confirmation_token
|
1646
1424
|
@customer = customer
|
1647
|
-
@customer_account = customer_account
|
1648
1425
|
@description = description
|
1649
1426
|
@expand = expand
|
1650
1427
|
@flow_directions = flow_directions
|
@@ -1818,21 +1595,9 @@ module Stripe
|
|
1818
1595
|
class Giropay < Stripe::RequestParams
|
1819
1596
|
end
|
1820
1597
|
|
1821
|
-
class Gopay < Stripe::RequestParams
|
1822
|
-
end
|
1823
|
-
|
1824
1598
|
class Grabpay < Stripe::RequestParams
|
1825
1599
|
end
|
1826
1600
|
|
1827
|
-
class IdBankTransfer < Stripe::RequestParams
|
1828
|
-
# Bank where the account is held.
|
1829
|
-
attr_accessor :bank
|
1830
|
-
|
1831
|
-
def initialize(bank: nil)
|
1832
|
-
@bank = bank
|
1833
|
-
end
|
1834
|
-
end
|
1835
|
-
|
1836
1601
|
class Ideal < Stripe::RequestParams
|
1837
1602
|
# The customer's bank. Only use this parameter for existing customers. Don't use it for new customers.
|
1838
1603
|
attr_accessor :bank
|
@@ -1880,9 +1645,6 @@ module Stripe
|
|
1880
1645
|
class Link < Stripe::RequestParams
|
1881
1646
|
end
|
1882
1647
|
|
1883
|
-
class MbWay < Stripe::RequestParams
|
1884
|
-
end
|
1885
|
-
|
1886
1648
|
class Mobilepay < Stripe::RequestParams
|
1887
1649
|
end
|
1888
1650
|
|
@@ -1953,30 +1715,12 @@ module Stripe
|
|
1953
1715
|
class Paypal < Stripe::RequestParams
|
1954
1716
|
end
|
1955
1717
|
|
1956
|
-
class Payto < Stripe::RequestParams
|
1957
|
-
# The account number for the bank account.
|
1958
|
-
attr_accessor :account_number
|
1959
|
-
# Bank-State-Branch number of the bank account.
|
1960
|
-
attr_accessor :bsb_number
|
1961
|
-
# The PayID alias for the bank account.
|
1962
|
-
attr_accessor :pay_id
|
1963
|
-
|
1964
|
-
def initialize(account_number: nil, bsb_number: nil, pay_id: nil)
|
1965
|
-
@account_number = account_number
|
1966
|
-
@bsb_number = bsb_number
|
1967
|
-
@pay_id = pay_id
|
1968
|
-
end
|
1969
|
-
end
|
1970
|
-
|
1971
1718
|
class Pix < Stripe::RequestParams
|
1972
1719
|
end
|
1973
1720
|
|
1974
1721
|
class Promptpay < Stripe::RequestParams
|
1975
1722
|
end
|
1976
1723
|
|
1977
|
-
class Qris < Stripe::RequestParams
|
1978
|
-
end
|
1979
|
-
|
1980
1724
|
class RadarOptions < Stripe::RequestParams
|
1981
1725
|
# 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.
|
1982
1726
|
attr_accessor :session
|
@@ -1986,29 +1730,6 @@ module Stripe
|
|
1986
1730
|
end
|
1987
1731
|
end
|
1988
1732
|
|
1989
|
-
class Rechnung < Stripe::RequestParams
|
1990
|
-
class Dob < Stripe::RequestParams
|
1991
|
-
# The day of birth, between 1 and 31.
|
1992
|
-
attr_accessor :day
|
1993
|
-
# The month of birth, between 1 and 12.
|
1994
|
-
attr_accessor :month
|
1995
|
-
# The four-digit year of birth.
|
1996
|
-
attr_accessor :year
|
1997
|
-
|
1998
|
-
def initialize(day: nil, month: nil, year: nil)
|
1999
|
-
@day = day
|
2000
|
-
@month = month
|
2001
|
-
@year = year
|
2002
|
-
end
|
2003
|
-
end
|
2004
|
-
# Customer's date of birth
|
2005
|
-
attr_accessor :dob
|
2006
|
-
|
2007
|
-
def initialize(dob: nil)
|
2008
|
-
@dob = dob
|
2009
|
-
end
|
2010
|
-
end
|
2011
|
-
|
2012
1733
|
class RevolutPay < Stripe::RequestParams
|
2013
1734
|
end
|
2014
1735
|
|
@@ -2027,9 +1748,6 @@ module Stripe
|
|
2027
1748
|
end
|
2028
1749
|
end
|
2029
1750
|
|
2030
|
-
class Shopeepay < Stripe::RequestParams
|
2031
|
-
end
|
2032
|
-
|
2033
1751
|
class Sofort < Stripe::RequestParams
|
2034
1752
|
# Two-letter ISO code representing the country the bank account is located in.
|
2035
1753
|
attr_accessor :country
|
@@ -2039,18 +1757,6 @@ module Stripe
|
|
2039
1757
|
end
|
2040
1758
|
end
|
2041
1759
|
|
2042
|
-
class StripeBalance < Stripe::RequestParams
|
2043
|
-
# The connected account ID whose Stripe balance to use as the source of payment
|
2044
|
-
attr_accessor :account
|
2045
|
-
# The [source_type](https://docs.stripe.com/api/balance/balance_object#balance_object-available-source_types) of the balance
|
2046
|
-
attr_accessor :source_type
|
2047
|
-
|
2048
|
-
def initialize(account: nil, source_type: nil)
|
2049
|
-
@account = account
|
2050
|
-
@source_type = source_type
|
2051
|
-
end
|
2052
|
-
end
|
2053
|
-
|
2054
1760
|
class Swish < Stripe::RequestParams
|
2055
1761
|
end
|
2056
1762
|
|
@@ -2127,12 +1833,8 @@ module Stripe
|
|
2127
1833
|
attr_accessor :fpx
|
2128
1834
|
# If this is a `giropay` PaymentMethod, this hash contains details about the Giropay payment method.
|
2129
1835
|
attr_accessor :giropay
|
2130
|
-
# If this is a Gopay PaymentMethod, this hash contains details about the Gopay payment method.
|
2131
|
-
attr_accessor :gopay
|
2132
1836
|
# If this is a `grabpay` PaymentMethod, this hash contains details about the GrabPay payment method.
|
2133
1837
|
attr_accessor :grabpay
|
2134
|
-
# If this is an `IdBankTransfer` PaymentMethod, this hash contains details about the IdBankTransfer payment method.
|
2135
|
-
attr_accessor :id_bank_transfer
|
2136
1838
|
# If this is an `ideal` PaymentMethod, this hash contains details about the iDEAL payment method.
|
2137
1839
|
attr_accessor :ideal
|
2138
1840
|
# If this is an `interac_present` PaymentMethod, this hash contains details about the Interac Present payment method.
|
@@ -2147,8 +1849,6 @@ module Stripe
|
|
2147
1849
|
attr_accessor :kr_card
|
2148
1850
|
# If this is an `Link` PaymentMethod, this hash contains details about the Link payment method.
|
2149
1851
|
attr_accessor :link
|
2150
|
-
# If this is a MB WAY PaymentMethod, this hash contains details about the MB WAY payment method.
|
2151
|
-
attr_accessor :mb_way
|
2152
1852
|
# 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`.
|
2153
1853
|
attr_accessor :metadata
|
2154
1854
|
# If this is a `mobilepay` PaymentMethod, this hash contains details about the MobilePay payment method.
|
@@ -2171,18 +1871,12 @@ module Stripe
|
|
2171
1871
|
attr_accessor :paynow
|
2172
1872
|
# If this is a `paypal` PaymentMethod, this hash contains details about the PayPal payment method.
|
2173
1873
|
attr_accessor :paypal
|
2174
|
-
# If this is a `payto` PaymentMethod, this hash contains details about the PayTo payment method.
|
2175
|
-
attr_accessor :payto
|
2176
1874
|
# If this is a `pix` PaymentMethod, this hash contains details about the Pix payment method.
|
2177
1875
|
attr_accessor :pix
|
2178
1876
|
# If this is a `promptpay` PaymentMethod, this hash contains details about the PromptPay payment method.
|
2179
1877
|
attr_accessor :promptpay
|
2180
|
-
# If this is a `qris` PaymentMethod, this hash contains details about the QRIS payment method.
|
2181
|
-
attr_accessor :qris
|
2182
1878
|
# Options to configure Radar. See [Radar Session](https://stripe.com/docs/radar/radar-session) for more information.
|
2183
1879
|
attr_accessor :radar_options
|
2184
|
-
# If this is a `rechnung` PaymentMethod, this hash contains details about the Rechnung payment method.
|
2185
|
-
attr_accessor :rechnung
|
2186
1880
|
# If this is a `revolut_pay` PaymentMethod, this hash contains details about the Revolut Pay payment method.
|
2187
1881
|
attr_accessor :revolut_pay
|
2188
1882
|
# If this is a `samsung_pay` PaymentMethod, this hash contains details about the SamsungPay payment method.
|
@@ -2191,12 +1885,8 @@ module Stripe
|
|
2191
1885
|
attr_accessor :satispay
|
2192
1886
|
# If this is a `sepa_debit` PaymentMethod, this hash contains details about the SEPA debit bank account.
|
2193
1887
|
attr_accessor :sepa_debit
|
2194
|
-
# If this is a Shopeepay PaymentMethod, this hash contains details about the Shopeepay payment method.
|
2195
|
-
attr_accessor :shopeepay
|
2196
1888
|
# If this is a `sofort` PaymentMethod, this hash contains details about the SOFORT payment method.
|
2197
1889
|
attr_accessor :sofort
|
2198
|
-
# This hash contains details about the Stripe balance payment method.
|
2199
|
-
attr_accessor :stripe_balance
|
2200
1890
|
# If this is a `swish` PaymentMethod, this hash contains details about the Swish payment method.
|
2201
1891
|
attr_accessor :swish
|
2202
1892
|
# If this is a TWINT PaymentMethod, this hash contains details about the TWINT payment method.
|
@@ -2230,9 +1920,7 @@ module Stripe
|
|
2230
1920
|
eps: nil,
|
2231
1921
|
fpx: nil,
|
2232
1922
|
giropay: nil,
|
2233
|
-
gopay: nil,
|
2234
1923
|
grabpay: nil,
|
2235
|
-
id_bank_transfer: nil,
|
2236
1924
|
ideal: nil,
|
2237
1925
|
interac_present: nil,
|
2238
1926
|
kakao_pay: nil,
|
@@ -2240,7 +1928,6 @@ module Stripe
|
|
2240
1928
|
konbini: nil,
|
2241
1929
|
kr_card: nil,
|
2242
1930
|
link: nil,
|
2243
|
-
mb_way: nil,
|
2244
1931
|
metadata: nil,
|
2245
1932
|
mobilepay: nil,
|
2246
1933
|
multibanco: nil,
|
@@ -2252,19 +1939,14 @@ module Stripe
|
|
2252
1939
|
payco: nil,
|
2253
1940
|
paynow: nil,
|
2254
1941
|
paypal: nil,
|
2255
|
-
payto: nil,
|
2256
1942
|
pix: nil,
|
2257
1943
|
promptpay: nil,
|
2258
|
-
qris: nil,
|
2259
1944
|
radar_options: nil,
|
2260
|
-
rechnung: nil,
|
2261
1945
|
revolut_pay: nil,
|
2262
1946
|
samsung_pay: nil,
|
2263
1947
|
satispay: nil,
|
2264
1948
|
sepa_debit: nil,
|
2265
|
-
shopeepay: nil,
|
2266
1949
|
sofort: nil,
|
2267
|
-
stripe_balance: nil,
|
2268
1950
|
swish: nil,
|
2269
1951
|
twint: nil,
|
2270
1952
|
type: nil,
|
@@ -2291,9 +1973,7 @@ module Stripe
|
|
2291
1973
|
@eps = eps
|
2292
1974
|
@fpx = fpx
|
2293
1975
|
@giropay = giropay
|
2294
|
-
@gopay = gopay
|
2295
1976
|
@grabpay = grabpay
|
2296
|
-
@id_bank_transfer = id_bank_transfer
|
2297
1977
|
@ideal = ideal
|
2298
1978
|
@interac_present = interac_present
|
2299
1979
|
@kakao_pay = kakao_pay
|
@@ -2301,7 +1981,6 @@ module Stripe
|
|
2301
1981
|
@konbini = konbini
|
2302
1982
|
@kr_card = kr_card
|
2303
1983
|
@link = link
|
2304
|
-
@mb_way = mb_way
|
2305
1984
|
@metadata = metadata
|
2306
1985
|
@mobilepay = mobilepay
|
2307
1986
|
@multibanco = multibanco
|
@@ -2313,19 +1992,14 @@ module Stripe
|
|
2313
1992
|
@payco = payco
|
2314
1993
|
@paynow = paynow
|
2315
1994
|
@paypal = paypal
|
2316
|
-
@payto = payto
|
2317
1995
|
@pix = pix
|
2318
1996
|
@promptpay = promptpay
|
2319
|
-
@qris = qris
|
2320
1997
|
@radar_options = radar_options
|
2321
|
-
@rechnung = rechnung
|
2322
1998
|
@revolut_pay = revolut_pay
|
2323
1999
|
@samsung_pay = samsung_pay
|
2324
2000
|
@satispay = satispay
|
2325
2001
|
@sepa_debit = sepa_debit
|
2326
|
-
@shopeepay = shopeepay
|
2327
2002
|
@sofort = sofort
|
2328
|
-
@stripe_balance = stripe_balance
|
2329
2003
|
@swish = swish
|
2330
2004
|
@twint = twint
|
2331
2005
|
@type = type
|
@@ -2561,58 +2235,9 @@ module Stripe
|
|
2561
2235
|
class Paypal < Stripe::RequestParams
|
2562
2236
|
# The PayPal Billing Agreement ID (BAID). This is an ID generated by PayPal which represents the mandate between the merchant and the customer.
|
2563
2237
|
attr_accessor :billing_agreement_id
|
2564
|
-
# Attribute for param field currency
|
2565
|
-
attr_accessor :currency
|
2566
|
-
# 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.
|
2567
|
-
attr_accessor :subsellers
|
2568
2238
|
|
2569
|
-
def initialize(billing_agreement_id: nil
|
2239
|
+
def initialize(billing_agreement_id: nil)
|
2570
2240
|
@billing_agreement_id = billing_agreement_id
|
2571
|
-
@currency = currency
|
2572
|
-
@subsellers = subsellers
|
2573
|
-
end
|
2574
|
-
end
|
2575
|
-
|
2576
|
-
class Payto < Stripe::RequestParams
|
2577
|
-
class MandateOptions < Stripe::RequestParams
|
2578
|
-
# Amount that will be collected. It is required when `amount_type` is `fixed`.
|
2579
|
-
attr_accessor :amount
|
2580
|
-
# 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.
|
2581
|
-
attr_accessor :amount_type
|
2582
|
-
# Date, in YYYY-MM-DD format, after which payments will not be collected. Defaults to no end date.
|
2583
|
-
attr_accessor :end_date
|
2584
|
-
# The periodicity at which payments will be collected.
|
2585
|
-
attr_accessor :payment_schedule
|
2586
|
-
# 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.
|
2587
|
-
attr_accessor :payments_per_period
|
2588
|
-
# The purpose for which payments are made. Defaults to retail.
|
2589
|
-
attr_accessor :purpose
|
2590
|
-
# Date, in YYYY-MM-DD format, from which payments will be collected. Defaults to confirmation time.
|
2591
|
-
attr_accessor :start_date
|
2592
|
-
|
2593
|
-
def initialize(
|
2594
|
-
amount: nil,
|
2595
|
-
amount_type: nil,
|
2596
|
-
end_date: nil,
|
2597
|
-
payment_schedule: nil,
|
2598
|
-
payments_per_period: nil,
|
2599
|
-
purpose: nil,
|
2600
|
-
start_date: nil
|
2601
|
-
)
|
2602
|
-
@amount = amount
|
2603
|
-
@amount_type = amount_type
|
2604
|
-
@end_date = end_date
|
2605
|
-
@payment_schedule = payment_schedule
|
2606
|
-
@payments_per_period = payments_per_period
|
2607
|
-
@purpose = purpose
|
2608
|
-
@start_date = start_date
|
2609
|
-
end
|
2610
|
-
end
|
2611
|
-
# Additional fields for Mandate creation.
|
2612
|
-
attr_accessor :mandate_options
|
2613
|
-
|
2614
|
-
def initialize(mandate_options: nil)
|
2615
|
-
@mandate_options = mandate_options
|
2616
2241
|
end
|
2617
2242
|
end
|
2618
2243
|
|
@@ -2638,27 +2263,13 @@ module Stripe
|
|
2638
2263
|
class Filters < Stripe::RequestParams
|
2639
2264
|
# The account subcategories to use to filter for selectable accounts. Valid subcategories are `checking` and `savings`.
|
2640
2265
|
attr_accessor :account_subcategories
|
2641
|
-
# ID of the institution to use to filter for selectable accounts.
|
2642
|
-
attr_accessor :institution
|
2643
2266
|
|
2644
|
-
def initialize(account_subcategories: nil
|
2267
|
+
def initialize(account_subcategories: nil)
|
2645
2268
|
@account_subcategories = account_subcategories
|
2646
|
-
@institution = institution
|
2647
|
-
end
|
2648
|
-
end
|
2649
|
-
|
2650
|
-
class ManualEntry < Stripe::RequestParams
|
2651
|
-
# Settings for configuring manual entry of account details.
|
2652
|
-
attr_accessor :mode
|
2653
|
-
|
2654
|
-
def initialize(mode: nil)
|
2655
|
-
@mode = mode
|
2656
2269
|
end
|
2657
2270
|
end
|
2658
2271
|
# Provide filters for the linked accounts that the customer can select for the payment method.
|
2659
2272
|
attr_accessor :filters
|
2660
|
-
# Customize manual entry behavior
|
2661
|
-
attr_accessor :manual_entry
|
2662
2273
|
# 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`.
|
2663
2274
|
attr_accessor :permissions
|
2664
2275
|
# List of data features that you would like to retrieve upon account creation.
|
@@ -2666,15 +2277,8 @@ module Stripe
|
|
2666
2277
|
# 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.
|
2667
2278
|
attr_accessor :return_url
|
2668
2279
|
|
2669
|
-
def initialize(
|
2670
|
-
filters: nil,
|
2671
|
-
manual_entry: nil,
|
2672
|
-
permissions: nil,
|
2673
|
-
prefetch: nil,
|
2674
|
-
return_url: nil
|
2675
|
-
)
|
2280
|
+
def initialize(filters: nil, permissions: nil, prefetch: nil, return_url: nil)
|
2676
2281
|
@filters = filters
|
2677
|
-
@manual_entry = manual_entry
|
2678
2282
|
@permissions = permissions
|
2679
2283
|
@prefetch = prefetch
|
2680
2284
|
@return_url = return_url
|
@@ -2733,8 +2337,6 @@ module Stripe
|
|
2733
2337
|
attr_accessor :link
|
2734
2338
|
# If this is a `paypal` PaymentMethod, this sub-hash contains details about the PayPal payment method options.
|
2735
2339
|
attr_accessor :paypal
|
2736
|
-
# If this is a `payto` SetupIntent, this sub-hash contains details about the PayTo payment method options.
|
2737
|
-
attr_accessor :payto
|
2738
2340
|
# If this is a `sepa_debit` SetupIntent, this sub-hash contains details about the SEPA Debit payment method options.
|
2739
2341
|
attr_accessor :sepa_debit
|
2740
2342
|
# If this is a `us_bank_account` SetupIntent, this sub-hash contains details about the US bank account payment method options.
|
@@ -2748,7 +2350,6 @@ module Stripe
|
|
2748
2350
|
card_present: nil,
|
2749
2351
|
link: nil,
|
2750
2352
|
paypal: nil,
|
2751
|
-
payto: nil,
|
2752
2353
|
sepa_debit: nil,
|
2753
2354
|
us_bank_account: nil
|
2754
2355
|
)
|
@@ -2759,7 +2360,6 @@ module Stripe
|
|
2759
2360
|
@card_present = card_present
|
2760
2361
|
@link = link
|
2761
2362
|
@paypal = paypal
|
2762
|
-
@payto = payto
|
2763
2363
|
@sepa_debit = sepa_debit
|
2764
2364
|
@us_bank_account = us_bank_account
|
2765
2365
|
end
|
@@ -2772,10 +2372,6 @@ module Stripe
|
|
2772
2372
|
#
|
2773
2373
|
# 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.
|
2774
2374
|
attr_accessor :customer
|
2775
|
-
# ID of the Account this SetupIntent belongs to, if one exists.
|
2776
|
-
#
|
2777
|
-
# 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.
|
2778
|
-
attr_accessor :customer_account
|
2779
2375
|
# An arbitrary string attached to the object. Often useful for displaying to users.
|
2780
2376
|
attr_accessor :description
|
2781
2377
|
# Specifies which fields in the response should be expanded.
|
@@ -2801,7 +2397,6 @@ module Stripe
|
|
2801
2397
|
def initialize(
|
2802
2398
|
attach_to_self: nil,
|
2803
2399
|
customer: nil,
|
2804
|
-
customer_account: nil,
|
2805
2400
|
description: nil,
|
2806
2401
|
expand: nil,
|
2807
2402
|
flow_directions: nil,
|
@@ -2814,7 +2409,6 @@ module Stripe
|
|
2814
2409
|
)
|
2815
2410
|
@attach_to_self = attach_to_self
|
2816
2411
|
@customer = customer
|
2817
|
-
@customer_account = customer_account
|
2818
2412
|
@description = description
|
2819
2413
|
@expand = expand
|
2820
2414
|
@flow_directions = flow_directions
|
@@ -3034,21 +2628,9 @@ module Stripe
|
|
3034
2628
|
class Giropay < Stripe::RequestParams
|
3035
2629
|
end
|
3036
2630
|
|
3037
|
-
class Gopay < Stripe::RequestParams
|
3038
|
-
end
|
3039
|
-
|
3040
2631
|
class Grabpay < Stripe::RequestParams
|
3041
2632
|
end
|
3042
2633
|
|
3043
|
-
class IdBankTransfer < Stripe::RequestParams
|
3044
|
-
# Bank where the account is held.
|
3045
|
-
attr_accessor :bank
|
3046
|
-
|
3047
|
-
def initialize(bank: nil)
|
3048
|
-
@bank = bank
|
3049
|
-
end
|
3050
|
-
end
|
3051
|
-
|
3052
2634
|
class Ideal < Stripe::RequestParams
|
3053
2635
|
# The customer's bank. Only use this parameter for existing customers. Don't use it for new customers.
|
3054
2636
|
attr_accessor :bank
|
@@ -3096,9 +2678,6 @@ module Stripe
|
|
3096
2678
|
class Link < Stripe::RequestParams
|
3097
2679
|
end
|
3098
2680
|
|
3099
|
-
class MbWay < Stripe::RequestParams
|
3100
|
-
end
|
3101
|
-
|
3102
2681
|
class Mobilepay < Stripe::RequestParams
|
3103
2682
|
end
|
3104
2683
|
|
@@ -3169,30 +2748,12 @@ module Stripe
|
|
3169
2748
|
class Paypal < Stripe::RequestParams
|
3170
2749
|
end
|
3171
2750
|
|
3172
|
-
class Payto < Stripe::RequestParams
|
3173
|
-
# The account number for the bank account.
|
3174
|
-
attr_accessor :account_number
|
3175
|
-
# Bank-State-Branch number of the bank account.
|
3176
|
-
attr_accessor :bsb_number
|
3177
|
-
# The PayID alias for the bank account.
|
3178
|
-
attr_accessor :pay_id
|
3179
|
-
|
3180
|
-
def initialize(account_number: nil, bsb_number: nil, pay_id: nil)
|
3181
|
-
@account_number = account_number
|
3182
|
-
@bsb_number = bsb_number
|
3183
|
-
@pay_id = pay_id
|
3184
|
-
end
|
3185
|
-
end
|
3186
|
-
|
3187
2751
|
class Pix < Stripe::RequestParams
|
3188
2752
|
end
|
3189
2753
|
|
3190
2754
|
class Promptpay < Stripe::RequestParams
|
3191
2755
|
end
|
3192
2756
|
|
3193
|
-
class Qris < Stripe::RequestParams
|
3194
|
-
end
|
3195
|
-
|
3196
2757
|
class RadarOptions < Stripe::RequestParams
|
3197
2758
|
# 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.
|
3198
2759
|
attr_accessor :session
|
@@ -3202,29 +2763,6 @@ module Stripe
|
|
3202
2763
|
end
|
3203
2764
|
end
|
3204
2765
|
|
3205
|
-
class Rechnung < Stripe::RequestParams
|
3206
|
-
class Dob < Stripe::RequestParams
|
3207
|
-
# The day of birth, between 1 and 31.
|
3208
|
-
attr_accessor :day
|
3209
|
-
# The month of birth, between 1 and 12.
|
3210
|
-
attr_accessor :month
|
3211
|
-
# The four-digit year of birth.
|
3212
|
-
attr_accessor :year
|
3213
|
-
|
3214
|
-
def initialize(day: nil, month: nil, year: nil)
|
3215
|
-
@day = day
|
3216
|
-
@month = month
|
3217
|
-
@year = year
|
3218
|
-
end
|
3219
|
-
end
|
3220
|
-
# Customer's date of birth
|
3221
|
-
attr_accessor :dob
|
3222
|
-
|
3223
|
-
def initialize(dob: nil)
|
3224
|
-
@dob = dob
|
3225
|
-
end
|
3226
|
-
end
|
3227
|
-
|
3228
2766
|
class RevolutPay < Stripe::RequestParams
|
3229
2767
|
end
|
3230
2768
|
|
@@ -3243,9 +2781,6 @@ module Stripe
|
|
3243
2781
|
end
|
3244
2782
|
end
|
3245
2783
|
|
3246
|
-
class Shopeepay < Stripe::RequestParams
|
3247
|
-
end
|
3248
|
-
|
3249
2784
|
class Sofort < Stripe::RequestParams
|
3250
2785
|
# Two-letter ISO code representing the country the bank account is located in.
|
3251
2786
|
attr_accessor :country
|
@@ -3255,18 +2790,6 @@ module Stripe
|
|
3255
2790
|
end
|
3256
2791
|
end
|
3257
2792
|
|
3258
|
-
class StripeBalance < Stripe::RequestParams
|
3259
|
-
# The connected account ID whose Stripe balance to use as the source of payment
|
3260
|
-
attr_accessor :account
|
3261
|
-
# The [source_type](https://docs.stripe.com/api/balance/balance_object#balance_object-available-source_types) of the balance
|
3262
|
-
attr_accessor :source_type
|
3263
|
-
|
3264
|
-
def initialize(account: nil, source_type: nil)
|
3265
|
-
@account = account
|
3266
|
-
@source_type = source_type
|
3267
|
-
end
|
3268
|
-
end
|
3269
|
-
|
3270
2793
|
class Swish < Stripe::RequestParams
|
3271
2794
|
end
|
3272
2795
|
|
@@ -3343,12 +2866,8 @@ module Stripe
|
|
3343
2866
|
attr_accessor :fpx
|
3344
2867
|
# If this is a `giropay` PaymentMethod, this hash contains details about the Giropay payment method.
|
3345
2868
|
attr_accessor :giropay
|
3346
|
-
# If this is a Gopay PaymentMethod, this hash contains details about the Gopay payment method.
|
3347
|
-
attr_accessor :gopay
|
3348
2869
|
# If this is a `grabpay` PaymentMethod, this hash contains details about the GrabPay payment method.
|
3349
2870
|
attr_accessor :grabpay
|
3350
|
-
# If this is an `IdBankTransfer` PaymentMethod, this hash contains details about the IdBankTransfer payment method.
|
3351
|
-
attr_accessor :id_bank_transfer
|
3352
2871
|
# If this is an `ideal` PaymentMethod, this hash contains details about the iDEAL payment method.
|
3353
2872
|
attr_accessor :ideal
|
3354
2873
|
# If this is an `interac_present` PaymentMethod, this hash contains details about the Interac Present payment method.
|
@@ -3363,8 +2882,6 @@ module Stripe
|
|
3363
2882
|
attr_accessor :kr_card
|
3364
2883
|
# If this is an `Link` PaymentMethod, this hash contains details about the Link payment method.
|
3365
2884
|
attr_accessor :link
|
3366
|
-
# If this is a MB WAY PaymentMethod, this hash contains details about the MB WAY payment method.
|
3367
|
-
attr_accessor :mb_way
|
3368
2885
|
# 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`.
|
3369
2886
|
attr_accessor :metadata
|
3370
2887
|
# If this is a `mobilepay` PaymentMethod, this hash contains details about the MobilePay payment method.
|
@@ -3387,18 +2904,12 @@ module Stripe
|
|
3387
2904
|
attr_accessor :paynow
|
3388
2905
|
# If this is a `paypal` PaymentMethod, this hash contains details about the PayPal payment method.
|
3389
2906
|
attr_accessor :paypal
|
3390
|
-
# If this is a `payto` PaymentMethod, this hash contains details about the PayTo payment method.
|
3391
|
-
attr_accessor :payto
|
3392
2907
|
# If this is a `pix` PaymentMethod, this hash contains details about the Pix payment method.
|
3393
2908
|
attr_accessor :pix
|
3394
2909
|
# If this is a `promptpay` PaymentMethod, this hash contains details about the PromptPay payment method.
|
3395
2910
|
attr_accessor :promptpay
|
3396
|
-
# If this is a `qris` PaymentMethod, this hash contains details about the QRIS payment method.
|
3397
|
-
attr_accessor :qris
|
3398
2911
|
# Options to configure Radar. See [Radar Session](https://stripe.com/docs/radar/radar-session) for more information.
|
3399
2912
|
attr_accessor :radar_options
|
3400
|
-
# If this is a `rechnung` PaymentMethod, this hash contains details about the Rechnung payment method.
|
3401
|
-
attr_accessor :rechnung
|
3402
2913
|
# If this is a `revolut_pay` PaymentMethod, this hash contains details about the Revolut Pay payment method.
|
3403
2914
|
attr_accessor :revolut_pay
|
3404
2915
|
# If this is a `samsung_pay` PaymentMethod, this hash contains details about the SamsungPay payment method.
|
@@ -3407,12 +2918,8 @@ module Stripe
|
|
3407
2918
|
attr_accessor :satispay
|
3408
2919
|
# If this is a `sepa_debit` PaymentMethod, this hash contains details about the SEPA debit bank account.
|
3409
2920
|
attr_accessor :sepa_debit
|
3410
|
-
# If this is a Shopeepay PaymentMethod, this hash contains details about the Shopeepay payment method.
|
3411
|
-
attr_accessor :shopeepay
|
3412
2921
|
# If this is a `sofort` PaymentMethod, this hash contains details about the SOFORT payment method.
|
3413
2922
|
attr_accessor :sofort
|
3414
|
-
# This hash contains details about the Stripe balance payment method.
|
3415
|
-
attr_accessor :stripe_balance
|
3416
2923
|
# If this is a `swish` PaymentMethod, this hash contains details about the Swish payment method.
|
3417
2924
|
attr_accessor :swish
|
3418
2925
|
# If this is a TWINT PaymentMethod, this hash contains details about the TWINT payment method.
|
@@ -3446,9 +2953,7 @@ module Stripe
|
|
3446
2953
|
eps: nil,
|
3447
2954
|
fpx: nil,
|
3448
2955
|
giropay: nil,
|
3449
|
-
gopay: nil,
|
3450
2956
|
grabpay: nil,
|
3451
|
-
id_bank_transfer: nil,
|
3452
2957
|
ideal: nil,
|
3453
2958
|
interac_present: nil,
|
3454
2959
|
kakao_pay: nil,
|
@@ -3456,7 +2961,6 @@ module Stripe
|
|
3456
2961
|
konbini: nil,
|
3457
2962
|
kr_card: nil,
|
3458
2963
|
link: nil,
|
3459
|
-
mb_way: nil,
|
3460
2964
|
metadata: nil,
|
3461
2965
|
mobilepay: nil,
|
3462
2966
|
multibanco: nil,
|
@@ -3468,19 +2972,14 @@ module Stripe
|
|
3468
2972
|
payco: nil,
|
3469
2973
|
paynow: nil,
|
3470
2974
|
paypal: nil,
|
3471
|
-
payto: nil,
|
3472
2975
|
pix: nil,
|
3473
2976
|
promptpay: nil,
|
3474
|
-
qris: nil,
|
3475
2977
|
radar_options: nil,
|
3476
|
-
rechnung: nil,
|
3477
2978
|
revolut_pay: nil,
|
3478
2979
|
samsung_pay: nil,
|
3479
2980
|
satispay: nil,
|
3480
2981
|
sepa_debit: nil,
|
3481
|
-
shopeepay: nil,
|
3482
2982
|
sofort: nil,
|
3483
|
-
stripe_balance: nil,
|
3484
2983
|
swish: nil,
|
3485
2984
|
twint: nil,
|
3486
2985
|
type: nil,
|
@@ -3507,9 +3006,7 @@ module Stripe
|
|
3507
3006
|
@eps = eps
|
3508
3007
|
@fpx = fpx
|
3509
3008
|
@giropay = giropay
|
3510
|
-
@gopay = gopay
|
3511
3009
|
@grabpay = grabpay
|
3512
|
-
@id_bank_transfer = id_bank_transfer
|
3513
3010
|
@ideal = ideal
|
3514
3011
|
@interac_present = interac_present
|
3515
3012
|
@kakao_pay = kakao_pay
|
@@ -3517,7 +3014,6 @@ module Stripe
|
|
3517
3014
|
@konbini = konbini
|
3518
3015
|
@kr_card = kr_card
|
3519
3016
|
@link = link
|
3520
|
-
@mb_way = mb_way
|
3521
3017
|
@metadata = metadata
|
3522
3018
|
@mobilepay = mobilepay
|
3523
3019
|
@multibanco = multibanco
|
@@ -3529,19 +3025,14 @@ module Stripe
|
|
3529
3025
|
@payco = payco
|
3530
3026
|
@paynow = paynow
|
3531
3027
|
@paypal = paypal
|
3532
|
-
@payto = payto
|
3533
3028
|
@pix = pix
|
3534
3029
|
@promptpay = promptpay
|
3535
|
-
@qris = qris
|
3536
3030
|
@radar_options = radar_options
|
3537
|
-
@rechnung = rechnung
|
3538
3031
|
@revolut_pay = revolut_pay
|
3539
3032
|
@samsung_pay = samsung_pay
|
3540
3033
|
@satispay = satispay
|
3541
3034
|
@sepa_debit = sepa_debit
|
3542
|
-
@shopeepay = shopeepay
|
3543
3035
|
@sofort = sofort
|
3544
|
-
@stripe_balance = stripe_balance
|
3545
3036
|
@swish = swish
|
3546
3037
|
@twint = twint
|
3547
3038
|
@type = type
|
@@ -3777,58 +3268,9 @@ module Stripe
|
|
3777
3268
|
class Paypal < Stripe::RequestParams
|
3778
3269
|
# The PayPal Billing Agreement ID (BAID). This is an ID generated by PayPal which represents the mandate between the merchant and the customer.
|
3779
3270
|
attr_accessor :billing_agreement_id
|
3780
|
-
# Attribute for param field currency
|
3781
|
-
attr_accessor :currency
|
3782
|
-
# 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.
|
3783
|
-
attr_accessor :subsellers
|
3784
3271
|
|
3785
|
-
def initialize(billing_agreement_id: nil
|
3272
|
+
def initialize(billing_agreement_id: nil)
|
3786
3273
|
@billing_agreement_id = billing_agreement_id
|
3787
|
-
@currency = currency
|
3788
|
-
@subsellers = subsellers
|
3789
|
-
end
|
3790
|
-
end
|
3791
|
-
|
3792
|
-
class Payto < Stripe::RequestParams
|
3793
|
-
class MandateOptions < Stripe::RequestParams
|
3794
|
-
# Amount that will be collected. It is required when `amount_type` is `fixed`.
|
3795
|
-
attr_accessor :amount
|
3796
|
-
# 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.
|
3797
|
-
attr_accessor :amount_type
|
3798
|
-
# Date, in YYYY-MM-DD format, after which payments will not be collected. Defaults to no end date.
|
3799
|
-
attr_accessor :end_date
|
3800
|
-
# The periodicity at which payments will be collected.
|
3801
|
-
attr_accessor :payment_schedule
|
3802
|
-
# 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.
|
3803
|
-
attr_accessor :payments_per_period
|
3804
|
-
# The purpose for which payments are made. Defaults to retail.
|
3805
|
-
attr_accessor :purpose
|
3806
|
-
# Date, in YYYY-MM-DD format, from which payments will be collected. Defaults to confirmation time.
|
3807
|
-
attr_accessor :start_date
|
3808
|
-
|
3809
|
-
def initialize(
|
3810
|
-
amount: nil,
|
3811
|
-
amount_type: nil,
|
3812
|
-
end_date: nil,
|
3813
|
-
payment_schedule: nil,
|
3814
|
-
payments_per_period: nil,
|
3815
|
-
purpose: nil,
|
3816
|
-
start_date: nil
|
3817
|
-
)
|
3818
|
-
@amount = amount
|
3819
|
-
@amount_type = amount_type
|
3820
|
-
@end_date = end_date
|
3821
|
-
@payment_schedule = payment_schedule
|
3822
|
-
@payments_per_period = payments_per_period
|
3823
|
-
@purpose = purpose
|
3824
|
-
@start_date = start_date
|
3825
|
-
end
|
3826
|
-
end
|
3827
|
-
# Additional fields for Mandate creation.
|
3828
|
-
attr_accessor :mandate_options
|
3829
|
-
|
3830
|
-
def initialize(mandate_options: nil)
|
3831
|
-
@mandate_options = mandate_options
|
3832
3274
|
end
|
3833
3275
|
end
|
3834
3276
|
|
@@ -3854,27 +3296,13 @@ module Stripe
|
|
3854
3296
|
class Filters < Stripe::RequestParams
|
3855
3297
|
# The account subcategories to use to filter for selectable accounts. Valid subcategories are `checking` and `savings`.
|
3856
3298
|
attr_accessor :account_subcategories
|
3857
|
-
# ID of the institution to use to filter for selectable accounts.
|
3858
|
-
attr_accessor :institution
|
3859
3299
|
|
3860
|
-
def initialize(account_subcategories: nil
|
3300
|
+
def initialize(account_subcategories: nil)
|
3861
3301
|
@account_subcategories = account_subcategories
|
3862
|
-
@institution = institution
|
3863
|
-
end
|
3864
|
-
end
|
3865
|
-
|
3866
|
-
class ManualEntry < Stripe::RequestParams
|
3867
|
-
# Settings for configuring manual entry of account details.
|
3868
|
-
attr_accessor :mode
|
3869
|
-
|
3870
|
-
def initialize(mode: nil)
|
3871
|
-
@mode = mode
|
3872
3302
|
end
|
3873
3303
|
end
|
3874
3304
|
# Provide filters for the linked accounts that the customer can select for the payment method.
|
3875
3305
|
attr_accessor :filters
|
3876
|
-
# Customize manual entry behavior
|
3877
|
-
attr_accessor :manual_entry
|
3878
3306
|
# 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`.
|
3879
3307
|
attr_accessor :permissions
|
3880
3308
|
# List of data features that you would like to retrieve upon account creation.
|
@@ -3882,15 +3310,8 @@ module Stripe
|
|
3882
3310
|
# 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.
|
3883
3311
|
attr_accessor :return_url
|
3884
3312
|
|
3885
|
-
def initialize(
|
3886
|
-
filters: nil,
|
3887
|
-
manual_entry: nil,
|
3888
|
-
permissions: nil,
|
3889
|
-
prefetch: nil,
|
3890
|
-
return_url: nil
|
3891
|
-
)
|
3313
|
+
def initialize(filters: nil, permissions: nil, prefetch: nil, return_url: nil)
|
3892
3314
|
@filters = filters
|
3893
|
-
@manual_entry = manual_entry
|
3894
3315
|
@permissions = permissions
|
3895
3316
|
@prefetch = prefetch
|
3896
3317
|
@return_url = return_url
|
@@ -3949,8 +3370,6 @@ module Stripe
|
|
3949
3370
|
attr_accessor :link
|
3950
3371
|
# If this is a `paypal` PaymentMethod, this sub-hash contains details about the PayPal payment method options.
|
3951
3372
|
attr_accessor :paypal
|
3952
|
-
# If this is a `payto` SetupIntent, this sub-hash contains details about the PayTo payment method options.
|
3953
|
-
attr_accessor :payto
|
3954
3373
|
# If this is a `sepa_debit` SetupIntent, this sub-hash contains details about the SEPA Debit payment method options.
|
3955
3374
|
attr_accessor :sepa_debit
|
3956
3375
|
# If this is a `us_bank_account` SetupIntent, this sub-hash contains details about the US bank account payment method options.
|
@@ -3964,7 +3383,6 @@ module Stripe
|
|
3964
3383
|
card_present: nil,
|
3965
3384
|
link: nil,
|
3966
3385
|
paypal: nil,
|
3967
|
-
payto: nil,
|
3968
3386
|
sepa_debit: nil,
|
3969
3387
|
us_bank_account: nil
|
3970
3388
|
)
|
@@ -3975,7 +3393,6 @@ module Stripe
|
|
3975
3393
|
@card_present = card_present
|
3976
3394
|
@link = link
|
3977
3395
|
@paypal = paypal
|
3978
|
-
@payto = payto
|
3979
3396
|
@sepa_debit = sepa_debit
|
3980
3397
|
@us_bank_account = us_bank_account
|
3981
3398
|
end
|
@@ -4057,10 +3474,6 @@ module Stripe
|
|
4057
3474
|
#
|
4058
3475
|
# 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.
|
4059
3476
|
attr_reader :customer
|
4060
|
-
# ID of the Account this SetupIntent belongs to, if one exists.
|
4061
|
-
#
|
4062
|
-
# 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.
|
4063
|
-
attr_reader :customer_account
|
4064
3477
|
# An arbitrary string attached to the object. Often useful for displaying to users.
|
4065
3478
|
attr_reader :description
|
4066
3479
|
# Indicates the directions of money movement for which this payment method is intended to be used.
|