From ae8859b20a4cc7630bbd6a03e7241d7c8cdff158 Mon Sep 17 00:00:00 2001 From: Stripe OpenAPI <105521251+stripe-openapi[bot]@users.noreply.github.com> Date: Thu, 24 Oct 2024 16:07:08 +0000 Subject: [PATCH] Update OpenAPI for 02dbd538387bb5385730d870f0579e4e4c2181c3 --- api/openapi-spec/spec3.sdk.json | 1096 ++++++++++++++++++++++++++++++- pkg/cmd/resources_cmds.go | 5 + 2 files changed, 1081 insertions(+), 20 deletions(-) diff --git a/api/openapi-spec/spec3.sdk.json b/api/openapi-spec/spec3.sdk.json index 1a8963c5..30370b09 100644 --- a/api/openapi-spec/spec3.sdk.json +++ b/api/openapi-spec/spec3.sdk.json @@ -2628,7 +2628,6 @@ "payment_method_unexpected_state", "payment_method_unsupported_type", "payout_reconciliation_not_ready", - "payout_statement_descriptor_profanity", "payouts_limit_exceeded", "payouts_not_allowed", "platform_account_required", @@ -9206,6 +9205,33 @@ "setup_future_usage" ] }, + "checkout_kakao_pay_payment_method_options": { + "description": "", + "properties": { + "capture_method": { + "description": "Controls when the funds will be captured from the customer's account.", + "enum": [ + "manual" + ], + "type": "string" + }, + "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": [ + "none", + "off_session" + ], + "type": "string" + } + }, + "title": "CheckoutKakaoPayPaymentMethodOptions", + "type": "object", + "x-expandableFields": [], + "x-stripeMostCommon": [ + "capture_method", + "setup_future_usage" + ] + }, "checkout_klarna_payment_method_options": { "description": "", "properties": { @@ -9253,6 +9279,33 @@ "setup_future_usage" ] }, + "checkout_kr_card_payment_method_options": { + "description": "", + "properties": { + "capture_method": { + "description": "Controls when the funds will be captured from the customer's account.", + "enum": [ + "manual" + ], + "type": "string" + }, + "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": [ + "none", + "off_session" + ], + "type": "string" + } + }, + "title": "CheckoutKrCardPaymentMethodOptions", + "type": "object", + "x-expandableFields": [], + "x-stripeMostCommon": [ + "capture_method", + "setup_future_usage" + ] + }, "checkout_link_payment_method_options": { "description": "", "properties": { @@ -9308,6 +9361,24 @@ "setup_future_usage" ] }, + "checkout_naver_pay_payment_method_options": { + "description": "", + "properties": { + "capture_method": { + "description": "Controls when the funds will be captured from the customer's account.", + "enum": [ + "manual" + ], + "type": "string" + } + }, + "title": "CheckoutNaverPayPaymentMethodOptions", + "type": "object", + "x-expandableFields": [], + "x-stripeMostCommon": [ + "capture_method" + ] + }, "checkout_oxxo_payment_method_options": { "description": "", "properties": { @@ -9352,6 +9423,24 @@ "setup_future_usage" ] }, + "checkout_payco_payment_method_options": { + "description": "", + "properties": { + "capture_method": { + "description": "Controls when the funds will be captured from the customer's account.", + "enum": [ + "manual" + ], + "type": "string" + } + }, + "title": "CheckoutPaycoPaymentMethodOptions", + "type": "object", + "x-expandableFields": [], + "x-stripeMostCommon": [ + "capture_method" + ] + }, "checkout_paynow_payment_method_options": { "description": "", "properties": { @@ -9453,6 +9542,24 @@ "setup_future_usage" ] }, + "checkout_samsung_pay_payment_method_options": { + "description": "", + "properties": { + "capture_method": { + "description": "Controls when the funds will be captured from the customer's account.", + "enum": [ + "manual" + ], + "type": "string" + } + }, + "title": "CheckoutSamsungPayPaymentMethodOptions", + "type": "object", + "x-expandableFields": [], + "x-stripeMostCommon": [ + "capture_method" + ] + }, "checkout_sepa_debit_payment_method_options": { "description": "", "properties": { @@ -9527,12 +9634,18 @@ "ideal": { "$ref": "#/components/schemas/checkout_ideal_payment_method_options" }, + "kakao_pay": { + "$ref": "#/components/schemas/checkout_kakao_pay_payment_method_options" + }, "klarna": { "$ref": "#/components/schemas/checkout_klarna_payment_method_options" }, "konbini": { "$ref": "#/components/schemas/checkout_konbini_payment_method_options" }, + "kr_card": { + "$ref": "#/components/schemas/checkout_kr_card_payment_method_options" + }, "link": { "$ref": "#/components/schemas/checkout_link_payment_method_options" }, @@ -9542,12 +9655,18 @@ "multibanco": { "$ref": "#/components/schemas/checkout_multibanco_payment_method_options" }, + "naver_pay": { + "$ref": "#/components/schemas/checkout_naver_pay_payment_method_options" + }, "oxxo": { "$ref": "#/components/schemas/checkout_oxxo_payment_method_options" }, "p24": { "$ref": "#/components/schemas/checkout_p24_payment_method_options" }, + "payco": { + "$ref": "#/components/schemas/checkout_payco_payment_method_options" + }, "paynow": { "$ref": "#/components/schemas/checkout_paynow_payment_method_options" }, @@ -9560,6 +9679,9 @@ "revolut_pay": { "$ref": "#/components/schemas/checkout_revolut_pay_payment_method_options" }, + "samsung_pay": { + "$ref": "#/components/schemas/checkout_samsung_pay_payment_method_options" + }, "sepa_debit": { "$ref": "#/components/schemas/checkout_sepa_debit_payment_method_options" }, @@ -9593,17 +9715,22 @@ "giropay", "grabpay", "ideal", + "kakao_pay", "klarna", "konbini", + "kr_card", "link", "mobilepay", "multibanco", + "naver_pay", "oxxo", "p24", + "payco", "paynow", "paypal", "pix", "revolut_pay", + "samsung_pay", "sepa_debit", "sofort", "swish", @@ -9627,17 +9754,22 @@ "giropay", "grabpay", "ideal", + "kakao_pay", "klarna", "konbini", + "kr_card", "link", "mobilepay", "multibanco", + "naver_pay", "oxxo", "p24", + "payco", "paynow", "paypal", "pix", "revolut_pay", + "samsung_pay", "sepa_debit", "sofort", "swish", @@ -16335,6 +16467,17 @@ "description": "Three-letter [ISO currency code](https://www.iso.org/iso-4217-currency-codes.html), in lowercase. Must be a [supported currency](https://stripe.com/docs/currencies).", "type": "string" }, + "enhanced_eligibility_types": { + "description": "List of eligibility types that are included in `enhanced_evidence`.", + "items": { + "enum": [ + "visa_compelling_evidence_3" + ], + "type": "string", + "x-stripeBypassValidation": true + }, + "type": "array" + }, "evidence": { "$ref": "#/components/schemas/dispute_evidence" }, @@ -16423,6 +16566,7 @@ "charge", "created", "currency", + "enhanced_eligibility_types", "evidence", "evidence_details", "id", @@ -16495,6 +16639,112 @@ ] } }, + "dispute_enhanced_eligibility": { + "description": "", + "properties": { + "visa_compelling_evidence_3": { + "$ref": "#/components/schemas/dispute_enhanced_eligibility_visa_compelling_evidence3" + } + }, + "title": "DisputeEnhancedEligibility", + "type": "object", + "x-expandableFields": [ + "visa_compelling_evidence_3" + ], + "x-stripeMostCommon": [ + "visa_compelling_evidence_3" + ] + }, + "dispute_enhanced_eligibility_visa_compelling_evidence3": { + "description": "", + "properties": { + "required_actions": { + "description": "List of actions required to qualify dispute for Visa Compelling Evidence 3.0 evidence submission.", + "items": { + "enum": [ + "missing_customer_identifiers", + "missing_disputed_transaction_description", + "missing_merchandise_or_services", + "missing_prior_undisputed_transaction_description", + "missing_prior_undisputed_transactions" + ], + "type": "string" + }, + "type": "array" + }, + "status": { + "description": "Visa Compelling Evidence 3.0 eligibility status.", + "enum": [ + "not_qualified", + "qualified", + "requires_action" + ], + "type": "string" + } + }, + "required": [ + "required_actions", + "status" + ], + "title": "DisputeEnhancedEligibilityVisaCompellingEvidence3", + "type": "object", + "x-expandableFields": [], + "x-stripeMostCommon": [ + "required_actions", + "status" + ] + }, + "dispute_enhanced_evidence": { + "description": "", + "properties": { + "visa_compelling_evidence_3": { + "$ref": "#/components/schemas/dispute_enhanced_evidence_visa_compelling_evidence3" + } + }, + "title": "DisputeEnhancedEvidence", + "type": "object", + "x-expandableFields": [ + "visa_compelling_evidence_3" + ], + "x-stripeMostCommon": [ + "visa_compelling_evidence_3" + ] + }, + "dispute_enhanced_evidence_visa_compelling_evidence3": { + "description": "", + "properties": { + "disputed_transaction": { + "anyOf": [ + { + "$ref": "#/components/schemas/dispute_visa_compelling_evidence3_disputed_transaction" + } + ], + "description": "Disputed transaction details for Visa Compelling Evidence 3.0 evidence submission.", + "nullable": true + }, + "prior_undisputed_transactions": { + "description": "List of exactly two prior undisputed transaction objects for Visa Compelling Evidence 3.0 evidence submission.", + "items": { + "$ref": "#/components/schemas/dispute_visa_compelling_evidence3_prior_undisputed_transaction" + }, + "type": "array" + } + }, + "required": [ + "disputed_transaction", + "prior_undisputed_transactions" + ], + "title": "DisputeEnhancedEvidenceVisaCompellingEvidence3", + "type": "object", + "x-expandableFields": [ + "disputed_transaction", + "prior_undisputed_transactions" + ], + "x-stripeMostCommon": [ + "disputed_transaction", + "prior_undisputed_transactions" + ] + }, "dispute_evidence": { "description": "", "properties": { @@ -16632,6 +16882,9 @@ "nullable": true, "type": "string" }, + "enhanced_evidence": { + "$ref": "#/components/schemas/dispute_enhanced_evidence" + }, "product_description": { "description": "A description of the product or service that was sold.", "maxLength": 150000, @@ -16801,6 +17054,7 @@ "duplicate_charge_documentation", "duplicate_charge_explanation", "duplicate_charge_id", + "enhanced_evidence", "product_description", "receipt", "refund_policy", @@ -16823,6 +17077,7 @@ "customer_communication", "customer_signature", "duplicate_charge_documentation", + "enhanced_evidence", "receipt", "refund_policy", "service_documentation", @@ -16843,6 +17098,7 @@ "duplicate_charge_documentation", "duplicate_charge_explanation", "duplicate_charge_id", + "enhanced_evidence", "product_description", "receipt", "refund_policy", @@ -16868,6 +17124,9 @@ "nullable": true, "type": "integer" }, + "enhanced_eligibility": { + "$ref": "#/components/schemas/dispute_enhanced_eligibility" + }, "has_evidence": { "description": "Whether evidence has been staged for this dispute.", "type": "boolean" @@ -16883,15 +17142,19 @@ }, "required": [ "due_by", + "enhanced_eligibility", "has_evidence", "past_due", "submission_count" ], "title": "DisputeEvidenceDetails", "type": "object", - "x-expandableFields": [], + "x-expandableFields": [ + "enhanced_eligibility" + ], "x-stripeMostCommon": [ "due_by", + "enhanced_eligibility", "has_evidence", "past_due", "submission_count" @@ -17051,6 +17314,230 @@ "reason_code" ] }, + "dispute_transaction_shipping_address": { + "description": "", + "properties": { + "city": { + "description": "City, district, suburb, town, or village.", + "maxLength": 5000, + "nullable": true, + "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, + "nullable": true, + "type": "string" + }, + "line1": { + "description": "Address line 1 (e.g., street, PO Box, or company name).", + "maxLength": 5000, + "nullable": true, + "type": "string" + }, + "line2": { + "description": "Address line 2 (e.g., apartment, suite, unit, or building).", + "maxLength": 5000, + "nullable": true, + "type": "string" + }, + "postal_code": { + "description": "ZIP or postal code.", + "maxLength": 5000, + "nullable": true, + "type": "string" + }, + "state": { + "description": "State, county, province, or region.", + "maxLength": 5000, + "nullable": true, + "type": "string" + } + }, + "required": [ + "city", + "country", + "line1", + "line2", + "postal_code", + "state" + ], + "title": "DisputeTransactionShippingAddress", + "type": "object", + "x-expandableFields": [], + "x-stripeMostCommon": [ + "city", + "country", + "line1", + "line2", + "postal_code", + "state" + ] + }, + "dispute_visa_compelling_evidence3_disputed_transaction": { + "description": "", + "properties": { + "customer_account_id": { + "description": "User Account ID used to log into business platform. Must be recognizable by the user.", + "maxLength": 5000, + "nullable": true, + "type": "string" + }, + "customer_device_fingerprint": { + "description": "Unique identifier of the cardholder’s device derived from a combination of at least two hardware and software attributes. Must be at least 20 characters.", + "maxLength": 5000, + "nullable": true, + "type": "string" + }, + "customer_device_id": { + "description": "Unique identifier of the cardholder’s device such as a device serial number (e.g., International Mobile Equipment Identity [IMEI]). Must be at least 15 characters.", + "maxLength": 5000, + "nullable": true, + "type": "string" + }, + "customer_email_address": { + "description": "The email address of the customer.", + "maxLength": 5000, + "nullable": true, + "type": "string" + }, + "customer_purchase_ip": { + "description": "The IP address that the customer used when making the purchase.", + "maxLength": 5000, + "nullable": true, + "type": "string" + }, + "merchandise_or_services": { + "description": "Categorization of disputed payment.", + "enum": [ + "merchandise", + "services" + ], + "nullable": true, + "type": "string" + }, + "product_description": { + "description": "A description of the product or service that was sold.", + "maxLength": 150000, + "nullable": true, + "type": "string" + }, + "shipping_address": { + "anyOf": [ + { + "$ref": "#/components/schemas/dispute_transaction_shipping_address" + } + ], + "description": "The address to which a physical product was shipped. All fields are required for Visa Compelling Evidence 3.0 evidence submission.", + "nullable": true + } + }, + "required": [ + "customer_account_id", + "customer_device_fingerprint", + "customer_device_id", + "customer_email_address", + "customer_purchase_ip", + "merchandise_or_services", + "product_description", + "shipping_address" + ], + "title": "DisputeVisaCompellingEvidence3DisputedTransaction", + "type": "object", + "x-expandableFields": [ + "shipping_address" + ], + "x-stripeMostCommon": [ + "customer_account_id", + "customer_device_fingerprint", + "customer_device_id", + "customer_email_address", + "customer_purchase_ip", + "merchandise_or_services", + "product_description", + "shipping_address" + ] + }, + "dispute_visa_compelling_evidence3_prior_undisputed_transaction": { + "description": "", + "properties": { + "charge": { + "description": "Stripe charge ID for the Visa Compelling Evidence 3.0 eligible prior charge.", + "maxLength": 5000, + "type": "string" + }, + "customer_account_id": { + "description": "User Account ID used to log into business platform. Must be recognizable by the user.", + "maxLength": 5000, + "nullable": true, + "type": "string" + }, + "customer_device_fingerprint": { + "description": "Unique identifier of the cardholder’s device derived from a combination of at least two hardware and software attributes. Must be at least 20 characters.", + "maxLength": 5000, + "nullable": true, + "type": "string" + }, + "customer_device_id": { + "description": "Unique identifier of the cardholder’s device such as a device serial number (e.g., International Mobile Equipment Identity [IMEI]). Must be at least 15 characters.", + "maxLength": 5000, + "nullable": true, + "type": "string" + }, + "customer_email_address": { + "description": "The email address of the customer.", + "maxLength": 5000, + "nullable": true, + "type": "string" + }, + "customer_purchase_ip": { + "description": "The IP address that the customer used when making the purchase.", + "maxLength": 5000, + "nullable": true, + "type": "string" + }, + "product_description": { + "description": "A description of the product or service that was sold.", + "maxLength": 150000, + "nullable": true, + "type": "string" + }, + "shipping_address": { + "anyOf": [ + { + "$ref": "#/components/schemas/dispute_transaction_shipping_address" + } + ], + "description": "The address to which a physical product was shipped. All fields are required for Visa Compelling Evidence 3.0 evidence submission.", + "nullable": true + } + }, + "required": [ + "charge", + "customer_account_id", + "customer_device_fingerprint", + "customer_device_id", + "customer_email_address", + "customer_purchase_ip", + "product_description", + "shipping_address" + ], + "title": "DisputeVisaCompellingEvidence3PriorUndisputedTransaction", + "type": "object", + "x-expandableFields": [ + "shipping_address" + ], + "x-stripeMostCommon": [ + "charge", + "customer_account_id", + "customer_device_fingerprint", + "customer_device_id", + "customer_email_address", + "customer_purchase_ip", + "product_description", + "shipping_address" + ] + }, "email_sent": { "description": "", "properties": { @@ -53241,13 +53728,7 @@ "description": "", "properties": { "display_details": { - "anyOf": [ - { - "$ref": "#/components/schemas/refund_next_action_display_details" - } - ], - "description": "Contains the refund details.", - "nullable": true + "$ref": "#/components/schemas/refund_next_action_display_details" }, "type": { "description": "Type of the next action to perform.", @@ -53256,7 +53737,6 @@ } }, "required": [ - "display_details", "type" ], "title": "RefundNextAction", @@ -71347,7 +71827,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": "2024-09-30.acacia", + "version": "2024-10-28.acacia", "x-stripeSpecFilename": "spec3.sdk" }, "openapi": "3.0.0", @@ -73320,6 +73800,7 @@ "upi_payments", "us_bank_account_ach_payments", "us_bank_transfer_payments", + "vipps_payments", "wechat_pay_payments", "zip_payments" ] @@ -74345,6 +74826,7 @@ "type": "object", "x-stripeMostCommon": [ "back", + "electronic_id", "front" ] }, @@ -74366,6 +74848,7 @@ "type": "object", "x-stripeMostCommon": [ "back", + "electronic_id", "front" ] } @@ -74374,7 +74857,8 @@ "type": "object", "x-stripeMostCommon": [ "additional_document", - "document" + "document", + "proof_of_liveness" ] } }, @@ -76078,6 +76562,7 @@ "upi_payments", "us_bank_account_ach_payments", "us_bank_transfer_payments", + "vipps_payments", "wechat_pay_payments", "zip_payments" ] @@ -77020,6 +77505,7 @@ "type": "object", "x-stripeMostCommon": [ "back", + "electronic_id", "front" ] }, @@ -77041,6 +77527,7 @@ "type": "object", "x-stripeMostCommon": [ "back", + "electronic_id", "front" ] } @@ -77049,7 +77536,8 @@ "type": "object", "x-stripeMostCommon": [ "additional_document", - "document" + "document", + "proof_of_liveness" ] } }, @@ -78415,7 +78903,7 @@ }, "/v1/accounts/{account}/login_links": { "post": { - "description": "

Creates a single-use login link for a connected account to access the Express Dashboard.

\n\n

You can only create login links for accounts that use the Express Dashboard and are connected to your platform.

", + "description": "

Creates a login link for a connected account to access the Express Dashboard.

\n\n

You can only create login links for accounts that use the Express Dashboard and are connected to your platform.

", "operationId": "PostAccountsAccountLoginLinks", "parameters": [ { @@ -79313,6 +79801,7 @@ "type": "object", "x-stripeMostCommon": [ "back", + "electronic_id", "front" ] }, @@ -79334,6 +79823,7 @@ "type": "object", "x-stripeMostCommon": [ "back", + "electronic_id", "front" ] } @@ -79342,7 +79832,8 @@ "type": "object", "x-stripeMostCommon": [ "additional_document", - "document" + "document", + "proof_of_liveness" ] } }, @@ -80186,6 +80677,7 @@ "type": "object", "x-stripeMostCommon": [ "back", + "electronic_id", "front" ] }, @@ -80207,6 +80699,7 @@ "type": "object", "x-stripeMostCommon": [ "back", + "electronic_id", "front" ] } @@ -80215,7 +80708,8 @@ "type": "object", "x-stripeMostCommon": [ "additional_document", - "document" + "document", + "proof_of_liveness" ] } }, @@ -89586,6 +90080,24 @@ "setup_future_usage" ] }, + "kakao_pay": { + "description": "contains details about the Kakao Pay payment method options.", + "properties": { + "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": [ + "none", + "off_session" + ], + "type": "string" + } + }, + "title": "payment_method_options_param", + "type": "object", + "x-stripeMostCommon": [ + "setup_future_usage" + ] + }, "klarna": { "description": "contains details about the Klarna payment method options.", "properties": { @@ -89625,6 +90137,24 @@ "setup_future_usage" ] }, + "kr_card": { + "description": "contains details about the Korean card payment method options.", + "properties": { + "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": [ + "none", + "off_session" + ], + "type": "string" + } + }, + "title": "payment_method_options_param", + "type": "object", + "x-stripeMostCommon": [ + "setup_future_usage" + ] + }, "link": { "description": "contains details about the Link payment method options.", "properties": { @@ -89677,6 +90207,24 @@ "setup_future_usage" ] }, + "naver_pay": { + "description": "contains details about the Kakao Pay payment method options.", + "properties": { + "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": [ + "none", + "off_session" + ], + "type": "string" + } + }, + "title": "payment_method_options_param", + "type": "object", + "x-stripeMostCommon": [ + "setup_future_usage" + ] + }, "oxxo": { "description": "contains details about the OXXO payment method options.", "properties": { @@ -89721,6 +90269,12 @@ "tos_shown_and_accepted" ] }, + "payco": { + "description": "contains details about the PAYCO payment method options.", + "properties": {}, + "title": "payment_method_options_param", + "type": "object" + }, "paynow": { "description": "contains details about the PayNow payment method options.", "properties": { @@ -89841,6 +90395,12 @@ "setup_future_usage" ] }, + "samsung_pay": { + "description": "contains details about the Samsung Pay payment method options.", + "properties": {}, + "title": "payment_method_options_param", + "type": "object" + }, "sepa_debit": { "description": "contains details about the Sepa Debit payment method options.", "properties": { @@ -90024,12 +90584,15 @@ "grabpay", "id_bank_transfer", "ideal", + "kakao_pay", "klarna", "konbini", + "kr_card", "kr_market", "link", "mobilepay", "multibanco", + "naver_pay", "ng_bank", "ng_bank_transfer", "ng_card", @@ -90038,11 +90601,13 @@ "oxxo", "p24", "pay_by_bank", + "payco", "paynow", "paypal", "payto", "pix", "revolut_pay", + "samsung_pay", "sepa_debit", "sofort", "swish", @@ -99281,6 +99846,481 @@ "maxLength": 5000, "type": "string" }, + "enhanced_evidence": { + "anyOf": [ + { + "properties": { + "visa_compelling_evidence_3": { + "description": "Evidence provided for Visa Compelling Evidence 3.0 evidence submission.", + "properties": { + "disputed_transaction": { + "description": "Disputed transaction details for Visa Compelling Evidence 3.0 evidence submission.", + "properties": { + "customer_account_id": { + "anyOf": [ + { + "maxLength": 5000, + "type": "string" + }, + { + "enum": [ + "" + ], + "type": "string" + } + ], + "description": "User Account ID used to log into business platform. Must be recognizable by the user." + }, + "customer_device_fingerprint": { + "anyOf": [ + { + "maxLength": 5000, + "type": "string" + }, + { + "enum": [ + "" + ], + "type": "string" + } + ], + "description": "Unique identifier of the cardholder’s device derived from a combination of at least two hardware and software attributes. Must be at least 20 characters." + }, + "customer_device_id": { + "anyOf": [ + { + "maxLength": 5000, + "type": "string" + }, + { + "enum": [ + "" + ], + "type": "string" + } + ], + "description": "Unique identifier of the cardholder’s device such as a device serial number (e.g., International Mobile Equipment Identity [IMEI]). Must be at least 15 characters." + }, + "customer_email_address": { + "anyOf": [ + { + "maxLength": 5000, + "type": "string" + }, + { + "enum": [ + "" + ], + "type": "string" + } + ], + "description": "The email address of the customer." + }, + "customer_purchase_ip": { + "anyOf": [ + { + "maxLength": 5000, + "type": "string" + }, + { + "enum": [ + "" + ], + "type": "string" + } + ], + "description": "The IP address that the customer used when making the purchase." + }, + "merchandise_or_services": { + "description": "Categorization of disputed payment.", + "enum": [ + "merchandise", + "services" + ], + "type": "string" + }, + "product_description": { + "anyOf": [ + { + "maxLength": 5000, + "type": "string" + }, + { + "enum": [ + "" + ], + "type": "string" + } + ], + "description": "A description of the product or service that was sold." + }, + "shipping_address": { + "description": "The address to which a physical product was shipped. All fields are required for Visa Compelling Evidence 3.0 evidence submission.", + "properties": { + "city": { + "anyOf": [ + { + "maxLength": 5000, + "type": "string" + }, + { + "enum": [ + "" + ], + "type": "string" + } + ], + "description": "City, district, suburb, town, or village." + }, + "country": { + "anyOf": [ + { + "maxLength": 5000, + "type": "string" + }, + { + "enum": [ + "" + ], + "type": "string" + } + ], + "description": "Two-letter country code ([ISO 3166-1 alpha-2](https://en.wikipedia.org/wiki/ISO_3166-1_alpha-2))." + }, + "line1": { + "anyOf": [ + { + "maxLength": 5000, + "type": "string" + }, + { + "enum": [ + "" + ], + "type": "string" + } + ], + "description": "Address line 1 (e.g., street, PO Box, or company name)." + }, + "line2": { + "anyOf": [ + { + "maxLength": 5000, + "type": "string" + }, + { + "enum": [ + "" + ], + "type": "string" + } + ], + "description": "Address line 2 (e.g., apartment, suite, unit, or building)." + }, + "postal_code": { + "anyOf": [ + { + "maxLength": 5000, + "type": "string" + }, + { + "enum": [ + "" + ], + "type": "string" + } + ], + "description": "ZIP or postal code." + }, + "state": { + "anyOf": [ + { + "maxLength": 5000, + "type": "string" + }, + { + "enum": [ + "" + ], + "type": "string" + } + ], + "description": "State, county, province, or region." + } + }, + "title": "shipping_address", + "type": "object", + "x-stripeMostCommon": [ + "city", + "country", + "line1", + "line2", + "postal_code", + "state" + ] + } + }, + "title": "visa_compelling_evidence3_disputed_transaction", + "type": "object", + "x-stripeMostCommon": [ + "customer_account_id", + "customer_device_fingerprint", + "customer_device_id", + "customer_email_address", + "customer_purchase_ip", + "merchandise_or_services", + "product_description", + "shipping_address" + ] + }, + "prior_undisputed_transactions": { + "description": "List of exactly two prior undisputed transaction objects for Visa Compelling Evidence 3.0 evidence submission.", + "items": { + "properties": { + "charge": { + "description": "Stripe charge ID for the Visa Compelling Evidence 3.0 eligible prior charge.", + "maxLength": 5000, + "type": "string" + }, + "customer_account_id": { + "anyOf": [ + { + "maxLength": 5000, + "type": "string" + }, + { + "enum": [ + "" + ], + "type": "string" + } + ], + "description": "User Account ID used to log into business platform. Must be recognizable by the user." + }, + "customer_device_fingerprint": { + "anyOf": [ + { + "maxLength": 5000, + "type": "string" + }, + { + "enum": [ + "" + ], + "type": "string" + } + ], + "description": "Unique identifier of the cardholder’s device derived from a combination of at least two hardware and software attributes. Must be at least 20 characters." + }, + "customer_device_id": { + "anyOf": [ + { + "maxLength": 5000, + "type": "string" + }, + { + "enum": [ + "" + ], + "type": "string" + } + ], + "description": "Unique identifier of the cardholder’s device such as a device serial number (e.g., International Mobile Equipment Identity [IMEI]). Must be at least 15 characters." + }, + "customer_email_address": { + "anyOf": [ + { + "maxLength": 5000, + "type": "string" + }, + { + "enum": [ + "" + ], + "type": "string" + } + ], + "description": "The email address of the customer." + }, + "customer_purchase_ip": { + "anyOf": [ + { + "maxLength": 5000, + "type": "string" + }, + { + "enum": [ + "" + ], + "type": "string" + } + ], + "description": "The IP address that the customer used when making the purchase." + }, + "product_description": { + "anyOf": [ + { + "maxLength": 5000, + "type": "string" + }, + { + "enum": [ + "" + ], + "type": "string" + } + ], + "description": "A description of the product or service that was sold." + }, + "shipping_address": { + "description": "The address to which a physical product was shipped. All fields are required for Visa Compelling Evidence 3.0 evidence submission.", + "properties": { + "city": { + "anyOf": [ + { + "maxLength": 5000, + "type": "string" + }, + { + "enum": [ + "" + ], + "type": "string" + } + ], + "description": "City, district, suburb, town, or village." + }, + "country": { + "anyOf": [ + { + "maxLength": 5000, + "type": "string" + }, + { + "enum": [ + "" + ], + "type": "string" + } + ], + "description": "Two-letter country code ([ISO 3166-1 alpha-2](https://en.wikipedia.org/wiki/ISO_3166-1_alpha-2))." + }, + "line1": { + "anyOf": [ + { + "maxLength": 5000, + "type": "string" + }, + { + "enum": [ + "" + ], + "type": "string" + } + ], + "description": "Address line 1 (e.g., street, PO Box, or company name)." + }, + "line2": { + "anyOf": [ + { + "maxLength": 5000, + "type": "string" + }, + { + "enum": [ + "" + ], + "type": "string" + } + ], + "description": "Address line 2 (e.g., apartment, suite, unit, or building)." + }, + "postal_code": { + "anyOf": [ + { + "maxLength": 5000, + "type": "string" + }, + { + "enum": [ + "" + ], + "type": "string" + } + ], + "description": "ZIP or postal code." + }, + "state": { + "anyOf": [ + { + "maxLength": 5000, + "type": "string" + }, + { + "enum": [ + "" + ], + "type": "string" + } + ], + "description": "State, county, province, or region." + } + }, + "title": "shipping_address", + "type": "object", + "x-stripeMostCommon": [ + "city", + "country", + "line1", + "line2", + "postal_code", + "state" + ] + } + }, + "required": [ + "charge" + ], + "title": "visa_compelling_evidence3_prior_undisputed_transaction", + "type": "object", + "x-stripeMostCommon": [ + "charge", + "customer_account_id", + "customer_device_fingerprint", + "customer_device_id", + "customer_email_address", + "customer_purchase_ip", + "product_description", + "shipping_address" + ] + }, + "type": "array" + } + }, + "title": "visa_compelling_evidence3", + "type": "object", + "x-stripeMostCommon": [ + "disputed_transaction", + "prior_undisputed_transactions" + ] + } + }, + "title": "enhanced_evidence", + "type": "object", + "x-stripeMostCommon": [ + "visa_compelling_evidence_3", + "visa_compliance" + ] + }, + { + "enum": [ + "" + ], + "type": "string" + } + ], + "description": "Additional evidence for qualifying evidence programs." + }, "product_description": { "description": "A description of the product or service that was sold. Has a maximum character count of 20,000.", "maxLength": 20000, @@ -106079,6 +107119,11 @@ "liability" ] }, + "automatically_finalizes_at": { + "description": "The time when this invoice should be scheduled to finalize. The invoice will be finalized at this time if it is still in draft state.", + "format": "unix-time", + "type": "integer" + }, "collection_method": { "description": "Either `charge_automatically`, or `send_invoice`. When charging automatically, Stripe will attempt to pay this invoice using the default source attached to the customer. When sending an invoice, Stripe will email this invoice to the customer with payment instructions. Defaults to `charge_automatically`.", "enum": [ @@ -114111,6 +115156,11 @@ "liability" ] }, + "automatically_finalizes_at": { + "description": "The time when this invoice should be scheduled to finalize. The invoice will be finalized at this time if it is still in draft state. To turn off automatic finalization, set `auto_advance` to false.", + "format": "unix-time", + "type": "integer" + }, "collection_method": { "description": "Either `charge_automatically` or `send_invoice`. This field can be updated only on `draft` invoices.", "enum": [ @@ -181868,7 +182918,6 @@ "allow_redisplay", "enable_customer_cancellation", "moto", - "request_dynamic_currency_conversion", "return_url", "skip_tipping", "tipping" @@ -190055,6 +191104,7 @@ "type": "object", "x-stripeMostCommon": [ "back", + "electronic_id", "front" ] }, @@ -190076,6 +191126,7 @@ "type": "object", "x-stripeMostCommon": [ "back", + "electronic_id", "front" ] } @@ -190084,7 +191135,8 @@ "type": "object", "x-stripeMostCommon": [ "additional_document", - "document" + "document", + "proof_of_liveness" ] } }, @@ -190920,6 +191972,7 @@ "type": "object", "x-stripeMostCommon": [ "back", + "electronic_id", "front" ] }, @@ -190941,6 +191994,7 @@ "type": "object", "x-stripeMostCommon": [ "back", + "electronic_id", "front" ] } @@ -190949,7 +192003,8 @@ "type": "object", "x-stripeMostCommon": [ "additional_document", - "document" + "document", + "proof_of_liveness" ] } }, @@ -197512,7 +198567,8 @@ "2023-10-16", "2024-04-10", "2024-06-20", - "2024-09-30.acacia" + "2024-09-30.acacia", + "2024-10-28.acacia" ], "maxLength": 5000, "type": "string", diff --git a/pkg/cmd/resources_cmds.go b/pkg/cmd/resources_cmds.go index 0b355c11..de7f45bf 100644 --- a/pkg/cmd/resources_cmds.go +++ b/pkg/cmd/resources_cmds.go @@ -1261,6 +1261,7 @@ func addAllResourcesCmds(rootCmd *cobra.Command) { "automatic_tax.enabled": "boolean", "automatic_tax.liability.account": "string", "automatic_tax.liability.type": "string", + "automatically_finalizes_at": "integer", "collection_method": "string", "currency": "string", "customer": "string", @@ -1419,6 +1420,7 @@ func addAllResourcesCmds(rootCmd *cobra.Command) { "automatic_tax.enabled": "boolean", "automatic_tax.liability.account": "string", "automatic_tax.liability.type": "string", + "automatically_finalizes_at": "integer", "collection_method": "string", "days_until_due": "integer", "default_payment_method": "string", @@ -3523,12 +3525,15 @@ func addAllResourcesCmds(rootCmd *cobra.Command) { "payment_method_options.giropay.setup_future_usage": "string", "payment_method_options.grabpay.setup_future_usage": "string", "payment_method_options.ideal.setup_future_usage": "string", + "payment_method_options.kakao_pay.setup_future_usage": "string", "payment_method_options.klarna.setup_future_usage": "string", "payment_method_options.konbini.expires_after_days": "integer", "payment_method_options.konbini.setup_future_usage": "string", + "payment_method_options.kr_card.setup_future_usage": "string", "payment_method_options.link.setup_future_usage": "string", "payment_method_options.mobilepay.setup_future_usage": "string", "payment_method_options.multibanco.setup_future_usage": "string", + "payment_method_options.naver_pay.setup_future_usage": "string", "payment_method_options.oxxo.expires_after_days": "integer", "payment_method_options.oxxo.setup_future_usage": "string", "payment_method_options.p24.setup_future_usage": "string",