@@ -155,6 +155,7 @@ func addV1ResourcesCmds(rootCmd *cobra.Command) {
155155 rIssuingTransactionsCmd := resource.NewResourceCmd(nsIssuingCmd.Cmd, "transactions")
156156 rIssuingTransactionsTestHelpersCmd := resource.NewResourceCmd(rIssuingTransactionsCmd.Cmd, "test_helpers")
157157 rRadarEarlyFraudWarningsCmd := resource.NewResourceCmd(nsRadarCmd.Cmd, "early_fraud_warnings")
158+ rRadarPaymentEvaluationsCmd := resource.NewResourceCmd(nsRadarCmd.Cmd, "payment_evaluations")
158159 rRadarValueListItemsCmd := resource.NewResourceCmd(nsRadarCmd.Cmd, "value_list_items")
159160 rRadarValueListsCmd := resource.NewResourceCmd(nsRadarCmd.Cmd, "value_lists")
160161 rReportingReportRunsCmd := resource.NewResourceCmd(nsReportingCmd.Cmd, "report_runs")
@@ -1621,14 +1622,15 @@ func addV1ResourcesCmds(rootCmd *cobra.Command) {
16211622 "cancellation_reason": "string",
16221623 }, map[string][]spec.StripeEnumValue{}, &Config, false)
16231624 resource.NewOperationCmd(rPaymentIntentsCmd.Cmd, "capture", "/v1/payment_intents/{intent}/capture", http.MethodPost, map[string]string{
1624- "amount_details.discount_amount": "integer",
1625- "amount_to_capture": "integer",
1626- "application_fee_amount": "integer",
1627- "final_capture": "boolean",
1628- "hooks.inputs.tax.calculation": "string",
1629- "statement_descriptor": "string",
1630- "statement_descriptor_suffix": "string",
1631- "transfer_data.amount": "integer",
1625+ "amount_details.discount_amount": "integer",
1626+ "amount_details.enforce_arithmetic_validation": "boolean",
1627+ "amount_to_capture": "integer",
1628+ "application_fee_amount": "integer",
1629+ "final_capture": "boolean",
1630+ "hooks.inputs.tax.calculation": "string",
1631+ "statement_descriptor": "string",
1632+ "statement_descriptor_suffix": "string",
1633+ "transfer_data.amount": "integer",
16321634 }, map[string][]spec.StripeEnumValue{}, &Config, false)
16331635 resource.NewOperationCmd(rPaymentIntentsCmd.Cmd, "confirm", "/v1/payment_intents/{intent}/confirm", http.MethodPost, map[string]string{
16341636 "capture_method": "string",
@@ -1687,30 +1689,31 @@ func addV1ResourcesCmds(rootCmd *cobra.Command) {
16871689 "use_stripe_sdk": "boolean",
16881690 }, map[string][]spec.StripeEnumValue{}, &Config, false)
16891691 resource.NewOperationCmd(rPaymentIntentsCmd.Cmd, "create", "/v1/payment_intents", http.MethodPost, map[string]string{
1690- "amount": "integer",
1691- "amount_details.discount_amount": "integer",
1692- "application_fee_amount": "integer",
1693- "automatic_payment_methods.allow_redirects": "string",
1694- "automatic_payment_methods.enabled": "boolean",
1695- "capture_method": "string",
1696- "confirm": "boolean",
1697- "confirmation_method": "string",
1698- "confirmation_token": "string",
1699- "currency": "string",
1700- "customer": "string",
1701- "customer_account": "string",
1702- "description": "string",
1703- "error_on_requires_action": "boolean",
1704- "excluded_payment_method_types": "array",
1705- "hooks.inputs.tax.calculation": "string",
1706- "mandate": "string",
1707- "off_session": "boolean",
1708- "on_behalf_of": "string",
1709- "payment_details.customer_reference": "string",
1710- "payment_details.order_reference": "string",
1711- "payment_method": "string",
1712- "payment_method_configuration": "string",
1713- "payment_method_data.acss_debit.account_number": "string",
1692+ "amount": "integer",
1693+ "amount_details.discount_amount": "integer",
1694+ "amount_details.enforce_arithmetic_validation": "boolean",
1695+ "application_fee_amount": "integer",
1696+ "automatic_payment_methods.allow_redirects": "string",
1697+ "automatic_payment_methods.enabled": "boolean",
1698+ "capture_method": "string",
1699+ "confirm": "boolean",
1700+ "confirmation_method": "string",
1701+ "confirmation_token": "string",
1702+ "currency": "string",
1703+ "customer": "string",
1704+ "customer_account": "string",
1705+ "description": "string",
1706+ "error_on_requires_action": "boolean",
1707+ "excluded_payment_method_types": "array",
1708+ "hooks.inputs.tax.calculation": "string",
1709+ "mandate": "string",
1710+ "off_session": "boolean",
1711+ "on_behalf_of": "string",
1712+ "payment_details.customer_reference": "string",
1713+ "payment_details.order_reference": "string",
1714+ "payment_method": "string",
1715+ "payment_method_configuration": "string",
1716+ "payment_method_data.acss_debit.account_number": "string",
17141717 "payment_method_data.acss_debit.institution_number": "string",
17151718 "payment_method_data.acss_debit.transit_number": "string",
17161719 "payment_method_data.allow_redisplay": "string",
@@ -1773,15 +1776,16 @@ func addV1ResourcesCmds(rootCmd *cobra.Command) {
17731776 "use_stripe_sdk": "boolean",
17741777 }, map[string][]spec.StripeEnumValue{}, &Config, false)
17751778 resource.NewOperationCmd(rPaymentIntentsCmd.Cmd, "increment_authorization", "/v1/payment_intents/{intent}/increment_authorization", http.MethodPost, map[string]string{
1776- "amount": "integer",
1777- "amount_details.discount_amount": "integer",
1778- "application_fee_amount": "integer",
1779- "description": "string",
1780- "hooks.inputs.tax.calculation": "string",
1781- "payment_details.customer_reference": "string",
1782- "payment_details.order_reference": "string",
1783- "statement_descriptor": "string",
1784- "transfer_data.amount": "integer",
1779+ "amount": "integer",
1780+ "amount_details.discount_amount": "integer",
1781+ "amount_details.enforce_arithmetic_validation": "boolean",
1782+ "application_fee_amount": "integer",
1783+ "description": "string",
1784+ "hooks.inputs.tax.calculation": "string",
1785+ "payment_details.customer_reference": "string",
1786+ "payment_details.order_reference": "string",
1787+ "statement_descriptor": "string",
1788+ "transfer_data.amount": "integer",
17851789 }, map[string][]spec.StripeEnumValue{}, &Config, false)
17861790 resource.NewOperationCmd(rPaymentIntentsCmd.Cmd, "list", "/v1/payment_intents", http.MethodGet, map[string]string{
17871791 "created": "integer",
@@ -4712,6 +4716,39 @@ func addV1ResourcesCmds(rootCmd *cobra.Command) {
47124716 "starting_after": "string",
47134717 }, map[string][]spec.StripeEnumValue{}, &Config, false)
47144718 resource.NewOperationCmd(rRadarEarlyFraudWarningsCmd.Cmd, "retrieve", "/v1/radar/early_fraud_warnings/{early_fraud_warning}", http.MethodGet, map[string]string{}, map[string][]spec.StripeEnumValue{}, &Config, false)
4719+ resource.NewOperationCmd(rRadarPaymentEvaluationsCmd.Cmd, "create", "/v1/radar/payment_evaluations", http.MethodPost, map[string]string{
4720+ "client_device_metadata_details.radar_session": "string",
4721+ "customer_details.customer": "string",
4722+ "customer_details.customer_account": "string",
4723+ "customer_details.email": "string",
4724+ "customer_details.name": "string",
4725+ "customer_details.phone": "string",
4726+ "payment_details.amount": "integer",
4727+ "payment_details.currency": "string",
4728+ "payment_details.description": "string",
4729+ "payment_details.money_movement_details.card.customer_presence": "string",
4730+ "payment_details.money_movement_details.card.payment_type": "string",
4731+ "payment_details.money_movement_details.money_movement_type": "string",
4732+ "payment_details.payment_method_details.billing_details.address.city": "string",
4733+ "payment_details.payment_method_details.billing_details.address.country": "string",
4734+ "payment_details.payment_method_details.billing_details.address.line1": "string",
4735+ "payment_details.payment_method_details.billing_details.address.line2": "string",
4736+ "payment_details.payment_method_details.billing_details.address.postal_code": "string",
4737+ "payment_details.payment_method_details.billing_details.address.state": "string",
4738+ "payment_details.payment_method_details.billing_details.email": "string",
4739+ "payment_details.payment_method_details.billing_details.name": "string",
4740+ "payment_details.payment_method_details.billing_details.phone": "string",
4741+ "payment_details.payment_method_details.payment_method": "string",
4742+ "payment_details.shipping_details.address.city": "string",
4743+ "payment_details.shipping_details.address.country": "string",
4744+ "payment_details.shipping_details.address.line1": "string",
4745+ "payment_details.shipping_details.address.line2": "string",
4746+ "payment_details.shipping_details.address.postal_code": "string",
4747+ "payment_details.shipping_details.address.state": "string",
4748+ "payment_details.shipping_details.name": "string",
4749+ "payment_details.shipping_details.phone": "string",
4750+ "payment_details.statement_descriptor": "string",
4751+ }, map[string][]spec.StripeEnumValue{}, &Config, false)
47154752 resource.NewOperationCmd(rRadarValueListItemsCmd.Cmd, "create", "/v1/radar/value_list_items", http.MethodPost, map[string]string{
47164753 "value": "string",
47174754 "value_list": "string",
@@ -5980,6 +6017,7 @@ func addV2ResourcesCmds(rootCmd *cobra.Command) {
59806017 }, map[string][]spec.StripeEnumValue{}, &Config, false)
59816018 resource.NewOperationCmd(rCoreAccountTokensCmd.Cmd, "create", "/v2/core/account_tokens", http.MethodPost, map[string]string{
59826019 "contact_email": "string",
6020+ "contact_phone": "string",
59836021 "display_name": "string",
59846022 "identity.attestations.directorship_declaration.attested": "boolean",
59856023 "identity.attestations.ownership_declaration.attested": "boolean",
@@ -6025,6 +6063,9 @@ func addV2ResourcesCmds(rootCmd *cobra.Command) {
60256063 "identity.business_details.monthly_estimated_revenue.amount.value": "integer",
60266064 "identity.business_details.phone": "string",
60276065 "identity.business_details.registered_name": "string",
6066+ "identity.business_details.registration_date.day": "integer",
6067+ "identity.business_details.registration_date.month": "integer",
6068+ "identity.business_details.registration_date.year": "integer",
60286069 "identity.business_details.script_addresses.kana.city": "string",
60296070 "identity.business_details.script_addresses.kana.country": "string",
60306071 "identity.business_details.script_addresses.kana.line1": "string",
@@ -6193,6 +6234,7 @@ func addV2ResourcesCmds(rootCmd *cobra.Command) {
61936234 "configuration.merchant.support.url": "string",
61946235 "configuration.recipient.capabilities.stripe_balance.stripe_transfers.requested": "boolean",
61956236 "contact_email": "string",
6237+ "contact_phone": "string",
61966238 "dashboard": "string",
61976239 "defaults.currency": "string",
61986240 "defaults.locales": "array",
@@ -6254,6 +6296,9 @@ func addV2ResourcesCmds(rootCmd *cobra.Command) {
62546296 "identity.business_details.monthly_estimated_revenue.amount.value": "integer",
62556297 "identity.business_details.phone": "string",
62566298 "identity.business_details.registered_name": "string",
6299+ "identity.business_details.registration_date.day": "integer",
6300+ "identity.business_details.registration_date.month": "integer",
6301+ "identity.business_details.registration_date.year": "integer",
62576302 "identity.business_details.script_addresses.kana.city": "string",
62586303 "identity.business_details.script_addresses.kana.country": "string",
62596304 "identity.business_details.script_addresses.kana.line1": "string",
@@ -6434,6 +6479,7 @@ func addV2ResourcesCmds(rootCmd *cobra.Command) {
64346479 "configuration.recipient.applied": "boolean",
64356480 "configuration.recipient.capabilities.stripe_balance.stripe_transfers.requested": "boolean",
64366481 "contact_email": "string",
6482+ "contact_phone": "string",
64376483 "dashboard": "string",
64386484 "defaults.currency": "string",
64396485 "defaults.locales": "array",
@@ -6501,6 +6547,9 @@ func addV2ResourcesCmds(rootCmd *cobra.Command) {
65016547 "identity.business_details.monthly_estimated_revenue.amount.value": "integer",
65026548 "identity.business_details.phone": "string",
65036549 "identity.business_details.registered_name": "string",
6550+ "identity.business_details.registration_date.day": "integer",
6551+ "identity.business_details.registration_date.month": "integer",
6552+ "identity.business_details.registration_date.year": "integer",
65046553 "identity.business_details.script_addresses.kana.city": "string",
65056554 "identity.business_details.script_addresses.kana.country": "string",
65066555 "identity.business_details.script_addresses.kana.line1": "string",
@@ -7075,6 +7124,9 @@ func addV2PreviewResourcesCmds(rootCmd *cobra.Command) {
70757124 "identity.business_details.monthly_estimated_revenue.amount.value": "integer",
70767125 "identity.business_details.phone": "string",
70777126 "identity.business_details.registered_name": "string",
7127+ "identity.business_details.registration_date.day": "integer",
7128+ "identity.business_details.registration_date.month": "integer",
7129+ "identity.business_details.registration_date.year": "integer",
70787130 "identity.business_details.script_addresses.kana.city": "string",
70797131 "identity.business_details.script_addresses.kana.country": "string",
70807132 "identity.business_details.script_addresses.kana.line1": "string",
@@ -7321,6 +7373,9 @@ func addV2PreviewResourcesCmds(rootCmd *cobra.Command) {
73217373 "identity.business_details.monthly_estimated_revenue.amount.value": "integer",
73227374 "identity.business_details.phone": "string",
73237375 "identity.business_details.registered_name": "string",
7376+ "identity.business_details.registration_date.day": "integer",
7377+ "identity.business_details.registration_date.month": "integer",
7378+ "identity.business_details.registration_date.year": "integer",
73247379 "identity.business_details.script_addresses.kana.city": "string",
73257380 "identity.business_details.script_addresses.kana.country": "string",
73267381 "identity.business_details.script_addresses.kana.line1": "string",
@@ -7584,6 +7639,9 @@ func addV2PreviewResourcesCmds(rootCmd *cobra.Command) {
75847639 "identity.business_details.monthly_estimated_revenue.amount.value": "integer",
75857640 "identity.business_details.phone": "string",
75867641 "identity.business_details.registered_name": "string",
7642+ "identity.business_details.registration_date.day": "integer",
7643+ "identity.business_details.registration_date.month": "integer",
7644+ "identity.business_details.registration_date.year": "integer",
75877645 "identity.business_details.script_addresses.kana.city": "string",
75887646 "identity.business_details.script_addresses.kana.country": "string",
75897647 "identity.business_details.script_addresses.kana.line1": "string",
0 commit comments