stripe 17.1.0 → 17.2.0.pre.beta.1
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 +34 -0
- data/lib/stripe/api_version.rb +1 -2
- data/lib/stripe/errors.rb +63 -0
- data/lib/stripe/event_types.rb +233 -0
- data/lib/stripe/events/v2_core_account_closed_event.rb +44 -0
- data/lib/stripe/events/v2_core_account_created_event.rb +44 -0
- data/lib/stripe/events/v2_core_account_including_configuration_customer_capability_status_updated_event.rb +63 -0
- data/lib/stripe/events/v2_core_account_including_configuration_customer_updated_event.rb +44 -0
- data/lib/stripe/events/v2_core_account_including_configuration_merchant_capability_status_updated_event.rb +63 -0
- data/lib/stripe/events/v2_core_account_including_configuration_merchant_updated_event.rb +44 -0
- data/lib/stripe/events/v2_core_account_including_configuration_recipient_capability_status_updated_event.rb +63 -0
- data/lib/stripe/events/v2_core_account_including_configuration_recipient_updated_event.rb +44 -0
- data/lib/stripe/events/v2_core_account_including_configuration_storer_capability_status_updated_event.rb +63 -0
- data/lib/stripe/events/v2_core_account_including_configuration_storer_updated_event.rb +44 -0
- data/lib/stripe/events/v2_core_account_including_defaults_updated_event.rb +44 -0
- data/lib/stripe/events/v2_core_account_including_identity_updated_event.rb +44 -0
- data/lib/stripe/events/v2_core_account_including_requirements_updated_event.rb +44 -0
- data/lib/stripe/events/v2_core_account_link_returned_event.rb +42 -0
- data/lib/stripe/events/v2_core_account_person_created_event.rb +61 -0
- data/lib/stripe/events/v2_core_account_person_deleted_event.rb +61 -0
- data/lib/stripe/events/v2_core_account_person_updated_event.rb +61 -0
- data/lib/stripe/events/v2_core_account_updated_event.rb +44 -0
- data/lib/stripe/events/v2_money_management_adjustment_created_event.rb +44 -0
- data/lib/stripe/events/v2_money_management_financial_account_created_event.rb +44 -0
- data/lib/stripe/events/v2_money_management_financial_account_updated_event.rb +44 -0
- data/lib/stripe/events/v2_money_management_financial_address_activated_event.rb +44 -0
- data/lib/stripe/events/v2_money_management_financial_address_failed_event.rb +44 -0
- data/lib/stripe/events/v2_money_management_inbound_transfer_available_event.rb +61 -0
- data/lib/stripe/events/v2_money_management_inbound_transfer_bank_debit_failed_event.rb +44 -0
- data/lib/stripe/events/v2_money_management_inbound_transfer_bank_debit_processing_event.rb +44 -0
- data/lib/stripe/events/v2_money_management_inbound_transfer_bank_debit_queued_event.rb +44 -0
- data/lib/stripe/events/v2_money_management_inbound_transfer_bank_debit_returned_event.rb +44 -0
- data/lib/stripe/events/v2_money_management_inbound_transfer_bank_debit_succeeded_event.rb +44 -0
- data/lib/stripe/events/v2_money_management_outbound_payment_canceled_event.rb +44 -0
- data/lib/stripe/events/v2_money_management_outbound_payment_created_event.rb +44 -0
- data/lib/stripe/events/v2_money_management_outbound_payment_failed_event.rb +44 -0
- data/lib/stripe/events/v2_money_management_outbound_payment_posted_event.rb +44 -0
- data/lib/stripe/events/v2_money_management_outbound_payment_returned_event.rb +44 -0
- data/lib/stripe/events/v2_money_management_outbound_payment_updated_event.rb +44 -0
- data/lib/stripe/events/v2_money_management_outbound_transfer_canceled_event.rb +44 -0
- data/lib/stripe/events/v2_money_management_outbound_transfer_created_event.rb +44 -0
- data/lib/stripe/events/v2_money_management_outbound_transfer_failed_event.rb +44 -0
- data/lib/stripe/events/v2_money_management_outbound_transfer_posted_event.rb +44 -0
- data/lib/stripe/events/v2_money_management_outbound_transfer_returned_event.rb +44 -0
- data/lib/stripe/events/v2_money_management_outbound_transfer_updated_event.rb +44 -0
- data/lib/stripe/events/v2_money_management_payout_method_updated_event.rb +44 -0
- data/lib/stripe/events/v2_money_management_received_credit_available_event.rb +61 -0
- data/lib/stripe/events/v2_money_management_received_credit_failed_event.rb +44 -0
- data/lib/stripe/events/v2_money_management_received_credit_returned_event.rb +44 -0
- data/lib/stripe/events/v2_money_management_received_credit_succeeded_event.rb +44 -0
- data/lib/stripe/events/v2_money_management_received_debit_canceled_event.rb +44 -0
- data/lib/stripe/events/v2_money_management_received_debit_failed_event.rb +44 -0
- data/lib/stripe/events/v2_money_management_received_debit_pending_event.rb +44 -0
- data/lib/stripe/events/v2_money_management_received_debit_succeeded_event.rb +44 -0
- data/lib/stripe/events/v2_money_management_received_debit_updated_event.rb +44 -0
- data/lib/stripe/events/v2_money_management_transaction_created_event.rb +61 -0
- data/lib/stripe/events/v2_money_management_transaction_updated_event.rb +44 -0
- data/lib/stripe/events/v2_payments_off_session_payment_authorization_attempt_failed_event.rb +44 -0
- data/lib/stripe/events/v2_payments_off_session_payment_authorization_attempt_started_event.rb +46 -0
- data/lib/stripe/events/v2_payments_off_session_payment_canceled_event.rb +44 -0
- data/lib/stripe/events/v2_payments_off_session_payment_created_event.rb +44 -0
- data/lib/stripe/events/v2_payments_off_session_payment_failed_event.rb +44 -0
- data/lib/stripe/events/v2_payments_off_session_payment_requires_capture_event.rb +44 -0
- data/lib/stripe/events/v2_payments_off_session_payment_succeeded_event.rb +44 -0
- data/lib/stripe/object_types.rb +55 -0
- data/lib/stripe/params/account_create_params.rb +300 -1
- data/lib/stripe/params/account_notice_list_params.rb +25 -0
- data/lib/stripe/params/account_notice_retrieve_params.rb +13 -0
- data/lib/stripe/params/account_notice_update_params.rb +36 -0
- data/lib/stripe/params/account_session_create_params.rb +226 -1
- data/lib/stripe/params/account_update_params.rb +262 -0
- data/lib/stripe/params/billing/analytics/meter_usage_retrieve_params.rb +65 -0
- data/lib/stripe/params/billing/credit_balance_summary_retrieve_params.rb +4 -1
- data/lib/stripe/params/billing/credit_balance_transaction_list_params.rb +4 -0
- data/lib/stripe/params/billing/credit_grant_create_params.rb +4 -0
- data/lib/stripe/params/billing/credit_grant_list_params.rb +4 -0
- data/lib/stripe/params/billing_portal/session_create_params.rb +4 -0
- data/lib/stripe/params/capital/financing_offer_list_params.rb +58 -0
- data/lib/stripe/params/capital/financing_offer_mark_delivered_params.rb +15 -0
- data/lib/stripe/params/capital/financing_offer_retrieve_params.rb +15 -0
- data/lib/stripe/params/capital/financing_summary_retrieve_params.rb +15 -0
- data/lib/stripe/params/capital/financing_transaction_list_params.rb +45 -0
- data/lib/stripe/params/capital/financing_transaction_retrieve_params.rb +15 -0
- data/lib/stripe/params/charge_capture_params.rb +715 -0
- data/lib/stripe/params/charge_update_params.rb +715 -0
- data/lib/stripe/params/checkout/session_create_params.rb +193 -3
- data/lib/stripe/params/checkout/session_list_params.rb +4 -0
- data/lib/stripe/params/checkout/session_update_params.rb +288 -1
- data/lib/stripe/params/confirmation_token_create_params.rb +97 -0
- data/lib/stripe/params/coupon_create_params.rb +17 -1
- data/lib/stripe/params/credit_note_list_params.rb +4 -0
- data/lib/stripe/params/customer_session_create_params.rb +36 -2
- data/lib/stripe/params/dispute_update_params.rb +10 -1
- data/lib/stripe/params/external_account_create_params.rb +134 -0
- data/lib/stripe/params/external_account_delete_params.rb +6 -0
- data/lib/stripe/params/external_account_list_params.rb +25 -0
- data/lib/stripe/params/external_account_retrieve_params.rb +13 -0
- data/lib/stripe/params/external_account_update_params.rb +91 -0
- data/lib/stripe/params/financial_connections/account_inferred_balance_list_params.rb +24 -0
- data/lib/stripe/params/financial_connections/account_list_params.rb +4 -1
- data/lib/stripe/params/financial_connections/institution_list_params.rb +24 -0
- data/lib/stripe/params/financial_connections/institution_retrieve_params.rb +15 -0
- data/lib/stripe/params/financial_connections/session_create_params.rb +34 -2
- data/lib/stripe/params/fx_quote_create_params.rb +73 -0
- data/lib/stripe/params/fx_quote_list_params.rb +22 -0
- data/lib/stripe/params/fx_quote_retrieve_params.rb +13 -0
- data/lib/stripe/params/identity/verification_session_create_params.rb +4 -0
- data/lib/stripe/params/identity/verification_session_list_params.rb +4 -0
- data/lib/stripe/params/invoice_add_lines_params.rb +33 -1
- data/lib/stripe/params/invoice_attach_payment_params.rb +43 -1
- data/lib/stripe/params/invoice_create_params.rb +112 -2
- data/lib/stripe/params/invoice_create_preview_params.rb +826 -9
- data/lib/stripe/params/invoice_item_create_params.rb +37 -1
- data/lib/stripe/params/invoice_item_list_params.rb +4 -0
- data/lib/stripe/params/invoice_item_update_params.rb +33 -1
- data/lib/stripe/params/invoice_line_item_update_params.rb +33 -1
- data/lib/stripe/params/invoice_list_params.rb +4 -0
- data/lib/stripe/params/invoice_update_lines_params.rb +33 -1
- data/lib/stripe/params/invoice_update_params.rb +108 -2
- data/lib/stripe/params/issuing/cardholder_create_params.rb +2 -1
- data/lib/stripe/params/issuing/credit_underwriting_record_correct_params.rb +163 -0
- data/lib/stripe/params/issuing/credit_underwriting_record_create_from_application_params.rb +50 -0
- data/lib/stripe/params/issuing/credit_underwriting_record_create_from_proactive_review_params.rb +128 -0
- data/lib/stripe/params/issuing/credit_underwriting_record_list_params.rb +24 -0
- data/lib/stripe/params/issuing/credit_underwriting_record_report_decision_params.rb +86 -0
- data/lib/stripe/params/issuing/credit_underwriting_record_retrieve_params.rb +15 -0
- data/lib/stripe/params/issuing/dispute_settlement_detail_list_params.rb +33 -0
- data/lib/stripe/params/issuing/dispute_settlement_detail_retrieve_params.rb +15 -0
- data/lib/stripe/params/issuing/fraud_liability_debit_list_params.rb +44 -0
- data/lib/stripe/params/issuing/fraud_liability_debit_retrieve_params.rb +15 -0
- data/lib/stripe/params/issuing/transaction_list_params.rb +4 -0
- data/lib/stripe/params/mandate_list_params.rb +39 -0
- data/lib/stripe/params/margin_create_params.rb +25 -0
- data/lib/stripe/params/margin_list_params.rb +25 -0
- data/lib/stripe/params/margin_retrieve_params.rb +13 -0
- data/lib/stripe/params/margin_update_params.rb +22 -0
- data/lib/stripe/params/order_cancel_params.rb +13 -0
- data/lib/stripe/params/order_create_params.rb +1124 -0
- data/lib/stripe/params/order_line_item_list_params.rb +22 -0
- data/lib/stripe/params/order_list_line_items_params.rb +22 -0
- data/lib/stripe/params/order_list_params.rb +25 -0
- data/lib/stripe/params/order_reopen_params.rb +13 -0
- data/lib/stripe/params/order_retrieve_params.rb +13 -0
- data/lib/stripe/params/order_submit_params.rb +16 -0
- data/lib/stripe/params/order_update_params.rb +1128 -0
- data/lib/stripe/params/payment_intent_capture_params.rb +723 -1
- data/lib/stripe/params/payment_intent_confirm_params.rb +1197 -4
- data/lib/stripe/params/payment_intent_create_params.rb +1205 -4
- data/lib/stripe/params/payment_intent_decrement_authorization_params.rb +73 -0
- data/lib/stripe/params/payment_intent_increment_authorization_params.rb +50 -0
- data/lib/stripe/params/payment_intent_list_params.rb +4 -0
- data/lib/stripe/params/payment_intent_trigger_action_params.rb +27 -0
- data/lib/stripe/params/payment_intent_update_params.rb +1237 -5
- data/lib/stripe/params/payment_method_attach_params.rb +4 -1
- data/lib/stripe/params/payment_method_configuration_create_params.rb +126 -0
- data/lib/stripe/params/payment_method_configuration_update_params.rb +126 -0
- data/lib/stripe/params/payment_method_create_params.rb +97 -0
- data/lib/stripe/params/payment_method_update_params.rb +19 -0
- data/lib/stripe/params/price_update_params.rb +19 -0
- data/lib/stripe/params/privacy/redaction_job_cancel_params.rb +15 -0
- data/lib/stripe/params/privacy/redaction_job_create_params.rb +67 -0
- data/lib/stripe/params/privacy/redaction_job_list_params.rb +27 -0
- data/lib/stripe/params/privacy/redaction_job_retrieve_params.rb +15 -0
- data/lib/stripe/params/privacy/redaction_job_run_params.rb +15 -0
- data/lib/stripe/params/privacy/redaction_job_update_params.rb +18 -0
- data/lib/stripe/params/privacy/redaction_job_validate_params.rb +15 -0
- data/lib/stripe/params/privacy/redaction_job_validation_error_list_params.rb +24 -0
- data/lib/stripe/params/promotion_code_create_params.rb +4 -0
- data/lib/stripe/params/promotion_code_list_params.rb +4 -0
- data/lib/stripe/params/quote_create_params.rb +805 -3
- data/lib/stripe/params/quote_line_list_params.rb +22 -0
- data/lib/stripe/params/quote_list_lines_params.rb +22 -0
- data/lib/stripe/params/quote_list_params.rb +8 -0
- data/lib/stripe/params/quote_list_preview_invoice_lines_params.rb +22 -0
- data/lib/stripe/params/quote_mark_draft_params.rb +13 -0
- data/lib/stripe/params/quote_mark_stale_params.rb +16 -0
- data/lib/stripe/params/quote_preview_invoice_list_params.rb +22 -0
- data/lib/stripe/params/quote_preview_subscription_schedule_list_params.rb +22 -0
- data/lib/stripe/params/quote_reestimate_params.rb +13 -0
- data/lib/stripe/params/quote_update_params.rb +813 -4
- data/lib/stripe/params/setup_intent_confirm_params.rb +225 -3
- data/lib/stripe/params/setup_intent_create_params.rb +231 -3
- data/lib/stripe/params/setup_intent_list_params.rb +4 -0
- data/lib/stripe/params/setup_intent_update_params.rb +231 -3
- data/lib/stripe/params/subscription_attach_cadence_params.rb +16 -0
- data/lib/stripe/params/subscription_create_params.rb +259 -5
- data/lib/stripe/params/subscription_item_create_params.rb +46 -2
- data/lib/stripe/params/subscription_item_update_params.rb +29 -1
- data/lib/stripe/params/subscription_list_params.rb +4 -0
- data/lib/stripe/params/subscription_schedule_amend_params.rb +570 -0
- data/lib/stripe/params/subscription_schedule_create_params.rb +167 -5
- data/lib/stripe/params/subscription_schedule_list_params.rb +4 -0
- data/lib/stripe/params/subscription_schedule_update_params.rb +163 -5
- data/lib/stripe/params/subscription_update_params.rb +238 -4
- data/lib/stripe/params/tax/association_find_params.rb +18 -0
- data/lib/stripe/params/tax/form_list_params.rb +51 -0
- data/lib/stripe/params/tax/form_pdf_params.rb +15 -0
- data/lib/stripe/params/tax/form_retrieve_params.rb +15 -0
- data/lib/stripe/params/tax_id_create_params.rb +4 -1
- data/lib/stripe/params/tax_id_list_params.rb +4 -1
- data/lib/stripe/params/terminal/configuration_create_params.rb +13 -0
- data/lib/stripe/params/terminal/configuration_update_params.rb +13 -0
- data/lib/stripe/params/terminal/onboarding_link_create_params.rb +43 -0
- data/lib/stripe/params/terminal/reader_collected_data_retrieve_params.rb +15 -0
- data/lib/stripe/params/test_helpers/confirmation_token_create_params.rb +97 -0
- data/lib/stripe/params/test_helpers/treasury/received_credit_create_params.rb +25 -1
- data/lib/stripe/params/test_helpers/treasury/received_debit_create_params.rb +25 -1
- data/lib/stripe/params/transfer_create_params.rb +4 -0
- data/lib/stripe/params/treasury/financial_account_create_params.rb +8 -1
- data/lib/stripe/params/treasury/financial_account_features_update_params.rb +4 -1
- data/lib/stripe/params/treasury/financial_account_update_features_params.rb +4 -1
- data/lib/stripe/params/treasury/financial_account_update_params.rb +8 -1
- data/lib/stripe/params/treasury/outbound_transfer_create_params.rb +24 -0
- data/lib/stripe/params/treasury/received_credit_create_params.rb +25 -1
- data/lib/stripe/params/treasury/received_debit_create_params.rb +25 -1
- data/lib/stripe/params/v2/billing/bill_setting_create_params.rb +74 -0
- data/lib/stripe/params/v2/billing/bill_setting_list_params.rb +21 -0
- data/lib/stripe/params/v2/billing/bill_setting_retrieve_params.rb +10 -0
- data/lib/stripe/params/v2/billing/bill_setting_update_params.rb +80 -0
- data/lib/stripe/params/v2/billing/bill_settings/version_list_params.rb +19 -0
- data/lib/stripe/params/v2/billing/bill_settings/version_retrieve_params.rb +12 -0
- data/lib/stripe/params/v2/billing/cadence_cancel_params.rb +10 -0
- data/lib/stripe/params/v2/billing/cadence_create_params.rb +253 -0
- data/lib/stripe/params/v2/billing/cadence_list_params.rb +43 -0
- data/lib/stripe/params/v2/billing/cadence_retrieve_params.rb +17 -0
- data/lib/stripe/params/v2/billing/cadence_update_params.rb +75 -0
- data/lib/stripe/params/v2/billing/collection_setting_create_params.rb +223 -0
- data/lib/stripe/params/v2/billing/collection_setting_list_params.rb +21 -0
- data/lib/stripe/params/v2/billing/collection_setting_retrieve_params.rb +10 -0
- data/lib/stripe/params/v2/billing/collection_setting_update_params.rb +229 -0
- data/lib/stripe/params/v2/billing/collection_settings/version_list_params.rb +19 -0
- data/lib/stripe/params/v2/billing/collection_settings/version_retrieve_params.rb +12 -0
- data/lib/stripe/params/v2/billing/profile_create_params.rb +37 -0
- data/lib/stripe/params/v2/billing/profile_list_params.rb +40 -0
- data/lib/stripe/params/v2/billing/profile_retrieve_params.rb +10 -0
- data/lib/stripe/params/v2/billing/profile_update_params.rb +35 -0
- data/lib/stripe/params/v2/core/account_close_params.rb +17 -0
- data/lib/stripe/params/v2/core/account_create_params.rb +2248 -0
- data/lib/stripe/params/v2/core/account_link_create_params.rb +101 -0
- data/lib/stripe/params/v2/core/account_list_params.rb +23 -0
- data/lib/stripe/params/v2/core/account_retrieve_params.rb +17 -0
- data/lib/stripe/params/v2/core/account_update_params.rb +2294 -0
- data/lib/stripe/params/v2/core/accounts/person_create_params.rb +493 -0
- data/lib/stripe/params/v2/core/accounts/person_delete_params.rb +12 -0
- data/lib/stripe/params/v2/core/accounts/person_list_params.rb +19 -0
- data/lib/stripe/params/v2/core/accounts/person_retrieve_params.rb +12 -0
- data/lib/stripe/params/v2/core/accounts/person_update_params.rb +493 -0
- data/lib/stripe/params/v2/core/vault/gb_bank_account_acknowledge_confirmation_of_payee_params.rb +12 -0
- data/lib/stripe/params/v2/core/vault/gb_bank_account_archive_params.rb +12 -0
- data/lib/stripe/params/v2/core/vault/gb_bank_account_create_params.rb +50 -0
- data/lib/stripe/params/v2/core/vault/gb_bank_account_initiate_confirmation_of_payee_params.rb +22 -0
- data/lib/stripe/params/v2/core/vault/gb_bank_account_list_params.rb +19 -0
- data/lib/stripe/params/v2/core/vault/gb_bank_account_retrieve_params.rb +12 -0
- data/lib/stripe/params/v2/core/vault/us_bank_account_archive_params.rb +12 -0
- data/lib/stripe/params/v2/core/vault/us_bank_account_confirm_microdeposits_params.rb +22 -0
- data/lib/stripe/params/v2/core/vault/us_bank_account_create_params.rb +33 -0
- data/lib/stripe/params/v2/core/vault/us_bank_account_list_params.rb +22 -0
- data/lib/stripe/params/v2/core/vault/us_bank_account_retrieve_params.rb +12 -0
- data/lib/stripe/params/v2/core/vault/us_bank_account_send_microdeposits_params.rb +12 -0
- data/lib/stripe/params/v2/core/vault/us_bank_account_update_params.rb +22 -0
- data/lib/stripe/params/v2/money_management/adjustment_list_params.rb +48 -0
- data/lib/stripe/params/v2/money_management/adjustment_retrieve_params.rb +10 -0
- data/lib/stripe/params/v2/money_management/financial_account_close_params.rb +28 -0
- data/lib/stripe/params/v2/money_management/financial_account_create_params.rb +34 -0
- data/lib/stripe/params/v2/money_management/financial_account_list_params.rb +20 -0
- data/lib/stripe/params/v2/money_management/financial_account_retrieve_params.rb +10 -0
- data/lib/stripe/params/v2/money_management/financial_account_update_params.rb +20 -0
- data/lib/stripe/params/v2/money_management/financial_address_create_params.rb +20 -0
- data/lib/stripe/params/v2/money_management/financial_address_list_params.rb +23 -0
- data/lib/stripe/params/v2/money_management/financial_address_retrieve_params.rb +17 -0
- data/lib/stripe/params/v2/money_management/inbound_transfer_create_params.rb +50 -0
- data/lib/stripe/params/v2/money_management/inbound_transfer_list_params.rb +44 -0
- data/lib/stripe/params/v2/money_management/inbound_transfer_retrieve_params.rb +10 -0
- data/lib/stripe/params/v2/money_management/outbound_payment_cancel_params.rb +10 -0
- data/lib/stripe/params/v2/money_management/outbound_payment_create_params.rb +98 -0
- data/lib/stripe/params/v2/money_management/outbound_payment_list_params.rb +52 -0
- data/lib/stripe/params/v2/money_management/outbound_payment_quote_create_params.rb +67 -0
- data/lib/stripe/params/v2/money_management/outbound_payment_quote_retrieve_params.rb +10 -0
- data/lib/stripe/params/v2/money_management/outbound_payment_retrieve_params.rb +10 -0
- data/lib/stripe/params/v2/money_management/outbound_setup_intent_cancel_params.rb +10 -0
- data/lib/stripe/params/v2/money_management/outbound_setup_intent_create_params.rb +85 -0
- data/lib/stripe/params/v2/money_management/outbound_setup_intent_list_params.rb +17 -0
- data/lib/stripe/params/v2/money_management/outbound_setup_intent_retrieve_params.rb +10 -0
- data/lib/stripe/params/v2/money_management/outbound_setup_intent_update_params.rb +80 -0
- data/lib/stripe/params/v2/money_management/outbound_transfer_cancel_params.rb +10 -0
- data/lib/stripe/params/v2/money_management/outbound_transfer_create_params.rb +77 -0
- data/lib/stripe/params/v2/money_management/outbound_transfer_list_params.rb +48 -0
- data/lib/stripe/params/v2/money_management/outbound_transfer_retrieve_params.rb +10 -0
- data/lib/stripe/params/v2/money_management/payout_method_archive_params.rb +10 -0
- data/lib/stripe/params/v2/money_management/payout_method_list_params.rb +31 -0
- data/lib/stripe/params/v2/money_management/payout_method_retrieve_params.rb +10 -0
- data/lib/stripe/params/v2/money_management/payout_method_unarchive_params.rb +10 -0
- data/lib/stripe/params/v2/money_management/payout_methods_bank_account_spec_retrieve_params.rb +17 -0
- data/lib/stripe/params/v2/money_management/received_credit_list_params.rb +44 -0
- data/lib/stripe/params/v2/money_management/received_credit_retrieve_params.rb +10 -0
- data/lib/stripe/params/v2/money_management/received_debit_list_params.rb +17 -0
- data/lib/stripe/params/v2/money_management/received_debit_retrieve_params.rb +10 -0
- data/lib/stripe/params/v2/money_management/transaction_entry_list_params.rb +43 -0
- data/lib/stripe/params/v2/money_management/transaction_entry_retrieve_params.rb +10 -0
- data/lib/stripe/params/v2/money_management/transaction_list_params.rb +47 -0
- data/lib/stripe/params/v2/money_management/transaction_retrieve_params.rb +10 -0
- data/lib/stripe/params/v2/payments/off_session_payment_cancel_params.rb +10 -0
- data/lib/stripe/params/v2/payments/off_session_payment_capture_params.rb +61 -0
- data/lib/stripe/params/v2/payments/off_session_payment_create_params.rb +237 -0
- data/lib/stripe/params/v2/payments/off_session_payment_list_params.rb +17 -0
- data/lib/stripe/params/v2/payments/off_session_payment_retrieve_params.rb +10 -0
- data/lib/stripe/params/v2/test_helpers/financial_address_credit_params.rb +23 -0
- data/lib/stripe/params/v2/test_helpers/financial_address_generate_microdeposits_params.rb +10 -0
- data/lib/stripe/params.rb +164 -0
- data/lib/stripe/resources/account.rb +166 -1
- data/lib/stripe/resources/account_notice.rb +94 -0
- data/lib/stripe/resources/account_session.rb +81 -0
- data/lib/stripe/resources/billing/analytics/meter_usage.rb +33 -0
- data/lib/stripe/resources/billing/analytics/meter_usage_row.rb +38 -0
- data/lib/stripe/resources/billing/credit_balance_summary.rb +2 -0
- data/lib/stripe/resources/billing/credit_grant.rb +2 -0
- data/lib/stripe/resources/billing_portal/session.rb +2 -0
- data/lib/stripe/resources/capital/financing_offer.rb +142 -0
- data/lib/stripe/resources/capital/financing_summary.rb +79 -0
- data/lib/stripe/resources/capital/financing_transaction.rb +99 -0
- data/lib/stripe/resources/card.rb +2 -0
- data/lib/stripe/resources/cash_balance.rb +2 -0
- data/lib/stripe/resources/charge.rb +237 -1
- data/lib/stripe/resources/checkout/session.rb +154 -4
- data/lib/stripe/resources/confirmation_token.rb +155 -0
- data/lib/stripe/resources/coupon.rb +26 -1
- data/lib/stripe/resources/credit_note.rb +2 -0
- data/lib/stripe/resources/credit_note_line_item.rb +18 -0
- data/lib/stripe/resources/customer.rb +2 -0
- data/lib/stripe/resources/customer_balance_transaction.rb +2 -0
- data/lib/stripe/resources/customer_cash_balance_transaction.rb +2 -0
- data/lib/stripe/resources/customer_session.rb +38 -0
- data/lib/stripe/resources/discount.rb +2 -0
- data/lib/stripe/resources/dispute.rb +22 -0
- data/lib/stripe/resources/event.rb +64 -1
- data/lib/stripe/resources/financial_connections/account.rb +27 -0
- data/lib/stripe/resources/financial_connections/account_inferred_balance.rb +35 -0
- data/lib/stripe/resources/financial_connections/institution.rb +127 -0
- data/lib/stripe/resources/financial_connections/session.rb +67 -1
- data/lib/stripe/resources/fx_quote.rb +147 -0
- data/lib/stripe/resources/identity/verification_session.rb +2 -0
- data/lib/stripe/resources/invoice.rb +152 -1
- data/lib/stripe/resources/invoice_item.rb +4 -0
- data/lib/stripe/resources/invoice_line_item.rb +40 -0
- data/lib/stripe/resources/issuing/credit_underwriting_record.rb +263 -0
- data/lib/stripe/resources/issuing/dispute_settlement_detail.rb +71 -0
- data/lib/stripe/resources/issuing/fraud_liability_debit.rb +51 -0
- data/lib/stripe/resources/issuing/settlement.rb +61 -0
- data/lib/stripe/resources/issuing/transaction.rb +2 -0
- data/lib/stripe/resources/line_item.rb +68 -1
- data/lib/stripe/resources/mandate.rb +71 -0
- data/lib/stripe/resources/margin.rb +64 -0
- data/lib/stripe/resources/order.rb +987 -0
- data/lib/stripe/resources/payment_attempt_record.rb +203 -1
- data/lib/stripe/resources/payment_intent.rb +789 -4
- data/lib/stripe/resources/payment_method.rb +157 -0
- data/lib/stripe/resources/payment_method_configuration.rb +204 -0
- data/lib/stripe/resources/payment_record.rb +203 -1
- data/lib/stripe/resources/price.rb +20 -0
- data/lib/stripe/resources/privacy/redaction_job.rb +187 -0
- data/lib/stripe/resources/privacy/redaction_job_validation_error.rb +49 -0
- data/lib/stripe/resources/promotion_code.rb +2 -0
- data/lib/stripe/resources/quote.rb +571 -2
- data/lib/stripe/resources/quote_line.rb +521 -0
- data/lib/stripe/resources/quote_preview_invoice.rb +1150 -0
- data/lib/stripe/resources/quote_preview_subscription_schedule.rb +732 -0
- data/lib/stripe/resources/refund.rb +18 -0
- data/lib/stripe/resources/setup_attempt.rb +63 -0
- data/lib/stripe/resources/setup_intent.rb +132 -1
- data/lib/stripe/resources/source.rb +38 -0
- data/lib/stripe/resources/subscription.rb +232 -0
- data/lib/stripe/resources/subscription_item.rb +20 -1
- data/lib/stripe/resources/subscription_schedule.rb +198 -3
- data/lib/stripe/resources/tax/association.rb +86 -0
- data/lib/stripe/resources/tax/form.rb +264 -0
- data/lib/stripe/resources/tax_id.rb +4 -0
- data/lib/stripe/resources/terminal/configuration.rb +16 -0
- data/lib/stripe/resources/terminal/onboarding_link.rb +71 -0
- data/lib/stripe/resources/terminal/reader.rb +8 -0
- data/lib/stripe/resources/terminal/reader_collected_data.rb +47 -0
- data/lib/stripe/resources/transfer.rb +2 -0
- data/lib/stripe/resources/treasury/financial_account.rb +2 -0
- data/lib/stripe/resources/treasury/financial_account_features.rb +2 -0
- data/lib/stripe/resources/treasury/outbound_transfer.rb +30 -0
- data/lib/stripe/resources/treasury/received_credit.rb +30 -0
- data/lib/stripe/resources/treasury/received_debit.rb +32 -0
- data/lib/stripe/resources/v2/billing/bill_setting.rb +102 -0
- data/lib/stripe/resources/v2/billing/bill_setting_version.rb +90 -0
- data/lib/stripe/resources/v2/billing/cadence.rb +609 -0
- data/lib/stripe/resources/v2/billing/collection_setting.rb +274 -0
- data/lib/stripe/resources/v2/billing/collection_setting_version.rb +262 -0
- data/lib/stripe/resources/v2/billing/profile.rb +46 -0
- data/lib/stripe/resources/v2/core/account.rb +3906 -0
- data/lib/stripe/resources/v2/core/account_link.rb +123 -0
- data/lib/stripe/resources/v2/core/account_person.rb +477 -0
- data/lib/stripe/resources/v2/core/vault/gb_bank_account.rb +114 -0
- data/lib/stripe/resources/v2/core/vault/us_bank_account.rb +81 -0
- data/lib/stripe/resources/v2/financial_address_credit_simulation.rb +28 -0
- data/lib/stripe/resources/v2/financial_address_generated_microdeposits.rb +30 -0
- data/lib/stripe/resources/v2/money_management/adjustment.rb +67 -0
- data/lib/stripe/resources/v2/money_management/financial_account.rb +140 -0
- data/lib/stripe/resources/v2/money_management/financial_address.rb +132 -0
- data/lib/stripe/resources/v2/money_management/inbound_transfer.rb +148 -0
- data/lib/stripe/resources/v2/money_management/outbound_payment.rb +217 -0
- data/lib/stripe/resources/v2/money_management/outbound_payment_quote.rb +144 -0
- data/lib/stripe/resources/v2/money_management/outbound_setup_intent.rb +69 -0
- data/lib/stripe/resources/v2/money_management/outbound_transfer.rb +196 -0
- data/lib/stripe/resources/v2/money_management/payout_method.rb +109 -0
- data/lib/stripe/resources/v2/money_management/payout_methods_bank_account_spec.rb +81 -0
- data/lib/stripe/resources/v2/money_management/received_credit.rb +228 -0
- data/lib/stripe/resources/v2/money_management/received_debit.rb +136 -0
- data/lib/stripe/resources/v2/money_management/transaction.rb +116 -0
- data/lib/stripe/resources/v2/money_management/transaction_entry.rb +105 -0
- data/lib/stripe/resources/v2/payments/off_session_payment.rb +242 -0
- data/lib/stripe/resources.rb +112 -0
- data/lib/stripe/services/account_notice_service.rb +39 -0
- data/lib/stripe/services/billing/analytics/meter_usage_service.rb +21 -0
- data/lib/stripe/services/billing/analytics_service.rb +15 -0
- data/lib/stripe/services/billing_service.rb +2 -1
- data/lib/stripe/services/capital/financing_offer_service.rb +42 -0
- data/lib/stripe/services/capital/financing_summary_service.rb +19 -0
- data/lib/stripe/services/capital/financing_transaction_service.rb +31 -0
- data/lib/stripe/services/capital_service.rb +15 -0
- data/lib/stripe/services/external_account_service.rb +68 -0
- data/lib/stripe/services/financial_connections/account_inferred_balance_service.rb +19 -0
- data/lib/stripe/services/financial_connections/account_service.rb +3 -1
- data/lib/stripe/services/financial_connections/institution_service.rb +30 -0
- data/lib/stripe/services/financial_connections_service.rb +2 -1
- data/lib/stripe/services/fx_quote_service.rb +27 -0
- data/lib/stripe/services/issuing/credit_underwriting_record_service.rb +74 -0
- data/lib/stripe/services/issuing/dispute_settlement_detail_service.rb +30 -0
- data/lib/stripe/services/issuing/fraud_liability_debit_service.rb +30 -0
- data/lib/stripe/services/issuing_service.rb +5 -1
- data/lib/stripe/services/mandate_service.rb +5 -0
- data/lib/stripe/services/margin_service.rb +50 -0
- data/lib/stripe/services/order_line_item_service.rb +17 -0
- data/lib/stripe/services/order_service.rb +78 -0
- data/lib/stripe/services/payment_intent_service.rb +37 -0
- data/lib/stripe/services/privacy/redaction_job_service.rb +104 -0
- data/lib/stripe/services/privacy/redaction_job_validation_error_service.rb +19 -0
- data/lib/stripe/services/privacy_service.rb +13 -0
- data/lib/stripe/services/quote_line_service.rb +17 -0
- data/lib/stripe/services/quote_preview_invoice_service.rb +17 -0
- data/lib/stripe/services/quote_preview_subscription_schedule_service.rb +17 -0
- data/lib/stripe/services/quote_service.rb +49 -1
- data/lib/stripe/services/subscription_schedule_service.rb +11 -0
- data/lib/stripe/services/subscription_service.rb +11 -0
- data/lib/stripe/services/tax/association_service.rb +19 -0
- data/lib/stripe/services/tax/form_service.rb +37 -0
- data/lib/stripe/services/tax_service.rb +3 -1
- data/lib/stripe/services/terminal/onboarding_link_service.rb +19 -0
- data/lib/stripe/services/terminal/reader_collected_data_service.rb +19 -0
- data/lib/stripe/services/terminal_service.rb +3 -1
- data/lib/stripe/services/v1_services.rb +8 -1
- data/lib/stripe/services/v2/billing/bill_setting_service.rb +61 -0
- data/lib/stripe/services/v2/billing/bill_settings/version_service.rb +34 -0
- data/lib/stripe/services/v2/billing/cadence_service.rb +65 -0
- data/lib/stripe/services/v2/billing/collection_setting_service.rb +61 -0
- data/lib/stripe/services/v2/billing/collection_settings/version_service.rb +34 -0
- data/lib/stripe/services/v2/billing/profile_service.rb +54 -0
- data/lib/stripe/services/v2/billing_service.rb +5 -1
- data/lib/stripe/services/v2/core/account_link_service.rb +21 -0
- data/lib/stripe/services/v2/core/account_service.rb +76 -0
- data/lib/stripe/services/v2/core/accounts/person_service.rb +67 -0
- data/lib/stripe/services/v2/core/vault/gb_bank_account_service.rb +85 -0
- data/lib/stripe/services/v2/core/vault/us_bank_account_service.rb +101 -0
- data/lib/stripe/services/v2/core/vault_service.rb +18 -0
- data/lib/stripe/services/v2/core_service.rb +4 -1
- data/lib/stripe/services/v2/money_management/adjustment_service.rb +32 -0
- data/lib/stripe/services/v2/money_management/financial_account_service.rb +70 -0
- data/lib/stripe/services/v2/money_management/financial_address_service.rb +46 -0
- data/lib/stripe/services/v2/money_management/inbound_transfer_service.rb +45 -0
- data/lib/stripe/services/v2/money_management/outbound_payment_quote_service.rb +34 -0
- data/lib/stripe/services/v2/money_management/outbound_payment_service.rb +62 -0
- data/lib/stripe/services/v2/money_management/outbound_setup_intent_service.rb +73 -0
- data/lib/stripe/services/v2/money_management/outbound_transfer_service.rb +60 -0
- data/lib/stripe/services/v2/money_management/payout_method_service.rb +63 -0
- data/lib/stripe/services/v2/money_management/payout_methods_bank_account_spec_service.rb +23 -0
- data/lib/stripe/services/v2/money_management/received_credit_service.rb +32 -0
- data/lib/stripe/services/v2/money_management/received_debit_service.rb +32 -0
- data/lib/stripe/services/v2/money_management/transaction_entry_service.rb +32 -0
- data/lib/stripe/services/v2/money_management/transaction_service.rb +32 -0
- data/lib/stripe/services/v2/money_management_service.rb +31 -0
- data/lib/stripe/services/v2/payment_service.rb +15 -0
- data/lib/stripe/services/v2/payments/off_session_payment_service.rb +65 -0
- data/lib/stripe/services/v2/test_helper_service.rb +15 -0
- data/lib/stripe/services/v2/test_helpers/financial_address_service.rb +36 -0
- data/lib/stripe/services/v2_services.rb +4 -1
- data/lib/stripe/services.rb +58 -0
- data/lib/stripe/stripe_configuration.rb +3 -1
- data/lib/stripe/stripe_object.rb +1 -1
- data/lib/stripe/util.rb +7 -1
- data/lib/stripe/version.rb +1 -1
- data/lib/stripe.rb +53 -0
- data/rbi/stripe.rbi +145086 -86712
- metadata +337 -3
|
@@ -5,11 +5,14 @@ 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
|
|
8
10
|
# Specifies which fields in the response should be expanded.
|
|
9
11
|
attr_accessor :expand
|
|
10
12
|
|
|
11
|
-
def initialize(customer: nil, expand: nil)
|
|
13
|
+
def initialize(customer: nil, customer_account: nil, expand: nil)
|
|
12
14
|
@customer = customer
|
|
15
|
+
@customer_account = customer_account
|
|
13
16
|
@expand = expand
|
|
14
17
|
end
|
|
15
18
|
end
|
|
@@ -411,6 +411,23 @@ 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
|
+
|
|
414
431
|
class Grabpay < ::Stripe::RequestParams
|
|
415
432
|
class DisplayPreference < ::Stripe::RequestParams
|
|
416
433
|
# The account's preference for whether or not to display this payment method.
|
|
@@ -428,6 +445,23 @@ module Stripe
|
|
|
428
445
|
end
|
|
429
446
|
end
|
|
430
447
|
|
|
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
|
+
|
|
431
465
|
class Ideal < ::Stripe::RequestParams
|
|
432
466
|
class DisplayPreference < ::Stripe::RequestParams
|
|
433
467
|
# The account's preference for whether or not to display this payment method.
|
|
@@ -734,6 +768,40 @@ module Stripe
|
|
|
734
768
|
end
|
|
735
769
|
end
|
|
736
770
|
|
|
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
|
+
|
|
737
805
|
class Pix < ::Stripe::RequestParams
|
|
738
806
|
class DisplayPreference < ::Stripe::RequestParams
|
|
739
807
|
# The account's preference for whether or not to display this payment method.
|
|
@@ -768,6 +836,23 @@ module Stripe
|
|
|
768
836
|
end
|
|
769
837
|
end
|
|
770
838
|
|
|
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
|
+
|
|
771
856
|
class RevolutPay < ::Stripe::RequestParams
|
|
772
857
|
class DisplayPreference < ::Stripe::RequestParams
|
|
773
858
|
# The account's preference for whether or not to display this payment method.
|
|
@@ -836,6 +921,23 @@ module Stripe
|
|
|
836
921
|
end
|
|
837
922
|
end
|
|
838
923
|
|
|
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
|
+
|
|
839
941
|
class Sofort < ::Stripe::RequestParams
|
|
840
942
|
class DisplayPreference < ::Stripe::RequestParams
|
|
841
943
|
# The account's preference for whether or not to display this payment method.
|
|
@@ -987,8 +1089,12 @@ module Stripe
|
|
|
987
1089
|
attr_accessor :giropay
|
|
988
1090
|
# 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.
|
|
989
1091
|
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
|
|
990
1094
|
# 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.
|
|
991
1095
|
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
|
|
992
1098
|
# 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.
|
|
993
1099
|
attr_accessor :ideal
|
|
994
1100
|
# 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.
|
|
@@ -1029,10 +1135,16 @@ module Stripe
|
|
|
1029
1135
|
attr_accessor :paynow
|
|
1030
1136
|
# 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.
|
|
1031
1137
|
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
|
|
1032
1142
|
# 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.
|
|
1033
1143
|
attr_accessor :pix
|
|
1034
1144
|
# 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.
|
|
1035
1145
|
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
|
|
1036
1148
|
# 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.
|
|
1037
1149
|
attr_accessor :revolut_pay
|
|
1038
1150
|
# Samsung Pay is a [single-use](https://docs.stripe.com/payments/payment-methods#usage local wallet available in South Korea.
|
|
@@ -1041,6 +1153,8 @@ module Stripe
|
|
|
1041
1153
|
attr_accessor :satispay
|
|
1042
1154
|
# 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.
|
|
1043
1155
|
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
|
|
1044
1158
|
# 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.
|
|
1045
1159
|
attr_accessor :sofort
|
|
1046
1160
|
# 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.
|
|
@@ -1080,7 +1194,9 @@ module Stripe
|
|
|
1080
1194
|
fr_meal_voucher_conecs: nil,
|
|
1081
1195
|
giropay: nil,
|
|
1082
1196
|
google_pay: nil,
|
|
1197
|
+
gopay: nil,
|
|
1083
1198
|
grabpay: nil,
|
|
1199
|
+
id_bank_transfer: nil,
|
|
1084
1200
|
ideal: nil,
|
|
1085
1201
|
jcb: nil,
|
|
1086
1202
|
kakao_pay: nil,
|
|
@@ -1101,12 +1217,16 @@ module Stripe
|
|
|
1101
1217
|
payco: nil,
|
|
1102
1218
|
paynow: nil,
|
|
1103
1219
|
paypal: nil,
|
|
1220
|
+
paypay: nil,
|
|
1221
|
+
payto: nil,
|
|
1104
1222
|
pix: nil,
|
|
1105
1223
|
promptpay: nil,
|
|
1224
|
+
qris: nil,
|
|
1106
1225
|
revolut_pay: nil,
|
|
1107
1226
|
samsung_pay: nil,
|
|
1108
1227
|
satispay: nil,
|
|
1109
1228
|
sepa_debit: nil,
|
|
1229
|
+
shopeepay: nil,
|
|
1110
1230
|
sofort: nil,
|
|
1111
1231
|
swish: nil,
|
|
1112
1232
|
twint: nil,
|
|
@@ -1139,7 +1259,9 @@ module Stripe
|
|
|
1139
1259
|
@fr_meal_voucher_conecs = fr_meal_voucher_conecs
|
|
1140
1260
|
@giropay = giropay
|
|
1141
1261
|
@google_pay = google_pay
|
|
1262
|
+
@gopay = gopay
|
|
1142
1263
|
@grabpay = grabpay
|
|
1264
|
+
@id_bank_transfer = id_bank_transfer
|
|
1143
1265
|
@ideal = ideal
|
|
1144
1266
|
@jcb = jcb
|
|
1145
1267
|
@kakao_pay = kakao_pay
|
|
@@ -1160,12 +1282,16 @@ module Stripe
|
|
|
1160
1282
|
@payco = payco
|
|
1161
1283
|
@paynow = paynow
|
|
1162
1284
|
@paypal = paypal
|
|
1285
|
+
@paypay = paypay
|
|
1286
|
+
@payto = payto
|
|
1163
1287
|
@pix = pix
|
|
1164
1288
|
@promptpay = promptpay
|
|
1289
|
+
@qris = qris
|
|
1165
1290
|
@revolut_pay = revolut_pay
|
|
1166
1291
|
@samsung_pay = samsung_pay
|
|
1167
1292
|
@satispay = satispay
|
|
1168
1293
|
@sepa_debit = sepa_debit
|
|
1294
|
+
@shopeepay = shopeepay
|
|
1169
1295
|
@sofort = sofort
|
|
1170
1296
|
@swish = swish
|
|
1171
1297
|
@twint = twint
|
|
@@ -411,6 +411,23 @@ 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
|
+
|
|
414
431
|
class Grabpay < ::Stripe::RequestParams
|
|
415
432
|
class DisplayPreference < ::Stripe::RequestParams
|
|
416
433
|
# The account's preference for whether or not to display this payment method.
|
|
@@ -428,6 +445,23 @@ module Stripe
|
|
|
428
445
|
end
|
|
429
446
|
end
|
|
430
447
|
|
|
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
|
+
|
|
431
465
|
class Ideal < ::Stripe::RequestParams
|
|
432
466
|
class DisplayPreference < ::Stripe::RequestParams
|
|
433
467
|
# The account's preference for whether or not to display this payment method.
|
|
@@ -734,6 +768,40 @@ module Stripe
|
|
|
734
768
|
end
|
|
735
769
|
end
|
|
736
770
|
|
|
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
|
+
|
|
737
805
|
class Pix < ::Stripe::RequestParams
|
|
738
806
|
class DisplayPreference < ::Stripe::RequestParams
|
|
739
807
|
# The account's preference for whether or not to display this payment method.
|
|
@@ -768,6 +836,23 @@ module Stripe
|
|
|
768
836
|
end
|
|
769
837
|
end
|
|
770
838
|
|
|
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
|
+
|
|
771
856
|
class RevolutPay < ::Stripe::RequestParams
|
|
772
857
|
class DisplayPreference < ::Stripe::RequestParams
|
|
773
858
|
# The account's preference for whether or not to display this payment method.
|
|
@@ -836,6 +921,23 @@ module Stripe
|
|
|
836
921
|
end
|
|
837
922
|
end
|
|
838
923
|
|
|
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
|
+
|
|
839
941
|
class Sofort < ::Stripe::RequestParams
|
|
840
942
|
class DisplayPreference < ::Stripe::RequestParams
|
|
841
943
|
# The account's preference for whether or not to display this payment method.
|
|
@@ -989,8 +1091,12 @@ module Stripe
|
|
|
989
1091
|
attr_accessor :giropay
|
|
990
1092
|
# 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.
|
|
991
1093
|
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
|
|
992
1096
|
# 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.
|
|
993
1097
|
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
|
|
994
1100
|
# 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.
|
|
995
1101
|
attr_accessor :ideal
|
|
996
1102
|
# 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.
|
|
@@ -1029,10 +1135,16 @@ module Stripe
|
|
|
1029
1135
|
attr_accessor :paynow
|
|
1030
1136
|
# 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.
|
|
1031
1137
|
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
|
|
1032
1142
|
# 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.
|
|
1033
1143
|
attr_accessor :pix
|
|
1034
1144
|
# 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.
|
|
1035
1145
|
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
|
|
1036
1148
|
# 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.
|
|
1037
1149
|
attr_accessor :revolut_pay
|
|
1038
1150
|
# Samsung Pay is a [single-use](https://docs.stripe.com/payments/payment-methods#usage local wallet available in South Korea.
|
|
@@ -1041,6 +1153,8 @@ module Stripe
|
|
|
1041
1153
|
attr_accessor :satispay
|
|
1042
1154
|
# 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.
|
|
1043
1155
|
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
|
|
1044
1158
|
# 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.
|
|
1045
1159
|
attr_accessor :sofort
|
|
1046
1160
|
# 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.
|
|
@@ -1081,7 +1195,9 @@ module Stripe
|
|
|
1081
1195
|
fr_meal_voucher_conecs: nil,
|
|
1082
1196
|
giropay: nil,
|
|
1083
1197
|
google_pay: nil,
|
|
1198
|
+
gopay: nil,
|
|
1084
1199
|
grabpay: nil,
|
|
1200
|
+
id_bank_transfer: nil,
|
|
1085
1201
|
ideal: nil,
|
|
1086
1202
|
jcb: nil,
|
|
1087
1203
|
kakao_pay: nil,
|
|
@@ -1101,12 +1217,16 @@ module Stripe
|
|
|
1101
1217
|
payco: nil,
|
|
1102
1218
|
paynow: nil,
|
|
1103
1219
|
paypal: nil,
|
|
1220
|
+
paypay: nil,
|
|
1221
|
+
payto: nil,
|
|
1104
1222
|
pix: nil,
|
|
1105
1223
|
promptpay: nil,
|
|
1224
|
+
qris: nil,
|
|
1106
1225
|
revolut_pay: nil,
|
|
1107
1226
|
samsung_pay: nil,
|
|
1108
1227
|
satispay: nil,
|
|
1109
1228
|
sepa_debit: nil,
|
|
1229
|
+
shopeepay: nil,
|
|
1110
1230
|
sofort: nil,
|
|
1111
1231
|
swish: nil,
|
|
1112
1232
|
twint: nil,
|
|
@@ -1140,7 +1260,9 @@ module Stripe
|
|
|
1140
1260
|
@fr_meal_voucher_conecs = fr_meal_voucher_conecs
|
|
1141
1261
|
@giropay = giropay
|
|
1142
1262
|
@google_pay = google_pay
|
|
1263
|
+
@gopay = gopay
|
|
1143
1264
|
@grabpay = grabpay
|
|
1265
|
+
@id_bank_transfer = id_bank_transfer
|
|
1144
1266
|
@ideal = ideal
|
|
1145
1267
|
@jcb = jcb
|
|
1146
1268
|
@kakao_pay = kakao_pay
|
|
@@ -1160,12 +1282,16 @@ module Stripe
|
|
|
1160
1282
|
@payco = payco
|
|
1161
1283
|
@paynow = paynow
|
|
1162
1284
|
@paypal = paypal
|
|
1285
|
+
@paypay = paypay
|
|
1286
|
+
@payto = payto
|
|
1163
1287
|
@pix = pix
|
|
1164
1288
|
@promptpay = promptpay
|
|
1289
|
+
@qris = qris
|
|
1165
1290
|
@revolut_pay = revolut_pay
|
|
1166
1291
|
@samsung_pay = samsung_pay
|
|
1167
1292
|
@satispay = satispay
|
|
1168
1293
|
@sepa_debit = sepa_debit
|
|
1294
|
+
@shopeepay = shopeepay
|
|
1169
1295
|
@sofort = sofort
|
|
1170
1296
|
@swish = swish
|
|
1171
1297
|
@twint = twint
|
|
@@ -188,8 +188,18 @@ module Stripe
|
|
|
188
188
|
end
|
|
189
189
|
|
|
190
190
|
class Giropay < ::Stripe::RequestParams; end
|
|
191
|
+
class Gopay < ::Stripe::RequestParams; end
|
|
191
192
|
class Grabpay < ::Stripe::RequestParams; end
|
|
192
193
|
|
|
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
|
+
|
|
193
203
|
class Ideal < ::Stripe::RequestParams
|
|
194
204
|
# The customer's bank. Only use this parameter for existing customers. Don't use it for new customers.
|
|
195
205
|
attr_accessor :bank
|
|
@@ -287,8 +297,26 @@ module Stripe
|
|
|
287
297
|
class Payco < ::Stripe::RequestParams; end
|
|
288
298
|
class Paynow < ::Stripe::RequestParams; end
|
|
289
299
|
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
|
+
|
|
290
317
|
class Pix < ::Stripe::RequestParams; end
|
|
291
318
|
class Promptpay < ::Stripe::RequestParams; end
|
|
319
|
+
class Qris < ::Stripe::RequestParams; end
|
|
292
320
|
|
|
293
321
|
class RadarOptions < ::Stripe::RequestParams
|
|
294
322
|
# 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.
|
|
@@ -299,6 +327,29 @@ module Stripe
|
|
|
299
327
|
end
|
|
300
328
|
end
|
|
301
329
|
|
|
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
|
+
|
|
302
353
|
class RevolutPay < ::Stripe::RequestParams; end
|
|
303
354
|
class SamsungPay < ::Stripe::RequestParams; end
|
|
304
355
|
class Satispay < ::Stripe::RequestParams; end
|
|
@@ -312,6 +363,8 @@ module Stripe
|
|
|
312
363
|
end
|
|
313
364
|
end
|
|
314
365
|
|
|
366
|
+
class Shopeepay < ::Stripe::RequestParams; end
|
|
367
|
+
|
|
315
368
|
class Sofort < ::Stripe::RequestParams
|
|
316
369
|
# Two-letter ISO code representing the country the bank account is located in.
|
|
317
370
|
attr_accessor :country
|
|
@@ -321,6 +374,18 @@ module Stripe
|
|
|
321
374
|
end
|
|
322
375
|
end
|
|
323
376
|
|
|
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
|
+
|
|
324
389
|
class Swish < ::Stripe::RequestParams; end
|
|
325
390
|
class Twint < ::Stripe::RequestParams; end
|
|
326
391
|
|
|
@@ -401,8 +466,12 @@ module Stripe
|
|
|
401
466
|
attr_accessor :fpx
|
|
402
467
|
# If this is a `giropay` PaymentMethod, this hash contains details about the Giropay payment method.
|
|
403
468
|
attr_accessor :giropay
|
|
469
|
+
# If this is a Gopay PaymentMethod, this hash contains details about the Gopay payment method.
|
|
470
|
+
attr_accessor :gopay
|
|
404
471
|
# If this is a `grabpay` PaymentMethod, this hash contains details about the GrabPay payment method.
|
|
405
472
|
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
|
|
406
475
|
# If this is an `ideal` PaymentMethod, this hash contains details about the iDEAL payment method.
|
|
407
476
|
attr_accessor :ideal
|
|
408
477
|
# If this is an `interac_present` PaymentMethod, this hash contains details about the Interac Present payment method.
|
|
@@ -443,12 +512,20 @@ module Stripe
|
|
|
443
512
|
attr_accessor :paynow
|
|
444
513
|
# If this is a `paypal` PaymentMethod, this hash contains details about the PayPal payment method.
|
|
445
514
|
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
|
|
446
519
|
# If this is a `pix` PaymentMethod, this hash contains details about the Pix payment method.
|
|
447
520
|
attr_accessor :pix
|
|
448
521
|
# If this is a `promptpay` PaymentMethod, this hash contains details about the PromptPay payment method.
|
|
449
522
|
attr_accessor :promptpay
|
|
523
|
+
# If this is a `qris` PaymentMethod, this hash contains details about the QRIS payment method.
|
|
524
|
+
attr_accessor :qris
|
|
450
525
|
# Options to configure Radar. See [Radar Session](https://stripe.com/docs/radar/radar-session) for more information.
|
|
451
526
|
attr_accessor :radar_options
|
|
527
|
+
# If this is a `rechnung` PaymentMethod, this hash contains details about the Rechnung payment method.
|
|
528
|
+
attr_accessor :rechnung
|
|
452
529
|
# If this is a `revolut_pay` PaymentMethod, this hash contains details about the Revolut Pay payment method.
|
|
453
530
|
attr_accessor :revolut_pay
|
|
454
531
|
# If this is a `samsung_pay` PaymentMethod, this hash contains details about the SamsungPay payment method.
|
|
@@ -457,8 +534,12 @@ module Stripe
|
|
|
457
534
|
attr_accessor :satispay
|
|
458
535
|
# If this is a `sepa_debit` PaymentMethod, this hash contains details about the SEPA debit bank account.
|
|
459
536
|
attr_accessor :sepa_debit
|
|
537
|
+
# If this is a Shopeepay PaymentMethod, this hash contains details about the Shopeepay payment method.
|
|
538
|
+
attr_accessor :shopeepay
|
|
460
539
|
# If this is a `sofort` PaymentMethod, this hash contains details about the SOFORT payment method.
|
|
461
540
|
attr_accessor :sofort
|
|
541
|
+
# This hash contains details about the Stripe balance payment method.
|
|
542
|
+
attr_accessor :stripe_balance
|
|
462
543
|
# If this is a `swish` PaymentMethod, this hash contains details about the Swish payment method.
|
|
463
544
|
attr_accessor :swish
|
|
464
545
|
# If this is a TWINT PaymentMethod, this hash contains details about the TWINT payment method.
|
|
@@ -497,7 +578,9 @@ module Stripe
|
|
|
497
578
|
expand: nil,
|
|
498
579
|
fpx: nil,
|
|
499
580
|
giropay: nil,
|
|
581
|
+
gopay: nil,
|
|
500
582
|
grabpay: nil,
|
|
583
|
+
id_bank_transfer: nil,
|
|
501
584
|
ideal: nil,
|
|
502
585
|
interac_present: nil,
|
|
503
586
|
kakao_pay: nil,
|
|
@@ -518,14 +601,20 @@ module Stripe
|
|
|
518
601
|
payment_method: nil,
|
|
519
602
|
paynow: nil,
|
|
520
603
|
paypal: nil,
|
|
604
|
+
paypay: nil,
|
|
605
|
+
payto: nil,
|
|
521
606
|
pix: nil,
|
|
522
607
|
promptpay: nil,
|
|
608
|
+
qris: nil,
|
|
523
609
|
radar_options: nil,
|
|
610
|
+
rechnung: nil,
|
|
524
611
|
revolut_pay: nil,
|
|
525
612
|
samsung_pay: nil,
|
|
526
613
|
satispay: nil,
|
|
527
614
|
sepa_debit: nil,
|
|
615
|
+
shopeepay: nil,
|
|
528
616
|
sofort: nil,
|
|
617
|
+
stripe_balance: nil,
|
|
529
618
|
swish: nil,
|
|
530
619
|
twint: nil,
|
|
531
620
|
type: nil,
|
|
@@ -557,7 +646,9 @@ module Stripe
|
|
|
557
646
|
@expand = expand
|
|
558
647
|
@fpx = fpx
|
|
559
648
|
@giropay = giropay
|
|
649
|
+
@gopay = gopay
|
|
560
650
|
@grabpay = grabpay
|
|
651
|
+
@id_bank_transfer = id_bank_transfer
|
|
561
652
|
@ideal = ideal
|
|
562
653
|
@interac_present = interac_present
|
|
563
654
|
@kakao_pay = kakao_pay
|
|
@@ -578,14 +669,20 @@ module Stripe
|
|
|
578
669
|
@payment_method = payment_method
|
|
579
670
|
@paynow = paynow
|
|
580
671
|
@paypal = paypal
|
|
672
|
+
@paypay = paypay
|
|
673
|
+
@payto = payto
|
|
581
674
|
@pix = pix
|
|
582
675
|
@promptpay = promptpay
|
|
676
|
+
@qris = qris
|
|
583
677
|
@radar_options = radar_options
|
|
678
|
+
@rechnung = rechnung
|
|
584
679
|
@revolut_pay = revolut_pay
|
|
585
680
|
@samsung_pay = samsung_pay
|
|
586
681
|
@satispay = satispay
|
|
587
682
|
@sepa_debit = sepa_debit
|
|
683
|
+
@shopeepay = shopeepay
|
|
588
684
|
@sofort = sofort
|
|
685
|
+
@stripe_balance = stripe_balance
|
|
589
686
|
@swish = swish
|
|
590
687
|
@twint = twint
|
|
591
688
|
@type = type
|