stripe 15.2.0.pre.beta.1 → 15.2.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- checksums.yaml +4 -4
- data/CHANGELOG.md +718 -1556
- data/CONTRIBUTING.md +25 -0
- data/OPENAPI_VERSION +1 -1
- data/README.md +10 -7
- data/VERSION +1 -1
- data/lib/stripe/api_requestor.rb +0 -28
- data/lib/stripe/api_version.rb +1 -1
- data/lib/stripe/errors.rb +0 -54
- data/lib/stripe/event_types.rb +0 -89
- data/lib/stripe/object_types.rb +0 -52
- data/lib/stripe/resources/account.rb +32 -657
- data/lib/stripe/resources/account_session.rb +59 -253
- data/lib/stripe/resources/apple_pay_domain.rb +1 -2
- data/lib/stripe/resources/balance.rb +42 -0
- data/lib/stripe/resources/balance_transaction.rb +2 -0
- data/lib/stripe/resources/bank_account.rb +2 -2
- data/lib/stripe/resources/billing/credit_balance_summary.rb +0 -2
- data/lib/stripe/resources/billing/credit_balance_transaction.rb +0 -4
- data/lib/stripe/resources/billing/credit_grant.rb +0 -10
- data/lib/stripe/resources/billing_portal/session.rb +1 -7
- data/lib/stripe/resources/capability.rb +1 -1
- data/lib/stripe/resources/card.rb +0 -2
- data/lib/stripe/resources/cash_balance.rb +0 -2
- data/lib/stripe/resources/charge.rb +13 -1475
- data/lib/stripe/resources/checkout/session.rb +21 -333
- data/lib/stripe/resources/confirmation_token.rb +33 -263
- data/lib/stripe/resources/country_spec.rb +1 -1
- data/lib/stripe/resources/coupon.rb +2 -32
- data/lib/stripe/resources/credit_note.rb +10 -17
- data/lib/stripe/resources/credit_note_line_item.rb +0 -9
- data/lib/stripe/resources/customer.rb +2 -6
- 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 +4 -9
- data/lib/stripe/resources/discount.rb +0 -2
- data/lib/stripe/resources/dispute.rb +2 -2
- data/lib/stripe/resources/event.rb +1 -32
- data/lib/stripe/resources/file.rb +1 -1
- data/lib/stripe/resources/financial_connections/account.rb +1 -20
- data/lib/stripe/resources/financial_connections/session.rb +2 -62
- data/lib/stripe/resources/identity/verification_report.rb +6 -0
- data/lib/stripe/resources/identity/verification_session.rb +17 -21
- data/lib/stripe/resources/invoice.rb +79 -1106
- data/lib/stripe/resources/invoice_item.rb +4 -81
- data/lib/stripe/resources/invoice_line_item.rb +2 -56
- data/lib/stripe/resources/invoice_payment.rb +62 -4
- data/lib/stripe/resources/issuing/authorization.rb +8 -8
- data/lib/stripe/resources/issuing/card.rb +1 -1
- data/lib/stripe/resources/issuing/cardholder.rb +1 -2
- data/lib/stripe/resources/issuing/dispute.rb +3 -3
- 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 +1912 -6840
- data/lib/stripe/resources/payment_method.rb +47 -301
- data/lib/stripe/resources/payment_method_configuration.rb +112 -112
- data/lib/stripe/resources/payment_method_domain.rb +2 -2
- data/lib/stripe/resources/payout.rb +4 -10
- data/lib/stripe/resources/person.rb +2 -2
- data/lib/stripe/resources/plan.rb +2 -3
- data/lib/stripe/resources/price.rb +1 -31
- data/lib/stripe/resources/product.rb +1 -61
- data/lib/stripe/resources/promotion_code.rb +0 -10
- data/lib/stripe/resources/quote.rb +6 -2046
- data/lib/stripe/resources/radar/value_list.rb +1 -2
- data/lib/stripe/resources/radar/value_list_item.rb +1 -2
- data/lib/stripe/resources/refund.rb +6 -10
- data/lib/stripe/resources/reversal.rb +1 -1
- data/lib/stripe/resources/review.rb +1 -1
- data/lib/stripe/resources/setup_attempt.rb +0 -21
- data/lib/stripe/resources/setup_intent.rb +120 -877
- data/lib/stripe/resources/source.rb +1 -30
- data/lib/stripe/resources/subscription.rb +97 -326
- data/lib/stripe/resources/subscription_item.rb +32 -80
- data/lib/stripe/resources/subscription_schedule.rb +127 -1015
- data/lib/stripe/resources/tax/calculation.rb +4 -0
- data/lib/stripe/resources/tax/calculation_line_item.rb +2 -0
- data/lib/stripe/resources/tax/registration.rb +1 -1
- data/lib/stripe/resources/tax_id.rb +3 -14
- data/lib/stripe/resources/tax_rate.rb +2 -2
- data/lib/stripe/resources/terminal/configuration.rb +1 -2
- data/lib/stripe/resources/terminal/location.rb +2 -3
- data/lib/stripe/resources/terminal/reader.rb +8 -142
- data/lib/stripe/resources/test_helpers/test_clock.rb +1 -2
- data/lib/stripe/resources/token.rb +2 -2
- data/lib/stripe/resources/transfer.rb +1 -7
- 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/webhook_endpoint.rb +1 -2
- data/lib/stripe/resources.rb +0 -99
- data/lib/stripe/services/account_external_account_service.rb +2 -3
- data/lib/stripe/services/account_login_link_service.rb +1 -1
- data/lib/stripe/services/account_person_service.rb +1 -2
- data/lib/stripe/services/account_service.rb +23 -559
- data/lib/stripe/services/account_session_service.rb +29 -229
- data/lib/stripe/services/apple_pay_domain_service.rb +1 -2
- data/lib/stripe/services/balance_service.rb +1 -1
- data/lib/stripe/services/billing/credit_balance_summary_service.rb +1 -4
- data/lib/stripe/services/billing/credit_balance_transaction_service.rb +0 -4
- data/lib/stripe/services/billing/credit_grant_service.rb +0 -8
- data/lib/stripe/services/billing_portal/session_service.rb +0 -4
- data/lib/stripe/services/charge_service.rb +4 -1354
- data/lib/stripe/services/checkout/session_service.rb +13 -250
- data/lib/stripe/services/coupon_service.rb +2 -19
- data/lib/stripe/services/credit_note_service.rb +7 -12
- data/lib/stripe/services/customer_balance_transaction_service.rb +3 -3
- data/lib/stripe/services/customer_cash_balance_transaction_service.rb +2 -2
- data/lib/stripe/services/customer_payment_source_service.rb +1 -1
- data/lib/stripe/services/customer_service.rb +3 -5
- data/lib/stripe/services/customer_session_service.rb +1 -4
- data/lib/stripe/services/customer_tax_id_service.rb +1 -2
- data/lib/stripe/services/dispute_service.rb +1 -1
- data/lib/stripe/services/file_service.rb +1 -1
- data/lib/stripe/services/financial_connections/account_service.rb +2 -7
- data/lib/stripe/services/financial_connections/session_service.rb +2 -34
- data/lib/stripe/services/financial_connections_service.rb +1 -2
- data/lib/stripe/services/identity/verification_session_service.rb +5 -13
- data/lib/stripe/services/invoice_item_service.rb +3 -76
- 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 +74 -1049
- data/lib/stripe/services/issuing/authorization_service.rb +4 -4
- data/lib/stripe/services/issuing/card_service.rb +1 -1
- data/lib/stripe/services/issuing/cardholder_service.rb +1 -2
- data/lib/stripe/services/issuing/dispute_service.rb +2 -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 +439 -4928
- data/lib/stripe/services/payment_method_configuration_service.rb +82 -82
- data/lib/stripe/services/payment_method_domain_service.rb +1 -1
- data/lib/stripe/services/payment_method_service.rb +44 -226
- data/lib/stripe/services/payout_service.rb +2 -6
- data/lib/stripe/services/plan_service.rb +2 -3
- data/lib/stripe/services/price_service.rb +2 -21
- data/lib/stripe/services/product_feature_service.rb +1 -2
- data/lib/stripe/services/product_service.rb +2 -41
- data/lib/stripe/services/promotion_code_service.rb +1 -9
- data/lib/stripe/services/quote_service.rb +7 -1730
- data/lib/stripe/services/radar/early_fraud_warning_service.rb +1 -1
- data/lib/stripe/services/radar/value_list_item_service.rb +1 -2
- data/lib/stripe/services/radar/value_list_service.rb +1 -2
- data/lib/stripe/services/setup_intent_service.rb +119 -836
- data/lib/stripe/services/source_service.rb +1 -1
- data/lib/stripe/services/subscription_item_service.rb +27 -73
- data/lib/stripe/services/subscription_schedule_service.rb +101 -916
- data/lib/stripe/services/subscription_service.rb +85 -282
- data/lib/stripe/services/tax/calculation_service.rb +4 -0
- data/lib/stripe/services/tax/registration_service.rb +1 -1
- data/lib/stripe/services/tax_id_service.rb +3 -10
- data/lib/stripe/services/tax_service.rb +1 -3
- data/lib/stripe/services/terminal/configuration_service.rb +1 -2
- data/lib/stripe/services/terminal/location_service.rb +2 -3
- data/lib/stripe/services/terminal/reader_service.rb +5 -81
- data/lib/stripe/services/terminal_service.rb +1 -2
- data/lib/stripe/services/test_helpers/confirmation_token_service.rb +33 -190
- data/lib/stripe/services/test_helpers/test_clock_service.rb +1 -2
- 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/token_service.rb +1 -1
- data/lib/stripe/services/transfer_service.rb +1 -5
- 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 -12
- data/lib/stripe/services/v2/billing/meter_event_session_service.rb +1 -2
- data/lib/stripe/services/v2/core/event_destination_service.rb +4 -10
- data/lib/stripe/services/v2/core/event_service.rb +1 -2
- data/lib/stripe/services/v2/core_service.rb +1 -4
- data/lib/stripe/services/v2_services.rb +2 -4
- data/lib/stripe/services/webhook_endpoint_service.rb +1 -2
- data/lib/stripe/services.rb +1 -54
- data/lib/stripe/stripe_configuration.rb +1 -3
- data/lib/stripe/stripe_object.rb +1 -1
- data/lib/stripe/util.rb +1 -7
- data/lib/stripe/version.rb +1 -1
- data/lib/stripe.rb +0 -53
- data/rbi/stripe/resources/account.rbi +4926 -0
- data/rbi/stripe/resources/account_link.rbi +74 -0
- data/rbi/stripe/resources/account_session.rbi +1013 -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 +645 -0
- data/rbi/stripe/resources/billing_portal/session.rbi +345 -0
- data/rbi/stripe/resources/capability.rbi +125 -0
- data/rbi/stripe/resources/card.rbi +125 -0
- data/rbi/stripe/resources/cash_balance.rbi +32 -0
- data/rbi/stripe/resources/charge.rbi +2069 -0
- data/rbi/stripe/resources/checkout/session.rbi +4004 -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 +1807 -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 +149 -0
- data/rbi/stripe/resources/exchange_rate.rbi +66 -0
- data/rbi/stripe/resources/file.rbi +143 -0
- data/rbi/stripe/resources/file_link.rbi +141 -0
- data/rbi/stripe/resources/financial_connections/account.rbi +339 -0
- data/rbi/stripe/resources/financial_connections/account_owner.rbi +35 -0
- data/rbi/stripe/resources/financial_connections/account_ownership.rbi +23 -0
- data/rbi/stripe/resources/financial_connections/session.rbi +123 -0
- data/rbi/stripe/resources/financial_connections/transaction.rbi +124 -0
- data/rbi/stripe/resources/forwarding/request.rbi +216 -0
- data/rbi/stripe/resources/funding_instructions.rbi +437 -0
- data/rbi/stripe/resources/identity/verification_report.rbi +360 -0
- data/rbi/stripe/resources/identity/verification_session.rbi +526 -0
- data/rbi/stripe/resources/invoice.rbi +3812 -0
- data/rbi/stripe/resources/invoice_item.rbi +473 -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 +187 -0
- data/rbi/stripe/resources/payment_intent.rbi +9647 -0
- data/rbi/stripe/resources/payment_link.rbi +1801 -0
- data/rbi/stripe/resources/payment_method.rbi +1761 -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 +1126 -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 +3655 -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 +2027 -0
- data/rbi/stripe/resources/subscription_item.rbi +404 -0
- data/rbi/stripe/resources/subscription_schedule.rbi +1623 -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 +2713 -0
- data/rbi/stripe/resources/tax/settings.rbi +141 -0
- data/rbi/stripe/resources/tax/transaction.rbi +351 -0
- data/rbi/stripe/resources/tax/transaction_line_item.rbi +54 -0
- data/rbi/stripe/resources/tax_code.rbi +44 -0
- data/rbi/stripe/resources/tax_deducted_at_source.rbi +23 -0
- data/rbi/stripe/resources/tax_id.rbi +165 -0
- data/rbi/stripe/resources/tax_rate.rbi +239 -0
- data/rbi/stripe/resources/terminal/configuration.rbi +1386 -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 +847 -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 +865 -0
- data/rbi/stripe/resources/treasury/financial_account_features.rbi +260 -0
- data/rbi/stripe/resources/treasury/inbound_transfer.rbi +295 -0
- data/rbi/stripe/resources/treasury/outbound_payment.rbi +592 -0
- data/rbi/stripe/resources/treasury/outbound_transfer.rbi +431 -0
- data/rbi/stripe/resources/treasury/received_credit.rbi +302 -0
- data/rbi/stripe/resources/treasury/received_debit.rbi +256 -0
- data/rbi/stripe/resources/treasury/transaction.rbi +215 -0
- data/rbi/stripe/resources/treasury/transaction_entry.rbi +192 -0
- data/rbi/stripe/resources/v2/amount.rbi +14 -0
- data/rbi/stripe/resources/v2/billing/meter_event.rbi +37 -0
- data/rbi/stripe/resources/v2/billing/meter_event_adjustment.rbi +41 -0
- data/rbi/stripe/resources/v2/billing/meter_event_session.rbi +31 -0
- data/rbi/stripe/resources/v2/event.rbi +48 -0
- data/rbi/stripe/resources/v2/event_destination.rbi +91 -0
- data/rbi/stripe/resources/webhook_endpoint.rbi +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} +124 -138
- data/rbi/stripe/services/account_link_service.rbi +58 -0
- data/rbi/stripe/services/account_login_link_service.rbi +22 -0
- data/rbi/stripe/services/account_person_service.rbi +1011 -0
- data/rbi/stripe/services/account_service.rbi +4213 -0
- data/rbi/stripe/services/account_session_service.rbi +646 -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 +511 -0
- data/rbi/stripe/services/billing_portal/session_service.rbi +204 -0
- data/rbi/stripe/services/billing_portal_service.rbi +10 -0
- data/rbi/stripe/services/billing_service.rbi +15 -0
- data/rbi/stripe/services/charge_service.rbi +448 -0
- data/rbi/stripe/services/checkout/session_line_item_service.rbi +33 -0
- data/rbi/stripe/services/checkout/session_service.rbi +2614 -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 +323 -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 +2981 -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 +7659 -0
- data/{lib/stripe/services/payment_intent_amount_details_line_item_service.rb → rbi/stripe/services/payment_link_line_item_service.rbi} +16 -20
- data/rbi/stripe/services/payment_link_service.rbi +1352 -0
- data/rbi/stripe/services/payment_method_configuration_service.rbi +2487 -0
- data/rbi/stripe/services/payment_method_domain_service.rbi +112 -0
- data/rbi/stripe/services/payment_method_service.rbi +776 -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 +686 -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 +3391 -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 +1290 -0
- data/rbi/stripe/services/subscription_service.rbi +1648 -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 +1845 -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 +1118 -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 +455 -0
- data/rbi/stripe/services/terminal_service.rbi +12 -0
- data/rbi/stripe/services/test_helpers/confirmation_token_service.rbi +739 -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 +562 -0
- data/rbi/stripe/services/treasury/inbound_transfer_service.rbi +117 -0
- data/rbi/stripe/services/treasury/outbound_payment_service.rbi +304 -0
- data/rbi/stripe/services/treasury/outbound_transfer_service.rbi +157 -0
- data/rbi/stripe/services/treasury/received_credit_service.rbi +72 -0
- data/rbi/stripe/services/treasury/received_debit_service.rbi +59 -0
- data/rbi/stripe/services/treasury/transaction_entry_service.rbi +111 -0
- data/rbi/stripe/services/treasury/transaction_service.rbi +122 -0
- data/rbi/stripe/services/treasury_service.rbi +18 -0
- data/rbi/stripe/services/v1_services.rbi +77 -0
- data/rbi/stripe/services/v2/billing/meter_event_adjustment_service.rbi +39 -0
- data/rbi/stripe/services/v2/billing/meter_event_service.rbi +42 -0
- data/rbi/stripe/services/v2/billing/meter_event_session_service.rbi +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 +326 -158
- data/lib/stripe/events/v2_core_account_closed_event.rb +0 -21
- data/lib/stripe/events/v2_core_account_created_event.rb +0 -21
- data/lib/stripe/events/v2_core_account_including_configuration_customer_capability_status_updated_event.rb +0 -23
- data/lib/stripe/events/v2_core_account_including_configuration_customer_updated_event.rb +0 -21
- data/lib/stripe/events/v2_core_account_including_configuration_merchant_capability_status_updated_event.rb +0 -23
- data/lib/stripe/events/v2_core_account_including_configuration_merchant_updated_event.rb +0 -21
- data/lib/stripe/events/v2_core_account_including_configuration_recipient_capability_status_updated_event.rb +0 -23
- data/lib/stripe/events/v2_core_account_including_configuration_recipient_updated_event.rb +0 -21
- data/lib/stripe/events/v2_core_account_including_defaults_updated_event.rb +0 -21
- data/lib/stripe/events/v2_core_account_including_identity_updated_event.rb +0 -21
- data/lib/stripe/events/v2_core_account_including_requirements_updated_event.rb +0 -21
- data/lib/stripe/events/v2_core_account_link_completed_event.rb +0 -13
- data/lib/stripe/events/v2_core_account_person_created_event.rb +0 -23
- data/lib/stripe/events/v2_core_account_person_deleted_event.rb +0 -23
- data/lib/stripe/events/v2_core_account_person_updated_event.rb +0 -23
- data/lib/stripe/events/v2_core_account_updated_event.rb +0 -21
- data/lib/stripe/events/v2_money_management_adjustment_created_event.rb +0 -21
- data/lib/stripe/events/v2_money_management_financial_account_created_event.rb +0 -21
- data/lib/stripe/events/v2_money_management_financial_account_updated_event.rb +0 -21
- data/lib/stripe/events/v2_money_management_financial_address_activated_event.rb +0 -21
- data/lib/stripe/events/v2_money_management_financial_address_failed_event.rb +0 -21
- data/lib/stripe/events/v2_money_management_inbound_transfer_available_event.rb +0 -23
- data/lib/stripe/events/v2_money_management_inbound_transfer_bank_debit_failed_event.rb +0 -21
- data/lib/stripe/events/v2_money_management_inbound_transfer_bank_debit_processing_event.rb +0 -21
- data/lib/stripe/events/v2_money_management_inbound_transfer_bank_debit_queued_event.rb +0 -21
- data/lib/stripe/events/v2_money_management_inbound_transfer_bank_debit_returned_event.rb +0 -21
- data/lib/stripe/events/v2_money_management_inbound_transfer_bank_debit_succeeded_event.rb +0 -21
- data/lib/stripe/events/v2_money_management_outbound_payment_canceled_event.rb +0 -21
- data/lib/stripe/events/v2_money_management_outbound_payment_created_event.rb +0 -21
- data/lib/stripe/events/v2_money_management_outbound_payment_failed_event.rb +0 -21
- data/lib/stripe/events/v2_money_management_outbound_payment_posted_event.rb +0 -21
- data/lib/stripe/events/v2_money_management_outbound_payment_returned_event.rb +0 -21
- data/lib/stripe/events/v2_money_management_outbound_payment_updated_event.rb +0 -21
- data/lib/stripe/events/v2_money_management_outbound_transfer_canceled_event.rb +0 -21
- data/lib/stripe/events/v2_money_management_outbound_transfer_created_event.rb +0 -21
- data/lib/stripe/events/v2_money_management_outbound_transfer_failed_event.rb +0 -21
- data/lib/stripe/events/v2_money_management_outbound_transfer_posted_event.rb +0 -21
- data/lib/stripe/events/v2_money_management_outbound_transfer_returned_event.rb +0 -21
- data/lib/stripe/events/v2_money_management_outbound_transfer_updated_event.rb +0 -21
- data/lib/stripe/events/v2_money_management_received_credit_available_event.rb +0 -23
- data/lib/stripe/events/v2_money_management_received_credit_failed_event.rb +0 -21
- data/lib/stripe/events/v2_money_management_received_credit_returned_event.rb +0 -21
- data/lib/stripe/events/v2_money_management_received_credit_succeeded_event.rb +0 -21
- data/lib/stripe/events/v2_money_management_received_debit_canceled_event.rb +0 -21
- data/lib/stripe/events/v2_money_management_received_debit_failed_event.rb +0 -21
- data/lib/stripe/events/v2_money_management_received_debit_pending_event.rb +0 -21
- data/lib/stripe/events/v2_money_management_received_debit_succeeded_event.rb +0 -21
- data/lib/stripe/events/v2_money_management_received_debit_updated_event.rb +0 -21
- data/lib/stripe/events/v2_money_management_transaction_created_event.rb +0 -21
- data/lib/stripe/events/v2_money_management_transaction_updated_event.rb +0 -21
- data/lib/stripe/resources/account_notice.rb +0 -123
- data/lib/stripe/resources/balance_settings.rb +0 -105
- data/lib/stripe/resources/billing/meter_error_report.rb +0 -59
- data/lib/stripe/resources/capital/financing_offer.rb +0 -179
- data/lib/stripe/resources/capital/financing_summary.rb +0 -55
- data/lib/stripe/resources/capital/financing_transaction.rb +0 -114
- data/lib/stripe/resources/financial_connections/account_inferred_balance.rb +0 -27
- data/lib/stripe/resources/financial_connections/institution.rb +0 -90
- data/lib/stripe/resources/fx_quote.rb +0 -184
- data/lib/stripe/resources/gift_cards/card.rb +0 -208
- data/lib/stripe/resources/gift_cards/transaction.rb +0 -272
- data/lib/stripe/resources/issuing/credit_underwriting_record.rb +0 -602
- data/lib/stripe/resources/issuing/dispute_settlement_detail.rb +0 -82
- data/lib/stripe/resources/issuing/fraud_liability_debit.rb +0 -86
- data/lib/stripe/resources/issuing/settlement.rb +0 -53
- data/lib/stripe/resources/margin.rb +0 -115
- data/lib/stripe/resources/order.rb +0 -2859
- data/lib/stripe/resources/payment_attempt_record.rb +0 -1078
- data/lib/stripe/resources/payment_intent_amount_details_line_item.rb +0 -65
- data/lib/stripe/resources/payment_record.rb +0 -1607
- data/lib/stripe/resources/privacy/redaction_job.rb +0 -275
- data/lib/stripe/resources/privacy/redaction_job_validation_error.rb +0 -25
- data/lib/stripe/resources/quote_line.rb +0 -274
- data/lib/stripe/resources/quote_preview_invoice.rb +0 -663
- data/lib/stripe/resources/quote_preview_subscription_schedule.rb +0 -339
- data/lib/stripe/resources/tax/association.rb +0 -89
- data/lib/stripe/resources/tax/form.rb +0 -211
- data/lib/stripe/resources/terminal/reader_collected_data.rb +0 -31
- data/lib/stripe/resources/v2/core/account.rb +0 -1746
- data/lib/stripe/resources/v2/core/account_link.rb +0 -56
- data/lib/stripe/resources/v2/core/person.rb +0 -276
- data/lib/stripe/resources/v2/core/vault/gb_bank_account.rb +0 -74
- data/lib/stripe/resources/v2/core/vault/us_bank_account.rb +0 -39
- data/lib/stripe/resources/v2/financial_address_credit_simulation.rb +0 -20
- data/lib/stripe/resources/v2/financial_address_generated_microdeposits.rb +0 -22
- data/lib/stripe/resources/v2/money_management/adjustment.rb +0 -51
- data/lib/stripe/resources/v2/money_management/financial_account.rb +0 -58
- data/lib/stripe/resources/v2/money_management/financial_address.rb +0 -68
- data/lib/stripe/resources/v2/money_management/inbound_transfer.rb +0 -94
- data/lib/stripe/resources/v2/money_management/outbound_payment.rb +0 -129
- data/lib/stripe/resources/v2/money_management/outbound_payment_quote.rb +0 -82
- data/lib/stripe/resources/v2/money_management/outbound_setup_intent.rb +0 -45
- data/lib/stripe/resources/v2/money_management/outbound_transfer.rb +0 -117
- data/lib/stripe/resources/v2/money_management/payout_method.rb +0 -75
- data/lib/stripe/resources/v2/money_management/payout_methods_bank_account_spec.rb +0 -49
- data/lib/stripe/resources/v2/money_management/received_credit.rb +0 -136
- data/lib/stripe/resources/v2/money_management/received_debit.rb +0 -108
- 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/services/account_notice_service.rb +0 -101
- data/lib/stripe/services/balance_settings_service.rb +0 -96
- data/lib/stripe/services/capital/financing_offer_service.rb +0 -112
- data/lib/stripe/services/capital/financing_summary_service.rb +0 -28
- data/lib/stripe/services/capital/financing_transaction_service.rb +0 -79
- data/lib/stripe/services/capital_service.rb +0 -15
- data/lib/stripe/services/fx_quote_service.rb +0 -123
- data/lib/stripe/services/gift_cards/card_service.rb +0 -170
- data/lib/stripe/services/gift_cards/transaction_service.rb +0 -209
- data/lib/stripe/services/gift_cards_service.rb +0 -14
- data/lib/stripe/services/issuing/credit_underwriting_record_service.rb +0 -504
- data/lib/stripe/services/issuing/dispute_settlement_detail_service.rb +0 -66
- data/lib/stripe/services/issuing/fraud_liability_debit_service.rb +0 -83
- data/lib/stripe/services/margin_service.rb +0 -119
- data/lib/stripe/services/order_service.rb +0 -2268
- data/lib/stripe/services/payment_attempt_record_service.rb +0 -49
- data/lib/stripe/services/payment_record_service.rb +0 -542
- data/lib/stripe/services/privacy/redaction_job_service.rb +0 -231
- data/lib/stripe/services/privacy_service.rb +0 -13
- data/lib/stripe/services/quote_preview_subscription_schedule_service.rb +0 -35
- data/lib/stripe/services/tax/association_service.rb +0 -31
- data/lib/stripe/services/tax/form_service.rb +0 -100
- data/lib/stripe/services/terminal/reader_collected_data_service.rb +0 -28
- data/lib/stripe/services/v2/core/account_link_service.rb +0 -76
- data/lib/stripe/services/v2/core/account_service.rb +0 -4138
- data/lib/stripe/services/v2/core/accounts/person_service.rb +0 -1048
- data/lib/stripe/services/v2/core/vault/gb_bank_account_service.rb +0 -135
- data/lib/stripe/services/v2/core/vault/us_bank_account_service.rb +0 -109
- data/lib/stripe/services/v2/core/vault_service.rb +0 -18
- data/lib/stripe/services/v2/money_management/adjustment_service.rb +0 -75
- data/lib/stripe/services/v2/money_management/financial_account_service.rb +0 -44
- data/lib/stripe/services/v2/money_management/financial_address_service.rb +0 -81
- data/lib/stripe/services/v2/money_management/inbound_transfer_service.rb +0 -126
- data/lib/stripe/services/v2/money_management/outbound_payment_quote_service.rb +0 -96
- data/lib/stripe/services/v2/money_management/outbound_payment_service.rb +0 -202
- data/lib/stripe/services/v2/money_management/outbound_setup_intent_service.rb +0 -237
- data/lib/stripe/services/v2/money_management/outbound_transfer_service.rb +0 -174
- data/lib/stripe/services/v2/money_management/payout_method_service.rb +0 -95
- data/lib/stripe/services/v2/money_management/payout_methods_bank_account_spec_service.rb +0 -32
- data/lib/stripe/services/v2/money_management/received_credit_service.rb +0 -71
- data/lib/stripe/services/v2/money_management/received_debit_service.rb +0 -44
- data/lib/stripe/services/v2/money_management/transaction_entry_service.rb +0 -70
- data/lib/stripe/services/v2/money_management/transaction_service.rb +0 -74
- data/lib/stripe/services/v2/money_management_service.rb +0 -31
- data/lib/stripe/services/v2/test_helper_service.rb +0 -15
- data/lib/stripe/services/v2/test_helpers/financial_address_service.rb +0 -50
- data/rbi/stripe.rbi +0 -191867
@@ -148,7 +148,7 @@ module Stripe
|
|
148
148
|
attr_reader :cashapp_handle_redirect_or_display_qr_code
|
149
149
|
# Attribute for field redirect_to_url
|
150
150
|
attr_reader :redirect_to_url
|
151
|
-
# Type of the next action to perform
|
151
|
+
# Type of the next action to perform. Refer to the other child attributes under `next_action` for available values. Examples include: `redirect_to_url`, `use_stripe_sdk`, `alipay_handle_redirect`, `oxxo_display_details`, or `verify_with_microdeposits`.
|
152
152
|
attr_reader :type
|
153
153
|
# When confirming a SetupIntent with Stripe.js, Stripe.js depends on the contents of this dictionary to invoke authentication flows. The shape of the contents is subject to change and is only intended to be used by Stripe.js.
|
154
154
|
attr_reader :use_stripe_sdk
|
@@ -237,31 +237,6 @@ module Stripe
|
|
237
237
|
class Paypal < Stripe::StripeObject
|
238
238
|
# The PayPal Billing Agreement ID (BAID). This is an ID generated by PayPal which represents the mandate between the merchant and the customer.
|
239
239
|
attr_reader :billing_agreement_id
|
240
|
-
# Three-letter [ISO currency code](https://www.iso.org/iso-4217-currency-codes.html), in lowercase. Must be a [supported currency](https://stripe.com/docs/currencies).
|
241
|
-
attr_reader :currency
|
242
|
-
# The Stripe connected account IDs of the sellers on the platform for this transaction (optional). Only allowed when [separate charges and transfers](https://stripe.com/docs/connect/separate-charges-and-transfers) are used.
|
243
|
-
attr_reader :subsellers
|
244
|
-
end
|
245
|
-
|
246
|
-
class Payto < Stripe::StripeObject
|
247
|
-
class MandateOptions < Stripe::StripeObject
|
248
|
-
# Amount that will be collected. It is required when `amount_type` is `fixed`.
|
249
|
-
attr_reader :amount
|
250
|
-
# The type of amount that will be collected. The amount charged must be exact or up to the value of `amount` param for `fixed` or `maximum` type respectively.
|
251
|
-
attr_reader :amount_type
|
252
|
-
# Date, in YYYY-MM-DD format, after which payments will not be collected. Defaults to no end date.
|
253
|
-
attr_reader :end_date
|
254
|
-
# The periodicity at which payments will be collected.
|
255
|
-
attr_reader :payment_schedule
|
256
|
-
# The number of payments that will be made during a payment period. Defaults to 1 except for when `payment_schedule` is `adhoc`. In that case, it defaults to no limit.
|
257
|
-
attr_reader :payments_per_period
|
258
|
-
# The purpose for which payments are made. Defaults to retail.
|
259
|
-
attr_reader :purpose
|
260
|
-
# Date, in YYYY-MM-DD format, from which payments will be collected. Defaults to confirmation time.
|
261
|
-
attr_reader :start_date
|
262
|
-
end
|
263
|
-
# Attribute for field mandate_options
|
264
|
-
attr_reader :mandate_options
|
265
240
|
end
|
266
241
|
|
267
242
|
class SepaDebit < Stripe::StripeObject
|
@@ -278,18 +253,9 @@ module Stripe
|
|
278
253
|
class Filters < Stripe::StripeObject
|
279
254
|
# The account subcategories to use to filter for possible accounts to link. Valid subcategories are `checking` and `savings`.
|
280
255
|
attr_reader :account_subcategories
|
281
|
-
# The institution to use to filter for possible accounts to link.
|
282
|
-
attr_reader :institution
|
283
|
-
end
|
284
|
-
|
285
|
-
class ManualEntry < Stripe::StripeObject
|
286
|
-
# Settings for configuring manual entry of account details.
|
287
|
-
attr_reader :mode
|
288
256
|
end
|
289
257
|
# Attribute for field filters
|
290
258
|
attr_reader :filters
|
291
|
-
# Attribute for field manual_entry
|
292
|
-
attr_reader :manual_entry
|
293
259
|
# The list of permissions to request. The `payment_method` permission must be included.
|
294
260
|
attr_reader :permissions
|
295
261
|
# Data features requested to be retrieved upon account creation.
|
@@ -323,8 +289,6 @@ module Stripe
|
|
323
289
|
attr_reader :link
|
324
290
|
# Attribute for field paypal
|
325
291
|
attr_reader :paypal
|
326
|
-
# Attribute for field payto
|
327
|
-
attr_reader :payto
|
328
292
|
# Attribute for field sepa_debit
|
329
293
|
attr_reader :sepa_debit
|
330
294
|
# Attribute for field us_bank_account
|
@@ -357,8 +321,6 @@ module Stripe
|
|
357
321
|
attr_accessor :created
|
358
322
|
# Only return SetupIntents for the customer specified by this customer ID.
|
359
323
|
attr_accessor :customer
|
360
|
-
# Only return SetupIntents for the account specified by this customer ID.
|
361
|
-
attr_accessor :customer_account
|
362
324
|
# A cursor for use in pagination. `ending_before` is an object ID that defines your place in the list. For instance, if you make a list request and receive 100 objects, starting with `obj_bar`, your subsequent call can include `ending_before=obj_bar` in order to fetch the previous page of the list.
|
363
325
|
attr_accessor :ending_before
|
364
326
|
# Specifies which fields in the response should be expanded.
|
@@ -374,7 +336,6 @@ module Stripe
|
|
374
336
|
attach_to_self: nil,
|
375
337
|
created: nil,
|
376
338
|
customer: nil,
|
377
|
-
customer_account: nil,
|
378
339
|
ending_before: nil,
|
379
340
|
expand: nil,
|
380
341
|
limit: nil,
|
@@ -384,7 +345,6 @@ module Stripe
|
|
384
345
|
@attach_to_self = attach_to_self
|
385
346
|
@created = created
|
386
347
|
@customer = customer
|
387
|
-
@customer_account = customer_account
|
388
348
|
@ending_before = ending_before
|
389
349
|
@expand = expand
|
390
350
|
@limit = limit
|
@@ -410,8 +370,7 @@ module Stripe
|
|
410
370
|
|
411
371
|
class MandateData < Stripe::RequestParams
|
412
372
|
class CustomerAcceptance < Stripe::RequestParams
|
413
|
-
class Offline < Stripe::RequestParams
|
414
|
-
end
|
373
|
+
class Offline < Stripe::RequestParams; end
|
415
374
|
|
416
375
|
class Online < Stripe::RequestParams
|
417
376
|
# The IP address from which the Mandate was accepted by the customer.
|
@@ -464,20 +423,11 @@ module Stripe
|
|
464
423
|
end
|
465
424
|
end
|
466
425
|
|
467
|
-
class Affirm < Stripe::RequestParams
|
468
|
-
end
|
469
|
-
|
470
|
-
class
|
471
|
-
end
|
472
|
-
|
473
|
-
class Alipay < Stripe::RequestParams
|
474
|
-
end
|
475
|
-
|
476
|
-
class Alma < Stripe::RequestParams
|
477
|
-
end
|
478
|
-
|
479
|
-
class AmazonPay < Stripe::RequestParams
|
480
|
-
end
|
426
|
+
class Affirm < Stripe::RequestParams; end
|
427
|
+
class AfterpayClearpay < Stripe::RequestParams; end
|
428
|
+
class Alipay < Stripe::RequestParams; end
|
429
|
+
class Alma < Stripe::RequestParams; end
|
430
|
+
class AmazonPay < Stripe::RequestParams; end
|
481
431
|
|
482
432
|
class AuBecsDebit < Stripe::RequestParams
|
483
433
|
# The account number for the bank account.
|
@@ -503,11 +453,8 @@ module Stripe
|
|
503
453
|
end
|
504
454
|
end
|
505
455
|
|
506
|
-
class Bancontact < Stripe::RequestParams
|
507
|
-
end
|
508
|
-
|
509
|
-
class Billie < Stripe::RequestParams
|
510
|
-
end
|
456
|
+
class Bancontact < Stripe::RequestParams; end
|
457
|
+
class Billie < Stripe::RequestParams; end
|
511
458
|
|
512
459
|
class BillingDetails < Stripe::RequestParams
|
513
460
|
class Address < Stripe::RequestParams
|
@@ -560,8 +507,7 @@ module Stripe
|
|
560
507
|
end
|
561
508
|
end
|
562
509
|
|
563
|
-
class Blik < Stripe::RequestParams
|
564
|
-
end
|
510
|
+
class Blik < Stripe::RequestParams; end
|
565
511
|
|
566
512
|
class Boleto < Stripe::RequestParams
|
567
513
|
# The tax ID of the customer (CPF for individual consumers or CNPJ for businesses consumers)
|
@@ -572,11 +518,8 @@ module Stripe
|
|
572
518
|
end
|
573
519
|
end
|
574
520
|
|
575
|
-
class Cashapp < Stripe::RequestParams
|
576
|
-
end
|
577
|
-
|
578
|
-
class CustomerBalance < Stripe::RequestParams
|
579
|
-
end
|
521
|
+
class Cashapp < Stripe::RequestParams; end
|
522
|
+
class CustomerBalance < Stripe::RequestParams; end
|
580
523
|
|
581
524
|
class Eps < Stripe::RequestParams
|
582
525
|
# The customer's bank.
|
@@ -599,23 +542,8 @@ module Stripe
|
|
599
542
|
end
|
600
543
|
end
|
601
544
|
|
602
|
-
class Giropay < Stripe::RequestParams
|
603
|
-
end
|
604
|
-
|
605
|
-
class Gopay < Stripe::RequestParams
|
606
|
-
end
|
607
|
-
|
608
|
-
class Grabpay < Stripe::RequestParams
|
609
|
-
end
|
610
|
-
|
611
|
-
class IdBankTransfer < Stripe::RequestParams
|
612
|
-
# Bank where the account is held.
|
613
|
-
attr_accessor :bank
|
614
|
-
|
615
|
-
def initialize(bank: nil)
|
616
|
-
@bank = bank
|
617
|
-
end
|
618
|
-
end
|
545
|
+
class Giropay < Stripe::RequestParams; end
|
546
|
+
class Grabpay < Stripe::RequestParams; end
|
619
547
|
|
620
548
|
class Ideal < Stripe::RequestParams
|
621
549
|
# The customer's bank. Only use this parameter for existing customers. Don't use it for new customers.
|
@@ -626,11 +554,8 @@ module Stripe
|
|
626
554
|
end
|
627
555
|
end
|
628
556
|
|
629
|
-
class InteracPresent < Stripe::RequestParams
|
630
|
-
end
|
631
|
-
|
632
|
-
class KakaoPay < Stripe::RequestParams
|
633
|
-
end
|
557
|
+
class InteracPresent < Stripe::RequestParams; end
|
558
|
+
class KakaoPay < Stripe::RequestParams; end
|
634
559
|
|
635
560
|
class Klarna < Stripe::RequestParams
|
636
561
|
class Dob < Stripe::RequestParams
|
@@ -655,23 +580,11 @@ module Stripe
|
|
655
580
|
end
|
656
581
|
end
|
657
582
|
|
658
|
-
class Konbini < Stripe::RequestParams
|
659
|
-
end
|
660
|
-
|
661
|
-
class
|
662
|
-
end
|
663
|
-
|
664
|
-
class Link < Stripe::RequestParams
|
665
|
-
end
|
666
|
-
|
667
|
-
class MbWay < Stripe::RequestParams
|
668
|
-
end
|
669
|
-
|
670
|
-
class Mobilepay < Stripe::RequestParams
|
671
|
-
end
|
672
|
-
|
673
|
-
class Multibanco < Stripe::RequestParams
|
674
|
-
end
|
583
|
+
class Konbini < Stripe::RequestParams; end
|
584
|
+
class KrCard < Stripe::RequestParams; end
|
585
|
+
class Link < Stripe::RequestParams; end
|
586
|
+
class Mobilepay < Stripe::RequestParams; end
|
587
|
+
class Multibanco < Stripe::RequestParams; end
|
675
588
|
|
676
589
|
class NaverPay < Stripe::RequestParams
|
677
590
|
# Whether to use Naver Pay points or a card to fund this transaction. If not provided, this defaults to `card`.
|
@@ -713,8 +626,7 @@ module Stripe
|
|
713
626
|
end
|
714
627
|
end
|
715
628
|
|
716
|
-
class Oxxo < Stripe::RequestParams
|
717
|
-
end
|
629
|
+
class Oxxo < Stripe::RequestParams; end
|
718
630
|
|
719
631
|
class P24 < Stripe::RequestParams
|
720
632
|
# The customer's bank.
|
@@ -725,41 +637,12 @@ module Stripe
|
|
725
637
|
end
|
726
638
|
end
|
727
639
|
|
728
|
-
class PayByBank < Stripe::RequestParams
|
729
|
-
end
|
730
|
-
|
731
|
-
class
|
732
|
-
end
|
733
|
-
|
734
|
-
class Paynow < Stripe::RequestParams
|
735
|
-
end
|
736
|
-
|
737
|
-
class Paypal < Stripe::RequestParams
|
738
|
-
end
|
739
|
-
|
740
|
-
class Payto < Stripe::RequestParams
|
741
|
-
# The account number for the bank account.
|
742
|
-
attr_accessor :account_number
|
743
|
-
# Bank-State-Branch number of the bank account.
|
744
|
-
attr_accessor :bsb_number
|
745
|
-
# The PayID alias for the bank account.
|
746
|
-
attr_accessor :pay_id
|
747
|
-
|
748
|
-
def initialize(account_number: nil, bsb_number: nil, pay_id: nil)
|
749
|
-
@account_number = account_number
|
750
|
-
@bsb_number = bsb_number
|
751
|
-
@pay_id = pay_id
|
752
|
-
end
|
753
|
-
end
|
754
|
-
|
755
|
-
class Pix < Stripe::RequestParams
|
756
|
-
end
|
757
|
-
|
758
|
-
class Promptpay < Stripe::RequestParams
|
759
|
-
end
|
760
|
-
|
761
|
-
class Qris < Stripe::RequestParams
|
762
|
-
end
|
640
|
+
class PayByBank < Stripe::RequestParams; end
|
641
|
+
class Payco < Stripe::RequestParams; end
|
642
|
+
class Paynow < Stripe::RequestParams; end
|
643
|
+
class Paypal < Stripe::RequestParams; end
|
644
|
+
class Pix < Stripe::RequestParams; end
|
645
|
+
class Promptpay < Stripe::RequestParams; end
|
763
646
|
|
764
647
|
class RadarOptions < Stripe::RequestParams
|
765
648
|
# 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.
|
@@ -770,37 +653,9 @@ module Stripe
|
|
770
653
|
end
|
771
654
|
end
|
772
655
|
|
773
|
-
class
|
774
|
-
|
775
|
-
|
776
|
-
attr_accessor :day
|
777
|
-
# The month of birth, between 1 and 12.
|
778
|
-
attr_accessor :month
|
779
|
-
# The four-digit year of birth.
|
780
|
-
attr_accessor :year
|
781
|
-
|
782
|
-
def initialize(day: nil, month: nil, year: nil)
|
783
|
-
@day = day
|
784
|
-
@month = month
|
785
|
-
@year = year
|
786
|
-
end
|
787
|
-
end
|
788
|
-
# Customer's date of birth
|
789
|
-
attr_accessor :dob
|
790
|
-
|
791
|
-
def initialize(dob: nil)
|
792
|
-
@dob = dob
|
793
|
-
end
|
794
|
-
end
|
795
|
-
|
796
|
-
class RevolutPay < Stripe::RequestParams
|
797
|
-
end
|
798
|
-
|
799
|
-
class SamsungPay < Stripe::RequestParams
|
800
|
-
end
|
801
|
-
|
802
|
-
class Satispay < Stripe::RequestParams
|
803
|
-
end
|
656
|
+
class RevolutPay < Stripe::RequestParams; end
|
657
|
+
class SamsungPay < Stripe::RequestParams; end
|
658
|
+
class Satispay < Stripe::RequestParams; end
|
804
659
|
|
805
660
|
class SepaDebit < Stripe::RequestParams
|
806
661
|
# IBAN of the bank account.
|
@@ -811,9 +666,6 @@ module Stripe
|
|
811
666
|
end
|
812
667
|
end
|
813
668
|
|
814
|
-
class Shopeepay < Stripe::RequestParams
|
815
|
-
end
|
816
|
-
|
817
669
|
class Sofort < Stripe::RequestParams
|
818
670
|
# Two-letter ISO code representing the country the bank account is located in.
|
819
671
|
attr_accessor :country
|
@@ -823,23 +675,8 @@ module Stripe
|
|
823
675
|
end
|
824
676
|
end
|
825
677
|
|
826
|
-
class
|
827
|
-
|
828
|
-
attr_accessor :account
|
829
|
-
# The [source_type](https://docs.stripe.com/api/balance/balance_object#balance_object-available-source_types) of the balance
|
830
|
-
attr_accessor :source_type
|
831
|
-
|
832
|
-
def initialize(account: nil, source_type: nil)
|
833
|
-
@account = account
|
834
|
-
@source_type = source_type
|
835
|
-
end
|
836
|
-
end
|
837
|
-
|
838
|
-
class Swish < Stripe::RequestParams
|
839
|
-
end
|
840
|
-
|
841
|
-
class Twint < Stripe::RequestParams
|
842
|
-
end
|
678
|
+
class Swish < Stripe::RequestParams; end
|
679
|
+
class Twint < Stripe::RequestParams; end
|
843
680
|
|
844
681
|
class UsBankAccount < Stripe::RequestParams
|
845
682
|
# Account holder type: individual or company.
|
@@ -868,11 +705,8 @@ module Stripe
|
|
868
705
|
end
|
869
706
|
end
|
870
707
|
|
871
|
-
class WechatPay < Stripe::RequestParams
|
872
|
-
end
|
873
|
-
|
874
|
-
class Zip < Stripe::RequestParams
|
875
|
-
end
|
708
|
+
class WechatPay < Stripe::RequestParams; end
|
709
|
+
class Zip < Stripe::RequestParams; end
|
876
710
|
# If this is an `acss_debit` PaymentMethod, this hash contains details about the ACSS Debit payment method.
|
877
711
|
attr_accessor :acss_debit
|
878
712
|
# If this is an `affirm` PaymentMethod, this hash contains details about the Affirm payment method.
|
@@ -911,12 +745,8 @@ module Stripe
|
|
911
745
|
attr_accessor :fpx
|
912
746
|
# If this is a `giropay` PaymentMethod, this hash contains details about the Giropay payment method.
|
913
747
|
attr_accessor :giropay
|
914
|
-
# If this is a Gopay PaymentMethod, this hash contains details about the Gopay payment method.
|
915
|
-
attr_accessor :gopay
|
916
748
|
# If this is a `grabpay` PaymentMethod, this hash contains details about the GrabPay payment method.
|
917
749
|
attr_accessor :grabpay
|
918
|
-
# If this is an `IdBankTransfer` PaymentMethod, this hash contains details about the IdBankTransfer payment method.
|
919
|
-
attr_accessor :id_bank_transfer
|
920
750
|
# If this is an `ideal` PaymentMethod, this hash contains details about the iDEAL payment method.
|
921
751
|
attr_accessor :ideal
|
922
752
|
# If this is an `interac_present` PaymentMethod, this hash contains details about the Interac Present payment method.
|
@@ -931,8 +761,6 @@ module Stripe
|
|
931
761
|
attr_accessor :kr_card
|
932
762
|
# If this is an `Link` PaymentMethod, this hash contains details about the Link payment method.
|
933
763
|
attr_accessor :link
|
934
|
-
# If this is a MB WAY PaymentMethod, this hash contains details about the MB WAY payment method.
|
935
|
-
attr_accessor :mb_way
|
936
764
|
# Set of [key-value pairs](https://stripe.com/docs/api/metadata) that you can attach to an object. This can be useful for storing additional information about the object in a structured format. Individual keys can be unset by posting an empty value to them. All keys can be unset by posting an empty value to `metadata`.
|
937
765
|
attr_accessor :metadata
|
938
766
|
# If this is a `mobilepay` PaymentMethod, this hash contains details about the MobilePay payment method.
|
@@ -955,18 +783,12 @@ module Stripe
|
|
955
783
|
attr_accessor :paynow
|
956
784
|
# If this is a `paypal` PaymentMethod, this hash contains details about the PayPal payment method.
|
957
785
|
attr_accessor :paypal
|
958
|
-
# If this is a `payto` PaymentMethod, this hash contains details about the PayTo payment method.
|
959
|
-
attr_accessor :payto
|
960
786
|
# If this is a `pix` PaymentMethod, this hash contains details about the Pix payment method.
|
961
787
|
attr_accessor :pix
|
962
788
|
# If this is a `promptpay` PaymentMethod, this hash contains details about the PromptPay payment method.
|
963
789
|
attr_accessor :promptpay
|
964
|
-
# If this is a `qris` PaymentMethod, this hash contains details about the QRIS payment method.
|
965
|
-
attr_accessor :qris
|
966
790
|
# Options to configure Radar. See [Radar Session](https://stripe.com/docs/radar/radar-session) for more information.
|
967
791
|
attr_accessor :radar_options
|
968
|
-
# If this is a `rechnung` PaymentMethod, this hash contains details about the Rechnung payment method.
|
969
|
-
attr_accessor :rechnung
|
970
792
|
# If this is a `revolut_pay` PaymentMethod, this hash contains details about the Revolut Pay payment method.
|
971
793
|
attr_accessor :revolut_pay
|
972
794
|
# If this is a `samsung_pay` PaymentMethod, this hash contains details about the SamsungPay payment method.
|
@@ -975,12 +797,8 @@ module Stripe
|
|
975
797
|
attr_accessor :satispay
|
976
798
|
# If this is a `sepa_debit` PaymentMethod, this hash contains details about the SEPA debit bank account.
|
977
799
|
attr_accessor :sepa_debit
|
978
|
-
# If this is a Shopeepay PaymentMethod, this hash contains details about the Shopeepay payment method.
|
979
|
-
attr_accessor :shopeepay
|
980
800
|
# If this is a `sofort` PaymentMethod, this hash contains details about the SOFORT payment method.
|
981
801
|
attr_accessor :sofort
|
982
|
-
# This hash contains details about the Stripe balance payment method.
|
983
|
-
attr_accessor :stripe_balance
|
984
802
|
# If this is a `swish` PaymentMethod, this hash contains details about the Swish payment method.
|
985
803
|
attr_accessor :swish
|
986
804
|
# If this is a TWINT PaymentMethod, this hash contains details about the TWINT payment method.
|
@@ -1014,9 +832,7 @@ module Stripe
|
|
1014
832
|
eps: nil,
|
1015
833
|
fpx: nil,
|
1016
834
|
giropay: nil,
|
1017
|
-
gopay: nil,
|
1018
835
|
grabpay: nil,
|
1019
|
-
id_bank_transfer: nil,
|
1020
836
|
ideal: nil,
|
1021
837
|
interac_present: nil,
|
1022
838
|
kakao_pay: nil,
|
@@ -1024,7 +840,6 @@ module Stripe
|
|
1024
840
|
konbini: nil,
|
1025
841
|
kr_card: nil,
|
1026
842
|
link: nil,
|
1027
|
-
mb_way: nil,
|
1028
843
|
metadata: nil,
|
1029
844
|
mobilepay: nil,
|
1030
845
|
multibanco: nil,
|
@@ -1036,19 +851,14 @@ module Stripe
|
|
1036
851
|
payco: nil,
|
1037
852
|
paynow: nil,
|
1038
853
|
paypal: nil,
|
1039
|
-
payto: nil,
|
1040
854
|
pix: nil,
|
1041
855
|
promptpay: nil,
|
1042
|
-
qris: nil,
|
1043
856
|
radar_options: nil,
|
1044
|
-
rechnung: nil,
|
1045
857
|
revolut_pay: nil,
|
1046
858
|
samsung_pay: nil,
|
1047
859
|
satispay: nil,
|
1048
860
|
sepa_debit: nil,
|
1049
|
-
shopeepay: nil,
|
1050
861
|
sofort: nil,
|
1051
|
-
stripe_balance: nil,
|
1052
862
|
swish: nil,
|
1053
863
|
twint: nil,
|
1054
864
|
type: nil,
|
@@ -1075,9 +885,7 @@ module Stripe
|
|
1075
885
|
@eps = eps
|
1076
886
|
@fpx = fpx
|
1077
887
|
@giropay = giropay
|
1078
|
-
@gopay = gopay
|
1079
888
|
@grabpay = grabpay
|
1080
|
-
@id_bank_transfer = id_bank_transfer
|
1081
889
|
@ideal = ideal
|
1082
890
|
@interac_present = interac_present
|
1083
891
|
@kakao_pay = kakao_pay
|
@@ -1085,7 +893,6 @@ module Stripe
|
|
1085
893
|
@konbini = konbini
|
1086
894
|
@kr_card = kr_card
|
1087
895
|
@link = link
|
1088
|
-
@mb_way = mb_way
|
1089
896
|
@metadata = metadata
|
1090
897
|
@mobilepay = mobilepay
|
1091
898
|
@multibanco = multibanco
|
@@ -1097,19 +904,14 @@ module Stripe
|
|
1097
904
|
@payco = payco
|
1098
905
|
@paynow = paynow
|
1099
906
|
@paypal = paypal
|
1100
|
-
@payto = payto
|
1101
907
|
@pix = pix
|
1102
908
|
@promptpay = promptpay
|
1103
|
-
@qris = qris
|
1104
909
|
@radar_options = radar_options
|
1105
|
-
@rechnung = rechnung
|
1106
910
|
@revolut_pay = revolut_pay
|
1107
911
|
@samsung_pay = samsung_pay
|
1108
912
|
@satispay = satispay
|
1109
913
|
@sepa_debit = sepa_debit
|
1110
|
-
@shopeepay = shopeepay
|
1111
914
|
@sofort = sofort
|
1112
|
-
@stripe_balance = stripe_balance
|
1113
915
|
@swish = swish
|
1114
916
|
@twint = twint
|
1115
917
|
@type = type
|
@@ -1163,8 +965,7 @@ module Stripe
|
|
1163
965
|
end
|
1164
966
|
end
|
1165
967
|
|
1166
|
-
class AmazonPay < Stripe::RequestParams
|
1167
|
-
end
|
968
|
+
class AmazonPay < Stripe::RequestParams; end
|
1168
969
|
|
1169
970
|
class BacsDebit < Stripe::RequestParams
|
1170
971
|
class MandateOptions < Stripe::RequestParams
|
@@ -1330,8 +1131,7 @@ module Stripe
|
|
1330
1131
|
end
|
1331
1132
|
end
|
1332
1133
|
|
1333
|
-
class CardPresent < Stripe::RequestParams
|
1334
|
-
end
|
1134
|
+
class CardPresent < Stripe::RequestParams; end
|
1335
1135
|
|
1336
1136
|
class Link < Stripe::RequestParams
|
1337
1137
|
# [Deprecated] This is a legacy parameter that no longer has any function.
|
@@ -1345,58 +1145,9 @@ module Stripe
|
|
1345
1145
|
class Paypal < Stripe::RequestParams
|
1346
1146
|
# The PayPal Billing Agreement ID (BAID). This is an ID generated by PayPal which represents the mandate between the merchant and the customer.
|
1347
1147
|
attr_accessor :billing_agreement_id
|
1348
|
-
# Attribute for param field currency
|
1349
|
-
attr_accessor :currency
|
1350
|
-
# The Stripe connected account IDs of the sellers on the platform for this transaction (optional). Only allowed when [separate charges and transfers](https://stripe.com/docs/connect/separate-charges-and-transfers) are used.
|
1351
|
-
attr_accessor :subsellers
|
1352
1148
|
|
1353
|
-
def initialize(billing_agreement_id: nil
|
1149
|
+
def initialize(billing_agreement_id: nil)
|
1354
1150
|
@billing_agreement_id = billing_agreement_id
|
1355
|
-
@currency = currency
|
1356
|
-
@subsellers = subsellers
|
1357
|
-
end
|
1358
|
-
end
|
1359
|
-
|
1360
|
-
class Payto < Stripe::RequestParams
|
1361
|
-
class MandateOptions < Stripe::RequestParams
|
1362
|
-
# Amount that will be collected. It is required when `amount_type` is `fixed`.
|
1363
|
-
attr_accessor :amount
|
1364
|
-
# The type of amount that will be collected. The amount charged must be exact or up to the value of `amount` param for `fixed` or `maximum` type respectively.
|
1365
|
-
attr_accessor :amount_type
|
1366
|
-
# Date, in YYYY-MM-DD format, after which payments will not be collected. Defaults to no end date.
|
1367
|
-
attr_accessor :end_date
|
1368
|
-
# The periodicity at which payments will be collected.
|
1369
|
-
attr_accessor :payment_schedule
|
1370
|
-
# The number of payments that will be made during a payment period. Defaults to 1 except for when `payment_schedule` is `adhoc`. In that case, it defaults to no limit.
|
1371
|
-
attr_accessor :payments_per_period
|
1372
|
-
# The purpose for which payments are made. Defaults to retail.
|
1373
|
-
attr_accessor :purpose
|
1374
|
-
# Date, in YYYY-MM-DD format, from which payments will be collected. Defaults to confirmation time.
|
1375
|
-
attr_accessor :start_date
|
1376
|
-
|
1377
|
-
def initialize(
|
1378
|
-
amount: nil,
|
1379
|
-
amount_type: nil,
|
1380
|
-
end_date: nil,
|
1381
|
-
payment_schedule: nil,
|
1382
|
-
payments_per_period: nil,
|
1383
|
-
purpose: nil,
|
1384
|
-
start_date: nil
|
1385
|
-
)
|
1386
|
-
@amount = amount
|
1387
|
-
@amount_type = amount_type
|
1388
|
-
@end_date = end_date
|
1389
|
-
@payment_schedule = payment_schedule
|
1390
|
-
@payments_per_period = payments_per_period
|
1391
|
-
@purpose = purpose
|
1392
|
-
@start_date = start_date
|
1393
|
-
end
|
1394
|
-
end
|
1395
|
-
# Additional fields for Mandate creation.
|
1396
|
-
attr_accessor :mandate_options
|
1397
|
-
|
1398
|
-
def initialize(mandate_options: nil)
|
1399
|
-
@mandate_options = mandate_options
|
1400
1151
|
end
|
1401
1152
|
end
|
1402
1153
|
|
@@ -1422,27 +1173,13 @@ module Stripe
|
|
1422
1173
|
class Filters < Stripe::RequestParams
|
1423
1174
|
# The account subcategories to use to filter for selectable accounts. Valid subcategories are `checking` and `savings`.
|
1424
1175
|
attr_accessor :account_subcategories
|
1425
|
-
# ID of the institution to use to filter for selectable accounts.
|
1426
|
-
attr_accessor :institution
|
1427
1176
|
|
1428
|
-
def initialize(account_subcategories: nil
|
1177
|
+
def initialize(account_subcategories: nil)
|
1429
1178
|
@account_subcategories = account_subcategories
|
1430
|
-
@institution = institution
|
1431
|
-
end
|
1432
|
-
end
|
1433
|
-
|
1434
|
-
class ManualEntry < Stripe::RequestParams
|
1435
|
-
# Settings for configuring manual entry of account details.
|
1436
|
-
attr_accessor :mode
|
1437
|
-
|
1438
|
-
def initialize(mode: nil)
|
1439
|
-
@mode = mode
|
1440
1179
|
end
|
1441
1180
|
end
|
1442
1181
|
# Provide filters for the linked accounts that the customer can select for the payment method.
|
1443
1182
|
attr_accessor :filters
|
1444
|
-
# Customize manual entry behavior
|
1445
|
-
attr_accessor :manual_entry
|
1446
1183
|
# The list of permissions to request. If this parameter is passed, the `payment_method` permission must be included. Valid permissions include: `balances`, `ownership`, `payment_method`, and `transactions`.
|
1447
1184
|
attr_accessor :permissions
|
1448
1185
|
# List of data features that you would like to retrieve upon account creation.
|
@@ -1450,15 +1187,8 @@ module Stripe
|
|
1450
1187
|
# For webview integrations only. Upon completing OAuth login in the native browser, the user will be redirected to this URL to return to your app.
|
1451
1188
|
attr_accessor :return_url
|
1452
1189
|
|
1453
|
-
def initialize(
|
1454
|
-
filters: nil,
|
1455
|
-
manual_entry: nil,
|
1456
|
-
permissions: nil,
|
1457
|
-
prefetch: nil,
|
1458
|
-
return_url: nil
|
1459
|
-
)
|
1190
|
+
def initialize(filters: nil, permissions: nil, prefetch: nil, return_url: nil)
|
1460
1191
|
@filters = filters
|
1461
|
-
@manual_entry = manual_entry
|
1462
1192
|
@permissions = permissions
|
1463
1193
|
@prefetch = prefetch
|
1464
1194
|
@return_url = return_url
|
@@ -1517,8 +1247,6 @@ module Stripe
|
|
1517
1247
|
attr_accessor :link
|
1518
1248
|
# If this is a `paypal` PaymentMethod, this sub-hash contains details about the PayPal payment method options.
|
1519
1249
|
attr_accessor :paypal
|
1520
|
-
# If this is a `payto` SetupIntent, this sub-hash contains details about the PayTo payment method options.
|
1521
|
-
attr_accessor :payto
|
1522
1250
|
# If this is a `sepa_debit` SetupIntent, this sub-hash contains details about the SEPA Debit payment method options.
|
1523
1251
|
attr_accessor :sepa_debit
|
1524
1252
|
# If this is a `us_bank_account` SetupIntent, this sub-hash contains details about the US bank account payment method options.
|
@@ -1532,7 +1260,6 @@ module Stripe
|
|
1532
1260
|
card_present: nil,
|
1533
1261
|
link: nil,
|
1534
1262
|
paypal: nil,
|
1535
|
-
payto: nil,
|
1536
1263
|
sepa_debit: nil,
|
1537
1264
|
us_bank_account: nil
|
1538
1265
|
)
|
@@ -1543,7 +1270,6 @@ module Stripe
|
|
1543
1270
|
@card_present = card_present
|
1544
1271
|
@link = link
|
1545
1272
|
@paypal = paypal
|
1546
|
-
@payto = payto
|
1547
1273
|
@sepa_debit = sepa_debit
|
1548
1274
|
@us_bank_account = us_bank_account
|
1549
1275
|
end
|
@@ -1576,10 +1302,6 @@ module Stripe
|
|
1576
1302
|
#
|
1577
1303
|
# If present, the SetupIntent's payment method will be attached to the Customer on successful setup. Payment methods attached to other Customers cannot be used with this SetupIntent.
|
1578
1304
|
attr_accessor :customer
|
1579
|
-
# ID of the Account this SetupIntent belongs to, if one exists.
|
1580
|
-
#
|
1581
|
-
# If present, the SetupIntent's payment method will be attached to the Account on successful setup. Payment methods attached to other Accounts cannot be used with this SetupIntent.
|
1582
|
-
attr_accessor :customer_account
|
1583
1305
|
# An arbitrary string attached to the object. Often useful for displaying to users.
|
1584
1306
|
attr_accessor :description
|
1585
1307
|
# Specifies which fields in the response should be expanded.
|
@@ -1622,7 +1344,6 @@ module Stripe
|
|
1622
1344
|
confirm: nil,
|
1623
1345
|
confirmation_token: nil,
|
1624
1346
|
customer: nil,
|
1625
|
-
customer_account: nil,
|
1626
1347
|
description: nil,
|
1627
1348
|
expand: nil,
|
1628
1349
|
flow_directions: nil,
|
@@ -1644,7 +1365,6 @@ module Stripe
|
|
1644
1365
|
@confirm = confirm
|
1645
1366
|
@confirmation_token = confirmation_token
|
1646
1367
|
@customer = customer
|
1647
|
-
@customer_account = customer_account
|
1648
1368
|
@description = description
|
1649
1369
|
@expand = expand
|
1650
1370
|
@flow_directions = flow_directions
|
@@ -1680,20 +1400,11 @@ module Stripe
|
|
1680
1400
|
end
|
1681
1401
|
end
|
1682
1402
|
|
1683
|
-
class Affirm < Stripe::RequestParams
|
1684
|
-
end
|
1685
|
-
|
1686
|
-
class
|
1687
|
-
end
|
1688
|
-
|
1689
|
-
class Alipay < Stripe::RequestParams
|
1690
|
-
end
|
1691
|
-
|
1692
|
-
class Alma < Stripe::RequestParams
|
1693
|
-
end
|
1694
|
-
|
1695
|
-
class AmazonPay < Stripe::RequestParams
|
1696
|
-
end
|
1403
|
+
class Affirm < Stripe::RequestParams; end
|
1404
|
+
class AfterpayClearpay < Stripe::RequestParams; end
|
1405
|
+
class Alipay < Stripe::RequestParams; end
|
1406
|
+
class Alma < Stripe::RequestParams; end
|
1407
|
+
class AmazonPay < Stripe::RequestParams; end
|
1697
1408
|
|
1698
1409
|
class AuBecsDebit < Stripe::RequestParams
|
1699
1410
|
# The account number for the bank account.
|
@@ -1719,11 +1430,8 @@ module Stripe
|
|
1719
1430
|
end
|
1720
1431
|
end
|
1721
1432
|
|
1722
|
-
class Bancontact < Stripe::RequestParams
|
1723
|
-
end
|
1724
|
-
|
1725
|
-
class Billie < Stripe::RequestParams
|
1726
|
-
end
|
1433
|
+
class Bancontact < Stripe::RequestParams; end
|
1434
|
+
class Billie < Stripe::RequestParams; end
|
1727
1435
|
|
1728
1436
|
class BillingDetails < Stripe::RequestParams
|
1729
1437
|
class Address < Stripe::RequestParams
|
@@ -1776,8 +1484,7 @@ module Stripe
|
|
1776
1484
|
end
|
1777
1485
|
end
|
1778
1486
|
|
1779
|
-
class Blik < Stripe::RequestParams
|
1780
|
-
end
|
1487
|
+
class Blik < Stripe::RequestParams; end
|
1781
1488
|
|
1782
1489
|
class Boleto < Stripe::RequestParams
|
1783
1490
|
# The tax ID of the customer (CPF for individual consumers or CNPJ for businesses consumers)
|
@@ -1788,11 +1495,8 @@ module Stripe
|
|
1788
1495
|
end
|
1789
1496
|
end
|
1790
1497
|
|
1791
|
-
class Cashapp < Stripe::RequestParams
|
1792
|
-
end
|
1793
|
-
|
1794
|
-
class CustomerBalance < Stripe::RequestParams
|
1795
|
-
end
|
1498
|
+
class Cashapp < Stripe::RequestParams; end
|
1499
|
+
class CustomerBalance < Stripe::RequestParams; end
|
1796
1500
|
|
1797
1501
|
class Eps < Stripe::RequestParams
|
1798
1502
|
# The customer's bank.
|
@@ -1815,23 +1519,8 @@ module Stripe
|
|
1815
1519
|
end
|
1816
1520
|
end
|
1817
1521
|
|
1818
|
-
class Giropay < Stripe::RequestParams
|
1819
|
-
end
|
1820
|
-
|
1821
|
-
class Gopay < Stripe::RequestParams
|
1822
|
-
end
|
1823
|
-
|
1824
|
-
class Grabpay < Stripe::RequestParams
|
1825
|
-
end
|
1826
|
-
|
1827
|
-
class IdBankTransfer < Stripe::RequestParams
|
1828
|
-
# Bank where the account is held.
|
1829
|
-
attr_accessor :bank
|
1830
|
-
|
1831
|
-
def initialize(bank: nil)
|
1832
|
-
@bank = bank
|
1833
|
-
end
|
1834
|
-
end
|
1522
|
+
class Giropay < Stripe::RequestParams; end
|
1523
|
+
class Grabpay < Stripe::RequestParams; end
|
1835
1524
|
|
1836
1525
|
class Ideal < Stripe::RequestParams
|
1837
1526
|
# The customer's bank. Only use this parameter for existing customers. Don't use it for new customers.
|
@@ -1842,11 +1531,8 @@ module Stripe
|
|
1842
1531
|
end
|
1843
1532
|
end
|
1844
1533
|
|
1845
|
-
class InteracPresent < Stripe::RequestParams
|
1846
|
-
end
|
1847
|
-
|
1848
|
-
class KakaoPay < Stripe::RequestParams
|
1849
|
-
end
|
1534
|
+
class InteracPresent < Stripe::RequestParams; end
|
1535
|
+
class KakaoPay < Stripe::RequestParams; end
|
1850
1536
|
|
1851
1537
|
class Klarna < Stripe::RequestParams
|
1852
1538
|
class Dob < Stripe::RequestParams
|
@@ -1871,23 +1557,11 @@ module Stripe
|
|
1871
1557
|
end
|
1872
1558
|
end
|
1873
1559
|
|
1874
|
-
class Konbini < Stripe::RequestParams
|
1875
|
-
end
|
1876
|
-
|
1877
|
-
class
|
1878
|
-
end
|
1879
|
-
|
1880
|
-
class Link < Stripe::RequestParams
|
1881
|
-
end
|
1882
|
-
|
1883
|
-
class MbWay < Stripe::RequestParams
|
1884
|
-
end
|
1885
|
-
|
1886
|
-
class Mobilepay < Stripe::RequestParams
|
1887
|
-
end
|
1888
|
-
|
1889
|
-
class Multibanco < Stripe::RequestParams
|
1890
|
-
end
|
1560
|
+
class Konbini < Stripe::RequestParams; end
|
1561
|
+
class KrCard < Stripe::RequestParams; end
|
1562
|
+
class Link < Stripe::RequestParams; end
|
1563
|
+
class Mobilepay < Stripe::RequestParams; end
|
1564
|
+
class Multibanco < Stripe::RequestParams; end
|
1891
1565
|
|
1892
1566
|
class NaverPay < Stripe::RequestParams
|
1893
1567
|
# Whether to use Naver Pay points or a card to fund this transaction. If not provided, this defaults to `card`.
|
@@ -1929,8 +1603,7 @@ module Stripe
|
|
1929
1603
|
end
|
1930
1604
|
end
|
1931
1605
|
|
1932
|
-
class Oxxo < Stripe::RequestParams
|
1933
|
-
end
|
1606
|
+
class Oxxo < Stripe::RequestParams; end
|
1934
1607
|
|
1935
1608
|
class P24 < Stripe::RequestParams
|
1936
1609
|
# The customer's bank.
|
@@ -1941,41 +1614,12 @@ module Stripe
|
|
1941
1614
|
end
|
1942
1615
|
end
|
1943
1616
|
|
1944
|
-
class PayByBank < Stripe::RequestParams
|
1945
|
-
end
|
1946
|
-
|
1947
|
-
class
|
1948
|
-
end
|
1949
|
-
|
1950
|
-
class Paynow < Stripe::RequestParams
|
1951
|
-
end
|
1952
|
-
|
1953
|
-
class Paypal < Stripe::RequestParams
|
1954
|
-
end
|
1955
|
-
|
1956
|
-
class Payto < Stripe::RequestParams
|
1957
|
-
# The account number for the bank account.
|
1958
|
-
attr_accessor :account_number
|
1959
|
-
# Bank-State-Branch number of the bank account.
|
1960
|
-
attr_accessor :bsb_number
|
1961
|
-
# The PayID alias for the bank account.
|
1962
|
-
attr_accessor :pay_id
|
1963
|
-
|
1964
|
-
def initialize(account_number: nil, bsb_number: nil, pay_id: nil)
|
1965
|
-
@account_number = account_number
|
1966
|
-
@bsb_number = bsb_number
|
1967
|
-
@pay_id = pay_id
|
1968
|
-
end
|
1969
|
-
end
|
1970
|
-
|
1971
|
-
class Pix < Stripe::RequestParams
|
1972
|
-
end
|
1973
|
-
|
1974
|
-
class Promptpay < Stripe::RequestParams
|
1975
|
-
end
|
1976
|
-
|
1977
|
-
class Qris < Stripe::RequestParams
|
1978
|
-
end
|
1617
|
+
class PayByBank < Stripe::RequestParams; end
|
1618
|
+
class Payco < Stripe::RequestParams; end
|
1619
|
+
class Paynow < Stripe::RequestParams; end
|
1620
|
+
class Paypal < Stripe::RequestParams; end
|
1621
|
+
class Pix < Stripe::RequestParams; end
|
1622
|
+
class Promptpay < Stripe::RequestParams; end
|
1979
1623
|
|
1980
1624
|
class RadarOptions < Stripe::RequestParams
|
1981
1625
|
# 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.
|
@@ -1986,37 +1630,9 @@ module Stripe
|
|
1986
1630
|
end
|
1987
1631
|
end
|
1988
1632
|
|
1989
|
-
class
|
1990
|
-
|
1991
|
-
|
1992
|
-
attr_accessor :day
|
1993
|
-
# The month of birth, between 1 and 12.
|
1994
|
-
attr_accessor :month
|
1995
|
-
# The four-digit year of birth.
|
1996
|
-
attr_accessor :year
|
1997
|
-
|
1998
|
-
def initialize(day: nil, month: nil, year: nil)
|
1999
|
-
@day = day
|
2000
|
-
@month = month
|
2001
|
-
@year = year
|
2002
|
-
end
|
2003
|
-
end
|
2004
|
-
# Customer's date of birth
|
2005
|
-
attr_accessor :dob
|
2006
|
-
|
2007
|
-
def initialize(dob: nil)
|
2008
|
-
@dob = dob
|
2009
|
-
end
|
2010
|
-
end
|
2011
|
-
|
2012
|
-
class RevolutPay < Stripe::RequestParams
|
2013
|
-
end
|
2014
|
-
|
2015
|
-
class SamsungPay < Stripe::RequestParams
|
2016
|
-
end
|
2017
|
-
|
2018
|
-
class Satispay < Stripe::RequestParams
|
2019
|
-
end
|
1633
|
+
class RevolutPay < Stripe::RequestParams; end
|
1634
|
+
class SamsungPay < Stripe::RequestParams; end
|
1635
|
+
class Satispay < Stripe::RequestParams; end
|
2020
1636
|
|
2021
1637
|
class SepaDebit < Stripe::RequestParams
|
2022
1638
|
# IBAN of the bank account.
|
@@ -2027,9 +1643,6 @@ module Stripe
|
|
2027
1643
|
end
|
2028
1644
|
end
|
2029
1645
|
|
2030
|
-
class Shopeepay < Stripe::RequestParams
|
2031
|
-
end
|
2032
|
-
|
2033
1646
|
class Sofort < Stripe::RequestParams
|
2034
1647
|
# Two-letter ISO code representing the country the bank account is located in.
|
2035
1648
|
attr_accessor :country
|
@@ -2039,23 +1652,8 @@ module Stripe
|
|
2039
1652
|
end
|
2040
1653
|
end
|
2041
1654
|
|
2042
|
-
class
|
2043
|
-
|
2044
|
-
attr_accessor :account
|
2045
|
-
# The [source_type](https://docs.stripe.com/api/balance/balance_object#balance_object-available-source_types) of the balance
|
2046
|
-
attr_accessor :source_type
|
2047
|
-
|
2048
|
-
def initialize(account: nil, source_type: nil)
|
2049
|
-
@account = account
|
2050
|
-
@source_type = source_type
|
2051
|
-
end
|
2052
|
-
end
|
2053
|
-
|
2054
|
-
class Swish < Stripe::RequestParams
|
2055
|
-
end
|
2056
|
-
|
2057
|
-
class Twint < Stripe::RequestParams
|
2058
|
-
end
|
1655
|
+
class Swish < Stripe::RequestParams; end
|
1656
|
+
class Twint < Stripe::RequestParams; end
|
2059
1657
|
|
2060
1658
|
class UsBankAccount < Stripe::RequestParams
|
2061
1659
|
# Account holder type: individual or company.
|
@@ -2084,11 +1682,8 @@ module Stripe
|
|
2084
1682
|
end
|
2085
1683
|
end
|
2086
1684
|
|
2087
|
-
class WechatPay < Stripe::RequestParams
|
2088
|
-
end
|
2089
|
-
|
2090
|
-
class Zip < Stripe::RequestParams
|
2091
|
-
end
|
1685
|
+
class WechatPay < Stripe::RequestParams; end
|
1686
|
+
class Zip < Stripe::RequestParams; end
|
2092
1687
|
# If this is an `acss_debit` PaymentMethod, this hash contains details about the ACSS Debit payment method.
|
2093
1688
|
attr_accessor :acss_debit
|
2094
1689
|
# If this is an `affirm` PaymentMethod, this hash contains details about the Affirm payment method.
|
@@ -2127,12 +1722,8 @@ module Stripe
|
|
2127
1722
|
attr_accessor :fpx
|
2128
1723
|
# If this is a `giropay` PaymentMethod, this hash contains details about the Giropay payment method.
|
2129
1724
|
attr_accessor :giropay
|
2130
|
-
# If this is a Gopay PaymentMethod, this hash contains details about the Gopay payment method.
|
2131
|
-
attr_accessor :gopay
|
2132
1725
|
# If this is a `grabpay` PaymentMethod, this hash contains details about the GrabPay payment method.
|
2133
1726
|
attr_accessor :grabpay
|
2134
|
-
# If this is an `IdBankTransfer` PaymentMethod, this hash contains details about the IdBankTransfer payment method.
|
2135
|
-
attr_accessor :id_bank_transfer
|
2136
1727
|
# If this is an `ideal` PaymentMethod, this hash contains details about the iDEAL payment method.
|
2137
1728
|
attr_accessor :ideal
|
2138
1729
|
# If this is an `interac_present` PaymentMethod, this hash contains details about the Interac Present payment method.
|
@@ -2147,8 +1738,6 @@ module Stripe
|
|
2147
1738
|
attr_accessor :kr_card
|
2148
1739
|
# If this is an `Link` PaymentMethod, this hash contains details about the Link payment method.
|
2149
1740
|
attr_accessor :link
|
2150
|
-
# If this is a MB WAY PaymentMethod, this hash contains details about the MB WAY payment method.
|
2151
|
-
attr_accessor :mb_way
|
2152
1741
|
# Set of [key-value pairs](https://stripe.com/docs/api/metadata) that you can attach to an object. This can be useful for storing additional information about the object in a structured format. Individual keys can be unset by posting an empty value to them. All keys can be unset by posting an empty value to `metadata`.
|
2153
1742
|
attr_accessor :metadata
|
2154
1743
|
# If this is a `mobilepay` PaymentMethod, this hash contains details about the MobilePay payment method.
|
@@ -2171,18 +1760,12 @@ module Stripe
|
|
2171
1760
|
attr_accessor :paynow
|
2172
1761
|
# If this is a `paypal` PaymentMethod, this hash contains details about the PayPal payment method.
|
2173
1762
|
attr_accessor :paypal
|
2174
|
-
# If this is a `payto` PaymentMethod, this hash contains details about the PayTo payment method.
|
2175
|
-
attr_accessor :payto
|
2176
1763
|
# If this is a `pix` PaymentMethod, this hash contains details about the Pix payment method.
|
2177
1764
|
attr_accessor :pix
|
2178
1765
|
# If this is a `promptpay` PaymentMethod, this hash contains details about the PromptPay payment method.
|
2179
1766
|
attr_accessor :promptpay
|
2180
|
-
# If this is a `qris` PaymentMethod, this hash contains details about the QRIS payment method.
|
2181
|
-
attr_accessor :qris
|
2182
1767
|
# Options to configure Radar. See [Radar Session](https://stripe.com/docs/radar/radar-session) for more information.
|
2183
1768
|
attr_accessor :radar_options
|
2184
|
-
# If this is a `rechnung` PaymentMethod, this hash contains details about the Rechnung payment method.
|
2185
|
-
attr_accessor :rechnung
|
2186
1769
|
# If this is a `revolut_pay` PaymentMethod, this hash contains details about the Revolut Pay payment method.
|
2187
1770
|
attr_accessor :revolut_pay
|
2188
1771
|
# If this is a `samsung_pay` PaymentMethod, this hash contains details about the SamsungPay payment method.
|
@@ -2191,12 +1774,8 @@ module Stripe
|
|
2191
1774
|
attr_accessor :satispay
|
2192
1775
|
# If this is a `sepa_debit` PaymentMethod, this hash contains details about the SEPA debit bank account.
|
2193
1776
|
attr_accessor :sepa_debit
|
2194
|
-
# If this is a Shopeepay PaymentMethod, this hash contains details about the Shopeepay payment method.
|
2195
|
-
attr_accessor :shopeepay
|
2196
1777
|
# If this is a `sofort` PaymentMethod, this hash contains details about the SOFORT payment method.
|
2197
1778
|
attr_accessor :sofort
|
2198
|
-
# This hash contains details about the Stripe balance payment method.
|
2199
|
-
attr_accessor :stripe_balance
|
2200
1779
|
# If this is a `swish` PaymentMethod, this hash contains details about the Swish payment method.
|
2201
1780
|
attr_accessor :swish
|
2202
1781
|
# If this is a TWINT PaymentMethod, this hash contains details about the TWINT payment method.
|
@@ -2230,9 +1809,7 @@ module Stripe
|
|
2230
1809
|
eps: nil,
|
2231
1810
|
fpx: nil,
|
2232
1811
|
giropay: nil,
|
2233
|
-
gopay: nil,
|
2234
1812
|
grabpay: nil,
|
2235
|
-
id_bank_transfer: nil,
|
2236
1813
|
ideal: nil,
|
2237
1814
|
interac_present: nil,
|
2238
1815
|
kakao_pay: nil,
|
@@ -2240,7 +1817,6 @@ module Stripe
|
|
2240
1817
|
konbini: nil,
|
2241
1818
|
kr_card: nil,
|
2242
1819
|
link: nil,
|
2243
|
-
mb_way: nil,
|
2244
1820
|
metadata: nil,
|
2245
1821
|
mobilepay: nil,
|
2246
1822
|
multibanco: nil,
|
@@ -2252,19 +1828,14 @@ module Stripe
|
|
2252
1828
|
payco: nil,
|
2253
1829
|
paynow: nil,
|
2254
1830
|
paypal: nil,
|
2255
|
-
payto: nil,
|
2256
1831
|
pix: nil,
|
2257
1832
|
promptpay: nil,
|
2258
|
-
qris: nil,
|
2259
1833
|
radar_options: nil,
|
2260
|
-
rechnung: nil,
|
2261
1834
|
revolut_pay: nil,
|
2262
1835
|
samsung_pay: nil,
|
2263
1836
|
satispay: nil,
|
2264
1837
|
sepa_debit: nil,
|
2265
|
-
shopeepay: nil,
|
2266
1838
|
sofort: nil,
|
2267
|
-
stripe_balance: nil,
|
2268
1839
|
swish: nil,
|
2269
1840
|
twint: nil,
|
2270
1841
|
type: nil,
|
@@ -2291,9 +1862,7 @@ module Stripe
|
|
2291
1862
|
@eps = eps
|
2292
1863
|
@fpx = fpx
|
2293
1864
|
@giropay = giropay
|
2294
|
-
@gopay = gopay
|
2295
1865
|
@grabpay = grabpay
|
2296
|
-
@id_bank_transfer = id_bank_transfer
|
2297
1866
|
@ideal = ideal
|
2298
1867
|
@interac_present = interac_present
|
2299
1868
|
@kakao_pay = kakao_pay
|
@@ -2301,7 +1870,6 @@ module Stripe
|
|
2301
1870
|
@konbini = konbini
|
2302
1871
|
@kr_card = kr_card
|
2303
1872
|
@link = link
|
2304
|
-
@mb_way = mb_way
|
2305
1873
|
@metadata = metadata
|
2306
1874
|
@mobilepay = mobilepay
|
2307
1875
|
@multibanco = multibanco
|
@@ -2313,19 +1881,14 @@ module Stripe
|
|
2313
1881
|
@payco = payco
|
2314
1882
|
@paynow = paynow
|
2315
1883
|
@paypal = paypal
|
2316
|
-
@payto = payto
|
2317
1884
|
@pix = pix
|
2318
1885
|
@promptpay = promptpay
|
2319
|
-
@qris = qris
|
2320
1886
|
@radar_options = radar_options
|
2321
|
-
@rechnung = rechnung
|
2322
1887
|
@revolut_pay = revolut_pay
|
2323
1888
|
@samsung_pay = samsung_pay
|
2324
1889
|
@satispay = satispay
|
2325
1890
|
@sepa_debit = sepa_debit
|
2326
|
-
@shopeepay = shopeepay
|
2327
1891
|
@sofort = sofort
|
2328
|
-
@stripe_balance = stripe_balance
|
2329
1892
|
@swish = swish
|
2330
1893
|
@twint = twint
|
2331
1894
|
@type = type
|
@@ -2379,8 +1942,7 @@ module Stripe
|
|
2379
1942
|
end
|
2380
1943
|
end
|
2381
1944
|
|
2382
|
-
class AmazonPay < Stripe::RequestParams
|
2383
|
-
end
|
1945
|
+
class AmazonPay < Stripe::RequestParams; end
|
2384
1946
|
|
2385
1947
|
class BacsDebit < Stripe::RequestParams
|
2386
1948
|
class MandateOptions < Stripe::RequestParams
|
@@ -2546,8 +2108,7 @@ module Stripe
|
|
2546
2108
|
end
|
2547
2109
|
end
|
2548
2110
|
|
2549
|
-
class CardPresent < Stripe::RequestParams
|
2550
|
-
end
|
2111
|
+
class CardPresent < Stripe::RequestParams; end
|
2551
2112
|
|
2552
2113
|
class Link < Stripe::RequestParams
|
2553
2114
|
# [Deprecated] This is a legacy parameter that no longer has any function.
|
@@ -2561,58 +2122,9 @@ module Stripe
|
|
2561
2122
|
class Paypal < Stripe::RequestParams
|
2562
2123
|
# The PayPal Billing Agreement ID (BAID). This is an ID generated by PayPal which represents the mandate between the merchant and the customer.
|
2563
2124
|
attr_accessor :billing_agreement_id
|
2564
|
-
# Attribute for param field currency
|
2565
|
-
attr_accessor :currency
|
2566
|
-
# The Stripe connected account IDs of the sellers on the platform for this transaction (optional). Only allowed when [separate charges and transfers](https://stripe.com/docs/connect/separate-charges-and-transfers) are used.
|
2567
|
-
attr_accessor :subsellers
|
2568
2125
|
|
2569
|
-
def initialize(billing_agreement_id: nil
|
2126
|
+
def initialize(billing_agreement_id: nil)
|
2570
2127
|
@billing_agreement_id = billing_agreement_id
|
2571
|
-
@currency = currency
|
2572
|
-
@subsellers = subsellers
|
2573
|
-
end
|
2574
|
-
end
|
2575
|
-
|
2576
|
-
class Payto < Stripe::RequestParams
|
2577
|
-
class MandateOptions < Stripe::RequestParams
|
2578
|
-
# Amount that will be collected. It is required when `amount_type` is `fixed`.
|
2579
|
-
attr_accessor :amount
|
2580
|
-
# The type of amount that will be collected. The amount charged must be exact or up to the value of `amount` param for `fixed` or `maximum` type respectively.
|
2581
|
-
attr_accessor :amount_type
|
2582
|
-
# Date, in YYYY-MM-DD format, after which payments will not be collected. Defaults to no end date.
|
2583
|
-
attr_accessor :end_date
|
2584
|
-
# The periodicity at which payments will be collected.
|
2585
|
-
attr_accessor :payment_schedule
|
2586
|
-
# The number of payments that will be made during a payment period. Defaults to 1 except for when `payment_schedule` is `adhoc`. In that case, it defaults to no limit.
|
2587
|
-
attr_accessor :payments_per_period
|
2588
|
-
# The purpose for which payments are made. Defaults to retail.
|
2589
|
-
attr_accessor :purpose
|
2590
|
-
# Date, in YYYY-MM-DD format, from which payments will be collected. Defaults to confirmation time.
|
2591
|
-
attr_accessor :start_date
|
2592
|
-
|
2593
|
-
def initialize(
|
2594
|
-
amount: nil,
|
2595
|
-
amount_type: nil,
|
2596
|
-
end_date: nil,
|
2597
|
-
payment_schedule: nil,
|
2598
|
-
payments_per_period: nil,
|
2599
|
-
purpose: nil,
|
2600
|
-
start_date: nil
|
2601
|
-
)
|
2602
|
-
@amount = amount
|
2603
|
-
@amount_type = amount_type
|
2604
|
-
@end_date = end_date
|
2605
|
-
@payment_schedule = payment_schedule
|
2606
|
-
@payments_per_period = payments_per_period
|
2607
|
-
@purpose = purpose
|
2608
|
-
@start_date = start_date
|
2609
|
-
end
|
2610
|
-
end
|
2611
|
-
# Additional fields for Mandate creation.
|
2612
|
-
attr_accessor :mandate_options
|
2613
|
-
|
2614
|
-
def initialize(mandate_options: nil)
|
2615
|
-
@mandate_options = mandate_options
|
2616
2128
|
end
|
2617
2129
|
end
|
2618
2130
|
|
@@ -2638,27 +2150,13 @@ module Stripe
|
|
2638
2150
|
class Filters < Stripe::RequestParams
|
2639
2151
|
# The account subcategories to use to filter for selectable accounts. Valid subcategories are `checking` and `savings`.
|
2640
2152
|
attr_accessor :account_subcategories
|
2641
|
-
# ID of the institution to use to filter for selectable accounts.
|
2642
|
-
attr_accessor :institution
|
2643
2153
|
|
2644
|
-
def initialize(account_subcategories: nil
|
2154
|
+
def initialize(account_subcategories: nil)
|
2645
2155
|
@account_subcategories = account_subcategories
|
2646
|
-
@institution = institution
|
2647
|
-
end
|
2648
|
-
end
|
2649
|
-
|
2650
|
-
class ManualEntry < Stripe::RequestParams
|
2651
|
-
# Settings for configuring manual entry of account details.
|
2652
|
-
attr_accessor :mode
|
2653
|
-
|
2654
|
-
def initialize(mode: nil)
|
2655
|
-
@mode = mode
|
2656
2156
|
end
|
2657
2157
|
end
|
2658
2158
|
# Provide filters for the linked accounts that the customer can select for the payment method.
|
2659
2159
|
attr_accessor :filters
|
2660
|
-
# Customize manual entry behavior
|
2661
|
-
attr_accessor :manual_entry
|
2662
2160
|
# The list of permissions to request. If this parameter is passed, the `payment_method` permission must be included. Valid permissions include: `balances`, `ownership`, `payment_method`, and `transactions`.
|
2663
2161
|
attr_accessor :permissions
|
2664
2162
|
# List of data features that you would like to retrieve upon account creation.
|
@@ -2666,15 +2164,8 @@ module Stripe
|
|
2666
2164
|
# For webview integrations only. Upon completing OAuth login in the native browser, the user will be redirected to this URL to return to your app.
|
2667
2165
|
attr_accessor :return_url
|
2668
2166
|
|
2669
|
-
def initialize(
|
2670
|
-
filters: nil,
|
2671
|
-
manual_entry: nil,
|
2672
|
-
permissions: nil,
|
2673
|
-
prefetch: nil,
|
2674
|
-
return_url: nil
|
2675
|
-
)
|
2167
|
+
def initialize(filters: nil, permissions: nil, prefetch: nil, return_url: nil)
|
2676
2168
|
@filters = filters
|
2677
|
-
@manual_entry = manual_entry
|
2678
2169
|
@permissions = permissions
|
2679
2170
|
@prefetch = prefetch
|
2680
2171
|
@return_url = return_url
|
@@ -2733,8 +2224,6 @@ module Stripe
|
|
2733
2224
|
attr_accessor :link
|
2734
2225
|
# If this is a `paypal` PaymentMethod, this sub-hash contains details about the PayPal payment method options.
|
2735
2226
|
attr_accessor :paypal
|
2736
|
-
# If this is a `payto` SetupIntent, this sub-hash contains details about the PayTo payment method options.
|
2737
|
-
attr_accessor :payto
|
2738
2227
|
# If this is a `sepa_debit` SetupIntent, this sub-hash contains details about the SEPA Debit payment method options.
|
2739
2228
|
attr_accessor :sepa_debit
|
2740
2229
|
# If this is a `us_bank_account` SetupIntent, this sub-hash contains details about the US bank account payment method options.
|
@@ -2748,7 +2237,6 @@ module Stripe
|
|
2748
2237
|
card_present: nil,
|
2749
2238
|
link: nil,
|
2750
2239
|
paypal: nil,
|
2751
|
-
payto: nil,
|
2752
2240
|
sepa_debit: nil,
|
2753
2241
|
us_bank_account: nil
|
2754
2242
|
)
|
@@ -2759,7 +2247,6 @@ module Stripe
|
|
2759
2247
|
@card_present = card_present
|
2760
2248
|
@link = link
|
2761
2249
|
@paypal = paypal
|
2762
|
-
@payto = payto
|
2763
2250
|
@sepa_debit = sepa_debit
|
2764
2251
|
@us_bank_account = us_bank_account
|
2765
2252
|
end
|
@@ -2772,10 +2259,6 @@ module Stripe
|
|
2772
2259
|
#
|
2773
2260
|
# If present, the SetupIntent's payment method will be attached to the Customer on successful setup. Payment methods attached to other Customers cannot be used with this SetupIntent.
|
2774
2261
|
attr_accessor :customer
|
2775
|
-
# ID of the Account this SetupIntent belongs to, if one exists.
|
2776
|
-
#
|
2777
|
-
# If present, the SetupIntent's payment method will be attached to the Account on successful setup. Payment methods attached to other Accounts cannot be used with this SetupIntent.
|
2778
|
-
attr_accessor :customer_account
|
2779
2262
|
# An arbitrary string attached to the object. Often useful for displaying to users.
|
2780
2263
|
attr_accessor :description
|
2781
2264
|
# Specifies which fields in the response should be expanded.
|
@@ -2801,7 +2284,6 @@ module Stripe
|
|
2801
2284
|
def initialize(
|
2802
2285
|
attach_to_self: nil,
|
2803
2286
|
customer: nil,
|
2804
|
-
customer_account: nil,
|
2805
2287
|
description: nil,
|
2806
2288
|
expand: nil,
|
2807
2289
|
flow_directions: nil,
|
@@ -2814,7 +2296,6 @@ module Stripe
|
|
2814
2296
|
)
|
2815
2297
|
@attach_to_self = attach_to_self
|
2816
2298
|
@customer = customer
|
2817
|
-
@customer_account = customer_account
|
2818
2299
|
@description = description
|
2819
2300
|
@expand = expand
|
2820
2301
|
@flow_directions = flow_directions
|
@@ -2842,8 +2323,7 @@ module Stripe
|
|
2842
2323
|
class ConfirmParams < Stripe::RequestParams
|
2843
2324
|
class MandateData < Stripe::RequestParams
|
2844
2325
|
class CustomerAcceptance < Stripe::RequestParams
|
2845
|
-
class Offline < Stripe::RequestParams
|
2846
|
-
end
|
2326
|
+
class Offline < Stripe::RequestParams; end
|
2847
2327
|
|
2848
2328
|
class Online < Stripe::RequestParams
|
2849
2329
|
# The IP address from which the Mandate was accepted by the customer.
|
@@ -2896,20 +2376,11 @@ module Stripe
|
|
2896
2376
|
end
|
2897
2377
|
end
|
2898
2378
|
|
2899
|
-
class Affirm < Stripe::RequestParams
|
2900
|
-
end
|
2901
|
-
|
2902
|
-
class
|
2903
|
-
end
|
2904
|
-
|
2905
|
-
class Alipay < Stripe::RequestParams
|
2906
|
-
end
|
2907
|
-
|
2908
|
-
class Alma < Stripe::RequestParams
|
2909
|
-
end
|
2910
|
-
|
2911
|
-
class AmazonPay < Stripe::RequestParams
|
2912
|
-
end
|
2379
|
+
class Affirm < Stripe::RequestParams; end
|
2380
|
+
class AfterpayClearpay < Stripe::RequestParams; end
|
2381
|
+
class Alipay < Stripe::RequestParams; end
|
2382
|
+
class Alma < Stripe::RequestParams; end
|
2383
|
+
class AmazonPay < Stripe::RequestParams; end
|
2913
2384
|
|
2914
2385
|
class AuBecsDebit < Stripe::RequestParams
|
2915
2386
|
# The account number for the bank account.
|
@@ -2935,11 +2406,8 @@ module Stripe
|
|
2935
2406
|
end
|
2936
2407
|
end
|
2937
2408
|
|
2938
|
-
class Bancontact < Stripe::RequestParams
|
2939
|
-
end
|
2940
|
-
|
2941
|
-
class Billie < Stripe::RequestParams
|
2942
|
-
end
|
2409
|
+
class Bancontact < Stripe::RequestParams; end
|
2410
|
+
class Billie < Stripe::RequestParams; end
|
2943
2411
|
|
2944
2412
|
class BillingDetails < Stripe::RequestParams
|
2945
2413
|
class Address < Stripe::RequestParams
|
@@ -2992,8 +2460,7 @@ module Stripe
|
|
2992
2460
|
end
|
2993
2461
|
end
|
2994
2462
|
|
2995
|
-
class Blik < Stripe::RequestParams
|
2996
|
-
end
|
2463
|
+
class Blik < Stripe::RequestParams; end
|
2997
2464
|
|
2998
2465
|
class Boleto < Stripe::RequestParams
|
2999
2466
|
# The tax ID of the customer (CPF for individual consumers or CNPJ for businesses consumers)
|
@@ -3004,11 +2471,8 @@ module Stripe
|
|
3004
2471
|
end
|
3005
2472
|
end
|
3006
2473
|
|
3007
|
-
class Cashapp < Stripe::RequestParams
|
3008
|
-
end
|
3009
|
-
|
3010
|
-
class CustomerBalance < Stripe::RequestParams
|
3011
|
-
end
|
2474
|
+
class Cashapp < Stripe::RequestParams; end
|
2475
|
+
class CustomerBalance < Stripe::RequestParams; end
|
3012
2476
|
|
3013
2477
|
class Eps < Stripe::RequestParams
|
3014
2478
|
# The customer's bank.
|
@@ -3031,23 +2495,8 @@ module Stripe
|
|
3031
2495
|
end
|
3032
2496
|
end
|
3033
2497
|
|
3034
|
-
class Giropay < Stripe::RequestParams
|
3035
|
-
end
|
3036
|
-
|
3037
|
-
class Gopay < Stripe::RequestParams
|
3038
|
-
end
|
3039
|
-
|
3040
|
-
class Grabpay < Stripe::RequestParams
|
3041
|
-
end
|
3042
|
-
|
3043
|
-
class IdBankTransfer < Stripe::RequestParams
|
3044
|
-
# Bank where the account is held.
|
3045
|
-
attr_accessor :bank
|
3046
|
-
|
3047
|
-
def initialize(bank: nil)
|
3048
|
-
@bank = bank
|
3049
|
-
end
|
3050
|
-
end
|
2498
|
+
class Giropay < Stripe::RequestParams; end
|
2499
|
+
class Grabpay < Stripe::RequestParams; end
|
3051
2500
|
|
3052
2501
|
class Ideal < Stripe::RequestParams
|
3053
2502
|
# The customer's bank. Only use this parameter for existing customers. Don't use it for new customers.
|
@@ -3058,11 +2507,8 @@ module Stripe
|
|
3058
2507
|
end
|
3059
2508
|
end
|
3060
2509
|
|
3061
|
-
class InteracPresent < Stripe::RequestParams
|
3062
|
-
end
|
3063
|
-
|
3064
|
-
class KakaoPay < Stripe::RequestParams
|
3065
|
-
end
|
2510
|
+
class InteracPresent < Stripe::RequestParams; end
|
2511
|
+
class KakaoPay < Stripe::RequestParams; end
|
3066
2512
|
|
3067
2513
|
class Klarna < Stripe::RequestParams
|
3068
2514
|
class Dob < Stripe::RequestParams
|
@@ -3087,23 +2533,11 @@ module Stripe
|
|
3087
2533
|
end
|
3088
2534
|
end
|
3089
2535
|
|
3090
|
-
class Konbini < Stripe::RequestParams
|
3091
|
-
end
|
3092
|
-
|
3093
|
-
class
|
3094
|
-
end
|
3095
|
-
|
3096
|
-
class Link < Stripe::RequestParams
|
3097
|
-
end
|
3098
|
-
|
3099
|
-
class MbWay < Stripe::RequestParams
|
3100
|
-
end
|
3101
|
-
|
3102
|
-
class Mobilepay < Stripe::RequestParams
|
3103
|
-
end
|
3104
|
-
|
3105
|
-
class Multibanco < Stripe::RequestParams
|
3106
|
-
end
|
2536
|
+
class Konbini < Stripe::RequestParams; end
|
2537
|
+
class KrCard < Stripe::RequestParams; end
|
2538
|
+
class Link < Stripe::RequestParams; end
|
2539
|
+
class Mobilepay < Stripe::RequestParams; end
|
2540
|
+
class Multibanco < Stripe::RequestParams; end
|
3107
2541
|
|
3108
2542
|
class NaverPay < Stripe::RequestParams
|
3109
2543
|
# Whether to use Naver Pay points or a card to fund this transaction. If not provided, this defaults to `card`.
|
@@ -3145,8 +2579,7 @@ module Stripe
|
|
3145
2579
|
end
|
3146
2580
|
end
|
3147
2581
|
|
3148
|
-
class Oxxo < Stripe::RequestParams
|
3149
|
-
end
|
2582
|
+
class Oxxo < Stripe::RequestParams; end
|
3150
2583
|
|
3151
2584
|
class P24 < Stripe::RequestParams
|
3152
2585
|
# The customer's bank.
|
@@ -3157,41 +2590,12 @@ module Stripe
|
|
3157
2590
|
end
|
3158
2591
|
end
|
3159
2592
|
|
3160
|
-
class PayByBank < Stripe::RequestParams
|
3161
|
-
end
|
3162
|
-
|
3163
|
-
class
|
3164
|
-
end
|
3165
|
-
|
3166
|
-
class Paynow < Stripe::RequestParams
|
3167
|
-
end
|
3168
|
-
|
3169
|
-
class Paypal < Stripe::RequestParams
|
3170
|
-
end
|
3171
|
-
|
3172
|
-
class Payto < Stripe::RequestParams
|
3173
|
-
# The account number for the bank account.
|
3174
|
-
attr_accessor :account_number
|
3175
|
-
# Bank-State-Branch number of the bank account.
|
3176
|
-
attr_accessor :bsb_number
|
3177
|
-
# The PayID alias for the bank account.
|
3178
|
-
attr_accessor :pay_id
|
3179
|
-
|
3180
|
-
def initialize(account_number: nil, bsb_number: nil, pay_id: nil)
|
3181
|
-
@account_number = account_number
|
3182
|
-
@bsb_number = bsb_number
|
3183
|
-
@pay_id = pay_id
|
3184
|
-
end
|
3185
|
-
end
|
3186
|
-
|
3187
|
-
class Pix < Stripe::RequestParams
|
3188
|
-
end
|
3189
|
-
|
3190
|
-
class Promptpay < Stripe::RequestParams
|
3191
|
-
end
|
3192
|
-
|
3193
|
-
class Qris < Stripe::RequestParams
|
3194
|
-
end
|
2593
|
+
class PayByBank < Stripe::RequestParams; end
|
2594
|
+
class Payco < Stripe::RequestParams; end
|
2595
|
+
class Paynow < Stripe::RequestParams; end
|
2596
|
+
class Paypal < Stripe::RequestParams; end
|
2597
|
+
class Pix < Stripe::RequestParams; end
|
2598
|
+
class Promptpay < Stripe::RequestParams; end
|
3195
2599
|
|
3196
2600
|
class RadarOptions < Stripe::RequestParams
|
3197
2601
|
# 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.
|
@@ -3202,37 +2606,9 @@ module Stripe
|
|
3202
2606
|
end
|
3203
2607
|
end
|
3204
2608
|
|
3205
|
-
class
|
3206
|
-
|
3207
|
-
|
3208
|
-
attr_accessor :day
|
3209
|
-
# The month of birth, between 1 and 12.
|
3210
|
-
attr_accessor :month
|
3211
|
-
# The four-digit year of birth.
|
3212
|
-
attr_accessor :year
|
3213
|
-
|
3214
|
-
def initialize(day: nil, month: nil, year: nil)
|
3215
|
-
@day = day
|
3216
|
-
@month = month
|
3217
|
-
@year = year
|
3218
|
-
end
|
3219
|
-
end
|
3220
|
-
# Customer's date of birth
|
3221
|
-
attr_accessor :dob
|
3222
|
-
|
3223
|
-
def initialize(dob: nil)
|
3224
|
-
@dob = dob
|
3225
|
-
end
|
3226
|
-
end
|
3227
|
-
|
3228
|
-
class RevolutPay < Stripe::RequestParams
|
3229
|
-
end
|
3230
|
-
|
3231
|
-
class SamsungPay < Stripe::RequestParams
|
3232
|
-
end
|
3233
|
-
|
3234
|
-
class Satispay < Stripe::RequestParams
|
3235
|
-
end
|
2609
|
+
class RevolutPay < Stripe::RequestParams; end
|
2610
|
+
class SamsungPay < Stripe::RequestParams; end
|
2611
|
+
class Satispay < Stripe::RequestParams; end
|
3236
2612
|
|
3237
2613
|
class SepaDebit < Stripe::RequestParams
|
3238
2614
|
# IBAN of the bank account.
|
@@ -3243,9 +2619,6 @@ module Stripe
|
|
3243
2619
|
end
|
3244
2620
|
end
|
3245
2621
|
|
3246
|
-
class Shopeepay < Stripe::RequestParams
|
3247
|
-
end
|
3248
|
-
|
3249
2622
|
class Sofort < Stripe::RequestParams
|
3250
2623
|
# Two-letter ISO code representing the country the bank account is located in.
|
3251
2624
|
attr_accessor :country
|
@@ -3255,23 +2628,8 @@ module Stripe
|
|
3255
2628
|
end
|
3256
2629
|
end
|
3257
2630
|
|
3258
|
-
class
|
3259
|
-
|
3260
|
-
attr_accessor :account
|
3261
|
-
# The [source_type](https://docs.stripe.com/api/balance/balance_object#balance_object-available-source_types) of the balance
|
3262
|
-
attr_accessor :source_type
|
3263
|
-
|
3264
|
-
def initialize(account: nil, source_type: nil)
|
3265
|
-
@account = account
|
3266
|
-
@source_type = source_type
|
3267
|
-
end
|
3268
|
-
end
|
3269
|
-
|
3270
|
-
class Swish < Stripe::RequestParams
|
3271
|
-
end
|
3272
|
-
|
3273
|
-
class Twint < Stripe::RequestParams
|
3274
|
-
end
|
2631
|
+
class Swish < Stripe::RequestParams; end
|
2632
|
+
class Twint < Stripe::RequestParams; end
|
3275
2633
|
|
3276
2634
|
class UsBankAccount < Stripe::RequestParams
|
3277
2635
|
# Account holder type: individual or company.
|
@@ -3300,11 +2658,8 @@ module Stripe
|
|
3300
2658
|
end
|
3301
2659
|
end
|
3302
2660
|
|
3303
|
-
class WechatPay < Stripe::RequestParams
|
3304
|
-
end
|
3305
|
-
|
3306
|
-
class Zip < Stripe::RequestParams
|
3307
|
-
end
|
2661
|
+
class WechatPay < Stripe::RequestParams; end
|
2662
|
+
class Zip < Stripe::RequestParams; end
|
3308
2663
|
# If this is an `acss_debit` PaymentMethod, this hash contains details about the ACSS Debit payment method.
|
3309
2664
|
attr_accessor :acss_debit
|
3310
2665
|
# If this is an `affirm` PaymentMethod, this hash contains details about the Affirm payment method.
|
@@ -3343,12 +2698,8 @@ module Stripe
|
|
3343
2698
|
attr_accessor :fpx
|
3344
2699
|
# If this is a `giropay` PaymentMethod, this hash contains details about the Giropay payment method.
|
3345
2700
|
attr_accessor :giropay
|
3346
|
-
# If this is a Gopay PaymentMethod, this hash contains details about the Gopay payment method.
|
3347
|
-
attr_accessor :gopay
|
3348
2701
|
# If this is a `grabpay` PaymentMethod, this hash contains details about the GrabPay payment method.
|
3349
2702
|
attr_accessor :grabpay
|
3350
|
-
# If this is an `IdBankTransfer` PaymentMethod, this hash contains details about the IdBankTransfer payment method.
|
3351
|
-
attr_accessor :id_bank_transfer
|
3352
2703
|
# If this is an `ideal` PaymentMethod, this hash contains details about the iDEAL payment method.
|
3353
2704
|
attr_accessor :ideal
|
3354
2705
|
# If this is an `interac_present` PaymentMethod, this hash contains details about the Interac Present payment method.
|
@@ -3363,8 +2714,6 @@ module Stripe
|
|
3363
2714
|
attr_accessor :kr_card
|
3364
2715
|
# If this is an `Link` PaymentMethod, this hash contains details about the Link payment method.
|
3365
2716
|
attr_accessor :link
|
3366
|
-
# If this is a MB WAY PaymentMethod, this hash contains details about the MB WAY payment method.
|
3367
|
-
attr_accessor :mb_way
|
3368
2717
|
# Set of [key-value pairs](https://stripe.com/docs/api/metadata) that you can attach to an object. This can be useful for storing additional information about the object in a structured format. Individual keys can be unset by posting an empty value to them. All keys can be unset by posting an empty value to `metadata`.
|
3369
2718
|
attr_accessor :metadata
|
3370
2719
|
# If this is a `mobilepay` PaymentMethod, this hash contains details about the MobilePay payment method.
|
@@ -3387,18 +2736,12 @@ module Stripe
|
|
3387
2736
|
attr_accessor :paynow
|
3388
2737
|
# If this is a `paypal` PaymentMethod, this hash contains details about the PayPal payment method.
|
3389
2738
|
attr_accessor :paypal
|
3390
|
-
# If this is a `payto` PaymentMethod, this hash contains details about the PayTo payment method.
|
3391
|
-
attr_accessor :payto
|
3392
2739
|
# If this is a `pix` PaymentMethod, this hash contains details about the Pix payment method.
|
3393
2740
|
attr_accessor :pix
|
3394
2741
|
# If this is a `promptpay` PaymentMethod, this hash contains details about the PromptPay payment method.
|
3395
2742
|
attr_accessor :promptpay
|
3396
|
-
# If this is a `qris` PaymentMethod, this hash contains details about the QRIS payment method.
|
3397
|
-
attr_accessor :qris
|
3398
2743
|
# Options to configure Radar. See [Radar Session](https://stripe.com/docs/radar/radar-session) for more information.
|
3399
2744
|
attr_accessor :radar_options
|
3400
|
-
# If this is a `rechnung` PaymentMethod, this hash contains details about the Rechnung payment method.
|
3401
|
-
attr_accessor :rechnung
|
3402
2745
|
# If this is a `revolut_pay` PaymentMethod, this hash contains details about the Revolut Pay payment method.
|
3403
2746
|
attr_accessor :revolut_pay
|
3404
2747
|
# If this is a `samsung_pay` PaymentMethod, this hash contains details about the SamsungPay payment method.
|
@@ -3407,12 +2750,8 @@ module Stripe
|
|
3407
2750
|
attr_accessor :satispay
|
3408
2751
|
# If this is a `sepa_debit` PaymentMethod, this hash contains details about the SEPA debit bank account.
|
3409
2752
|
attr_accessor :sepa_debit
|
3410
|
-
# If this is a Shopeepay PaymentMethod, this hash contains details about the Shopeepay payment method.
|
3411
|
-
attr_accessor :shopeepay
|
3412
2753
|
# If this is a `sofort` PaymentMethod, this hash contains details about the SOFORT payment method.
|
3413
2754
|
attr_accessor :sofort
|
3414
|
-
# This hash contains details about the Stripe balance payment method.
|
3415
|
-
attr_accessor :stripe_balance
|
3416
2755
|
# If this is a `swish` PaymentMethod, this hash contains details about the Swish payment method.
|
3417
2756
|
attr_accessor :swish
|
3418
2757
|
# If this is a TWINT PaymentMethod, this hash contains details about the TWINT payment method.
|
@@ -3446,9 +2785,7 @@ module Stripe
|
|
3446
2785
|
eps: nil,
|
3447
2786
|
fpx: nil,
|
3448
2787
|
giropay: nil,
|
3449
|
-
gopay: nil,
|
3450
2788
|
grabpay: nil,
|
3451
|
-
id_bank_transfer: nil,
|
3452
2789
|
ideal: nil,
|
3453
2790
|
interac_present: nil,
|
3454
2791
|
kakao_pay: nil,
|
@@ -3456,7 +2793,6 @@ module Stripe
|
|
3456
2793
|
konbini: nil,
|
3457
2794
|
kr_card: nil,
|
3458
2795
|
link: nil,
|
3459
|
-
mb_way: nil,
|
3460
2796
|
metadata: nil,
|
3461
2797
|
mobilepay: nil,
|
3462
2798
|
multibanco: nil,
|
@@ -3468,19 +2804,14 @@ module Stripe
|
|
3468
2804
|
payco: nil,
|
3469
2805
|
paynow: nil,
|
3470
2806
|
paypal: nil,
|
3471
|
-
payto: nil,
|
3472
2807
|
pix: nil,
|
3473
2808
|
promptpay: nil,
|
3474
|
-
qris: nil,
|
3475
2809
|
radar_options: nil,
|
3476
|
-
rechnung: nil,
|
3477
2810
|
revolut_pay: nil,
|
3478
2811
|
samsung_pay: nil,
|
3479
2812
|
satispay: nil,
|
3480
2813
|
sepa_debit: nil,
|
3481
|
-
shopeepay: nil,
|
3482
2814
|
sofort: nil,
|
3483
|
-
stripe_balance: nil,
|
3484
2815
|
swish: nil,
|
3485
2816
|
twint: nil,
|
3486
2817
|
type: nil,
|
@@ -3507,9 +2838,7 @@ module Stripe
|
|
3507
2838
|
@eps = eps
|
3508
2839
|
@fpx = fpx
|
3509
2840
|
@giropay = giropay
|
3510
|
-
@gopay = gopay
|
3511
2841
|
@grabpay = grabpay
|
3512
|
-
@id_bank_transfer = id_bank_transfer
|
3513
2842
|
@ideal = ideal
|
3514
2843
|
@interac_present = interac_present
|
3515
2844
|
@kakao_pay = kakao_pay
|
@@ -3517,7 +2846,6 @@ module Stripe
|
|
3517
2846
|
@konbini = konbini
|
3518
2847
|
@kr_card = kr_card
|
3519
2848
|
@link = link
|
3520
|
-
@mb_way = mb_way
|
3521
2849
|
@metadata = metadata
|
3522
2850
|
@mobilepay = mobilepay
|
3523
2851
|
@multibanco = multibanco
|
@@ -3529,19 +2857,14 @@ module Stripe
|
|
3529
2857
|
@payco = payco
|
3530
2858
|
@paynow = paynow
|
3531
2859
|
@paypal = paypal
|
3532
|
-
@payto = payto
|
3533
2860
|
@pix = pix
|
3534
2861
|
@promptpay = promptpay
|
3535
|
-
@qris = qris
|
3536
2862
|
@radar_options = radar_options
|
3537
|
-
@rechnung = rechnung
|
3538
2863
|
@revolut_pay = revolut_pay
|
3539
2864
|
@samsung_pay = samsung_pay
|
3540
2865
|
@satispay = satispay
|
3541
2866
|
@sepa_debit = sepa_debit
|
3542
|
-
@shopeepay = shopeepay
|
3543
2867
|
@sofort = sofort
|
3544
|
-
@stripe_balance = stripe_balance
|
3545
2868
|
@swish = swish
|
3546
2869
|
@twint = twint
|
3547
2870
|
@type = type
|
@@ -3595,8 +2918,7 @@ module Stripe
|
|
3595
2918
|
end
|
3596
2919
|
end
|
3597
2920
|
|
3598
|
-
class AmazonPay < Stripe::RequestParams
|
3599
|
-
end
|
2921
|
+
class AmazonPay < Stripe::RequestParams; end
|
3600
2922
|
|
3601
2923
|
class BacsDebit < Stripe::RequestParams
|
3602
2924
|
class MandateOptions < Stripe::RequestParams
|
@@ -3762,8 +3084,7 @@ module Stripe
|
|
3762
3084
|
end
|
3763
3085
|
end
|
3764
3086
|
|
3765
|
-
class CardPresent < Stripe::RequestParams
|
3766
|
-
end
|
3087
|
+
class CardPresent < Stripe::RequestParams; end
|
3767
3088
|
|
3768
3089
|
class Link < Stripe::RequestParams
|
3769
3090
|
# [Deprecated] This is a legacy parameter that no longer has any function.
|
@@ -3777,58 +3098,9 @@ module Stripe
|
|
3777
3098
|
class Paypal < Stripe::RequestParams
|
3778
3099
|
# The PayPal Billing Agreement ID (BAID). This is an ID generated by PayPal which represents the mandate between the merchant and the customer.
|
3779
3100
|
attr_accessor :billing_agreement_id
|
3780
|
-
# Attribute for param field currency
|
3781
|
-
attr_accessor :currency
|
3782
|
-
# The Stripe connected account IDs of the sellers on the platform for this transaction (optional). Only allowed when [separate charges and transfers](https://stripe.com/docs/connect/separate-charges-and-transfers) are used.
|
3783
|
-
attr_accessor :subsellers
|
3784
3101
|
|
3785
|
-
def initialize(billing_agreement_id: nil
|
3102
|
+
def initialize(billing_agreement_id: nil)
|
3786
3103
|
@billing_agreement_id = billing_agreement_id
|
3787
|
-
@currency = currency
|
3788
|
-
@subsellers = subsellers
|
3789
|
-
end
|
3790
|
-
end
|
3791
|
-
|
3792
|
-
class Payto < Stripe::RequestParams
|
3793
|
-
class MandateOptions < Stripe::RequestParams
|
3794
|
-
# Amount that will be collected. It is required when `amount_type` is `fixed`.
|
3795
|
-
attr_accessor :amount
|
3796
|
-
# The type of amount that will be collected. The amount charged must be exact or up to the value of `amount` param for `fixed` or `maximum` type respectively.
|
3797
|
-
attr_accessor :amount_type
|
3798
|
-
# Date, in YYYY-MM-DD format, after which payments will not be collected. Defaults to no end date.
|
3799
|
-
attr_accessor :end_date
|
3800
|
-
# The periodicity at which payments will be collected.
|
3801
|
-
attr_accessor :payment_schedule
|
3802
|
-
# The number of payments that will be made during a payment period. Defaults to 1 except for when `payment_schedule` is `adhoc`. In that case, it defaults to no limit.
|
3803
|
-
attr_accessor :payments_per_period
|
3804
|
-
# The purpose for which payments are made. Defaults to retail.
|
3805
|
-
attr_accessor :purpose
|
3806
|
-
# Date, in YYYY-MM-DD format, from which payments will be collected. Defaults to confirmation time.
|
3807
|
-
attr_accessor :start_date
|
3808
|
-
|
3809
|
-
def initialize(
|
3810
|
-
amount: nil,
|
3811
|
-
amount_type: nil,
|
3812
|
-
end_date: nil,
|
3813
|
-
payment_schedule: nil,
|
3814
|
-
payments_per_period: nil,
|
3815
|
-
purpose: nil,
|
3816
|
-
start_date: nil
|
3817
|
-
)
|
3818
|
-
@amount = amount
|
3819
|
-
@amount_type = amount_type
|
3820
|
-
@end_date = end_date
|
3821
|
-
@payment_schedule = payment_schedule
|
3822
|
-
@payments_per_period = payments_per_period
|
3823
|
-
@purpose = purpose
|
3824
|
-
@start_date = start_date
|
3825
|
-
end
|
3826
|
-
end
|
3827
|
-
# Additional fields for Mandate creation.
|
3828
|
-
attr_accessor :mandate_options
|
3829
|
-
|
3830
|
-
def initialize(mandate_options: nil)
|
3831
|
-
@mandate_options = mandate_options
|
3832
3104
|
end
|
3833
3105
|
end
|
3834
3106
|
|
@@ -3854,27 +3126,13 @@ module Stripe
|
|
3854
3126
|
class Filters < Stripe::RequestParams
|
3855
3127
|
# The account subcategories to use to filter for selectable accounts. Valid subcategories are `checking` and `savings`.
|
3856
3128
|
attr_accessor :account_subcategories
|
3857
|
-
# ID of the institution to use to filter for selectable accounts.
|
3858
|
-
attr_accessor :institution
|
3859
3129
|
|
3860
|
-
def initialize(account_subcategories: nil
|
3130
|
+
def initialize(account_subcategories: nil)
|
3861
3131
|
@account_subcategories = account_subcategories
|
3862
|
-
@institution = institution
|
3863
|
-
end
|
3864
|
-
end
|
3865
|
-
|
3866
|
-
class ManualEntry < Stripe::RequestParams
|
3867
|
-
# Settings for configuring manual entry of account details.
|
3868
|
-
attr_accessor :mode
|
3869
|
-
|
3870
|
-
def initialize(mode: nil)
|
3871
|
-
@mode = mode
|
3872
3132
|
end
|
3873
3133
|
end
|
3874
3134
|
# Provide filters for the linked accounts that the customer can select for the payment method.
|
3875
3135
|
attr_accessor :filters
|
3876
|
-
# Customize manual entry behavior
|
3877
|
-
attr_accessor :manual_entry
|
3878
3136
|
# The list of permissions to request. If this parameter is passed, the `payment_method` permission must be included. Valid permissions include: `balances`, `ownership`, `payment_method`, and `transactions`.
|
3879
3137
|
attr_accessor :permissions
|
3880
3138
|
# List of data features that you would like to retrieve upon account creation.
|
@@ -3882,15 +3140,8 @@ module Stripe
|
|
3882
3140
|
# For webview integrations only. Upon completing OAuth login in the native browser, the user will be redirected to this URL to return to your app.
|
3883
3141
|
attr_accessor :return_url
|
3884
3142
|
|
3885
|
-
def initialize(
|
3886
|
-
filters: nil,
|
3887
|
-
manual_entry: nil,
|
3888
|
-
permissions: nil,
|
3889
|
-
prefetch: nil,
|
3890
|
-
return_url: nil
|
3891
|
-
)
|
3143
|
+
def initialize(filters: nil, permissions: nil, prefetch: nil, return_url: nil)
|
3892
3144
|
@filters = filters
|
3893
|
-
@manual_entry = manual_entry
|
3894
3145
|
@permissions = permissions
|
3895
3146
|
@prefetch = prefetch
|
3896
3147
|
@return_url = return_url
|
@@ -3949,8 +3200,6 @@ module Stripe
|
|
3949
3200
|
attr_accessor :link
|
3950
3201
|
# If this is a `paypal` PaymentMethod, this sub-hash contains details about the PayPal payment method options.
|
3951
3202
|
attr_accessor :paypal
|
3952
|
-
# If this is a `payto` SetupIntent, this sub-hash contains details about the PayTo payment method options.
|
3953
|
-
attr_accessor :payto
|
3954
3203
|
# If this is a `sepa_debit` SetupIntent, this sub-hash contains details about the SEPA Debit payment method options.
|
3955
3204
|
attr_accessor :sepa_debit
|
3956
3205
|
# If this is a `us_bank_account` SetupIntent, this sub-hash contains details about the US bank account payment method options.
|
@@ -3964,7 +3213,6 @@ module Stripe
|
|
3964
3213
|
card_present: nil,
|
3965
3214
|
link: nil,
|
3966
3215
|
paypal: nil,
|
3967
|
-
payto: nil,
|
3968
3216
|
sepa_debit: nil,
|
3969
3217
|
us_bank_account: nil
|
3970
3218
|
)
|
@@ -3975,7 +3223,6 @@ module Stripe
|
|
3975
3223
|
@card_present = card_present
|
3976
3224
|
@link = link
|
3977
3225
|
@paypal = paypal
|
3978
|
-
@payto = payto
|
3979
3226
|
@sepa_debit = sepa_debit
|
3980
3227
|
@us_bank_account = us_bank_account
|
3981
3228
|
end
|
@@ -4057,10 +3304,6 @@ module Stripe
|
|
4057
3304
|
#
|
4058
3305
|
# If present, the SetupIntent's payment method will be attached to the Customer on successful setup. Payment methods attached to other Customers cannot be used with this SetupIntent.
|
4059
3306
|
attr_reader :customer
|
4060
|
-
# ID of the Account this SetupIntent belongs to, if one exists.
|
4061
|
-
#
|
4062
|
-
# If present, the SetupIntent's payment method will be attached to the Account on successful setup. Payment methods attached to other Accounts cannot be used with this SetupIntent.
|
4063
|
-
attr_reader :customer_account
|
4064
3307
|
# An arbitrary string attached to the object. Often useful for displaying to users.
|
4065
3308
|
attr_reader :description
|
4066
3309
|
# Indicates the directions of money movement for which this payment method is intended to be used.
|
@@ -4104,7 +3347,7 @@ module Stripe
|
|
4104
3347
|
|
4105
3348
|
# You can cancel a SetupIntent object when it's in one of these statuses: requires_payment_method, requires_confirmation, or requires_action.
|
4106
3349
|
#
|
4107
|
-
# After you cancel it, setup is abandoned and any operations on the SetupIntent fail with an error. You can't cancel the SetupIntent for a Checkout Session. [Expire the Checkout Session](https://stripe.com/docs/api/checkout/sessions/expire) instead.
|
3350
|
+
# After you cancel it, setup is abandoned and any operations on the SetupIntent fail with an error. You can't cancel the SetupIntent for a Checkout Session. [Expire the Checkout Session](https://docs.stripe.com/docs/api/checkout/sessions/expire) instead.
|
4108
3351
|
def cancel(params = {}, opts = {})
|
4109
3352
|
request_stripe_object(
|
4110
3353
|
method: :post,
|
@@ -4116,7 +3359,7 @@ module Stripe
|
|
4116
3359
|
|
4117
3360
|
# You can cancel a SetupIntent object when it's in one of these statuses: requires_payment_method, requires_confirmation, or requires_action.
|
4118
3361
|
#
|
4119
|
-
# After you cancel it, setup is abandoned and any operations on the SetupIntent fail with an error. You can't cancel the SetupIntent for a Checkout Session. [Expire the Checkout Session](https://stripe.com/docs/api/checkout/sessions/expire) instead.
|
3362
|
+
# After you cancel it, setup is abandoned and any operations on the SetupIntent fail with an error. You can't cancel the SetupIntent for a Checkout Session. [Expire the Checkout Session](https://docs.stripe.com/docs/api/checkout/sessions/expire) instead.
|
4120
3363
|
def self.cancel(intent, params = {}, opts = {})
|
4121
3364
|
request_stripe_object(
|
4122
3365
|
method: :post,
|
@@ -4174,7 +3417,7 @@ module Stripe
|
|
4174
3417
|
|
4175
3418
|
# Creates a SetupIntent object.
|
4176
3419
|
#
|
4177
|
-
# After you create the SetupIntent, attach a payment method and [confirm](https://stripe.com/docs/api/setup_intents/confirm)
|
3420
|
+
# After you create the SetupIntent, attach a payment method and [confirm](https://docs.stripe.com/docs/api/setup_intents/confirm)
|
4178
3421
|
# it to collect any required permissions to charge the payment method later.
|
4179
3422
|
def self.create(params = {}, opts = {})
|
4180
3423
|
request_stripe_object(method: :post, path: "/v1/setup_intents", params: params, opts: opts)
|