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
|
@@ -16,6 +16,7 @@ module Stripe
|
|
|
16
16
|
class PaymentIntent < APIResource
|
|
17
17
|
extend Stripe::APIOperations::Create
|
|
18
18
|
extend Stripe::APIOperations::List
|
|
19
|
+
extend Stripe::APIOperations::NestedResource
|
|
19
20
|
extend Stripe::APIOperations::Search
|
|
20
21
|
include Stripe::APIOperations::Save
|
|
21
22
|
|
|
@@ -24,8 +25,42 @@ module Stripe
|
|
|
24
25
|
"payment_intent"
|
|
25
26
|
end
|
|
26
27
|
|
|
27
|
-
|
|
28
|
-
|
|
28
|
+
nested_resource_class_methods :amount_details_line_item, operations: %i[list]
|
|
29
|
+
|
|
30
|
+
class AmountDetails < ::Stripe::StripeObject
|
|
31
|
+
class Shipping < ::Stripe::StripeObject
|
|
32
|
+
# 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.
|
|
33
|
+
attr_reader :amount
|
|
34
|
+
# 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.
|
|
35
|
+
attr_reader :from_postal_code
|
|
36
|
+
# 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.
|
|
37
|
+
attr_reader :to_postal_code
|
|
38
|
+
|
|
39
|
+
def self.inner_class_types
|
|
40
|
+
@inner_class_types = {}
|
|
41
|
+
end
|
|
42
|
+
|
|
43
|
+
def self.field_remappings
|
|
44
|
+
@field_remappings = {}
|
|
45
|
+
end
|
|
46
|
+
end
|
|
47
|
+
|
|
48
|
+
class Tax < ::Stripe::StripeObject
|
|
49
|
+
# 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.
|
|
50
|
+
#
|
|
51
|
+
# This field is mutually exclusive with the `amount_details[line_items][#][tax][total_tax_amount]` field.
|
|
52
|
+
attr_reader :total_tax_amount
|
|
53
|
+
|
|
54
|
+
def self.inner_class_types
|
|
55
|
+
@inner_class_types = {}
|
|
56
|
+
end
|
|
57
|
+
|
|
58
|
+
def self.field_remappings
|
|
59
|
+
@field_remappings = {}
|
|
60
|
+
end
|
|
61
|
+
end
|
|
62
|
+
|
|
63
|
+
class Tip < ::Stripe::StripeObject
|
|
29
64
|
# Portion of the amount that corresponds to a tip.
|
|
30
65
|
attr_reader :amount
|
|
31
66
|
|
|
@@ -37,11 +72,21 @@ module Stripe
|
|
|
37
72
|
@field_remappings = {}
|
|
38
73
|
end
|
|
39
74
|
end
|
|
75
|
+
# 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.
|
|
76
|
+
#
|
|
77
|
+
# This field is mutually exclusive with the `amount_details[line_items][#][discount_amount]` field.
|
|
78
|
+
attr_reader :discount_amount
|
|
79
|
+
# A list of line items, each containing information about a product in the PaymentIntent. There is a maximum of 100 line items.
|
|
80
|
+
attr_reader :line_items
|
|
81
|
+
# Attribute for field shipping
|
|
82
|
+
attr_reader :shipping
|
|
83
|
+
# Attribute for field tax
|
|
84
|
+
attr_reader :tax
|
|
40
85
|
# Attribute for field tip
|
|
41
86
|
attr_reader :tip
|
|
42
87
|
|
|
43
88
|
def self.inner_class_types
|
|
44
|
-
@inner_class_types = { tip: Tip }
|
|
89
|
+
@inner_class_types = { shipping: Shipping, tax: Tax, tip: Tip }
|
|
45
90
|
end
|
|
46
91
|
|
|
47
92
|
def self.field_remappings
|
|
@@ -49,7 +94,7 @@ module Stripe
|
|
|
49
94
|
end
|
|
50
95
|
end
|
|
51
96
|
|
|
52
|
-
class AutomaticPaymentMethods < Stripe::StripeObject
|
|
97
|
+
class AutomaticPaymentMethods < ::Stripe::StripeObject
|
|
53
98
|
# Controls whether this PaymentIntent will accept redirect-based payment methods.
|
|
54
99
|
#
|
|
55
100
|
# 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.
|
|
@@ -66,7 +111,7 @@ module Stripe
|
|
|
66
111
|
end
|
|
67
112
|
end
|
|
68
113
|
|
|
69
|
-
class LastPaymentError < Stripe::StripeObject
|
|
114
|
+
class LastPaymentError < ::Stripe::StripeObject
|
|
70
115
|
# For card errors resulting from a card issuer decline, a short string indicating [how to proceed with an error](https://stripe.com/docs/declines#retrying-issuer-declines) if they provide one.
|
|
71
116
|
attr_reader :advice_code
|
|
72
117
|
# For card errors, the ID of the failed charge.
|
|
@@ -143,8 +188,8 @@ module Stripe
|
|
|
143
188
|
end
|
|
144
189
|
end
|
|
145
190
|
|
|
146
|
-
class NextAction < Stripe::StripeObject
|
|
147
|
-
class AlipayHandleRedirect < Stripe::StripeObject
|
|
191
|
+
class NextAction < ::Stripe::StripeObject
|
|
192
|
+
class AlipayHandleRedirect < ::Stripe::StripeObject
|
|
148
193
|
# The native data to be used with Alipay SDK you must redirect your customer to in order to authenticate the payment in an Android App.
|
|
149
194
|
attr_reader :native_data
|
|
150
195
|
# The native URL you must redirect your customer to in order to authenticate the payment in an iOS App.
|
|
@@ -163,7 +208,7 @@ module Stripe
|
|
|
163
208
|
end
|
|
164
209
|
end
|
|
165
210
|
|
|
166
|
-
class BoletoDisplayDetails < Stripe::StripeObject
|
|
211
|
+
class BoletoDisplayDetails < ::Stripe::StripeObject
|
|
167
212
|
# The timestamp after which the boleto expires.
|
|
168
213
|
attr_reader :expires_at
|
|
169
214
|
# The URL to the hosted boleto voucher page, which allows customers to view the boleto voucher.
|
|
@@ -182,7 +227,7 @@ module Stripe
|
|
|
182
227
|
end
|
|
183
228
|
end
|
|
184
229
|
|
|
185
|
-
class CardAwaitNotification < Stripe::StripeObject
|
|
230
|
+
class CardAwaitNotification < ::Stripe::StripeObject
|
|
186
231
|
# The time that payment will be attempted. If customer approval is required, they need to provide approval before this time.
|
|
187
232
|
attr_reader :charge_attempt_at
|
|
188
233
|
# For payments greater than INR 15000, the customer must provide explicit approval of the payment with their bank. For payments of lower amount, no customer action is required.
|
|
@@ -197,8 +242,8 @@ module Stripe
|
|
|
197
242
|
end
|
|
198
243
|
end
|
|
199
244
|
|
|
200
|
-
class CashappHandleRedirectOrDisplayQrCode < Stripe::StripeObject
|
|
201
|
-
class QrCode < Stripe::StripeObject
|
|
245
|
+
class CashappHandleRedirectOrDisplayQrCode < ::Stripe::StripeObject
|
|
246
|
+
class QrCode < ::Stripe::StripeObject
|
|
202
247
|
# The date (unix timestamp) when the QR code expires.
|
|
203
248
|
attr_reader :expires_at
|
|
204
249
|
# The image_url_png string used to render QR code
|
|
@@ -230,10 +275,10 @@ module Stripe
|
|
|
230
275
|
end
|
|
231
276
|
end
|
|
232
277
|
|
|
233
|
-
class DisplayBankTransferInstructions < Stripe::StripeObject
|
|
234
|
-
class FinancialAddress < Stripe::StripeObject
|
|
235
|
-
class Aba < Stripe::StripeObject
|
|
236
|
-
class AccountHolderAddress < Stripe::StripeObject
|
|
278
|
+
class DisplayBankTransferInstructions < ::Stripe::StripeObject
|
|
279
|
+
class FinancialAddress < ::Stripe::StripeObject
|
|
280
|
+
class Aba < ::Stripe::StripeObject
|
|
281
|
+
class AccountHolderAddress < ::Stripe::StripeObject
|
|
237
282
|
# City, district, suburb, town, or village.
|
|
238
283
|
attr_reader :city
|
|
239
284
|
# Two-letter country code ([ISO 3166-1 alpha-2](https://en.wikipedia.org/wiki/ISO_3166-1_alpha-2)).
|
|
@@ -256,7 +301,7 @@ module Stripe
|
|
|
256
301
|
end
|
|
257
302
|
end
|
|
258
303
|
|
|
259
|
-
class BankAddress < Stripe::StripeObject
|
|
304
|
+
class BankAddress < ::Stripe::StripeObject
|
|
260
305
|
# City, district, suburb, town, or village.
|
|
261
306
|
attr_reader :city
|
|
262
307
|
# Two-letter country code ([ISO 3166-1 alpha-2](https://en.wikipedia.org/wiki/ISO_3166-1_alpha-2)).
|
|
@@ -305,8 +350,8 @@ module Stripe
|
|
|
305
350
|
end
|
|
306
351
|
end
|
|
307
352
|
|
|
308
|
-
class Iban < Stripe::StripeObject
|
|
309
|
-
class AccountHolderAddress < Stripe::StripeObject
|
|
353
|
+
class Iban < ::Stripe::StripeObject
|
|
354
|
+
class AccountHolderAddress < ::Stripe::StripeObject
|
|
310
355
|
# City, district, suburb, town, or village.
|
|
311
356
|
attr_reader :city
|
|
312
357
|
# Two-letter country code ([ISO 3166-1 alpha-2](https://en.wikipedia.org/wiki/ISO_3166-1_alpha-2)).
|
|
@@ -329,7 +374,7 @@ module Stripe
|
|
|
329
374
|
end
|
|
330
375
|
end
|
|
331
376
|
|
|
332
|
-
class BankAddress < Stripe::StripeObject
|
|
377
|
+
class BankAddress < ::Stripe::StripeObject
|
|
333
378
|
# City, district, suburb, town, or village.
|
|
334
379
|
attr_reader :city
|
|
335
380
|
# Two-letter country code ([ISO 3166-1 alpha-2](https://en.wikipedia.org/wiki/ISO_3166-1_alpha-2)).
|
|
@@ -376,8 +421,8 @@ module Stripe
|
|
|
376
421
|
end
|
|
377
422
|
end
|
|
378
423
|
|
|
379
|
-
class SortCode < Stripe::StripeObject
|
|
380
|
-
class AccountHolderAddress < Stripe::StripeObject
|
|
424
|
+
class SortCode < ::Stripe::StripeObject
|
|
425
|
+
class AccountHolderAddress < ::Stripe::StripeObject
|
|
381
426
|
# City, district, suburb, town, or village.
|
|
382
427
|
attr_reader :city
|
|
383
428
|
# Two-letter country code ([ISO 3166-1 alpha-2](https://en.wikipedia.org/wiki/ISO_3166-1_alpha-2)).
|
|
@@ -400,7 +445,7 @@ module Stripe
|
|
|
400
445
|
end
|
|
401
446
|
end
|
|
402
447
|
|
|
403
|
-
class BankAddress < Stripe::StripeObject
|
|
448
|
+
class BankAddress < ::Stripe::StripeObject
|
|
404
449
|
# City, district, suburb, town, or village.
|
|
405
450
|
attr_reader :city
|
|
406
451
|
# Two-letter country code ([ISO 3166-1 alpha-2](https://en.wikipedia.org/wiki/ISO_3166-1_alpha-2)).
|
|
@@ -445,8 +490,8 @@ module Stripe
|
|
|
445
490
|
end
|
|
446
491
|
end
|
|
447
492
|
|
|
448
|
-
class Spei < Stripe::StripeObject
|
|
449
|
-
class AccountHolderAddress < Stripe::StripeObject
|
|
493
|
+
class Spei < ::Stripe::StripeObject
|
|
494
|
+
class AccountHolderAddress < ::Stripe::StripeObject
|
|
450
495
|
# City, district, suburb, town, or village.
|
|
451
496
|
attr_reader :city
|
|
452
497
|
# Two-letter country code ([ISO 3166-1 alpha-2](https://en.wikipedia.org/wiki/ISO_3166-1_alpha-2)).
|
|
@@ -469,7 +514,7 @@ module Stripe
|
|
|
469
514
|
end
|
|
470
515
|
end
|
|
471
516
|
|
|
472
|
-
class BankAddress < Stripe::StripeObject
|
|
517
|
+
class BankAddress < ::Stripe::StripeObject
|
|
473
518
|
# City, district, suburb, town, or village.
|
|
474
519
|
attr_reader :city
|
|
475
520
|
# Two-letter country code ([ISO 3166-1 alpha-2](https://en.wikipedia.org/wiki/ISO_3166-1_alpha-2)).
|
|
@@ -516,8 +561,8 @@ module Stripe
|
|
|
516
561
|
end
|
|
517
562
|
end
|
|
518
563
|
|
|
519
|
-
class Swift < Stripe::StripeObject
|
|
520
|
-
class AccountHolderAddress < Stripe::StripeObject
|
|
564
|
+
class Swift < ::Stripe::StripeObject
|
|
565
|
+
class AccountHolderAddress < ::Stripe::StripeObject
|
|
521
566
|
# City, district, suburb, town, or village.
|
|
522
567
|
attr_reader :city
|
|
523
568
|
# Two-letter country code ([ISO 3166-1 alpha-2](https://en.wikipedia.org/wiki/ISO_3166-1_alpha-2)).
|
|
@@ -540,7 +585,7 @@ module Stripe
|
|
|
540
585
|
end
|
|
541
586
|
end
|
|
542
587
|
|
|
543
|
-
class BankAddress < Stripe::StripeObject
|
|
588
|
+
class BankAddress < ::Stripe::StripeObject
|
|
544
589
|
# City, district, suburb, town, or village.
|
|
545
590
|
attr_reader :city
|
|
546
591
|
# Two-letter country code ([ISO 3166-1 alpha-2](https://en.wikipedia.org/wiki/ISO_3166-1_alpha-2)).
|
|
@@ -589,8 +634,8 @@ module Stripe
|
|
|
589
634
|
end
|
|
590
635
|
end
|
|
591
636
|
|
|
592
|
-
class Zengin < Stripe::StripeObject
|
|
593
|
-
class AccountHolderAddress < Stripe::StripeObject
|
|
637
|
+
class Zengin < ::Stripe::StripeObject
|
|
638
|
+
class AccountHolderAddress < ::Stripe::StripeObject
|
|
594
639
|
# City, district, suburb, town, or village.
|
|
595
640
|
attr_reader :city
|
|
596
641
|
# Two-letter country code ([ISO 3166-1 alpha-2](https://en.wikipedia.org/wiki/ISO_3166-1_alpha-2)).
|
|
@@ -613,7 +658,7 @@ module Stripe
|
|
|
613
658
|
end
|
|
614
659
|
end
|
|
615
660
|
|
|
616
|
-
class BankAddress < Stripe::StripeObject
|
|
661
|
+
class BankAddress < ::Stripe::StripeObject
|
|
617
662
|
# City, district, suburb, town, or village.
|
|
618
663
|
attr_reader :city
|
|
619
664
|
# Two-letter country code ([ISO 3166-1 alpha-2](https://en.wikipedia.org/wiki/ISO_3166-1_alpha-2)).
|
|
@@ -719,9 +764,9 @@ module Stripe
|
|
|
719
764
|
end
|
|
720
765
|
end
|
|
721
766
|
|
|
722
|
-
class KonbiniDisplayDetails < Stripe::StripeObject
|
|
723
|
-
class Stores < Stripe::StripeObject
|
|
724
|
-
class Familymart < Stripe::StripeObject
|
|
767
|
+
class KonbiniDisplayDetails < ::Stripe::StripeObject
|
|
768
|
+
class Stores < ::Stripe::StripeObject
|
|
769
|
+
class Familymart < ::Stripe::StripeObject
|
|
725
770
|
# The confirmation number.
|
|
726
771
|
attr_reader :confirmation_number
|
|
727
772
|
# The payment code.
|
|
@@ -736,7 +781,7 @@ module Stripe
|
|
|
736
781
|
end
|
|
737
782
|
end
|
|
738
783
|
|
|
739
|
-
class Lawson < Stripe::StripeObject
|
|
784
|
+
class Lawson < ::Stripe::StripeObject
|
|
740
785
|
# The confirmation number.
|
|
741
786
|
attr_reader :confirmation_number
|
|
742
787
|
# The payment code.
|
|
@@ -751,7 +796,7 @@ module Stripe
|
|
|
751
796
|
end
|
|
752
797
|
end
|
|
753
798
|
|
|
754
|
-
class Ministop < Stripe::StripeObject
|
|
799
|
+
class Ministop < ::Stripe::StripeObject
|
|
755
800
|
# The confirmation number.
|
|
756
801
|
attr_reader :confirmation_number
|
|
757
802
|
# The payment code.
|
|
@@ -766,7 +811,7 @@ module Stripe
|
|
|
766
811
|
end
|
|
767
812
|
end
|
|
768
813
|
|
|
769
|
-
class Seicomart < Stripe::StripeObject
|
|
814
|
+
class Seicomart < ::Stripe::StripeObject
|
|
770
815
|
# The confirmation number.
|
|
771
816
|
attr_reader :confirmation_number
|
|
772
817
|
# The payment code.
|
|
@@ -818,7 +863,7 @@ module Stripe
|
|
|
818
863
|
end
|
|
819
864
|
end
|
|
820
865
|
|
|
821
|
-
class MultibancoDisplayDetails < Stripe::StripeObject
|
|
866
|
+
class MultibancoDisplayDetails < ::Stripe::StripeObject
|
|
822
867
|
# Entity number associated with this Multibanco payment.
|
|
823
868
|
attr_reader :entity
|
|
824
869
|
# The timestamp at which the Multibanco voucher expires.
|
|
@@ -837,7 +882,7 @@ module Stripe
|
|
|
837
882
|
end
|
|
838
883
|
end
|
|
839
884
|
|
|
840
|
-
class OxxoDisplayDetails < Stripe::StripeObject
|
|
885
|
+
class OxxoDisplayDetails < ::Stripe::StripeObject
|
|
841
886
|
# The timestamp after which the OXXO voucher expires.
|
|
842
887
|
attr_reader :expires_after
|
|
843
888
|
# The URL for the hosted OXXO voucher page, which allows customers to view and print an OXXO voucher.
|
|
@@ -854,7 +899,7 @@ module Stripe
|
|
|
854
899
|
end
|
|
855
900
|
end
|
|
856
901
|
|
|
857
|
-
class PaynowDisplayQrCode < Stripe::StripeObject
|
|
902
|
+
class PaynowDisplayQrCode < ::Stripe::StripeObject
|
|
858
903
|
# The raw data string used to generate QR code, it should be used together with QR code library.
|
|
859
904
|
attr_reader :data
|
|
860
905
|
# The URL to the hosted PayNow instructions page, which allows customers to view the PayNow QR code.
|
|
@@ -873,7 +918,7 @@ module Stripe
|
|
|
873
918
|
end
|
|
874
919
|
end
|
|
875
920
|
|
|
876
|
-
class PixDisplayQrCode < Stripe::StripeObject
|
|
921
|
+
class PixDisplayQrCode < ::Stripe::StripeObject
|
|
877
922
|
# The raw data string used to generate QR code, it should be used together with QR code library.
|
|
878
923
|
attr_reader :data
|
|
879
924
|
# The date (unix timestamp) when the PIX expires.
|
|
@@ -894,7 +939,7 @@ module Stripe
|
|
|
894
939
|
end
|
|
895
940
|
end
|
|
896
941
|
|
|
897
|
-
class PromptpayDisplayQrCode < Stripe::StripeObject
|
|
942
|
+
class PromptpayDisplayQrCode < ::Stripe::StripeObject
|
|
898
943
|
# The raw data string used to generate QR code, it should be used together with QR code library.
|
|
899
944
|
attr_reader :data
|
|
900
945
|
# The URL to the hosted PromptPay instructions page, which allows customers to view the PromptPay QR code.
|
|
@@ -913,7 +958,7 @@ module Stripe
|
|
|
913
958
|
end
|
|
914
959
|
end
|
|
915
960
|
|
|
916
|
-
class RedirectToUrl < Stripe::StripeObject
|
|
961
|
+
class RedirectToUrl < ::Stripe::StripeObject
|
|
917
962
|
# If the customer does not exit their browser while authenticating, they will be redirected to this specified URL after completion.
|
|
918
963
|
attr_reader :return_url
|
|
919
964
|
# The URL you must redirect your customer to in order to authenticate the payment.
|
|
@@ -928,8 +973,8 @@ module Stripe
|
|
|
928
973
|
end
|
|
929
974
|
end
|
|
930
975
|
|
|
931
|
-
class SwishHandleRedirectOrDisplayQrCode < Stripe::StripeObject
|
|
932
|
-
class QrCode < Stripe::StripeObject
|
|
976
|
+
class SwishHandleRedirectOrDisplayQrCode < ::Stripe::StripeObject
|
|
977
|
+
class QrCode < ::Stripe::StripeObject
|
|
933
978
|
# The raw data string used to generate QR code, it should be used together with QR code library.
|
|
934
979
|
attr_reader :data
|
|
935
980
|
# The image_url_png string used to render QR code
|
|
@@ -961,7 +1006,7 @@ module Stripe
|
|
|
961
1006
|
end
|
|
962
1007
|
end
|
|
963
1008
|
|
|
964
|
-
class VerifyWithMicrodeposits < Stripe::StripeObject
|
|
1009
|
+
class VerifyWithMicrodeposits < ::Stripe::StripeObject
|
|
965
1010
|
# The timestamp when the microdeposits are expected to land.
|
|
966
1011
|
attr_reader :arrival_date
|
|
967
1012
|
# The URL for the hosted verification page, which allows customers to verify their bank account.
|
|
@@ -978,7 +1023,7 @@ module Stripe
|
|
|
978
1023
|
end
|
|
979
1024
|
end
|
|
980
1025
|
|
|
981
|
-
class WechatPayDisplayQrCode < Stripe::StripeObject
|
|
1026
|
+
class WechatPayDisplayQrCode < ::Stripe::StripeObject
|
|
982
1027
|
# The data being used to generate QR code
|
|
983
1028
|
attr_reader :data
|
|
984
1029
|
# The URL to the hosted WeChat Pay instructions page, which allows customers to view the WeChat Pay QR code.
|
|
@@ -999,7 +1044,7 @@ module Stripe
|
|
|
999
1044
|
end
|
|
1000
1045
|
end
|
|
1001
1046
|
|
|
1002
|
-
class WechatPayRedirectToAndroidApp < Stripe::StripeObject
|
|
1047
|
+
class WechatPayRedirectToAndroidApp < ::Stripe::StripeObject
|
|
1003
1048
|
# app_id is the APP ID registered on WeChat open platform
|
|
1004
1049
|
attr_reader :app_id
|
|
1005
1050
|
# nonce_str is a random string
|
|
@@ -1024,7 +1069,7 @@ module Stripe
|
|
|
1024
1069
|
end
|
|
1025
1070
|
end
|
|
1026
1071
|
|
|
1027
|
-
class WechatPayRedirectToIosApp < Stripe::StripeObject
|
|
1072
|
+
class WechatPayRedirectToIosApp < ::Stripe::StripeObject
|
|
1028
1073
|
# An universal link that redirect to WeChat Pay app
|
|
1029
1074
|
attr_reader :native_url
|
|
1030
1075
|
|
|
@@ -1102,7 +1147,28 @@ module Stripe
|
|
|
1102
1147
|
end
|
|
1103
1148
|
end
|
|
1104
1149
|
|
|
1105
|
-
class
|
|
1150
|
+
class PaymentDetails < ::Stripe::StripeObject
|
|
1151
|
+
# A unique value to identify the customer. This field is available only for card payments.
|
|
1152
|
+
#
|
|
1153
|
+
# This field is truncated to 25 alphanumeric characters, excluding spaces, before being sent to card networks.
|
|
1154
|
+
attr_reader :customer_reference
|
|
1155
|
+
# A unique value assigned by the business to identify the transaction. Required for L2 and L3 rates.
|
|
1156
|
+
#
|
|
1157
|
+
# 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`.
|
|
1158
|
+
#
|
|
1159
|
+
# 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.
|
|
1160
|
+
attr_reader :order_reference
|
|
1161
|
+
|
|
1162
|
+
def self.inner_class_types
|
|
1163
|
+
@inner_class_types = {}
|
|
1164
|
+
end
|
|
1165
|
+
|
|
1166
|
+
def self.field_remappings
|
|
1167
|
+
@field_remappings = {}
|
|
1168
|
+
end
|
|
1169
|
+
end
|
|
1170
|
+
|
|
1171
|
+
class PaymentMethodConfigurationDetails < ::Stripe::StripeObject
|
|
1106
1172
|
# ID of the payment method configuration used.
|
|
1107
1173
|
attr_reader :id
|
|
1108
1174
|
# ID of the parent payment method configuration used.
|
|
@@ -1117,9 +1183,9 @@ module Stripe
|
|
|
1117
1183
|
end
|
|
1118
1184
|
end
|
|
1119
1185
|
|
|
1120
|
-
class PaymentMethodOptions < Stripe::StripeObject
|
|
1121
|
-
class AcssDebit < Stripe::StripeObject
|
|
1122
|
-
class MandateOptions < Stripe::StripeObject
|
|
1186
|
+
class PaymentMethodOptions < ::Stripe::StripeObject
|
|
1187
|
+
class AcssDebit < ::Stripe::StripeObject
|
|
1188
|
+
class MandateOptions < ::Stripe::StripeObject
|
|
1123
1189
|
# A URL for custom mandate text
|
|
1124
1190
|
attr_reader :custom_mandate_url
|
|
1125
1191
|
# Description of the interval. Only required if the 'payment_schedule' parameter is 'interval' or 'combined'.
|
|
@@ -1161,7 +1227,7 @@ module Stripe
|
|
|
1161
1227
|
end
|
|
1162
1228
|
end
|
|
1163
1229
|
|
|
1164
|
-
class Affirm < Stripe::StripeObject
|
|
1230
|
+
class Affirm < ::Stripe::StripeObject
|
|
1165
1231
|
# Controls when the funds will be captured from the customer's account.
|
|
1166
1232
|
attr_reader :capture_method
|
|
1167
1233
|
# Preferred language of the Affirm authorization page that the customer is redirected to.
|
|
@@ -1184,7 +1250,7 @@ module Stripe
|
|
|
1184
1250
|
end
|
|
1185
1251
|
end
|
|
1186
1252
|
|
|
1187
|
-
class AfterpayClearpay < Stripe::StripeObject
|
|
1253
|
+
class AfterpayClearpay < ::Stripe::StripeObject
|
|
1188
1254
|
# Controls when the funds will be captured from the customer's account.
|
|
1189
1255
|
attr_reader :capture_method
|
|
1190
1256
|
# An internal identifier or reference that this payment corresponds to. You must limit the identifier to 128 characters, and it can only contain letters, numbers, underscores, backslashes, and dashes.
|
|
@@ -1208,7 +1274,7 @@ module Stripe
|
|
|
1208
1274
|
end
|
|
1209
1275
|
end
|
|
1210
1276
|
|
|
1211
|
-
class Alipay < Stripe::StripeObject
|
|
1277
|
+
class Alipay < ::Stripe::StripeObject
|
|
1212
1278
|
# Indicates that you intend to make future payments with this PaymentIntent's payment method.
|
|
1213
1279
|
#
|
|
1214
1280
|
# 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.
|
|
@@ -1227,7 +1293,7 @@ module Stripe
|
|
|
1227
1293
|
end
|
|
1228
1294
|
end
|
|
1229
1295
|
|
|
1230
|
-
class Alma < Stripe::StripeObject
|
|
1296
|
+
class Alma < ::Stripe::StripeObject
|
|
1231
1297
|
# Controls when the funds will be captured from the customer's account.
|
|
1232
1298
|
attr_reader :capture_method
|
|
1233
1299
|
|
|
@@ -1240,7 +1306,7 @@ module Stripe
|
|
|
1240
1306
|
end
|
|
1241
1307
|
end
|
|
1242
1308
|
|
|
1243
|
-
class AmazonPay < Stripe::StripeObject
|
|
1309
|
+
class AmazonPay < ::Stripe::StripeObject
|
|
1244
1310
|
# Controls when the funds will be captured from the customer's account.
|
|
1245
1311
|
attr_reader :capture_method
|
|
1246
1312
|
# Indicates that you intend to make future payments with this PaymentIntent's payment method.
|
|
@@ -1261,7 +1327,7 @@ module Stripe
|
|
|
1261
1327
|
end
|
|
1262
1328
|
end
|
|
1263
1329
|
|
|
1264
|
-
class AuBecsDebit < Stripe::StripeObject
|
|
1330
|
+
class AuBecsDebit < ::Stripe::StripeObject
|
|
1265
1331
|
# Indicates that you intend to make future payments with this PaymentIntent's payment method.
|
|
1266
1332
|
#
|
|
1267
1333
|
# 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.
|
|
@@ -1282,8 +1348,8 @@ module Stripe
|
|
|
1282
1348
|
end
|
|
1283
1349
|
end
|
|
1284
1350
|
|
|
1285
|
-
class BacsDebit < Stripe::StripeObject
|
|
1286
|
-
class MandateOptions < Stripe::StripeObject
|
|
1351
|
+
class BacsDebit < ::Stripe::StripeObject
|
|
1352
|
+
class MandateOptions < ::Stripe::StripeObject
|
|
1287
1353
|
# 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'.
|
|
1288
1354
|
attr_reader :reference_prefix
|
|
1289
1355
|
|
|
@@ -1317,7 +1383,7 @@ module Stripe
|
|
|
1317
1383
|
end
|
|
1318
1384
|
end
|
|
1319
1385
|
|
|
1320
|
-
class Bancontact < Stripe::StripeObject
|
|
1386
|
+
class Bancontact < ::Stripe::StripeObject
|
|
1321
1387
|
# Preferred language of the Bancontact authorization page that the customer is redirected to.
|
|
1322
1388
|
attr_reader :preferred_language
|
|
1323
1389
|
# Indicates that you intend to make future payments with this PaymentIntent's payment method.
|
|
@@ -1338,7 +1404,7 @@ module Stripe
|
|
|
1338
1404
|
end
|
|
1339
1405
|
end
|
|
1340
1406
|
|
|
1341
|
-
class Billie < Stripe::StripeObject
|
|
1407
|
+
class Billie < ::Stripe::StripeObject
|
|
1342
1408
|
# Controls when the funds will be captured from the customer's account.
|
|
1343
1409
|
attr_reader :capture_method
|
|
1344
1410
|
|
|
@@ -1351,7 +1417,7 @@ module Stripe
|
|
|
1351
1417
|
end
|
|
1352
1418
|
end
|
|
1353
1419
|
|
|
1354
|
-
class Blik < Stripe::StripeObject
|
|
1420
|
+
class Blik < ::Stripe::StripeObject
|
|
1355
1421
|
# Indicates that you intend to make future payments with this PaymentIntent's payment method.
|
|
1356
1422
|
#
|
|
1357
1423
|
# 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.
|
|
@@ -1370,7 +1436,7 @@ module Stripe
|
|
|
1370
1436
|
end
|
|
1371
1437
|
end
|
|
1372
1438
|
|
|
1373
|
-
class Boleto < Stripe::StripeObject
|
|
1439
|
+
class Boleto < ::Stripe::StripeObject
|
|
1374
1440
|
# 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 voucher will expire on Wednesday at 23:59 America/Sao_Paulo time.
|
|
1375
1441
|
attr_reader :expires_after_days
|
|
1376
1442
|
# Indicates that you intend to make future payments with this PaymentIntent's payment method.
|
|
@@ -1391,9 +1457,9 @@ module Stripe
|
|
|
1391
1457
|
end
|
|
1392
1458
|
end
|
|
1393
1459
|
|
|
1394
|
-
class Card < Stripe::StripeObject
|
|
1395
|
-
class Installments < Stripe::StripeObject
|
|
1396
|
-
class AvailablePlan < Stripe::StripeObject
|
|
1460
|
+
class Card < ::Stripe::StripeObject
|
|
1461
|
+
class Installments < ::Stripe::StripeObject
|
|
1462
|
+
class AvailablePlan < ::Stripe::StripeObject
|
|
1397
1463
|
# For `fixed_count` installment plans, this is the number of installment payments your customer will make to their credit card.
|
|
1398
1464
|
attr_reader :count
|
|
1399
1465
|
# For `fixed_count` installment plans, this is the interval between installment payments your customer will make to their credit card.
|
|
@@ -1411,7 +1477,7 @@ module Stripe
|
|
|
1411
1477
|
end
|
|
1412
1478
|
end
|
|
1413
1479
|
|
|
1414
|
-
class Plan < Stripe::StripeObject
|
|
1480
|
+
class Plan < ::Stripe::StripeObject
|
|
1415
1481
|
# For `fixed_count` installment plans, this is the number of installment payments your customer will make to their credit card.
|
|
1416
1482
|
attr_reader :count
|
|
1417
1483
|
# For `fixed_count` installment plans, this is the interval between installment payments your customer will make to their credit card.
|
|
@@ -1444,7 +1510,7 @@ module Stripe
|
|
|
1444
1510
|
end
|
|
1445
1511
|
end
|
|
1446
1512
|
|
|
1447
|
-
class MandateOptions < Stripe::StripeObject
|
|
1513
|
+
class MandateOptions < ::Stripe::StripeObject
|
|
1448
1514
|
# Amount to be charged for future payments.
|
|
1449
1515
|
attr_reader :amount
|
|
1450
1516
|
# 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.
|
|
@@ -1516,8 +1582,8 @@ module Stripe
|
|
|
1516
1582
|
end
|
|
1517
1583
|
end
|
|
1518
1584
|
|
|
1519
|
-
class CardPresent < Stripe::StripeObject
|
|
1520
|
-
class Routing < Stripe::StripeObject
|
|
1585
|
+
class CardPresent < ::Stripe::StripeObject
|
|
1586
|
+
class Routing < ::Stripe::StripeObject
|
|
1521
1587
|
# Requested routing priority
|
|
1522
1588
|
attr_reader :requested_priority
|
|
1523
1589
|
|
|
@@ -1545,7 +1611,7 @@ module Stripe
|
|
|
1545
1611
|
end
|
|
1546
1612
|
end
|
|
1547
1613
|
|
|
1548
|
-
class Cashapp < Stripe::StripeObject
|
|
1614
|
+
class Cashapp < ::Stripe::StripeObject
|
|
1549
1615
|
# Controls when the funds will be captured from the customer's account.
|
|
1550
1616
|
attr_reader :capture_method
|
|
1551
1617
|
# Indicates that you intend to make future payments with this PaymentIntent's payment method.
|
|
@@ -1566,7 +1632,7 @@ module Stripe
|
|
|
1566
1632
|
end
|
|
1567
1633
|
end
|
|
1568
1634
|
|
|
1569
|
-
class Crypto < Stripe::StripeObject
|
|
1635
|
+
class Crypto < ::Stripe::StripeObject
|
|
1570
1636
|
# Indicates that you intend to make future payments with this PaymentIntent's payment method.
|
|
1571
1637
|
#
|
|
1572
1638
|
# 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.
|
|
@@ -1585,9 +1651,9 @@ module Stripe
|
|
|
1585
1651
|
end
|
|
1586
1652
|
end
|
|
1587
1653
|
|
|
1588
|
-
class CustomerBalance < Stripe::StripeObject
|
|
1589
|
-
class BankTransfer < Stripe::StripeObject
|
|
1590
|
-
class EuBankTransfer < Stripe::StripeObject
|
|
1654
|
+
class CustomerBalance < ::Stripe::StripeObject
|
|
1655
|
+
class BankTransfer < ::Stripe::StripeObject
|
|
1656
|
+
class EuBankTransfer < ::Stripe::StripeObject
|
|
1591
1657
|
# The desired country code of the bank account information. Permitted values include: `BE`, `DE`, `ES`, `FR`, `IE`, or `NL`.
|
|
1592
1658
|
attr_reader :country
|
|
1593
1659
|
|
|
@@ -1638,7 +1704,7 @@ module Stripe
|
|
|
1638
1704
|
end
|
|
1639
1705
|
end
|
|
1640
1706
|
|
|
1641
|
-
class Eps < Stripe::StripeObject
|
|
1707
|
+
class Eps < ::Stripe::StripeObject
|
|
1642
1708
|
# Indicates that you intend to make future payments with this PaymentIntent's payment method.
|
|
1643
1709
|
#
|
|
1644
1710
|
# 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.
|
|
@@ -1657,7 +1723,7 @@ module Stripe
|
|
|
1657
1723
|
end
|
|
1658
1724
|
end
|
|
1659
1725
|
|
|
1660
|
-
class Fpx < Stripe::StripeObject
|
|
1726
|
+
class Fpx < ::Stripe::StripeObject
|
|
1661
1727
|
# Indicates that you intend to make future payments with this PaymentIntent's payment method.
|
|
1662
1728
|
#
|
|
1663
1729
|
# 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.
|
|
@@ -1676,7 +1742,7 @@ module Stripe
|
|
|
1676
1742
|
end
|
|
1677
1743
|
end
|
|
1678
1744
|
|
|
1679
|
-
class Giropay < Stripe::StripeObject
|
|
1745
|
+
class Giropay < ::Stripe::StripeObject
|
|
1680
1746
|
# Indicates that you intend to make future payments with this PaymentIntent's payment method.
|
|
1681
1747
|
#
|
|
1682
1748
|
# 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.
|
|
@@ -1695,7 +1761,7 @@ module Stripe
|
|
|
1695
1761
|
end
|
|
1696
1762
|
end
|
|
1697
1763
|
|
|
1698
|
-
class Grabpay < Stripe::StripeObject
|
|
1764
|
+
class Grabpay < ::Stripe::StripeObject
|
|
1699
1765
|
# Indicates that you intend to make future payments with this PaymentIntent's payment method.
|
|
1700
1766
|
#
|
|
1701
1767
|
# 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.
|
|
@@ -1714,7 +1780,7 @@ module Stripe
|
|
|
1714
1780
|
end
|
|
1715
1781
|
end
|
|
1716
1782
|
|
|
1717
|
-
class Ideal < Stripe::StripeObject
|
|
1783
|
+
class Ideal < ::Stripe::StripeObject
|
|
1718
1784
|
# Indicates that you intend to make future payments with this PaymentIntent's payment method.
|
|
1719
1785
|
#
|
|
1720
1786
|
# 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.
|
|
@@ -1733,7 +1799,7 @@ module Stripe
|
|
|
1733
1799
|
end
|
|
1734
1800
|
end
|
|
1735
1801
|
|
|
1736
|
-
class InteracPresent < Stripe::StripeObject
|
|
1802
|
+
class InteracPresent < ::Stripe::StripeObject
|
|
1737
1803
|
def self.inner_class_types
|
|
1738
1804
|
@inner_class_types = {}
|
|
1739
1805
|
end
|
|
@@ -1743,7 +1809,7 @@ module Stripe
|
|
|
1743
1809
|
end
|
|
1744
1810
|
end
|
|
1745
1811
|
|
|
1746
|
-
class KakaoPay < Stripe::StripeObject
|
|
1812
|
+
class KakaoPay < ::Stripe::StripeObject
|
|
1747
1813
|
# Controls when the funds will be captured from the customer's account.
|
|
1748
1814
|
attr_reader :capture_method
|
|
1749
1815
|
# Indicates that you intend to make future payments with this PaymentIntent's payment method.
|
|
@@ -1764,7 +1830,7 @@ module Stripe
|
|
|
1764
1830
|
end
|
|
1765
1831
|
end
|
|
1766
1832
|
|
|
1767
|
-
class Klarna < Stripe::StripeObject
|
|
1833
|
+
class Klarna < ::Stripe::StripeObject
|
|
1768
1834
|
# Controls when the funds will be captured from the customer's account.
|
|
1769
1835
|
attr_reader :capture_method
|
|
1770
1836
|
# Preferred locale of the Klarna checkout page that the customer is redirected to.
|
|
@@ -1787,7 +1853,7 @@ module Stripe
|
|
|
1787
1853
|
end
|
|
1788
1854
|
end
|
|
1789
1855
|
|
|
1790
|
-
class Konbini < Stripe::StripeObject
|
|
1856
|
+
class Konbini < ::Stripe::StripeObject
|
|
1791
1857
|
# An optional 10 to 11 digit numeric-only string determining the confirmation code at applicable convenience stores.
|
|
1792
1858
|
attr_reader :confirmation_number
|
|
1793
1859
|
# 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.
|
|
@@ -1814,7 +1880,7 @@ module Stripe
|
|
|
1814
1880
|
end
|
|
1815
1881
|
end
|
|
1816
1882
|
|
|
1817
|
-
class KrCard < Stripe::StripeObject
|
|
1883
|
+
class KrCard < ::Stripe::StripeObject
|
|
1818
1884
|
# Controls when the funds will be captured from the customer's account.
|
|
1819
1885
|
attr_reader :capture_method
|
|
1820
1886
|
# Indicates that you intend to make future payments with this PaymentIntent's payment method.
|
|
@@ -1835,7 +1901,7 @@ module Stripe
|
|
|
1835
1901
|
end
|
|
1836
1902
|
end
|
|
1837
1903
|
|
|
1838
|
-
class Link < Stripe::StripeObject
|
|
1904
|
+
class Link < ::Stripe::StripeObject
|
|
1839
1905
|
# Controls when the funds will be captured from the customer's account.
|
|
1840
1906
|
attr_reader :capture_method
|
|
1841
1907
|
# [Deprecated] This is a legacy parameter that no longer has any function.
|
|
@@ -1858,7 +1924,7 @@ module Stripe
|
|
|
1858
1924
|
end
|
|
1859
1925
|
end
|
|
1860
1926
|
|
|
1861
|
-
class MbWay < Stripe::StripeObject
|
|
1927
|
+
class MbWay < ::Stripe::StripeObject
|
|
1862
1928
|
# Indicates that you intend to make future payments with this PaymentIntent's payment method.
|
|
1863
1929
|
#
|
|
1864
1930
|
# 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.
|
|
@@ -1877,7 +1943,7 @@ module Stripe
|
|
|
1877
1943
|
end
|
|
1878
1944
|
end
|
|
1879
1945
|
|
|
1880
|
-
class Mobilepay < Stripe::StripeObject
|
|
1946
|
+
class Mobilepay < ::Stripe::StripeObject
|
|
1881
1947
|
# Controls when the funds will be captured from the customer's account.
|
|
1882
1948
|
attr_reader :capture_method
|
|
1883
1949
|
# Indicates that you intend to make future payments with this PaymentIntent's payment method.
|
|
@@ -1898,7 +1964,7 @@ module Stripe
|
|
|
1898
1964
|
end
|
|
1899
1965
|
end
|
|
1900
1966
|
|
|
1901
|
-
class Multibanco < Stripe::StripeObject
|
|
1967
|
+
class Multibanco < ::Stripe::StripeObject
|
|
1902
1968
|
# Indicates that you intend to make future payments with this PaymentIntent's payment method.
|
|
1903
1969
|
#
|
|
1904
1970
|
# 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.
|
|
@@ -1917,7 +1983,7 @@ module Stripe
|
|
|
1917
1983
|
end
|
|
1918
1984
|
end
|
|
1919
1985
|
|
|
1920
|
-
class NaverPay < Stripe::StripeObject
|
|
1986
|
+
class NaverPay < ::Stripe::StripeObject
|
|
1921
1987
|
# Controls when the funds will be captured from the customer's account.
|
|
1922
1988
|
attr_reader :capture_method
|
|
1923
1989
|
# Indicates that you intend to make future payments with this PaymentIntent's payment method.
|
|
@@ -1938,7 +2004,7 @@ module Stripe
|
|
|
1938
2004
|
end
|
|
1939
2005
|
end
|
|
1940
2006
|
|
|
1941
|
-
class NzBankAccount < Stripe::StripeObject
|
|
2007
|
+
class NzBankAccount < ::Stripe::StripeObject
|
|
1942
2008
|
# Indicates that you intend to make future payments with this PaymentIntent's payment method.
|
|
1943
2009
|
#
|
|
1944
2010
|
# 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.
|
|
@@ -1959,7 +2025,7 @@ module Stripe
|
|
|
1959
2025
|
end
|
|
1960
2026
|
end
|
|
1961
2027
|
|
|
1962
|
-
class Oxxo < Stripe::StripeObject
|
|
2028
|
+
class Oxxo < ::Stripe::StripeObject
|
|
1963
2029
|
# The number of calendar days before an OXXO invoice expires. For example, if you create an OXXO invoice on Monday and you set expires_after_days to 2, the OXXO invoice will expire on Wednesday at 23:59 America/Mexico_City time.
|
|
1964
2030
|
attr_reader :expires_after_days
|
|
1965
2031
|
# Indicates that you intend to make future payments with this PaymentIntent's payment method.
|
|
@@ -1980,7 +2046,7 @@ module Stripe
|
|
|
1980
2046
|
end
|
|
1981
2047
|
end
|
|
1982
2048
|
|
|
1983
|
-
class P24 < Stripe::StripeObject
|
|
2049
|
+
class P24 < ::Stripe::StripeObject
|
|
1984
2050
|
# Indicates that you intend to make future payments with this PaymentIntent's payment method.
|
|
1985
2051
|
#
|
|
1986
2052
|
# 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.
|
|
@@ -1999,7 +2065,7 @@ module Stripe
|
|
|
1999
2065
|
end
|
|
2000
2066
|
end
|
|
2001
2067
|
|
|
2002
|
-
class PayByBank < Stripe::StripeObject
|
|
2068
|
+
class PayByBank < ::Stripe::StripeObject
|
|
2003
2069
|
def self.inner_class_types
|
|
2004
2070
|
@inner_class_types = {}
|
|
2005
2071
|
end
|
|
@@ -2009,7 +2075,7 @@ module Stripe
|
|
|
2009
2075
|
end
|
|
2010
2076
|
end
|
|
2011
2077
|
|
|
2012
|
-
class Payco < Stripe::StripeObject
|
|
2078
|
+
class Payco < ::Stripe::StripeObject
|
|
2013
2079
|
# Controls when the funds will be captured from the customer's account.
|
|
2014
2080
|
attr_reader :capture_method
|
|
2015
2081
|
|
|
@@ -2022,7 +2088,7 @@ module Stripe
|
|
|
2022
2088
|
end
|
|
2023
2089
|
end
|
|
2024
2090
|
|
|
2025
|
-
class Paynow < Stripe::StripeObject
|
|
2091
|
+
class Paynow < ::Stripe::StripeObject
|
|
2026
2092
|
# Indicates that you intend to make future payments with this PaymentIntent's payment method.
|
|
2027
2093
|
#
|
|
2028
2094
|
# 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.
|
|
@@ -2041,7 +2107,7 @@ module Stripe
|
|
|
2041
2107
|
end
|
|
2042
2108
|
end
|
|
2043
2109
|
|
|
2044
|
-
class Paypal < Stripe::StripeObject
|
|
2110
|
+
class Paypal < ::Stripe::StripeObject
|
|
2045
2111
|
# Controls when the funds will be captured from the customer's account.
|
|
2046
2112
|
attr_reader :capture_method
|
|
2047
2113
|
# Preferred locale of the PayPal checkout page that the customer is redirected to.
|
|
@@ -2066,7 +2132,7 @@ module Stripe
|
|
|
2066
2132
|
end
|
|
2067
2133
|
end
|
|
2068
2134
|
|
|
2069
|
-
class Pix < Stripe::StripeObject
|
|
2135
|
+
class Pix < ::Stripe::StripeObject
|
|
2070
2136
|
# Determines if the amount includes the IOF tax.
|
|
2071
2137
|
attr_reader :amount_includes_iof
|
|
2072
2138
|
# The number of seconds (between 10 and 1209600) after which Pix payment will expire.
|
|
@@ -2091,7 +2157,7 @@ module Stripe
|
|
|
2091
2157
|
end
|
|
2092
2158
|
end
|
|
2093
2159
|
|
|
2094
|
-
class Promptpay < Stripe::StripeObject
|
|
2160
|
+
class Promptpay < ::Stripe::StripeObject
|
|
2095
2161
|
# Indicates that you intend to make future payments with this PaymentIntent's payment method.
|
|
2096
2162
|
#
|
|
2097
2163
|
# 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.
|
|
@@ -2110,7 +2176,7 @@ module Stripe
|
|
|
2110
2176
|
end
|
|
2111
2177
|
end
|
|
2112
2178
|
|
|
2113
|
-
class RevolutPay < Stripe::StripeObject
|
|
2179
|
+
class RevolutPay < ::Stripe::StripeObject
|
|
2114
2180
|
# Controls when the funds will be captured from the customer's account.
|
|
2115
2181
|
attr_reader :capture_method
|
|
2116
2182
|
# Indicates that you intend to make future payments with this PaymentIntent's payment method.
|
|
@@ -2131,7 +2197,7 @@ module Stripe
|
|
|
2131
2197
|
end
|
|
2132
2198
|
end
|
|
2133
2199
|
|
|
2134
|
-
class SamsungPay < Stripe::StripeObject
|
|
2200
|
+
class SamsungPay < ::Stripe::StripeObject
|
|
2135
2201
|
# Controls when the funds will be captured from the customer's account.
|
|
2136
2202
|
attr_reader :capture_method
|
|
2137
2203
|
|
|
@@ -2144,7 +2210,7 @@ module Stripe
|
|
|
2144
2210
|
end
|
|
2145
2211
|
end
|
|
2146
2212
|
|
|
2147
|
-
class Satispay < Stripe::StripeObject
|
|
2213
|
+
class Satispay < ::Stripe::StripeObject
|
|
2148
2214
|
# Controls when the funds will be captured from the customer's account.
|
|
2149
2215
|
attr_reader :capture_method
|
|
2150
2216
|
|
|
@@ -2157,8 +2223,8 @@ module Stripe
|
|
|
2157
2223
|
end
|
|
2158
2224
|
end
|
|
2159
2225
|
|
|
2160
|
-
class SepaDebit < Stripe::StripeObject
|
|
2161
|
-
class MandateOptions < Stripe::StripeObject
|
|
2226
|
+
class SepaDebit < ::Stripe::StripeObject
|
|
2227
|
+
class MandateOptions < ::Stripe::StripeObject
|
|
2162
2228
|
# 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'.
|
|
2163
2229
|
attr_reader :reference_prefix
|
|
2164
2230
|
|
|
@@ -2192,7 +2258,7 @@ module Stripe
|
|
|
2192
2258
|
end
|
|
2193
2259
|
end
|
|
2194
2260
|
|
|
2195
|
-
class Sofort < Stripe::StripeObject
|
|
2261
|
+
class Sofort < ::Stripe::StripeObject
|
|
2196
2262
|
# Preferred language of the SOFORT authorization page that the customer is redirected to.
|
|
2197
2263
|
attr_reader :preferred_language
|
|
2198
2264
|
# Indicates that you intend to make future payments with this PaymentIntent's payment method.
|
|
@@ -2213,7 +2279,7 @@ module Stripe
|
|
|
2213
2279
|
end
|
|
2214
2280
|
end
|
|
2215
2281
|
|
|
2216
|
-
class Swish < Stripe::StripeObject
|
|
2282
|
+
class Swish < ::Stripe::StripeObject
|
|
2217
2283
|
# A reference for this payment to be displayed in the Swish app.
|
|
2218
2284
|
attr_reader :reference
|
|
2219
2285
|
# Indicates that you intend to make future payments with this PaymentIntent's payment method.
|
|
@@ -2234,7 +2300,7 @@ module Stripe
|
|
|
2234
2300
|
end
|
|
2235
2301
|
end
|
|
2236
2302
|
|
|
2237
|
-
class Twint < Stripe::StripeObject
|
|
2303
|
+
class Twint < ::Stripe::StripeObject
|
|
2238
2304
|
# Indicates that you intend to make future payments with this PaymentIntent's payment method.
|
|
2239
2305
|
#
|
|
2240
2306
|
# 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.
|
|
@@ -2253,9 +2319,9 @@ module Stripe
|
|
|
2253
2319
|
end
|
|
2254
2320
|
end
|
|
2255
2321
|
|
|
2256
|
-
class UsBankAccount < Stripe::StripeObject
|
|
2257
|
-
class FinancialConnections < Stripe::StripeObject
|
|
2258
|
-
class Filters < Stripe::StripeObject
|
|
2322
|
+
class UsBankAccount < ::Stripe::StripeObject
|
|
2323
|
+
class FinancialConnections < ::Stripe::StripeObject
|
|
2324
|
+
class Filters < ::Stripe::StripeObject
|
|
2259
2325
|
# The account subcategories to use to filter for possible accounts to link. Valid subcategories are `checking` and `savings`.
|
|
2260
2326
|
attr_reader :account_subcategories
|
|
2261
2327
|
|
|
@@ -2285,7 +2351,7 @@ module Stripe
|
|
|
2285
2351
|
end
|
|
2286
2352
|
end
|
|
2287
2353
|
|
|
2288
|
-
class MandateOptions < Stripe::StripeObject
|
|
2354
|
+
class MandateOptions < ::Stripe::StripeObject
|
|
2289
2355
|
# Mandate collection method
|
|
2290
2356
|
attr_reader :collection_method
|
|
2291
2357
|
|
|
@@ -2328,7 +2394,7 @@ module Stripe
|
|
|
2328
2394
|
end
|
|
2329
2395
|
end
|
|
2330
2396
|
|
|
2331
|
-
class WechatPay < Stripe::StripeObject
|
|
2397
|
+
class WechatPay < ::Stripe::StripeObject
|
|
2332
2398
|
# The app ID registered with WeChat Pay. Only required when client is ios or android.
|
|
2333
2399
|
attr_reader :app_id
|
|
2334
2400
|
# The client type that the end customer will pay from
|
|
@@ -2351,7 +2417,7 @@ module Stripe
|
|
|
2351
2417
|
end
|
|
2352
2418
|
end
|
|
2353
2419
|
|
|
2354
|
-
class Zip < Stripe::StripeObject
|
|
2420
|
+
class Zip < ::Stripe::StripeObject
|
|
2355
2421
|
# Indicates that you intend to make future payments with this PaymentIntent's payment method.
|
|
2356
2422
|
#
|
|
2357
2423
|
# 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.
|
|
@@ -2533,7 +2599,7 @@ module Stripe
|
|
|
2533
2599
|
end
|
|
2534
2600
|
end
|
|
2535
2601
|
|
|
2536
|
-
class PresentmentDetails < Stripe::StripeObject
|
|
2602
|
+
class PresentmentDetails < ::Stripe::StripeObject
|
|
2537
2603
|
# Amount intended to be collected by this payment, denominated in `presentment_currency`.
|
|
2538
2604
|
attr_reader :presentment_amount
|
|
2539
2605
|
# Currency presented to the customer during payment.
|
|
@@ -2548,9 +2614,9 @@ module Stripe
|
|
|
2548
2614
|
end
|
|
2549
2615
|
end
|
|
2550
2616
|
|
|
2551
|
-
class Processing < Stripe::StripeObject
|
|
2552
|
-
class Card < Stripe::StripeObject
|
|
2553
|
-
class CustomerNotification < Stripe::StripeObject
|
|
2617
|
+
class Processing < ::Stripe::StripeObject
|
|
2618
|
+
class Card < ::Stripe::StripeObject
|
|
2619
|
+
class CustomerNotification < ::Stripe::StripeObject
|
|
2554
2620
|
# Whether customer approval has been requested for this payment. For payments greater than INR 15000 or mandate amount, the customer must provide explicit approval of the payment with their bank.
|
|
2555
2621
|
attr_reader :approval_requested
|
|
2556
2622
|
# If customer approval is required, they need to provide approval before this time.
|
|
@@ -2589,8 +2655,8 @@ module Stripe
|
|
|
2589
2655
|
end
|
|
2590
2656
|
end
|
|
2591
2657
|
|
|
2592
|
-
class Shipping < Stripe::StripeObject
|
|
2593
|
-
class Address < Stripe::StripeObject
|
|
2658
|
+
class Shipping < ::Stripe::StripeObject
|
|
2659
|
+
class Address < ::Stripe::StripeObject
|
|
2594
2660
|
# City, district, suburb, town, or village.
|
|
2595
2661
|
attr_reader :city
|
|
2596
2662
|
# Two-letter country code ([ISO 3166-1 alpha-2](https://en.wikipedia.org/wiki/ISO_3166-1_alpha-2)).
|
|
@@ -2632,7 +2698,7 @@ module Stripe
|
|
|
2632
2698
|
end
|
|
2633
2699
|
end
|
|
2634
2700
|
|
|
2635
|
-
class TransferData < Stripe::StripeObject
|
|
2701
|
+
class TransferData < ::Stripe::StripeObject
|
|
2636
2702
|
# The amount transferred to the destination account. This transfer will occur automatically after the payment succeeds. If no amount is specified, by default the entire payment amount is transferred to the destination account.
|
|
2637
2703
|
# The amount must be less than or equal to the [amount](https://stripe.com/docs/api/payment_intents/object#payment_intent_object-amount), and must be a positive integer
|
|
2638
2704
|
# representing how much to transfer in the smallest currency unit (e.g., 100 cents to charge $1.00).
|
|
@@ -2706,6 +2772,8 @@ module Stripe
|
|
|
2706
2772
|
attr_reader :object
|
|
2707
2773
|
# The account (if any) for which the funds of the PaymentIntent are intended. See the PaymentIntents [use case for connected accounts](https://stripe.com/docs/payments/connected-accounts) for details.
|
|
2708
2774
|
attr_reader :on_behalf_of
|
|
2775
|
+
# Attribute for field payment_details
|
|
2776
|
+
attr_reader :payment_details
|
|
2709
2777
|
# ID of the payment method used in this PaymentIntent.
|
|
2710
2778
|
attr_reader :payment_method
|
|
2711
2779
|
# Information about the [payment method configuration](https://stripe.com/docs/api/payment_method_configurations) used for this PaymentIntent.
|
|
@@ -3041,6 +3109,7 @@ module Stripe
|
|
|
3041
3109
|
automatic_payment_methods: AutomaticPaymentMethods,
|
|
3042
3110
|
last_payment_error: LastPaymentError,
|
|
3043
3111
|
next_action: NextAction,
|
|
3112
|
+
payment_details: PaymentDetails,
|
|
3044
3113
|
payment_method_configuration_details: PaymentMethodConfigurationDetails,
|
|
3045
3114
|
payment_method_options: PaymentMethodOptions,
|
|
3046
3115
|
presentment_details: PresentmentDetails,
|