stripe 17.2.0.pre.beta.1 → 17.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/lib/stripe/api_requestor.rb +0 -34
- data/lib/stripe/api_version.rb +2 -1
- data/lib/stripe/errors.rb +0 -63
- data/lib/stripe/event_types.rb +0 -233
- data/lib/stripe/object_types.rb +0 -55
- data/lib/stripe/params/account_create_params.rb +2 -301
- data/lib/stripe/params/account_session_create_params.rb +1 -226
- data/lib/stripe/params/account_update_params.rb +1 -263
- data/lib/stripe/params/billing/credit_balance_summary_retrieve_params.rb +1 -4
- data/lib/stripe/params/billing/credit_balance_transaction_list_params.rb +0 -4
- data/lib/stripe/params/billing/credit_grant_create_params.rb +0 -4
- data/lib/stripe/params/billing/credit_grant_list_params.rb +0 -4
- data/lib/stripe/params/billing_portal/session_create_params.rb +0 -4
- data/lib/stripe/params/charge_capture_params.rb +0 -715
- data/lib/stripe/params/charge_update_params.rb +0 -715
- data/lib/stripe/params/checkout/session_create_params.rb +3 -193
- data/lib/stripe/params/checkout/session_list_params.rb +0 -4
- data/lib/stripe/params/checkout/session_update_params.rb +1 -288
- data/lib/stripe/params/confirmation_token_create_params.rb +0 -97
- data/lib/stripe/params/coupon_create_params.rb +1 -17
- data/lib/stripe/params/credit_note_list_params.rb +0 -4
- data/lib/stripe/params/customer_session_create_params.rb +3 -37
- data/lib/stripe/params/dispute_update_params.rb +1 -10
- data/lib/stripe/params/financial_connections/account_list_params.rb +1 -4
- data/lib/stripe/params/financial_connections/session_create_params.rb +2 -34
- data/lib/stripe/params/identity/verification_session_create_params.rb +0 -4
- data/lib/stripe/params/identity/verification_session_list_params.rb +0 -4
- data/lib/stripe/params/invoice_add_lines_params.rb +1 -33
- data/lib/stripe/params/invoice_attach_payment_params.rb +1 -43
- data/lib/stripe/params/invoice_create_params.rb +2 -112
- data/lib/stripe/params/invoice_create_preview_params.rb +9 -826
- data/lib/stripe/params/invoice_item_create_params.rb +1 -37
- data/lib/stripe/params/invoice_item_list_params.rb +0 -4
- data/lib/stripe/params/invoice_item_update_params.rb +1 -33
- data/lib/stripe/params/invoice_line_item_update_params.rb +1 -33
- data/lib/stripe/params/invoice_list_params.rb +0 -4
- data/lib/stripe/params/invoice_update_lines_params.rb +1 -33
- data/lib/stripe/params/invoice_update_params.rb +2 -108
- data/lib/stripe/params/issuing/cardholder_create_params.rb +1 -2
- data/lib/stripe/params/issuing/transaction_list_params.rb +0 -4
- data/lib/stripe/params/payment_intent_capture_params.rb +1 -723
- data/lib/stripe/params/payment_intent_confirm_params.rb +12 -1197
- data/lib/stripe/params/payment_intent_create_params.rb +12 -1205
- data/lib/stripe/params/payment_intent_increment_authorization_params.rb +0 -50
- data/lib/stripe/params/payment_intent_list_params.rb +0 -4
- data/lib/stripe/params/payment_intent_update_params.rb +14 -1238
- data/lib/stripe/params/payment_method_attach_params.rb +1 -4
- data/lib/stripe/params/payment_method_configuration_create_params.rb +0 -126
- data/lib/stripe/params/payment_method_configuration_update_params.rb +0 -126
- data/lib/stripe/params/payment_method_create_params.rb +0 -97
- data/lib/stripe/params/payment_method_update_params.rb +0 -19
- data/lib/stripe/params/price_update_params.rb +0 -19
- data/lib/stripe/params/promotion_code_create_params.rb +0 -4
- data/lib/stripe/params/promotion_code_list_params.rb +0 -4
- data/lib/stripe/params/quote_create_params.rb +3 -805
- data/lib/stripe/params/quote_list_params.rb +0 -8
- data/lib/stripe/params/quote_update_params.rb +4 -813
- data/lib/stripe/params/setup_intent_confirm_params.rb +3 -225
- data/lib/stripe/params/setup_intent_create_params.rb +3 -231
- data/lib/stripe/params/setup_intent_list_params.rb +0 -4
- data/lib/stripe/params/setup_intent_update_params.rb +3 -231
- data/lib/stripe/params/subscription_create_params.rb +5 -259
- data/lib/stripe/params/subscription_item_create_params.rb +2 -46
- data/lib/stripe/params/subscription_item_update_params.rb +1 -29
- data/lib/stripe/params/subscription_list_params.rb +0 -4
- data/lib/stripe/params/subscription_schedule_create_params.rb +5 -167
- data/lib/stripe/params/subscription_schedule_list_params.rb +0 -4
- data/lib/stripe/params/subscription_schedule_update_params.rb +5 -163
- data/lib/stripe/params/subscription_update_params.rb +4 -238
- data/lib/stripe/params/tax_id_create_params.rb +1 -4
- data/lib/stripe/params/tax_id_list_params.rb +1 -4
- data/lib/stripe/params/terminal/configuration_create_params.rb +9 -22
- data/lib/stripe/params/terminal/configuration_update_params.rb +9 -22
- data/lib/stripe/params/test_helpers/confirmation_token_create_params.rb +0 -97
- data/lib/stripe/params/test_helpers/treasury/received_credit_create_params.rb +1 -25
- data/lib/stripe/params/test_helpers/treasury/received_debit_create_params.rb +1 -25
- data/lib/stripe/params/transfer_create_params.rb +0 -4
- data/lib/stripe/params/treasury/financial_account_create_params.rb +1 -8
- data/lib/stripe/params/treasury/financial_account_features_update_params.rb +1 -4
- data/lib/stripe/params/treasury/financial_account_update_features_params.rb +1 -4
- data/lib/stripe/params/treasury/financial_account_update_params.rb +1 -8
- data/lib/stripe/params/treasury/outbound_transfer_create_params.rb +0 -24
- data/lib/stripe/params/treasury/received_credit_create_params.rb +1 -25
- data/lib/stripe/params/treasury/received_debit_create_params.rb +1 -25
- data/lib/stripe/params.rb +0 -164
- data/lib/stripe/resources/account.rb +2 -167
- data/lib/stripe/resources/account_session.rb +0 -81
- data/lib/stripe/resources/billing/credit_balance_summary.rb +0 -2
- data/lib/stripe/resources/billing/credit_grant.rb +0 -2
- data/lib/stripe/resources/billing_portal/session.rb +0 -2
- data/lib/stripe/resources/card.rb +0 -2
- data/lib/stripe/resources/cash_balance.rb +0 -2
- data/lib/stripe/resources/charge.rb +1 -237
- data/lib/stripe/resources/checkout/session.rb +4 -154
- data/lib/stripe/resources/confirmation_token.rb +0 -155
- data/lib/stripe/resources/coupon.rb +1 -26
- data/lib/stripe/resources/credit_note.rb +0 -2
- data/lib/stripe/resources/credit_note_line_item.rb +0 -18
- data/lib/stripe/resources/customer.rb +0 -2
- 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 +0 -38
- data/lib/stripe/resources/discount.rb +0 -2
- data/lib/stripe/resources/dispute.rb +0 -22
- data/lib/stripe/resources/event.rb +1 -64
- data/lib/stripe/resources/financial_connections/account.rb +0 -27
- data/lib/stripe/resources/financial_connections/session.rb +1 -67
- data/lib/stripe/resources/identity/verification_session.rb +0 -2
- data/lib/stripe/resources/invoice.rb +2 -153
- data/lib/stripe/resources/invoice_item.rb +0 -4
- data/lib/stripe/resources/invoice_line_item.rb +0 -40
- data/lib/stripe/resources/issuing/transaction.rb +0 -2
- data/lib/stripe/resources/line_item.rb +1 -68
- data/lib/stripe/resources/mandate.rb +0 -71
- data/lib/stripe/resources/payment_attempt_record.rb +1 -203
- data/lib/stripe/resources/payment_intent.rb +6 -789
- data/lib/stripe/resources/payment_method.rb +0 -157
- data/lib/stripe/resources/payment_method_configuration.rb +0 -204
- data/lib/stripe/resources/payment_record.rb +1 -203
- data/lib/stripe/resources/price.rb +0 -20
- data/lib/stripe/resources/promotion_code.rb +0 -2
- data/lib/stripe/resources/quote.rb +2 -571
- data/lib/stripe/resources/refund.rb +0 -18
- data/lib/stripe/resources/setup_attempt.rb +0 -63
- data/lib/stripe/resources/setup_intent.rb +1 -132
- data/lib/stripe/resources/source.rb +0 -38
- data/lib/stripe/resources/subscription.rb +0 -232
- data/lib/stripe/resources/subscription_item.rb +1 -20
- data/lib/stripe/resources/subscription_schedule.rb +3 -198
- data/lib/stripe/resources/tax_id.rb +0 -4
- data/lib/stripe/resources/terminal/configuration.rb +0 -16
- data/lib/stripe/resources/terminal/reader.rb +0 -8
- data/lib/stripe/resources/transfer.rb +0 -2
- data/lib/stripe/resources/treasury/financial_account.rb +0 -2
- data/lib/stripe/resources/treasury/financial_account_features.rb +0 -2
- data/lib/stripe/resources/treasury/outbound_transfer.rb +0 -30
- data/lib/stripe/resources/treasury/received_credit.rb +0 -30
- data/lib/stripe/resources/treasury/received_debit.rb +0 -32
- data/lib/stripe/resources/v2/billing/meter_event.rb +2 -1
- data/lib/stripe/resources/v2/core/event.rb +2 -2
- data/lib/stripe/resources.rb +0 -112
- data/lib/stripe/services/billing_service.rb +1 -2
- data/lib/stripe/services/financial_connections/account_service.rb +1 -3
- data/lib/stripe/services/financial_connections_service.rb +1 -2
- data/lib/stripe/services/issuing_service.rb +1 -5
- data/lib/stripe/services/mandate_service.rb +0 -5
- data/lib/stripe/services/payment_intent_service.rb +0 -37
- data/lib/stripe/services/quote_service.rb +1 -49
- data/lib/stripe/services/subscription_schedule_service.rb +0 -11
- data/lib/stripe/services/subscription_service.rb +0 -11
- data/lib/stripe/services/tax_service.rb +1 -3
- data/lib/stripe/services/terminal_service.rb +1 -3
- data/lib/stripe/services/v1_services.rb +1 -8
- data/lib/stripe/services/v2/billing_service.rb +1 -5
- data/lib/stripe/services/v2/core_service.rb +1 -4
- data/lib/stripe/services/v2_services.rb +1 -4
- data/lib/stripe/services.rb +0 -58
- 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.rbi +83044 -141384
- metadata +4 -338
- data/lib/stripe/events/v2_core_account_closed_event.rb +0 -44
- data/lib/stripe/events/v2_core_account_created_event.rb +0 -44
- data/lib/stripe/events/v2_core_account_including_configuration_customer_capability_status_updated_event.rb +0 -63
- data/lib/stripe/events/v2_core_account_including_configuration_customer_updated_event.rb +0 -44
- data/lib/stripe/events/v2_core_account_including_configuration_merchant_capability_status_updated_event.rb +0 -63
- data/lib/stripe/events/v2_core_account_including_configuration_merchant_updated_event.rb +0 -44
- data/lib/stripe/events/v2_core_account_including_configuration_recipient_capability_status_updated_event.rb +0 -63
- data/lib/stripe/events/v2_core_account_including_configuration_recipient_updated_event.rb +0 -44
- data/lib/stripe/events/v2_core_account_including_configuration_storer_capability_status_updated_event.rb +0 -63
- data/lib/stripe/events/v2_core_account_including_configuration_storer_updated_event.rb +0 -44
- data/lib/stripe/events/v2_core_account_including_defaults_updated_event.rb +0 -44
- data/lib/stripe/events/v2_core_account_including_identity_updated_event.rb +0 -44
- data/lib/stripe/events/v2_core_account_including_requirements_updated_event.rb +0 -44
- data/lib/stripe/events/v2_core_account_link_returned_event.rb +0 -42
- data/lib/stripe/events/v2_core_account_person_created_event.rb +0 -61
- data/lib/stripe/events/v2_core_account_person_deleted_event.rb +0 -61
- data/lib/stripe/events/v2_core_account_person_updated_event.rb +0 -61
- data/lib/stripe/events/v2_core_account_updated_event.rb +0 -44
- data/lib/stripe/events/v2_money_management_adjustment_created_event.rb +0 -44
- data/lib/stripe/events/v2_money_management_financial_account_created_event.rb +0 -44
- data/lib/stripe/events/v2_money_management_financial_account_updated_event.rb +0 -44
- data/lib/stripe/events/v2_money_management_financial_address_activated_event.rb +0 -44
- data/lib/stripe/events/v2_money_management_financial_address_failed_event.rb +0 -44
- data/lib/stripe/events/v2_money_management_inbound_transfer_available_event.rb +0 -61
- data/lib/stripe/events/v2_money_management_inbound_transfer_bank_debit_failed_event.rb +0 -44
- data/lib/stripe/events/v2_money_management_inbound_transfer_bank_debit_processing_event.rb +0 -44
- data/lib/stripe/events/v2_money_management_inbound_transfer_bank_debit_queued_event.rb +0 -44
- data/lib/stripe/events/v2_money_management_inbound_transfer_bank_debit_returned_event.rb +0 -44
- data/lib/stripe/events/v2_money_management_inbound_transfer_bank_debit_succeeded_event.rb +0 -44
- data/lib/stripe/events/v2_money_management_outbound_payment_canceled_event.rb +0 -44
- data/lib/stripe/events/v2_money_management_outbound_payment_created_event.rb +0 -44
- data/lib/stripe/events/v2_money_management_outbound_payment_failed_event.rb +0 -44
- data/lib/stripe/events/v2_money_management_outbound_payment_posted_event.rb +0 -44
- data/lib/stripe/events/v2_money_management_outbound_payment_returned_event.rb +0 -44
- data/lib/stripe/events/v2_money_management_outbound_payment_updated_event.rb +0 -44
- data/lib/stripe/events/v2_money_management_outbound_transfer_canceled_event.rb +0 -44
- data/lib/stripe/events/v2_money_management_outbound_transfer_created_event.rb +0 -44
- data/lib/stripe/events/v2_money_management_outbound_transfer_failed_event.rb +0 -44
- data/lib/stripe/events/v2_money_management_outbound_transfer_posted_event.rb +0 -44
- data/lib/stripe/events/v2_money_management_outbound_transfer_returned_event.rb +0 -44
- data/lib/stripe/events/v2_money_management_outbound_transfer_updated_event.rb +0 -44
- data/lib/stripe/events/v2_money_management_payout_method_updated_event.rb +0 -44
- data/lib/stripe/events/v2_money_management_received_credit_available_event.rb +0 -61
- data/lib/stripe/events/v2_money_management_received_credit_failed_event.rb +0 -44
- data/lib/stripe/events/v2_money_management_received_credit_returned_event.rb +0 -44
- data/lib/stripe/events/v2_money_management_received_credit_succeeded_event.rb +0 -44
- data/lib/stripe/events/v2_money_management_received_debit_canceled_event.rb +0 -44
- data/lib/stripe/events/v2_money_management_received_debit_failed_event.rb +0 -44
- data/lib/stripe/events/v2_money_management_received_debit_pending_event.rb +0 -44
- data/lib/stripe/events/v2_money_management_received_debit_succeeded_event.rb +0 -44
- data/lib/stripe/events/v2_money_management_received_debit_updated_event.rb +0 -44
- data/lib/stripe/events/v2_money_management_transaction_created_event.rb +0 -61
- data/lib/stripe/events/v2_money_management_transaction_updated_event.rb +0 -44
- data/lib/stripe/events/v2_payments_off_session_payment_authorization_attempt_failed_event.rb +0 -44
- data/lib/stripe/events/v2_payments_off_session_payment_authorization_attempt_started_event.rb +0 -46
- data/lib/stripe/events/v2_payments_off_session_payment_canceled_event.rb +0 -44
- data/lib/stripe/events/v2_payments_off_session_payment_created_event.rb +0 -44
- data/lib/stripe/events/v2_payments_off_session_payment_failed_event.rb +0 -44
- data/lib/stripe/events/v2_payments_off_session_payment_requires_capture_event.rb +0 -44
- data/lib/stripe/events/v2_payments_off_session_payment_succeeded_event.rb +0 -44
- data/lib/stripe/params/account_notice_list_params.rb +0 -25
- data/lib/stripe/params/account_notice_retrieve_params.rb +0 -13
- data/lib/stripe/params/account_notice_update_params.rb +0 -36
- data/lib/stripe/params/billing/analytics/meter_usage_retrieve_params.rb +0 -65
- data/lib/stripe/params/capital/financing_offer_list_params.rb +0 -58
- data/lib/stripe/params/capital/financing_offer_mark_delivered_params.rb +0 -15
- data/lib/stripe/params/capital/financing_offer_retrieve_params.rb +0 -15
- data/lib/stripe/params/capital/financing_summary_retrieve_params.rb +0 -15
- data/lib/stripe/params/capital/financing_transaction_list_params.rb +0 -45
- data/lib/stripe/params/capital/financing_transaction_retrieve_params.rb +0 -15
- data/lib/stripe/params/external_account_create_params.rb +0 -134
- data/lib/stripe/params/external_account_delete_params.rb +0 -6
- data/lib/stripe/params/external_account_list_params.rb +0 -25
- data/lib/stripe/params/external_account_retrieve_params.rb +0 -13
- data/lib/stripe/params/external_account_update_params.rb +0 -91
- data/lib/stripe/params/financial_connections/account_inferred_balance_list_params.rb +0 -24
- data/lib/stripe/params/financial_connections/institution_list_params.rb +0 -24
- data/lib/stripe/params/financial_connections/institution_retrieve_params.rb +0 -15
- data/lib/stripe/params/fx_quote_create_params.rb +0 -73
- data/lib/stripe/params/fx_quote_list_params.rb +0 -22
- data/lib/stripe/params/fx_quote_retrieve_params.rb +0 -13
- data/lib/stripe/params/issuing/credit_underwriting_record_correct_params.rb +0 -163
- data/lib/stripe/params/issuing/credit_underwriting_record_create_from_application_params.rb +0 -50
- data/lib/stripe/params/issuing/credit_underwriting_record_create_from_proactive_review_params.rb +0 -128
- data/lib/stripe/params/issuing/credit_underwriting_record_list_params.rb +0 -24
- data/lib/stripe/params/issuing/credit_underwriting_record_report_decision_params.rb +0 -86
- data/lib/stripe/params/issuing/credit_underwriting_record_retrieve_params.rb +0 -15
- data/lib/stripe/params/issuing/dispute_settlement_detail_list_params.rb +0 -33
- data/lib/stripe/params/issuing/dispute_settlement_detail_retrieve_params.rb +0 -15
- data/lib/stripe/params/issuing/fraud_liability_debit_list_params.rb +0 -44
- data/lib/stripe/params/issuing/fraud_liability_debit_retrieve_params.rb +0 -15
- data/lib/stripe/params/mandate_list_params.rb +0 -39
- data/lib/stripe/params/margin_create_params.rb +0 -25
- data/lib/stripe/params/margin_list_params.rb +0 -25
- data/lib/stripe/params/margin_retrieve_params.rb +0 -13
- data/lib/stripe/params/margin_update_params.rb +0 -22
- data/lib/stripe/params/order_cancel_params.rb +0 -13
- data/lib/stripe/params/order_create_params.rb +0 -1124
- data/lib/stripe/params/order_line_item_list_params.rb +0 -22
- data/lib/stripe/params/order_list_line_items_params.rb +0 -22
- data/lib/stripe/params/order_list_params.rb +0 -25
- data/lib/stripe/params/order_reopen_params.rb +0 -13
- data/lib/stripe/params/order_retrieve_params.rb +0 -13
- data/lib/stripe/params/order_submit_params.rb +0 -16
- data/lib/stripe/params/order_update_params.rb +0 -1128
- data/lib/stripe/params/payment_intent_decrement_authorization_params.rb +0 -73
- data/lib/stripe/params/payment_intent_trigger_action_params.rb +0 -27
- data/lib/stripe/params/privacy/redaction_job_cancel_params.rb +0 -15
- data/lib/stripe/params/privacy/redaction_job_create_params.rb +0 -67
- data/lib/stripe/params/privacy/redaction_job_list_params.rb +0 -27
- data/lib/stripe/params/privacy/redaction_job_retrieve_params.rb +0 -15
- data/lib/stripe/params/privacy/redaction_job_run_params.rb +0 -15
- data/lib/stripe/params/privacy/redaction_job_update_params.rb +0 -18
- data/lib/stripe/params/privacy/redaction_job_validate_params.rb +0 -15
- data/lib/stripe/params/privacy/redaction_job_validation_error_list_params.rb +0 -24
- data/lib/stripe/params/quote_line_list_params.rb +0 -22
- data/lib/stripe/params/quote_list_lines_params.rb +0 -22
- data/lib/stripe/params/quote_list_preview_invoice_lines_params.rb +0 -22
- data/lib/stripe/params/quote_mark_draft_params.rb +0 -13
- data/lib/stripe/params/quote_mark_stale_params.rb +0 -16
- data/lib/stripe/params/quote_preview_invoice_list_params.rb +0 -22
- data/lib/stripe/params/quote_preview_subscription_schedule_list_params.rb +0 -22
- data/lib/stripe/params/quote_reestimate_params.rb +0 -13
- data/lib/stripe/params/subscription_attach_cadence_params.rb +0 -16
- data/lib/stripe/params/subscription_schedule_amend_params.rb +0 -570
- data/lib/stripe/params/tax/association_find_params.rb +0 -18
- data/lib/stripe/params/tax/form_list_params.rb +0 -51
- data/lib/stripe/params/tax/form_pdf_params.rb +0 -15
- data/lib/stripe/params/tax/form_retrieve_params.rb +0 -15
- data/lib/stripe/params/terminal/onboarding_link_create_params.rb +0 -43
- data/lib/stripe/params/terminal/reader_collected_data_retrieve_params.rb +0 -15
- data/lib/stripe/params/v2/billing/bill_setting_create_params.rb +0 -74
- data/lib/stripe/params/v2/billing/bill_setting_list_params.rb +0 -21
- data/lib/stripe/params/v2/billing/bill_setting_retrieve_params.rb +0 -10
- data/lib/stripe/params/v2/billing/bill_setting_update_params.rb +0 -80
- data/lib/stripe/params/v2/billing/bill_settings/version_list_params.rb +0 -19
- data/lib/stripe/params/v2/billing/bill_settings/version_retrieve_params.rb +0 -12
- data/lib/stripe/params/v2/billing/cadence_cancel_params.rb +0 -10
- data/lib/stripe/params/v2/billing/cadence_create_params.rb +0 -253
- data/lib/stripe/params/v2/billing/cadence_list_params.rb +0 -43
- data/lib/stripe/params/v2/billing/cadence_retrieve_params.rb +0 -17
- data/lib/stripe/params/v2/billing/cadence_update_params.rb +0 -75
- data/lib/stripe/params/v2/billing/collection_setting_create_params.rb +0 -223
- data/lib/stripe/params/v2/billing/collection_setting_list_params.rb +0 -21
- data/lib/stripe/params/v2/billing/collection_setting_retrieve_params.rb +0 -10
- data/lib/stripe/params/v2/billing/collection_setting_update_params.rb +0 -229
- data/lib/stripe/params/v2/billing/collection_settings/version_list_params.rb +0 -19
- data/lib/stripe/params/v2/billing/collection_settings/version_retrieve_params.rb +0 -12
- data/lib/stripe/params/v2/billing/profile_create_params.rb +0 -37
- data/lib/stripe/params/v2/billing/profile_list_params.rb +0 -40
- data/lib/stripe/params/v2/billing/profile_retrieve_params.rb +0 -10
- data/lib/stripe/params/v2/billing/profile_update_params.rb +0 -35
- data/lib/stripe/params/v2/core/account_close_params.rb +0 -17
- data/lib/stripe/params/v2/core/account_create_params.rb +0 -2248
- data/lib/stripe/params/v2/core/account_link_create_params.rb +0 -101
- data/lib/stripe/params/v2/core/account_list_params.rb +0 -23
- data/lib/stripe/params/v2/core/account_retrieve_params.rb +0 -17
- data/lib/stripe/params/v2/core/account_update_params.rb +0 -2294
- data/lib/stripe/params/v2/core/accounts/person_create_params.rb +0 -493
- data/lib/stripe/params/v2/core/accounts/person_delete_params.rb +0 -12
- data/lib/stripe/params/v2/core/accounts/person_list_params.rb +0 -19
- data/lib/stripe/params/v2/core/accounts/person_retrieve_params.rb +0 -12
- data/lib/stripe/params/v2/core/accounts/person_update_params.rb +0 -493
- data/lib/stripe/params/v2/core/vault/gb_bank_account_acknowledge_confirmation_of_payee_params.rb +0 -12
- data/lib/stripe/params/v2/core/vault/gb_bank_account_archive_params.rb +0 -12
- data/lib/stripe/params/v2/core/vault/gb_bank_account_create_params.rb +0 -50
- data/lib/stripe/params/v2/core/vault/gb_bank_account_initiate_confirmation_of_payee_params.rb +0 -22
- data/lib/stripe/params/v2/core/vault/gb_bank_account_list_params.rb +0 -19
- data/lib/stripe/params/v2/core/vault/gb_bank_account_retrieve_params.rb +0 -12
- data/lib/stripe/params/v2/core/vault/us_bank_account_archive_params.rb +0 -12
- data/lib/stripe/params/v2/core/vault/us_bank_account_confirm_microdeposits_params.rb +0 -22
- data/lib/stripe/params/v2/core/vault/us_bank_account_create_params.rb +0 -33
- data/lib/stripe/params/v2/core/vault/us_bank_account_list_params.rb +0 -22
- data/lib/stripe/params/v2/core/vault/us_bank_account_retrieve_params.rb +0 -12
- data/lib/stripe/params/v2/core/vault/us_bank_account_send_microdeposits_params.rb +0 -12
- data/lib/stripe/params/v2/core/vault/us_bank_account_update_params.rb +0 -22
- data/lib/stripe/params/v2/money_management/adjustment_list_params.rb +0 -48
- data/lib/stripe/params/v2/money_management/adjustment_retrieve_params.rb +0 -10
- data/lib/stripe/params/v2/money_management/financial_account_close_params.rb +0 -28
- data/lib/stripe/params/v2/money_management/financial_account_create_params.rb +0 -34
- data/lib/stripe/params/v2/money_management/financial_account_list_params.rb +0 -20
- data/lib/stripe/params/v2/money_management/financial_account_retrieve_params.rb +0 -10
- data/lib/stripe/params/v2/money_management/financial_account_update_params.rb +0 -20
- data/lib/stripe/params/v2/money_management/financial_address_create_params.rb +0 -20
- data/lib/stripe/params/v2/money_management/financial_address_list_params.rb +0 -23
- data/lib/stripe/params/v2/money_management/financial_address_retrieve_params.rb +0 -17
- data/lib/stripe/params/v2/money_management/inbound_transfer_create_params.rb +0 -50
- data/lib/stripe/params/v2/money_management/inbound_transfer_list_params.rb +0 -44
- data/lib/stripe/params/v2/money_management/inbound_transfer_retrieve_params.rb +0 -10
- data/lib/stripe/params/v2/money_management/outbound_payment_cancel_params.rb +0 -10
- data/lib/stripe/params/v2/money_management/outbound_payment_create_params.rb +0 -98
- data/lib/stripe/params/v2/money_management/outbound_payment_list_params.rb +0 -52
- data/lib/stripe/params/v2/money_management/outbound_payment_quote_create_params.rb +0 -67
- data/lib/stripe/params/v2/money_management/outbound_payment_quote_retrieve_params.rb +0 -10
- data/lib/stripe/params/v2/money_management/outbound_payment_retrieve_params.rb +0 -10
- data/lib/stripe/params/v2/money_management/outbound_setup_intent_cancel_params.rb +0 -10
- data/lib/stripe/params/v2/money_management/outbound_setup_intent_create_params.rb +0 -85
- data/lib/stripe/params/v2/money_management/outbound_setup_intent_list_params.rb +0 -17
- data/lib/stripe/params/v2/money_management/outbound_setup_intent_retrieve_params.rb +0 -10
- data/lib/stripe/params/v2/money_management/outbound_setup_intent_update_params.rb +0 -80
- data/lib/stripe/params/v2/money_management/outbound_transfer_cancel_params.rb +0 -10
- data/lib/stripe/params/v2/money_management/outbound_transfer_create_params.rb +0 -77
- data/lib/stripe/params/v2/money_management/outbound_transfer_list_params.rb +0 -48
- data/lib/stripe/params/v2/money_management/outbound_transfer_retrieve_params.rb +0 -10
- data/lib/stripe/params/v2/money_management/payout_method_archive_params.rb +0 -10
- data/lib/stripe/params/v2/money_management/payout_method_list_params.rb +0 -31
- data/lib/stripe/params/v2/money_management/payout_method_retrieve_params.rb +0 -10
- data/lib/stripe/params/v2/money_management/payout_method_unarchive_params.rb +0 -10
- data/lib/stripe/params/v2/money_management/payout_methods_bank_account_spec_retrieve_params.rb +0 -17
- data/lib/stripe/params/v2/money_management/received_credit_list_params.rb +0 -44
- data/lib/stripe/params/v2/money_management/received_credit_retrieve_params.rb +0 -10
- data/lib/stripe/params/v2/money_management/received_debit_list_params.rb +0 -17
- data/lib/stripe/params/v2/money_management/received_debit_retrieve_params.rb +0 -10
- data/lib/stripe/params/v2/money_management/transaction_entry_list_params.rb +0 -43
- data/lib/stripe/params/v2/money_management/transaction_entry_retrieve_params.rb +0 -10
- data/lib/stripe/params/v2/money_management/transaction_list_params.rb +0 -47
- data/lib/stripe/params/v2/money_management/transaction_retrieve_params.rb +0 -10
- data/lib/stripe/params/v2/payments/off_session_payment_cancel_params.rb +0 -10
- data/lib/stripe/params/v2/payments/off_session_payment_capture_params.rb +0 -61
- data/lib/stripe/params/v2/payments/off_session_payment_create_params.rb +0 -237
- data/lib/stripe/params/v2/payments/off_session_payment_list_params.rb +0 -17
- data/lib/stripe/params/v2/payments/off_session_payment_retrieve_params.rb +0 -10
- data/lib/stripe/params/v2/test_helpers/financial_address_credit_params.rb +0 -23
- data/lib/stripe/params/v2/test_helpers/financial_address_generate_microdeposits_params.rb +0 -10
- data/lib/stripe/resources/account_notice.rb +0 -94
- data/lib/stripe/resources/billing/analytics/meter_usage.rb +0 -33
- data/lib/stripe/resources/billing/analytics/meter_usage_row.rb +0 -38
- data/lib/stripe/resources/capital/financing_offer.rb +0 -142
- data/lib/stripe/resources/capital/financing_summary.rb +0 -79
- data/lib/stripe/resources/capital/financing_transaction.rb +0 -99
- data/lib/stripe/resources/financial_connections/account_inferred_balance.rb +0 -35
- data/lib/stripe/resources/financial_connections/institution.rb +0 -127
- data/lib/stripe/resources/fx_quote.rb +0 -147
- data/lib/stripe/resources/issuing/credit_underwriting_record.rb +0 -263
- data/lib/stripe/resources/issuing/dispute_settlement_detail.rb +0 -71
- data/lib/stripe/resources/issuing/fraud_liability_debit.rb +0 -51
- data/lib/stripe/resources/issuing/settlement.rb +0 -61
- data/lib/stripe/resources/margin.rb +0 -64
- data/lib/stripe/resources/order.rb +0 -987
- data/lib/stripe/resources/privacy/redaction_job.rb +0 -187
- data/lib/stripe/resources/privacy/redaction_job_validation_error.rb +0 -49
- data/lib/stripe/resources/quote_line.rb +0 -521
- data/lib/stripe/resources/quote_preview_invoice.rb +0 -1150
- data/lib/stripe/resources/quote_preview_subscription_schedule.rb +0 -732
- data/lib/stripe/resources/tax/association.rb +0 -86
- data/lib/stripe/resources/tax/form.rb +0 -264
- data/lib/stripe/resources/terminal/onboarding_link.rb +0 -71
- data/lib/stripe/resources/terminal/reader_collected_data.rb +0 -47
- data/lib/stripe/resources/v2/billing/bill_setting.rb +0 -102
- data/lib/stripe/resources/v2/billing/bill_setting_version.rb +0 -90
- data/lib/stripe/resources/v2/billing/cadence.rb +0 -609
- data/lib/stripe/resources/v2/billing/collection_setting.rb +0 -274
- data/lib/stripe/resources/v2/billing/collection_setting_version.rb +0 -262
- data/lib/stripe/resources/v2/billing/profile.rb +0 -46
- data/lib/stripe/resources/v2/core/account.rb +0 -3906
- data/lib/stripe/resources/v2/core/account_link.rb +0 -123
- data/lib/stripe/resources/v2/core/account_person.rb +0 -477
- data/lib/stripe/resources/v2/core/vault/gb_bank_account.rb +0 -114
- data/lib/stripe/resources/v2/core/vault/us_bank_account.rb +0 -81
- data/lib/stripe/resources/v2/financial_address_credit_simulation.rb +0 -28
- data/lib/stripe/resources/v2/financial_address_generated_microdeposits.rb +0 -30
- data/lib/stripe/resources/v2/money_management/adjustment.rb +0 -67
- data/lib/stripe/resources/v2/money_management/financial_account.rb +0 -140
- data/lib/stripe/resources/v2/money_management/financial_address.rb +0 -132
- data/lib/stripe/resources/v2/money_management/inbound_transfer.rb +0 -148
- data/lib/stripe/resources/v2/money_management/outbound_payment.rb +0 -217
- data/lib/stripe/resources/v2/money_management/outbound_payment_quote.rb +0 -144
- data/lib/stripe/resources/v2/money_management/outbound_setup_intent.rb +0 -69
- data/lib/stripe/resources/v2/money_management/outbound_transfer.rb +0 -196
- data/lib/stripe/resources/v2/money_management/payout_method.rb +0 -109
- data/lib/stripe/resources/v2/money_management/payout_methods_bank_account_spec.rb +0 -81
- data/lib/stripe/resources/v2/money_management/received_credit.rb +0 -228
- data/lib/stripe/resources/v2/money_management/received_debit.rb +0 -136
- data/lib/stripe/resources/v2/money_management/transaction.rb +0 -116
- data/lib/stripe/resources/v2/money_management/transaction_entry.rb +0 -105
- data/lib/stripe/resources/v2/payments/off_session_payment.rb +0 -242
- data/lib/stripe/services/account_notice_service.rb +0 -39
- data/lib/stripe/services/billing/analytics/meter_usage_service.rb +0 -21
- data/lib/stripe/services/billing/analytics_service.rb +0 -15
- data/lib/stripe/services/capital/financing_offer_service.rb +0 -42
- data/lib/stripe/services/capital/financing_summary_service.rb +0 -19
- data/lib/stripe/services/capital/financing_transaction_service.rb +0 -31
- data/lib/stripe/services/capital_service.rb +0 -15
- data/lib/stripe/services/external_account_service.rb +0 -68
- data/lib/stripe/services/financial_connections/account_inferred_balance_service.rb +0 -19
- data/lib/stripe/services/financial_connections/institution_service.rb +0 -30
- data/lib/stripe/services/fx_quote_service.rb +0 -27
- data/lib/stripe/services/issuing/credit_underwriting_record_service.rb +0 -74
- data/lib/stripe/services/issuing/dispute_settlement_detail_service.rb +0 -30
- data/lib/stripe/services/issuing/fraud_liability_debit_service.rb +0 -30
- data/lib/stripe/services/margin_service.rb +0 -50
- data/lib/stripe/services/order_line_item_service.rb +0 -17
- data/lib/stripe/services/order_service.rb +0 -78
- data/lib/stripe/services/privacy/redaction_job_service.rb +0 -104
- data/lib/stripe/services/privacy/redaction_job_validation_error_service.rb +0 -19
- data/lib/stripe/services/privacy_service.rb +0 -13
- data/lib/stripe/services/quote_line_service.rb +0 -17
- data/lib/stripe/services/quote_preview_invoice_service.rb +0 -17
- data/lib/stripe/services/quote_preview_subscription_schedule_service.rb +0 -17
- data/lib/stripe/services/tax/association_service.rb +0 -19
- data/lib/stripe/services/tax/form_service.rb +0 -37
- data/lib/stripe/services/terminal/onboarding_link_service.rb +0 -19
- data/lib/stripe/services/terminal/reader_collected_data_service.rb +0 -19
- data/lib/stripe/services/v2/billing/bill_setting_service.rb +0 -61
- data/lib/stripe/services/v2/billing/bill_settings/version_service.rb +0 -34
- data/lib/stripe/services/v2/billing/cadence_service.rb +0 -65
- data/lib/stripe/services/v2/billing/collection_setting_service.rb +0 -61
- data/lib/stripe/services/v2/billing/collection_settings/version_service.rb +0 -34
- data/lib/stripe/services/v2/billing/profile_service.rb +0 -54
- data/lib/stripe/services/v2/core/account_link_service.rb +0 -21
- data/lib/stripe/services/v2/core/account_service.rb +0 -76
- data/lib/stripe/services/v2/core/accounts/person_service.rb +0 -67
- data/lib/stripe/services/v2/core/vault/gb_bank_account_service.rb +0 -85
- data/lib/stripe/services/v2/core/vault/us_bank_account_service.rb +0 -101
- data/lib/stripe/services/v2/core/vault_service.rb +0 -18
- data/lib/stripe/services/v2/money_management/adjustment_service.rb +0 -32
- data/lib/stripe/services/v2/money_management/financial_account_service.rb +0 -70
- data/lib/stripe/services/v2/money_management/financial_address_service.rb +0 -46
- data/lib/stripe/services/v2/money_management/inbound_transfer_service.rb +0 -45
- data/lib/stripe/services/v2/money_management/outbound_payment_quote_service.rb +0 -34
- data/lib/stripe/services/v2/money_management/outbound_payment_service.rb +0 -62
- data/lib/stripe/services/v2/money_management/outbound_setup_intent_service.rb +0 -73
- data/lib/stripe/services/v2/money_management/outbound_transfer_service.rb +0 -60
- data/lib/stripe/services/v2/money_management/payout_method_service.rb +0 -63
- data/lib/stripe/services/v2/money_management/payout_methods_bank_account_spec_service.rb +0 -23
- data/lib/stripe/services/v2/money_management/received_credit_service.rb +0 -32
- data/lib/stripe/services/v2/money_management/received_debit_service.rb +0 -32
- data/lib/stripe/services/v2/money_management/transaction_entry_service.rb +0 -32
- data/lib/stripe/services/v2/money_management/transaction_service.rb +0 -32
- data/lib/stripe/services/v2/money_management_service.rb +0 -31
- data/lib/stripe/services/v2/payment_service.rb +0 -15
- data/lib/stripe/services/v2/payments/off_session_payment_service.rb +0 -65
- data/lib/stripe/services/v2/test_helper_service.rb +0 -15
- data/lib/stripe/services/v2/test_helpers/financial_address_service.rb +0 -36
|
@@ -5,14 +5,11 @@ module Stripe
|
|
|
5
5
|
class PaymentMethodAttachParams < ::Stripe::RequestParams
|
|
6
6
|
# The ID of the customer to which to attach the PaymentMethod.
|
|
7
7
|
attr_accessor :customer
|
|
8
|
-
# The ID of the account to which to attach the PaymentMethod.
|
|
9
|
-
attr_accessor :customer_account
|
|
10
8
|
# Specifies which fields in the response should be expanded.
|
|
11
9
|
attr_accessor :expand
|
|
12
10
|
|
|
13
|
-
def initialize(customer: nil,
|
|
11
|
+
def initialize(customer: nil, expand: nil)
|
|
14
12
|
@customer = customer
|
|
15
|
-
@customer_account = customer_account
|
|
16
13
|
@expand = expand
|
|
17
14
|
end
|
|
18
15
|
end
|
|
@@ -411,23 +411,6 @@ module Stripe
|
|
|
411
411
|
end
|
|
412
412
|
end
|
|
413
413
|
|
|
414
|
-
class Gopay < ::Stripe::RequestParams
|
|
415
|
-
class DisplayPreference < ::Stripe::RequestParams
|
|
416
|
-
# The account's preference for whether or not to display this payment method.
|
|
417
|
-
attr_accessor :preference
|
|
418
|
-
|
|
419
|
-
def initialize(preference: nil)
|
|
420
|
-
@preference = preference
|
|
421
|
-
end
|
|
422
|
-
end
|
|
423
|
-
# Whether or not the payment method should be displayed.
|
|
424
|
-
attr_accessor :display_preference
|
|
425
|
-
|
|
426
|
-
def initialize(display_preference: nil)
|
|
427
|
-
@display_preference = display_preference
|
|
428
|
-
end
|
|
429
|
-
end
|
|
430
|
-
|
|
431
414
|
class Grabpay < ::Stripe::RequestParams
|
|
432
415
|
class DisplayPreference < ::Stripe::RequestParams
|
|
433
416
|
# The account's preference for whether or not to display this payment method.
|
|
@@ -445,23 +428,6 @@ module Stripe
|
|
|
445
428
|
end
|
|
446
429
|
end
|
|
447
430
|
|
|
448
|
-
class IdBankTransfer < ::Stripe::RequestParams
|
|
449
|
-
class DisplayPreference < ::Stripe::RequestParams
|
|
450
|
-
# The account's preference for whether or not to display this payment method.
|
|
451
|
-
attr_accessor :preference
|
|
452
|
-
|
|
453
|
-
def initialize(preference: nil)
|
|
454
|
-
@preference = preference
|
|
455
|
-
end
|
|
456
|
-
end
|
|
457
|
-
# Whether or not the payment method should be displayed.
|
|
458
|
-
attr_accessor :display_preference
|
|
459
|
-
|
|
460
|
-
def initialize(display_preference: nil)
|
|
461
|
-
@display_preference = display_preference
|
|
462
|
-
end
|
|
463
|
-
end
|
|
464
|
-
|
|
465
431
|
class Ideal < ::Stripe::RequestParams
|
|
466
432
|
class DisplayPreference < ::Stripe::RequestParams
|
|
467
433
|
# The account's preference for whether or not to display this payment method.
|
|
@@ -768,40 +734,6 @@ module Stripe
|
|
|
768
734
|
end
|
|
769
735
|
end
|
|
770
736
|
|
|
771
|
-
class Paypay < ::Stripe::RequestParams
|
|
772
|
-
class DisplayPreference < ::Stripe::RequestParams
|
|
773
|
-
# The account's preference for whether or not to display this payment method.
|
|
774
|
-
attr_accessor :preference
|
|
775
|
-
|
|
776
|
-
def initialize(preference: nil)
|
|
777
|
-
@preference = preference
|
|
778
|
-
end
|
|
779
|
-
end
|
|
780
|
-
# Whether or not the payment method should be displayed.
|
|
781
|
-
attr_accessor :display_preference
|
|
782
|
-
|
|
783
|
-
def initialize(display_preference: nil)
|
|
784
|
-
@display_preference = display_preference
|
|
785
|
-
end
|
|
786
|
-
end
|
|
787
|
-
|
|
788
|
-
class Payto < ::Stripe::RequestParams
|
|
789
|
-
class DisplayPreference < ::Stripe::RequestParams
|
|
790
|
-
# The account's preference for whether or not to display this payment method.
|
|
791
|
-
attr_accessor :preference
|
|
792
|
-
|
|
793
|
-
def initialize(preference: nil)
|
|
794
|
-
@preference = preference
|
|
795
|
-
end
|
|
796
|
-
end
|
|
797
|
-
# Whether or not the payment method should be displayed.
|
|
798
|
-
attr_accessor :display_preference
|
|
799
|
-
|
|
800
|
-
def initialize(display_preference: nil)
|
|
801
|
-
@display_preference = display_preference
|
|
802
|
-
end
|
|
803
|
-
end
|
|
804
|
-
|
|
805
737
|
class Pix < ::Stripe::RequestParams
|
|
806
738
|
class DisplayPreference < ::Stripe::RequestParams
|
|
807
739
|
# The account's preference for whether or not to display this payment method.
|
|
@@ -836,23 +768,6 @@ module Stripe
|
|
|
836
768
|
end
|
|
837
769
|
end
|
|
838
770
|
|
|
839
|
-
class Qris < ::Stripe::RequestParams
|
|
840
|
-
class DisplayPreference < ::Stripe::RequestParams
|
|
841
|
-
# The account's preference for whether or not to display this payment method.
|
|
842
|
-
attr_accessor :preference
|
|
843
|
-
|
|
844
|
-
def initialize(preference: nil)
|
|
845
|
-
@preference = preference
|
|
846
|
-
end
|
|
847
|
-
end
|
|
848
|
-
# Whether or not the payment method should be displayed.
|
|
849
|
-
attr_accessor :display_preference
|
|
850
|
-
|
|
851
|
-
def initialize(display_preference: nil)
|
|
852
|
-
@display_preference = display_preference
|
|
853
|
-
end
|
|
854
|
-
end
|
|
855
|
-
|
|
856
771
|
class RevolutPay < ::Stripe::RequestParams
|
|
857
772
|
class DisplayPreference < ::Stripe::RequestParams
|
|
858
773
|
# The account's preference for whether or not to display this payment method.
|
|
@@ -921,23 +836,6 @@ module Stripe
|
|
|
921
836
|
end
|
|
922
837
|
end
|
|
923
838
|
|
|
924
|
-
class Shopeepay < ::Stripe::RequestParams
|
|
925
|
-
class DisplayPreference < ::Stripe::RequestParams
|
|
926
|
-
# The account's preference for whether or not to display this payment method.
|
|
927
|
-
attr_accessor :preference
|
|
928
|
-
|
|
929
|
-
def initialize(preference: nil)
|
|
930
|
-
@preference = preference
|
|
931
|
-
end
|
|
932
|
-
end
|
|
933
|
-
# Whether or not the payment method should be displayed.
|
|
934
|
-
attr_accessor :display_preference
|
|
935
|
-
|
|
936
|
-
def initialize(display_preference: nil)
|
|
937
|
-
@display_preference = display_preference
|
|
938
|
-
end
|
|
939
|
-
end
|
|
940
|
-
|
|
941
839
|
class Sofort < ::Stripe::RequestParams
|
|
942
840
|
class DisplayPreference < ::Stripe::RequestParams
|
|
943
841
|
# The account's preference for whether or not to display this payment method.
|
|
@@ -1089,12 +987,8 @@ module Stripe
|
|
|
1089
987
|
attr_accessor :giropay
|
|
1090
988
|
# Google Pay allows customers to make payments in your app or website using any credit or debit card saved to their Google Account, including those from Google Play, YouTube, Chrome, or an Android device. Use the Google Pay API to request any credit or debit card stored in your customer's Google account. Check this [page](https://stripe.com/docs/google-pay) for more details.
|
|
1091
989
|
attr_accessor :google_pay
|
|
1092
|
-
# GoPay is a [single use](https://stripe.com/docs/payments/payment-methods#usage) digital wallet payment method popular in Indonesia. When paying with GoPay, customers authenticate and approve payments using the Gojek app. Desktop checkout is performed by scanning a QR code. When checking out on mobile, customers are redirected to the Gojek app to confirm payment.
|
|
1093
|
-
attr_accessor :gopay
|
|
1094
990
|
# GrabPay is a payment method developed by [Grab](https://www.grab.com/sg/consumer/finance/pay/). GrabPay is a digital wallet - customers maintain a balance in their wallets that they pay out with. Check this [page](https://stripe.com/docs/payments/grabpay) for more details.
|
|
1095
991
|
attr_accessor :grabpay
|
|
1096
|
-
# Stripe users in Indonesia can receive bank transfers from customers in Indonesia. Bank transfers are a popular B2C and B2B payment method in Indonesia.
|
|
1097
|
-
attr_accessor :id_bank_transfer
|
|
1098
992
|
# iDEAL is a Netherlands-based payment method that allows customers to complete transactions online using their bank credentials. All major Dutch banks are members of Currence, the scheme that operates iDEAL, making it the most popular online payment method in the Netherlands with a share of online transactions close to 55%. Check this [page](https://stripe.com/docs/payments/ideal) for more details.
|
|
1099
993
|
attr_accessor :ideal
|
|
1100
994
|
# JCB is a credit card company based in Japan. JCB is currently available in Japan to businesses approved by JCB, and available to all businesses in Australia, Canada, Hong Kong, Japan, New Zealand, Singapore, Switzerland, United Kingdom, United States, and all countries in the European Economic Area except Iceland. Check this [page](https://support.stripe.com/questions/accepting-japan-credit-bureau-%28jcb%29-payments) for more details.
|
|
@@ -1135,16 +1029,10 @@ module Stripe
|
|
|
1135
1029
|
attr_accessor :paynow
|
|
1136
1030
|
# PayPal, a digital wallet popular with customers in Europe, allows your customers worldwide to pay using their PayPal account. Check this [page](https://stripe.com/docs/payments/paypal) for more details.
|
|
1137
1031
|
attr_accessor :paypal
|
|
1138
|
-
# Customers can pay with PayPay online or using the PayPay app.
|
|
1139
|
-
attr_accessor :paypay
|
|
1140
|
-
# PayTo is a [real-time](https://docs.stripe.com/payments/real-time) payment method that enables customers in Australia to pay by providing their bank account details. Customers must accept a mandate authorizing you to debit their account. Check this [page](https://docs.stripe.com/payments/payto) for more details.
|
|
1141
|
-
attr_accessor :payto
|
|
1142
1032
|
# Pix is a payment method popular in Brazil. When paying with Pix, customers authenticate and approve payments by scanning a QR code in their preferred banking app. Check this [page](https://docs.stripe.com/payments/pix) for more details.
|
|
1143
1033
|
attr_accessor :pix
|
|
1144
1034
|
# PromptPay is a Thailand-based payment method that allows customers to make a payment using their preferred app from participating banks. Check this [page](https://stripe.com/docs/payments/promptpay) for more details.
|
|
1145
1035
|
attr_accessor :promptpay
|
|
1146
|
-
# QRIS is a [real-time](https://docs.stripe.com/payments/real-time) payment method popular in Indonesia. When paying with QRIS, customers authenticate and approve payments by scanning a QR code in their preferred digital wallet app.
|
|
1147
|
-
attr_accessor :qris
|
|
1148
1036
|
# Revolut Pay, developed by Revolut, a global finance app, is a digital wallet payment method. Revolut Pay uses the customer’s stored balance or cards to fund the payment, and offers the option for non-Revolut customers to save their details after their first purchase.
|
|
1149
1037
|
attr_accessor :revolut_pay
|
|
1150
1038
|
# Samsung Pay is a [single-use](https://docs.stripe.com/payments/payment-methods#usage local wallet available in South Korea.
|
|
@@ -1153,8 +1041,6 @@ module Stripe
|
|
|
1153
1041
|
attr_accessor :satispay
|
|
1154
1042
|
# The [Single Euro Payments Area (SEPA)](https://en.wikipedia.org/wiki/Single_Euro_Payments_Area) is an initiative of the European Union to simplify payments within and across member countries. SEPA established and enforced banking standards to allow for the direct debiting of every EUR-denominated bank account within the SEPA region, check this [page](https://stripe.com/docs/payments/sepa-debit) for more details.
|
|
1155
1043
|
attr_accessor :sepa_debit
|
|
1156
|
-
# ShopeePay is a [single use](https://stripe.com/docs/payments/payment-methods#usage) digital wallet payment method popular in Indonesia. When paying with GoPay, customers authenticate and approve payments using the Shopee app. Desktop checkout is performed by scanning a QR code. When checking out on mobile, customers are redirected to the Shopee app to confirm payment.
|
|
1157
|
-
attr_accessor :shopeepay
|
|
1158
1044
|
# Stripe users in Europe and the United States can use the [Payment Intents API](https://stripe.com/docs/payments/payment-intents)—a single integration path for creating payments using any supported method—to accept [Sofort](https://www.sofort.com/) payments from customers. Check this [page](https://stripe.com/docs/payments/sofort) for more details.
|
|
1159
1045
|
attr_accessor :sofort
|
|
1160
1046
|
# Swish is a [real-time](https://stripe.com/docs/payments/real-time) payment method popular in Sweden. It allows customers to [authenticate and approve](https://stripe.com/docs/payments/payment-methods#customer-actions) payments using the Swish mobile app and the Swedish BankID mobile app. Check this [page](https://stripe.com/docs/payments/swish) for more details.
|
|
@@ -1194,9 +1080,7 @@ module Stripe
|
|
|
1194
1080
|
fr_meal_voucher_conecs: nil,
|
|
1195
1081
|
giropay: nil,
|
|
1196
1082
|
google_pay: nil,
|
|
1197
|
-
gopay: nil,
|
|
1198
1083
|
grabpay: nil,
|
|
1199
|
-
id_bank_transfer: nil,
|
|
1200
1084
|
ideal: nil,
|
|
1201
1085
|
jcb: nil,
|
|
1202
1086
|
kakao_pay: nil,
|
|
@@ -1217,16 +1101,12 @@ module Stripe
|
|
|
1217
1101
|
payco: nil,
|
|
1218
1102
|
paynow: nil,
|
|
1219
1103
|
paypal: nil,
|
|
1220
|
-
paypay: nil,
|
|
1221
|
-
payto: nil,
|
|
1222
1104
|
pix: nil,
|
|
1223
1105
|
promptpay: nil,
|
|
1224
|
-
qris: nil,
|
|
1225
1106
|
revolut_pay: nil,
|
|
1226
1107
|
samsung_pay: nil,
|
|
1227
1108
|
satispay: nil,
|
|
1228
1109
|
sepa_debit: nil,
|
|
1229
|
-
shopeepay: nil,
|
|
1230
1110
|
sofort: nil,
|
|
1231
1111
|
swish: nil,
|
|
1232
1112
|
twint: nil,
|
|
@@ -1259,9 +1139,7 @@ module Stripe
|
|
|
1259
1139
|
@fr_meal_voucher_conecs = fr_meal_voucher_conecs
|
|
1260
1140
|
@giropay = giropay
|
|
1261
1141
|
@google_pay = google_pay
|
|
1262
|
-
@gopay = gopay
|
|
1263
1142
|
@grabpay = grabpay
|
|
1264
|
-
@id_bank_transfer = id_bank_transfer
|
|
1265
1143
|
@ideal = ideal
|
|
1266
1144
|
@jcb = jcb
|
|
1267
1145
|
@kakao_pay = kakao_pay
|
|
@@ -1282,16 +1160,12 @@ module Stripe
|
|
|
1282
1160
|
@payco = payco
|
|
1283
1161
|
@paynow = paynow
|
|
1284
1162
|
@paypal = paypal
|
|
1285
|
-
@paypay = paypay
|
|
1286
|
-
@payto = payto
|
|
1287
1163
|
@pix = pix
|
|
1288
1164
|
@promptpay = promptpay
|
|
1289
|
-
@qris = qris
|
|
1290
1165
|
@revolut_pay = revolut_pay
|
|
1291
1166
|
@samsung_pay = samsung_pay
|
|
1292
1167
|
@satispay = satispay
|
|
1293
1168
|
@sepa_debit = sepa_debit
|
|
1294
|
-
@shopeepay = shopeepay
|
|
1295
1169
|
@sofort = sofort
|
|
1296
1170
|
@swish = swish
|
|
1297
1171
|
@twint = twint
|
|
@@ -411,23 +411,6 @@ module Stripe
|
|
|
411
411
|
end
|
|
412
412
|
end
|
|
413
413
|
|
|
414
|
-
class Gopay < ::Stripe::RequestParams
|
|
415
|
-
class DisplayPreference < ::Stripe::RequestParams
|
|
416
|
-
# The account's preference for whether or not to display this payment method.
|
|
417
|
-
attr_accessor :preference
|
|
418
|
-
|
|
419
|
-
def initialize(preference: nil)
|
|
420
|
-
@preference = preference
|
|
421
|
-
end
|
|
422
|
-
end
|
|
423
|
-
# Whether or not the payment method should be displayed.
|
|
424
|
-
attr_accessor :display_preference
|
|
425
|
-
|
|
426
|
-
def initialize(display_preference: nil)
|
|
427
|
-
@display_preference = display_preference
|
|
428
|
-
end
|
|
429
|
-
end
|
|
430
|
-
|
|
431
414
|
class Grabpay < ::Stripe::RequestParams
|
|
432
415
|
class DisplayPreference < ::Stripe::RequestParams
|
|
433
416
|
# The account's preference for whether or not to display this payment method.
|
|
@@ -445,23 +428,6 @@ module Stripe
|
|
|
445
428
|
end
|
|
446
429
|
end
|
|
447
430
|
|
|
448
|
-
class IdBankTransfer < ::Stripe::RequestParams
|
|
449
|
-
class DisplayPreference < ::Stripe::RequestParams
|
|
450
|
-
# The account's preference for whether or not to display this payment method.
|
|
451
|
-
attr_accessor :preference
|
|
452
|
-
|
|
453
|
-
def initialize(preference: nil)
|
|
454
|
-
@preference = preference
|
|
455
|
-
end
|
|
456
|
-
end
|
|
457
|
-
# Whether or not the payment method should be displayed.
|
|
458
|
-
attr_accessor :display_preference
|
|
459
|
-
|
|
460
|
-
def initialize(display_preference: nil)
|
|
461
|
-
@display_preference = display_preference
|
|
462
|
-
end
|
|
463
|
-
end
|
|
464
|
-
|
|
465
431
|
class Ideal < ::Stripe::RequestParams
|
|
466
432
|
class DisplayPreference < ::Stripe::RequestParams
|
|
467
433
|
# The account's preference for whether or not to display this payment method.
|
|
@@ -768,40 +734,6 @@ module Stripe
|
|
|
768
734
|
end
|
|
769
735
|
end
|
|
770
736
|
|
|
771
|
-
class Paypay < ::Stripe::RequestParams
|
|
772
|
-
class DisplayPreference < ::Stripe::RequestParams
|
|
773
|
-
# The account's preference for whether or not to display this payment method.
|
|
774
|
-
attr_accessor :preference
|
|
775
|
-
|
|
776
|
-
def initialize(preference: nil)
|
|
777
|
-
@preference = preference
|
|
778
|
-
end
|
|
779
|
-
end
|
|
780
|
-
# Whether or not the payment method should be displayed.
|
|
781
|
-
attr_accessor :display_preference
|
|
782
|
-
|
|
783
|
-
def initialize(display_preference: nil)
|
|
784
|
-
@display_preference = display_preference
|
|
785
|
-
end
|
|
786
|
-
end
|
|
787
|
-
|
|
788
|
-
class Payto < ::Stripe::RequestParams
|
|
789
|
-
class DisplayPreference < ::Stripe::RequestParams
|
|
790
|
-
# The account's preference for whether or not to display this payment method.
|
|
791
|
-
attr_accessor :preference
|
|
792
|
-
|
|
793
|
-
def initialize(preference: nil)
|
|
794
|
-
@preference = preference
|
|
795
|
-
end
|
|
796
|
-
end
|
|
797
|
-
# Whether or not the payment method should be displayed.
|
|
798
|
-
attr_accessor :display_preference
|
|
799
|
-
|
|
800
|
-
def initialize(display_preference: nil)
|
|
801
|
-
@display_preference = display_preference
|
|
802
|
-
end
|
|
803
|
-
end
|
|
804
|
-
|
|
805
737
|
class Pix < ::Stripe::RequestParams
|
|
806
738
|
class DisplayPreference < ::Stripe::RequestParams
|
|
807
739
|
# The account's preference for whether or not to display this payment method.
|
|
@@ -836,23 +768,6 @@ module Stripe
|
|
|
836
768
|
end
|
|
837
769
|
end
|
|
838
770
|
|
|
839
|
-
class Qris < ::Stripe::RequestParams
|
|
840
|
-
class DisplayPreference < ::Stripe::RequestParams
|
|
841
|
-
# The account's preference for whether or not to display this payment method.
|
|
842
|
-
attr_accessor :preference
|
|
843
|
-
|
|
844
|
-
def initialize(preference: nil)
|
|
845
|
-
@preference = preference
|
|
846
|
-
end
|
|
847
|
-
end
|
|
848
|
-
# Whether or not the payment method should be displayed.
|
|
849
|
-
attr_accessor :display_preference
|
|
850
|
-
|
|
851
|
-
def initialize(display_preference: nil)
|
|
852
|
-
@display_preference = display_preference
|
|
853
|
-
end
|
|
854
|
-
end
|
|
855
|
-
|
|
856
771
|
class RevolutPay < ::Stripe::RequestParams
|
|
857
772
|
class DisplayPreference < ::Stripe::RequestParams
|
|
858
773
|
# The account's preference for whether or not to display this payment method.
|
|
@@ -921,23 +836,6 @@ module Stripe
|
|
|
921
836
|
end
|
|
922
837
|
end
|
|
923
838
|
|
|
924
|
-
class Shopeepay < ::Stripe::RequestParams
|
|
925
|
-
class DisplayPreference < ::Stripe::RequestParams
|
|
926
|
-
# The account's preference for whether or not to display this payment method.
|
|
927
|
-
attr_accessor :preference
|
|
928
|
-
|
|
929
|
-
def initialize(preference: nil)
|
|
930
|
-
@preference = preference
|
|
931
|
-
end
|
|
932
|
-
end
|
|
933
|
-
# Whether or not the payment method should be displayed.
|
|
934
|
-
attr_accessor :display_preference
|
|
935
|
-
|
|
936
|
-
def initialize(display_preference: nil)
|
|
937
|
-
@display_preference = display_preference
|
|
938
|
-
end
|
|
939
|
-
end
|
|
940
|
-
|
|
941
839
|
class Sofort < ::Stripe::RequestParams
|
|
942
840
|
class DisplayPreference < ::Stripe::RequestParams
|
|
943
841
|
# The account's preference for whether or not to display this payment method.
|
|
@@ -1091,12 +989,8 @@ module Stripe
|
|
|
1091
989
|
attr_accessor :giropay
|
|
1092
990
|
# Google Pay allows customers to make payments in your app or website using any credit or debit card saved to their Google Account, including those from Google Play, YouTube, Chrome, or an Android device. Use the Google Pay API to request any credit or debit card stored in your customer's Google account. Check this [page](https://stripe.com/docs/google-pay) for more details.
|
|
1093
991
|
attr_accessor :google_pay
|
|
1094
|
-
# GoPay is a [single use](https://stripe.com/docs/payments/payment-methods#usage) digital wallet payment method popular in Indonesia. When paying with GoPay, customers authenticate and approve payments using the Gojek app. Desktop checkout is performed by scanning a QR code. When checking out on mobile, customers are redirected to the Gojek app to confirm payment.
|
|
1095
|
-
attr_accessor :gopay
|
|
1096
992
|
# GrabPay is a payment method developed by [Grab](https://www.grab.com/sg/consumer/finance/pay/). GrabPay is a digital wallet - customers maintain a balance in their wallets that they pay out with. Check this [page](https://stripe.com/docs/payments/grabpay) for more details.
|
|
1097
993
|
attr_accessor :grabpay
|
|
1098
|
-
# Stripe users in Indonesia can receive bank transfers from customers in Indonesia. Bank transfers are a popular B2C and B2B payment method in Indonesia.
|
|
1099
|
-
attr_accessor :id_bank_transfer
|
|
1100
994
|
# iDEAL is a Netherlands-based payment method that allows customers to complete transactions online using their bank credentials. All major Dutch banks are members of Currence, the scheme that operates iDEAL, making it the most popular online payment method in the Netherlands with a share of online transactions close to 55%. Check this [page](https://stripe.com/docs/payments/ideal) for more details.
|
|
1101
995
|
attr_accessor :ideal
|
|
1102
996
|
# JCB is a credit card company based in Japan. JCB is currently available in Japan to businesses approved by JCB, and available to all businesses in Australia, Canada, Hong Kong, Japan, New Zealand, Singapore, Switzerland, United Kingdom, United States, and all countries in the European Economic Area except Iceland. Check this [page](https://support.stripe.com/questions/accepting-japan-credit-bureau-%28jcb%29-payments) for more details.
|
|
@@ -1135,16 +1029,10 @@ module Stripe
|
|
|
1135
1029
|
attr_accessor :paynow
|
|
1136
1030
|
# PayPal, a digital wallet popular with customers in Europe, allows your customers worldwide to pay using their PayPal account. Check this [page](https://stripe.com/docs/payments/paypal) for more details.
|
|
1137
1031
|
attr_accessor :paypal
|
|
1138
|
-
# Customers can pay with PayPay online or using the PayPay app.
|
|
1139
|
-
attr_accessor :paypay
|
|
1140
|
-
# PayTo is a [real-time](https://docs.stripe.com/payments/real-time) payment method that enables customers in Australia to pay by providing their bank account details. Customers must accept a mandate authorizing you to debit their account. Check this [page](https://docs.stripe.com/payments/payto) for more details.
|
|
1141
|
-
attr_accessor :payto
|
|
1142
1032
|
# Pix is a payment method popular in Brazil. When paying with Pix, customers authenticate and approve payments by scanning a QR code in their preferred banking app. Check this [page](https://docs.stripe.com/payments/pix) for more details.
|
|
1143
1033
|
attr_accessor :pix
|
|
1144
1034
|
# PromptPay is a Thailand-based payment method that allows customers to make a payment using their preferred app from participating banks. Check this [page](https://stripe.com/docs/payments/promptpay) for more details.
|
|
1145
1035
|
attr_accessor :promptpay
|
|
1146
|
-
# QRIS is a [real-time](https://docs.stripe.com/payments/real-time) payment method popular in Indonesia. When paying with QRIS, customers authenticate and approve payments by scanning a QR code in their preferred digital wallet app.
|
|
1147
|
-
attr_accessor :qris
|
|
1148
1036
|
# Revolut Pay, developed by Revolut, a global finance app, is a digital wallet payment method. Revolut Pay uses the customer’s stored balance or cards to fund the payment, and offers the option for non-Revolut customers to save their details after their first purchase.
|
|
1149
1037
|
attr_accessor :revolut_pay
|
|
1150
1038
|
# Samsung Pay is a [single-use](https://docs.stripe.com/payments/payment-methods#usage local wallet available in South Korea.
|
|
@@ -1153,8 +1041,6 @@ module Stripe
|
|
|
1153
1041
|
attr_accessor :satispay
|
|
1154
1042
|
# The [Single Euro Payments Area (SEPA)](https://en.wikipedia.org/wiki/Single_Euro_Payments_Area) is an initiative of the European Union to simplify payments within and across member countries. SEPA established and enforced banking standards to allow for the direct debiting of every EUR-denominated bank account within the SEPA region, check this [page](https://stripe.com/docs/payments/sepa-debit) for more details.
|
|
1155
1043
|
attr_accessor :sepa_debit
|
|
1156
|
-
# ShopeePay is a [single use](https://stripe.com/docs/payments/payment-methods#usage) digital wallet payment method popular in Indonesia. When paying with GoPay, customers authenticate and approve payments using the Shopee app. Desktop checkout is performed by scanning a QR code. When checking out on mobile, customers are redirected to the Shopee app to confirm payment.
|
|
1157
|
-
attr_accessor :shopeepay
|
|
1158
1044
|
# Stripe users in Europe and the United States can use the [Payment Intents API](https://stripe.com/docs/payments/payment-intents)—a single integration path for creating payments using any supported method—to accept [Sofort](https://www.sofort.com/) payments from customers. Check this [page](https://stripe.com/docs/payments/sofort) for more details.
|
|
1159
1045
|
attr_accessor :sofort
|
|
1160
1046
|
# Swish is a [real-time](https://stripe.com/docs/payments/real-time) payment method popular in Sweden. It allows customers to [authenticate and approve](https://stripe.com/docs/payments/payment-methods#customer-actions) payments using the Swish mobile app and the Swedish BankID mobile app. Check this [page](https://stripe.com/docs/payments/swish) for more details.
|
|
@@ -1195,9 +1081,7 @@ module Stripe
|
|
|
1195
1081
|
fr_meal_voucher_conecs: nil,
|
|
1196
1082
|
giropay: nil,
|
|
1197
1083
|
google_pay: nil,
|
|
1198
|
-
gopay: nil,
|
|
1199
1084
|
grabpay: nil,
|
|
1200
|
-
id_bank_transfer: nil,
|
|
1201
1085
|
ideal: nil,
|
|
1202
1086
|
jcb: nil,
|
|
1203
1087
|
kakao_pay: nil,
|
|
@@ -1217,16 +1101,12 @@ module Stripe
|
|
|
1217
1101
|
payco: nil,
|
|
1218
1102
|
paynow: nil,
|
|
1219
1103
|
paypal: nil,
|
|
1220
|
-
paypay: nil,
|
|
1221
|
-
payto: nil,
|
|
1222
1104
|
pix: nil,
|
|
1223
1105
|
promptpay: nil,
|
|
1224
|
-
qris: nil,
|
|
1225
1106
|
revolut_pay: nil,
|
|
1226
1107
|
samsung_pay: nil,
|
|
1227
1108
|
satispay: nil,
|
|
1228
1109
|
sepa_debit: nil,
|
|
1229
|
-
shopeepay: nil,
|
|
1230
1110
|
sofort: nil,
|
|
1231
1111
|
swish: nil,
|
|
1232
1112
|
twint: nil,
|
|
@@ -1260,9 +1140,7 @@ module Stripe
|
|
|
1260
1140
|
@fr_meal_voucher_conecs = fr_meal_voucher_conecs
|
|
1261
1141
|
@giropay = giropay
|
|
1262
1142
|
@google_pay = google_pay
|
|
1263
|
-
@gopay = gopay
|
|
1264
1143
|
@grabpay = grabpay
|
|
1265
|
-
@id_bank_transfer = id_bank_transfer
|
|
1266
1144
|
@ideal = ideal
|
|
1267
1145
|
@jcb = jcb
|
|
1268
1146
|
@kakao_pay = kakao_pay
|
|
@@ -1282,16 +1160,12 @@ module Stripe
|
|
|
1282
1160
|
@payco = payco
|
|
1283
1161
|
@paynow = paynow
|
|
1284
1162
|
@paypal = paypal
|
|
1285
|
-
@paypay = paypay
|
|
1286
|
-
@payto = payto
|
|
1287
1163
|
@pix = pix
|
|
1288
1164
|
@promptpay = promptpay
|
|
1289
|
-
@qris = qris
|
|
1290
1165
|
@revolut_pay = revolut_pay
|
|
1291
1166
|
@samsung_pay = samsung_pay
|
|
1292
1167
|
@satispay = satispay
|
|
1293
1168
|
@sepa_debit = sepa_debit
|
|
1294
|
-
@shopeepay = shopeepay
|
|
1295
1169
|
@sofort = sofort
|
|
1296
1170
|
@swish = swish
|
|
1297
1171
|
@twint = twint
|
|
@@ -188,18 +188,8 @@ module Stripe
|
|
|
188
188
|
end
|
|
189
189
|
|
|
190
190
|
class Giropay < ::Stripe::RequestParams; end
|
|
191
|
-
class Gopay < ::Stripe::RequestParams; end
|
|
192
191
|
class Grabpay < ::Stripe::RequestParams; end
|
|
193
192
|
|
|
194
|
-
class IdBankTransfer < ::Stripe::RequestParams
|
|
195
|
-
# Bank where the account is held.
|
|
196
|
-
attr_accessor :bank
|
|
197
|
-
|
|
198
|
-
def initialize(bank: nil)
|
|
199
|
-
@bank = bank
|
|
200
|
-
end
|
|
201
|
-
end
|
|
202
|
-
|
|
203
193
|
class Ideal < ::Stripe::RequestParams
|
|
204
194
|
# The customer's bank. Only use this parameter for existing customers. Don't use it for new customers.
|
|
205
195
|
attr_accessor :bank
|
|
@@ -297,26 +287,8 @@ module Stripe
|
|
|
297
287
|
class Payco < ::Stripe::RequestParams; end
|
|
298
288
|
class Paynow < ::Stripe::RequestParams; end
|
|
299
289
|
class Paypal < ::Stripe::RequestParams; end
|
|
300
|
-
class Paypay < ::Stripe::RequestParams; end
|
|
301
|
-
|
|
302
|
-
class Payto < ::Stripe::RequestParams
|
|
303
|
-
# The account number for the bank account.
|
|
304
|
-
attr_accessor :account_number
|
|
305
|
-
# Bank-State-Branch number of the bank account.
|
|
306
|
-
attr_accessor :bsb_number
|
|
307
|
-
# The PayID alias for the bank account.
|
|
308
|
-
attr_accessor :pay_id
|
|
309
|
-
|
|
310
|
-
def initialize(account_number: nil, bsb_number: nil, pay_id: nil)
|
|
311
|
-
@account_number = account_number
|
|
312
|
-
@bsb_number = bsb_number
|
|
313
|
-
@pay_id = pay_id
|
|
314
|
-
end
|
|
315
|
-
end
|
|
316
|
-
|
|
317
290
|
class Pix < ::Stripe::RequestParams; end
|
|
318
291
|
class Promptpay < ::Stripe::RequestParams; end
|
|
319
|
-
class Qris < ::Stripe::RequestParams; end
|
|
320
292
|
|
|
321
293
|
class RadarOptions < ::Stripe::RequestParams
|
|
322
294
|
# 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.
|
|
@@ -327,29 +299,6 @@ module Stripe
|
|
|
327
299
|
end
|
|
328
300
|
end
|
|
329
301
|
|
|
330
|
-
class Rechnung < ::Stripe::RequestParams
|
|
331
|
-
class Dob < ::Stripe::RequestParams
|
|
332
|
-
# The day of birth, between 1 and 31.
|
|
333
|
-
attr_accessor :day
|
|
334
|
-
# The month of birth, between 1 and 12.
|
|
335
|
-
attr_accessor :month
|
|
336
|
-
# The four-digit year of birth.
|
|
337
|
-
attr_accessor :year
|
|
338
|
-
|
|
339
|
-
def initialize(day: nil, month: nil, year: nil)
|
|
340
|
-
@day = day
|
|
341
|
-
@month = month
|
|
342
|
-
@year = year
|
|
343
|
-
end
|
|
344
|
-
end
|
|
345
|
-
# Customer's date of birth
|
|
346
|
-
attr_accessor :dob
|
|
347
|
-
|
|
348
|
-
def initialize(dob: nil)
|
|
349
|
-
@dob = dob
|
|
350
|
-
end
|
|
351
|
-
end
|
|
352
|
-
|
|
353
302
|
class RevolutPay < ::Stripe::RequestParams; end
|
|
354
303
|
class SamsungPay < ::Stripe::RequestParams; end
|
|
355
304
|
class Satispay < ::Stripe::RequestParams; end
|
|
@@ -363,8 +312,6 @@ module Stripe
|
|
|
363
312
|
end
|
|
364
313
|
end
|
|
365
314
|
|
|
366
|
-
class Shopeepay < ::Stripe::RequestParams; end
|
|
367
|
-
|
|
368
315
|
class Sofort < ::Stripe::RequestParams
|
|
369
316
|
# Two-letter ISO code representing the country the bank account is located in.
|
|
370
317
|
attr_accessor :country
|
|
@@ -374,18 +321,6 @@ module Stripe
|
|
|
374
321
|
end
|
|
375
322
|
end
|
|
376
323
|
|
|
377
|
-
class StripeBalance < ::Stripe::RequestParams
|
|
378
|
-
# The connected account ID whose Stripe balance to use as the source of payment
|
|
379
|
-
attr_accessor :account
|
|
380
|
-
# The [source_type](https://docs.stripe.com/api/balance/balance_object#balance_object-available-source_types) of the balance
|
|
381
|
-
attr_accessor :source_type
|
|
382
|
-
|
|
383
|
-
def initialize(account: nil, source_type: nil)
|
|
384
|
-
@account = account
|
|
385
|
-
@source_type = source_type
|
|
386
|
-
end
|
|
387
|
-
end
|
|
388
|
-
|
|
389
324
|
class Swish < ::Stripe::RequestParams; end
|
|
390
325
|
class Twint < ::Stripe::RequestParams; end
|
|
391
326
|
|
|
@@ -466,12 +401,8 @@ module Stripe
|
|
|
466
401
|
attr_accessor :fpx
|
|
467
402
|
# If this is a `giropay` PaymentMethod, this hash contains details about the Giropay payment method.
|
|
468
403
|
attr_accessor :giropay
|
|
469
|
-
# If this is a Gopay PaymentMethod, this hash contains details about the Gopay payment method.
|
|
470
|
-
attr_accessor :gopay
|
|
471
404
|
# If this is a `grabpay` PaymentMethod, this hash contains details about the GrabPay payment method.
|
|
472
405
|
attr_accessor :grabpay
|
|
473
|
-
# If this is an `IdBankTransfer` PaymentMethod, this hash contains details about the IdBankTransfer payment method.
|
|
474
|
-
attr_accessor :id_bank_transfer
|
|
475
406
|
# If this is an `ideal` PaymentMethod, this hash contains details about the iDEAL payment method.
|
|
476
407
|
attr_accessor :ideal
|
|
477
408
|
# If this is an `interac_present` PaymentMethod, this hash contains details about the Interac Present payment method.
|
|
@@ -512,20 +443,12 @@ module Stripe
|
|
|
512
443
|
attr_accessor :paynow
|
|
513
444
|
# If this is a `paypal` PaymentMethod, this hash contains details about the PayPal payment method.
|
|
514
445
|
attr_accessor :paypal
|
|
515
|
-
# If this is a `paypay` PaymentMethod, this hash contains details about the PayPay payment method.
|
|
516
|
-
attr_accessor :paypay
|
|
517
|
-
# If this is a `payto` PaymentMethod, this hash contains details about the PayTo payment method.
|
|
518
|
-
attr_accessor :payto
|
|
519
446
|
# If this is a `pix` PaymentMethod, this hash contains details about the Pix payment method.
|
|
520
447
|
attr_accessor :pix
|
|
521
448
|
# If this is a `promptpay` PaymentMethod, this hash contains details about the PromptPay payment method.
|
|
522
449
|
attr_accessor :promptpay
|
|
523
|
-
# If this is a `qris` PaymentMethod, this hash contains details about the QRIS payment method.
|
|
524
|
-
attr_accessor :qris
|
|
525
450
|
# Options to configure Radar. See [Radar Session](https://stripe.com/docs/radar/radar-session) for more information.
|
|
526
451
|
attr_accessor :radar_options
|
|
527
|
-
# If this is a `rechnung` PaymentMethod, this hash contains details about the Rechnung payment method.
|
|
528
|
-
attr_accessor :rechnung
|
|
529
452
|
# If this is a `revolut_pay` PaymentMethod, this hash contains details about the Revolut Pay payment method.
|
|
530
453
|
attr_accessor :revolut_pay
|
|
531
454
|
# If this is a `samsung_pay` PaymentMethod, this hash contains details about the SamsungPay payment method.
|
|
@@ -534,12 +457,8 @@ module Stripe
|
|
|
534
457
|
attr_accessor :satispay
|
|
535
458
|
# If this is a `sepa_debit` PaymentMethod, this hash contains details about the SEPA debit bank account.
|
|
536
459
|
attr_accessor :sepa_debit
|
|
537
|
-
# If this is a Shopeepay PaymentMethod, this hash contains details about the Shopeepay payment method.
|
|
538
|
-
attr_accessor :shopeepay
|
|
539
460
|
# If this is a `sofort` PaymentMethod, this hash contains details about the SOFORT payment method.
|
|
540
461
|
attr_accessor :sofort
|
|
541
|
-
# This hash contains details about the Stripe balance payment method.
|
|
542
|
-
attr_accessor :stripe_balance
|
|
543
462
|
# If this is a `swish` PaymentMethod, this hash contains details about the Swish payment method.
|
|
544
463
|
attr_accessor :swish
|
|
545
464
|
# If this is a TWINT PaymentMethod, this hash contains details about the TWINT payment method.
|
|
@@ -578,9 +497,7 @@ module Stripe
|
|
|
578
497
|
expand: nil,
|
|
579
498
|
fpx: nil,
|
|
580
499
|
giropay: nil,
|
|
581
|
-
gopay: nil,
|
|
582
500
|
grabpay: nil,
|
|
583
|
-
id_bank_transfer: nil,
|
|
584
501
|
ideal: nil,
|
|
585
502
|
interac_present: nil,
|
|
586
503
|
kakao_pay: nil,
|
|
@@ -601,20 +518,14 @@ module Stripe
|
|
|
601
518
|
payment_method: nil,
|
|
602
519
|
paynow: nil,
|
|
603
520
|
paypal: nil,
|
|
604
|
-
paypay: nil,
|
|
605
|
-
payto: nil,
|
|
606
521
|
pix: nil,
|
|
607
522
|
promptpay: nil,
|
|
608
|
-
qris: nil,
|
|
609
523
|
radar_options: nil,
|
|
610
|
-
rechnung: nil,
|
|
611
524
|
revolut_pay: nil,
|
|
612
525
|
samsung_pay: nil,
|
|
613
526
|
satispay: nil,
|
|
614
527
|
sepa_debit: nil,
|
|
615
|
-
shopeepay: nil,
|
|
616
528
|
sofort: nil,
|
|
617
|
-
stripe_balance: nil,
|
|
618
529
|
swish: nil,
|
|
619
530
|
twint: nil,
|
|
620
531
|
type: nil,
|
|
@@ -646,9 +557,7 @@ module Stripe
|
|
|
646
557
|
@expand = expand
|
|
647
558
|
@fpx = fpx
|
|
648
559
|
@giropay = giropay
|
|
649
|
-
@gopay = gopay
|
|
650
560
|
@grabpay = grabpay
|
|
651
|
-
@id_bank_transfer = id_bank_transfer
|
|
652
561
|
@ideal = ideal
|
|
653
562
|
@interac_present = interac_present
|
|
654
563
|
@kakao_pay = kakao_pay
|
|
@@ -669,20 +578,14 @@ module Stripe
|
|
|
669
578
|
@payment_method = payment_method
|
|
670
579
|
@paynow = paynow
|
|
671
580
|
@paypal = paypal
|
|
672
|
-
@paypay = paypay
|
|
673
|
-
@payto = payto
|
|
674
581
|
@pix = pix
|
|
675
582
|
@promptpay = promptpay
|
|
676
|
-
@qris = qris
|
|
677
583
|
@radar_options = radar_options
|
|
678
|
-
@rechnung = rechnung
|
|
679
584
|
@revolut_pay = revolut_pay
|
|
680
585
|
@samsung_pay = samsung_pay
|
|
681
586
|
@satispay = satispay
|
|
682
587
|
@sepa_debit = sepa_debit
|
|
683
|
-
@shopeepay = shopeepay
|
|
684
588
|
@sofort = sofort
|
|
685
|
-
@stripe_balance = stripe_balance
|
|
686
589
|
@swish = swish
|
|
687
590
|
@twint = twint
|
|
688
591
|
@type = type
|