From ebd9823c44929b5aa3a66f385279abbbdbe25216 Mon Sep 17 00:00:00 2001 From: Stripe OpenAPI <105521251+stripe-openapi[bot]@users.noreply.github.com> Date: Fri, 14 Feb 2025 22:35:07 +0000 Subject: [PATCH] Update OpenAPI for d23737f09205988a9b30c20fbb505c2645aab27a --- api/openapi-spec/spec3.sdk.json | 639 +++++++++++++++++++++++++++----- pkg/cmd/resources_cmds.go | 17 +- 2 files changed, 558 insertions(+), 98 deletions(-) diff --git a/api/openapi-spec/spec3.sdk.json b/api/openapi-spec/spec3.sdk.json index 56b521c1..ec104365 100644 --- a/api/openapi-spec/spec3.sdk.json +++ b/api/openapi-spec/spec3.sdk.json @@ -3571,15 +3571,15 @@ "description": "", "properties": { "bank_account": { - "description": "Amount for bank account.", + "description": "Amount coming from [legacy US ACH payments](https://docs.stripe.com/ach-deprecated).", "type": "integer" }, "card": { - "description": "Amount for card.", + "description": "Amount coming from most payment methods, including cards as well as [non-legacy bank debits](https://docs.stripe.com/payments/bank-debits).", "type": "integer" }, "fpx": { - "description": "Amount for FPX.", + "description": "Amount coming from [FPX](https://docs.stripe.com/payments/fpx), a Malaysian payment method.", "type": "integer" } }, @@ -5053,6 +5053,11 @@ ], "type": "string" }, + "priority": { + "description": "The priority for applying this credit grant. The highest priority is 0 and the lowest is 100.", + "nullable": true, + "type": "integer" + }, "test_clock": { "anyOf": [ { @@ -5124,6 +5129,7 @@ "metadata", "name", "object", + "priority", "test_clock", "updated", "voided_at" @@ -5496,7 +5502,7 @@ } }, "billing.meter_event_summary": { - "description": "A billing meter event summary represents an aggregated view of a customer's billing meter events within a specified timeframe. It indicates how much\nusage was accrued by a customer for that period.", + "description": "A billing meter event summary represents an aggregated view of a customer's billing meter events within a specified timeframe. It indicates how much\nusage was accrued by a customer for that period.\n\nNote: Meters events are aggregated asynchronously so the meter event summaries provide an eventually consistent view of the reported usage.", "properties": { "aggregated_value": { "description": "Aggregated value of all the events within `start_time` (inclusive) and `end_time` (inclusive). The aggregation strategy is defined on meter via `default_aggregation`.", @@ -5659,6 +5665,26 @@ "scope" ] }, + "billing_credit_grants_resource_applicable_price": { + "description": "", + "properties": { + "id": { + "description": "Unique identifier for the object.", + "maxLength": 5000, + "nullable": true, + "type": "string" + } + }, + "required": [ + "id" + ], + "title": "BillingCreditGrantsResourceApplicablePrice", + "type": "object", + "x-expandableFields": [], + "x-stripeMostCommon": [ + "id" + ] + }, "billing_credit_grants_resource_balance_credit": { "description": "", "properties": { @@ -5860,16 +5886,23 @@ "metered" ], "type": "string" + }, + "prices": { + "description": "The prices that credit grants can apply to. We currently only support `metered` prices. This refers to prices that have a [Billing Meter](https://docs.stripe.com/api/billing/meter) attached to them.", + "items": { + "$ref": "#/components/schemas/billing_credit_grants_resource_applicable_price" + }, + "type": "array" } }, - "required": [ - "price_type" - ], "title": "BillingCreditGrantsResourceScope", "type": "object", - "x-expandableFields": [], + "x-expandableFields": [ + "prices" + ], "x-stripeMostCommon": [ - "price_type" + "price_type", + "prices" ] }, "billing_details": { @@ -8173,6 +8206,15 @@ "nullable": true, "type": "string" }, + "collected_information": { + "anyOf": [ + { + "$ref": "#/components/schemas/payment_pages_checkout_session_collected_information" + } + ], + "description": "Information about the customer collected within the Checkout Session.", + "nullable": true + }, "consent": { "anyOf": [ { @@ -8711,6 +8753,7 @@ "customer_creation", "customer_details", "customer_email", + "discounts", "expires_at", "id", "invoice", @@ -8748,6 +8791,7 @@ "adaptive_pricing", "after_expiration", "automatic_tax", + "collected_information", "consent", "consent_collection", "currency_conversion", @@ -8990,6 +9034,11 @@ ], "type": "string" }, + "target_date": { + "description": "Controls when Stripe will attempt to debit the funds from the customer's account. The date must be a string in YYYY-MM-DD format. The date must be in the future and between 3 and 15 calendar days from now.", + "maxLength": 5000, + "type": "string" + }, "verification_method": { "description": "Bank account verification method.", "enum": [ @@ -9010,6 +9059,7 @@ "currency", "mandate_options", "setup_future_usage", + "target_date", "verification_method" ] }, @@ -9099,13 +9149,19 @@ "none" ], "type": "string" + }, + "target_date": { + "description": "Controls when Stripe will attempt to debit the funds from the customer's account. The date must be a string in YYYY-MM-DD format. The date must be in the future and between 3 and 15 calendar days from now.", + "maxLength": 5000, + "type": "string" } }, "title": "CheckoutAuBecsDebitPaymentMethodOptions", "type": "object", "x-expandableFields": [], "x-stripeMostCommon": [ - "setup_future_usage" + "setup_future_usage", + "target_date" ] }, "checkout_bacs_debit_payment_method_options": { @@ -9122,6 +9178,11 @@ "on_session" ], "type": "string" + }, + "target_date": { + "description": "Controls when Stripe will attempt to debit the funds from the customer's account. The date must be a string in YYYY-MM-DD format. The date must be in the future and between 3 and 15 calendar days from now.", + "maxLength": 5000, + "type": "string" } }, "title": "CheckoutBacsDebitPaymentMethodOptions", @@ -9131,7 +9192,8 @@ ], "x-stripeMostCommon": [ "mandate_options", - "setup_future_usage" + "setup_future_usage", + "target_date" ] }, "checkout_bancontact_payment_method_options": { @@ -9243,6 +9305,9 @@ "type": "string", "x-stripeBypassValidation": true }, + "restrictions": { + "$ref": "#/components/schemas/payment_pages_private_card_payment_method_options_resource_restrictions" + }, "setup_future_usage": { "description": "Indicates that you intend to make future payments with this PaymentIntent's payment method.\n\nIf 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.\n\nIf the payment method is `card_present` and isn't a digital wallet, Stripe creates and attaches a [generated_card](/api/charges/object#charge_object-payment_method_details-card_present-generated_card) payment method representing the card to the Customer instead.\n\nWhen processing card payments, Stripe uses `setup_future_usage` to help you comply with regional legislation and network rules, such as [SCA](/strong-customer-authentication).", "enum": [ @@ -9269,7 +9334,8 @@ "title": "CheckoutCardPaymentMethodOptions", "type": "object", "x-expandableFields": [ - "installments" + "installments", + "restrictions" ], "x-stripeMostCommon": [ "installments", @@ -9278,6 +9344,7 @@ "request_multicapture", "request_overcapture", "request_three_d_secure", + "restrictions", "setup_future_usage", "statement_descriptor_suffix_kana", "statement_descriptor_suffix_kanji" @@ -9887,6 +9954,11 @@ "on_session" ], "type": "string" + }, + "target_date": { + "description": "Controls when Stripe will attempt to debit the funds from the customer's account. The date must be a string in YYYY-MM-DD format. The date must be in the future and between 3 and 15 calendar days from now.", + "maxLength": 5000, + "type": "string" } }, "title": "CheckoutSepaDebitPaymentMethodOptions", @@ -9896,7 +9968,8 @@ ], "x-stripeMostCommon": [ "mandate_options", - "setup_future_usage" + "setup_future_usage", + "target_date" ] }, "checkout_session_payment_method_options": { @@ -10148,6 +10221,11 @@ ], "type": "string" }, + "target_date": { + "description": "Controls when Stripe will attempt to debit the funds from the customer's account. The date must be a string in YYYY-MM-DD format. The date must be in the future and between 3 and 15 calendar days from now.", + "maxLength": 5000, + "type": "string" + }, "verification_method": { "description": "Bank account verification method.", "enum": [ @@ -10166,6 +10244,7 @@ "x-stripeMostCommon": [ "financial_connections", "setup_future_usage", + "target_date", "verification_method" ] }, @@ -11669,7 +11748,7 @@ "$ref": "#/components/schemas/connect_embedded_account_config_claim" }, "balances": { - "$ref": "#/components/schemas/connect_embedded_payouts_config_claim" + "$ref": "#/components/schemas/connect_embedded_payouts_config" }, "documents": { "$ref": "#/components/schemas/connect_embedded_base_config_claim" @@ -11696,7 +11775,7 @@ "$ref": "#/components/schemas/connect_embedded_payments_config_claim" }, "payouts": { - "$ref": "#/components/schemas/connect_embedded_payouts_config_claim" + "$ref": "#/components/schemas/connect_embedded_payouts_config" }, "payouts_list": { "$ref": "#/components/schemas/connect_embedded_base_config_claim" @@ -12139,7 +12218,7 @@ "in_package": "" } }, - "connect_embedded_payouts_config_claim": { + "connect_embedded_payouts_config": { "description": "", "properties": { "enabled": { @@ -12154,7 +12233,7 @@ "enabled", "features" ], - "title": "ConnectEmbeddedPayoutsConfigClaim", + "title": "ConnectEmbeddedPayoutsConfig", "type": "object", "x-expandableFields": [ "features" @@ -19835,7 +19914,8 @@ "link", "us_bank_account" ], - "type": "string" + "type": "string", + "x-stripeBypassValidation": true }, "type": "array" }, @@ -20763,7 +20843,8 @@ "cardholder_name", "request_signature" ], - "type": "string" + "type": "string", + "x-stripeBypassValidation": true }, "type": "array" }, @@ -24881,6 +24962,26 @@ "in_package": "" } }, + "invoice_setting_checkout_rendering_options": { + "description": "", + "properties": { + "amount_tax_display": { + "description": "How line-item prices and amounts will be displayed with respect to tax on invoice PDFs.", + "maxLength": 5000, + "nullable": true, + "type": "string" + } + }, + "required": [ + "amount_tax_display" + ], + "title": "invoice_setting_checkout_rendering_options", + "type": "object", + "x-expandableFields": [], + "x-stripeMostCommon": [ + "amount_tax_display" + ] + }, "invoice_setting_custom_field": { "description": "", "properties": { @@ -25028,26 +25129,6 @@ "issuer" ] }, - "invoice_setting_rendering_options": { - "description": "", - "properties": { - "amount_tax_display": { - "description": "How line-item prices and amounts will be displayed with respect to tax on invoice PDFs.", - "maxLength": 5000, - "nullable": true, - "type": "string" - } - }, - "required": [ - "amount_tax_display" - ], - "title": "InvoiceSettingRenderingOptions", - "type": "object", - "x-expandableFields": [], - "x-stripeMostCommon": [ - "amount_tax_display" - ] - }, "invoice_setting_subscription_schedule_phase_setting": { "description": "", "properties": { @@ -35644,7 +35725,7 @@ "description": "", "properties": { "available": { - "description": "All available networks for the card.", + "description": "All networks available for selection via [payment_method_options.card.network](/api/payment_intents/confirm#confirm_payment_intent-payment_method_options-card-network).", "items": { "maxLength": 5000, "type": "string" @@ -38652,6 +38733,11 @@ ], "type": "string" }, + "target_date": { + "description": "Controls when Stripe will attempt to debit the funds from the customer's account. The date must be a string in YYYY-MM-DD format. The date must be in the future and between 3 and 15 calendar days from now.", + "maxLength": 5000, + "type": "string" + }, "verification_method": { "description": "Bank account verification method.", "enum": [ @@ -38671,6 +38757,7 @@ "x-stripeMostCommon": [ "mandate_options", "setup_future_usage", + "target_date", "verification_method" ] }, @@ -38685,13 +38772,19 @@ "on_session" ], "type": "string" + }, + "target_date": { + "description": "Controls when Stripe will attempt to debit the funds from the customer's account. The date must be a string in YYYY-MM-DD format. The date must be in the future and between 3 and 15 calendar days from now.", + "maxLength": 5000, + "type": "string" } }, "title": "payment_intent_payment_method_options_au_becs_debit", "type": "object", "x-expandableFields": [], "x-stripeMostCommon": [ - "setup_future_usage" + "setup_future_usage", + "target_date" ] }, "payment_intent_payment_method_options_bacs_debit": { @@ -38708,6 +38801,11 @@ "on_session" ], "type": "string" + }, + "target_date": { + "description": "Controls when Stripe will attempt to debit the funds from the customer's account. The date must be a string in YYYY-MM-DD format. The date must be in the future and between 3 and 15 calendar days from now.", + "maxLength": 5000, + "type": "string" } }, "title": "payment_intent_payment_method_options_bacs_debit", @@ -38717,7 +38815,8 @@ ], "x-stripeMostCommon": [ "mandate_options", - "setup_future_usage" + "setup_future_usage", + "target_date" ] }, "payment_intent_payment_method_options_blik": { @@ -39066,6 +39165,11 @@ "on_session" ], "type": "string" + }, + "target_date": { + "description": "Controls when Stripe will attempt to debit the funds from the customer's account. The date must be a string in YYYY-MM-DD format. The date must be in the future and between 3 and 15 calendar days from now.", + "maxLength": 5000, + "type": "string" } }, "title": "payment_intent_payment_method_options_sepa_debit", @@ -39075,7 +39179,8 @@ ], "x-stripeMostCommon": [ "mandate_options", - "setup_future_usage" + "setup_future_usage", + "target_date" ] }, "payment_intent_payment_method_options_swish": { @@ -39132,6 +39237,11 @@ ], "type": "string" }, + "target_date": { + "description": "Controls when Stripe will attempt to debit the funds from the customer's account. The date must be a string in YYYY-MM-DD format. The date must be in the future and between 3 and 15 calendar days from now.", + "maxLength": 5000, + "type": "string" + }, "verification_method": { "description": "Bank account verification method.", "enum": [ @@ -39154,6 +39264,7 @@ "mandate_options", "preferred_settlement_speed", "setup_future_usage", + "target_date", "verification_method" ] }, @@ -40290,7 +40401,7 @@ "rendering_options": { "anyOf": [ { - "$ref": "#/components/schemas/invoice_setting_rendering_options" + "$ref": "#/components/schemas/invoice_setting_checkout_rendering_options" } ], "description": "Options for invoice PDF rendering.", @@ -41949,7 +42060,7 @@ "description": "", "properties": { "available": { - "description": "All available networks for the card.", + "description": "All networks available for selection via [payment_method_options.card.network](/api/payment_intents/confirm#confirm_payment_intent-payment_method_options-card-network).", "items": { "maxLength": 5000, "type": "string" @@ -42732,7 +42843,7 @@ "$ref": "#/components/schemas/payment_method_details_twint" }, "type": { - "description": "The type of transaction-specific details of the payment method used in the payment, one of `ach_credit_transfer`, `ach_debit`, `acss_debit`, `alipay`, `au_becs_debit`, `bancontact`, `card`, `card_present`, `eps`, `giropay`, `ideal`, `klarna`, `multibanco`, `p24`, `sepa_debit`, `sofort`, `stripe_account`, or `wechat`.\nAn additional hash is included on `payment_method_details` with a name matching this value.\nIt contains information specific to the payment method.", + "description": "The type of transaction-specific details of the payment method used in the payment. See [PaymentMethod.type](https://stripe.com/docs/api/payment_methods/object#payment_method_object-type) for the full list of possible types.\nAn additional hash is included on `payment_method_details` with a name matching this value.\nIt contains information specific to the payment method.", "maxLength": 5000, "type": "string" }, @@ -43464,7 +43575,7 @@ "nullable": true }, "network_transaction_id": { - "description": "This is used by the financial networks to identify a transaction. Visa calls this the Transaction ID, Mastercard calls this the Trace ID, and American Express calls this the Acquirer Reference Data. The first three digits of the Trace ID is the Financial Network Code, the next 6 digits is the Banknet Reference Number, and the last 4 digits represent the date (MM/DD). This field will be available for successful Visa, Mastercard, or American Express transactions and always null for other card brands.", + "description": "This is used by the financial networks to identify a transaction. Visa calls this the Transaction ID, Mastercard calls this the Trace ID, and American Express calls this the Acquirer Reference Data. This value will be present if it is returned by the financial network in the authorization response, and null otherwise.", "maxLength": 5000, "nullable": true, "type": "string" @@ -43783,7 +43894,7 @@ "type": "string" }, "network_transaction_id": { - "description": "This is used by the financial networks to identify a transaction. Visa calls this the Transaction ID, Mastercard calls this the Trace ID, and American Express calls this the Acquirer Reference Data. The first three digits of the Trace ID is the Financial Network Code, the next 6 digits is the Banknet Reference Number, and the last 4 digits represent the date (MM/DD). This field will be available for successful Visa, Mastercard, or American Express transactions and always null for other card brands.", + "description": "This is used by the financial networks to identify a transaction. Visa calls this the Transaction ID, Mastercard calls this the Trace ID, and American Express calls this the Acquirer Reference Data. This value will be present if it is returned by the financial network in the authorization response, and null otherwise.", "maxLength": 5000, "nullable": true, "type": "string" @@ -44653,7 +44764,7 @@ "type": "string" }, "network_transaction_id": { - "description": "This is used by the financial networks to identify a transaction. Visa calls this the Transaction ID, Mastercard calls this the Trace ID, and American Express calls this the Acquirer Reference Data. The first three digits of the Trace ID is the Financial Network Code, the next 6 digits is the Banknet Reference Number, and the last 4 digits represent the date (MM/DD). This field will be available for successful Visa, Mastercard, or American Express transactions and always null for other card brands.", + "description": "This is used by the financial networks to identify a transaction. Visa calls this the Transaction ID, Mastercard calls this the Trace ID, and American Express calls this the Acquirer Reference Data. This value will be present if it is returned by the financial network in the authorization response, and null otherwise.", "maxLength": 5000, "nullable": true, "type": "string" @@ -48097,6 +48208,28 @@ "status" ] }, + "payment_pages_checkout_session_collected_information": { + "description": "", + "properties": { + "shipping_details": { + "anyOf": [ + { + "$ref": "#/components/schemas/shipping" + } + ], + "description": "Shipping information for this Checkout Session.", + "nullable": true + } + }, + "title": "PaymentPagesCheckoutSessionCollectedInformation", + "type": "object", + "x-expandableFields": [ + "shipping_details" + ], + "x-stripeMostCommon": [ + "shipping_details" + ] + }, "payment_pages_checkout_session_consent": { "description": "", "properties": { @@ -48773,7 +48906,7 @@ "rendering_options": { "anyOf": [ { - "$ref": "#/components/schemas/invoice_setting_rendering_options" + "$ref": "#/components/schemas/invoice_setting_checkout_rendering_options" } ], "description": "Options for invoice PDF rendering.", @@ -49492,6 +49625,34 @@ "taxes" ] }, + "payment_pages_private_card_payment_method_options_resource_restrictions": { + "description": "", + "properties": { + "brands_blocked": { + "description": "Specify the card brands to block in the Checkout Session. If a customer enters or selects a card belonging to a blocked brand, they can't complete the Session.", + "items": { + "enum": [ + "american_express", + "discover_global_network", + "mastercard", + "visa" + ], + "type": "string" + }, + "type": "array" + } + }, + "title": "PaymentPagesPrivateCardPaymentMethodOptionsResourceRestrictions", + "type": "object", + "x-expandableFields": [], + "x-stripeMostCommon": [ + "brands_blocked" + ], + "x-stripeResource": { + "class_name": "CheckoutCardRestrictions", + "in_package": "" + } + }, "payment_source": { "anyOf": [ { @@ -55028,6 +55189,7 @@ } }, "required": [ + "network_decline_code", "reference", "reference_status" ], @@ -55300,6 +55462,7 @@ } }, "required": [ + "network_decline_code", "reference", "reference_status" ], @@ -55771,7 +55934,8 @@ "refunded_as_fraud" ], "nullable": true, - "type": "string" + "type": "string", + "x-stripeBypassValidation": true }, "created": { "description": "Time at which the object was created. Measured in seconds since the Unix epoch.", @@ -65548,7 +65712,7 @@ "type": "string" }, "state": { - "description": "[ISO 3166-2 subdivision code](https://en.wikipedia.org/wiki/ISO_3166-2:US), without country prefix. For example, \"NY\" for New York, United States.", + "description": "[ISO 3166-2 subdivision code](https://en.wikipedia.org/wiki/ISO_3166-2), without country prefix. For example, \"NY\" for New York, United States.", "maxLength": 5000, "nullable": true, "type": "string" @@ -66170,7 +66334,7 @@ ] }, "tax_rate": { - "description": "Tax rates can be applied to [invoices](https://stripe.com/docs/billing/invoices/tax-rates), [subscriptions](https://stripe.com/docs/billing/subscriptions/taxes) and [Checkout Sessions](https://stripe.com/docs/payments/checkout/set-up-a-subscription#tax-rates) to collect tax.\n\nRelated guide: [Tax rates](https://stripe.com/docs/billing/taxes/tax-rates)", + "description": "Tax rates can be applied to [invoices](/invoicing/taxes/tax-rates), [subscriptions](/billing/taxes/tax-rates) and [Checkout Sessions](/payments/checkout/use-manual-tax-rates) to collect tax.\n\nRelated guide: [Tax rates](/billing/taxes/tax-rates)", "properties": { "active": { "description": "Defaults to `true`. When set to `false`, this tax rate cannot be used with new applications or Checkout Sessions, but will still work for subscriptions and invoices that already have it set.", @@ -66274,7 +66438,7 @@ "type": "string" }, "state": { - "description": "[ISO 3166-2 subdivision code](https://en.wikipedia.org/wiki/ISO_3166-2:US), without country prefix. For example, \"NY\" for New York, United States.", + "description": "[ISO 3166-2 subdivision code](https://en.wikipedia.org/wiki/ISO_3166-2), without country prefix. For example, \"NY\" for New York, United States.", "maxLength": 5000, "nullable": true, "type": "string" @@ -68826,7 +68990,7 @@ "description": "", "properties": { "amount": { - "description": "Amount intended to be collected by this PaymentIntent. A positive integer representing how much to charge in the [smallest currency unit](https://stripe.com/docs/currencies#zero-decimal) (e.g., 100 cents to charge $1.00 or 100 to charge ¥100, a zero-decimal currency). The minimum amount is $0.50 US or [equivalent in charge currency](https://stripe.com/docs/currencies#minimum-and-maximum-charge-amounts). The amount value supports up to eight digits (e.g., a value of 99999999 for a USD charge of $999,999.99).", + "description": "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.\n 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\n representing how much to transfer in the smallest currency unit (e.g., 100 cents to charge $1.00).", "type": "integer" }, "destination": { @@ -68839,7 +69003,7 @@ "$ref": "#/components/schemas/account" } ], - "description": "The account (if any) that the payment is attributed to for tax\nreporting, and where funds from the payment are transferred to after\npayment success.", + "description": "The account (if any) that the payment is attributed to for tax reporting, and where funds from the payment are transferred to after payment success.", "x-expansionResources": { "oneOf": [ { @@ -73804,7 +73968,7 @@ "description": "The Stripe REST API. Please see https://stripe.com/docs/api for more details.", "termsOfService": "https://stripe.com/us/terms/", "title": "Stripe API", - "version": "2025-01-27.acacia", + "version": "2025-02-24.acacia", "x-stripeSpecFilename": "spec3.sdk" }, "openapi": "3.0.0", @@ -75072,7 +75236,9 @@ "type": "object", "x-stripeMostCommon": [ "annual_revenue", + "customer_regions", "estimated_worker_count", + "funding_source", "industry", "mcc", "monthly_estimated_revenue", @@ -75907,6 +76073,7 @@ "fpx_payments", "funding_credit", "gb_bank_transfer_payments", + "getbalance_payments", "giropay_payments", "gopay_payments", "grabpay_payments", @@ -75950,6 +76117,7 @@ "payments", "paynow_payments", "paypal_payments", + "paypay_payments", "payto_payments", "pix_payments", "promptpay_payments", @@ -77481,6 +77649,7 @@ "card_issuing_charge_card", "card_issuing_payout", "card_payments", + "crypto_payments", "funding_credit", "konbini_payments", "payments", @@ -77915,7 +78084,9 @@ "type": "object", "x-stripeMostCommon": [ "annual_revenue", + "customer_regions", "estimated_worker_count", + "funding_source", "industry", "mcc", "monthly_estimated_revenue", @@ -78750,6 +78921,7 @@ "fpx_payments", "funding_credit", "gb_bank_transfer_payments", + "getbalance_payments", "giropay_payments", "gopay_payments", "grabpay_payments", @@ -78793,6 +78965,7 @@ "payments", "paynow_payments", "paypal_payments", + "paypay_payments", "payto_payments", "pix_payments", "promptpay_payments", @@ -80269,6 +80442,7 @@ "card_issuing_charge_card", "card_issuing_payout", "card_payments", + "crypto_payments", "funding_credit", "invoices", "konbini_payments", @@ -81992,7 +82166,10 @@ }, "political_exposure": { "description": "Indicates if the person or any of their representatives, family members, or other closely related persons, declares that they hold or have held an important public job or function, in any jurisdiction.", - "maxLength": 5000, + "enum": [ + "existing", + "none" + ], "type": "string" }, "registered_address": { @@ -82872,7 +83049,10 @@ }, "political_exposure": { "description": "Indicates if the person or any of their representatives, family members, or other closely related persons, declares that they hold or have held an important public job or function, in any jurisdiction.", - "maxLength": 5000, + "enum": [ + "existing", + "none" + ], "type": "string" }, "registered_address": { @@ -85604,15 +85784,34 @@ "metered" ], "type": "string" + }, + "prices": { + "description": "A list of prices that the credit grant can apply to. We currently only support the `metered` prices.", + "items": { + "properties": { + "id": { + "description": "The price ID this credit grant should apply to.", + "maxLength": 5000, + "type": "string" + } + }, + "required": [ + "id" + ], + "title": "applicable_price_param", + "type": "object", + "x-stripeMostCommon": [ + "id" + ] + }, + "type": "array" } }, - "required": [ - "price_type" - ], "title": "scope_param", "type": "object", "x-stripeMostCommon": [ - "price_type" + "price_type", + "prices" ] }, "credit_grant": { @@ -86122,7 +86321,7 @@ ] }, "applicability_config": { - "description": "Configuration specifying what this credit grant applies to.", + "description": "Configuration specifying what this credit grant applies to. We currently only support `metered` prices that have a [Billing Meter](https://docs.stripe.com/api/billing/meter) attached to them.", "properties": { "scope": { "description": "Specify the scope of this applicability config.", @@ -86133,15 +86332,34 @@ "metered" ], "type": "string" + }, + "prices": { + "description": "A list of prices that the credit grant can apply to. We currently only support the `metered` prices.", + "items": { + "properties": { + "id": { + "description": "The price ID this credit grant should apply to.", + "maxLength": 5000, + "type": "string" + } + }, + "required": [ + "id" + ], + "title": "applicable_price_param", + "type": "object", + "x-stripeMostCommon": [ + "id" + ] + }, + "type": "array" } }, - "required": [ - "price_type" - ], "title": "scope_param", "type": "object", "x-stripeMostCommon": [ - "price_type" + "price_type", + "prices" ] } }, @@ -86196,6 +86414,10 @@ "description": "A descriptive name shown in the Dashboard.", "maxLength": 100, "type": "string" + }, + "priority": { + "description": "The desired priority for applying this credit grant. If not specified, it will be set to the default value of 50. The highest priority is 0 and the lowest is 100.", + "type": "integer" } }, "required": [ @@ -86213,7 +86435,8 @@ "effective_at", "expires_at", "metadata", - "name" + "name", + "priority" ] } } @@ -91415,11 +91638,12 @@ "type": "string" } }, - "title": "rendering_options_param", + "title": "checkout_rendering_options_param", "type": "object", "x-stripeMostCommon": [ "amount_tax_display", - "invoice_title" + "invoice_title", + "template" ] }, { @@ -92009,6 +92233,11 @@ ], "type": "string" }, + "target_date": { + "description": "Controls when Stripe will attempt to debit the funds from the customer's account. The date must be a string in YYYY-MM-DD format. The date must be in the future and between 3 and 15 calendar days from now.", + "maxLength": 5000, + "type": "string" + }, "verification_method": { "description": "Verification method for the intent", "enum": [ @@ -92109,6 +92338,11 @@ "none" ], "type": "string" + }, + "target_date": { + "description": "Controls when Stripe will attempt to debit the funds from the customer's account. The date must be a string in YYYY-MM-DD format. The date must be in the future and between 3 and 15 calendar days from now.", + "maxLength": 5000, + "type": "string" } }, "title": "payment_method_options_param", @@ -92154,6 +92388,11 @@ "on_session" ], "type": "string" + }, + "target_date": { + "description": "Controls when Stripe will attempt to debit the funds from the customer's account. The date must be a string in YYYY-MM-DD format. The date must be in the future and between 3 and 15 calendar days from now.", + "maxLength": 5000, + "type": "string" } }, "title": "payment_method_options_param", @@ -92264,6 +92503,29 @@ "type": "string", "x-stripeBypassValidation": true }, + "restrictions": { + "description": "Restrictions to apply to the card payment method. For example, you can block specific card brands.", + "properties": { + "brands_blocked": { + "description": "Specify the card brands to block in the Checkout Session. If a customer enters or selects a card belonging to a blocked brand, they can't complete the Session.", + "items": { + "enum": [ + "american_express", + "discover_global_network", + "mastercard", + "visa" + ], + "type": "string" + }, + "type": "array" + } + }, + "title": "restrictions_param", + "type": "object", + "x-stripeMostCommon": [ + "brands_blocked" + ] + }, "setup_future_usage": { "description": "Indicates that you intend to make future payments with this PaymentIntent's payment method.\n\nIf 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.\n\nIf the payment method is `card_present` and isn't a digital wallet, Stripe creates and attaches a [generated_card](/api/charges/object#charge_object-payment_method_details-card_present-generated_card) payment method representing the card to the Customer instead.\n\nWhen processing card payments, Stripe uses `setup_future_usage` to help you comply with regional legislation and network rules, such as [SCA](/strong-customer-authentication).", "enum": [ @@ -92909,6 +93171,11 @@ "on_session" ], "type": "string" + }, + "target_date": { + "description": "Controls when Stripe will attempt to debit the funds from the customer's account. The date must be a string in YYYY-MM-DD format. The date must be in the future and between 3 and 15 calendar days from now.", + "maxLength": 5000, + "type": "string" } }, "title": "payment_method_options_param", @@ -93004,6 +93271,11 @@ ], "type": "string" }, + "target_date": { + "description": "Controls when Stripe will attempt to debit the funds from the customer's account. The date must be a string in YYYY-MM-DD format. The date must be in the future and between 3 and 15 calendar days from now.", + "maxLength": 5000, + "type": "string" + }, "verification_method": { "description": "Verification method for the intent", "enum": [ @@ -94060,6 +94332,10 @@ "content": { "application/x-www-form-urlencoded": { "encoding": { + "collected_information": { + "explode": true, + "style": "deepObject" + }, "expand": { "explode": true, "style": "deepObject" @@ -94072,6 +94348,86 @@ "schema": { "additionalProperties": false, "properties": { + "collected_information": { + "description": "Information about the customer collected within the Checkout Session.", + "properties": { + "shipping_details": { + "description": "The shipping details to apply to this Session.", + "properties": { + "address": { + "description": "The address of the customer", + "properties": { + "city": { + "description": "City, district, suburb, town, or village.", + "maxLength": 5000, + "type": "string" + }, + "country": { + "description": "Two-letter country code ([ISO 3166-1 alpha-2](https://en.wikipedia.org/wiki/ISO_3166-1_alpha-2)).", + "maxLength": 5000, + "type": "string" + }, + "line1": { + "description": "Address line 1 (e.g., street, PO Box, or company name).", + "maxLength": 5000, + "type": "string" + }, + "line2": { + "description": "Address line 2 (e.g., apartment, suite, unit, or building).", + "maxLength": 5000, + "type": "string" + }, + "postal_code": { + "description": "ZIP or postal code.", + "maxLength": 5000, + "type": "string" + }, + "state": { + "description": "State, county, province, or region.", + "maxLength": 5000, + "type": "string" + } + }, + "required": [ + "country", + "line1" + ], + "title": "address", + "type": "object", + "x-stripeMostCommon": [ + "city", + "country", + "line1", + "line2", + "postal_code", + "state" + ] + }, + "name": { + "description": "The name of customer", + "maxLength": 255, + "type": "string" + } + }, + "required": [ + "address", + "name" + ], + "title": "shipping_details_params", + "type": "object", + "x-stripeMostCommon": [ + "address", + "name" + ] + } + }, + "title": "collected_information_params", + "type": "object", + "x-stripeMostCommon": [ + "billing_details", + "shipping_details" + ] + }, "expand": { "description": "Specifies which fields in the response should be expanded.", "items": { @@ -106759,7 +107115,8 @@ "cardholder_name", "request_signature" ], - "type": "string" + "type": "string", + "x-stripeBypassValidation": true }, "type": "array" }, @@ -109459,8 +109816,7 @@ "uncollectible", "void" ], - "type": "string", - "x-stripeBypassValidation": true + "type": "string" }, "style": "form" }, @@ -119250,7 +119606,7 @@ }, "state": { "description": "[ISO 3166-2 subdivision code](https://en.wikipedia.org/wiki/ISO_3166-2:US), without country prefix. For example, \"NY\" for New York, United States.", - "maxLength": 2, + "maxLength": 5000, "type": "string" }, "tax_type": { @@ -119919,7 +120275,7 @@ }, "state": { "description": "[ISO 3166-2 subdivision code](https://en.wikipedia.org/wiki/ISO_3166-2:US), without country prefix. For example, \"NY\" for New York, United States.", - "maxLength": 2, + "maxLength": 5000, "type": "string" }, "tax_type": { @@ -120730,7 +121086,7 @@ }, "state": { "description": "[ISO 3166-2 subdivision code](https://en.wikipedia.org/wiki/ISO_3166-2:US), without country prefix. For example, \"NY\" for New York, United States.", - "maxLength": 2, + "maxLength": 5000, "type": "string" }, "tax_type": { @@ -132555,6 +132911,11 @@ ], "type": "string" }, + "target_date": { + "description": "Controls when Stripe will attempt to debit the funds from the customer's account. The date must be a string in YYYY-MM-DD format. The date must be in the future and between 3 and 15 calendar days from now.", + "maxLength": 5000, + "type": "string" + }, "verification_method": { "description": "Bank account verification method.", "enum": [ @@ -132780,6 +133141,11 @@ "on_session" ], "type": "string" + }, + "target_date": { + "description": "Controls when Stripe will attempt to debit the funds from the customer's account. The date must be a string in YYYY-MM-DD format. The date must be in the future and between 3 and 15 calendar days from now.", + "maxLength": 5000, + "type": "string" } }, "title": "payment_intent_payment_method_options_param", @@ -132836,6 +133202,11 @@ "on_session" ], "type": "string" + }, + "target_date": { + "description": "Controls when Stripe will attempt to debit the funds from the customer's account. The date must be a string in YYYY-MM-DD format. The date must be in the future and between 3 and 15 calendar days from now.", + "maxLength": 5000, + "type": "string" } }, "title": "payment_intent_payment_method_options_param", @@ -134554,6 +134925,11 @@ "on_session" ], "type": "string" + }, + "target_date": { + "description": "Controls when Stripe will attempt to debit the funds from the customer's account. The date must be a string in YYYY-MM-DD format. The date must be in the future and between 3 and 15 calendar days from now.", + "maxLength": 5000, + "type": "string" } }, "title": "payment_intent_payment_method_options_param", @@ -134697,7 +135073,7 @@ "description": "Additional fields for Financial Connections Session creation", "properties": { "filters": { - "description": "Provide filters for the linked accounts that the customer can select for the payment method", + "description": "Provide filters for the linked accounts that the customer can select for the payment method.", "properties": { "account_subcategories": { "description": "The account subcategories to use to filter for selectable accounts. Valid subcategories are `checking` and `savings`.", @@ -134822,6 +135198,11 @@ ], "type": "string" }, + "target_date": { + "description": "Controls when Stripe will attempt to debit the funds from the customer's account. The date must be a string in YYYY-MM-DD format. The date must be in the future and between 3 and 15 calendar days from now.", + "maxLength": 5000, + "type": "string" + }, "verification_method": { "description": "Bank account verification method.", "enum": [ @@ -134993,6 +135374,7 @@ "sepa_debit", "shopeepay", "sofort", + "stripe_balance", "swish", "twint", "upi", @@ -136460,6 +136842,11 @@ ], "type": "string" }, + "target_date": { + "description": "Controls when Stripe will attempt to debit the funds from the customer's account. The date must be a string in YYYY-MM-DD format. The date must be in the future and between 3 and 15 calendar days from now.", + "maxLength": 5000, + "type": "string" + }, "verification_method": { "description": "Bank account verification method.", "enum": [ @@ -136685,6 +137072,11 @@ "on_session" ], "type": "string" + }, + "target_date": { + "description": "Controls when Stripe will attempt to debit the funds from the customer's account. The date must be a string in YYYY-MM-DD format. The date must be in the future and between 3 and 15 calendar days from now.", + "maxLength": 5000, + "type": "string" } }, "title": "payment_intent_payment_method_options_param", @@ -136741,6 +137133,11 @@ "on_session" ], "type": "string" + }, + "target_date": { + "description": "Controls when Stripe will attempt to debit the funds from the customer's account. The date must be a string in YYYY-MM-DD format. The date must be in the future and between 3 and 15 calendar days from now.", + "maxLength": 5000, + "type": "string" } }, "title": "payment_intent_payment_method_options_param", @@ -138459,6 +138856,11 @@ "on_session" ], "type": "string" + }, + "target_date": { + "description": "Controls when Stripe will attempt to debit the funds from the customer's account. The date must be a string in YYYY-MM-DD format. The date must be in the future and between 3 and 15 calendar days from now.", + "maxLength": 5000, + "type": "string" } }, "title": "payment_intent_payment_method_options_param", @@ -138602,7 +139004,7 @@ "description": "Additional fields for Financial Connections Session creation", "properties": { "filters": { - "description": "Provide filters for the linked accounts that the customer can select for the payment method", + "description": "Provide filters for the linked accounts that the customer can select for the payment method.", "properties": { "account_subcategories": { "description": "The account subcategories to use to filter for selectable accounts. Valid subcategories are `checking` and `savings`.", @@ -138727,6 +139129,11 @@ ], "type": "string" }, + "target_date": { + "description": "Controls when Stripe will attempt to debit the funds from the customer's account. The date must be a string in YYYY-MM-DD format. The date must be in the future and between 3 and 15 calendar days from now.", + "maxLength": 5000, + "type": "string" + }, "verification_method": { "description": "Bank account verification method.", "enum": [ @@ -138898,6 +139305,7 @@ "sepa_debit", "shopeepay", "sofort", + "stripe_balance", "swish", "twint", "upi", @@ -140540,6 +140948,11 @@ ], "type": "string" }, + "target_date": { + "description": "Controls when Stripe will attempt to debit the funds from the customer's account. The date must be a string in YYYY-MM-DD format. The date must be in the future and between 3 and 15 calendar days from now.", + "maxLength": 5000, + "type": "string" + }, "verification_method": { "description": "Bank account verification method.", "enum": [ @@ -140765,6 +141178,11 @@ "on_session" ], "type": "string" + }, + "target_date": { + "description": "Controls when Stripe will attempt to debit the funds from the customer's account. The date must be a string in YYYY-MM-DD format. The date must be in the future and between 3 and 15 calendar days from now.", + "maxLength": 5000, + "type": "string" } }, "title": "payment_intent_payment_method_options_param", @@ -140821,6 +141239,11 @@ "on_session" ], "type": "string" + }, + "target_date": { + "description": "Controls when Stripe will attempt to debit the funds from the customer's account. The date must be a string in YYYY-MM-DD format. The date must be in the future and between 3 and 15 calendar days from now.", + "maxLength": 5000, + "type": "string" } }, "title": "payment_intent_payment_method_options_param", @@ -142539,6 +142962,11 @@ "on_session" ], "type": "string" + }, + "target_date": { + "description": "Controls when Stripe will attempt to debit the funds from the customer's account. The date must be a string in YYYY-MM-DD format. The date must be in the future and between 3 and 15 calendar days from now.", + "maxLength": 5000, + "type": "string" } }, "title": "payment_intent_payment_method_options_param", @@ -142682,7 +143110,7 @@ "description": "Additional fields for Financial Connections Session creation", "properties": { "filters": { - "description": "Provide filters for the linked accounts that the customer can select for the payment method", + "description": "Provide filters for the linked accounts that the customer can select for the payment method.", "properties": { "account_subcategories": { "description": "The account subcategories to use to filter for selectable accounts. Valid subcategories are `checking` and `savings`.", @@ -142807,6 +143235,11 @@ ], "type": "string" }, + "target_date": { + "description": "Controls when Stripe will attempt to debit the funds from the customer's account. The date must be a string in YYYY-MM-DD format. The date must be in the future and between 3 and 15 calendar days from now.", + "maxLength": 5000, + "type": "string" + }, "verification_method": { "description": "Bank account verification method.", "enum": [ @@ -142978,6 +143411,7 @@ "sepa_debit", "shopeepay", "sofort", + "stripe_balance", "swish", "twint", "upi", @@ -144214,11 +144648,12 @@ "type": "string" } }, - "title": "rendering_options_param", + "title": "checkout_rendering_options_param", "type": "object", "x-stripeMostCommon": [ "amount_tax_display", - "invoice_title" + "invoice_title", + "template" ] }, { @@ -145678,11 +146113,12 @@ "type": "string" } }, - "title": "rendering_options_param", + "title": "checkout_rendering_options_param", "type": "object", "x-stripeMostCommon": [ "amount_tax_display", - "invoice_title" + "invoice_title", + "template" ] }, { @@ -150967,6 +151403,7 @@ "exp_month", "exp_year", "funding_options", + "managed_credential", "networks", "number" ], @@ -155251,6 +155688,13 @@ "preset" ] }, + "metadata": { + "additionalProperties": { + "type": "string" + }, + "description": "Set of [key-value pairs](https://stripe.com/docs/api/metadata) that you can attach to an object. This can be useful for storing additional information about the object in a structured format. Individual keys can be unset by posting an empty value to them. All keys can be unset by posting an empty value to `metadata`.", + "type": "object" + }, "recurring": { "description": "The recurring components of a price such as `interval` and `interval_count`.", "properties": { @@ -155300,13 +155744,10 @@ "required": [ "currency" ], - "title": "price_data_without_product", + "title": "price_data_without_product_with_metadata", "type": "object", "x-stripeMostCommon": [ "currency", - "currency_options", - "custom_unit_amount", - "recurring", "unit_amount" ] }, @@ -164357,7 +164798,7 @@ "description": "Additional fields for Financial Connections Session creation", "properties": { "filters": { - "description": "Provide filters for the linked accounts that the customer can select for the payment method", + "description": "Provide filters for the linked accounts that the customer can select for the payment method.", "properties": { "account_subcategories": { "description": "The account subcategories to use to filter for selectable accounts. Valid subcategories are `checking` and `savings`.", @@ -166075,7 +166516,7 @@ "description": "Additional fields for Financial Connections Session creation", "properties": { "filters": { - "description": "Provide filters for the linked accounts that the customer can select for the payment method", + "description": "Provide filters for the linked accounts that the customer can select for the payment method.", "properties": { "account_subcategories": { "description": "The account subcategories to use to filter for selectable accounts. Valid subcategories are `checking` and `savings`.", @@ -167844,7 +168285,7 @@ "description": "Additional fields for Financial Connections Session creation", "properties": { "filters": { - "description": "Provide filters for the linked accounts that the customer can select for the payment method", + "description": "Provide filters for the linked accounts that the customer can select for the payment method.", "properties": { "account_subcategories": { "description": "The account subcategories to use to filter for selectable accounts. Valid subcategories are `checking` and `savings`.", @@ -183254,8 +183695,8 @@ "type": "number" }, "state": { - "description": "[ISO 3166-2 subdivision code](https://en.wikipedia.org/wiki/ISO_3166-2:US), without country prefix. For example, \"NY\" for New York, United States.", - "maxLength": 2, + "description": "[ISO 3166-2 subdivision code](https://en.wikipedia.org/wiki/ISO_3166-2), without country prefix. For example, \"NY\" for New York, United States.", + "maxLength": 5000, "type": "string" }, "tax_type": { @@ -183476,8 +183917,8 @@ "description": "Set of [key-value pairs](https://stripe.com/docs/api/metadata) that you can attach to an object. This can be useful for storing additional information about the object in a structured format. Individual keys can be unset by posting an empty value to them. All keys can be unset by posting an empty value to `metadata`." }, "state": { - "description": "[ISO 3166-2 subdivision code](https://en.wikipedia.org/wiki/ISO_3166-2:US), without country prefix. For example, \"NY\" for New York, United States.", - "maxLength": 2, + "description": "[ISO 3166-2 subdivision code](https://en.wikipedia.org/wiki/ISO_3166-2), without country prefix. For example, \"NY\" for New York, United States.", + "maxLength": 5000, "type": "string" }, "tax_type": { @@ -195717,7 +196158,10 @@ }, "political_exposure": { "description": "Indicates if the person or any of their representatives, family members, or other closely related persons, declares that they hold or have held an important public job or function, in any jurisdiction.", - "maxLength": 5000, + "enum": [ + "existing", + "none" + ], "type": "string" }, "registered_address": { @@ -202676,7 +203120,8 @@ "2024-10-28.acacia", "2024-11-20.acacia", "2024-12-18.acacia", - "2025-01-27.acacia" + "2025-01-27.acacia", + "2025-02-24.acacia" ], "maxLength": 5000, "type": "string", diff --git a/pkg/cmd/resources_cmds.go b/pkg/cmd/resources_cmds.go index aba8c18e..b130d228 100644 --- a/pkg/cmd/resources_cmds.go +++ b/pkg/cmd/resources_cmds.go @@ -3403,6 +3403,7 @@ func addV1ResourcesCmds(rootCmd *cobra.Command) { "effective_at": "integer", "expires_at": "integer", "name": "string", + "priority": "integer", }, &Config) resource.NewOperationCmd(rBillingCreditGrantsCmd.Cmd, "expire", "/v1/billing/credit_grants/{id}/expire", http.MethodPost, map[string]string{}, &Config) resource.NewOperationCmd(rBillingCreditGrantsCmd.Cmd, "list", "/v1/billing/credit_grants", http.MethodGet, map[string]string{ @@ -3580,14 +3581,17 @@ func addV1ResourcesCmds(rootCmd *cobra.Command) { "payment_method_options.acss_debit.mandate_options.payment_schedule": "string", "payment_method_options.acss_debit.mandate_options.transaction_type": "string", "payment_method_options.acss_debit.setup_future_usage": "string", + "payment_method_options.acss_debit.target_date": "string", "payment_method_options.acss_debit.verification_method": "string", "payment_method_options.affirm.setup_future_usage": "string", "payment_method_options.afterpay_clearpay.setup_future_usage": "string", "payment_method_options.alipay.setup_future_usage": "string", "payment_method_options.amazon_pay.setup_future_usage": "string", "payment_method_options.au_becs_debit.setup_future_usage": "string", + "payment_method_options.au_becs_debit.target_date": "string", "payment_method_options.bacs_debit.mandate_options.reference_prefix": "string", "payment_method_options.bacs_debit.setup_future_usage": "string", + "payment_method_options.bacs_debit.target_date": "string", "payment_method_options.bancontact.setup_future_usage": "string", "payment_method_options.boleto.expires_after_days": "integer", "payment_method_options.boleto.setup_future_usage": "string", @@ -3597,6 +3601,7 @@ func addV1ResourcesCmds(rootCmd *cobra.Command) { "payment_method_options.card.request_multicapture": "string", "payment_method_options.card.request_overcapture": "string", "payment_method_options.card.request_three_d_secure": "string", + "payment_method_options.card.restrictions.brands_blocked": "array", "payment_method_options.card.setup_future_usage": "string", "payment_method_options.card.statement_descriptor_suffix_kana": "string", "payment_method_options.card.statement_descriptor_suffix_kanji": "string", @@ -3639,11 +3644,13 @@ func addV1ResourcesCmds(rootCmd *cobra.Command) { "payment_method_options.samsung_pay.capture_method": "string", "payment_method_options.sepa_debit.mandate_options.reference_prefix": "string", "payment_method_options.sepa_debit.setup_future_usage": "string", + "payment_method_options.sepa_debit.target_date": "string", "payment_method_options.sofort.setup_future_usage": "string", "payment_method_options.swish.reference": "string", "payment_method_options.us_bank_account.financial_connections.permissions": "array", "payment_method_options.us_bank_account.financial_connections.prefetch": "array", "payment_method_options.us_bank_account.setup_future_usage": "string", + "payment_method_options.us_bank_account.target_date": "string", "payment_method_options.us_bank_account.verification_method": "string", "payment_method_options.wechat_pay.app_id": "string", "payment_method_options.wechat_pay.client": "string", @@ -3694,7 +3701,15 @@ func addV1ResourcesCmds(rootCmd *cobra.Command) { "starting_after": "string", }, &Config) resource.NewOperationCmd(rCheckoutSessionsCmd.Cmd, "retrieve", "/v1/checkout/sessions/{session}", http.MethodGet, map[string]string{}, &Config) - resource.NewOperationCmd(rCheckoutSessionsCmd.Cmd, "update", "/v1/checkout/sessions/{session}", http.MethodPost, map[string]string{}, &Config) + resource.NewOperationCmd(rCheckoutSessionsCmd.Cmd, "update", "/v1/checkout/sessions/{session}", http.MethodPost, map[string]string{ + "collected_information.shipping_details.address.city": "string", + "collected_information.shipping_details.address.country": "string", + "collected_information.shipping_details.address.line1": "string", + "collected_information.shipping_details.address.line2": "string", + "collected_information.shipping_details.address.postal_code": "string", + "collected_information.shipping_details.address.state": "string", + "collected_information.shipping_details.name": "string", + }, &Config) resource.NewOperationCmd(rClimateOrdersCmd.Cmd, "cancel", "/v1/climate/orders/{order}/cancel", http.MethodPost, map[string]string{}, &Config) resource.NewOperationCmd(rClimateOrdersCmd.Cmd, "create", "/v1/climate/orders", http.MethodPost, map[string]string{ "amount": "integer",