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