stripe 17.0.1 → 17.1.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_version.rb +1 -1
- data/lib/stripe/events/v1_billing_meter_error_report_triggered_event.rb +5 -5
- data/lib/stripe/events/v1_billing_meter_no_meter_found_event.rb +5 -5
- data/lib/stripe/object_types.rb +3 -0
- data/lib/stripe/params/account_capability_list_params.rb +1 -1
- data/lib/stripe/params/account_capability_retrieve_params.rb +1 -1
- data/lib/stripe/params/account_capability_update_params.rb +1 -1
- data/lib/stripe/params/account_create_params.rb +136 -117
- data/lib/stripe/params/account_delete_params.rb +1 -1
- data/lib/stripe/params/account_external_account_create_params.rb +4 -4
- data/lib/stripe/params/account_external_account_delete_params.rb +1 -1
- data/lib/stripe/params/account_external_account_list_params.rb +1 -1
- data/lib/stripe/params/account_external_account_retrieve_params.rb +1 -1
- data/lib/stripe/params/account_external_account_update_params.rb +3 -3
- data/lib/stripe/params/account_link_create_params.rb +2 -2
- data/lib/stripe/params/account_list_params.rb +2 -2
- data/lib/stripe/params/account_login_link_create_params.rb +1 -1
- data/lib/stripe/params/account_person_create_params.rb +19 -19
- data/lib/stripe/params/account_person_delete_params.rb +1 -1
- data/lib/stripe/params/account_person_list_params.rb +2 -2
- data/lib/stripe/params/account_person_retrieve_params.rb +1 -1
- data/lib/stripe/params/account_person_update_params.rb +19 -19
- data/lib/stripe/params/account_persons_params.rb +2 -2
- data/lib/stripe/params/account_reject_params.rb +1 -1
- data/lib/stripe/params/account_retrieve_current_params.rb +1 -1
- data/lib/stripe/params/account_retrieve_params.rb +1 -1
- data/lib/stripe/params/account_session_create_params.rb +40 -40
- data/lib/stripe/params/account_update_params.rb +132 -113
- data/lib/stripe/params/apple_pay_domain_create_params.rb +1 -1
- data/lib/stripe/params/apple_pay_domain_delete_params.rb +1 -1
- data/lib/stripe/params/apple_pay_domain_list_params.rb +1 -1
- data/lib/stripe/params/apple_pay_domain_retrieve_params.rb +1 -1
- data/lib/stripe/params/application_fee_list_params.rb +2 -2
- data/lib/stripe/params/application_fee_refund_create_params.rb +1 -1
- data/lib/stripe/params/application_fee_refund_list_params.rb +1 -1
- data/lib/stripe/params/application_fee_refund_retrieve_params.rb +1 -1
- data/lib/stripe/params/application_fee_refund_update_params.rb +1 -1
- data/lib/stripe/params/application_fee_retrieve_params.rb +1 -1
- data/lib/stripe/params/apps/secret_create_params.rb +2 -2
- data/lib/stripe/params/apps/secret_delete_where_params.rb +2 -2
- data/lib/stripe/params/apps/secret_find_params.rb +2 -2
- data/lib/stripe/params/apps/secret_list_params.rb +2 -2
- data/lib/stripe/params/balance_retrieve_params.rb +1 -1
- data/lib/stripe/params/balance_settings_retrieve_params.rb +1 -1
- data/lib/stripe/params/balance_settings_update_params.rb +5 -5
- data/lib/stripe/params/balance_transaction_list_params.rb +2 -2
- data/lib/stripe/params/balance_transaction_retrieve_params.rb +1 -1
- data/lib/stripe/params/billing/alert_activate_params.rb +1 -1
- data/lib/stripe/params/billing/alert_archive_params.rb +1 -1
- data/lib/stripe/params/billing/alert_create_params.rb +3 -3
- data/lib/stripe/params/billing/alert_deactivate_params.rb +1 -1
- data/lib/stripe/params/billing/alert_list_params.rb +1 -1
- data/lib/stripe/params/billing/alert_retrieve_params.rb +1 -1
- data/lib/stripe/params/billing/credit_balance_summary_retrieve_params.rb +4 -4
- data/lib/stripe/params/billing/credit_balance_transaction_list_params.rb +1 -1
- data/lib/stripe/params/billing/credit_balance_transaction_retrieve_params.rb +1 -1
- data/lib/stripe/params/billing/credit_grant_create_params.rb +7 -7
- data/lib/stripe/params/billing/credit_grant_expire_params.rb +1 -1
- data/lib/stripe/params/billing/credit_grant_list_params.rb +1 -1
- data/lib/stripe/params/billing/credit_grant_retrieve_params.rb +1 -1
- data/lib/stripe/params/billing/credit_grant_update_params.rb +1 -1
- data/lib/stripe/params/billing/credit_grant_void_grant_params.rb +1 -1
- data/lib/stripe/params/billing/meter_create_params.rb +4 -4
- data/lib/stripe/params/billing/meter_deactivate_params.rb +1 -1
- data/lib/stripe/params/billing/meter_event_adjustment_create_params.rb +2 -2
- data/lib/stripe/params/billing/meter_event_create_params.rb +1 -1
- data/lib/stripe/params/billing/meter_event_summary_list_params.rb +1 -1
- data/lib/stripe/params/billing/meter_list_params.rb +1 -1
- data/lib/stripe/params/billing/meter_reactivate_params.rb +1 -1
- data/lib/stripe/params/billing/meter_retrieve_params.rb +1 -1
- data/lib/stripe/params/billing/meter_update_params.rb +1 -1
- data/lib/stripe/params/billing_portal/configuration_create_params.rb +18 -15
- data/lib/stripe/params/billing_portal/configuration_list_params.rb +1 -1
- data/lib/stripe/params/billing_portal/configuration_retrieve_params.rb +1 -1
- data/lib/stripe/params/billing_portal/configuration_update_params.rb +18 -15
- data/lib/stripe/params/billing_portal/session_create_params.rb +12 -12
- data/lib/stripe/params/charge_capture_params.rb +2 -2
- data/lib/stripe/params/charge_create_params.rb +6 -6
- data/lib/stripe/params/charge_list_params.rb +2 -2
- data/lib/stripe/params/charge_retrieve_params.rb +1 -1
- data/lib/stripe/params/charge_search_params.rb +1 -1
- data/lib/stripe/params/charge_update_params.rb +4 -4
- data/lib/stripe/params/checkout/session_create_params.rb +143 -124
- data/lib/stripe/params/checkout/session_expire_params.rb +1 -1
- data/lib/stripe/params/checkout/session_line_item_list_params.rb +1 -1
- data/lib/stripe/params/checkout/session_list_line_items_params.rb +1 -1
- data/lib/stripe/params/checkout/session_list_params.rb +3 -3
- data/lib/stripe/params/checkout/session_retrieve_params.rb +1 -1
- data/lib/stripe/params/checkout/session_update_params.rb +11 -11
- data/lib/stripe/params/climate/order_cancel_params.rb +1 -1
- data/lib/stripe/params/climate/order_create_params.rb +2 -2
- data/lib/stripe/params/climate/order_list_params.rb +1 -1
- data/lib/stripe/params/climate/order_retrieve_params.rb +1 -1
- data/lib/stripe/params/climate/order_update_params.rb +2 -2
- data/lib/stripe/params/climate/product_list_params.rb +1 -1
- data/lib/stripe/params/climate/product_retrieve_params.rb +1 -1
- data/lib/stripe/params/climate/supplier_list_params.rb +1 -1
- data/lib/stripe/params/climate/supplier_retrieve_params.rb +1 -1
- data/lib/stripe/params/confirmation_token_create_params.rb +61 -61
- data/lib/stripe/params/confirmation_token_retrieve_params.rb +1 -1
- data/lib/stripe/params/country_spec_list_params.rb +1 -1
- data/lib/stripe/params/country_spec_retrieve_params.rb +1 -1
- data/lib/stripe/params/coupon_create_params.rb +3 -3
- data/lib/stripe/params/coupon_delete_params.rb +1 -1
- data/lib/stripe/params/coupon_list_params.rb +2 -2
- data/lib/stripe/params/coupon_retrieve_params.rb +1 -1
- data/lib/stripe/params/coupon_update_params.rb +2 -2
- data/lib/stripe/params/credit_note_create_params.rb +23 -6
- data/lib/stripe/params/credit_note_line_item_list_params.rb +1 -1
- data/lib/stripe/params/credit_note_list_params.rb +2 -2
- data/lib/stripe/params/credit_note_list_preview_line_items_params.rb +23 -6
- data/lib/stripe/params/credit_note_preview_lines_list_params.rb +23 -6
- data/lib/stripe/params/credit_note_preview_params.rb +23 -6
- data/lib/stripe/params/credit_note_retrieve_params.rb +1 -1
- data/lib/stripe/params/credit_note_update_params.rb +1 -1
- data/lib/stripe/params/credit_note_void_credit_note_params.rb +1 -1
- data/lib/stripe/params/customer_balance_transaction_create_params.rb +1 -1
- data/lib/stripe/params/customer_balance_transaction_list_params.rb +1 -1
- data/lib/stripe/params/customer_balance_transaction_retrieve_params.rb +1 -1
- data/lib/stripe/params/customer_balance_transaction_update_params.rb +1 -1
- data/lib/stripe/params/customer_cash_balance_retrieve_params.rb +1 -1
- data/lib/stripe/params/customer_cash_balance_transaction_list_params.rb +1 -1
- data/lib/stripe/params/customer_cash_balance_transaction_retrieve_params.rb +1 -1
- data/lib/stripe/params/customer_cash_balance_update_params.rb +2 -2
- data/lib/stripe/params/customer_create_funding_instructions_params.rb +3 -3
- data/lib/stripe/params/customer_create_params.rb +11 -11
- data/lib/stripe/params/customer_delete_discount_params.rb +1 -1
- data/lib/stripe/params/customer_delete_params.rb +1 -1
- data/lib/stripe/params/customer_fund_cash_balance_params.rb +1 -1
- data/lib/stripe/params/customer_funding_instructions_create_params.rb +3 -3
- data/lib/stripe/params/customer_list_params.rb +2 -2
- data/lib/stripe/params/customer_list_payment_methods_params.rb +1 -1
- data/lib/stripe/params/customer_payment_method_list_params.rb +1 -1
- data/lib/stripe/params/customer_payment_method_retrieve_params.rb +1 -1
- data/lib/stripe/params/customer_payment_source_create_params.rb +1 -1
- data/lib/stripe/params/customer_payment_source_delete_params.rb +1 -1
- data/lib/stripe/params/customer_payment_source_list_params.rb +1 -1
- data/lib/stripe/params/customer_payment_source_retrieve_params.rb +1 -1
- data/lib/stripe/params/customer_payment_source_update_params.rb +3 -3
- data/lib/stripe/params/customer_payment_source_verify_params.rb +1 -1
- data/lib/stripe/params/customer_retrieve_params.rb +1 -1
- data/lib/stripe/params/customer_retrieve_payment_method_params.rb +1 -1
- data/lib/stripe/params/customer_search_params.rb +1 -1
- data/lib/stripe/params/customer_session_create_params.rb +92 -7
- data/lib/stripe/params/customer_tax_id_create_params.rb +1 -1
- data/lib/stripe/params/customer_tax_id_delete_params.rb +1 -1
- data/lib/stripe/params/customer_tax_id_list_params.rb +1 -1
- data/lib/stripe/params/customer_tax_id_retrieve_params.rb +1 -1
- data/lib/stripe/params/customer_update_params.rb +10 -10
- data/lib/stripe/params/dispute_close_params.rb +1 -1
- data/lib/stripe/params/dispute_list_params.rb +2 -2
- data/lib/stripe/params/dispute_retrieve_params.rb +1 -1
- data/lib/stripe/params/dispute_update_params.rb +9 -9
- data/lib/stripe/params/entitlements/active_entitlement_list_params.rb +1 -1
- data/lib/stripe/params/entitlements/active_entitlement_retrieve_params.rb +1 -1
- data/lib/stripe/params/entitlements/feature_create_params.rb +1 -1
- data/lib/stripe/params/entitlements/feature_list_params.rb +1 -1
- data/lib/stripe/params/entitlements/feature_retrieve_params.rb +1 -1
- data/lib/stripe/params/entitlements/feature_update_params.rb +1 -1
- data/lib/stripe/params/ephemeral_key_create_params.rb +1 -1
- data/lib/stripe/params/ephemeral_key_delete_params.rb +1 -1
- data/lib/stripe/params/event_list_params.rb +2 -2
- data/lib/stripe/params/event_retrieve_params.rb +1 -1
- data/lib/stripe/params/exchange_rate_list_params.rb +1 -1
- data/lib/stripe/params/exchange_rate_retrieve_params.rb +1 -1
- data/lib/stripe/params/file_create_params.rb +2 -2
- data/lib/stripe/params/file_link_create_params.rb +1 -1
- data/lib/stripe/params/file_link_list_params.rb +2 -2
- data/lib/stripe/params/file_link_retrieve_params.rb +1 -1
- data/lib/stripe/params/file_link_update_params.rb +1 -1
- data/lib/stripe/params/file_list_params.rb +2 -2
- data/lib/stripe/params/file_retrieve_params.rb +1 -1
- data/lib/stripe/params/financial_connections/account_disconnect_params.rb +1 -1
- data/lib/stripe/params/financial_connections/account_list_owners_params.rb +1 -1
- data/lib/stripe/params/financial_connections/account_list_params.rb +2 -2
- data/lib/stripe/params/financial_connections/account_owner_list_params.rb +1 -1
- data/lib/stripe/params/financial_connections/account_refresh_account_params.rb +1 -1
- data/lib/stripe/params/financial_connections/account_refresh_params.rb +1 -1
- data/lib/stripe/params/financial_connections/account_retrieve_params.rb +1 -1
- data/lib/stripe/params/financial_connections/account_subscribe_params.rb +1 -1
- data/lib/stripe/params/financial_connections/account_unsubscribe_params.rb +1 -1
- data/lib/stripe/params/financial_connections/session_create_params.rb +3 -3
- data/lib/stripe/params/financial_connections/session_retrieve_params.rb +1 -1
- data/lib/stripe/params/financial_connections/transaction_list_params.rb +3 -3
- data/lib/stripe/params/financial_connections/transaction_retrieve_params.rb +1 -1
- data/lib/stripe/params/forwarding/request_create_params.rb +3 -3
- data/lib/stripe/params/forwarding/request_list_params.rb +2 -2
- data/lib/stripe/params/forwarding/request_retrieve_params.rb +1 -1
- data/lib/stripe/params/identity/verification_report_list_params.rb +2 -2
- data/lib/stripe/params/identity/verification_report_retrieve_params.rb +1 -1
- data/lib/stripe/params/identity/verification_session_cancel_params.rb +1 -1
- data/lib/stripe/params/identity/verification_session_create_params.rb +5 -5
- data/lib/stripe/params/identity/verification_session_list_params.rb +2 -2
- data/lib/stripe/params/identity/verification_session_redact_params.rb +1 -1
- data/lib/stripe/params/identity/verification_session_retrieve_params.rb +1 -1
- data/lib/stripe/params/identity/verification_session_update_params.rb +4 -4
- data/lib/stripe/params/invoice_add_lines_params.rb +9 -9
- data/lib/stripe/params/invoice_attach_payment_params.rb +5 -2
- data/lib/stripe/params/invoice_create_params.rb +35 -35
- data/lib/stripe/params/invoice_create_preview_params.rb +46 -46
- data/lib/stripe/params/invoice_delete_params.rb +1 -1
- data/lib/stripe/params/invoice_finalize_invoice_params.rb +1 -1
- data/lib/stripe/params/invoice_item_create_params.rb +5 -5
- data/lib/stripe/params/invoice_item_delete_params.rb +1 -1
- data/lib/stripe/params/invoice_item_list_params.rb +2 -2
- data/lib/stripe/params/invoice_item_retrieve_params.rb +1 -1
- data/lib/stripe/params/invoice_item_update_params.rb +5 -5
- data/lib/stripe/params/invoice_line_item_list_params.rb +1 -1
- data/lib/stripe/params/invoice_line_item_update_params.rb +8 -8
- data/lib/stripe/params/invoice_list_params.rb +3 -3
- data/lib/stripe/params/invoice_mark_uncollectible_params.rb +1 -1
- data/lib/stripe/params/invoice_pay_params.rb +1 -1
- data/lib/stripe/params/invoice_payment_list_params.rb +6 -3
- data/lib/stripe/params/invoice_payment_retrieve_params.rb +1 -1
- data/lib/stripe/params/invoice_remove_lines_params.rb +2 -2
- data/lib/stripe/params/invoice_rendering_template_archive_params.rb +1 -1
- data/lib/stripe/params/invoice_rendering_template_list_params.rb +1 -1
- data/lib/stripe/params/invoice_rendering_template_retrieve_params.rb +1 -1
- data/lib/stripe/params/invoice_rendering_template_unarchive_params.rb +1 -1
- data/lib/stripe/params/invoice_retrieve_params.rb +1 -1
- data/lib/stripe/params/invoice_search_params.rb +1 -1
- data/lib/stripe/params/invoice_send_invoice_params.rb +1 -1
- data/lib/stripe/params/invoice_update_lines_params.rb +9 -9
- data/lib/stripe/params/invoice_update_params.rb +34 -34
- data/lib/stripe/params/invoice_void_invoice_params.rb +1 -1
- data/lib/stripe/params/issuing/authorization_approve_params.rb +1 -1
- data/lib/stripe/params/issuing/authorization_capture_params.rb +13 -13
- data/lib/stripe/params/issuing/authorization_create_params.rb +17 -17
- data/lib/stripe/params/issuing/authorization_decline_params.rb +1 -1
- data/lib/stripe/params/issuing/authorization_expire_params.rb +1 -1
- data/lib/stripe/params/issuing/authorization_finalize_amount_params.rb +8 -8
- data/lib/stripe/params/issuing/authorization_increment_params.rb +1 -1
- data/lib/stripe/params/issuing/authorization_list_params.rb +2 -2
- data/lib/stripe/params/issuing/authorization_respond_params.rb +1 -1
- data/lib/stripe/params/issuing/authorization_retrieve_params.rb +1 -1
- data/lib/stripe/params/issuing/authorization_reverse_params.rb +1 -1
- data/lib/stripe/params/issuing/authorization_update_params.rb +1 -1
- data/lib/stripe/params/issuing/card_create_params.rb +8 -8
- data/lib/stripe/params/issuing/card_deliver_card_params.rb +1 -1
- data/lib/stripe/params/issuing/card_fail_card_params.rb +1 -1
- data/lib/stripe/params/issuing/card_list_params.rb +2 -2
- data/lib/stripe/params/issuing/card_retrieve_params.rb +1 -1
- data/lib/stripe/params/issuing/card_return_card_params.rb +1 -1
- data/lib/stripe/params/issuing/card_ship_card_params.rb +1 -1
- data/lib/stripe/params/issuing/card_submit_card_params.rb +1 -1
- data/lib/stripe/params/issuing/card_update_params.rb +8 -8
- data/lib/stripe/params/issuing/cardholder_create_params.rb +12 -12
- data/lib/stripe/params/issuing/cardholder_list_params.rb +2 -2
- data/lib/stripe/params/issuing/cardholder_retrieve_params.rb +1 -1
- data/lib/stripe/params/issuing/cardholder_update_params.rb +12 -12
- data/lib/stripe/params/issuing/dispute_create_params.rb +11 -11
- data/lib/stripe/params/issuing/dispute_list_params.rb +2 -2
- data/lib/stripe/params/issuing/dispute_retrieve_params.rb +1 -1
- data/lib/stripe/params/issuing/dispute_submit_params.rb +1 -1
- data/lib/stripe/params/issuing/dispute_update_params.rb +10 -10
- data/lib/stripe/params/issuing/personalization_design_activate_params.rb +1 -1
- data/lib/stripe/params/issuing/personalization_design_create_params.rb +3 -3
- data/lib/stripe/params/issuing/personalization_design_deactivate_params.rb +1 -1
- data/lib/stripe/params/issuing/personalization_design_list_params.rb +2 -2
- data/lib/stripe/params/issuing/personalization_design_reject_params.rb +2 -2
- data/lib/stripe/params/issuing/personalization_design_retrieve_params.rb +1 -1
- data/lib/stripe/params/issuing/personalization_design_update_params.rb +3 -3
- data/lib/stripe/params/issuing/physical_bundle_list_params.rb +1 -1
- data/lib/stripe/params/issuing/physical_bundle_retrieve_params.rb +1 -1
- data/lib/stripe/params/issuing/token_list_params.rb +2 -2
- data/lib/stripe/params/issuing/token_retrieve_params.rb +1 -1
- data/lib/stripe/params/issuing/token_update_params.rb +1 -1
- data/lib/stripe/params/issuing/transaction_create_force_capture_params.rb +14 -14
- data/lib/stripe/params/issuing/transaction_create_unlinked_refund_params.rb +14 -14
- data/lib/stripe/params/issuing/transaction_list_params.rb +2 -2
- data/lib/stripe/params/issuing/transaction_refund_params.rb +1 -1
- data/lib/stripe/params/issuing/transaction_retrieve_params.rb +1 -1
- data/lib/stripe/params/issuing/transaction_update_params.rb +1 -1
- data/lib/stripe/params/mandate_retrieve_params.rb +1 -1
- data/lib/stripe/params/payment_attempt_record_list_params.rb +22 -0
- data/lib/stripe/params/payment_attempt_record_retrieve_params.rb +13 -0
- data/lib/stripe/params/payment_intent_amount_details_line_item_list_params.rb +22 -0
- data/lib/stripe/params/payment_intent_apply_customer_balance_params.rb +1 -1
- data/lib/stripe/params/payment_intent_cancel_params.rb +1 -1
- data/lib/stripe/params/payment_intent_capture_params.rb +199 -2
- data/lib/stripe/params/payment_intent_confirm_params.rb +330 -133
- data/lib/stripe/params/payment_intent_create_params.rb +332 -135
- data/lib/stripe/params/payment_intent_increment_authorization_params.rb +199 -2
- data/lib/stripe/params/payment_intent_list_params.rb +2 -2
- data/lib/stripe/params/payment_intent_retrieve_params.rb +1 -1
- data/lib/stripe/params/payment_intent_search_params.rb +1 -1
- data/lib/stripe/params/payment_intent_update_params.rb +326 -129
- data/lib/stripe/params/payment_intent_verify_microdeposits_params.rb +1 -1
- data/lib/stripe/params/payment_link_create_params.rb +83 -44
- data/lib/stripe/params/payment_link_line_item_list_params.rb +1 -1
- data/lib/stripe/params/payment_link_list_line_items_params.rb +1 -1
- data/lib/stripe/params/payment_link_list_params.rb +1 -1
- data/lib/stripe/params/payment_link_retrieve_params.rb +1 -1
- data/lib/stripe/params/payment_link_update_params.rb +74 -35
- data/lib/stripe/params/payment_method_attach_params.rb +1 -1
- data/lib/stripe/params/payment_method_configuration_create_params.rb +149 -107
- data/lib/stripe/params/payment_method_configuration_list_params.rb +1 -1
- data/lib/stripe/params/payment_method_configuration_retrieve_params.rb +1 -1
- data/lib/stripe/params/payment_method_configuration_update_params.rb +149 -107
- data/lib/stripe/params/payment_method_create_params.rb +70 -56
- data/lib/stripe/params/payment_method_detach_params.rb +1 -1
- data/lib/stripe/params/payment_method_domain_create_params.rb +1 -1
- data/lib/stripe/params/payment_method_domain_list_params.rb +1 -1
- data/lib/stripe/params/payment_method_domain_retrieve_params.rb +1 -1
- data/lib/stripe/params/payment_method_domain_update_params.rb +1 -1
- data/lib/stripe/params/payment_method_domain_validate_params.rb +1 -1
- data/lib/stripe/params/payment_method_list_params.rb +2 -2
- data/lib/stripe/params/payment_method_retrieve_params.rb +1 -1
- data/lib/stripe/params/payment_method_update_params.rb +6 -6
- data/lib/stripe/params/payment_record_report_payment_attempt_canceled_params.rb +19 -0
- data/lib/stripe/params/payment_record_report_payment_attempt_failed_params.rb +19 -0
- data/lib/stripe/params/payment_record_report_payment_attempt_guaranteed_params.rb +19 -0
- data/lib/stripe/params/payment_record_report_payment_attempt_informational_params.rb +93 -0
- data/lib/stripe/params/payment_record_report_payment_attempt_params.rb +186 -0
- data/lib/stripe/params/payment_record_report_payment_params.rb +252 -0
- data/lib/stripe/params/payment_record_report_refund_params.rb +79 -0
- data/lib/stripe/params/payment_record_retrieve_params.rb +13 -0
- data/lib/stripe/params/payout_cancel_params.rb +1 -1
- data/lib/stripe/params/payout_create_params.rb +1 -1
- data/lib/stripe/params/payout_list_params.rb +3 -3
- data/lib/stripe/params/payout_retrieve_params.rb +1 -1
- data/lib/stripe/params/payout_reverse_params.rb +1 -1
- data/lib/stripe/params/payout_update_params.rb +1 -1
- data/lib/stripe/params/plan_create_params.rb +4 -4
- data/lib/stripe/params/plan_delete_params.rb +1 -1
- data/lib/stripe/params/plan_list_params.rb +2 -2
- data/lib/stripe/params/plan_retrieve_params.rb +1 -1
- data/lib/stripe/params/plan_update_params.rb +1 -1
- data/lib/stripe/params/price_create_params.rb +9 -9
- data/lib/stripe/params/price_list_params.rb +3 -3
- data/lib/stripe/params/price_retrieve_params.rb +1 -1
- data/lib/stripe/params/price_search_params.rb +1 -1
- data/lib/stripe/params/price_update_params.rb +4 -4
- data/lib/stripe/params/product_create_params.rb +9 -9
- data/lib/stripe/params/product_delete_params.rb +1 -1
- data/lib/stripe/params/product_feature_create_params.rb +1 -1
- data/lib/stripe/params/product_feature_delete_params.rb +1 -1
- data/lib/stripe/params/product_feature_list_params.rb +1 -1
- data/lib/stripe/params/product_feature_retrieve_params.rb +1 -1
- data/lib/stripe/params/product_list_params.rb +2 -2
- data/lib/stripe/params/product_retrieve_params.rb +1 -1
- data/lib/stripe/params/product_search_params.rb +1 -1
- data/lib/stripe/params/product_update_params.rb +3 -3
- data/lib/stripe/params/promotion_code_create_params.rb +4 -4
- data/lib/stripe/params/promotion_code_list_params.rb +2 -2
- data/lib/stripe/params/promotion_code_retrieve_params.rb +1 -1
- data/lib/stripe/params/promotion_code_update_params.rb +3 -3
- data/lib/stripe/params/quote_accept_params.rb +1 -1
- data/lib/stripe/params/quote_cancel_params.rb +1 -1
- data/lib/stripe/params/quote_computed_upfront_line_items_list_params.rb +1 -1
- data/lib/stripe/params/quote_create_params.rb +15 -15
- data/lib/stripe/params/quote_finalize_quote_params.rb +1 -1
- data/lib/stripe/params/quote_line_item_list_params.rb +1 -1
- data/lib/stripe/params/quote_list_computed_upfront_line_items_params.rb +1 -1
- data/lib/stripe/params/quote_list_line_items_params.rb +1 -1
- data/lib/stripe/params/quote_list_params.rb +1 -1
- data/lib/stripe/params/quote_pdf_params.rb +1 -1
- data/lib/stripe/params/quote_retrieve_params.rb +1 -1
- data/lib/stripe/params/quote_update_params.rb +12 -12
- data/lib/stripe/params/radar/early_fraud_warning_list_params.rb +2 -2
- data/lib/stripe/params/radar/early_fraud_warning_retrieve_params.rb +1 -1
- data/lib/stripe/params/radar/value_list_create_params.rb +1 -1
- data/lib/stripe/params/radar/value_list_delete_params.rb +1 -1
- data/lib/stripe/params/radar/value_list_item_create_params.rb +1 -1
- data/lib/stripe/params/radar/value_list_item_delete_params.rb +1 -1
- data/lib/stripe/params/radar/value_list_item_list_params.rb +2 -2
- data/lib/stripe/params/radar/value_list_item_retrieve_params.rb +1 -1
- data/lib/stripe/params/radar/value_list_list_params.rb +2 -2
- data/lib/stripe/params/radar/value_list_retrieve_params.rb +1 -1
- data/lib/stripe/params/radar/value_list_update_params.rb +1 -1
- data/lib/stripe/params/refund_cancel_params.rb +1 -1
- data/lib/stripe/params/refund_create_params.rb +1 -1
- data/lib/stripe/params/refund_expire_params.rb +1 -1
- data/lib/stripe/params/refund_list_params.rb +2 -2
- data/lib/stripe/params/refund_retrieve_params.rb +1 -1
- data/lib/stripe/params/refund_update_params.rb +1 -1
- data/lib/stripe/params/reporting/report_run_create_params.rb +2 -2
- data/lib/stripe/params/reporting/report_run_list_params.rb +2 -2
- data/lib/stripe/params/reporting/report_run_retrieve_params.rb +1 -1
- data/lib/stripe/params/reporting/report_type_list_params.rb +1 -1
- data/lib/stripe/params/reporting/report_type_retrieve_params.rb +1 -1
- data/lib/stripe/params/review_approve_params.rb +1 -1
- data/lib/stripe/params/review_list_params.rb +2 -2
- data/lib/stripe/params/review_retrieve_params.rb +1 -1
- data/lib/stripe/params/setup_attempt_list_params.rb +2 -2
- data/lib/stripe/params/setup_intent_cancel_params.rb +1 -1
- data/lib/stripe/params/setup_intent_confirm_params.rb +84 -84
- data/lib/stripe/params/setup_intent_create_params.rb +90 -86
- data/lib/stripe/params/setup_intent_list_params.rb +2 -2
- data/lib/stripe/params/setup_intent_retrieve_params.rb +1 -1
- data/lib/stripe/params/setup_intent_update_params.rb +84 -80
- data/lib/stripe/params/setup_intent_verify_microdeposits_params.rb +1 -1
- data/lib/stripe/params/shipping_rate_create_params.rb +6 -6
- data/lib/stripe/params/shipping_rate_list_params.rb +2 -2
- data/lib/stripe/params/shipping_rate_retrieve_params.rb +1 -1
- data/lib/stripe/params/shipping_rate_update_params.rb +3 -3
- data/lib/stripe/params/sigma/scheduled_query_run_list_params.rb +1 -1
- data/lib/stripe/params/sigma/scheduled_query_run_retrieve_params.rb +1 -1
- data/lib/stripe/params/source_create_params.rb +13 -13
- data/lib/stripe/params/source_detach_params.rb +1 -1
- data/lib/stripe/params/source_retrieve_params.rb +1 -1
- data/lib/stripe/params/source_transaction_list_params.rb +1 -1
- data/lib/stripe/params/source_update_params.rb +11 -11
- data/lib/stripe/params/source_verify_params.rb +1 -1
- data/lib/stripe/params/subscription_cancel_params.rb +2 -2
- data/lib/stripe/params/subscription_create_params.rb +40 -40
- data/lib/stripe/params/subscription_delete_discount_params.rb +1 -1
- data/lib/stripe/params/subscription_item_create_params.rb +5 -5
- data/lib/stripe/params/subscription_item_delete_params.rb +1 -1
- data/lib/stripe/params/subscription_item_list_params.rb +1 -1
- data/lib/stripe/params/subscription_item_retrieve_params.rb +1 -1
- data/lib/stripe/params/subscription_item_update_params.rb +5 -5
- data/lib/stripe/params/subscription_list_params.rb +5 -5
- data/lib/stripe/params/subscription_migrate_params.rb +3 -3
- data/lib/stripe/params/subscription_resume_params.rb +1 -1
- data/lib/stripe/params/subscription_retrieve_params.rb +1 -1
- data/lib/stripe/params/subscription_schedule_cancel_params.rb +1 -1
- data/lib/stripe/params/subscription_schedule_create_params.rb +30 -30
- data/lib/stripe/params/subscription_schedule_list_params.rb +5 -5
- data/lib/stripe/params/subscription_schedule_release_params.rb +1 -1
- data/lib/stripe/params/subscription_schedule_retrieve_params.rb +1 -1
- data/lib/stripe/params/subscription_schedule_update_params.rb +28 -28
- data/lib/stripe/params/subscription_search_params.rb +1 -1
- data/lib/stripe/params/subscription_update_params.rb +39 -39
- data/lib/stripe/params/tax/calculation_create_params.rb +8 -8
- data/lib/stripe/params/tax/calculation_line_item_list_params.rb +1 -1
- data/lib/stripe/params/tax/calculation_list_line_items_params.rb +1 -1
- data/lib/stripe/params/tax/calculation_retrieve_params.rb +1 -1
- data/lib/stripe/params/tax/registration_create_params.rb +176 -163
- data/lib/stripe/params/tax/registration_list_params.rb +1 -1
- data/lib/stripe/params/tax/registration_retrieve_params.rb +1 -1
- data/lib/stripe/params/tax/registration_update_params.rb +1 -1
- data/lib/stripe/params/tax/settings_retrieve_params.rb +1 -1
- data/lib/stripe/params/tax/settings_update_params.rb +4 -4
- data/lib/stripe/params/tax/transaction_create_from_calculation_params.rb +1 -1
- data/lib/stripe/params/tax/transaction_create_reversal_params.rb +3 -3
- data/lib/stripe/params/tax/transaction_line_item_list_params.rb +1 -1
- data/lib/stripe/params/tax/transaction_list_line_items_params.rb +1 -1
- data/lib/stripe/params/tax/transaction_retrieve_params.rb +1 -1
- data/lib/stripe/params/tax_code_list_params.rb +1 -1
- data/lib/stripe/params/tax_code_retrieve_params.rb +1 -1
- data/lib/stripe/params/tax_id_create_params.rb +2 -2
- data/lib/stripe/params/tax_id_delete_params.rb +1 -1
- data/lib/stripe/params/tax_id_list_params.rb +2 -2
- data/lib/stripe/params/tax_id_retrieve_params.rb +1 -1
- data/lib/stripe/params/tax_rate_create_params.rb +1 -1
- data/lib/stripe/params/tax_rate_list_params.rb +2 -2
- data/lib/stripe/params/tax_rate_retrieve_params.rb +1 -1
- data/lib/stripe/params/tax_rate_update_params.rb +1 -1
- data/lib/stripe/params/terminal/configuration_create_params.rb +52 -33
- data/lib/stripe/params/terminal/configuration_delete_params.rb +1 -1
- data/lib/stripe/params/terminal/configuration_list_params.rb +1 -1
- data/lib/stripe/params/terminal/configuration_retrieve_params.rb +1 -1
- data/lib/stripe/params/terminal/configuration_update_params.rb +52 -33
- data/lib/stripe/params/terminal/connection_token_create_params.rb +1 -1
- data/lib/stripe/params/terminal/location_create_params.rb +4 -4
- data/lib/stripe/params/terminal/location_delete_params.rb +1 -1
- data/lib/stripe/params/terminal/location_list_params.rb +1 -1
- data/lib/stripe/params/terminal/location_retrieve_params.rb +1 -1
- data/lib/stripe/params/terminal/location_update_params.rb +4 -4
- data/lib/stripe/params/terminal/reader_cancel_action_params.rb +1 -1
- data/lib/stripe/params/terminal/reader_collect_inputs_params.rb +13 -13
- data/lib/stripe/params/terminal/reader_collect_payment_method_params.rb +5 -5
- data/lib/stripe/params/terminal/reader_confirm_payment_intent_params.rb +4 -4
- data/lib/stripe/params/terminal/reader_create_params.rb +1 -1
- data/lib/stripe/params/terminal/reader_delete_params.rb +1 -1
- data/lib/stripe/params/terminal/reader_list_params.rb +1 -1
- data/lib/stripe/params/terminal/reader_present_payment_method_params.rb +5 -5
- data/lib/stripe/params/terminal/reader_process_payment_intent_params.rb +5 -5
- data/lib/stripe/params/terminal/reader_process_setup_intent_params.rb +4 -4
- data/lib/stripe/params/terminal/reader_refund_payment_params.rb +3 -3
- data/lib/stripe/params/terminal/reader_retrieve_params.rb +1 -1
- data/lib/stripe/params/terminal/reader_set_reader_display_params.rb +9 -9
- data/lib/stripe/params/terminal/reader_succeed_input_collection_params.rb +1 -1
- data/lib/stripe/params/terminal/reader_timeout_input_collection_params.rb +1 -1
- data/lib/stripe/params/terminal/reader_update_params.rb +1 -1
- data/lib/stripe/params/test_helpers/confirmation_token_create_params.rb +61 -61
- data/lib/stripe/params/test_helpers/customer_fund_cash_balance_params.rb +1 -1
- data/lib/stripe/params/test_helpers/issuing/authorization_capture_params.rb +13 -13
- data/lib/stripe/params/test_helpers/issuing/authorization_create_params.rb +17 -17
- data/lib/stripe/params/test_helpers/issuing/authorization_expire_params.rb +1 -1
- data/lib/stripe/params/test_helpers/issuing/authorization_finalize_amount_params.rb +8 -8
- data/lib/stripe/params/test_helpers/issuing/authorization_increment_params.rb +1 -1
- data/lib/stripe/params/test_helpers/issuing/authorization_respond_params.rb +1 -1
- data/lib/stripe/params/test_helpers/issuing/authorization_reverse_params.rb +1 -1
- data/lib/stripe/params/test_helpers/issuing/card_deliver_card_params.rb +1 -1
- data/lib/stripe/params/test_helpers/issuing/card_fail_card_params.rb +1 -1
- data/lib/stripe/params/test_helpers/issuing/card_return_card_params.rb +1 -1
- data/lib/stripe/params/test_helpers/issuing/card_ship_card_params.rb +1 -1
- data/lib/stripe/params/test_helpers/issuing/card_submit_card_params.rb +1 -1
- data/lib/stripe/params/test_helpers/issuing/personalization_design_activate_params.rb +1 -1
- data/lib/stripe/params/test_helpers/issuing/personalization_design_deactivate_params.rb +1 -1
- data/lib/stripe/params/test_helpers/issuing/personalization_design_reject_params.rb +2 -2
- data/lib/stripe/params/test_helpers/issuing/transaction_create_force_capture_params.rb +14 -14
- data/lib/stripe/params/test_helpers/issuing/transaction_create_unlinked_refund_params.rb +14 -14
- data/lib/stripe/params/test_helpers/issuing/transaction_refund_params.rb +1 -1
- data/lib/stripe/params/test_helpers/refund_expire_params.rb +1 -1
- data/lib/stripe/params/test_helpers/terminal/reader_present_payment_method_params.rb +5 -5
- data/lib/stripe/params/test_helpers/terminal/reader_succeed_input_collection_params.rb +1 -1
- data/lib/stripe/params/test_helpers/terminal/reader_timeout_input_collection_params.rb +1 -1
- data/lib/stripe/params/test_helpers/test_clock_advance_params.rb +1 -1
- data/lib/stripe/params/test_helpers/test_clock_create_params.rb +1 -1
- data/lib/stripe/params/test_helpers/test_clock_delete_params.rb +1 -1
- data/lib/stripe/params/test_helpers/test_clock_list_params.rb +1 -1
- data/lib/stripe/params/test_helpers/test_clock_retrieve_params.rb +1 -1
- data/lib/stripe/params/test_helpers/treasury/inbound_transfer_fail_params.rb +2 -2
- data/lib/stripe/params/test_helpers/treasury/inbound_transfer_return_inbound_transfer_params.rb +1 -1
- data/lib/stripe/params/test_helpers/treasury/inbound_transfer_succeed_params.rb +1 -1
- data/lib/stripe/params/test_helpers/treasury/outbound_payment_fail_params.rb +1 -1
- data/lib/stripe/params/test_helpers/treasury/outbound_payment_post_params.rb +1 -1
- data/lib/stripe/params/test_helpers/treasury/outbound_payment_return_outbound_payment_params.rb +2 -2
- data/lib/stripe/params/test_helpers/treasury/outbound_payment_update_params.rb +4 -4
- data/lib/stripe/params/test_helpers/treasury/outbound_transfer_fail_params.rb +1 -1
- data/lib/stripe/params/test_helpers/treasury/outbound_transfer_post_params.rb +1 -1
- data/lib/stripe/params/test_helpers/treasury/outbound_transfer_return_outbound_transfer_params.rb +2 -2
- data/lib/stripe/params/test_helpers/treasury/outbound_transfer_update_params.rb +4 -4
- data/lib/stripe/params/test_helpers/treasury/received_credit_create_params.rb +3 -3
- data/lib/stripe/params/test_helpers/treasury/received_debit_create_params.rb +3 -3
- data/lib/stripe/params/token_create_params.rb +64 -45
- data/lib/stripe/params/token_retrieve_params.rb +1 -1
- data/lib/stripe/params/topup_cancel_params.rb +1 -1
- data/lib/stripe/params/topup_create_params.rb +1 -1
- data/lib/stripe/params/topup_list_params.rb +3 -3
- data/lib/stripe/params/topup_retrieve_params.rb +1 -1
- data/lib/stripe/params/topup_update_params.rb +1 -1
- data/lib/stripe/params/transfer_create_params.rb +1 -1
- data/lib/stripe/params/transfer_list_params.rb +2 -2
- data/lib/stripe/params/transfer_retrieve_params.rb +1 -1
- data/lib/stripe/params/transfer_reversal_create_params.rb +1 -1
- data/lib/stripe/params/transfer_reversal_list_params.rb +1 -1
- data/lib/stripe/params/transfer_reversal_retrieve_params.rb +1 -1
- data/lib/stripe/params/transfer_reversal_update_params.rb +1 -1
- data/lib/stripe/params/transfer_update_params.rb +1 -1
- data/lib/stripe/params/treasury/credit_reversal_create_params.rb +1 -1
- data/lib/stripe/params/treasury/credit_reversal_list_params.rb +1 -1
- data/lib/stripe/params/treasury/credit_reversal_retrieve_params.rb +1 -1
- data/lib/stripe/params/treasury/debit_reversal_create_params.rb +1 -1
- data/lib/stripe/params/treasury/debit_reversal_list_params.rb +1 -1
- data/lib/stripe/params/treasury/debit_reversal_retrieve_params.rb +1 -1
- data/lib/stripe/params/treasury/financial_account_close_params.rb +2 -2
- data/lib/stripe/params/treasury/financial_account_create_params.rb +16 -16
- data/lib/stripe/params/treasury/financial_account_features_retrieve_params.rb +1 -1
- data/lib/stripe/params/treasury/financial_account_features_update_params.rb +14 -14
- data/lib/stripe/params/treasury/financial_account_list_params.rb +2 -2
- data/lib/stripe/params/treasury/financial_account_retrieve_features_params.rb +1 -1
- data/lib/stripe/params/treasury/financial_account_retrieve_params.rb +1 -1
- data/lib/stripe/params/treasury/financial_account_update_features_params.rb +14 -14
- data/lib/stripe/params/treasury/financial_account_update_params.rb +17 -17
- data/lib/stripe/params/treasury/inbound_transfer_cancel_params.rb +1 -1
- data/lib/stripe/params/treasury/inbound_transfer_create_params.rb +1 -1
- data/lib/stripe/params/treasury/inbound_transfer_fail_params.rb +2 -2
- data/lib/stripe/params/treasury/inbound_transfer_list_params.rb +1 -1
- data/lib/stripe/params/treasury/inbound_transfer_retrieve_params.rb +1 -1
- data/lib/stripe/params/treasury/inbound_transfer_return_inbound_transfer_params.rb +1 -1
- data/lib/stripe/params/treasury/inbound_transfer_succeed_params.rb +1 -1
- data/lib/stripe/params/treasury/outbound_payment_cancel_params.rb +1 -1
- data/lib/stripe/params/treasury/outbound_payment_create_params.rb +8 -8
- data/lib/stripe/params/treasury/outbound_payment_fail_params.rb +1 -1
- data/lib/stripe/params/treasury/outbound_payment_list_params.rb +2 -2
- data/lib/stripe/params/treasury/outbound_payment_post_params.rb +1 -1
- data/lib/stripe/params/treasury/outbound_payment_retrieve_params.rb +1 -1
- data/lib/stripe/params/treasury/outbound_payment_return_outbound_payment_params.rb +2 -2
- data/lib/stripe/params/treasury/outbound_payment_update_params.rb +4 -4
- data/lib/stripe/params/treasury/outbound_transfer_cancel_params.rb +1 -1
- data/lib/stripe/params/treasury/outbound_transfer_create_params.rb +4 -4
- data/lib/stripe/params/treasury/outbound_transfer_fail_params.rb +1 -1
- data/lib/stripe/params/treasury/outbound_transfer_list_params.rb +1 -1
- data/lib/stripe/params/treasury/outbound_transfer_post_params.rb +1 -1
- data/lib/stripe/params/treasury/outbound_transfer_retrieve_params.rb +1 -1
- data/lib/stripe/params/treasury/outbound_transfer_return_outbound_transfer_params.rb +2 -2
- data/lib/stripe/params/treasury/outbound_transfer_update_params.rb +4 -4
- data/lib/stripe/params/treasury/received_credit_create_params.rb +3 -3
- data/lib/stripe/params/treasury/received_credit_list_params.rb +2 -2
- data/lib/stripe/params/treasury/received_credit_retrieve_params.rb +1 -1
- data/lib/stripe/params/treasury/received_debit_create_params.rb +3 -3
- data/lib/stripe/params/treasury/received_debit_list_params.rb +1 -1
- data/lib/stripe/params/treasury/received_debit_retrieve_params.rb +1 -1
- data/lib/stripe/params/treasury/transaction_entry_list_params.rb +3 -3
- data/lib/stripe/params/treasury/transaction_entry_retrieve_params.rb +1 -1
- data/lib/stripe/params/treasury/transaction_list_params.rb +4 -4
- data/lib/stripe/params/treasury/transaction_retrieve_params.rb +1 -1
- data/lib/stripe/params/v2/billing/meter_event_adjustment_create_params.rb +2 -2
- data/lib/stripe/params/v2/billing/meter_event_create_params.rb +1 -1
- data/lib/stripe/params/v2/billing/meter_event_session_create_params.rb +1 -1
- data/lib/stripe/params/v2/billing/meter_event_stream_create_params.rb +2 -2
- data/lib/stripe/params/v2/core/event_destination_create_params.rb +3 -3
- data/lib/stripe/params/v2/core/event_destination_delete_params.rb +1 -1
- data/lib/stripe/params/v2/core/event_destination_disable_params.rb +1 -1
- data/lib/stripe/params/v2/core/event_destination_enable_params.rb +1 -1
- data/lib/stripe/params/v2/core/event_destination_list_params.rb +1 -1
- data/lib/stripe/params/v2/core/event_destination_ping_params.rb +1 -1
- data/lib/stripe/params/v2/core/event_destination_retrieve_params.rb +1 -1
- data/lib/stripe/params/v2/core/event_destination_update_params.rb +2 -2
- data/lib/stripe/params/v2/core/event_list_params.rb +25 -2
- data/lib/stripe/params/v2/core/event_retrieve_params.rb +1 -1
- data/lib/stripe/params/webhook_endpoint_create_params.rb +1 -1
- data/lib/stripe/params/webhook_endpoint_delete_params.rb +1 -1
- data/lib/stripe/params/webhook_endpoint_list_params.rb +1 -1
- data/lib/stripe/params/webhook_endpoint_retrieve_params.rb +1 -1
- data/lib/stripe/params/webhook_endpoint_update_params.rb +1 -1
- data/lib/stripe/params.rb +11 -0
- data/lib/stripe/resources/account.rb +61 -41
- data/lib/stripe/resources/account_session.rb +39 -39
- data/lib/stripe/resources/application_fee.rb +1 -1
- data/lib/stripe/resources/apps/secret.rb +1 -1
- data/lib/stripe/resources/balance.rb +18 -18
- data/lib/stripe/resources/balance_settings.rb +4 -4
- data/lib/stripe/resources/balance_transaction.rb +1 -1
- data/lib/stripe/resources/bank_account.rb +4 -4
- data/lib/stripe/resources/billing/alert.rb +2 -2
- data/lib/stripe/resources/billing/credit_balance_summary.rb +5 -5
- data/lib/stripe/resources/billing/credit_balance_transaction.rb +8 -8
- data/lib/stripe/resources/billing/credit_grant.rb +5 -5
- data/lib/stripe/resources/billing/meter.rb +4 -4
- data/lib/stripe/resources/billing/meter_event_adjustment.rb +1 -1
- data/lib/stripe/resources/billing_portal/configuration.rb +14 -14
- data/lib/stripe/resources/billing_portal/session.rb +11 -11
- data/lib/stripe/resources/capability.rb +6 -6
- data/lib/stripe/resources/card.rb +1 -1
- data/lib/stripe/resources/cash_balance.rb +1 -1
- data/lib/stripe/resources/charge.rb +104 -104
- data/lib/stripe/resources/checkout/session.rb +128 -106
- data/lib/stripe/resources/climate/order.rb +3 -3
- data/lib/stripe/resources/climate/product.rb +1 -1
- data/lib/stripe/resources/climate/supplier.rb +1 -1
- data/lib/stripe/resources/confirmation_token.rb +93 -93
- data/lib/stripe/resources/country_spec.rb +3 -3
- data/lib/stripe/resources/coupon.rb +2 -2
- data/lib/stripe/resources/credit_note.rb +26 -8
- data/lib/stripe/resources/credit_note_line_item.rb +4 -4
- data/lib/stripe/resources/customer.rb +10 -8
- data/lib/stripe/resources/customer_cash_balance_transaction.rb +11 -11
- data/lib/stripe/resources/customer_session.rb +87 -5
- data/lib/stripe/resources/discount.rb +1 -1
- data/lib/stripe/resources/dispute.rb +17 -17
- data/lib/stripe/resources/event.rb +2 -2
- data/lib/stripe/resources/financial_connections/account.rb +9 -9
- data/lib/stripe/resources/financial_connections/session.rb +2 -2
- data/lib/stripe/resources/financial_connections/transaction.rb +1 -1
- data/lib/stripe/resources/forwarding/request.rb +5 -5
- data/lib/stripe/resources/funding_instructions.rb +20 -20
- data/lib/stripe/resources/identity/verification_report.rb +18 -18
- data/lib/stripe/resources/identity/verification_session.rb +13 -13
- data/lib/stripe/resources/invoice.rb +42 -42
- data/lib/stripe/resources/invoice_item.rb +7 -7
- data/lib/stripe/resources/invoice_line_item.rb +14 -14
- data/lib/stripe/resources/invoice_payment.rb +4 -2
- data/lib/stripe/resources/issuing/authorization.rb +19 -19
- data/lib/stripe/resources/issuing/card.rb +10 -10
- data/lib/stripe/resources/issuing/cardholder.rb +12 -12
- data/lib/stripe/resources/issuing/dispute.rb +10 -10
- data/lib/stripe/resources/issuing/personalization_design.rb +3 -3
- data/lib/stripe/resources/issuing/physical_bundle.rb +1 -1
- data/lib/stripe/resources/issuing/token.rb +6 -6
- data/lib/stripe/resources/issuing/transaction.rb +16 -16
- data/lib/stripe/resources/line_item.rb +2 -2
- data/lib/stripe/resources/mandate.rb +22 -22
- data/lib/stripe/resources/payment_attempt_record.rb +1903 -0
- data/lib/stripe/resources/payment_intent.rb +191 -122
- data/lib/stripe/resources/payment_intent_amount_details_line_item.rb +138 -0
- data/lib/stripe/resources/payment_link.rb +85 -38
- data/lib/stripe/resources/payment_method.rb +118 -84
- data/lib/stripe/resources/payment_method_configuration.rb +170 -102
- data/lib/stripe/resources/payment_method_domain.rb +12 -12
- data/lib/stripe/resources/payment_record.rb +2031 -0
- data/lib/stripe/resources/payout.rb +3 -3
- data/lib/stripe/resources/person.rb +20 -20
- data/lib/stripe/resources/plan.rb +2 -2
- data/lib/stripe/resources/price.rb +7 -7
- data/lib/stripe/resources/product.rb +2 -2
- data/lib/stripe/resources/promotion_code.rb +3 -3
- data/lib/stripe/resources/quote.rb +25 -25
- data/lib/stripe/resources/refund.rb +53 -37
- data/lib/stripe/resources/reporting/report_run.rb +1 -1
- data/lib/stripe/resources/review.rb +2 -2
- data/lib/stripe/resources/setup_attempt.rb +29 -29
- data/lib/stripe/resources/setup_intent.rb +28 -26
- data/lib/stripe/resources/shipping_rate.rb +5 -5
- data/lib/stripe/resources/sigma/scheduled_query_run.rb +1 -1
- data/lib/stripe/resources/source.rb +29 -29
- data/lib/stripe/resources/source_mandate_notification.rb +3 -3
- data/lib/stripe/resources/source_transaction.rb +5 -5
- data/lib/stripe/resources/subscription.rb +30 -30
- data/lib/stripe/resources/subscription_item.rb +1 -1
- data/lib/stripe/resources/subscription_schedule.rb +26 -26
- data/lib/stripe/resources/tax/calculation.rb +12 -12
- data/lib/stripe/resources/tax/calculation_line_item.rb +3 -3
- data/lib/stripe/resources/tax/registration.rb +156 -140
- data/lib/stripe/resources/tax/settings.rb +6 -6
- data/lib/stripe/resources/tax/transaction.rb +10 -10
- data/lib/stripe/resources/tax/transaction_line_item.rb +1 -1
- data/lib/stripe/resources/tax_id.rb +2 -2
- data/lib/stripe/resources/tax_rate.rb +1 -1
- data/lib/stripe/resources/terminal/configuration.rb +52 -32
- data/lib/stripe/resources/terminal/location.rb +3 -3
- data/lib/stripe/resources/terminal/reader.rb +54 -52
- data/lib/stripe/resources/test_helpers/test_clock.rb +2 -2
- data/lib/stripe/resources/treasury/credit_reversal.rb +1 -1
- data/lib/stripe/resources/treasury/debit_reversal.rb +2 -2
- data/lib/stripe/resources/treasury/financial_account.rb +6 -6
- data/lib/stripe/resources/treasury/financial_account_features.rb +22 -22
- data/lib/stripe/resources/treasury/inbound_transfer.rb +7 -7
- data/lib/stripe/resources/treasury/outbound_payment.rb +11 -11
- data/lib/stripe/resources/treasury/outbound_transfer.rb +10 -10
- data/lib/stripe/resources/treasury/received_credit.rb +8 -8
- data/lib/stripe/resources/treasury/received_debit.rb +7 -7
- data/lib/stripe/resources/treasury/transaction.rb +3 -3
- data/lib/stripe/resources/treasury/transaction_entry.rb +2 -2
- data/lib/stripe/resources/v2/billing/meter_event_adjustment.rb +1 -1
- data/lib/stripe/resources/v2/core/event.rb +2 -2
- data/lib/stripe/resources/v2/core/event_destination.rb +4 -4
- data/lib/stripe/resources.rb +3 -0
- data/lib/stripe/services/financial_connections/account_service.rb +1 -1
- data/lib/stripe/services/payment_attempt_record_service.rb +28 -0
- data/lib/stripe/services/payment_intent_amount_details_line_item_service.rb +17 -0
- data/lib/stripe/services/payment_intent_service.rb +7 -0
- data/lib/stripe/services/payment_record_service.rb +101 -0
- data/lib/stripe/services/payout_service.rb +1 -1
- data/lib/stripe/services/terminal/reader_service.rb +8 -8
- data/lib/stripe/services/v1_services.rb +3 -1
- data/lib/stripe/services.rb +3 -0
- data/lib/stripe/version.rb +1 -1
- data/rbi/stripe.rbi +21970 -13908
- metadata +19 -2
|
@@ -2,8 +2,179 @@
|
|
|
2
2
|
# frozen_string_literal: true
|
|
3
3
|
|
|
4
4
|
module Stripe
|
|
5
|
-
class PaymentIntentCreateParams < Stripe::RequestParams
|
|
6
|
-
class
|
|
5
|
+
class PaymentIntentCreateParams < ::Stripe::RequestParams
|
|
6
|
+
class AmountDetails < ::Stripe::RequestParams
|
|
7
|
+
class LineItem < ::Stripe::RequestParams
|
|
8
|
+
class PaymentMethodOptions < ::Stripe::RequestParams
|
|
9
|
+
class Card < ::Stripe::RequestParams
|
|
10
|
+
# Identifier that categorizes the items being purchased using a standardized commodity scheme such as (but not limited to) UNSPSC, NAICS, NAPCS, etc.
|
|
11
|
+
attr_accessor :commodity_code
|
|
12
|
+
|
|
13
|
+
def initialize(commodity_code: nil)
|
|
14
|
+
@commodity_code = commodity_code
|
|
15
|
+
end
|
|
16
|
+
end
|
|
17
|
+
|
|
18
|
+
class CardPresent < ::Stripe::RequestParams
|
|
19
|
+
# Identifier that categorizes the items being purchased using a standardized commodity scheme such as (but not limited to) UNSPSC, NAICS, NAPCS, etc.
|
|
20
|
+
attr_accessor :commodity_code
|
|
21
|
+
|
|
22
|
+
def initialize(commodity_code: nil)
|
|
23
|
+
@commodity_code = commodity_code
|
|
24
|
+
end
|
|
25
|
+
end
|
|
26
|
+
|
|
27
|
+
class Klarna < ::Stripe::RequestParams
|
|
28
|
+
# URL to an image for the product. Max length, 4096 characters.
|
|
29
|
+
attr_accessor :image_url
|
|
30
|
+
# URL to the product page. Max length, 4096 characters.
|
|
31
|
+
attr_accessor :product_url
|
|
32
|
+
# Unique reference for this line item to correlate it with your system’s internal records. The field is displayed in the Klarna Consumer App if passed.
|
|
33
|
+
attr_accessor :reference
|
|
34
|
+
# Reference for the subscription this line item is for.
|
|
35
|
+
attr_accessor :subscription_reference
|
|
36
|
+
|
|
37
|
+
def initialize(
|
|
38
|
+
image_url: nil,
|
|
39
|
+
product_url: nil,
|
|
40
|
+
reference: nil,
|
|
41
|
+
subscription_reference: nil
|
|
42
|
+
)
|
|
43
|
+
@image_url = image_url
|
|
44
|
+
@product_url = product_url
|
|
45
|
+
@reference = reference
|
|
46
|
+
@subscription_reference = subscription_reference
|
|
47
|
+
end
|
|
48
|
+
end
|
|
49
|
+
|
|
50
|
+
class Paypal < ::Stripe::RequestParams
|
|
51
|
+
# Type of the line item.
|
|
52
|
+
attr_accessor :category
|
|
53
|
+
# Description of the line item.
|
|
54
|
+
attr_accessor :description
|
|
55
|
+
# The Stripe account ID of the connected account that sells the item.
|
|
56
|
+
attr_accessor :sold_by
|
|
57
|
+
|
|
58
|
+
def initialize(category: nil, description: nil, sold_by: nil)
|
|
59
|
+
@category = category
|
|
60
|
+
@description = description
|
|
61
|
+
@sold_by = sold_by
|
|
62
|
+
end
|
|
63
|
+
end
|
|
64
|
+
# This sub-hash contains line item details that are specific to `card` payment method."
|
|
65
|
+
attr_accessor :card
|
|
66
|
+
# This sub-hash contains line item details that are specific to `card_present` payment method."
|
|
67
|
+
attr_accessor :card_present
|
|
68
|
+
# This sub-hash contains line item details that are specific to `klarna` payment method."
|
|
69
|
+
attr_accessor :klarna
|
|
70
|
+
# This sub-hash contains line item details that are specific to `paypal` payment method."
|
|
71
|
+
attr_accessor :paypal
|
|
72
|
+
|
|
73
|
+
def initialize(card: nil, card_present: nil, klarna: nil, paypal: nil)
|
|
74
|
+
@card = card
|
|
75
|
+
@card_present = card_present
|
|
76
|
+
@klarna = klarna
|
|
77
|
+
@paypal = paypal
|
|
78
|
+
end
|
|
79
|
+
end
|
|
80
|
+
|
|
81
|
+
class Tax < ::Stripe::RequestParams
|
|
82
|
+
# The total amount of tax on a single line item represented in the [smallest currency unit](https://stripe.com/docs/currencies#zero-decimal). Required for L3 rates. An integer greater than or equal to 0.
|
|
83
|
+
#
|
|
84
|
+
# This field is mutually exclusive with the `amount_details[tax][total_tax_amount]` field.
|
|
85
|
+
attr_accessor :total_tax_amount
|
|
86
|
+
|
|
87
|
+
def initialize(total_tax_amount: nil)
|
|
88
|
+
@total_tax_amount = total_tax_amount
|
|
89
|
+
end
|
|
90
|
+
end
|
|
91
|
+
# The discount applied on this line item represented in the [smallest currency unit](https://stripe.com/docs/currencies#zero-decimal). An integer greater than 0.
|
|
92
|
+
#
|
|
93
|
+
# This field is mutually exclusive with the `amount_details[discount_amount]` field.
|
|
94
|
+
attr_accessor :discount_amount
|
|
95
|
+
# Payment method-specific information for line items.
|
|
96
|
+
attr_accessor :payment_method_options
|
|
97
|
+
# The product code of the line item, such as an SKU. Required for L3 rates. At most 12 characters long.
|
|
98
|
+
attr_accessor :product_code
|
|
99
|
+
# The product name of the line item. Required for L3 rates. At most 1024 characters long.
|
|
100
|
+
#
|
|
101
|
+
# For Cards, this field is truncated to 26 alphanumeric characters before being sent to the card networks. For Paypal, this field is truncated to 127 characters.
|
|
102
|
+
attr_accessor :product_name
|
|
103
|
+
# The quantity of items. Required for L3 rates. An integer greater than 0.
|
|
104
|
+
attr_accessor :quantity
|
|
105
|
+
# Contains information about the tax on the item.
|
|
106
|
+
attr_accessor :tax
|
|
107
|
+
# The unit cost of the line item represented in the [smallest currency unit](https://stripe.com/docs/currencies#zero-decimal). Required for L3 rates. An integer greater than or equal to 0.
|
|
108
|
+
attr_accessor :unit_cost
|
|
109
|
+
# A unit of measure for the line item, such as gallons, feet, meters, etc.
|
|
110
|
+
attr_accessor :unit_of_measure
|
|
111
|
+
|
|
112
|
+
def initialize(
|
|
113
|
+
discount_amount: nil,
|
|
114
|
+
payment_method_options: nil,
|
|
115
|
+
product_code: nil,
|
|
116
|
+
product_name: nil,
|
|
117
|
+
quantity: nil,
|
|
118
|
+
tax: nil,
|
|
119
|
+
unit_cost: nil,
|
|
120
|
+
unit_of_measure: nil
|
|
121
|
+
)
|
|
122
|
+
@discount_amount = discount_amount
|
|
123
|
+
@payment_method_options = payment_method_options
|
|
124
|
+
@product_code = product_code
|
|
125
|
+
@product_name = product_name
|
|
126
|
+
@quantity = quantity
|
|
127
|
+
@tax = tax
|
|
128
|
+
@unit_cost = unit_cost
|
|
129
|
+
@unit_of_measure = unit_of_measure
|
|
130
|
+
end
|
|
131
|
+
end
|
|
132
|
+
|
|
133
|
+
class Shipping < ::Stripe::RequestParams
|
|
134
|
+
# If a physical good is being shipped, the cost of shipping represented in the [smallest currency unit](https://stripe.com/docs/currencies#zero-decimal). An integer greater than or equal to 0.
|
|
135
|
+
attr_accessor :amount
|
|
136
|
+
# If a physical good is being shipped, the postal code of where it is being shipped from. At most 10 alphanumeric characters long, hyphens are allowed.
|
|
137
|
+
attr_accessor :from_postal_code
|
|
138
|
+
# If a physical good is being shipped, the postal code of where it is being shipped to. At most 10 alphanumeric characters long, hyphens are allowed.
|
|
139
|
+
attr_accessor :to_postal_code
|
|
140
|
+
|
|
141
|
+
def initialize(amount: nil, from_postal_code: nil, to_postal_code: nil)
|
|
142
|
+
@amount = amount
|
|
143
|
+
@from_postal_code = from_postal_code
|
|
144
|
+
@to_postal_code = to_postal_code
|
|
145
|
+
end
|
|
146
|
+
end
|
|
147
|
+
|
|
148
|
+
class Tax < ::Stripe::RequestParams
|
|
149
|
+
# The total amount of tax on the transaction represented in the [smallest currency unit](https://stripe.com/docs/currencies#zero-decimal). Required for L2 rates. An integer greater than or equal to 0.
|
|
150
|
+
#
|
|
151
|
+
# This field is mutually exclusive with the `amount_details[line_items][#][tax][total_tax_amount]` field.
|
|
152
|
+
attr_accessor :total_tax_amount
|
|
153
|
+
|
|
154
|
+
def initialize(total_tax_amount: nil)
|
|
155
|
+
@total_tax_amount = total_tax_amount
|
|
156
|
+
end
|
|
157
|
+
end
|
|
158
|
+
# The total discount applied on the transaction represented in the [smallest currency unit](https://stripe.com/docs/currencies#zero-decimal). An integer greater than 0.
|
|
159
|
+
#
|
|
160
|
+
# This field is mutually exclusive with the `amount_details[line_items][#][discount_amount]` field.
|
|
161
|
+
attr_accessor :discount_amount
|
|
162
|
+
# A list of line items, each containing information about a product in the PaymentIntent. There is a maximum of 100 line items.
|
|
163
|
+
attr_accessor :line_items
|
|
164
|
+
# Contains information about the shipping portion of the amount.
|
|
165
|
+
attr_accessor :shipping
|
|
166
|
+
# Contains information about the tax portion of the amount.
|
|
167
|
+
attr_accessor :tax
|
|
168
|
+
|
|
169
|
+
def initialize(discount_amount: nil, line_items: nil, shipping: nil, tax: nil)
|
|
170
|
+
@discount_amount = discount_amount
|
|
171
|
+
@line_items = line_items
|
|
172
|
+
@shipping = shipping
|
|
173
|
+
@tax = tax
|
|
174
|
+
end
|
|
175
|
+
end
|
|
176
|
+
|
|
177
|
+
class AutomaticPaymentMethods < ::Stripe::RequestParams
|
|
7
178
|
# Controls whether this PaymentIntent will accept redirect-based payment methods.
|
|
8
179
|
#
|
|
9
180
|
# Redirect-based payment methods may require your customer to be redirected to a payment method's app or site for authentication or additional steps. To [confirm](https://stripe.com/docs/api/payment_intents/confirm) this PaymentIntent, you may be required to provide a `return_url` to redirect customers back to your site after they authenticate or complete the payment.
|
|
@@ -17,11 +188,11 @@ module Stripe
|
|
|
17
188
|
end
|
|
18
189
|
end
|
|
19
190
|
|
|
20
|
-
class MandateData < Stripe::RequestParams
|
|
21
|
-
class CustomerAcceptance < Stripe::RequestParams
|
|
22
|
-
class Offline < Stripe::RequestParams; end
|
|
191
|
+
class MandateData < ::Stripe::RequestParams
|
|
192
|
+
class CustomerAcceptance < ::Stripe::RequestParams
|
|
193
|
+
class Offline < ::Stripe::RequestParams; end
|
|
23
194
|
|
|
24
|
-
class Online < Stripe::RequestParams
|
|
195
|
+
class Online < ::Stripe::RequestParams
|
|
25
196
|
# The IP address from which the Mandate was accepted by the customer.
|
|
26
197
|
attr_accessor :ip_address
|
|
27
198
|
# The user agent of the browser from which the Mandate was accepted by the customer.
|
|
@@ -56,8 +227,26 @@ module Stripe
|
|
|
56
227
|
end
|
|
57
228
|
end
|
|
58
229
|
|
|
59
|
-
class
|
|
60
|
-
|
|
230
|
+
class PaymentDetails < ::Stripe::RequestParams
|
|
231
|
+
# A unique value to identify the customer. This field is available only for card payments.
|
|
232
|
+
#
|
|
233
|
+
# This field is truncated to 25 alphanumeric characters, excluding spaces, before being sent to card networks.
|
|
234
|
+
attr_accessor :customer_reference
|
|
235
|
+
# A unique value assigned by the business to identify the transaction. Required for L2 and L3 rates.
|
|
236
|
+
#
|
|
237
|
+
# Required when the Payment Method Types array contains `card`, including when [automatic_payment_methods.enabled](/api/payment_intents/create#create_payment_intent-automatic_payment_methods-enabled) is set to `true`.
|
|
238
|
+
#
|
|
239
|
+
# For Cards, this field is truncated to 25 alphanumeric characters, excluding spaces, before being sent to card networks. For Klarna, this field is truncated to 255 characters and is visible to customers when they view the order in the Klarna app.
|
|
240
|
+
attr_accessor :order_reference
|
|
241
|
+
|
|
242
|
+
def initialize(customer_reference: nil, order_reference: nil)
|
|
243
|
+
@customer_reference = customer_reference
|
|
244
|
+
@order_reference = order_reference
|
|
245
|
+
end
|
|
246
|
+
end
|
|
247
|
+
|
|
248
|
+
class PaymentMethodData < ::Stripe::RequestParams
|
|
249
|
+
class AcssDebit < ::Stripe::RequestParams
|
|
61
250
|
# Customer's bank account number.
|
|
62
251
|
attr_accessor :account_number
|
|
63
252
|
# Institution number of the customer's bank.
|
|
@@ -72,13 +261,13 @@ module Stripe
|
|
|
72
261
|
end
|
|
73
262
|
end
|
|
74
263
|
|
|
75
|
-
class Affirm < Stripe::RequestParams; end
|
|
76
|
-
class AfterpayClearpay < Stripe::RequestParams; end
|
|
77
|
-
class Alipay < Stripe::RequestParams; end
|
|
78
|
-
class Alma < Stripe::RequestParams; end
|
|
79
|
-
class AmazonPay < Stripe::RequestParams; end
|
|
264
|
+
class Affirm < ::Stripe::RequestParams; end
|
|
265
|
+
class AfterpayClearpay < ::Stripe::RequestParams; end
|
|
266
|
+
class Alipay < ::Stripe::RequestParams; end
|
|
267
|
+
class Alma < ::Stripe::RequestParams; end
|
|
268
|
+
class AmazonPay < ::Stripe::RequestParams; end
|
|
80
269
|
|
|
81
|
-
class AuBecsDebit < Stripe::RequestParams
|
|
270
|
+
class AuBecsDebit < ::Stripe::RequestParams
|
|
82
271
|
# The account number for the bank account.
|
|
83
272
|
attr_accessor :account_number
|
|
84
273
|
# Bank-State-Branch number of the bank account.
|
|
@@ -90,7 +279,7 @@ module Stripe
|
|
|
90
279
|
end
|
|
91
280
|
end
|
|
92
281
|
|
|
93
|
-
class BacsDebit < Stripe::RequestParams
|
|
282
|
+
class BacsDebit < ::Stripe::RequestParams
|
|
94
283
|
# Account number of the bank account that the funds will be debited from.
|
|
95
284
|
attr_accessor :account_number
|
|
96
285
|
# Sort code of the bank account. (e.g., `10-20-30`)
|
|
@@ -102,11 +291,11 @@ module Stripe
|
|
|
102
291
|
end
|
|
103
292
|
end
|
|
104
293
|
|
|
105
|
-
class Bancontact < Stripe::RequestParams; end
|
|
106
|
-
class Billie < Stripe::RequestParams; end
|
|
294
|
+
class Bancontact < ::Stripe::RequestParams; end
|
|
295
|
+
class Billie < ::Stripe::RequestParams; end
|
|
107
296
|
|
|
108
|
-
class BillingDetails < Stripe::RequestParams
|
|
109
|
-
class Address < Stripe::RequestParams
|
|
297
|
+
class BillingDetails < ::Stripe::RequestParams
|
|
298
|
+
class Address < ::Stripe::RequestParams
|
|
110
299
|
# City, district, suburb, town, or village.
|
|
111
300
|
attr_accessor :city
|
|
112
301
|
# Two-letter country code ([ISO 3166-1 alpha-2](https://en.wikipedia.org/wiki/ISO_3166-1_alpha-2)).
|
|
@@ -156,9 +345,9 @@ module Stripe
|
|
|
156
345
|
end
|
|
157
346
|
end
|
|
158
347
|
|
|
159
|
-
class Blik < Stripe::RequestParams; end
|
|
348
|
+
class Blik < ::Stripe::RequestParams; end
|
|
160
349
|
|
|
161
|
-
class Boleto < Stripe::RequestParams
|
|
350
|
+
class Boleto < ::Stripe::RequestParams
|
|
162
351
|
# The tax ID of the customer (CPF for individual consumers or CNPJ for businesses consumers)
|
|
163
352
|
attr_accessor :tax_id
|
|
164
353
|
|
|
@@ -167,11 +356,11 @@ module Stripe
|
|
|
167
356
|
end
|
|
168
357
|
end
|
|
169
358
|
|
|
170
|
-
class Cashapp < Stripe::RequestParams; end
|
|
171
|
-
class Crypto < Stripe::RequestParams; end
|
|
172
|
-
class CustomerBalance < Stripe::RequestParams; end
|
|
359
|
+
class Cashapp < ::Stripe::RequestParams; end
|
|
360
|
+
class Crypto < ::Stripe::RequestParams; end
|
|
361
|
+
class CustomerBalance < ::Stripe::RequestParams; end
|
|
173
362
|
|
|
174
|
-
class Eps < Stripe::RequestParams
|
|
363
|
+
class Eps < ::Stripe::RequestParams
|
|
175
364
|
# The customer's bank.
|
|
176
365
|
attr_accessor :bank
|
|
177
366
|
|
|
@@ -180,7 +369,7 @@ module Stripe
|
|
|
180
369
|
end
|
|
181
370
|
end
|
|
182
371
|
|
|
183
|
-
class Fpx < Stripe::RequestParams
|
|
372
|
+
class Fpx < ::Stripe::RequestParams
|
|
184
373
|
# Account holder type for FPX transaction
|
|
185
374
|
attr_accessor :account_holder_type
|
|
186
375
|
# The customer's bank.
|
|
@@ -192,10 +381,10 @@ module Stripe
|
|
|
192
381
|
end
|
|
193
382
|
end
|
|
194
383
|
|
|
195
|
-
class Giropay < Stripe::RequestParams; end
|
|
196
|
-
class Grabpay < Stripe::RequestParams; end
|
|
384
|
+
class Giropay < ::Stripe::RequestParams; end
|
|
385
|
+
class Grabpay < ::Stripe::RequestParams; end
|
|
197
386
|
|
|
198
|
-
class Ideal < Stripe::RequestParams
|
|
387
|
+
class Ideal < ::Stripe::RequestParams
|
|
199
388
|
# The customer's bank. Only use this parameter for existing customers. Don't use it for new customers.
|
|
200
389
|
attr_accessor :bank
|
|
201
390
|
|
|
@@ -204,11 +393,11 @@ module Stripe
|
|
|
204
393
|
end
|
|
205
394
|
end
|
|
206
395
|
|
|
207
|
-
class InteracPresent < Stripe::RequestParams; end
|
|
208
|
-
class KakaoPay < Stripe::RequestParams; end
|
|
396
|
+
class InteracPresent < ::Stripe::RequestParams; end
|
|
397
|
+
class KakaoPay < ::Stripe::RequestParams; end
|
|
209
398
|
|
|
210
|
-
class Klarna < Stripe::RequestParams
|
|
211
|
-
class Dob < Stripe::RequestParams
|
|
399
|
+
class Klarna < ::Stripe::RequestParams
|
|
400
|
+
class Dob < ::Stripe::RequestParams
|
|
212
401
|
# The day of birth, between 1 and 31.
|
|
213
402
|
attr_accessor :day
|
|
214
403
|
# The month of birth, between 1 and 12.
|
|
@@ -230,14 +419,14 @@ module Stripe
|
|
|
230
419
|
end
|
|
231
420
|
end
|
|
232
421
|
|
|
233
|
-
class Konbini < Stripe::RequestParams; end
|
|
234
|
-
class KrCard < Stripe::RequestParams; end
|
|
235
|
-
class Link < Stripe::RequestParams; end
|
|
236
|
-
class MbWay < Stripe::RequestParams; end
|
|
237
|
-
class Mobilepay < Stripe::RequestParams; end
|
|
238
|
-
class Multibanco < Stripe::RequestParams; end
|
|
422
|
+
class Konbini < ::Stripe::RequestParams; end
|
|
423
|
+
class KrCard < ::Stripe::RequestParams; end
|
|
424
|
+
class Link < ::Stripe::RequestParams; end
|
|
425
|
+
class MbWay < ::Stripe::RequestParams; end
|
|
426
|
+
class Mobilepay < ::Stripe::RequestParams; end
|
|
427
|
+
class Multibanco < ::Stripe::RequestParams; end
|
|
239
428
|
|
|
240
|
-
class NaverPay < Stripe::RequestParams
|
|
429
|
+
class NaverPay < ::Stripe::RequestParams
|
|
241
430
|
# Whether to use Naver Pay points or a card to fund this transaction. If not provided, this defaults to `card`.
|
|
242
431
|
attr_accessor :funding
|
|
243
432
|
|
|
@@ -246,7 +435,7 @@ module Stripe
|
|
|
246
435
|
end
|
|
247
436
|
end
|
|
248
437
|
|
|
249
|
-
class NzBankAccount < Stripe::RequestParams
|
|
438
|
+
class NzBankAccount < ::Stripe::RequestParams
|
|
250
439
|
# The name on the bank account. Only required if the account holder name is different from the name of the authorized signatory collected in the PaymentMethod’s billing details.
|
|
251
440
|
attr_accessor :account_holder_name
|
|
252
441
|
# The account number for the bank account.
|
|
@@ -277,9 +466,9 @@ module Stripe
|
|
|
277
466
|
end
|
|
278
467
|
end
|
|
279
468
|
|
|
280
|
-
class Oxxo < Stripe::RequestParams; end
|
|
469
|
+
class Oxxo < ::Stripe::RequestParams; end
|
|
281
470
|
|
|
282
|
-
class P24 < Stripe::RequestParams
|
|
471
|
+
class P24 < ::Stripe::RequestParams
|
|
283
472
|
# The customer's bank.
|
|
284
473
|
attr_accessor :bank
|
|
285
474
|
|
|
@@ -288,14 +477,14 @@ module Stripe
|
|
|
288
477
|
end
|
|
289
478
|
end
|
|
290
479
|
|
|
291
|
-
class PayByBank < Stripe::RequestParams; end
|
|
292
|
-
class Payco < Stripe::RequestParams; end
|
|
293
|
-
class Paynow < Stripe::RequestParams; end
|
|
294
|
-
class Paypal < Stripe::RequestParams; end
|
|
295
|
-
class Pix < Stripe::RequestParams; end
|
|
296
|
-
class Promptpay < Stripe::RequestParams; end
|
|
480
|
+
class PayByBank < ::Stripe::RequestParams; end
|
|
481
|
+
class Payco < ::Stripe::RequestParams; end
|
|
482
|
+
class Paynow < ::Stripe::RequestParams; end
|
|
483
|
+
class Paypal < ::Stripe::RequestParams; end
|
|
484
|
+
class Pix < ::Stripe::RequestParams; end
|
|
485
|
+
class Promptpay < ::Stripe::RequestParams; end
|
|
297
486
|
|
|
298
|
-
class RadarOptions < Stripe::RequestParams
|
|
487
|
+
class RadarOptions < ::Stripe::RequestParams
|
|
299
488
|
# 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.
|
|
300
489
|
attr_accessor :session
|
|
301
490
|
|
|
@@ -304,11 +493,11 @@ module Stripe
|
|
|
304
493
|
end
|
|
305
494
|
end
|
|
306
495
|
|
|
307
|
-
class RevolutPay < Stripe::RequestParams; end
|
|
308
|
-
class SamsungPay < Stripe::RequestParams; end
|
|
309
|
-
class Satispay < Stripe::RequestParams; end
|
|
496
|
+
class RevolutPay < ::Stripe::RequestParams; end
|
|
497
|
+
class SamsungPay < ::Stripe::RequestParams; end
|
|
498
|
+
class Satispay < ::Stripe::RequestParams; end
|
|
310
499
|
|
|
311
|
-
class SepaDebit < Stripe::RequestParams
|
|
500
|
+
class SepaDebit < ::Stripe::RequestParams
|
|
312
501
|
# IBAN of the bank account.
|
|
313
502
|
attr_accessor :iban
|
|
314
503
|
|
|
@@ -317,7 +506,7 @@ module Stripe
|
|
|
317
506
|
end
|
|
318
507
|
end
|
|
319
508
|
|
|
320
|
-
class Sofort < Stripe::RequestParams
|
|
509
|
+
class Sofort < ::Stripe::RequestParams
|
|
321
510
|
# Two-letter ISO code representing the country the bank account is located in.
|
|
322
511
|
attr_accessor :country
|
|
323
512
|
|
|
@@ -326,10 +515,10 @@ module Stripe
|
|
|
326
515
|
end
|
|
327
516
|
end
|
|
328
517
|
|
|
329
|
-
class Swish < Stripe::RequestParams; end
|
|
330
|
-
class Twint < Stripe::RequestParams; end
|
|
518
|
+
class Swish < ::Stripe::RequestParams; end
|
|
519
|
+
class Twint < ::Stripe::RequestParams; end
|
|
331
520
|
|
|
332
|
-
class UsBankAccount < Stripe::RequestParams
|
|
521
|
+
class UsBankAccount < ::Stripe::RequestParams
|
|
333
522
|
# Account holder type: individual or company.
|
|
334
523
|
attr_accessor :account_holder_type
|
|
335
524
|
# Account number of the bank account.
|
|
@@ -356,8 +545,8 @@ module Stripe
|
|
|
356
545
|
end
|
|
357
546
|
end
|
|
358
547
|
|
|
359
|
-
class WechatPay < Stripe::RequestParams; end
|
|
360
|
-
class Zip < Stripe::RequestParams; end
|
|
548
|
+
class WechatPay < ::Stripe::RequestParams; end
|
|
549
|
+
class Zip < ::Stripe::RequestParams; end
|
|
361
550
|
# If this is an `acss_debit` PaymentMethod, this hash contains details about the ACSS Debit payment method.
|
|
362
551
|
attr_accessor :acss_debit
|
|
363
552
|
# If this is an `affirm` PaymentMethod, this hash contains details about the Affirm payment method.
|
|
@@ -580,9 +769,9 @@ module Stripe
|
|
|
580
769
|
end
|
|
581
770
|
end
|
|
582
771
|
|
|
583
|
-
class PaymentMethodOptions < Stripe::RequestParams
|
|
584
|
-
class AcssDebit < Stripe::RequestParams
|
|
585
|
-
class MandateOptions < Stripe::RequestParams
|
|
772
|
+
class PaymentMethodOptions < ::Stripe::RequestParams
|
|
773
|
+
class AcssDebit < ::Stripe::RequestParams
|
|
774
|
+
class MandateOptions < ::Stripe::RequestParams
|
|
586
775
|
# A URL for custom mandate text to render during confirmation step.
|
|
587
776
|
# The URL will be rendered with additional GET parameters `payment_intent` and `payment_intent_client_secret` when confirming a Payment Intent,
|
|
588
777
|
# or `setup_intent` and `setup_intent_client_secret` when confirming a Setup Intent.
|
|
@@ -636,7 +825,7 @@ module Stripe
|
|
|
636
825
|
end
|
|
637
826
|
end
|
|
638
827
|
|
|
639
|
-
class Affirm < Stripe::RequestParams
|
|
828
|
+
class Affirm < ::Stripe::RequestParams
|
|
640
829
|
# Controls when the funds are captured from the customer's account.
|
|
641
830
|
#
|
|
642
831
|
# If provided, this parameter overrides the behavior of the top-level [capture_method](/api/payment_intents/update#update_payment_intent-capture_method) for this payment method type when finalizing the payment with this payment method type.
|
|
@@ -663,7 +852,7 @@ module Stripe
|
|
|
663
852
|
end
|
|
664
853
|
end
|
|
665
854
|
|
|
666
|
-
class AfterpayClearpay < Stripe::RequestParams
|
|
855
|
+
class AfterpayClearpay < ::Stripe::RequestParams
|
|
667
856
|
# Controls when the funds are captured from the customer's account.
|
|
668
857
|
#
|
|
669
858
|
# If provided, this parameter overrides the behavior of the top-level [capture_method](/api/payment_intents/update#update_payment_intent-capture_method) for this payment method type when finalizing the payment with this payment method type.
|
|
@@ -691,7 +880,7 @@ module Stripe
|
|
|
691
880
|
end
|
|
692
881
|
end
|
|
693
882
|
|
|
694
|
-
class Alipay < Stripe::RequestParams
|
|
883
|
+
class Alipay < ::Stripe::RequestParams
|
|
695
884
|
# Indicates that you intend to make future payments with this PaymentIntent's payment method.
|
|
696
885
|
#
|
|
697
886
|
# If you provide a Customer with the PaymentIntent, you can use this parameter to [attach the payment method](/payments/save-during-payment) to the Customer after the PaymentIntent is confirmed and the customer completes any required actions. If you don't provide a Customer, you can still [attach](/api/payment_methods/attach) the payment method to a Customer after the transaction completes.
|
|
@@ -708,7 +897,7 @@ module Stripe
|
|
|
708
897
|
end
|
|
709
898
|
end
|
|
710
899
|
|
|
711
|
-
class Alma < Stripe::RequestParams
|
|
900
|
+
class Alma < ::Stripe::RequestParams
|
|
712
901
|
# Controls when the funds are captured from the customer's account.
|
|
713
902
|
#
|
|
714
903
|
# If provided, this parameter overrides the behavior of the top-level [capture_method](/api/payment_intents/update#update_payment_intent-capture_method) for this payment method type when finalizing the payment with this payment method type.
|
|
@@ -721,7 +910,7 @@ module Stripe
|
|
|
721
910
|
end
|
|
722
911
|
end
|
|
723
912
|
|
|
724
|
-
class AmazonPay < Stripe::RequestParams
|
|
913
|
+
class AmazonPay < ::Stripe::RequestParams
|
|
725
914
|
# Controls when the funds are captured from the customer's account.
|
|
726
915
|
#
|
|
727
916
|
# If provided, this parameter overrides the behavior of the top-level [capture_method](/api/payment_intents/update#update_payment_intent-capture_method) for this payment method type when finalizing the payment with this payment method type.
|
|
@@ -743,7 +932,7 @@ module Stripe
|
|
|
743
932
|
end
|
|
744
933
|
end
|
|
745
934
|
|
|
746
|
-
class AuBecsDebit < Stripe::RequestParams
|
|
935
|
+
class AuBecsDebit < ::Stripe::RequestParams
|
|
747
936
|
# Indicates that you intend to make future payments with this PaymentIntent's payment method.
|
|
748
937
|
#
|
|
749
938
|
# If you provide a Customer with the PaymentIntent, you can use this parameter to [attach the payment method](/payments/save-during-payment) to the Customer after the PaymentIntent is confirmed and the customer completes any required actions. If you don't provide a Customer, you can still [attach](/api/payment_methods/attach) the payment method to a Customer after the transaction completes.
|
|
@@ -763,8 +952,8 @@ module Stripe
|
|
|
763
952
|
end
|
|
764
953
|
end
|
|
765
954
|
|
|
766
|
-
class BacsDebit < Stripe::RequestParams
|
|
767
|
-
class MandateOptions < Stripe::RequestParams
|
|
955
|
+
class BacsDebit < ::Stripe::RequestParams
|
|
956
|
+
class MandateOptions < ::Stripe::RequestParams
|
|
768
957
|
# Prefix used to generate the Mandate reference. Must be at most 12 characters long. Must consist of only uppercase letters, numbers, spaces, or the following special characters: '/', '_', '-', '&', '.'. Cannot begin with 'DDIC' or 'STRIPE'.
|
|
769
958
|
attr_accessor :reference_prefix
|
|
770
959
|
|
|
@@ -794,7 +983,7 @@ module Stripe
|
|
|
794
983
|
end
|
|
795
984
|
end
|
|
796
985
|
|
|
797
|
-
class Bancontact < Stripe::RequestParams
|
|
986
|
+
class Bancontact < ::Stripe::RequestParams
|
|
798
987
|
# Preferred language of the Bancontact authorization page that the customer is redirected to.
|
|
799
988
|
attr_accessor :preferred_language
|
|
800
989
|
# Indicates that you intend to make future payments with this PaymentIntent's payment method.
|
|
@@ -814,7 +1003,7 @@ module Stripe
|
|
|
814
1003
|
end
|
|
815
1004
|
end
|
|
816
1005
|
|
|
817
|
-
class Billie < Stripe::RequestParams
|
|
1006
|
+
class Billie < ::Stripe::RequestParams
|
|
818
1007
|
# Controls when the funds are captured from the customer's account.
|
|
819
1008
|
#
|
|
820
1009
|
# If provided, this parameter overrides the behavior of the top-level [capture_method](/api/payment_intents/update#update_payment_intent-capture_method) for this payment method type when finalizing the payment with this payment method type.
|
|
@@ -827,7 +1016,7 @@ module Stripe
|
|
|
827
1016
|
end
|
|
828
1017
|
end
|
|
829
1018
|
|
|
830
|
-
class Blik < Stripe::RequestParams
|
|
1019
|
+
class Blik < ::Stripe::RequestParams
|
|
831
1020
|
# The 6-digit BLIK code that a customer has generated using their banking application. Can only be set on confirmation.
|
|
832
1021
|
attr_accessor :code
|
|
833
1022
|
# Indicates that you intend to make future payments with this PaymentIntent's payment method.
|
|
@@ -847,7 +1036,7 @@ module Stripe
|
|
|
847
1036
|
end
|
|
848
1037
|
end
|
|
849
1038
|
|
|
850
|
-
class Boleto < Stripe::RequestParams
|
|
1039
|
+
class Boleto < ::Stripe::RequestParams
|
|
851
1040
|
# The number of calendar days before a Boleto voucher expires. For example, if you create a Boleto voucher on Monday and you set expires_after_days to 2, the Boleto invoice will expire on Wednesday at 23:59 America/Sao_Paulo time.
|
|
852
1041
|
attr_accessor :expires_after_days
|
|
853
1042
|
# Indicates that you intend to make future payments with this PaymentIntent's payment method.
|
|
@@ -867,9 +1056,9 @@ module Stripe
|
|
|
867
1056
|
end
|
|
868
1057
|
end
|
|
869
1058
|
|
|
870
|
-
class Card < Stripe::RequestParams
|
|
871
|
-
class Installments < Stripe::RequestParams
|
|
872
|
-
class Plan < Stripe::RequestParams
|
|
1059
|
+
class Card < ::Stripe::RequestParams
|
|
1060
|
+
class Installments < ::Stripe::RequestParams
|
|
1061
|
+
class Plan < ::Stripe::RequestParams
|
|
873
1062
|
# For `fixed_count` installment plans, this is required. It represents the number of installment payments your customer will make to their credit card.
|
|
874
1063
|
attr_accessor :count
|
|
875
1064
|
# For `fixed_count` installment plans, this is required. It represents the interval between installment payments your customer will make to their credit card.
|
|
@@ -898,7 +1087,7 @@ module Stripe
|
|
|
898
1087
|
end
|
|
899
1088
|
end
|
|
900
1089
|
|
|
901
|
-
class MandateOptions < Stripe::RequestParams
|
|
1090
|
+
class MandateOptions < ::Stripe::RequestParams
|
|
902
1091
|
# Amount to be charged for future payments.
|
|
903
1092
|
attr_accessor :amount
|
|
904
1093
|
# One of `fixed` or `maximum`. If `fixed`, the `amount` param refers to the exact amount to be charged in future payments. If `maximum`, the amount charged can be up to the value passed for the `amount` param.
|
|
@@ -941,9 +1130,9 @@ module Stripe
|
|
|
941
1130
|
end
|
|
942
1131
|
end
|
|
943
1132
|
|
|
944
|
-
class ThreeDSecure < Stripe::RequestParams
|
|
945
|
-
class NetworkOptions < Stripe::RequestParams
|
|
946
|
-
class CartesBancaires < Stripe::RequestParams
|
|
1133
|
+
class ThreeDSecure < ::Stripe::RequestParams
|
|
1134
|
+
class NetworkOptions < ::Stripe::RequestParams
|
|
1135
|
+
class CartesBancaires < ::Stripe::RequestParams
|
|
947
1136
|
# The cryptogram calculation algorithm used by the card Issuer's ACS
|
|
948
1137
|
# to calculate the Authentication cryptogram. Also known as `cavvAlgorithm`.
|
|
949
1138
|
# messageExtension: CB-AVALGO
|
|
@@ -1102,8 +1291,8 @@ module Stripe
|
|
|
1102
1291
|
end
|
|
1103
1292
|
end
|
|
1104
1293
|
|
|
1105
|
-
class CardPresent < Stripe::RequestParams
|
|
1106
|
-
class Routing < Stripe::RequestParams
|
|
1294
|
+
class CardPresent < ::Stripe::RequestParams
|
|
1295
|
+
class Routing < ::Stripe::RequestParams
|
|
1107
1296
|
# Routing requested priority
|
|
1108
1297
|
attr_accessor :requested_priority
|
|
1109
1298
|
|
|
@@ -1129,7 +1318,7 @@ module Stripe
|
|
|
1129
1318
|
end
|
|
1130
1319
|
end
|
|
1131
1320
|
|
|
1132
|
-
class Cashapp < Stripe::RequestParams
|
|
1321
|
+
class Cashapp < ::Stripe::RequestParams
|
|
1133
1322
|
# Controls when the funds are captured from the customer's account.
|
|
1134
1323
|
#
|
|
1135
1324
|
# If provided, this parameter overrides the behavior of the top-level [capture_method](/api/payment_intents/update#update_payment_intent-capture_method) for this payment method type when finalizing the payment with this payment method type.
|
|
@@ -1153,7 +1342,7 @@ module Stripe
|
|
|
1153
1342
|
end
|
|
1154
1343
|
end
|
|
1155
1344
|
|
|
1156
|
-
class Crypto < Stripe::RequestParams
|
|
1345
|
+
class Crypto < ::Stripe::RequestParams
|
|
1157
1346
|
# Indicates that you intend to make future payments with this PaymentIntent's payment method.
|
|
1158
1347
|
#
|
|
1159
1348
|
# If you provide a Customer with the PaymentIntent, you can use this parameter to [attach the payment method](/payments/save-during-payment) to the Customer after the PaymentIntent is confirmed and the customer completes any required actions. If you don't provide a Customer, you can still [attach](/api/payment_methods/attach) the payment method to a Customer after the transaction completes.
|
|
@@ -1170,9 +1359,9 @@ module Stripe
|
|
|
1170
1359
|
end
|
|
1171
1360
|
end
|
|
1172
1361
|
|
|
1173
|
-
class CustomerBalance < Stripe::RequestParams
|
|
1174
|
-
class BankTransfer < Stripe::RequestParams
|
|
1175
|
-
class EuBankTransfer < Stripe::RequestParams
|
|
1362
|
+
class CustomerBalance < ::Stripe::RequestParams
|
|
1363
|
+
class BankTransfer < ::Stripe::RequestParams
|
|
1364
|
+
class EuBankTransfer < ::Stripe::RequestParams
|
|
1176
1365
|
# The desired country code of the bank account information. Permitted values include: `BE`, `DE`, `ES`, `FR`, `IE`, or `NL`.
|
|
1177
1366
|
attr_accessor :country
|
|
1178
1367
|
|
|
@@ -1217,7 +1406,7 @@ module Stripe
|
|
|
1217
1406
|
end
|
|
1218
1407
|
end
|
|
1219
1408
|
|
|
1220
|
-
class Eps < Stripe::RequestParams
|
|
1409
|
+
class Eps < ::Stripe::RequestParams
|
|
1221
1410
|
# Indicates that you intend to make future payments with this PaymentIntent's payment method.
|
|
1222
1411
|
#
|
|
1223
1412
|
# If you provide a Customer with the PaymentIntent, you can use this parameter to [attach the payment method](/payments/save-during-payment) to the Customer after the PaymentIntent is confirmed and the customer completes any required actions. If you don't provide a Customer, you can still [attach](/api/payment_methods/attach) the payment method to a Customer after the transaction completes.
|
|
@@ -1234,7 +1423,7 @@ module Stripe
|
|
|
1234
1423
|
end
|
|
1235
1424
|
end
|
|
1236
1425
|
|
|
1237
|
-
class Fpx < Stripe::RequestParams
|
|
1426
|
+
class Fpx < ::Stripe::RequestParams
|
|
1238
1427
|
# Indicates that you intend to make future payments with this PaymentIntent's payment method.
|
|
1239
1428
|
#
|
|
1240
1429
|
# If you provide a Customer with the PaymentIntent, you can use this parameter to [attach the payment method](/payments/save-during-payment) to the Customer after the PaymentIntent is confirmed and the customer completes any required actions. If you don't provide a Customer, you can still [attach](/api/payment_methods/attach) the payment method to a Customer after the transaction completes.
|
|
@@ -1251,7 +1440,7 @@ module Stripe
|
|
|
1251
1440
|
end
|
|
1252
1441
|
end
|
|
1253
1442
|
|
|
1254
|
-
class Giropay < Stripe::RequestParams
|
|
1443
|
+
class Giropay < ::Stripe::RequestParams
|
|
1255
1444
|
# Indicates that you intend to make future payments with this PaymentIntent's payment method.
|
|
1256
1445
|
#
|
|
1257
1446
|
# If you provide a Customer with the PaymentIntent, you can use this parameter to [attach the payment method](/payments/save-during-payment) to the Customer after the PaymentIntent is confirmed and the customer completes any required actions. If you don't provide a Customer, you can still [attach](/api/payment_methods/attach) the payment method to a Customer after the transaction completes.
|
|
@@ -1268,7 +1457,7 @@ module Stripe
|
|
|
1268
1457
|
end
|
|
1269
1458
|
end
|
|
1270
1459
|
|
|
1271
|
-
class Grabpay < Stripe::RequestParams
|
|
1460
|
+
class Grabpay < ::Stripe::RequestParams
|
|
1272
1461
|
# Indicates that you intend to make future payments with this PaymentIntent's payment method.
|
|
1273
1462
|
#
|
|
1274
1463
|
# If you provide a Customer with the PaymentIntent, you can use this parameter to [attach the payment method](/payments/save-during-payment) to the Customer after the PaymentIntent is confirmed and the customer completes any required actions. If you don't provide a Customer, you can still [attach](/api/payment_methods/attach) the payment method to a Customer after the transaction completes.
|
|
@@ -1285,7 +1474,7 @@ module Stripe
|
|
|
1285
1474
|
end
|
|
1286
1475
|
end
|
|
1287
1476
|
|
|
1288
|
-
class Ideal < Stripe::RequestParams
|
|
1477
|
+
class Ideal < ::Stripe::RequestParams
|
|
1289
1478
|
# Indicates that you intend to make future payments with this PaymentIntent's payment method.
|
|
1290
1479
|
#
|
|
1291
1480
|
# If you provide a Customer with the PaymentIntent, you can use this parameter to [attach the payment method](/payments/save-during-payment) to the Customer after the PaymentIntent is confirmed and the customer completes any required actions. If you don't provide a Customer, you can still [attach](/api/payment_methods/attach) the payment method to a Customer after the transaction completes.
|
|
@@ -1302,9 +1491,9 @@ module Stripe
|
|
|
1302
1491
|
end
|
|
1303
1492
|
end
|
|
1304
1493
|
|
|
1305
|
-
class InteracPresent < Stripe::RequestParams; end
|
|
1494
|
+
class InteracPresent < ::Stripe::RequestParams; end
|
|
1306
1495
|
|
|
1307
|
-
class KakaoPay < Stripe::RequestParams
|
|
1496
|
+
class KakaoPay < ::Stripe::RequestParams
|
|
1308
1497
|
# Controls when the funds are captured from the customer's account.
|
|
1309
1498
|
#
|
|
1310
1499
|
# If provided, this parameter overrides the behavior of the top-level [capture_method](/api/payment_intents/update#update_payment_intent-capture_method) for this payment method type when finalizing the payment with this payment method type.
|
|
@@ -1326,8 +1515,8 @@ module Stripe
|
|
|
1326
1515
|
end
|
|
1327
1516
|
end
|
|
1328
1517
|
|
|
1329
|
-
class Klarna < Stripe::RequestParams
|
|
1330
|
-
class OnDemand < Stripe::RequestParams
|
|
1518
|
+
class Klarna < ::Stripe::RequestParams
|
|
1519
|
+
class OnDemand < ::Stripe::RequestParams
|
|
1331
1520
|
# Your average amount value. You can use a value across your customer base, or segment based on customer type, country, etc.
|
|
1332
1521
|
attr_accessor :average_amount
|
|
1333
1522
|
# The maximum value you may charge a customer per purchase. You can use a value across your customer base, or segment based on customer type, country, etc.
|
|
@@ -1354,8 +1543,8 @@ module Stripe
|
|
|
1354
1543
|
end
|
|
1355
1544
|
end
|
|
1356
1545
|
|
|
1357
|
-
class Subscription < Stripe::RequestParams
|
|
1358
|
-
class NextBilling < Stripe::RequestParams
|
|
1546
|
+
class Subscription < ::Stripe::RequestParams
|
|
1547
|
+
class NextBilling < ::Stripe::RequestParams
|
|
1359
1548
|
# The amount of the next charge for the subscription.
|
|
1360
1549
|
attr_accessor :amount
|
|
1361
1550
|
# The date of the next charge for the subscription in YYYY-MM-DD format.
|
|
@@ -1429,7 +1618,7 @@ module Stripe
|
|
|
1429
1618
|
end
|
|
1430
1619
|
end
|
|
1431
1620
|
|
|
1432
|
-
class Konbini < Stripe::RequestParams
|
|
1621
|
+
class Konbini < ::Stripe::RequestParams
|
|
1433
1622
|
# An optional 10 to 11 digit numeric-only string determining the confirmation code at applicable convenience stores. Must not consist of only zeroes and could be rejected in case of insufficient uniqueness. We recommend to use the customer's phone number.
|
|
1434
1623
|
attr_accessor :confirmation_number
|
|
1435
1624
|
# The number of calendar days (between 1 and 60) after which Konbini payment instructions will expire. For example, if a PaymentIntent is confirmed with Konbini and `expires_after_days` set to 2 on Monday JST, the instructions will expire on Wednesday 23:59:59 JST. Defaults to 3 days.
|
|
@@ -1464,7 +1653,7 @@ module Stripe
|
|
|
1464
1653
|
end
|
|
1465
1654
|
end
|
|
1466
1655
|
|
|
1467
|
-
class KrCard < Stripe::RequestParams
|
|
1656
|
+
class KrCard < ::Stripe::RequestParams
|
|
1468
1657
|
# Controls when the funds are captured from the customer's account.
|
|
1469
1658
|
#
|
|
1470
1659
|
# If provided, this parameter overrides the behavior of the top-level [capture_method](/api/payment_intents/update#update_payment_intent-capture_method) for this payment method type when finalizing the payment with this payment method type.
|
|
@@ -1486,7 +1675,7 @@ module Stripe
|
|
|
1486
1675
|
end
|
|
1487
1676
|
end
|
|
1488
1677
|
|
|
1489
|
-
class Link < Stripe::RequestParams
|
|
1678
|
+
class Link < ::Stripe::RequestParams
|
|
1490
1679
|
# Controls when the funds are captured from the customer's account.
|
|
1491
1680
|
#
|
|
1492
1681
|
# If provided, this parameter overrides the behavior of the top-level [capture_method](/api/payment_intents/update#update_payment_intent-capture_method) for this payment method type when finalizing the payment with this payment method type.
|
|
@@ -1513,7 +1702,7 @@ module Stripe
|
|
|
1513
1702
|
end
|
|
1514
1703
|
end
|
|
1515
1704
|
|
|
1516
|
-
class MbWay < Stripe::RequestParams
|
|
1705
|
+
class MbWay < ::Stripe::RequestParams
|
|
1517
1706
|
# Indicates that you intend to make future payments with this PaymentIntent's payment method.
|
|
1518
1707
|
#
|
|
1519
1708
|
# If you provide a Customer with the PaymentIntent, you can use this parameter to [attach the payment method](/payments/save-during-payment) to the Customer after the PaymentIntent is confirmed and the customer completes any required actions. If you don't provide a Customer, you can still [attach](/api/payment_methods/attach) the payment method to a Customer after the transaction completes.
|
|
@@ -1530,7 +1719,7 @@ module Stripe
|
|
|
1530
1719
|
end
|
|
1531
1720
|
end
|
|
1532
1721
|
|
|
1533
|
-
class Mobilepay < Stripe::RequestParams
|
|
1722
|
+
class Mobilepay < ::Stripe::RequestParams
|
|
1534
1723
|
# Controls when the funds are captured from the customer's account.
|
|
1535
1724
|
#
|
|
1536
1725
|
# If provided, this parameter overrides the behavior of the top-level [capture_method](/api/payment_intents/update#update_payment_intent-capture_method) for this payment method type when finalizing the payment with this payment method type.
|
|
@@ -1554,7 +1743,7 @@ module Stripe
|
|
|
1554
1743
|
end
|
|
1555
1744
|
end
|
|
1556
1745
|
|
|
1557
|
-
class Multibanco < Stripe::RequestParams
|
|
1746
|
+
class Multibanco < ::Stripe::RequestParams
|
|
1558
1747
|
# Indicates that you intend to make future payments with this PaymentIntent's payment method.
|
|
1559
1748
|
#
|
|
1560
1749
|
# If you provide a Customer with the PaymentIntent, you can use this parameter to [attach the payment method](/payments/save-during-payment) to the Customer after the PaymentIntent is confirmed and the customer completes any required actions. If you don't provide a Customer, you can still [attach](/api/payment_methods/attach) the payment method to a Customer after the transaction completes.
|
|
@@ -1571,7 +1760,7 @@ module Stripe
|
|
|
1571
1760
|
end
|
|
1572
1761
|
end
|
|
1573
1762
|
|
|
1574
|
-
class NaverPay < Stripe::RequestParams
|
|
1763
|
+
class NaverPay < ::Stripe::RequestParams
|
|
1575
1764
|
# Controls when the funds are captured from the customer's account.
|
|
1576
1765
|
#
|
|
1577
1766
|
# If provided, this parameter overrides the behavior of the top-level [capture_method](/api/payment_intents/update#update_payment_intent-capture_method) for this payment method type when finalizing the payment with this payment method type.
|
|
@@ -1593,7 +1782,7 @@ module Stripe
|
|
|
1593
1782
|
end
|
|
1594
1783
|
end
|
|
1595
1784
|
|
|
1596
|
-
class NzBankAccount < Stripe::RequestParams
|
|
1785
|
+
class NzBankAccount < ::Stripe::RequestParams
|
|
1597
1786
|
# Indicates that you intend to make future payments with this PaymentIntent's payment method.
|
|
1598
1787
|
#
|
|
1599
1788
|
# If you provide a Customer with the PaymentIntent, you can use this parameter to [attach the payment method](/payments/save-during-payment) to the Customer after the PaymentIntent is confirmed and the customer completes any required actions. If you don't provide a Customer, you can still [attach](/api/payment_methods/attach) the payment method to a Customer after the transaction completes.
|
|
@@ -1613,7 +1802,7 @@ module Stripe
|
|
|
1613
1802
|
end
|
|
1614
1803
|
end
|
|
1615
1804
|
|
|
1616
|
-
class Oxxo < Stripe::RequestParams
|
|
1805
|
+
class Oxxo < ::Stripe::RequestParams
|
|
1617
1806
|
# The number of calendar days before an OXXO voucher expires. For example, if you create an OXXO voucher on Monday and you set expires_after_days to 2, the OXXO invoice will expire on Wednesday at 23:59 America/Mexico_City time.
|
|
1618
1807
|
attr_accessor :expires_after_days
|
|
1619
1808
|
# Indicates that you intend to make future payments with this PaymentIntent's payment method.
|
|
@@ -1633,7 +1822,7 @@ module Stripe
|
|
|
1633
1822
|
end
|
|
1634
1823
|
end
|
|
1635
1824
|
|
|
1636
|
-
class P24 < Stripe::RequestParams
|
|
1825
|
+
class P24 < ::Stripe::RequestParams
|
|
1637
1826
|
# Indicates that you intend to make future payments with this PaymentIntent's payment method.
|
|
1638
1827
|
#
|
|
1639
1828
|
# If you provide a Customer with the PaymentIntent, you can use this parameter to [attach the payment method](/payments/save-during-payment) to the Customer after the PaymentIntent is confirmed and the customer completes any required actions. If you don't provide a Customer, you can still [attach](/api/payment_methods/attach) the payment method to a Customer after the transaction completes.
|
|
@@ -1653,9 +1842,9 @@ module Stripe
|
|
|
1653
1842
|
end
|
|
1654
1843
|
end
|
|
1655
1844
|
|
|
1656
|
-
class PayByBank < Stripe::RequestParams; end
|
|
1845
|
+
class PayByBank < ::Stripe::RequestParams; end
|
|
1657
1846
|
|
|
1658
|
-
class Payco < Stripe::RequestParams
|
|
1847
|
+
class Payco < ::Stripe::RequestParams
|
|
1659
1848
|
# Controls when the funds are captured from the customer's account.
|
|
1660
1849
|
#
|
|
1661
1850
|
# If provided, this parameter overrides the behavior of the top-level [capture_method](/api/payment_intents/update#update_payment_intent-capture_method) for this payment method type when finalizing the payment with this payment method type.
|
|
@@ -1668,7 +1857,7 @@ module Stripe
|
|
|
1668
1857
|
end
|
|
1669
1858
|
end
|
|
1670
1859
|
|
|
1671
|
-
class Paynow < Stripe::RequestParams
|
|
1860
|
+
class Paynow < ::Stripe::RequestParams
|
|
1672
1861
|
# Indicates that you intend to make future payments with this PaymentIntent's payment method.
|
|
1673
1862
|
#
|
|
1674
1863
|
# If you provide a Customer with the PaymentIntent, you can use this parameter to [attach the payment method](/payments/save-during-payment) to the Customer after the PaymentIntent is confirmed and the customer completes any required actions. If you don't provide a Customer, you can still [attach](/api/payment_methods/attach) the payment method to a Customer after the transaction completes.
|
|
@@ -1685,7 +1874,7 @@ module Stripe
|
|
|
1685
1874
|
end
|
|
1686
1875
|
end
|
|
1687
1876
|
|
|
1688
|
-
class Paypal < Stripe::RequestParams
|
|
1877
|
+
class Paypal < ::Stripe::RequestParams
|
|
1689
1878
|
# Controls when the funds will be captured from the customer's account.
|
|
1690
1879
|
attr_accessor :capture_method
|
|
1691
1880
|
# [Preferred locale](https://stripe.com/docs/payments/paypal/supported-locales) of the PayPal checkout page that the customer is redirected to.
|
|
@@ -1720,7 +1909,7 @@ module Stripe
|
|
|
1720
1909
|
end
|
|
1721
1910
|
end
|
|
1722
1911
|
|
|
1723
|
-
class Pix < Stripe::RequestParams
|
|
1912
|
+
class Pix < ::Stripe::RequestParams
|
|
1724
1913
|
# Determines if the amount includes the IOF tax. Defaults to `never`.
|
|
1725
1914
|
attr_accessor :amount_includes_iof
|
|
1726
1915
|
# The number of seconds (between 10 and 1209600) after which Pix payment will expire. Defaults to 86400 seconds.
|
|
@@ -1751,7 +1940,7 @@ module Stripe
|
|
|
1751
1940
|
end
|
|
1752
1941
|
end
|
|
1753
1942
|
|
|
1754
|
-
class Promptpay < Stripe::RequestParams
|
|
1943
|
+
class Promptpay < ::Stripe::RequestParams
|
|
1755
1944
|
# Indicates that you intend to make future payments with this PaymentIntent's payment method.
|
|
1756
1945
|
#
|
|
1757
1946
|
# If you provide a Customer with the PaymentIntent, you can use this parameter to [attach the payment method](/payments/save-during-payment) to the Customer after the PaymentIntent is confirmed and the customer completes any required actions. If you don't provide a Customer, you can still [attach](/api/payment_methods/attach) the payment method to a Customer after the transaction completes.
|
|
@@ -1768,7 +1957,7 @@ module Stripe
|
|
|
1768
1957
|
end
|
|
1769
1958
|
end
|
|
1770
1959
|
|
|
1771
|
-
class RevolutPay < Stripe::RequestParams
|
|
1960
|
+
class RevolutPay < ::Stripe::RequestParams
|
|
1772
1961
|
# Controls when the funds are captured from the customer's account.
|
|
1773
1962
|
#
|
|
1774
1963
|
# If provided, this parameter overrides the behavior of the top-level [capture_method](/api/payment_intents/update#update_payment_intent-capture_method) for this payment method type when finalizing the payment with this payment method type.
|
|
@@ -1790,7 +1979,7 @@ module Stripe
|
|
|
1790
1979
|
end
|
|
1791
1980
|
end
|
|
1792
1981
|
|
|
1793
|
-
class SamsungPay < Stripe::RequestParams
|
|
1982
|
+
class SamsungPay < ::Stripe::RequestParams
|
|
1794
1983
|
# Controls when the funds are captured from the customer's account.
|
|
1795
1984
|
#
|
|
1796
1985
|
# If provided, this parameter overrides the behavior of the top-level [capture_method](/api/payment_intents/update#update_payment_intent-capture_method) for this payment method type when finalizing the payment with this payment method type.
|
|
@@ -1803,7 +1992,7 @@ module Stripe
|
|
|
1803
1992
|
end
|
|
1804
1993
|
end
|
|
1805
1994
|
|
|
1806
|
-
class Satispay < Stripe::RequestParams
|
|
1995
|
+
class Satispay < ::Stripe::RequestParams
|
|
1807
1996
|
# Controls when the funds are captured from the customer's account.
|
|
1808
1997
|
#
|
|
1809
1998
|
# If provided, this parameter overrides the behavior of the top-level [capture_method](/api/payment_intents/update#update_payment_intent-capture_method) for this payment method type when finalizing the payment with this payment method type.
|
|
@@ -1816,8 +2005,8 @@ module Stripe
|
|
|
1816
2005
|
end
|
|
1817
2006
|
end
|
|
1818
2007
|
|
|
1819
|
-
class SepaDebit < Stripe::RequestParams
|
|
1820
|
-
class MandateOptions < Stripe::RequestParams
|
|
2008
|
+
class SepaDebit < ::Stripe::RequestParams
|
|
2009
|
+
class MandateOptions < ::Stripe::RequestParams
|
|
1821
2010
|
# Prefix used to generate the Mandate reference. Must be at most 12 characters long. Must consist of only uppercase letters, numbers, spaces, or the following special characters: '/', '_', '-', '&', '.'. Cannot begin with 'STRIPE'.
|
|
1822
2011
|
attr_accessor :reference_prefix
|
|
1823
2012
|
|
|
@@ -1847,7 +2036,7 @@ module Stripe
|
|
|
1847
2036
|
end
|
|
1848
2037
|
end
|
|
1849
2038
|
|
|
1850
|
-
class Sofort < Stripe::RequestParams
|
|
2039
|
+
class Sofort < ::Stripe::RequestParams
|
|
1851
2040
|
# Language shown to the payer on redirect.
|
|
1852
2041
|
attr_accessor :preferred_language
|
|
1853
2042
|
# Indicates that you intend to make future payments with this PaymentIntent's payment method.
|
|
@@ -1867,7 +2056,7 @@ module Stripe
|
|
|
1867
2056
|
end
|
|
1868
2057
|
end
|
|
1869
2058
|
|
|
1870
|
-
class Swish < Stripe::RequestParams
|
|
2059
|
+
class Swish < ::Stripe::RequestParams
|
|
1871
2060
|
# A reference for this payment to be displayed in the Swish app.
|
|
1872
2061
|
attr_accessor :reference
|
|
1873
2062
|
# Indicates that you intend to make future payments with this PaymentIntent's payment method.
|
|
@@ -1887,7 +2076,7 @@ module Stripe
|
|
|
1887
2076
|
end
|
|
1888
2077
|
end
|
|
1889
2078
|
|
|
1890
|
-
class Twint < Stripe::RequestParams
|
|
2079
|
+
class Twint < ::Stripe::RequestParams
|
|
1891
2080
|
# Indicates that you intend to make future payments with this PaymentIntent's payment method.
|
|
1892
2081
|
#
|
|
1893
2082
|
# If you provide a Customer with the PaymentIntent, you can use this parameter to [attach the payment method](/payments/save-during-payment) to the Customer after the PaymentIntent is confirmed and the customer completes any required actions. If you don't provide a Customer, you can still [attach](/api/payment_methods/attach) the payment method to a Customer after the transaction completes.
|
|
@@ -1904,9 +2093,9 @@ module Stripe
|
|
|
1904
2093
|
end
|
|
1905
2094
|
end
|
|
1906
2095
|
|
|
1907
|
-
class UsBankAccount < Stripe::RequestParams
|
|
1908
|
-
class FinancialConnections < Stripe::RequestParams
|
|
1909
|
-
class Filters < Stripe::RequestParams
|
|
2096
|
+
class UsBankAccount < ::Stripe::RequestParams
|
|
2097
|
+
class FinancialConnections < ::Stripe::RequestParams
|
|
2098
|
+
class Filters < ::Stripe::RequestParams
|
|
1910
2099
|
# The account subcategories to use to filter for selectable accounts. Valid subcategories are `checking` and `savings`.
|
|
1911
2100
|
attr_accessor :account_subcategories
|
|
1912
2101
|
|
|
@@ -1931,7 +2120,7 @@ module Stripe
|
|
|
1931
2120
|
end
|
|
1932
2121
|
end
|
|
1933
2122
|
|
|
1934
|
-
class MandateOptions < Stripe::RequestParams
|
|
2123
|
+
class MandateOptions < ::Stripe::RequestParams
|
|
1935
2124
|
# The method used to collect offline mandate customer acceptance.
|
|
1936
2125
|
attr_accessor :collection_method
|
|
1937
2126
|
|
|
@@ -1940,7 +2129,7 @@ module Stripe
|
|
|
1940
2129
|
end
|
|
1941
2130
|
end
|
|
1942
2131
|
|
|
1943
|
-
class Networks < Stripe::RequestParams
|
|
2132
|
+
class Networks < ::Stripe::RequestParams
|
|
1944
2133
|
# Triggers validations to run across the selected networks
|
|
1945
2134
|
attr_accessor :requested
|
|
1946
2135
|
|
|
@@ -1990,7 +2179,7 @@ module Stripe
|
|
|
1990
2179
|
end
|
|
1991
2180
|
end
|
|
1992
2181
|
|
|
1993
|
-
class WechatPay < Stripe::RequestParams
|
|
2182
|
+
class WechatPay < ::Stripe::RequestParams
|
|
1994
2183
|
# The app ID registered with WeChat Pay. Only required when client is ios or android.
|
|
1995
2184
|
attr_accessor :app_id
|
|
1996
2185
|
# The client type that the end customer will pay from
|
|
@@ -2013,7 +2202,7 @@ module Stripe
|
|
|
2013
2202
|
end
|
|
2014
2203
|
end
|
|
2015
2204
|
|
|
2016
|
-
class Zip < Stripe::RequestParams
|
|
2205
|
+
class Zip < ::Stripe::RequestParams
|
|
2017
2206
|
# Indicates that you intend to make future payments with this PaymentIntent's payment method.
|
|
2018
2207
|
#
|
|
2019
2208
|
# If you provide a Customer with the PaymentIntent, you can use this parameter to [attach the payment method](/payments/save-during-payment) to the Customer after the PaymentIntent is confirmed and the customer completes any required actions. If you don't provide a Customer, you can still [attach](/api/payment_methods/attach) the payment method to a Customer after the transaction completes.
|
|
@@ -2239,7 +2428,7 @@ module Stripe
|
|
|
2239
2428
|
end
|
|
2240
2429
|
end
|
|
2241
2430
|
|
|
2242
|
-
class RadarOptions < Stripe::RequestParams
|
|
2431
|
+
class RadarOptions < ::Stripe::RequestParams
|
|
2243
2432
|
# 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.
|
|
2244
2433
|
attr_accessor :session
|
|
2245
2434
|
|
|
@@ -2248,8 +2437,8 @@ module Stripe
|
|
|
2248
2437
|
end
|
|
2249
2438
|
end
|
|
2250
2439
|
|
|
2251
|
-
class Shipping < Stripe::RequestParams
|
|
2252
|
-
class Address < Stripe::RequestParams
|
|
2440
|
+
class Shipping < ::Stripe::RequestParams
|
|
2441
|
+
class Address < ::Stripe::RequestParams
|
|
2253
2442
|
# City, district, suburb, town, or village.
|
|
2254
2443
|
attr_accessor :city
|
|
2255
2444
|
# Two-letter country code ([ISO 3166-1 alpha-2](https://en.wikipedia.org/wiki/ISO_3166-1_alpha-2)).
|
|
@@ -2299,7 +2488,7 @@ module Stripe
|
|
|
2299
2488
|
end
|
|
2300
2489
|
end
|
|
2301
2490
|
|
|
2302
|
-
class TransferData < Stripe::RequestParams
|
|
2491
|
+
class TransferData < ::Stripe::RequestParams
|
|
2303
2492
|
# The amount that will be transferred automatically when a charge succeeds.
|
|
2304
2493
|
# The amount is capped at the total transaction amount and if no amount is set,
|
|
2305
2494
|
# the full amount is transferred.
|
|
@@ -2321,6 +2510,8 @@ module Stripe
|
|
|
2321
2510
|
end
|
|
2322
2511
|
# Amount intended to be collected by this PaymentIntent. A positive integer representing how much to charge in the [smallest currency unit](https://stripe.com/docs/currencies#zero-decimal) (e.g., 100 cents to charge $1.00 or 100 to charge ¥100, a zero-decimal currency). The minimum amount is $0.50 US or [equivalent in charge currency](https://stripe.com/docs/currencies#minimum-and-maximum-charge-amounts). The amount value supports up to eight digits (e.g., a value of 99999999 for a USD charge of $999,999.99).
|
|
2323
2512
|
attr_accessor :amount
|
|
2513
|
+
# Provides industry-specific information about the amount.
|
|
2514
|
+
attr_accessor :amount_details
|
|
2324
2515
|
# The amount of the application fee (if any) that will be requested to be applied to the payment and transferred to the application owner's Stripe account. The amount of the application fee collected will be capped at the total amount captured. For more information, see the PaymentIntents [use case for connected accounts](https://stripe.com/docs/payments/connected-accounts).
|
|
2325
2516
|
attr_accessor :application_fee_amount
|
|
2326
2517
|
# When you enable this parameter, this PaymentIntent accepts payment methods that you enable in the Dashboard and that are compatible with this PaymentIntent's other parameters.
|
|
@@ -2361,6 +2552,8 @@ module Stripe
|
|
|
2361
2552
|
attr_accessor :off_session
|
|
2362
2553
|
# The Stripe account ID that these funds are intended for. Learn more about the [use case for connected accounts](https://stripe.com/docs/payments/connected-accounts).
|
|
2363
2554
|
attr_accessor :on_behalf_of
|
|
2555
|
+
# Provides industry-specific information about the charge.
|
|
2556
|
+
attr_accessor :payment_details
|
|
2364
2557
|
# ID of the payment method (a PaymentMethod, Card, or [compatible Source](https://stripe.com/docs/payments/payment-methods#compatibility) object) to attach to this PaymentIntent.
|
|
2365
2558
|
#
|
|
2366
2559
|
# If you don't provide the `payment_method` parameter or the `source` parameter with `confirm=true`, `source` automatically populates with `customer.default_source` to improve migration for users of the Charges API. We recommend that you explicitly provide the `payment_method` moving forward.
|
|
@@ -2409,6 +2602,7 @@ module Stripe
|
|
|
2409
2602
|
|
|
2410
2603
|
def initialize(
|
|
2411
2604
|
amount: nil,
|
|
2605
|
+
amount_details: nil,
|
|
2412
2606
|
application_fee_amount: nil,
|
|
2413
2607
|
automatic_payment_methods: nil,
|
|
2414
2608
|
capture_method: nil,
|
|
@@ -2426,6 +2620,7 @@ module Stripe
|
|
|
2426
2620
|
metadata: nil,
|
|
2427
2621
|
off_session: nil,
|
|
2428
2622
|
on_behalf_of: nil,
|
|
2623
|
+
payment_details: nil,
|
|
2429
2624
|
payment_method: nil,
|
|
2430
2625
|
payment_method_configuration: nil,
|
|
2431
2626
|
payment_method_data: nil,
|
|
@@ -2443,6 +2638,7 @@ module Stripe
|
|
|
2443
2638
|
use_stripe_sdk: nil
|
|
2444
2639
|
)
|
|
2445
2640
|
@amount = amount
|
|
2641
|
+
@amount_details = amount_details
|
|
2446
2642
|
@application_fee_amount = application_fee_amount
|
|
2447
2643
|
@automatic_payment_methods = automatic_payment_methods
|
|
2448
2644
|
@capture_method = capture_method
|
|
@@ -2460,6 +2656,7 @@ module Stripe
|
|
|
2460
2656
|
@metadata = metadata
|
|
2461
2657
|
@off_session = off_session
|
|
2462
2658
|
@on_behalf_of = on_behalf_of
|
|
2659
|
+
@payment_details = payment_details
|
|
2463
2660
|
@payment_method = payment_method
|
|
2464
2661
|
@payment_method_configuration = payment_method_configuration
|
|
2465
2662
|
@payment_method_data = payment_method_data
|