From a0027d9588da963599c0fb25eaf9fb9192ea55f9 Mon Sep 17 00:00:00 2001 From: "stripe-openapi[bot]" <105521251+stripe-openapi[bot]@users.noreply.github.com> Date: Thu, 25 Jan 2024 17:23:21 +0000 Subject: [PATCH] OpenAPI Update (#630) Update OpenAPI for 12788b1abd690d87ddd720c03168e56343e828e4 Co-authored-by: Stripe OpenAPI <105521251+stripe-openapi[bot]@users.noreply.github.com> --- embedded/openapi/fixtures3.beta.json | 102 ++--- embedded/openapi/fixtures3.json | 54 +-- embedded/openapi/spec3.beta.sdk.json | 226 +++++++++-- embedded/openapi/spec3.json | 580 ++++++++++++++++++++++++++- 4 files changed, 847 insertions(+), 115 deletions(-) diff --git a/embedded/openapi/fixtures3.beta.json b/embedded/openapi/fixtures3.beta.json index d816d97f..c60749fb 100755 --- a/embedded/openapi/fixtures3.beta.json +++ b/embedded/openapi/fixtures3.beta.json @@ -2,6 +2,8 @@ "resources": { "account": { "business_profile": { + "annual_revenue": null, + "estimated_worker_count": null, "mcc": null, "name": null, "product_description": null, @@ -376,6 +378,7 @@ }, "capital.financing_offer": { "account": "acct_1OMeebH46bnxIHYh", + "charged_off_at": 1234567890, "created": 1702420938, "expires_after": 1704931200, "financing_type": "flex_loan", @@ -451,7 +454,7 @@ "id": "card_1OMe4BCLDLpHmE6uOaydeTvZ", "last4": "4242", "metadata": {}, - "name": null, + "name": "Jenny Rosen", "object": "card", "tokenization_method": null }, @@ -485,7 +488,7 @@ "state": null }, "email": null, - "name": null, + "name": "Jenny Rosen", "phone": null }, "calculated_statement_descriptor": null, @@ -575,6 +578,7 @@ "amount_total": null, "automatic_tax": { "enabled": false, + "liability": null, "status": null }, "billing_address_collection": null, @@ -797,7 +801,7 @@ "account_type": "checking", "bank_name": "STRIPE TEST BANK", "financial_connections_account": null, - "fingerprint": "DqWZz1tv4VpwS8on", + "fingerprint": "ykKdWTbdcobSIANT", "last4": "6789", "networks": { "preferred": "ach", @@ -813,18 +817,7 @@ "return_url": "https://example.com/return", "setup_future_usage": "off_session", "setup_intent": null, - "shipping": { - "address": { - "city": "San Francisco", - "country": "US", - "line1": "1234 Fake Street", - "line2": null, - "postal_code": "94102", - "state": "CA" - }, - "name": "Jenny Rosen", - "phone": null - } + "shipping": null }, "country_spec": { "default_currency": "usd", @@ -1115,6 +1108,7 @@ "id": "txr_1OMeecCLDLpHmE6u4OI2hNDW", "inclusive": false, "jurisdiction": "DE", + "jurisdiction_level": null, "livemode": false, "metadata": {}, "object": "tax_rate", @@ -1549,59 +1543,48 @@ "links": { "data": [ { - "created": 1702420937, - "expired": false, - "expires_at": null, - "file": "file_1OMe4bCLDLpHmE6ueaXq2SbR", - "id": "link_1OMeebCLDLpHmE6uLnphcM5z", - "livemode": false, - "metadata": {}, - "object": "file_link", - "url": "https://rwashburne-g8ezbf--upload-mydev.dev.stripe.me/links/MDB8YWNjdF8xT01lM3JDTERMcEhtRTZ1fGZsX3Rlc3RfVUt1eWZHM1ZyYW93TkpGZjJOWnh4ZUN00051VsNoBe" - }, - { - "created": 1702418705, + "created": 1706200034, "expired": false, "expires_at": null, - "file": "file_1OMe4bCLDLpHmE6ueaXq2SbR", - "id": "link_1OMe4bCLDLpHmE6ukprsWAB2", + "file": "file_1OcVhzDy8zbvZdAPbMdtICx2", + "id": "link_1OcVlmDy8zbvZdAPLYHrev4d", "livemode": false, "metadata": {}, "object": "file_link", - "url": "https://rwashburne-g8ezbf--upload-mydev.dev.stripe.me/links/MDB8YWNjdF8xT01lM3JDTERMcEhtRTZ1fGZsX3Rlc3RfU1BWbWdMcFVLVTFIUHZpM0lpTFFDRmtm00yC4jtB6H" + "url": "https://pakrym-upload-mydev.dev.stripe.me/links/MDB8YWNjdF8xT2NWaGNEeTh6YnZaZEFQfGZsX3Rlc3RfOVlHeXdVdWMyR0lrNVM1ejdGNFBqZmZ2003Ot96ygb" }, { - "created": 1705517612, + "created": 1706200033, "expired": false, "expires_at": null, - "file": "file_1OZeEyBdtFoQDc8hiLctksU9", - "id": "link_1OZeEyBdtFoQDc8hkuUWhWwb", + "file": "file_1OcVhzDy8zbvZdAPbMdtICx2", + "id": "link_1OcVllDy8zbvZdAPFm2Rw3az", "livemode": false, "metadata": {}, "object": "file_link", - "url": "https://anniel-ob52sw--upload-mydev.dev.stripe.me/links/MDB8YWNjdF8xT1plRVhCZHRGb1FEYzhofGZsX3Rlc3RfNUZpaDd5YU4yS01sVVVFalBLNDRmb01I00dvOQbCJw" + "url": "https://pakrym-upload-mydev.dev.stripe.me/links/MDB8YWNjdF8xT2NWaGNEeTh6YnZaZEFQfGZsX3Rlc3RfMkpENmxlajRVSkN6UWcyN2tDbXJzb1hz00ZUdPIHXo" }, { - "created": 1705518728, + "created": 1706199800, "expired": false, "expires_at": null, - "file": "file_1OZeEyBdtFoQDc8hiLctksU9", - "id": "link_1OZeWyBdtFoQDc8hnxJ5gmNE", + "file": "file_1OcVhzDy8zbvZdAPbMdtICx2", + "id": "link_1OcVi0Dy8zbvZdAPelDMzIr9", "livemode": false, "metadata": {}, "object": "file_link", - "url": "https://anniel-ob52sw--upload-mydev.dev.stripe.me/links/MDB8YWNjdF8xT1plRVhCZHRGb1FEYzhofGZsX3Rlc3RfaTd5TldodW94MWM0M3pJSld1eDNRbkpL00x9dR5ays" + "url": "https://pakrym-upload-mydev.dev.stripe.me/links/MDB8YWNjdF8xT2NWaGNEeTh6YnZaZEFQfGZsX3Rlc3RfSzFXUUhwdTVnTzJNcWFBMTVOYWl4ZE8500ozp8ilyy" }, { - "created": 1705517612, + "created": 1706199799, "expired": false, "expires_at": null, - "file": "file_1OZeEyBdtFoQDc8hiLctksU9", - "id": "link_1OZeEyBdtFoQDc8hkuUWhWwb", + "file": "file_1OcVhzDy8zbvZdAPbMdtICx2", + "id": "link_1OcVhzDy8zbvZdAPamJnikfg", "livemode": false, "metadata": {}, "object": "file_link", - "url": "https://anniel-ob52sw--upload-mydev.dev.stripe.me/links/MDB8YWNjdF8xT1plRVhCZHRGb1FEYzhofGZsX3Rlc3RfNUZpaDd5YU4yS01sVVVFalBLNDRmb01I00dvOQbCJw" + "url": "https://pakrym-upload-mydev.dev.stripe.me/links/MDB8YWNjdF8xT2NWaGNEeTh6YnZaZEFQfGZsX3Rlc3RfRjJLSVNGMTBoR1FmVldGN2JhV0FaeXVz009hUvBCR4" } ], "has_more": false, @@ -2637,7 +2620,8 @@ "application_fee_amount": null, "application_fee_percent": null, "automatic_tax": { - "enabled": false + "enabled": false, + "liability": null }, "billing_address_collection": "auto", "consent_collection": null, @@ -2931,6 +2915,8 @@ }, "payment_source": { "business_profile": { + "annual_revenue": null, + "estimated_worker_count": null, "mcc": null, "name": null, "product_description": null, @@ -3190,7 +3176,7 @@ "product": { "active": true, "created": 1234567890, - "default_price": "price_1OMe4GCLDLpHmE6uj9Z5NUFO", + "default_price": "price_1OcVhoDy8zbvZdAPqFLkL5vf", "description": "Comfortable gray cotton t-shirt", "features": [], "id": "prod_PB04hpc8sz6smG", @@ -3251,6 +3237,7 @@ "application_fee_percent": null, "automatic_tax": { "enabled": false, + "liability": null, "status": null }, "collection_method": "charge_automatically", @@ -3279,7 +3266,10 @@ "id": "qt_1OMeeOCLDLpHmE6uueNJOCPf", "invoice": null, "invoice_settings": { - "days_until_due": null + "days_until_due": null, + "issuer": { + "type": "self" + } }, "livemode": false, "metadata": {}, @@ -3966,7 +3956,8 @@ "default_settings": { "application_fee_percent": null, "automatic_tax": { - "enabled": false + "enabled": false, + "liability": null }, "billing_cycle_anchor": "automatic", "billing_thresholds": null, @@ -3974,7 +3965,10 @@ "default_payment_method": null, "description": null, "invoice_settings": { - "days_until_due": null + "days_until_due": null, + "issuer": { + "type": "self" + } }, "on_behalf_of": null, "transfer_data": null @@ -4613,13 +4607,19 @@ "created": 1234567890, "currency": "usd", "customer": null, - "description": null, + "description": "OutboundPayment to a 3rd party", "destination_payment_method": null, - "destination_payment_method_details": null, - "end_user_details": null, + "destination_payment_method_details": { + "destination": "ba_1OcVhmGkxD9yTwSQ7jMFO6gg", + "type": "us_bank_account" + }, + "end_user_details": { + "ip_address": null, + "present": false + }, "expected_arrival_date": 1234567890, "financial_account": "fa_1OMeeYCLDLpHmE6unDhjFTR3", - "hosted_regulatory_receipt_url": null, + "hosted_regulatory_receipt_url": "https://pakrym-agrippa-mydev.dev.stripe.me/regulatory-receipt/CBQaFwoVYWNjdF8xT2NWaGVHa3hEOXlUd1NRKJ2Wyq0GMgZ2QpQnXjU6Nf2L1hWUOFKU4MM7DBmGbyCirzoWBUjqQ3QS5OIpYDy8LxXlsMCw4pDnVOEQhVCNUAd1tagZ", "id": "obp_1OMeeeCLDLpHmE6uj7LV979T", "livemode": false, "metadata": {}, diff --git a/embedded/openapi/fixtures3.json b/embedded/openapi/fixtures3.json index 5d8192f4..23bd9271 100644 --- a/embedded/openapi/fixtures3.json +++ b/embedded/openapi/fixtures3.json @@ -2,6 +2,8 @@ "resources": { "account": { "business_profile": { + "annual_revenue": null, + "estimated_worker_count": null, "mcc": null, "name": null, "product_description": null, @@ -379,7 +381,7 @@ "id": "card_1OPoudJN5vQBdWExoijT3YAB", "last4": "4242", "metadata": {}, - "name": null, + "name": "Jenny Rosen", "object": "card", "tokenization_method": null }, @@ -413,7 +415,7 @@ "state": null }, "email": null, - "name": null, + "name": "Jenny Rosen", "phone": null }, "calculated_statement_descriptor": null, @@ -502,6 +504,7 @@ "amount_total": null, "automatic_tax": { "enabled": false, + "liability": null, "status": null }, "billing_address_collection": null, @@ -984,6 +987,7 @@ "id": "txr_1OPouvJN5vQBdWExvkEZYzsQ", "inclusive": false, "jurisdiction": "DE", + "jurisdiction_level": null, "livemode": false, "metadata": {}, "object": "tax_rate", @@ -1452,37 +1456,26 @@ "url": "https://pakrym-upload-mydev.dev.stripe.me/links/MDB8YWNjdF8xT1hYY1VEMnFQN1F0SmVHfGZsX3Rlc3RfUzNDbHVhMWc0dEJuaWZVTFlQbXVSelhu00rmgafjqm" }, { - "created": 1705517612, - "expired": false, - "expires_at": null, - "file": "file_1OZeEyBdtFoQDc8hiLctksU9", - "id": "link_1OZeEyBdtFoQDc8hkuUWhWwb", - "livemode": false, - "metadata": {}, - "object": "file_link", - "url": "https://anniel-ob52sw--upload-mydev.dev.stripe.me/links/MDB8YWNjdF8xT1plRVhCZHRGb1FEYzhofGZsX3Rlc3RfNUZpaDd5YU4yS01sVVVFalBLNDRmb01I00dvOQbCJw" - }, - { - "created": 1705518728, + "created": 1706199800, "expired": false, "expires_at": null, - "file": "file_1OZeEyBdtFoQDc8hiLctksU9", - "id": "link_1OZeWyBdtFoQDc8hnxJ5gmNE", + "file": "file_1OcVhzDy8zbvZdAPbMdtICx2", + "id": "link_1OcVi0Dy8zbvZdAPelDMzIr9", "livemode": false, "metadata": {}, "object": "file_link", - "url": "https://anniel-ob52sw--upload-mydev.dev.stripe.me/links/MDB8YWNjdF8xT1plRVhCZHRGb1FEYzhofGZsX3Rlc3RfaTd5TldodW94MWM0M3pJSld1eDNRbkpL00x9dR5ays" + "url": "https://pakrym-upload-mydev.dev.stripe.me/links/MDB8YWNjdF8xT2NWaGNEeTh6YnZaZEFQfGZsX3Rlc3RfSzFXUUhwdTVnTzJNcWFBMTVOYWl4ZE8500ozp8ilyy" }, { - "created": 1705517612, + "created": 1706199799, "expired": false, "expires_at": null, - "file": "file_1OZeEyBdtFoQDc8hiLctksU9", - "id": "link_1OZeEyBdtFoQDc8hkuUWhWwb", + "file": "file_1OcVhzDy8zbvZdAPbMdtICx2", + "id": "link_1OcVhzDy8zbvZdAPamJnikfg", "livemode": false, "metadata": {}, "object": "file_link", - "url": "https://anniel-ob52sw--upload-mydev.dev.stripe.me/links/MDB8YWNjdF8xT1plRVhCZHRGb1FEYzhofGZsX3Rlc3RfNUZpaDd5YU4yS01sVVVFalBLNDRmb01I00dvOQbCJw" + "url": "https://pakrym-upload-mydev.dev.stripe.me/links/MDB8YWNjdF8xT2NWaGNEeTh6YnZaZEFQfGZsX3Rlc3RfRjJLSVNGMTBoR1FmVldGN2JhV0FaeXVz009hUvBCR4" } ], "has_more": false, @@ -2365,7 +2358,8 @@ "application_fee_amount": null, "application_fee_percent": null, "automatic_tax": { - "enabled": false + "enabled": false, + "liability": null }, "billing_address_collection": "auto", "consent_collection": null, @@ -2659,6 +2653,8 @@ }, "payment_source": { "business_profile": { + "annual_revenue": null, + "estimated_worker_count": null, "mcc": null, "name": null, "product_description": null, @@ -2978,6 +2974,7 @@ "application_fee_percent": null, "automatic_tax": { "enabled": false, + "liability": null, "status": null }, "collection_method": "charge_automatically", @@ -3006,7 +3003,10 @@ "id": "qt_1OPoumJN5vQBdWExJFNWX8UZ", "invoice": null, "invoice_settings": { - "days_until_due": null + "days_until_due": null, + "issuer": { + "type": "self" + } }, "livemode": false, "metadata": {}, @@ -3516,7 +3516,8 @@ "default_settings": { "application_fee_percent": null, "automatic_tax": { - "enabled": false + "enabled": false, + "liability": null }, "billing_cycle_anchor": "automatic", "billing_thresholds": null, @@ -3524,7 +3525,10 @@ "default_payment_method": null, "description": null, "invoice_settings": { - "days_until_due": null + "days_until_due": null, + "issuer": { + "type": "self" + } }, "on_behalf_of": null, "transfer_data": null diff --git a/embedded/openapi/spec3.beta.sdk.json b/embedded/openapi/spec3.beta.sdk.json index f3d4c041..e110052a 100644 --- a/embedded/openapi/spec3.beta.sdk.json +++ b/embedded/openapi/spec3.beta.sdk.json @@ -377,6 +377,35 @@ "type": "account.updated" } }, + "account_annual_revenue": { + "description": "", + "properties": { + "amount": { + "description": "A non-negative integer representing the amount in the [smallest currency unit](https://stripe.com/docs/currencies#zero-decimal).", + "nullable": true, + "type": "integer" + }, + "currency": { + "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).", + "nullable": true, + "type": "string" + }, + "fiscal_year_end": { + "description": "The close-out date of the preceding fiscal year in ISO 8601 format. E.g. 2023-12-31 for the 31st of December, 2023.", + "maxLength": 5000, + "nullable": true, + "type": "string" + } + }, + "required": [ + "amount", + "currency", + "fiscal_year_end" + ], + "title": "AccountAnnualRevenue", + "type": "object", + "x-expandableFields": [] + }, "account_bacs_debit_payments_settings": { "description": "", "properties": { @@ -473,6 +502,20 @@ "account_business_profile": { "description": "", "properties": { + "annual_revenue": { + "anyOf": [ + { + "$ref": "#/components/schemas/account_annual_revenue" + } + ], + "description": "The applicant's gross annual revenue for its preceding fiscal year.", + "nullable": true + }, + "estimated_worker_count": { + "description": "An estimated upper bound of employees, contractors, vendors, etc. currently working for the business.", + "nullable": true, + "type": "integer" + }, "mcc": { "description": "[The merchant category code for the account](https://stripe.com/docs/connect/setting-mcc). MCCs are used to classify businesses based on the goods or services they provide.", "maxLength": 5000, @@ -529,6 +572,8 @@ } }, "required": [ + "annual_revenue", + "estimated_worker_count", "mcc", "name", "support_address", @@ -540,6 +585,7 @@ "title": "AccountBusinessProfile", "type": "object", "x-expandableFields": [ + "annual_revenue", "monthly_estimated_revenue", "support_address" ] @@ -4503,6 +4549,11 @@ "maxLength": 5000, "type": "string" }, + "charged_off_at": { + "description": "The time at which this financing offer was charged off, if applicable. Given in seconds since unix epoch.", + "format": "unix-time", + "type": "integer" + }, "created": { "description": "Time at which the offer was created. Given in seconds since unix epoch.", "type": "integer" @@ -6629,7 +6680,7 @@ "nullable": true }, "custom_fields": { - "description": "Collect additional information from your customer using custom fields. Up to 2 fields are supported.", + "description": "Collect additional information from your customer using custom fields. Up to 3 fields are supported.", "items": { "$ref": "#/components/schemas/payment_pages_checkout_session_custom_fields" }, @@ -13808,18 +13859,40 @@ ], "description": "Details to determine how long the discount should be applied for.", "nullable": true + }, + "promotion_code": { + "anyOf": [ + { + "maxLength": 5000, + "type": "string" + }, + { + "$ref": "#/components/schemas/promotion_code" + } + ], + "description": "ID of the promotion code to create a new discount for.", + "nullable": true, + "x-expansionResources": { + "oneOf": [ + { + "$ref": "#/components/schemas/promotion_code" + } + ] + } } }, "required": [ "coupon", - "discount" + "discount", + "promotion_code" ], "title": "DiscountsResourceStackableDiscount", "type": "object", "x-expandableFields": [ "coupon", "discount", - "discount_end" + "discount_end", + "promotion_code" ] }, "dispute": { @@ -20404,7 +20477,8 @@ } }, "required": [ - "days_until_due" + "days_until_due", + "issuer" ], "title": "InvoiceSettingQuoteSetting", "type": "object", @@ -20448,7 +20522,8 @@ } }, "required": [ - "days_until_due" + "days_until_due", + "issuer" ], "title": "InvoiceSettingSubscriptionSchedulePhaseSetting", "type": "object", @@ -20469,7 +20544,8 @@ } }, "required": [ - "days_until_due" + "days_until_due", + "issuer" ], "title": "InvoiceSettingSubscriptionScheduleSetting", "type": "object", @@ -34087,7 +34163,7 @@ "type": "string" }, "request_incremental_authorization": { - "description": "Request ability to [increment](https://stripe.com/docs/payments/incremental-authorization) for this PaymentIntent.", + "description": "Request ability to [increment the authorization](https://stripe.com/docs/payments/incremental-authorization) for this PaymentIntent.", "enum": [ "if_available", "never" @@ -34490,7 +34566,7 @@ "type": "string" }, "custom_fields": { - "description": "Collect additional information from your customer using custom fields. Up to 2 fields are supported.", + "description": "Collect additional information from your customer using custom fields. Up to 3 fields are supported.", "items": { "$ref": "#/components/schemas/payment_links_resource_custom_fields" }, @@ -34903,7 +34979,8 @@ } }, "required": [ - "enabled" + "enabled", + "liability" ], "title": "PaymentLinksResourceAutomaticTax", "type": "object", @@ -35353,6 +35430,7 @@ "custom_fields", "description", "footer", + "issuer", "metadata", "rendering_options" ], @@ -35814,6 +35892,7 @@ }, "required": [ "description", + "invoice_settings", "metadata", "trial_period_days", "trial_settings" @@ -35832,6 +35911,9 @@ "$ref": "#/components/schemas/connect_account_reference" } }, + "required": [ + "issuer" + ], "title": "PaymentLinksResourceSubscriptionDataInvoiceSettings", "type": "object", "x-expandableFields": [ @@ -48090,6 +48172,7 @@ }, "required": [ "enabled", + "liability", "status" ], "title": "QuotesResourceAutomaticTax", @@ -51223,7 +51306,8 @@ } }, "required": [ - "enabled" + "enabled", + "liability" ], "title": "SchedulesPhaseAutomaticTax", "type": "object", @@ -55404,19 +55488,41 @@ "description": "The index, starting at 0, at which to position the new discount. When not supplied, Stripe defaults to appending the discount to the end of the `discounts` array.", "nullable": true, "type": "integer" + }, + "promotion_code": { + "anyOf": [ + { + "maxLength": 5000, + "type": "string" + }, + { + "$ref": "#/components/schemas/promotion_code" + } + ], + "description": "ID of the promotion code to create a new discount for.", + "nullable": true, + "x-expansionResources": { + "oneOf": [ + { + "$ref": "#/components/schemas/promotion_code" + } + ] + } } }, "required": [ "coupon", "discount", - "index" + "index", + "promotion_code" ], "title": "StackableDiscountWithIndexAndDiscountEnd", "type": "object", "x-expandableFields": [ "coupon", "discount", - "discount_end" + "discount_end", + "promotion_code" ] }, "subscription": { @@ -57447,7 +57553,8 @@ } }, "required": [ - "enabled" + "enabled", + "liability" ], "title": "SubscriptionSchedulesResourceDefaultSettingsAutomaticTax", "type": "object", @@ -67431,7 +67538,7 @@ "type": "string" }, "future_requirements": { - "description": "Options for collecting future_requirements in Connect Onboarding", + "description": "Specifies whether the platform collects future_requirements in addition to requirements in Connect Onboarding. The default value is `omit`.", "enum": [ "include", "omit" @@ -68256,6 +68363,35 @@ "business_profile": { "description": "Business information about the account.", "properties": { + "annual_revenue": { + "description": "The applicant's gross annual revenue for its preceding fiscal year.", + "properties": { + "amount": { + "description": "A non-negative integer representing the amount in the [smallest currency unit](https://stripe.com/docs/currencies#zero-decimal).", + "type": "integer" + }, + "currency": { + "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" + }, + "fiscal_year_end": { + "description": "The close-out date of the preceding fiscal year in ISO 8601 format. E.g. 2023-12-31 for the 31st of December, 2023.", + "maxLength": 5000, + "type": "string" + } + }, + "required": [ + "amount", + "currency", + "fiscal_year_end" + ], + "title": "annual_revenue_specs", + "type": "object" + }, + "estimated_worker_count": { + "description": "An estimated upper bound of employees, contractors, vendors, etc. currently working for the business.", + "type": "integer" + }, "mcc": { "description": "[The merchant category code for the account](https://stripe.com/docs/connect/setting-mcc). MCCs are used to classify businesses based on the goods or services they provide.", "maxLength": 4, @@ -70136,6 +70272,35 @@ "business_profile": { "description": "Business information about the account.", "properties": { + "annual_revenue": { + "description": "The applicant's gross annual revenue for its preceding fiscal year.", + "properties": { + "amount": { + "description": "A non-negative integer representing the amount in the [smallest currency unit](https://stripe.com/docs/currencies#zero-decimal).", + "type": "integer" + }, + "currency": { + "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" + }, + "fiscal_year_end": { + "description": "The close-out date of the preceding fiscal year in ISO 8601 format. E.g. 2023-12-31 for the 31st of December, 2023.", + "maxLength": 5000, + "type": "string" + } + }, + "required": [ + "amount", + "currency", + "fiscal_year_end" + ], + "title": "annual_revenue_specs", + "type": "object" + }, + "estimated_worker_count": { + "description": "An estimated upper bound of employees, contractors, vendors, etc. currently working for the business.", + "type": "integer" + }, "mcc": { "description": "[The merchant category code for the account](https://stripe.com/docs/connect/setting-mcc). MCCs are used to classify businesses based on the goods or services they provide.", "maxLength": 4, @@ -78550,7 +78715,7 @@ } }, "post": { - "description": "
Use the Payment Intents API to initiate a new payment instead\nof using this method. Confirmation of the PaymentIntent creates the Charge
\nobject used to request payment, so this method is limited to legacy integrations.
This method is no longer recommended—use the Payment Intents API\nto initiate a new payment instead. Confirmation of the PaymentIntent creates the Charge
\nobject used to request payment.
Use the Payment Intents API to initiate a new payment instead\nof using this method. Confirmation of the PaymentIntent creates the Charge
\nobject used to request payment, so this method is limited to legacy integrations.
This method is no longer recommended—use the Payment Intents API\nto initiate a new payment instead. Confirmation of the PaymentIntent creates the Charge
\nobject used to request payment.