stripe 15.4.0.pre.beta.2 → 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 -1602
- data/OPENAPI_VERSION +1 -1
- data/README.md +1 -1
- data/VERSION +1 -1
- data/lib/stripe/api_requestor.rb +0 -32
- data/lib/stripe/api_version.rb +2 -1
- data/lib/stripe/errors.rb +0 -60
- data/lib/stripe/event_types.rb +0 -102
- 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 -106
- 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 -164
- 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_configuration_storer_capability_status_updated_event.rb +0 -23
- data/lib/stripe/events/v2_core_account_including_configuration_storer_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 -1919
- 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 -77
- 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 -4486
- 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 -116
- 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 -194513
@@ -29,8 +29,6 @@ module Stripe
|
|
29
29
|
attr_accessor :created
|
30
30
|
# Only return SetupIntents for the customer specified by this customer ID.
|
31
31
|
attr_accessor :customer
|
32
|
-
# Only return SetupIntents for the account specified by this customer ID.
|
33
|
-
attr_accessor :customer_account
|
34
32
|
# A cursor for use in pagination. `ending_before` is an object ID that defines your place in the list. For instance, if you make a list request and receive 100 objects, starting with `obj_bar`, your subsequent call can include `ending_before=obj_bar` in order to fetch the previous page of the list.
|
35
33
|
attr_accessor :ending_before
|
36
34
|
# Specifies which fields in the response should be expanded.
|
@@ -46,7 +44,6 @@ module Stripe
|
|
46
44
|
attach_to_self: nil,
|
47
45
|
created: nil,
|
48
46
|
customer: nil,
|
49
|
-
customer_account: nil,
|
50
47
|
ending_before: nil,
|
51
48
|
expand: nil,
|
52
49
|
limit: nil,
|
@@ -56,7 +53,6 @@ module Stripe
|
|
56
53
|
@attach_to_self = attach_to_self
|
57
54
|
@created = created
|
58
55
|
@customer = customer
|
59
|
-
@customer_account = customer_account
|
60
56
|
@ending_before = ending_before
|
61
57
|
@expand = expand
|
62
58
|
@limit = limit
|
@@ -256,18 +252,8 @@ module Stripe
|
|
256
252
|
end
|
257
253
|
|
258
254
|
class Giropay < Stripe::RequestParams; end
|
259
|
-
class Gopay < Stripe::RequestParams; end
|
260
255
|
class Grabpay < Stripe::RequestParams; end
|
261
256
|
|
262
|
-
class IdBankTransfer < Stripe::RequestParams
|
263
|
-
# Bank where the account is held.
|
264
|
-
attr_accessor :bank
|
265
|
-
|
266
|
-
def initialize(bank: nil)
|
267
|
-
@bank = bank
|
268
|
-
end
|
269
|
-
end
|
270
|
-
|
271
257
|
class Ideal < Stripe::RequestParams
|
272
258
|
# The customer's bank. Only use this parameter for existing customers. Don't use it for new customers.
|
273
259
|
attr_accessor :bank
|
@@ -306,7 +292,6 @@ module Stripe
|
|
306
292
|
class Konbini < Stripe::RequestParams; end
|
307
293
|
class KrCard < Stripe::RequestParams; end
|
308
294
|
class Link < Stripe::RequestParams; end
|
309
|
-
class MbWay < Stripe::RequestParams; end
|
310
295
|
class Mobilepay < Stripe::RequestParams; end
|
311
296
|
class Multibanco < Stripe::RequestParams; end
|
312
297
|
|
@@ -365,25 +350,8 @@ module Stripe
|
|
365
350
|
class Payco < Stripe::RequestParams; end
|
366
351
|
class Paynow < Stripe::RequestParams; end
|
367
352
|
class Paypal < Stripe::RequestParams; end
|
368
|
-
|
369
|
-
class Payto < Stripe::RequestParams
|
370
|
-
# The account number for the bank account.
|
371
|
-
attr_accessor :account_number
|
372
|
-
# Bank-State-Branch number of the bank account.
|
373
|
-
attr_accessor :bsb_number
|
374
|
-
# The PayID alias for the bank account.
|
375
|
-
attr_accessor :pay_id
|
376
|
-
|
377
|
-
def initialize(account_number: nil, bsb_number: nil, pay_id: nil)
|
378
|
-
@account_number = account_number
|
379
|
-
@bsb_number = bsb_number
|
380
|
-
@pay_id = pay_id
|
381
|
-
end
|
382
|
-
end
|
383
|
-
|
384
353
|
class Pix < Stripe::RequestParams; end
|
385
354
|
class Promptpay < Stripe::RequestParams; end
|
386
|
-
class Qris < Stripe::RequestParams; end
|
387
355
|
|
388
356
|
class RadarOptions < Stripe::RequestParams
|
389
357
|
# 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.
|
@@ -394,29 +362,6 @@ module Stripe
|
|
394
362
|
end
|
395
363
|
end
|
396
364
|
|
397
|
-
class Rechnung < Stripe::RequestParams
|
398
|
-
class Dob < Stripe::RequestParams
|
399
|
-
# The day of birth, between 1 and 31.
|
400
|
-
attr_accessor :day
|
401
|
-
# The month of birth, between 1 and 12.
|
402
|
-
attr_accessor :month
|
403
|
-
# The four-digit year of birth.
|
404
|
-
attr_accessor :year
|
405
|
-
|
406
|
-
def initialize(day: nil, month: nil, year: nil)
|
407
|
-
@day = day
|
408
|
-
@month = month
|
409
|
-
@year = year
|
410
|
-
end
|
411
|
-
end
|
412
|
-
# Customer's date of birth
|
413
|
-
attr_accessor :dob
|
414
|
-
|
415
|
-
def initialize(dob: nil)
|
416
|
-
@dob = dob
|
417
|
-
end
|
418
|
-
end
|
419
|
-
|
420
365
|
class RevolutPay < Stripe::RequestParams; end
|
421
366
|
class SamsungPay < Stripe::RequestParams; end
|
422
367
|
class Satispay < Stripe::RequestParams; end
|
@@ -430,8 +375,6 @@ module Stripe
|
|
430
375
|
end
|
431
376
|
end
|
432
377
|
|
433
|
-
class Shopeepay < Stripe::RequestParams; end
|
434
|
-
|
435
378
|
class Sofort < Stripe::RequestParams
|
436
379
|
# Two-letter ISO code representing the country the bank account is located in.
|
437
380
|
attr_accessor :country
|
@@ -441,18 +384,6 @@ module Stripe
|
|
441
384
|
end
|
442
385
|
end
|
443
386
|
|
444
|
-
class StripeBalance < Stripe::RequestParams
|
445
|
-
# The connected account ID whose Stripe balance to use as the source of payment
|
446
|
-
attr_accessor :account
|
447
|
-
# The [source_type](https://docs.stripe.com/api/balance/balance_object#balance_object-available-source_types) of the balance
|
448
|
-
attr_accessor :source_type
|
449
|
-
|
450
|
-
def initialize(account: nil, source_type: nil)
|
451
|
-
@account = account
|
452
|
-
@source_type = source_type
|
453
|
-
end
|
454
|
-
end
|
455
|
-
|
456
387
|
class Swish < Stripe::RequestParams; end
|
457
388
|
class Twint < Stripe::RequestParams; end
|
458
389
|
|
@@ -525,12 +456,8 @@ module Stripe
|
|
525
456
|
attr_accessor :fpx
|
526
457
|
# If this is a `giropay` PaymentMethod, this hash contains details about the Giropay payment method.
|
527
458
|
attr_accessor :giropay
|
528
|
-
# If this is a Gopay PaymentMethod, this hash contains details about the Gopay payment method.
|
529
|
-
attr_accessor :gopay
|
530
459
|
# If this is a `grabpay` PaymentMethod, this hash contains details about the GrabPay payment method.
|
531
460
|
attr_accessor :grabpay
|
532
|
-
# If this is an `IdBankTransfer` PaymentMethod, this hash contains details about the IdBankTransfer payment method.
|
533
|
-
attr_accessor :id_bank_transfer
|
534
461
|
# If this is an `ideal` PaymentMethod, this hash contains details about the iDEAL payment method.
|
535
462
|
attr_accessor :ideal
|
536
463
|
# If this is an `interac_present` PaymentMethod, this hash contains details about the Interac Present payment method.
|
@@ -545,8 +472,6 @@ module Stripe
|
|
545
472
|
attr_accessor :kr_card
|
546
473
|
# If this is an `Link` PaymentMethod, this hash contains details about the Link payment method.
|
547
474
|
attr_accessor :link
|
548
|
-
# If this is a MB WAY PaymentMethod, this hash contains details about the MB WAY payment method.
|
549
|
-
attr_accessor :mb_way
|
550
475
|
# 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`.
|
551
476
|
attr_accessor :metadata
|
552
477
|
# If this is a `mobilepay` PaymentMethod, this hash contains details about the MobilePay payment method.
|
@@ -569,18 +494,12 @@ module Stripe
|
|
569
494
|
attr_accessor :paynow
|
570
495
|
# If this is a `paypal` PaymentMethod, this hash contains details about the PayPal payment method.
|
571
496
|
attr_accessor :paypal
|
572
|
-
# If this is a `payto` PaymentMethod, this hash contains details about the PayTo payment method.
|
573
|
-
attr_accessor :payto
|
574
497
|
# If this is a `pix` PaymentMethod, this hash contains details about the Pix payment method.
|
575
498
|
attr_accessor :pix
|
576
499
|
# If this is a `promptpay` PaymentMethod, this hash contains details about the PromptPay payment method.
|
577
500
|
attr_accessor :promptpay
|
578
|
-
# If this is a `qris` PaymentMethod, this hash contains details about the QRIS payment method.
|
579
|
-
attr_accessor :qris
|
580
501
|
# Options to configure Radar. See [Radar Session](https://stripe.com/docs/radar/radar-session) for more information.
|
581
502
|
attr_accessor :radar_options
|
582
|
-
# If this is a `rechnung` PaymentMethod, this hash contains details about the Rechnung payment method.
|
583
|
-
attr_accessor :rechnung
|
584
503
|
# If this is a `revolut_pay` PaymentMethod, this hash contains details about the Revolut Pay payment method.
|
585
504
|
attr_accessor :revolut_pay
|
586
505
|
# If this is a `samsung_pay` PaymentMethod, this hash contains details about the SamsungPay payment method.
|
@@ -589,12 +508,8 @@ module Stripe
|
|
589
508
|
attr_accessor :satispay
|
590
509
|
# If this is a `sepa_debit` PaymentMethod, this hash contains details about the SEPA debit bank account.
|
591
510
|
attr_accessor :sepa_debit
|
592
|
-
# If this is a Shopeepay PaymentMethod, this hash contains details about the Shopeepay payment method.
|
593
|
-
attr_accessor :shopeepay
|
594
511
|
# If this is a `sofort` PaymentMethod, this hash contains details about the SOFORT payment method.
|
595
512
|
attr_accessor :sofort
|
596
|
-
# This hash contains details about the Stripe balance payment method.
|
597
|
-
attr_accessor :stripe_balance
|
598
513
|
# If this is a `swish` PaymentMethod, this hash contains details about the Swish payment method.
|
599
514
|
attr_accessor :swish
|
600
515
|
# If this is a TWINT PaymentMethod, this hash contains details about the TWINT payment method.
|
@@ -629,9 +544,7 @@ module Stripe
|
|
629
544
|
eps: nil,
|
630
545
|
fpx: nil,
|
631
546
|
giropay: nil,
|
632
|
-
gopay: nil,
|
633
547
|
grabpay: nil,
|
634
|
-
id_bank_transfer: nil,
|
635
548
|
ideal: nil,
|
636
549
|
interac_present: nil,
|
637
550
|
kakao_pay: nil,
|
@@ -639,7 +552,6 @@ module Stripe
|
|
639
552
|
konbini: nil,
|
640
553
|
kr_card: nil,
|
641
554
|
link: nil,
|
642
|
-
mb_way: nil,
|
643
555
|
metadata: nil,
|
644
556
|
mobilepay: nil,
|
645
557
|
multibanco: nil,
|
@@ -651,19 +563,14 @@ module Stripe
|
|
651
563
|
payco: nil,
|
652
564
|
paynow: nil,
|
653
565
|
paypal: nil,
|
654
|
-
payto: nil,
|
655
566
|
pix: nil,
|
656
567
|
promptpay: nil,
|
657
|
-
qris: nil,
|
658
568
|
radar_options: nil,
|
659
|
-
rechnung: nil,
|
660
569
|
revolut_pay: nil,
|
661
570
|
samsung_pay: nil,
|
662
571
|
satispay: nil,
|
663
572
|
sepa_debit: nil,
|
664
|
-
shopeepay: nil,
|
665
573
|
sofort: nil,
|
666
|
-
stripe_balance: nil,
|
667
574
|
swish: nil,
|
668
575
|
twint: nil,
|
669
576
|
type: nil,
|
@@ -691,9 +598,7 @@ module Stripe
|
|
691
598
|
@eps = eps
|
692
599
|
@fpx = fpx
|
693
600
|
@giropay = giropay
|
694
|
-
@gopay = gopay
|
695
601
|
@grabpay = grabpay
|
696
|
-
@id_bank_transfer = id_bank_transfer
|
697
602
|
@ideal = ideal
|
698
603
|
@interac_present = interac_present
|
699
604
|
@kakao_pay = kakao_pay
|
@@ -701,7 +606,6 @@ module Stripe
|
|
701
606
|
@konbini = konbini
|
702
607
|
@kr_card = kr_card
|
703
608
|
@link = link
|
704
|
-
@mb_way = mb_way
|
705
609
|
@metadata = metadata
|
706
610
|
@mobilepay = mobilepay
|
707
611
|
@multibanco = multibanco
|
@@ -713,19 +617,14 @@ module Stripe
|
|
713
617
|
@payco = payco
|
714
618
|
@paynow = paynow
|
715
619
|
@paypal = paypal
|
716
|
-
@payto = payto
|
717
620
|
@pix = pix
|
718
621
|
@promptpay = promptpay
|
719
|
-
@qris = qris
|
720
622
|
@radar_options = radar_options
|
721
|
-
@rechnung = rechnung
|
722
623
|
@revolut_pay = revolut_pay
|
723
624
|
@samsung_pay = samsung_pay
|
724
625
|
@satispay = satispay
|
725
626
|
@sepa_debit = sepa_debit
|
726
|
-
@shopeepay = shopeepay
|
727
627
|
@sofort = sofort
|
728
|
-
@stripe_balance = stripe_balance
|
729
628
|
@swish = swish
|
730
629
|
@twint = twint
|
731
630
|
@type = type
|
@@ -1041,58 +940,9 @@ module Stripe
|
|
1041
940
|
class Paypal < Stripe::RequestParams
|
1042
941
|
# The PayPal Billing Agreement ID (BAID). This is an ID generated by PayPal which represents the mandate between the merchant and the customer.
|
1043
942
|
attr_accessor :billing_agreement_id
|
1044
|
-
# Attribute for param field currency
|
1045
|
-
attr_accessor :currency
|
1046
|
-
# 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.
|
1047
|
-
attr_accessor :subsellers
|
1048
943
|
|
1049
|
-
def initialize(billing_agreement_id: nil
|
944
|
+
def initialize(billing_agreement_id: nil)
|
1050
945
|
@billing_agreement_id = billing_agreement_id
|
1051
|
-
@currency = currency
|
1052
|
-
@subsellers = subsellers
|
1053
|
-
end
|
1054
|
-
end
|
1055
|
-
|
1056
|
-
class Payto < Stripe::RequestParams
|
1057
|
-
class MandateOptions < Stripe::RequestParams
|
1058
|
-
# Amount that will be collected. It is required when `amount_type` is `fixed`.
|
1059
|
-
attr_accessor :amount
|
1060
|
-
# 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.
|
1061
|
-
attr_accessor :amount_type
|
1062
|
-
# Date, in YYYY-MM-DD format, after which payments will not be collected. Defaults to no end date.
|
1063
|
-
attr_accessor :end_date
|
1064
|
-
# The periodicity at which payments will be collected.
|
1065
|
-
attr_accessor :payment_schedule
|
1066
|
-
# 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.
|
1067
|
-
attr_accessor :payments_per_period
|
1068
|
-
# The purpose for which payments are made. Defaults to retail.
|
1069
|
-
attr_accessor :purpose
|
1070
|
-
# Date, in YYYY-MM-DD format, from which payments will be collected. Defaults to confirmation time.
|
1071
|
-
attr_accessor :start_date
|
1072
|
-
|
1073
|
-
def initialize(
|
1074
|
-
amount: nil,
|
1075
|
-
amount_type: nil,
|
1076
|
-
end_date: nil,
|
1077
|
-
payment_schedule: nil,
|
1078
|
-
payments_per_period: nil,
|
1079
|
-
purpose: nil,
|
1080
|
-
start_date: nil
|
1081
|
-
)
|
1082
|
-
@amount = amount
|
1083
|
-
@amount_type = amount_type
|
1084
|
-
@end_date = end_date
|
1085
|
-
@payment_schedule = payment_schedule
|
1086
|
-
@payments_per_period = payments_per_period
|
1087
|
-
@purpose = purpose
|
1088
|
-
@start_date = start_date
|
1089
|
-
end
|
1090
|
-
end
|
1091
|
-
# Additional fields for Mandate creation.
|
1092
|
-
attr_accessor :mandate_options
|
1093
|
-
|
1094
|
-
def initialize(mandate_options: nil)
|
1095
|
-
@mandate_options = mandate_options
|
1096
946
|
end
|
1097
947
|
end
|
1098
948
|
|
@@ -1118,27 +968,13 @@ module Stripe
|
|
1118
968
|
class Filters < Stripe::RequestParams
|
1119
969
|
# The account subcategories to use to filter for selectable accounts. Valid subcategories are `checking` and `savings`.
|
1120
970
|
attr_accessor :account_subcategories
|
1121
|
-
# ID of the institution to use to filter for selectable accounts.
|
1122
|
-
attr_accessor :institution
|
1123
971
|
|
1124
|
-
def initialize(account_subcategories: nil
|
972
|
+
def initialize(account_subcategories: nil)
|
1125
973
|
@account_subcategories = account_subcategories
|
1126
|
-
@institution = institution
|
1127
|
-
end
|
1128
|
-
end
|
1129
|
-
|
1130
|
-
class ManualEntry < Stripe::RequestParams
|
1131
|
-
# Settings for configuring manual entry of account details.
|
1132
|
-
attr_accessor :mode
|
1133
|
-
|
1134
|
-
def initialize(mode: nil)
|
1135
|
-
@mode = mode
|
1136
974
|
end
|
1137
975
|
end
|
1138
976
|
# Provide filters for the linked accounts that the customer can select for the payment method.
|
1139
977
|
attr_accessor :filters
|
1140
|
-
# Customize manual entry behavior
|
1141
|
-
attr_accessor :manual_entry
|
1142
978
|
# 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`.
|
1143
979
|
attr_accessor :permissions
|
1144
980
|
# List of data features that you would like to retrieve upon account creation.
|
@@ -1146,15 +982,8 @@ module Stripe
|
|
1146
982
|
# 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.
|
1147
983
|
attr_accessor :return_url
|
1148
984
|
|
1149
|
-
def initialize(
|
1150
|
-
filters: nil,
|
1151
|
-
manual_entry: nil,
|
1152
|
-
permissions: nil,
|
1153
|
-
prefetch: nil,
|
1154
|
-
return_url: nil
|
1155
|
-
)
|
985
|
+
def initialize(filters: nil, permissions: nil, prefetch: nil, return_url: nil)
|
1156
986
|
@filters = filters
|
1157
|
-
@manual_entry = manual_entry
|
1158
987
|
@permissions = permissions
|
1159
988
|
@prefetch = prefetch
|
1160
989
|
@return_url = return_url
|
@@ -1215,8 +1044,6 @@ module Stripe
|
|
1215
1044
|
attr_accessor :link
|
1216
1045
|
# If this is a `paypal` PaymentMethod, this sub-hash contains details about the PayPal payment method options.
|
1217
1046
|
attr_accessor :paypal
|
1218
|
-
# If this is a `payto` SetupIntent, this sub-hash contains details about the PayTo payment method options.
|
1219
|
-
attr_accessor :payto
|
1220
1047
|
# If this is a `sepa_debit` SetupIntent, this sub-hash contains details about the SEPA Debit payment method options.
|
1221
1048
|
attr_accessor :sepa_debit
|
1222
1049
|
# If this is a `us_bank_account` SetupIntent, this sub-hash contains details about the US bank account payment method options.
|
@@ -1231,7 +1058,6 @@ module Stripe
|
|
1231
1058
|
klarna: nil,
|
1232
1059
|
link: nil,
|
1233
1060
|
paypal: nil,
|
1234
|
-
payto: nil,
|
1235
1061
|
sepa_debit: nil,
|
1236
1062
|
us_bank_account: nil
|
1237
1063
|
)
|
@@ -1243,7 +1069,6 @@ module Stripe
|
|
1243
1069
|
@klarna = klarna
|
1244
1070
|
@link = link
|
1245
1071
|
@paypal = paypal
|
1246
|
-
@payto = payto
|
1247
1072
|
@sepa_debit = sepa_debit
|
1248
1073
|
@us_bank_account = us_bank_account
|
1249
1074
|
end
|
@@ -1276,10 +1101,6 @@ module Stripe
|
|
1276
1101
|
#
|
1277
1102
|
# 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.
|
1278
1103
|
attr_accessor :customer
|
1279
|
-
# ID of the Account this SetupIntent belongs to, if one exists.
|
1280
|
-
#
|
1281
|
-
# 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.
|
1282
|
-
attr_accessor :customer_account
|
1283
1104
|
# An arbitrary string attached to the object. Often useful for displaying to users.
|
1284
1105
|
attr_accessor :description
|
1285
1106
|
# Specifies which fields in the response should be expanded.
|
@@ -1322,7 +1143,6 @@ module Stripe
|
|
1322
1143
|
confirm: nil,
|
1323
1144
|
confirmation_token: nil,
|
1324
1145
|
customer: nil,
|
1325
|
-
customer_account: nil,
|
1326
1146
|
description: nil,
|
1327
1147
|
expand: nil,
|
1328
1148
|
flow_directions: nil,
|
@@ -1344,7 +1164,6 @@ module Stripe
|
|
1344
1164
|
@confirm = confirm
|
1345
1165
|
@confirmation_token = confirmation_token
|
1346
1166
|
@customer = customer
|
1347
|
-
@customer_account = customer_account
|
1348
1167
|
@description = description
|
1349
1168
|
@expand = expand
|
1350
1169
|
@flow_directions = flow_directions
|
@@ -1513,18 +1332,8 @@ module Stripe
|
|
1513
1332
|
end
|
1514
1333
|
|
1515
1334
|
class Giropay < Stripe::RequestParams; end
|
1516
|
-
class Gopay < Stripe::RequestParams; end
|
1517
1335
|
class Grabpay < Stripe::RequestParams; end
|
1518
1336
|
|
1519
|
-
class IdBankTransfer < Stripe::RequestParams
|
1520
|
-
# Bank where the account is held.
|
1521
|
-
attr_accessor :bank
|
1522
|
-
|
1523
|
-
def initialize(bank: nil)
|
1524
|
-
@bank = bank
|
1525
|
-
end
|
1526
|
-
end
|
1527
|
-
|
1528
1337
|
class Ideal < Stripe::RequestParams
|
1529
1338
|
# The customer's bank. Only use this parameter for existing customers. Don't use it for new customers.
|
1530
1339
|
attr_accessor :bank
|
@@ -1563,7 +1372,6 @@ module Stripe
|
|
1563
1372
|
class Konbini < Stripe::RequestParams; end
|
1564
1373
|
class KrCard < Stripe::RequestParams; end
|
1565
1374
|
class Link < Stripe::RequestParams; end
|
1566
|
-
class MbWay < Stripe::RequestParams; end
|
1567
1375
|
class Mobilepay < Stripe::RequestParams; end
|
1568
1376
|
class Multibanco < Stripe::RequestParams; end
|
1569
1377
|
|
@@ -1622,25 +1430,8 @@ module Stripe
|
|
1622
1430
|
class Payco < Stripe::RequestParams; end
|
1623
1431
|
class Paynow < Stripe::RequestParams; end
|
1624
1432
|
class Paypal < Stripe::RequestParams; end
|
1625
|
-
|
1626
|
-
class Payto < Stripe::RequestParams
|
1627
|
-
# The account number for the bank account.
|
1628
|
-
attr_accessor :account_number
|
1629
|
-
# Bank-State-Branch number of the bank account.
|
1630
|
-
attr_accessor :bsb_number
|
1631
|
-
# The PayID alias for the bank account.
|
1632
|
-
attr_accessor :pay_id
|
1633
|
-
|
1634
|
-
def initialize(account_number: nil, bsb_number: nil, pay_id: nil)
|
1635
|
-
@account_number = account_number
|
1636
|
-
@bsb_number = bsb_number
|
1637
|
-
@pay_id = pay_id
|
1638
|
-
end
|
1639
|
-
end
|
1640
|
-
|
1641
1433
|
class Pix < Stripe::RequestParams; end
|
1642
1434
|
class Promptpay < Stripe::RequestParams; end
|
1643
|
-
class Qris < Stripe::RequestParams; end
|
1644
1435
|
|
1645
1436
|
class RadarOptions < Stripe::RequestParams
|
1646
1437
|
# 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.
|
@@ -1651,29 +1442,6 @@ module Stripe
|
|
1651
1442
|
end
|
1652
1443
|
end
|
1653
1444
|
|
1654
|
-
class Rechnung < Stripe::RequestParams
|
1655
|
-
class Dob < Stripe::RequestParams
|
1656
|
-
# The day of birth, between 1 and 31.
|
1657
|
-
attr_accessor :day
|
1658
|
-
# The month of birth, between 1 and 12.
|
1659
|
-
attr_accessor :month
|
1660
|
-
# The four-digit year of birth.
|
1661
|
-
attr_accessor :year
|
1662
|
-
|
1663
|
-
def initialize(day: nil, month: nil, year: nil)
|
1664
|
-
@day = day
|
1665
|
-
@month = month
|
1666
|
-
@year = year
|
1667
|
-
end
|
1668
|
-
end
|
1669
|
-
# Customer's date of birth
|
1670
|
-
attr_accessor :dob
|
1671
|
-
|
1672
|
-
def initialize(dob: nil)
|
1673
|
-
@dob = dob
|
1674
|
-
end
|
1675
|
-
end
|
1676
|
-
|
1677
1445
|
class RevolutPay < Stripe::RequestParams; end
|
1678
1446
|
class SamsungPay < Stripe::RequestParams; end
|
1679
1447
|
class Satispay < Stripe::RequestParams; end
|
@@ -1687,8 +1455,6 @@ module Stripe
|
|
1687
1455
|
end
|
1688
1456
|
end
|
1689
1457
|
|
1690
|
-
class Shopeepay < Stripe::RequestParams; end
|
1691
|
-
|
1692
1458
|
class Sofort < Stripe::RequestParams
|
1693
1459
|
# Two-letter ISO code representing the country the bank account is located in.
|
1694
1460
|
attr_accessor :country
|
@@ -1698,18 +1464,6 @@ module Stripe
|
|
1698
1464
|
end
|
1699
1465
|
end
|
1700
1466
|
|
1701
|
-
class StripeBalance < Stripe::RequestParams
|
1702
|
-
# The connected account ID whose Stripe balance to use as the source of payment
|
1703
|
-
attr_accessor :account
|
1704
|
-
# The [source_type](https://docs.stripe.com/api/balance/balance_object#balance_object-available-source_types) of the balance
|
1705
|
-
attr_accessor :source_type
|
1706
|
-
|
1707
|
-
def initialize(account: nil, source_type: nil)
|
1708
|
-
@account = account
|
1709
|
-
@source_type = source_type
|
1710
|
-
end
|
1711
|
-
end
|
1712
|
-
|
1713
1467
|
class Swish < Stripe::RequestParams; end
|
1714
1468
|
class Twint < Stripe::RequestParams; end
|
1715
1469
|
|
@@ -1782,12 +1536,8 @@ module Stripe
|
|
1782
1536
|
attr_accessor :fpx
|
1783
1537
|
# If this is a `giropay` PaymentMethod, this hash contains details about the Giropay payment method.
|
1784
1538
|
attr_accessor :giropay
|
1785
|
-
# If this is a Gopay PaymentMethod, this hash contains details about the Gopay payment method.
|
1786
|
-
attr_accessor :gopay
|
1787
1539
|
# If this is a `grabpay` PaymentMethod, this hash contains details about the GrabPay payment method.
|
1788
1540
|
attr_accessor :grabpay
|
1789
|
-
# If this is an `IdBankTransfer` PaymentMethod, this hash contains details about the IdBankTransfer payment method.
|
1790
|
-
attr_accessor :id_bank_transfer
|
1791
1541
|
# If this is an `ideal` PaymentMethod, this hash contains details about the iDEAL payment method.
|
1792
1542
|
attr_accessor :ideal
|
1793
1543
|
# If this is an `interac_present` PaymentMethod, this hash contains details about the Interac Present payment method.
|
@@ -1802,8 +1552,6 @@ module Stripe
|
|
1802
1552
|
attr_accessor :kr_card
|
1803
1553
|
# If this is an `Link` PaymentMethod, this hash contains details about the Link payment method.
|
1804
1554
|
attr_accessor :link
|
1805
|
-
# If this is a MB WAY PaymentMethod, this hash contains details about the MB WAY payment method.
|
1806
|
-
attr_accessor :mb_way
|
1807
1555
|
# 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`.
|
1808
1556
|
attr_accessor :metadata
|
1809
1557
|
# If this is a `mobilepay` PaymentMethod, this hash contains details about the MobilePay payment method.
|
@@ -1826,18 +1574,12 @@ module Stripe
|
|
1826
1574
|
attr_accessor :paynow
|
1827
1575
|
# If this is a `paypal` PaymentMethod, this hash contains details about the PayPal payment method.
|
1828
1576
|
attr_accessor :paypal
|
1829
|
-
# If this is a `payto` PaymentMethod, this hash contains details about the PayTo payment method.
|
1830
|
-
attr_accessor :payto
|
1831
1577
|
# If this is a `pix` PaymentMethod, this hash contains details about the Pix payment method.
|
1832
1578
|
attr_accessor :pix
|
1833
1579
|
# If this is a `promptpay` PaymentMethod, this hash contains details about the PromptPay payment method.
|
1834
1580
|
attr_accessor :promptpay
|
1835
|
-
# If this is a `qris` PaymentMethod, this hash contains details about the QRIS payment method.
|
1836
|
-
attr_accessor :qris
|
1837
1581
|
# Options to configure Radar. See [Radar Session](https://stripe.com/docs/radar/radar-session) for more information.
|
1838
1582
|
attr_accessor :radar_options
|
1839
|
-
# If this is a `rechnung` PaymentMethod, this hash contains details about the Rechnung payment method.
|
1840
|
-
attr_accessor :rechnung
|
1841
1583
|
# If this is a `revolut_pay` PaymentMethod, this hash contains details about the Revolut Pay payment method.
|
1842
1584
|
attr_accessor :revolut_pay
|
1843
1585
|
# If this is a `samsung_pay` PaymentMethod, this hash contains details about the SamsungPay payment method.
|
@@ -1846,12 +1588,8 @@ module Stripe
|
|
1846
1588
|
attr_accessor :satispay
|
1847
1589
|
# If this is a `sepa_debit` PaymentMethod, this hash contains details about the SEPA debit bank account.
|
1848
1590
|
attr_accessor :sepa_debit
|
1849
|
-
# If this is a Shopeepay PaymentMethod, this hash contains details about the Shopeepay payment method.
|
1850
|
-
attr_accessor :shopeepay
|
1851
1591
|
# If this is a `sofort` PaymentMethod, this hash contains details about the SOFORT payment method.
|
1852
1592
|
attr_accessor :sofort
|
1853
|
-
# This hash contains details about the Stripe balance payment method.
|
1854
|
-
attr_accessor :stripe_balance
|
1855
1593
|
# If this is a `swish` PaymentMethod, this hash contains details about the Swish payment method.
|
1856
1594
|
attr_accessor :swish
|
1857
1595
|
# If this is a TWINT PaymentMethod, this hash contains details about the TWINT payment method.
|
@@ -1886,9 +1624,7 @@ module Stripe
|
|
1886
1624
|
eps: nil,
|
1887
1625
|
fpx: nil,
|
1888
1626
|
giropay: nil,
|
1889
|
-
gopay: nil,
|
1890
1627
|
grabpay: nil,
|
1891
|
-
id_bank_transfer: nil,
|
1892
1628
|
ideal: nil,
|
1893
1629
|
interac_present: nil,
|
1894
1630
|
kakao_pay: nil,
|
@@ -1896,7 +1632,6 @@ module Stripe
|
|
1896
1632
|
konbini: nil,
|
1897
1633
|
kr_card: nil,
|
1898
1634
|
link: nil,
|
1899
|
-
mb_way: nil,
|
1900
1635
|
metadata: nil,
|
1901
1636
|
mobilepay: nil,
|
1902
1637
|
multibanco: nil,
|
@@ -1908,19 +1643,14 @@ module Stripe
|
|
1908
1643
|
payco: nil,
|
1909
1644
|
paynow: nil,
|
1910
1645
|
paypal: nil,
|
1911
|
-
payto: nil,
|
1912
1646
|
pix: nil,
|
1913
1647
|
promptpay: nil,
|
1914
|
-
qris: nil,
|
1915
1648
|
radar_options: nil,
|
1916
|
-
rechnung: nil,
|
1917
1649
|
revolut_pay: nil,
|
1918
1650
|
samsung_pay: nil,
|
1919
1651
|
satispay: nil,
|
1920
1652
|
sepa_debit: nil,
|
1921
|
-
shopeepay: nil,
|
1922
1653
|
sofort: nil,
|
1923
|
-
stripe_balance: nil,
|
1924
1654
|
swish: nil,
|
1925
1655
|
twint: nil,
|
1926
1656
|
type: nil,
|
@@ -1948,9 +1678,7 @@ module Stripe
|
|
1948
1678
|
@eps = eps
|
1949
1679
|
@fpx = fpx
|
1950
1680
|
@giropay = giropay
|
1951
|
-
@gopay = gopay
|
1952
1681
|
@grabpay = grabpay
|
1953
|
-
@id_bank_transfer = id_bank_transfer
|
1954
1682
|
@ideal = ideal
|
1955
1683
|
@interac_present = interac_present
|
1956
1684
|
@kakao_pay = kakao_pay
|
@@ -1958,7 +1686,6 @@ module Stripe
|
|
1958
1686
|
@konbini = konbini
|
1959
1687
|
@kr_card = kr_card
|
1960
1688
|
@link = link
|
1961
|
-
@mb_way = mb_way
|
1962
1689
|
@metadata = metadata
|
1963
1690
|
@mobilepay = mobilepay
|
1964
1691
|
@multibanco = multibanco
|
@@ -1970,19 +1697,14 @@ module Stripe
|
|
1970
1697
|
@payco = payco
|
1971
1698
|
@paynow = paynow
|
1972
1699
|
@paypal = paypal
|
1973
|
-
@payto = payto
|
1974
1700
|
@pix = pix
|
1975
1701
|
@promptpay = promptpay
|
1976
|
-
@qris = qris
|
1977
1702
|
@radar_options = radar_options
|
1978
|
-
@rechnung = rechnung
|
1979
1703
|
@revolut_pay = revolut_pay
|
1980
1704
|
@samsung_pay = samsung_pay
|
1981
1705
|
@satispay = satispay
|
1982
1706
|
@sepa_debit = sepa_debit
|
1983
|
-
@shopeepay = shopeepay
|
1984
1707
|
@sofort = sofort
|
1985
|
-
@stripe_balance = stripe_balance
|
1986
1708
|
@swish = swish
|
1987
1709
|
@twint = twint
|
1988
1710
|
@type = type
|
@@ -2298,58 +2020,9 @@ module Stripe
|
|
2298
2020
|
class Paypal < Stripe::RequestParams
|
2299
2021
|
# The PayPal Billing Agreement ID (BAID). This is an ID generated by PayPal which represents the mandate between the merchant and the customer.
|
2300
2022
|
attr_accessor :billing_agreement_id
|
2301
|
-
# Attribute for param field currency
|
2302
|
-
attr_accessor :currency
|
2303
|
-
# 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.
|
2304
|
-
attr_accessor :subsellers
|
2305
2023
|
|
2306
|
-
def initialize(billing_agreement_id: nil
|
2024
|
+
def initialize(billing_agreement_id: nil)
|
2307
2025
|
@billing_agreement_id = billing_agreement_id
|
2308
|
-
@currency = currency
|
2309
|
-
@subsellers = subsellers
|
2310
|
-
end
|
2311
|
-
end
|
2312
|
-
|
2313
|
-
class Payto < Stripe::RequestParams
|
2314
|
-
class MandateOptions < Stripe::RequestParams
|
2315
|
-
# Amount that will be collected. It is required when `amount_type` is `fixed`.
|
2316
|
-
attr_accessor :amount
|
2317
|
-
# 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.
|
2318
|
-
attr_accessor :amount_type
|
2319
|
-
# Date, in YYYY-MM-DD format, after which payments will not be collected. Defaults to no end date.
|
2320
|
-
attr_accessor :end_date
|
2321
|
-
# The periodicity at which payments will be collected.
|
2322
|
-
attr_accessor :payment_schedule
|
2323
|
-
# 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.
|
2324
|
-
attr_accessor :payments_per_period
|
2325
|
-
# The purpose for which payments are made. Defaults to retail.
|
2326
|
-
attr_accessor :purpose
|
2327
|
-
# Date, in YYYY-MM-DD format, from which payments will be collected. Defaults to confirmation time.
|
2328
|
-
attr_accessor :start_date
|
2329
|
-
|
2330
|
-
def initialize(
|
2331
|
-
amount: nil,
|
2332
|
-
amount_type: nil,
|
2333
|
-
end_date: nil,
|
2334
|
-
payment_schedule: nil,
|
2335
|
-
payments_per_period: nil,
|
2336
|
-
purpose: nil,
|
2337
|
-
start_date: nil
|
2338
|
-
)
|
2339
|
-
@amount = amount
|
2340
|
-
@amount_type = amount_type
|
2341
|
-
@end_date = end_date
|
2342
|
-
@payment_schedule = payment_schedule
|
2343
|
-
@payments_per_period = payments_per_period
|
2344
|
-
@purpose = purpose
|
2345
|
-
@start_date = start_date
|
2346
|
-
end
|
2347
|
-
end
|
2348
|
-
# Additional fields for Mandate creation.
|
2349
|
-
attr_accessor :mandate_options
|
2350
|
-
|
2351
|
-
def initialize(mandate_options: nil)
|
2352
|
-
@mandate_options = mandate_options
|
2353
2026
|
end
|
2354
2027
|
end
|
2355
2028
|
|
@@ -2375,27 +2048,13 @@ module Stripe
|
|
2375
2048
|
class Filters < Stripe::RequestParams
|
2376
2049
|
# The account subcategories to use to filter for selectable accounts. Valid subcategories are `checking` and `savings`.
|
2377
2050
|
attr_accessor :account_subcategories
|
2378
|
-
# ID of the institution to use to filter for selectable accounts.
|
2379
|
-
attr_accessor :institution
|
2380
2051
|
|
2381
|
-
def initialize(account_subcategories: nil
|
2052
|
+
def initialize(account_subcategories: nil)
|
2382
2053
|
@account_subcategories = account_subcategories
|
2383
|
-
@institution = institution
|
2384
|
-
end
|
2385
|
-
end
|
2386
|
-
|
2387
|
-
class ManualEntry < Stripe::RequestParams
|
2388
|
-
# Settings for configuring manual entry of account details.
|
2389
|
-
attr_accessor :mode
|
2390
|
-
|
2391
|
-
def initialize(mode: nil)
|
2392
|
-
@mode = mode
|
2393
2054
|
end
|
2394
2055
|
end
|
2395
2056
|
# Provide filters for the linked accounts that the customer can select for the payment method.
|
2396
2057
|
attr_accessor :filters
|
2397
|
-
# Customize manual entry behavior
|
2398
|
-
attr_accessor :manual_entry
|
2399
2058
|
# 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`.
|
2400
2059
|
attr_accessor :permissions
|
2401
2060
|
# List of data features that you would like to retrieve upon account creation.
|
@@ -2403,15 +2062,8 @@ module Stripe
|
|
2403
2062
|
# 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.
|
2404
2063
|
attr_accessor :return_url
|
2405
2064
|
|
2406
|
-
def initialize(
|
2407
|
-
filters: nil,
|
2408
|
-
manual_entry: nil,
|
2409
|
-
permissions: nil,
|
2410
|
-
prefetch: nil,
|
2411
|
-
return_url: nil
|
2412
|
-
)
|
2065
|
+
def initialize(filters: nil, permissions: nil, prefetch: nil, return_url: nil)
|
2413
2066
|
@filters = filters
|
2414
|
-
@manual_entry = manual_entry
|
2415
2067
|
@permissions = permissions
|
2416
2068
|
@prefetch = prefetch
|
2417
2069
|
@return_url = return_url
|
@@ -2472,8 +2124,6 @@ module Stripe
|
|
2472
2124
|
attr_accessor :link
|
2473
2125
|
# If this is a `paypal` PaymentMethod, this sub-hash contains details about the PayPal payment method options.
|
2474
2126
|
attr_accessor :paypal
|
2475
|
-
# If this is a `payto` SetupIntent, this sub-hash contains details about the PayTo payment method options.
|
2476
|
-
attr_accessor :payto
|
2477
2127
|
# If this is a `sepa_debit` SetupIntent, this sub-hash contains details about the SEPA Debit payment method options.
|
2478
2128
|
attr_accessor :sepa_debit
|
2479
2129
|
# If this is a `us_bank_account` SetupIntent, this sub-hash contains details about the US bank account payment method options.
|
@@ -2488,7 +2138,6 @@ module Stripe
|
|
2488
2138
|
klarna: nil,
|
2489
2139
|
link: nil,
|
2490
2140
|
paypal: nil,
|
2491
|
-
payto: nil,
|
2492
2141
|
sepa_debit: nil,
|
2493
2142
|
us_bank_account: nil
|
2494
2143
|
)
|
@@ -2500,7 +2149,6 @@ module Stripe
|
|
2500
2149
|
@klarna = klarna
|
2501
2150
|
@link = link
|
2502
2151
|
@paypal = paypal
|
2503
|
-
@payto = payto
|
2504
2152
|
@sepa_debit = sepa_debit
|
2505
2153
|
@us_bank_account = us_bank_account
|
2506
2154
|
end
|
@@ -2513,10 +2161,6 @@ module Stripe
|
|
2513
2161
|
#
|
2514
2162
|
# 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.
|
2515
2163
|
attr_accessor :customer
|
2516
|
-
# ID of the Account this SetupIntent belongs to, if one exists.
|
2517
|
-
#
|
2518
|
-
# 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.
|
2519
|
-
attr_accessor :customer_account
|
2520
2164
|
# An arbitrary string attached to the object. Often useful for displaying to users.
|
2521
2165
|
attr_accessor :description
|
2522
2166
|
# Specifies which fields in the response should be expanded.
|
@@ -2542,7 +2186,6 @@ module Stripe
|
|
2542
2186
|
def initialize(
|
2543
2187
|
attach_to_self: nil,
|
2544
2188
|
customer: nil,
|
2545
|
-
customer_account: nil,
|
2546
2189
|
description: nil,
|
2547
2190
|
expand: nil,
|
2548
2191
|
flow_directions: nil,
|
@@ -2555,7 +2198,6 @@ module Stripe
|
|
2555
2198
|
)
|
2556
2199
|
@attach_to_self = attach_to_self
|
2557
2200
|
@customer = customer
|
2558
|
-
@customer_account = customer_account
|
2559
2201
|
@description = description
|
2560
2202
|
@expand = expand
|
2561
2203
|
@flow_directions = flow_directions
|
@@ -2757,18 +2399,8 @@ module Stripe
|
|
2757
2399
|
end
|
2758
2400
|
|
2759
2401
|
class Giropay < Stripe::RequestParams; end
|
2760
|
-
class Gopay < Stripe::RequestParams; end
|
2761
2402
|
class Grabpay < Stripe::RequestParams; end
|
2762
2403
|
|
2763
|
-
class IdBankTransfer < Stripe::RequestParams
|
2764
|
-
# Bank where the account is held.
|
2765
|
-
attr_accessor :bank
|
2766
|
-
|
2767
|
-
def initialize(bank: nil)
|
2768
|
-
@bank = bank
|
2769
|
-
end
|
2770
|
-
end
|
2771
|
-
|
2772
2404
|
class Ideal < Stripe::RequestParams
|
2773
2405
|
# The customer's bank. Only use this parameter for existing customers. Don't use it for new customers.
|
2774
2406
|
attr_accessor :bank
|
@@ -2807,7 +2439,6 @@ module Stripe
|
|
2807
2439
|
class Konbini < Stripe::RequestParams; end
|
2808
2440
|
class KrCard < Stripe::RequestParams; end
|
2809
2441
|
class Link < Stripe::RequestParams; end
|
2810
|
-
class MbWay < Stripe::RequestParams; end
|
2811
2442
|
class Mobilepay < Stripe::RequestParams; end
|
2812
2443
|
class Multibanco < Stripe::RequestParams; end
|
2813
2444
|
|
@@ -2866,25 +2497,8 @@ module Stripe
|
|
2866
2497
|
class Payco < Stripe::RequestParams; end
|
2867
2498
|
class Paynow < Stripe::RequestParams; end
|
2868
2499
|
class Paypal < Stripe::RequestParams; end
|
2869
|
-
|
2870
|
-
class Payto < Stripe::RequestParams
|
2871
|
-
# The account number for the bank account.
|
2872
|
-
attr_accessor :account_number
|
2873
|
-
# Bank-State-Branch number of the bank account.
|
2874
|
-
attr_accessor :bsb_number
|
2875
|
-
# The PayID alias for the bank account.
|
2876
|
-
attr_accessor :pay_id
|
2877
|
-
|
2878
|
-
def initialize(account_number: nil, bsb_number: nil, pay_id: nil)
|
2879
|
-
@account_number = account_number
|
2880
|
-
@bsb_number = bsb_number
|
2881
|
-
@pay_id = pay_id
|
2882
|
-
end
|
2883
|
-
end
|
2884
|
-
|
2885
2500
|
class Pix < Stripe::RequestParams; end
|
2886
2501
|
class Promptpay < Stripe::RequestParams; end
|
2887
|
-
class Qris < Stripe::RequestParams; end
|
2888
2502
|
|
2889
2503
|
class RadarOptions < Stripe::RequestParams
|
2890
2504
|
# 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.
|
@@ -2895,29 +2509,6 @@ module Stripe
|
|
2895
2509
|
end
|
2896
2510
|
end
|
2897
2511
|
|
2898
|
-
class Rechnung < Stripe::RequestParams
|
2899
|
-
class Dob < Stripe::RequestParams
|
2900
|
-
# The day of birth, between 1 and 31.
|
2901
|
-
attr_accessor :day
|
2902
|
-
# The month of birth, between 1 and 12.
|
2903
|
-
attr_accessor :month
|
2904
|
-
# The four-digit year of birth.
|
2905
|
-
attr_accessor :year
|
2906
|
-
|
2907
|
-
def initialize(day: nil, month: nil, year: nil)
|
2908
|
-
@day = day
|
2909
|
-
@month = month
|
2910
|
-
@year = year
|
2911
|
-
end
|
2912
|
-
end
|
2913
|
-
# Customer's date of birth
|
2914
|
-
attr_accessor :dob
|
2915
|
-
|
2916
|
-
def initialize(dob: nil)
|
2917
|
-
@dob = dob
|
2918
|
-
end
|
2919
|
-
end
|
2920
|
-
|
2921
2512
|
class RevolutPay < Stripe::RequestParams; end
|
2922
2513
|
class SamsungPay < Stripe::RequestParams; end
|
2923
2514
|
class Satispay < Stripe::RequestParams; end
|
@@ -2931,8 +2522,6 @@ module Stripe
|
|
2931
2522
|
end
|
2932
2523
|
end
|
2933
2524
|
|
2934
|
-
class Shopeepay < Stripe::RequestParams; end
|
2935
|
-
|
2936
2525
|
class Sofort < Stripe::RequestParams
|
2937
2526
|
# Two-letter ISO code representing the country the bank account is located in.
|
2938
2527
|
attr_accessor :country
|
@@ -2942,18 +2531,6 @@ module Stripe
|
|
2942
2531
|
end
|
2943
2532
|
end
|
2944
2533
|
|
2945
|
-
class StripeBalance < Stripe::RequestParams
|
2946
|
-
# The connected account ID whose Stripe balance to use as the source of payment
|
2947
|
-
attr_accessor :account
|
2948
|
-
# The [source_type](https://docs.stripe.com/api/balance/balance_object#balance_object-available-source_types) of the balance
|
2949
|
-
attr_accessor :source_type
|
2950
|
-
|
2951
|
-
def initialize(account: nil, source_type: nil)
|
2952
|
-
@account = account
|
2953
|
-
@source_type = source_type
|
2954
|
-
end
|
2955
|
-
end
|
2956
|
-
|
2957
2534
|
class Swish < Stripe::RequestParams; end
|
2958
2535
|
class Twint < Stripe::RequestParams; end
|
2959
2536
|
|
@@ -3026,12 +2603,8 @@ module Stripe
|
|
3026
2603
|
attr_accessor :fpx
|
3027
2604
|
# If this is a `giropay` PaymentMethod, this hash contains details about the Giropay payment method.
|
3028
2605
|
attr_accessor :giropay
|
3029
|
-
# If this is a Gopay PaymentMethod, this hash contains details about the Gopay payment method.
|
3030
|
-
attr_accessor :gopay
|
3031
2606
|
# If this is a `grabpay` PaymentMethod, this hash contains details about the GrabPay payment method.
|
3032
2607
|
attr_accessor :grabpay
|
3033
|
-
# If this is an `IdBankTransfer` PaymentMethod, this hash contains details about the IdBankTransfer payment method.
|
3034
|
-
attr_accessor :id_bank_transfer
|
3035
2608
|
# If this is an `ideal` PaymentMethod, this hash contains details about the iDEAL payment method.
|
3036
2609
|
attr_accessor :ideal
|
3037
2610
|
# If this is an `interac_present` PaymentMethod, this hash contains details about the Interac Present payment method.
|
@@ -3046,8 +2619,6 @@ module Stripe
|
|
3046
2619
|
attr_accessor :kr_card
|
3047
2620
|
# If this is an `Link` PaymentMethod, this hash contains details about the Link payment method.
|
3048
2621
|
attr_accessor :link
|
3049
|
-
# If this is a MB WAY PaymentMethod, this hash contains details about the MB WAY payment method.
|
3050
|
-
attr_accessor :mb_way
|
3051
2622
|
# 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`.
|
3052
2623
|
attr_accessor :metadata
|
3053
2624
|
# If this is a `mobilepay` PaymentMethod, this hash contains details about the MobilePay payment method.
|
@@ -3070,18 +2641,12 @@ module Stripe
|
|
3070
2641
|
attr_accessor :paynow
|
3071
2642
|
# If this is a `paypal` PaymentMethod, this hash contains details about the PayPal payment method.
|
3072
2643
|
attr_accessor :paypal
|
3073
|
-
# If this is a `payto` PaymentMethod, this hash contains details about the PayTo payment method.
|
3074
|
-
attr_accessor :payto
|
3075
2644
|
# If this is a `pix` PaymentMethod, this hash contains details about the Pix payment method.
|
3076
2645
|
attr_accessor :pix
|
3077
2646
|
# If this is a `promptpay` PaymentMethod, this hash contains details about the PromptPay payment method.
|
3078
2647
|
attr_accessor :promptpay
|
3079
|
-
# If this is a `qris` PaymentMethod, this hash contains details about the QRIS payment method.
|
3080
|
-
attr_accessor :qris
|
3081
2648
|
# Options to configure Radar. See [Radar Session](https://stripe.com/docs/radar/radar-session) for more information.
|
3082
2649
|
attr_accessor :radar_options
|
3083
|
-
# If this is a `rechnung` PaymentMethod, this hash contains details about the Rechnung payment method.
|
3084
|
-
attr_accessor :rechnung
|
3085
2650
|
# If this is a `revolut_pay` PaymentMethod, this hash contains details about the Revolut Pay payment method.
|
3086
2651
|
attr_accessor :revolut_pay
|
3087
2652
|
# If this is a `samsung_pay` PaymentMethod, this hash contains details about the SamsungPay payment method.
|
@@ -3090,12 +2655,8 @@ module Stripe
|
|
3090
2655
|
attr_accessor :satispay
|
3091
2656
|
# If this is a `sepa_debit` PaymentMethod, this hash contains details about the SEPA debit bank account.
|
3092
2657
|
attr_accessor :sepa_debit
|
3093
|
-
# If this is a Shopeepay PaymentMethod, this hash contains details about the Shopeepay payment method.
|
3094
|
-
attr_accessor :shopeepay
|
3095
2658
|
# If this is a `sofort` PaymentMethod, this hash contains details about the SOFORT payment method.
|
3096
2659
|
attr_accessor :sofort
|
3097
|
-
# This hash contains details about the Stripe balance payment method.
|
3098
|
-
attr_accessor :stripe_balance
|
3099
2660
|
# If this is a `swish` PaymentMethod, this hash contains details about the Swish payment method.
|
3100
2661
|
attr_accessor :swish
|
3101
2662
|
# If this is a TWINT PaymentMethod, this hash contains details about the TWINT payment method.
|
@@ -3130,9 +2691,7 @@ module Stripe
|
|
3130
2691
|
eps: nil,
|
3131
2692
|
fpx: nil,
|
3132
2693
|
giropay: nil,
|
3133
|
-
gopay: nil,
|
3134
2694
|
grabpay: nil,
|
3135
|
-
id_bank_transfer: nil,
|
3136
2695
|
ideal: nil,
|
3137
2696
|
interac_present: nil,
|
3138
2697
|
kakao_pay: nil,
|
@@ -3140,7 +2699,6 @@ module Stripe
|
|
3140
2699
|
konbini: nil,
|
3141
2700
|
kr_card: nil,
|
3142
2701
|
link: nil,
|
3143
|
-
mb_way: nil,
|
3144
2702
|
metadata: nil,
|
3145
2703
|
mobilepay: nil,
|
3146
2704
|
multibanco: nil,
|
@@ -3152,19 +2710,14 @@ module Stripe
|
|
3152
2710
|
payco: nil,
|
3153
2711
|
paynow: nil,
|
3154
2712
|
paypal: nil,
|
3155
|
-
payto: nil,
|
3156
2713
|
pix: nil,
|
3157
2714
|
promptpay: nil,
|
3158
|
-
qris: nil,
|
3159
2715
|
radar_options: nil,
|
3160
|
-
rechnung: nil,
|
3161
2716
|
revolut_pay: nil,
|
3162
2717
|
samsung_pay: nil,
|
3163
2718
|
satispay: nil,
|
3164
2719
|
sepa_debit: nil,
|
3165
|
-
shopeepay: nil,
|
3166
2720
|
sofort: nil,
|
3167
|
-
stripe_balance: nil,
|
3168
2721
|
swish: nil,
|
3169
2722
|
twint: nil,
|
3170
2723
|
type: nil,
|
@@ -3192,9 +2745,7 @@ module Stripe
|
|
3192
2745
|
@eps = eps
|
3193
2746
|
@fpx = fpx
|
3194
2747
|
@giropay = giropay
|
3195
|
-
@gopay = gopay
|
3196
2748
|
@grabpay = grabpay
|
3197
|
-
@id_bank_transfer = id_bank_transfer
|
3198
2749
|
@ideal = ideal
|
3199
2750
|
@interac_present = interac_present
|
3200
2751
|
@kakao_pay = kakao_pay
|
@@ -3202,7 +2753,6 @@ module Stripe
|
|
3202
2753
|
@konbini = konbini
|
3203
2754
|
@kr_card = kr_card
|
3204
2755
|
@link = link
|
3205
|
-
@mb_way = mb_way
|
3206
2756
|
@metadata = metadata
|
3207
2757
|
@mobilepay = mobilepay
|
3208
2758
|
@multibanco = multibanco
|
@@ -3214,19 +2764,14 @@ module Stripe
|
|
3214
2764
|
@payco = payco
|
3215
2765
|
@paynow = paynow
|
3216
2766
|
@paypal = paypal
|
3217
|
-
@payto = payto
|
3218
2767
|
@pix = pix
|
3219
2768
|
@promptpay = promptpay
|
3220
|
-
@qris = qris
|
3221
2769
|
@radar_options = radar_options
|
3222
|
-
@rechnung = rechnung
|
3223
2770
|
@revolut_pay = revolut_pay
|
3224
2771
|
@samsung_pay = samsung_pay
|
3225
2772
|
@satispay = satispay
|
3226
2773
|
@sepa_debit = sepa_debit
|
3227
|
-
@shopeepay = shopeepay
|
3228
2774
|
@sofort = sofort
|
3229
|
-
@stripe_balance = stripe_balance
|
3230
2775
|
@swish = swish
|
3231
2776
|
@twint = twint
|
3232
2777
|
@type = type
|
@@ -3542,58 +3087,9 @@ module Stripe
|
|
3542
3087
|
class Paypal < Stripe::RequestParams
|
3543
3088
|
# The PayPal Billing Agreement ID (BAID). This is an ID generated by PayPal which represents the mandate between the merchant and the customer.
|
3544
3089
|
attr_accessor :billing_agreement_id
|
3545
|
-
# Attribute for param field currency
|
3546
|
-
attr_accessor :currency
|
3547
|
-
# 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.
|
3548
|
-
attr_accessor :subsellers
|
3549
3090
|
|
3550
|
-
def initialize(billing_agreement_id: nil
|
3091
|
+
def initialize(billing_agreement_id: nil)
|
3551
3092
|
@billing_agreement_id = billing_agreement_id
|
3552
|
-
@currency = currency
|
3553
|
-
@subsellers = subsellers
|
3554
|
-
end
|
3555
|
-
end
|
3556
|
-
|
3557
|
-
class Payto < Stripe::RequestParams
|
3558
|
-
class MandateOptions < Stripe::RequestParams
|
3559
|
-
# Amount that will be collected. It is required when `amount_type` is `fixed`.
|
3560
|
-
attr_accessor :amount
|
3561
|
-
# 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.
|
3562
|
-
attr_accessor :amount_type
|
3563
|
-
# Date, in YYYY-MM-DD format, after which payments will not be collected. Defaults to no end date.
|
3564
|
-
attr_accessor :end_date
|
3565
|
-
# The periodicity at which payments will be collected.
|
3566
|
-
attr_accessor :payment_schedule
|
3567
|
-
# 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.
|
3568
|
-
attr_accessor :payments_per_period
|
3569
|
-
# The purpose for which payments are made. Defaults to retail.
|
3570
|
-
attr_accessor :purpose
|
3571
|
-
# Date, in YYYY-MM-DD format, from which payments will be collected. Defaults to confirmation time.
|
3572
|
-
attr_accessor :start_date
|
3573
|
-
|
3574
|
-
def initialize(
|
3575
|
-
amount: nil,
|
3576
|
-
amount_type: nil,
|
3577
|
-
end_date: nil,
|
3578
|
-
payment_schedule: nil,
|
3579
|
-
payments_per_period: nil,
|
3580
|
-
purpose: nil,
|
3581
|
-
start_date: nil
|
3582
|
-
)
|
3583
|
-
@amount = amount
|
3584
|
-
@amount_type = amount_type
|
3585
|
-
@end_date = end_date
|
3586
|
-
@payment_schedule = payment_schedule
|
3587
|
-
@payments_per_period = payments_per_period
|
3588
|
-
@purpose = purpose
|
3589
|
-
@start_date = start_date
|
3590
|
-
end
|
3591
|
-
end
|
3592
|
-
# Additional fields for Mandate creation.
|
3593
|
-
attr_accessor :mandate_options
|
3594
|
-
|
3595
|
-
def initialize(mandate_options: nil)
|
3596
|
-
@mandate_options = mandate_options
|
3597
3093
|
end
|
3598
3094
|
end
|
3599
3095
|
|
@@ -3619,27 +3115,13 @@ module Stripe
|
|
3619
3115
|
class Filters < Stripe::RequestParams
|
3620
3116
|
# The account subcategories to use to filter for selectable accounts. Valid subcategories are `checking` and `savings`.
|
3621
3117
|
attr_accessor :account_subcategories
|
3622
|
-
# ID of the institution to use to filter for selectable accounts.
|
3623
|
-
attr_accessor :institution
|
3624
3118
|
|
3625
|
-
def initialize(account_subcategories: nil
|
3119
|
+
def initialize(account_subcategories: nil)
|
3626
3120
|
@account_subcategories = account_subcategories
|
3627
|
-
@institution = institution
|
3628
|
-
end
|
3629
|
-
end
|
3630
|
-
|
3631
|
-
class ManualEntry < Stripe::RequestParams
|
3632
|
-
# Settings for configuring manual entry of account details.
|
3633
|
-
attr_accessor :mode
|
3634
|
-
|
3635
|
-
def initialize(mode: nil)
|
3636
|
-
@mode = mode
|
3637
3121
|
end
|
3638
3122
|
end
|
3639
3123
|
# Provide filters for the linked accounts that the customer can select for the payment method.
|
3640
3124
|
attr_accessor :filters
|
3641
|
-
# Customize manual entry behavior
|
3642
|
-
attr_accessor :manual_entry
|
3643
3125
|
# 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`.
|
3644
3126
|
attr_accessor :permissions
|
3645
3127
|
# List of data features that you would like to retrieve upon account creation.
|
@@ -3647,15 +3129,8 @@ module Stripe
|
|
3647
3129
|
# 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.
|
3648
3130
|
attr_accessor :return_url
|
3649
3131
|
|
3650
|
-
def initialize(
|
3651
|
-
filters: nil,
|
3652
|
-
manual_entry: nil,
|
3653
|
-
permissions: nil,
|
3654
|
-
prefetch: nil,
|
3655
|
-
return_url: nil
|
3656
|
-
)
|
3132
|
+
def initialize(filters: nil, permissions: nil, prefetch: nil, return_url: nil)
|
3657
3133
|
@filters = filters
|
3658
|
-
@manual_entry = manual_entry
|
3659
3134
|
@permissions = permissions
|
3660
3135
|
@prefetch = prefetch
|
3661
3136
|
@return_url = return_url
|
@@ -3716,8 +3191,6 @@ module Stripe
|
|
3716
3191
|
attr_accessor :link
|
3717
3192
|
# If this is a `paypal` PaymentMethod, this sub-hash contains details about the PayPal payment method options.
|
3718
3193
|
attr_accessor :paypal
|
3719
|
-
# If this is a `payto` SetupIntent, this sub-hash contains details about the PayTo payment method options.
|
3720
|
-
attr_accessor :payto
|
3721
3194
|
# If this is a `sepa_debit` SetupIntent, this sub-hash contains details about the SEPA Debit payment method options.
|
3722
3195
|
attr_accessor :sepa_debit
|
3723
3196
|
# If this is a `us_bank_account` SetupIntent, this sub-hash contains details about the US bank account payment method options.
|
@@ -3732,7 +3205,6 @@ module Stripe
|
|
3732
3205
|
klarna: nil,
|
3733
3206
|
link: nil,
|
3734
3207
|
paypal: nil,
|
3735
|
-
payto: nil,
|
3736
3208
|
sepa_debit: nil,
|
3737
3209
|
us_bank_account: nil
|
3738
3210
|
)
|
@@ -3744,7 +3216,6 @@ module Stripe
|
|
3744
3216
|
@klarna = klarna
|
3745
3217
|
@link = link
|
3746
3218
|
@paypal = paypal
|
3747
|
-
@payto = payto
|
3748
3219
|
@sepa_debit = sepa_debit
|
3749
3220
|
@us_bank_account = us_bank_account
|
3750
3221
|
end
|