diff --git a/Dockerfile b/Dockerfile index 572bd1c..dd2e535 100644 --- a/Dockerfile +++ b/Dockerfile @@ -1,3 +1,3 @@ -FROM ghcr.io/hasura/ndc-rest:v0.1.2 +FROM ghcr.io/hasura/ndc-rest:v0.1.3 COPY ./config /config \ No newline at end of file diff --git a/Makefile b/Makefile index a312a04..aceb1ee 100644 --- a/Makefile +++ b/Makefile @@ -1,5 +1,5 @@ -STRIPE_VERSION ?= v956 -NDC_REST_VERSION ?= v0.1.2 +STRIPE_VERSION ?= v1027 +NDC_REST_VERSION ?= v0.1.3 UID ?= $(shell id -u) GID ?= $(shell id -g) diff --git a/config/schema.json b/config/schema.json index 24fb9d8..148462b 100644 --- a/config/schema.json +++ b/config/schema.json @@ -2729,7 +2729,7 @@ } }, "end_time": { - "description": "The timestamp from when to stop aggregating usage events (exclusive).", + "description": "The timestamp from when to stop aggregating meter events (exclusive).", "type": { "name": "UnixTime", "type": "named" @@ -2776,7 +2776,7 @@ } }, "start_time": { - "description": "The timestamp from when to start aggregating usage events (inclusive).", + "description": "The timestamp from when to start aggregating meter events (inclusive).", "type": { "name": "UnixTime", "type": "named" @@ -7092,6 +7092,15 @@ "maxLength": 5000 } }, + { + "style": "form", + "name": "allow_redisplay", + "in": "query", + "schema": { + "type": "CustomersAllowRedisplay", + "nullable": true + } + }, { "style": "form", "name": "ending_before", @@ -7145,6 +7154,16 @@ ] }, "arguments": { + "allow_redisplay": { + "description": "This field indicates whether this payment method can be shown again to its customer in a checkout flow. Stripe products such as Checkout and Elements use this field to determine whether a payment method can be shown as a saved payment method in a checkout flow. The field defaults to `unspecified`.", + "type": { + "type": "nullable", + "underlying_type": { + "name": "CustomersAllowRedisplay", + "type": "named" + } + } + }, "customer": { "type": { "name": "String", @@ -8335,176 +8354,7 @@ "parameters": [ { "style": "form", - "name": "ending_before", - "in": "query", - "schema": { - "type": "String", - "nullable": true, - "maxLength": 5000 - } - }, - { - "style": "deepObject", - "explode": true, - "name": "expand", - "in": "query", - "schema": { - "type": "array", - "nullable": true, - "items": { - "type": "String", - "maxLength": 5000 - } - } - }, - { - "style": "form", - "name": "limit", - "in": "query", - "schema": { - "type": "Int32", - "nullable": true - } - }, - { - "style": "form", - "name": "starting_after", - "in": "query", - "schema": { - "type": "String", - "nullable": true, - "maxLength": 5000 - } - } - ] - }, - "arguments": { - "ending_before": { - "description": "A cursor for use in pagination. `ending_before` is an object ID that defines your place in the list. For instance, if you make a list request and receive 100 objects, starting with `obj_bar`, your subsequent call can include `ending_before=obj_bar` in order to fetch the previous page of the list.", - "type": { - "type": "nullable", - "underlying_type": { - "name": "String", - "type": "named" - } - } - }, - "expand": { - "description": "Specifies which fields in the response should be expanded.", - "type": { - "type": "nullable", - "underlying_type": { - "element_type": { - "name": "String", - "type": "named" - }, - "type": "array" - } - } - }, - "limit": { - "description": "A limit on the number of objects to be returned. Limit can range between 1 and 100, and the default is 10.", - "type": { - "type": "nullable", - "underlying_type": { - "name": "Int32", - "type": "named" - } - } - }, - "starting_after": { - "description": "A cursor for use in pagination. `starting_after` is an object ID that defines your place in the list. For instance, if you make a list request and receive 100 objects, ending with `obj_foo`, your subsequent call can include `starting_after=obj_foo` in order to fetch the next page of the list.", - "type": { - "type": "nullable", - "underlying_type": { - "name": "String", - "type": "named" - } - } - } - }, - "name": "GetEntitlementsFeatures", - "result_type": { - "name": "GetEntitlementsFeaturesResult", - "type": "named" - } - }, - { - "request": { - "url": "/v1/entitlements/features/{id}", - "method": "get", - "parameters": [ - { - "style": "simple", - "name": "id", - "in": "path", - "schema": { - "type": "String", - "maxLength": 5000 - } - }, - { - "style": "deepObject", - "explode": true, - "name": "expand", - "in": "query", - "schema": { - "type": "array", - "nullable": true, - "items": { - "type": "String", - "maxLength": 5000 - } - } - } - ] - }, - "arguments": { - "expand": { - "description": "Specifies which fields in the response should be expanded.", - "type": { - "type": "nullable", - "underlying_type": { - "element_type": { - "name": "String", - "type": "named" - }, - "type": "array" - } - } - }, - "id": { - "description": "The ID of the feature.", - "type": { - "name": "String", - "type": "named" - } - } - }, - "name": "GetEntitlementsFeaturesId", - "result_type": { - "name": "EntitlementsFeature", - "type": "named" - } - }, - { - "request": { - "url": "/v1/events", - "method": "get", - "parameters": [ - { - "style": "deepObject", - "explode": true, - "name": "created", - "in": "query", - "schema": { - "type": "JSON", - "nullable": true - } - }, - { - "style": "form", - "name": "delivery_success", + "name": "archived", "in": "query", "schema": { "type": "Boolean", @@ -8546,7 +8396,7 @@ }, { "style": "form", - "name": "starting_after", + "name": "lookup_key", "in": "query", "schema": { "type": "String", @@ -8556,43 +8406,19 @@ }, { "style": "form", - "name": "type", + "name": "starting_after", "in": "query", "schema": { "type": "String", "nullable": true, "maxLength": 5000 } - }, - { - "style": "deepObject", - "explode": true, - "name": "types", - "in": "query", - "schema": { - "type": "array", - "nullable": true, - "items": { - "type": "String", - "maxLength": 5000 - } - } } ] }, "arguments": { - "created": { - "description": "Only return events that were created during the given date interval.", - "type": { - "type": "nullable", - "underlying_type": { - "name": "JSON", - "type": "named" - } - } - }, - "delivery_success": { - "description": "Filter events by whether all webhooks were successfully delivered. If false, events which are still pending or have failed all delivery attempts to a webhook endpoint will be returned.", + "archived": { + "description": "If set, filter results to only include features with the given archive status.", "type": { "type": "nullable", "underlying_type": { @@ -8634,8 +8460,8 @@ } } }, - "starting_after": { - "description": "A cursor for use in pagination. `starting_after` is an object ID that defines your place in the list. For instance, if you make a list request and receive 100 objects, ending with `obj_foo`, your subsequent call can include `starting_after=obj_foo` in order to fetch the next page of the list.", + "lookup_key": { + "description": "If set, filter results to only include features with the given lookup_key.", "type": { "type": "nullable", "underlying_type": { @@ -8644,8 +8470,8 @@ } } }, - "type": { - "description": "A string containing a specific event name, or group of events using * as a wildcard. The list will be filtered to include only events with a matching event property.", + "starting_after": { + "description": "A cursor for use in pagination. `starting_after` is an object ID that defines your place in the list. For instance, if you make a list request and receive 100 objects, ending with `obj_foo`, your subsequent call can include `starting_after=obj_foo` in order to fetch the next page of the list.", "type": { "type": "nullable", "underlying_type": { @@ -8653,30 +8479,17 @@ "type": "named" } } - }, - "types": { - "description": "An array of up to 20 strings containing specific event names. The list will be filtered to include only events with a matching event property. You may pass either `type` or `types`, but not both.", - "type": { - "type": "nullable", - "underlying_type": { - "element_type": { - "name": "String", - "type": "named" - }, - "type": "array" - } - } } }, - "name": "GetEvents", + "name": "GetEntitlementsFeatures", "result_type": { - "name": "GetEventsResult", + "name": "GetEntitlementsFeaturesResult", "type": "named" } }, { "request": { - "url": "/v1/events/{id}", + "url": "/v1/entitlements/features/{id}", "method": "get", "parameters": [ { @@ -8719,23 +8532,43 @@ } }, "id": { + "description": "The ID of the feature.", "type": { "name": "String", "type": "named" } } }, - "name": "GetEventsId", + "name": "GetEntitlementsFeaturesId", "result_type": { - "name": "Event", + "name": "EntitlementsFeature", "type": "named" } }, { "request": { - "url": "/v1/exchange_rates", + "url": "/v1/events", "method": "get", "parameters": [ + { + "style": "deepObject", + "explode": true, + "name": "created", + "in": "query", + "schema": { + "type": "JSON", + "nullable": true + } + }, + { + "style": "form", + "name": "delivery_success", + "in": "query", + "schema": { + "type": "Boolean", + "nullable": true + } + }, { "style": "form", "name": "ending_before", @@ -8778,12 +8611,56 @@ "nullable": true, "maxLength": 5000 } + }, + { + "style": "form", + "name": "type", + "in": "query", + "schema": { + "type": "String", + "nullable": true, + "maxLength": 5000 + } + }, + { + "style": "deepObject", + "explode": true, + "name": "types", + "in": "query", + "schema": { + "type": "array", + "nullable": true, + "items": { + "type": "String", + "maxLength": 5000 + } + } } ] }, "arguments": { + "created": { + "description": "Only return events that were created during the given date interval.", + "type": { + "type": "nullable", + "underlying_type": { + "name": "JSON", + "type": "named" + } + } + }, + "delivery_success": { + "description": "Filter events by whether all webhooks were successfully delivered. If false, events which are still pending or have failed all delivery attempts to a webhook endpoint will be returned.", + "type": { + "type": "nullable", + "underlying_type": { + "name": "Boolean", + "type": "named" + } + } + }, "ending_before": { - "description": "A cursor for use in pagination. `ending_before` is the currency that defines your place in the list. For instance, if you make a list request and receive 100 objects, starting with the exchange rate for currency X your subsequent call can include `ending_before=obj_bar` in order to fetch the previous page of the list.", + "description": "A cursor for use in pagination. `ending_before` is an object ID that defines your place in the list. For instance, if you make a list request and receive 100 objects, starting with `obj_bar`, your subsequent call can include `ending_before=obj_bar` in order to fetch the previous page of the list.", "type": { "type": "nullable", "underlying_type": { @@ -8806,7 +8683,7 @@ } }, "limit": { - "description": "A limit on the number of objects to be returned. Limit can range between 1 and total number of supported payout currencies, and the default is the max.", + "description": "A limit on the number of objects to be returned. Limit can range between 1 and 100, and the default is 10.", "type": { "type": "nullable", "underlying_type": { @@ -8816,7 +8693,7 @@ } }, "starting_after": { - "description": "A cursor for use in pagination. `starting_after` is the currency that defines your place in the list. For instance, if you make a list request and receive 100 objects, ending with the exchange rate for currency X, your subsequent call can include `starting_after=X` in order to fetch the next page of the list.", + "description": "A cursor for use in pagination. `starting_after` is an object ID that defines your place in the list. For instance, if you make a list request and receive 100 objects, ending with `obj_foo`, your subsequent call can include `starting_after=obj_foo` in order to fetch the next page of the list.", "type": { "type": "nullable", "underlying_type": { @@ -8824,22 +8701,45 @@ "type": "named" } } + }, + "type": { + "description": "A string containing a specific event name, or group of events using * as a wildcard. The list will be filtered to include only events with a matching event property.", + "type": { + "type": "nullable", + "underlying_type": { + "name": "String", + "type": "named" + } + } + }, + "types": { + "description": "An array of up to 20 strings containing specific event names. The list will be filtered to include only events with a matching event property. You may pass either `type` or `types`, but not both.", + "type": { + "type": "nullable", + "underlying_type": { + "element_type": { + "name": "String", + "type": "named" + }, + "type": "array" + } + } } }, - "name": "GetExchangeRates", + "name": "GetEvents", "result_type": { - "name": "GetExchangeRatesResult", + "name": "GetEventsResult", "type": "named" } }, { "request": { - "url": "/v1/exchange_rates/{rate_id}", + "url": "/v1/events/{id}", "method": "get", "parameters": [ { "style": "simple", - "name": "rate_id", + "name": "id", "in": "path", "schema": { "type": "String", @@ -8876,41 +8776,32 @@ } } }, - "rate_id": { + "id": { "type": { "name": "String", "type": "named" } } }, - "name": "GetExchangeRatesRateId", + "name": "GetEventsId", "result_type": { - "name": "ExchangeRate", + "name": "Event", "type": "named" } }, { "request": { - "url": "/v1/file_links", + "url": "/v1/exchange_rates", "method": "get", "parameters": [ - { - "style": "deepObject", - "explode": true, - "name": "created", - "in": "query", - "schema": { - "type": "JSON", - "nullable": true - } - }, { "style": "form", "name": "ending_before", "in": "query", "schema": { "type": "String", - "nullable": true + "nullable": true, + "maxLength": 5000 } }, { @@ -8927,25 +8818,6 @@ } } }, - { - "style": "form", - "name": "expired", - "in": "query", - "schema": { - "type": "Boolean", - "nullable": true - } - }, - { - "style": "form", - "name": "file", - "in": "query", - "schema": { - "type": "String", - "nullable": true, - "maxLength": 5000 - } - }, { "style": "form", "name": "limit", @@ -8961,24 +8833,15 @@ "in": "query", "schema": { "type": "String", - "nullable": true + "nullable": true, + "maxLength": 5000 } } ] }, "arguments": { - "created": { - "description": "Only return links that were created during the given date interval.", - "type": { - "type": "nullable", - "underlying_type": { - "name": "JSON", - "type": "named" - } - } - }, "ending_before": { - "description": "A cursor for use in pagination. `ending_before` is an object ID that defines your place in the list. For instance, if you make a list request and receive 100 objects, starting with `obj_bar`, your subsequent call can include `ending_before=obj_bar` in order to fetch the previous page of the list.", + "description": "A cursor for use in pagination. `ending_before` is the currency that defines your place in the list. For instance, if you make a list request and receive 100 objects, starting with the exchange rate for currency X your subsequent call can include `ending_before=obj_bar` in order to fetch the previous page of the list.", "type": { "type": "nullable", "underlying_type": { @@ -9000,28 +8863,8 @@ } } }, - "expired": { - "description": "Filter links by their expiration status. By default, Stripe returns all links.", - "type": { - "type": "nullable", - "underlying_type": { - "name": "Boolean", - "type": "named" - } - } - }, - "file": { - "description": "Only return links for the given file.", - "type": { - "type": "nullable", - "underlying_type": { - "name": "String", - "type": "named" - } - } - }, "limit": { - "description": "A limit on the number of objects to be returned. Limit can range between 1 and 100, and the default is 10.", + "description": "A limit on the number of objects to be returned. Limit can range between 1 and total number of supported payout currencies, and the default is the max.", "type": { "type": "nullable", "underlying_type": { @@ -9031,7 +8874,7 @@ } }, "starting_after": { - "description": "A cursor for use in pagination. `starting_after` is an object ID that defines your place in the list. For instance, if you make a list request and receive 100 objects, ending with `obj_foo`, your subsequent call can include `starting_after=obj_foo` in order to fetch the next page of the list.", + "description": "A cursor for use in pagination. `starting_after` is the currency that defines your place in the list. For instance, if you make a list request and receive 100 objects, ending with the exchange rate for currency X, your subsequent call can include `starting_after=X` in order to fetch the next page of the list.", "type": { "type": "nullable", "underlying_type": { @@ -9041,23 +8884,24 @@ } } }, - "name": "GetFileLinks", + "name": "GetExchangeRates", "result_type": { - "name": "GetFileLinksResult", + "name": "GetExchangeRatesResult", "type": "named" } }, { "request": { - "url": "/v1/file_links/{link}", + "url": "/v1/exchange_rates/{rate_id}", "method": "get", "parameters": [ { "style": "simple", - "name": "link", + "name": "rate_id", "in": "path", "schema": { - "type": "String" + "type": "String", + "maxLength": 5000 } }, { @@ -9090,22 +8934,22 @@ } } }, - "link": { + "rate_id": { "type": { "name": "String", "type": "named" } } }, - "name": "GetFileLinksLink", + "name": "GetExchangeRatesRateId", "result_type": { - "name": "FileLink", + "name": "ExchangeRate", "type": "named" } }, { "request": { - "url": "/v1/files", + "url": "/v1/file_links", "method": "get", "parameters": [ { @@ -9124,8 +8968,7 @@ "in": "query", "schema": { "type": "String", - "nullable": true, - "maxLength": 5000 + "nullable": true } }, { @@ -9144,38 +8987,46 @@ }, { "style": "form", - "name": "limit", + "name": "expired", "in": "query", "schema": { - "type": "Int32", + "type": "Boolean", "nullable": true } }, { "style": "form", - "name": "purpose", + "name": "file", "in": "query", "schema": { - "type": "FilesPurpose", + "type": "String", "nullable": true, "maxLength": 5000 } }, + { + "style": "form", + "name": "limit", + "in": "query", + "schema": { + "type": "Int32", + "nullable": true + } + }, { "style": "form", "name": "starting_after", "in": "query", "schema": { "type": "String", - "nullable": true, - "maxLength": 5000 + "nullable": true } } ] }, "arguments": { "created": { - "description": "Only return files that were created during the given date interval.", + "description": "Only return links that were created during the given date interval.", "type": { "type": "nullable", "underlying_type": { @@ -9207,22 +9058,32 @@ } } }, - "limit": { - "description": "A limit on the number of objects to be returned. Limit can range between 1 and 100, and the default is 10.", + "expired": { + "description": "Filter links by their expiration status. By default, Stripe returns all links.", "type": { "type": "nullable", "underlying_type": { - "name": "Int32", + "name": "Boolean", "type": "named" } } }, - "purpose": { - "description": "Filter queries by the file purpose. If you don't provide a purpose, the queries return unfiltered files.", + "file": { + "description": "Only return links for the given file.", "type": { "type": "nullable", "underlying_type": { - "name": "FilesPurpose", + "name": "String", + "type": "named" + } + } + }, + "limit": { + "description": "A limit on the number of objects to be returned. Limit can range between 1 and 100, and the default is 10.", + "type": { + "type": "nullable", + "underlying_type": { + "name": "Int32", "type": "named" } } @@ -9238,24 +9099,23 @@ } } }, - "name": "GetFiles", + "name": "GetFileLinks", "result_type": { - "name": "GetFilesResult", + "name": "GetFileLinksResult", "type": "named" } }, { "request": { - "url": "/v1/files/{file}", + "url": "/v1/file_links/{link}", "method": "get", "parameters": [ { "style": "simple", - "name": "file", + "name": "link", "in": "path", "schema": { - "type": "String", - "maxLength": 5000 + "type": "String" } }, { @@ -9288,44 +9148,32 @@ } } }, - "file": { + "link": { "type": { "name": "String", "type": "named" } } }, - "name": "GetFilesFile", + "name": "GetFileLinksLink", "result_type": { - "name": "File", + "name": "FileLink", "type": "named" } }, { "request": { - "url": "/v1/financial_connections/accounts", + "url": "/v1/files", "method": "get", "parameters": [ { "style": "deepObject", "explode": true, - "name": "account_holder", + "name": "created", "in": "query", "schema": { - "type": "object", - "nullable": true, - "properties": { - "account": { - "type": "String", - "nullable": true, - "maxLength": 5000 - }, - "customer": { - "type": "String", - "nullable": true, - "maxLength": 5000 - } - } + "type": "JSON", + "nullable": true } }, { @@ -9363,10 +9211,10 @@ }, { "style": "form", - "name": "session", + "name": "purpose", "in": "query", "schema": { - "type": "String", + "type": "FilesPurpose", "nullable": true, "maxLength": 5000 } @@ -9384,12 +9232,12 @@ ] }, "arguments": { - "account_holder": { - "description": "If present, only return accounts that belong to the specified account holder. `account_holder[customer]` and `account_holder[account]` are mutually exclusive.", + "created": { + "description": "Only return files that were created during the given date interval.", "type": { "type": "nullable", "underlying_type": { - "name": "GetFinancialConnectionsAccountsAccountHolder", + "name": "JSON", "type": "named" } } @@ -9427,12 +9275,12 @@ } } }, - "session": { - "description": "If present, only return accounts that were collected as part of the given session.", + "purpose": { + "description": "Filter queries by the file purpose. If you don't provide a purpose, the queries return unfiltered files.", "type": { "type": "nullable", "underlying_type": { - "name": "String", + "name": "FilesPurpose", "type": "named" } } @@ -9448,20 +9296,20 @@ } } }, - "name": "GetFinancialConnectionsAccounts", + "name": "GetFiles", "result_type": { - "name": "GetFinancialConnectionsAccountsResult", + "name": "GetFilesResult", "type": "named" } }, { "request": { - "url": "/v1/financial_connections/accounts/{account}", + "url": "/v1/files/{file}", "method": "get", "parameters": [ { "style": "simple", - "name": "account", + "name": "file", "in": "path", "schema": { "type": "String", @@ -9485,12 +9333,6 @@ ] }, "arguments": { - "account": { - "type": { - "name": "String", - "type": "named" - } - }, "expand": { "description": "Specifies which fields in the response should be expanded.", "type": { @@ -9503,26 +9345,45 @@ "type": "array" } } + }, + "file": { + "type": { + "name": "String", + "type": "named" + } } }, - "name": "GetFinancialConnectionsAccountsAccount", + "name": "GetFilesFile", "result_type": { - "name": "FinancialConnectionsAccount", + "name": "File", "type": "named" } }, { "request": { - "url": "/v1/financial_connections/accounts/{account}/owners", + "url": "/v1/financial_connections/accounts", "method": "get", "parameters": [ { - "style": "simple", - "name": "account", - "in": "path", + "style": "deepObject", + "explode": true, + "name": "account_holder", + "in": "query", "schema": { - "type": "String", - "maxLength": 5000 + "type": "object", + "nullable": true, + "properties": { + "account": { + "type": "String", + "nullable": true, + "maxLength": 5000 + }, + "customer": { + "type": "String", + "nullable": true, + "maxLength": 5000 + } + } } }, { @@ -9560,10 +9421,11 @@ }, { "style": "form", - "name": "ownership", + "name": "session", "in": "query", "schema": { "type": "String", + "nullable": true, "maxLength": 5000 } }, @@ -9580,10 +9442,14 @@ ] }, "arguments": { - "account": { + "account_holder": { + "description": "If present, only return accounts that belong to the specified account holder. `account_holder[customer]` and `account_holder[account]` are mutually exclusive.", "type": { - "name": "String", - "type": "named" + "type": "nullable", + "underlying_type": { + "name": "GetFinancialConnectionsAccountsAccountHolder", + "type": "named" + } } }, "ending_before": { @@ -9619,11 +9485,14 @@ } } }, - "ownership": { - "description": "The ID of the ownership object to fetch owners from.", + "session": { + "description": "If present, only return accounts that were collected as part of the given session.", "type": { - "name": "String", - "type": "named" + "type": "nullable", + "underlying_type": { + "name": "String", + "type": "named" + } } }, "starting_after": { @@ -9637,20 +9506,20 @@ } } }, - "name": "GetFinancialConnectionsAccountsAccountOwners", + "name": "GetFinancialConnectionsAccounts", "result_type": { - "name": "GetFinancialConnectionsAccountsAccountOwnersResult", + "name": "GetFinancialConnectionsAccountsResult", "type": "named" } }, { "request": { - "url": "/v1/financial_connections/sessions/{session}", + "url": "/v1/financial_connections/accounts/{account}", "method": "get", "parameters": [ { "style": "simple", - "name": "session", + "name": "account", "in": "path", "schema": { "type": "String", @@ -9674,6 +9543,12 @@ ] }, "arguments": { + "account": { + "type": { + "name": "String", + "type": "named" + } + }, "expand": { "description": "Specifies which fields in the response should be expanded.", "type": { @@ -9686,29 +9561,23 @@ "type": "array" } } - }, - "session": { - "type": { - "name": "String", - "type": "named" - } } }, - "name": "GetFinancialConnectionsSessionsSession", + "name": "GetFinancialConnectionsAccountsAccount", "result_type": { - "name": "FinancialConnectionsSession", + "name": "FinancialConnectionsAccount", "type": "named" } }, { "request": { - "url": "/v1/financial_connections/transactions", + "url": "/v1/financial_connections/accounts/{account}/owners", "method": "get", "parameters": [ { - "style": "form", + "style": "simple", "name": "account", - "in": "query", + "in": "path", "schema": { "type": "String", "maxLength": 5000 @@ -9749,45 +9618,27 @@ }, { "style": "form", - "name": "starting_after", + "name": "ownership", "in": "query", "schema": { "type": "String", - "nullable": true, "maxLength": 5000 } }, { - "style": "deepObject", - "explode": true, - "name": "transacted_at", - "in": "query", - "schema": { - "type": "JSON", - "nullable": true - } - }, - { - "style": "deepObject", - "explode": true, - "name": "transaction_refresh", + "style": "form", + "name": "starting_after", "in": "query", "schema": { - "type": "object", + "type": "String", "nullable": true, - "properties": { - "after": { - "type": "String", - "maxLength": 5000 - } - } + "maxLength": 5000 } } ] }, "arguments": { "account": { - "description": "The ID of the Stripe account whose transactions will be retrieved.", "type": { "name": "String", "type": "named" @@ -9826,51 +9677,38 @@ } } }, - "starting_after": { - "description": "A cursor for use in pagination. `starting_after` is an object ID that defines your place in the list. For instance, if you make a list request and receive 100 objects, ending with `obj_foo`, your subsequent call can include `starting_after=obj_foo` in order to fetch the next page of the list.", - "type": { - "type": "nullable", - "underlying_type": { - "name": "String", - "type": "named" - } - } - }, - "transacted_at": { - "description": "A filter on the list based on the object `transacted_at` field. The value can be a string with an integer Unix timestamp, or it can be a dictionary with the following options:", + "ownership": { + "description": "The ID of the ownership object to fetch owners from.", "type": { - "type": "nullable", - "underlying_type": { - "name": "JSON", - "type": "named" - } + "name": "String", + "type": "named" } }, - "transaction_refresh": { - "description": "A filter on the list based on the object `transaction_refresh` field. The value can be a dictionary with the following options:", + "starting_after": { + "description": "A cursor for use in pagination. `starting_after` is an object ID that defines your place in the list. For instance, if you make a list request and receive 100 objects, ending with `obj_foo`, your subsequent call can include `starting_after=obj_foo` in order to fetch the next page of the list.", "type": { "type": "nullable", "underlying_type": { - "name": "GetFinancialConnectionsTransactionsTransactionRefresh", + "name": "String", "type": "named" } } } }, - "name": "GetFinancialConnectionsTransactions", + "name": "GetFinancialConnectionsAccountsAccountOwners", "result_type": { - "name": "GetFinancialConnectionsTransactionsResult", + "name": "GetFinancialConnectionsAccountsAccountOwnersResult", "type": "named" } }, { "request": { - "url": "/v1/financial_connections/transactions/{transaction}", + "url": "/v1/financial_connections/sessions/{session}", "method": "get", "parameters": [ { "style": "simple", - "name": "transaction", + "name": "session", "in": "path", "schema": { "type": "String", @@ -9907,50 +9745,31 @@ } } }, - "transaction": { + "session": { "type": { "name": "String", "type": "named" } } }, - "name": "GetFinancialConnectionsTransactionsTransaction", + "name": "GetFinancialConnectionsSessionsSession", "result_type": { - "name": "FinancialConnectionsTransaction", + "name": "FinancialConnectionsSession", "type": "named" } }, { "request": { - "url": "/v1/forwarding/requests", + "url": "/v1/financial_connections/transactions", "method": "get", "parameters": [ { - "style": "deepObject", - "explode": true, - "name": "created", + "style": "form", + "name": "account", "in": "query", "schema": { - "type": "object", - "nullable": true, - "properties": { - "gt": { - "type": "Int32", - "nullable": true - }, - "gte": { - "type": "Int32", - "nullable": true - }, - "lt": { - "type": "Int32", - "nullable": true - }, - "lte": { - "type": "Int32", - "nullable": true - } - } + "type": "String", + "maxLength": 5000 } }, { @@ -9995,22 +9814,45 @@ "nullable": true, "maxLength": 5000 } + }, + { + "style": "deepObject", + "explode": true, + "name": "transacted_at", + "in": "query", + "schema": { + "type": "JSON", + "nullable": true + } + }, + { + "style": "deepObject", + "explode": true, + "name": "transaction_refresh", + "in": "query", + "schema": { + "type": "object", + "nullable": true, + "properties": { + "after": { + "type": "String", + "maxLength": 5000 + } + } + } } ] }, "arguments": { - "created": { - "description": "Similar to other List endpoints, filters results based on created timestamp. You can pass gt, gte, lt, and lte timestamp values.", + "account": { + "description": "The ID of the Stripe account whose transactions will be retrieved.", "type": { - "type": "nullable", - "underlying_type": { - "name": "GetForwardingRequestsCreated", - "type": "named" - } + "name": "String", + "type": "named" } }, "ending_before": { - "description": "A pagination cursor to fetch the previous page of the list. The value must be a ForwardingRequest ID.", + "description": "A cursor for use in pagination. `ending_before` is an object ID that defines your place in the list. For instance, if you make a list request and receive 100 objects, starting with `obj_bar`, your subsequent call can include `ending_before=obj_bar` in order to fetch the previous page of the list.", "type": { "type": "nullable", "underlying_type": { @@ -10043,7 +9885,7 @@ } }, "starting_after": { - "description": "A pagination cursor to fetch the next page of the list. The value must be a ForwardingRequest ID.", + "description": "A cursor for use in pagination. `starting_after` is an object ID that defines your place in the list. For instance, if you make a list request and receive 100 objects, ending with `obj_foo`, your subsequent call can include `starting_after=obj_foo` in order to fetch the next page of the list.", "type": { "type": "nullable", "underlying_type": { @@ -10051,22 +9893,42 @@ "type": "named" } } + }, + "transacted_at": { + "description": "A filter on the list based on the object `transacted_at` field. The value can be a string with an integer Unix timestamp, or it can be a dictionary with the following options:", + "type": { + "type": "nullable", + "underlying_type": { + "name": "JSON", + "type": "named" + } + } + }, + "transaction_refresh": { + "description": "A filter on the list based on the object `transaction_refresh` field. The value can be a dictionary with the following options:", + "type": { + "type": "nullable", + "underlying_type": { + "name": "GetFinancialConnectionsTransactionsTransactionRefresh", + "type": "named" + } + } } }, - "name": "GetForwardingRequests", + "name": "GetFinancialConnectionsTransactions", "result_type": { - "name": "GetForwardingRequestsResult", + "name": "GetFinancialConnectionsTransactionsResult", "type": "named" } }, { "request": { - "url": "/v1/forwarding/requests/{id}", + "url": "/v1/financial_connections/transactions/{transaction}", "method": "get", "parameters": [ { "style": "simple", - "name": "id", + "name": "transaction", "in": "path", "schema": { "type": "String", @@ -10103,42 +9965,50 @@ } } }, - "id": { + "transaction": { "type": { "name": "String", "type": "named" } } }, - "name": "GetForwardingRequestsId", + "name": "GetFinancialConnectionsTransactionsTransaction", "result_type": { - "name": "ForwardingRequest", + "name": "FinancialConnectionsTransaction", "type": "named" } }, { "request": { - "url": "/v1/identity/verification_reports", + "url": "/v1/forwarding/requests", "method": "get", "parameters": [ - { - "style": "form", - "name": "client_reference_id", - "in": "query", - "schema": { - "type": "String", - "nullable": true, - "maxLength": 5000 - } - }, { "style": "deepObject", "explode": true, "name": "created", "in": "query", "schema": { - "type": "JSON", - "nullable": true + "type": "object", + "nullable": true, + "properties": { + "gt": { + "type": "Int32", + "nullable": true + }, + "gte": { + "type": "Int32", + "nullable": true + }, + "lt": { + "type": "Int32", + "nullable": true + }, + "lte": { + "type": "Int32", + "nullable": true + } + } } }, { @@ -10183,51 +10053,22 @@ "nullable": true, "maxLength": 5000 } - }, - { - "style": "form", - "name": "type", - "in": "query", - "schema": { - "type": "IdentityType", - "nullable": true - } - }, - { - "style": "form", - "name": "verification_session", - "in": "query", - "schema": { - "type": "String", - "nullable": true, - "maxLength": 5000 - } } ] }, "arguments": { - "client_reference_id": { - "description": "A string to reference this user. This can be a customer ID, a session ID, or similar, and can be used to reconcile this verification with your internal systems.", - "type": { - "type": "nullable", - "underlying_type": { - "name": "String", - "type": "named" - } - } - }, "created": { - "description": "Only return VerificationReports that were created during the given date interval.", + "description": "Similar to other List endpoints, filters results based on created timestamp. You can pass gt, gte, lt, and lte timestamp values.", "type": { "type": "nullable", "underlying_type": { - "name": "JSON", + "name": "GetForwardingRequestsCreated", "type": "named" } } }, "ending_before": { - "description": "A cursor for use in pagination. `ending_before` is an object ID that defines your place in the list. For instance, if you make a list request and receive 100 objects, starting with `obj_bar`, your subsequent call can include `ending_before=obj_bar` in order to fetch the previous page of the list.", + "description": "A pagination cursor to fetch the previous page of the list. The value must be a ForwardingRequest ID.", "type": { "type": "nullable", "underlying_type": { @@ -10260,27 +10101,7 @@ } }, "starting_after": { - "description": "A cursor for use in pagination. `starting_after` is an object ID that defines your place in the list. For instance, if you make a list request and receive 100 objects, ending with `obj_foo`, your subsequent call can include `starting_after=obj_foo` in order to fetch the next page of the list.", - "type": { - "type": "nullable", - "underlying_type": { - "name": "String", - "type": "named" - } - } - }, - "type": { - "description": "Only return VerificationReports of this type", - "type": { - "type": "nullable", - "underlying_type": { - "name": "IdentityType", - "type": "named" - } - } - }, - "verification_session": { - "description": "Only return VerificationReports created by this VerificationSession ID. It is allowed to provide a VerificationIntent ID.", + "description": "A pagination cursor to fetch the next page of the list. The value must be a ForwardingRequest ID.", "type": { "type": "nullable", "underlying_type": { @@ -10290,20 +10111,20 @@ } } }, - "name": "GetIdentityVerificationReports", + "name": "GetForwardingRequests", "result_type": { - "name": "GetIdentityVerificationReportsResult", + "name": "GetForwardingRequestsResult", "type": "named" } }, { "request": { - "url": "/v1/identity/verification_reports/{report}", + "url": "/v1/forwarding/requests/{id}", "method": "get", "parameters": [ { "style": "simple", - "name": "report", + "name": "id", "in": "path", "schema": { "type": "String", @@ -10340,22 +10161,22 @@ } } }, - "report": { + "id": { "type": { "name": "String", "type": "named" } } }, - "name": "GetIdentityVerificationReportsReport", + "name": "GetForwardingRequestsId", "result_type": { - "name": "IdentityVerificationReport", + "name": "ForwardingRequest", "type": "named" } }, { "request": { - "url": "/v1/identity/verification_sessions", + "url": "/v1/identity/verification_reports", "method": "get", "parameters": [ { @@ -10423,12 +10244,22 @@ }, { "style": "form", - "name": "status", + "name": "type", "in": "query", "schema": { - "type": "IdentityStatus", + "type": "IdentityType", "nullable": true } + }, + { + "style": "form", + "name": "verification_session", + "in": "query", + "schema": { + "type": "String", + "nullable": true, + "maxLength": 5000 + } } ] }, @@ -10444,7 +10275,7 @@ } }, "created": { - "description": "Only return VerificationSessions that were created during the given date interval.", + "description": "Only return VerificationReports that were created during the given date interval.", "type": { "type": "nullable", "underlying_type": { @@ -10496,31 +10327,41 @@ } } }, - "status": { - "description": "Only return VerificationSessions with this status. [Learn more about the lifecycle of sessions](https://stripe.com/docs/identity/how-sessions-work).", + "type": { + "description": "Only return VerificationReports of this type", "type": { "type": "nullable", "underlying_type": { - "name": "IdentityStatus", + "name": "IdentityType", + "type": "named" + } + } + }, + "verification_session": { + "description": "Only return VerificationReports created by this VerificationSession ID. It is allowed to provide a VerificationIntent ID.", + "type": { + "type": "nullable", + "underlying_type": { + "name": "String", "type": "named" } } } }, - "name": "GetIdentityVerificationSessions", + "name": "GetIdentityVerificationReports", "result_type": { - "name": "GetIdentityVerificationSessionsResult", + "name": "GetIdentityVerificationReportsResult", "type": "named" } }, { "request": { - "url": "/v1/identity/verification_sessions/{session}", + "url": "/v1/identity/verification_reports/{report}", "method": "get", "parameters": [ { "style": "simple", - "name": "session", + "name": "report", "in": "path", "schema": { "type": "String", @@ -10557,42 +10398,42 @@ } } }, - "session": { + "report": { "type": { "name": "String", "type": "named" } } }, - "name": "GetIdentityVerificationSessionsSession", + "name": "GetIdentityVerificationReportsReport", "result_type": { - "name": "IdentityVerificationSession", + "name": "IdentityVerificationReport", "type": "named" } }, { "request": { - "url": "/v1/invoiceitems", + "url": "/v1/identity/verification_sessions", "method": "get", "parameters": [ { - "style": "deepObject", - "explode": true, - "name": "created", + "style": "form", + "name": "client_reference_id", "in": "query", "schema": { - "type": "JSON", - "nullable": true + "type": "String", + "nullable": true, + "maxLength": 5000 } }, { - "style": "form", - "name": "customer", + "style": "deepObject", + "explode": true, + "name": "created", "in": "query", "schema": { - "type": "String", - "nullable": true, - "maxLength": 5000 + "type": "JSON", + "nullable": true } }, { @@ -10619,16 +10460,6 @@ } } }, - { - "style": "form", - "name": "invoice", - "in": "query", - "schema": { - "type": "String", - "nullable": true, - "maxLength": 5000 - } - }, { "style": "form", "name": "limit", @@ -10640,42 +10471,42 @@ }, { "style": "form", - "name": "pending", + "name": "starting_after", "in": "query", "schema": { - "type": "Boolean", - "nullable": true + "type": "String", + "nullable": true, + "maxLength": 5000 } }, { "style": "form", - "name": "starting_after", + "name": "status", "in": "query", "schema": { - "type": "String", - "nullable": true, - "maxLength": 5000 + "type": "IdentityStatus", + "nullable": true } } ] }, "arguments": { - "created": { - "description": "Only return invoice items that were created during the given date interval.", + "client_reference_id": { + "description": "A string to reference this user. This can be a customer ID, a session ID, or similar, and can be used to reconcile this verification with your internal systems.", "type": { "type": "nullable", "underlying_type": { - "name": "JSON", + "name": "String", "type": "named" } } }, - "customer": { - "description": "The identifier of the customer whose invoice items to return. If none is provided, all invoice items will be returned.", + "created": { + "description": "Only return VerificationSessions that were created during the given date interval.", "type": { "type": "nullable", "underlying_type": { - "name": "String", + "name": "JSON", "type": "named" } } @@ -10703,16 +10534,6 @@ } } }, - "invoice": { - "description": "Only return invoice items belonging to this invoice. If none is provided, all invoice items will be returned. If specifying an invoice, no customer identifier is needed.", - "type": { - "type": "nullable", - "underlying_type": { - "name": "String", - "type": "named" - } - } - }, "limit": { "description": "A limit on the number of objects to be returned. Limit can range between 1 and 100, and the default is 10.", "type": { @@ -10723,41 +10544,41 @@ } } }, - "pending": { - "description": "Set to `true` to only show pending invoice items, which are not yet attached to any invoices. Set to `false` to only show invoice items already attached to invoices. If unspecified, no filter is applied.", + "starting_after": { + "description": "A cursor for use in pagination. `starting_after` is an object ID that defines your place in the list. For instance, if you make a list request and receive 100 objects, ending with `obj_foo`, your subsequent call can include `starting_after=obj_foo` in order to fetch the next page of the list.", "type": { "type": "nullable", "underlying_type": { - "name": "Boolean", + "name": "String", "type": "named" } } }, - "starting_after": { - "description": "A cursor for use in pagination. `starting_after` is an object ID that defines your place in the list. For instance, if you make a list request and receive 100 objects, ending with `obj_foo`, your subsequent call can include `starting_after=obj_foo` in order to fetch the next page of the list.", + "status": { + "description": "Only return VerificationSessions with this status. [Learn more about the lifecycle of sessions](https://stripe.com/docs/identity/how-sessions-work).", "type": { "type": "nullable", "underlying_type": { - "name": "String", + "name": "IdentityStatus", "type": "named" } } } }, - "name": "GetInvoiceitems", + "name": "GetIdentityVerificationSessions", "result_type": { - "name": "GetInvoiceitemsResult", + "name": "GetIdentityVerificationSessionsResult", "type": "named" } }, { "request": { - "url": "/v1/invoiceitems/{invoiceitem}", + "url": "/v1/identity/verification_sessions/{session}", "method": "get", "parameters": [ { "style": "simple", - "name": "invoiceitem", + "name": "session", "in": "path", "schema": { "type": "String", @@ -10794,33 +10615,24 @@ } } }, - "invoiceitem": { + "session": { "type": { "name": "String", "type": "named" } } }, - "name": "GetInvoiceitemsInvoiceitem", + "name": "GetIdentityVerificationSessionsSession", "result_type": { - "name": "Invoiceitem", + "name": "IdentityVerificationSession", "type": "named" } }, { "request": { - "url": "/v1/invoices", + "url": "/v1/invoiceitems", "method": "get", "parameters": [ - { - "style": "form", - "name": "collection_method", - "in": "query", - "schema": { - "type": "InvoicesCollectionMethod", - "nullable": true - } - }, { "style": "deepObject", "explode": true, @@ -10841,16 +10653,262 @@ "maxLength": 5000 } }, - { - "style": "deepObject", - "explode": true, - "name": "due_date", - "in": "query", - "schema": { - "type": "JSON", - "nullable": true - } - }, + { + "style": "form", + "name": "ending_before", + "in": "query", + "schema": { + "type": "String", + "nullable": true, + "maxLength": 5000 + } + }, + { + "style": "deepObject", + "explode": true, + "name": "expand", + "in": "query", + "schema": { + "type": "array", + "nullable": true, + "items": { + "type": "String", + "maxLength": 5000 + } + } + }, + { + "style": "form", + "name": "invoice", + "in": "query", + "schema": { + "type": "String", + "nullable": true, + "maxLength": 5000 + } + }, + { + "style": "form", + "name": "limit", + "in": "query", + "schema": { + "type": "Int32", + "nullable": true + } + }, + { + "style": "form", + "name": "pending", + "in": "query", + "schema": { + "type": "Boolean", + "nullable": true + } + }, + { + "style": "form", + "name": "starting_after", + "in": "query", + "schema": { + "type": "String", + "nullable": true, + "maxLength": 5000 + } + } + ] + }, + "arguments": { + "created": { + "description": "Only return invoice items that were created during the given date interval.", + "type": { + "type": "nullable", + "underlying_type": { + "name": "JSON", + "type": "named" + } + } + }, + "customer": { + "description": "The identifier of the customer whose invoice items to return. If none is provided, all invoice items will be returned.", + "type": { + "type": "nullable", + "underlying_type": { + "name": "String", + "type": "named" + } + } + }, + "ending_before": { + "description": "A cursor for use in pagination. `ending_before` is an object ID that defines your place in the list. For instance, if you make a list request and receive 100 objects, starting with `obj_bar`, your subsequent call can include `ending_before=obj_bar` in order to fetch the previous page of the list.", + "type": { + "type": "nullable", + "underlying_type": { + "name": "String", + "type": "named" + } + } + }, + "expand": { + "description": "Specifies which fields in the response should be expanded.", + "type": { + "type": "nullable", + "underlying_type": { + "element_type": { + "name": "String", + "type": "named" + }, + "type": "array" + } + } + }, + "invoice": { + "description": "Only return invoice items belonging to this invoice. If none is provided, all invoice items will be returned. If specifying an invoice, no customer identifier is needed.", + "type": { + "type": "nullable", + "underlying_type": { + "name": "String", + "type": "named" + } + } + }, + "limit": { + "description": "A limit on the number of objects to be returned. Limit can range between 1 and 100, and the default is 10.", + "type": { + "type": "nullable", + "underlying_type": { + "name": "Int32", + "type": "named" + } + } + }, + "pending": { + "description": "Set to `true` to only show pending invoice items, which are not yet attached to any invoices. Set to `false` to only show invoice items already attached to invoices. If unspecified, no filter is applied.", + "type": { + "type": "nullable", + "underlying_type": { + "name": "Boolean", + "type": "named" + } + } + }, + "starting_after": { + "description": "A cursor for use in pagination. `starting_after` is an object ID that defines your place in the list. For instance, if you make a list request and receive 100 objects, ending with `obj_foo`, your subsequent call can include `starting_after=obj_foo` in order to fetch the next page of the list.", + "type": { + "type": "nullable", + "underlying_type": { + "name": "String", + "type": "named" + } + } + } + }, + "name": "GetInvoiceitems", + "result_type": { + "name": "GetInvoiceitemsResult", + "type": "named" + } + }, + { + "request": { + "url": "/v1/invoiceitems/{invoiceitem}", + "method": "get", + "parameters": [ + { + "style": "simple", + "name": "invoiceitem", + "in": "path", + "schema": { + "type": "String", + "maxLength": 5000 + } + }, + { + "style": "deepObject", + "explode": true, + "name": "expand", + "in": "query", + "schema": { + "type": "array", + "nullable": true, + "items": { + "type": "String", + "maxLength": 5000 + } + } + } + ] + }, + "arguments": { + "expand": { + "description": "Specifies which fields in the response should be expanded.", + "type": { + "type": "nullable", + "underlying_type": { + "element_type": { + "name": "String", + "type": "named" + }, + "type": "array" + } + } + }, + "invoiceitem": { + "type": { + "name": "String", + "type": "named" + } + } + }, + "name": "GetInvoiceitemsInvoiceitem", + "result_type": { + "name": "Invoiceitem", + "type": "named" + } + }, + { + "request": { + "url": "/v1/invoices", + "method": "get", + "parameters": [ + { + "style": "form", + "name": "collection_method", + "in": "query", + "schema": { + "type": "InvoicesCollectionMethod", + "nullable": true + } + }, + { + "style": "deepObject", + "explode": true, + "name": "created", + "in": "query", + "schema": { + "type": "JSON", + "nullable": true + } + }, + { + "style": "form", + "name": "customer", + "in": "query", + "schema": { + "type": "String", + "nullable": true, + "maxLength": 5000 + } + }, + { + "style": "deepObject", + "explode": true, + "name": "due_date", + "in": "query", + "schema": { + "type": "JSON", + "nullable": true + } + }, { "style": "form", "name": "ending_before", @@ -11398,6 +11456,15 @@ "nullable": true } }, + { + "style": "form", + "name": "preview_mode", + "in": "query", + "schema": { + "type": "InvoicesPreviewMode", + "nullable": true + } + }, { "style": "form", "name": "schedule", @@ -11408,6 +11475,308 @@ "maxLength": 5000 } }, + { + "style": "deepObject", + "explode": true, + "name": "schedule_details", + "in": "query", + "schema": { + "type": "object", + "nullable": true, + "properties": { + "end_behavior": { + "type": "InvoicesEndBehavior", + "nullable": true + }, + "phases": { + "type": "array", + "nullable": true, + "items": { + "type": "object", + "properties": { + "add_invoice_items": { + "type": "array", + "nullable": true, + "items": { + "type": "object", + "properties": { + "discounts": { + "type": "array", + "nullable": true, + "items": { + "type": "object", + "properties": { + "coupon": { + "type": "String", + "nullable": true, + "maxLength": 5000 + }, + "discount": { + "type": "String", + "nullable": true, + "maxLength": 5000 + }, + "promotion_code": { + "type": "String", + "nullable": true, + "maxLength": 5000 + } + } + } + }, + "price": { + "type": "String", + "nullable": true, + "maxLength": 5000 + }, + "price_data": { + "type": "object", + "nullable": true, + "properties": { + "currency": { + "type": "String" + }, + "product": { + "type": "String", + "maxLength": 5000 + }, + "tax_behavior": { + "type": "InvoicesTaxBehavior", + "nullable": true + }, + "unit_amount": { + "type": "Int32", + "nullable": true + }, + "unit_amount_decimal": { + "type": "String", + "nullable": true + } + } + }, + "quantity": { + "type": "Int32", + "nullable": true + }, + "tax_rates": { + "type": "JSON", + "nullable": true + } + } + } + }, + "application_fee_percent": { + "type": "Float64", + "nullable": true + }, + "automatic_tax": { + "type": "object", + "nullable": true, + "properties": { + "enabled": { + "type": "Boolean" + }, + "liability": { + "type": "object", + "nullable": true, + "properties": { + "account": { + "type": "String", + "nullable": true + }, + "type": { + "type": "InvoicesType" + } + } + } + } + }, + "billing_cycle_anchor": { + "type": "InvoicesBillingCycleAnchor", + "nullable": true + }, + "billing_thresholds": { + "type": "JSON", + "nullable": true + }, + "collection_method": { + "type": "InvoicesCollectionMethod", + "nullable": true + }, + "coupon": { + "type": "String", + "nullable": true, + "maxLength": 5000 + }, + "default_payment_method": { + "type": "String", + "nullable": true, + "maxLength": 5000 + }, + "default_tax_rates": { + "type": "JSON", + "nullable": true + }, + "description": { + "type": "JSON", + "nullable": true + }, + "discounts": { + "type": "JSON", + "nullable": true + }, + "end_date": { + "type": "JSON", + "nullable": true + }, + "invoice_settings": { + "type": "object", + "nullable": true, + "properties": { + "account_tax_ids": { + "type": "JSON", + "nullable": true + }, + "days_until_due": { + "type": "Int32", + "nullable": true + }, + "issuer": { + "type": "object", + "nullable": true, + "properties": { + "account": { + "type": "String", + "nullable": true + }, + "type": { + "type": "InvoicesType" + } + } + } + } + }, + "items": { + "type": "array", + "items": { + "type": "object", + "properties": { + "billing_thresholds": { + "type": "JSON", + "nullable": true + }, + "discounts": { + "type": "JSON", + "nullable": true + }, + "metadata": { + "type": "JSON", + "nullable": true + }, + "price": { + "type": "String", + "nullable": true, + "maxLength": 5000 + }, + "price_data": { + "type": "object", + "nullable": true, + "properties": { + "currency": { + "type": "String" + }, + "product": { + "type": "String", + "maxLength": 5000 + }, + "recurring": { + "type": "object", + "properties": { + "interval": { + "type": "InvoicesInterval" + }, + "interval_count": { + "type": "Int32", + "nullable": true + } + } + }, + "tax_behavior": { + "type": "InvoicesTaxBehavior", + "nullable": true + }, + "unit_amount": { + "type": "Int32", + "nullable": true + }, + "unit_amount_decimal": { + "type": "String", + "nullable": true + } + } + }, + "quantity": { + "type": "Int32", + "nullable": true + }, + "tax_rates": { + "type": "JSON", + "nullable": true + } + } + } + }, + "iterations": { + "type": "Int32", + "nullable": true + }, + "metadata": { + "type": "JSON", + "nullable": true + }, + "on_behalf_of": { + "type": "String", + "nullable": true + }, + "proration_behavior": { + "type": "InvoicesProrationBehavior", + "nullable": true + }, + "start_date": { + "type": "JSON", + "nullable": true + }, + "transfer_data": { + "type": "object", + "nullable": true, + "properties": { + "amount_percent": { + "type": "Float64", + "nullable": true + }, + "destination": { + "type": "String" + } + } + }, + "trial": { + "type": "Boolean", + "nullable": true + }, + "trial_end": { + "type": "JSON", + "nullable": true + } + } + } + }, + "proration_behavior": { + "type": "InvoicesProrationBehavior", + "nullable": true + } + } + } + }, { "style": "form", "name": "subscription", @@ -11466,6 +11835,143 @@ "nullable": true } }, + { + "style": "deepObject", + "explode": true, + "name": "subscription_details", + "in": "query", + "schema": { + "type": "object", + "nullable": true, + "properties": { + "billing_cycle_anchor": { + "type": "JSON", + "nullable": true + }, + "cancel_at": { + "type": "JSON", + "nullable": true + }, + "cancel_at_period_end": { + "type": "Boolean", + "nullable": true + }, + "cancel_now": { + "type": "Boolean", + "nullable": true + }, + "default_tax_rates": { + "type": "JSON", + "nullable": true + }, + "items": { + "type": "array", + "nullable": true, + "items": { + "type": "object", + "properties": { + "billing_thresholds": { + "type": "JSON", + "nullable": true + }, + "clear_usage": { + "type": "Boolean", + "nullable": true + }, + "deleted": { + "type": "Boolean", + "nullable": true + }, + "discounts": { + "type": "JSON", + "nullable": true + }, + "id": { + "type": "String", + "nullable": true, + "maxLength": 5000 + }, + "metadata": { + "type": "JSON", + "nullable": true + }, + "price": { + "type": "String", + "nullable": true, + "maxLength": 5000 + }, + "price_data": { + "type": "object", + "nullable": true, + "properties": { + "currency": { + "type": "String" + }, + "product": { + "type": "String", + "maxLength": 5000 + }, + "recurring": { + "type": "object", + "properties": { + "interval": { + "type": "InvoicesInterval" + }, + "interval_count": { + "type": "Int32", + "nullable": true + } + } + }, + "tax_behavior": { + "type": "InvoicesTaxBehavior", + "nullable": true + }, + "unit_amount": { + "type": "Int32", + "nullable": true + }, + "unit_amount_decimal": { + "type": "String", + "nullable": true + } + } + }, + "quantity": { + "type": "Int32", + "nullable": true + }, + "tax_rates": { + "type": "JSON", + "nullable": true + } + } + } + }, + "proration_behavior": { + "type": "InvoicesProrationBehavior", + "nullable": true + }, + "proration_date": { + "type": "UnixTime", + "nullable": true + }, + "resume_at": { + "type": "InvoicesResumeAt", + "nullable": true, + "maxLength": 5000 + }, + "start_date": { + "type": "UnixTime", + "nullable": true + }, + "trial_end": { + "type": "JSON", + "nullable": true + } + } + } + }, { "style": "deepObject", "explode": true, @@ -11602,15 +12108,6 @@ "type": "JSON", "nullable": true } - }, - { - "style": "form", - "name": "subscription_trial_from_plan", - "in": "query", - "schema": { - "type": "Boolean", - "nullable": true - } } ] }, @@ -11721,6 +12218,16 @@ } } }, + "preview_mode": { + "description": "Customizes the types of values to include when calculating the invoice. Defaults to `next` if unspecified.", + "type": { + "type": "nullable", + "underlying_type": { + "name": "InvoicesPreviewMode", + "type": "named" + } + } + }, "schedule": { "description": "The identifier of the schedule whose upcoming invoice you'd like to retrieve. Cannot be used with subscription or subscription fields.", "type": { @@ -11731,6 +12238,16 @@ } } }, + "schedule_details": { + "description": "The schedule creation or modification params to apply as a preview. Cannot be used with `subscription` or `subscription_` prefixed fields.", + "type": { + "type": "nullable", + "underlying_type": { + "name": "GetInvoicesUpcomingScheduleDetails", + "type": "named" + } + } + }, "subscription": { "description": "The identifier of the subscription for which you'd like to retrieve the upcoming invoice. If not provided, but a `subscription_items` is provided, you will preview creating a subscription with those items. If neither `subscription` nor `subscription_items` is provided, you will retrieve the next upcoming invoice from among the customer's subscriptions.", "type": { @@ -11742,7 +12259,7 @@ } }, "subscription_billing_cycle_anchor": { - "description": "For new subscriptions, a future timestamp to anchor the subscription's [billing cycle](https://stripe.com/docs/subscriptions/billing-cycle). This is used to determine the date of the first full invoice, and, for plans with `month` or `year` intervals, the day of the month for subsequent invoices. For existing subscriptions, the value can only be set to `now` or `unchanged`.", + "description": "For new subscriptions, a future timestamp to anchor the subscription's [billing cycle](https://stripe.com/docs/subscriptions/billing-cycle). This is used to determine the date of the first full invoice, and, for plans with `month` or `year` intervals, the day of the month for subsequent invoices. For existing subscriptions, the value can only be set to `now` or `unchanged`. This field has been deprecated and will be removed in a future API version. Use `subscription_details.billing_cycle_anchor` instead.", "type": { "type": "nullable", "underlying_type": { @@ -11752,7 +12269,7 @@ } }, "subscription_cancel_at": { - "description": "A timestamp at which the subscription should cancel. If set to a date before the current period ends, this will cause a proration if prorations have been enabled using `proration_behavior`. If set during a future period, this will always cause a proration for that period.", + "description": "A timestamp at which the subscription should cancel. If set to a date before the current period ends, this will cause a proration if prorations have been enabled using `proration_behavior`. If set during a future period, this will always cause a proration for that period. This field has been deprecated and will be removed in a future API version. Use `subscription_details.cancel_at` instead.", "type": { "type": "nullable", "underlying_type": { @@ -11762,7 +12279,7 @@ } }, "subscription_cancel_at_period_end": { - "description": "Boolean indicating whether this subscription should cancel at the end of the current period.", + "description": "Boolean indicating whether this subscription should cancel at the end of the current period. This field has been deprecated and will be removed in a future API version. Use `subscription_details.cancel_at_period_end` instead.", "type": { "type": "nullable", "underlying_type": { @@ -11772,7 +12289,7 @@ } }, "subscription_cancel_now": { - "description": "This simulates the subscription being canceled or expired immediately.", + "description": "This simulates the subscription being canceled or expired immediately. This field has been deprecated and will be removed in a future API version. Use `subscription_details.cancel_now` instead.", "type": { "type": "nullable", "underlying_type": { @@ -11782,7 +12299,7 @@ } }, "subscription_default_tax_rates": { - "description": "If provided, the invoice returned will preview updating or creating a subscription with these default tax rates. The default tax rates will apply to any line item that does not have `tax_rates` set.", + "description": "If provided, the invoice returned will preview updating or creating a subscription with these default tax rates. The default tax rates will apply to any line item that does not have `tax_rates` set. This field has been deprecated and will be removed in a future API version. Use `subscription_details.default_tax_rates` instead.", "type": { "type": "nullable", "underlying_type": { @@ -11791,8 +12308,18 @@ } } }, + "subscription_details": { + "description": "The subscription creation or modification params to apply as a preview. Cannot be used with `schedule` or `schedule_details` fields.", + "type": { + "type": "nullable", + "underlying_type": { + "name": "GetInvoicesUpcomingSubscriptionDetails", + "type": "named" + } + } + }, "subscription_items": { - "description": "A list of up to 20 subscription items, each with an attached price.", + "description": "A list of up to 20 subscription items, each with an attached price. This field has been deprecated and will be removed in a future API version. Use `subscription_details.items` instead.", "type": { "type": "nullable", "underlying_type": { @@ -11805,7 +12332,7 @@ } }, "subscription_proration_behavior": { - "description": "Determines how to handle [prorations](https://stripe.com/docs/billing/subscriptions/prorations) when the billing cycle changes (e.g., when switching plans, resetting `billing_cycle_anchor=now`, or starting a trial), or if an item's `quantity` changes. The default value is `create_prorations`.", + "description": "Determines how to handle [prorations](https://stripe.com/docs/billing/subscriptions/prorations) when the billing cycle changes (e.g., when switching plans, resetting `billing_cycle_anchor=now`, or starting a trial), or if an item's `quantity` changes. The default value is `create_prorations`. This field has been deprecated and will be removed in a future API version. Use `subscription_details.proration_behavior` instead.", "type": { "type": "nullable", "underlying_type": { @@ -11815,7 +12342,7 @@ } }, "subscription_proration_date": { - "description": "If previewing an update to a subscription, and doing proration, `subscription_proration_date` forces the proration to be calculated as though the update was done at the specified time. The time given must be within the current subscription period and within the current phase of the schedule backing this subscription, if the schedule exists. If set, `subscription`, and one of `subscription_items`, or `subscription_trial_end` are required. Also, `subscription_proration_behavior` cannot be set to 'none'.", + "description": "If previewing an update to a subscription, and doing proration, `subscription_proration_date` forces the proration to be calculated as though the update was done at the specified time. The time given must be within the current subscription period and within the current phase of the schedule backing this subscription, if the schedule exists. If set, `subscription`, and one of `subscription_items`, or `subscription_trial_end` are required. Also, `subscription_proration_behavior` cannot be set to 'none'. This field has been deprecated and will be removed in a future API version. Use `subscription_details.proration_date` instead.", "type": { "type": "nullable", "underlying_type": { @@ -11825,7 +12352,7 @@ } }, "subscription_resume_at": { - "description": "For paused subscriptions, setting `subscription_resume_at` to `now` will preview the invoice that will be generated if the subscription is resumed.", + "description": "For paused subscriptions, setting `subscription_resume_at` to `now` will preview the invoice that will be generated if the subscription is resumed. This field has been deprecated and will be removed in a future API version. Use `subscription_details.resume_at` instead.", "type": { "type": "nullable", "underlying_type": { @@ -11835,7 +12362,7 @@ } }, "subscription_start_date": { - "description": "Date a subscription is intended to start (can be future or past).", + "description": "Date a subscription is intended to start (can be future or past). This field has been deprecated and will be removed in a future API version. Use `subscription_details.start_date` instead.", "type": { "type": "nullable", "underlying_type": { @@ -11845,7 +12372,7 @@ } }, "subscription_trial_end": { - "description": "If provided, the invoice returned will preview updating or creating a subscription with that trial end. If set, one of `subscription_items` or `subscription` is required.", + "description": "If provided, the invoice returned will preview updating or creating a subscription with that trial end. If set, one of `subscription_items` or `subscription` is required. This field has been deprecated and will be removed in a future API version. Use `subscription_details.trial_end` instead.", "type": { "type": "nullable", "underlying_type": { @@ -11853,16 +12380,6 @@ "type": "named" } } - }, - "subscription_trial_from_plan": { - "description": "Indicates if a plan's `trial_period_days` should be applied to the subscription. Setting `subscription_trial_end` per subscription is preferred, and this defaults to `false`. Setting this flag to `true` together with `subscription_trial_end` is not allowed. See [Using trial periods on subscriptions](https://stripe.com/docs/billing/subscriptions/trials) to learn more.", - "type": { - "type": "nullable", - "underlying_type": { - "name": "Boolean", - "type": "named" - } - } } }, "name": "GetInvoicesUpcoming", @@ -12166,6 +12683,15 @@ "nullable": true } }, + { + "style": "form", + "name": "preview_mode", + "in": "query", + "schema": { + "type": "InvoicesPreviewMode", + "nullable": true + } + }, { "style": "form", "name": "schedule", @@ -12176,6 +12702,308 @@ "maxLength": 5000 } }, + { + "style": "deepObject", + "explode": true, + "name": "schedule_details", + "in": "query", + "schema": { + "type": "object", + "nullable": true, + "properties": { + "end_behavior": { + "type": "InvoicesEndBehavior", + "nullable": true + }, + "phases": { + "type": "array", + "nullable": true, + "items": { + "type": "object", + "properties": { + "add_invoice_items": { + "type": "array", + "nullable": true, + "items": { + "type": "object", + "properties": { + "discounts": { + "type": "array", + "nullable": true, + "items": { + "type": "object", + "properties": { + "coupon": { + "type": "String", + "nullable": true, + "maxLength": 5000 + }, + "discount": { + "type": "String", + "nullable": true, + "maxLength": 5000 + }, + "promotion_code": { + "type": "String", + "nullable": true, + "maxLength": 5000 + } + } + } + }, + "price": { + "type": "String", + "nullable": true, + "maxLength": 5000 + }, + "price_data": { + "type": "object", + "nullable": true, + "properties": { + "currency": { + "type": "String" + }, + "product": { + "type": "String", + "maxLength": 5000 + }, + "tax_behavior": { + "type": "InvoicesTaxBehavior", + "nullable": true + }, + "unit_amount": { + "type": "Int32", + "nullable": true + }, + "unit_amount_decimal": { + "type": "String", + "nullable": true + } + } + }, + "quantity": { + "type": "Int32", + "nullable": true + }, + "tax_rates": { + "type": "JSON", + "nullable": true + } + } + } + }, + "application_fee_percent": { + "type": "Float64", + "nullable": true + }, + "automatic_tax": { + "type": "object", + "nullable": true, + "properties": { + "enabled": { + "type": "Boolean" + }, + "liability": { + "type": "object", + "nullable": true, + "properties": { + "account": { + "type": "String", + "nullable": true + }, + "type": { + "type": "InvoicesType" + } + } + } + } + }, + "billing_cycle_anchor": { + "type": "InvoicesBillingCycleAnchor", + "nullable": true + }, + "billing_thresholds": { + "type": "JSON", + "nullable": true + }, + "collection_method": { + "type": "InvoicesCollectionMethod", + "nullable": true + }, + "coupon": { + "type": "String", + "nullable": true, + "maxLength": 5000 + }, + "default_payment_method": { + "type": "String", + "nullable": true, + "maxLength": 5000 + }, + "default_tax_rates": { + "type": "JSON", + "nullable": true + }, + "description": { + "type": "JSON", + "nullable": true + }, + "discounts": { + "type": "JSON", + "nullable": true + }, + "end_date": { + "type": "JSON", + "nullable": true + }, + "invoice_settings": { + "type": "object", + "nullable": true, + "properties": { + "account_tax_ids": { + "type": "JSON", + "nullable": true + }, + "days_until_due": { + "type": "Int32", + "nullable": true + }, + "issuer": { + "type": "object", + "nullable": true, + "properties": { + "account": { + "type": "String", + "nullable": true + }, + "type": { + "type": "InvoicesType" + } + } + } + } + }, + "items": { + "type": "array", + "items": { + "type": "object", + "properties": { + "billing_thresholds": { + "type": "JSON", + "nullable": true + }, + "discounts": { + "type": "JSON", + "nullable": true + }, + "metadata": { + "type": "JSON", + "nullable": true + }, + "price": { + "type": "String", + "nullable": true, + "maxLength": 5000 + }, + "price_data": { + "type": "object", + "nullable": true, + "properties": { + "currency": { + "type": "String" + }, + "product": { + "type": "String", + "maxLength": 5000 + }, + "recurring": { + "type": "object", + "properties": { + "interval": { + "type": "InvoicesInterval" + }, + "interval_count": { + "type": "Int32", + "nullable": true + } + } + }, + "tax_behavior": { + "type": "InvoicesTaxBehavior", + "nullable": true + }, + "unit_amount": { + "type": "Int32", + "nullable": true + }, + "unit_amount_decimal": { + "type": "String", + "nullable": true + } + } + }, + "quantity": { + "type": "Int32", + "nullable": true + }, + "tax_rates": { + "type": "JSON", + "nullable": true + } + } + } + }, + "iterations": { + "type": "Int32", + "nullable": true + }, + "metadata": { + "type": "JSON", + "nullable": true + }, + "on_behalf_of": { + "type": "String", + "nullable": true + }, + "proration_behavior": { + "type": "InvoicesProrationBehavior", + "nullable": true + }, + "start_date": { + "type": "JSON", + "nullable": true + }, + "transfer_data": { + "type": "object", + "nullable": true, + "properties": { + "amount_percent": { + "type": "Float64", + "nullable": true + }, + "destination": { + "type": "String" + } + } + }, + "trial": { + "type": "Boolean", + "nullable": true + }, + "trial_end": { + "type": "JSON", + "nullable": true + } + } + } + }, + "proration_behavior": { + "type": "InvoicesProrationBehavior", + "nullable": true + } + } + } + }, { "style": "form", "name": "starting_after", @@ -12244,6 +13072,143 @@ "nullable": true } }, + { + "style": "deepObject", + "explode": true, + "name": "subscription_details", + "in": "query", + "schema": { + "type": "object", + "nullable": true, + "properties": { + "billing_cycle_anchor": { + "type": "JSON", + "nullable": true + }, + "cancel_at": { + "type": "JSON", + "nullable": true + }, + "cancel_at_period_end": { + "type": "Boolean", + "nullable": true + }, + "cancel_now": { + "type": "Boolean", + "nullable": true + }, + "default_tax_rates": { + "type": "JSON", + "nullable": true + }, + "items": { + "type": "array", + "nullable": true, + "items": { + "type": "object", + "properties": { + "billing_thresholds": { + "type": "JSON", + "nullable": true + }, + "clear_usage": { + "type": "Boolean", + "nullable": true + }, + "deleted": { + "type": "Boolean", + "nullable": true + }, + "discounts": { + "type": "JSON", + "nullable": true + }, + "id": { + "type": "String", + "nullable": true, + "maxLength": 5000 + }, + "metadata": { + "type": "JSON", + "nullable": true + }, + "price": { + "type": "String", + "nullable": true, + "maxLength": 5000 + }, + "price_data": { + "type": "object", + "nullable": true, + "properties": { + "currency": { + "type": "String" + }, + "product": { + "type": "String", + "maxLength": 5000 + }, + "recurring": { + "type": "object", + "properties": { + "interval": { + "type": "InvoicesInterval" + }, + "interval_count": { + "type": "Int32", + "nullable": true + } + } + }, + "tax_behavior": { + "type": "InvoicesTaxBehavior", + "nullable": true + }, + "unit_amount": { + "type": "Int32", + "nullable": true + }, + "unit_amount_decimal": { + "type": "String", + "nullable": true + } + } + }, + "quantity": { + "type": "Int32", + "nullable": true + }, + "tax_rates": { + "type": "JSON", + "nullable": true + } + } + } + }, + "proration_behavior": { + "type": "InvoicesProrationBehavior", + "nullable": true + }, + "proration_date": { + "type": "UnixTime", + "nullable": true + }, + "resume_at": { + "type": "InvoicesResumeAt", + "nullable": true, + "maxLength": 5000 + }, + "start_date": { + "type": "UnixTime", + "nullable": true + }, + "trial_end": { + "type": "JSON", + "nullable": true + } + } + } + }, { "style": "deepObject", "explode": true, @@ -12380,15 +13345,6 @@ "type": "JSON", "nullable": true } - }, - { - "style": "form", - "name": "subscription_trial_from_plan", - "in": "query", - "schema": { - "type": "Boolean", - "nullable": true - } } ] }, @@ -12519,6 +13475,16 @@ } } }, + "preview_mode": { + "description": "Customizes the types of values to include when calculating the invoice. Defaults to `next` if unspecified.", + "type": { + "type": "nullable", + "underlying_type": { + "name": "InvoicesPreviewMode", + "type": "named" + } + } + }, "schedule": { "description": "The identifier of the schedule whose upcoming invoice you'd like to retrieve. Cannot be used with subscription or subscription fields.", "type": { @@ -12529,6 +13495,16 @@ } } }, + "schedule_details": { + "description": "The schedule creation or modification params to apply as a preview. Cannot be used with `subscription` or `subscription_` prefixed fields.", + "type": { + "type": "nullable", + "underlying_type": { + "name": "GetInvoicesUpcomingLinesScheduleDetails", + "type": "named" + } + } + }, "starting_after": { "description": "A cursor for use in pagination. `starting_after` is an object ID that defines your place in the list. For instance, if you make a list request and receive 100 objects, ending with `obj_foo`, your subsequent call can include `starting_after=obj_foo` in order to fetch the next page of the list.", "type": { @@ -12550,7 +13526,7 @@ } }, "subscription_billing_cycle_anchor": { - "description": "For new subscriptions, a future timestamp to anchor the subscription's [billing cycle](https://stripe.com/docs/subscriptions/billing-cycle). This is used to determine the date of the first full invoice, and, for plans with `month` or `year` intervals, the day of the month for subsequent invoices. For existing subscriptions, the value can only be set to `now` or `unchanged`.", + "description": "For new subscriptions, a future timestamp to anchor the subscription's [billing cycle](https://stripe.com/docs/subscriptions/billing-cycle). This is used to determine the date of the first full invoice, and, for plans with `month` or `year` intervals, the day of the month for subsequent invoices. For existing subscriptions, the value can only be set to `now` or `unchanged`. This field has been deprecated and will be removed in a future API version. Use `subscription_details.billing_cycle_anchor` instead.", "type": { "type": "nullable", "underlying_type": { @@ -12560,7 +13536,7 @@ } }, "subscription_cancel_at": { - "description": "A timestamp at which the subscription should cancel. If set to a date before the current period ends, this will cause a proration if prorations have been enabled using `proration_behavior`. If set during a future period, this will always cause a proration for that period.", + "description": "A timestamp at which the subscription should cancel. If set to a date before the current period ends, this will cause a proration if prorations have been enabled using `proration_behavior`. If set during a future period, this will always cause a proration for that period. This field has been deprecated and will be removed in a future API version. Use `subscription_details.cancel_at` instead.", "type": { "type": "nullable", "underlying_type": { @@ -12570,7 +13546,7 @@ } }, "subscription_cancel_at_period_end": { - "description": "Boolean indicating whether this subscription should cancel at the end of the current period.", + "description": "Boolean indicating whether this subscription should cancel at the end of the current period. This field has been deprecated and will be removed in a future API version. Use `subscription_details.cancel_at_period_end` instead.", "type": { "type": "nullable", "underlying_type": { @@ -12580,7 +13556,7 @@ } }, "subscription_cancel_now": { - "description": "This simulates the subscription being canceled or expired immediately.", + "description": "This simulates the subscription being canceled or expired immediately. This field has been deprecated and will be removed in a future API version. Use `subscription_details.cancel_now` instead.", "type": { "type": "nullable", "underlying_type": { @@ -12590,7 +13566,7 @@ } }, "subscription_default_tax_rates": { - "description": "If provided, the invoice returned will preview updating or creating a subscription with these default tax rates. The default tax rates will apply to any line item that does not have `tax_rates` set.", + "description": "If provided, the invoice returned will preview updating or creating a subscription with these default tax rates. The default tax rates will apply to any line item that does not have `tax_rates` set. This field has been deprecated and will be removed in a future API version. Use `subscription_details.default_tax_rates` instead.", "type": { "type": "nullable", "underlying_type": { @@ -12599,8 +13575,18 @@ } } }, + "subscription_details": { + "description": "The subscription creation or modification params to apply as a preview. Cannot be used with `schedule` or `schedule_details` fields.", + "type": { + "type": "nullable", + "underlying_type": { + "name": "GetInvoicesUpcomingLinesSubscriptionDetails", + "type": "named" + } + } + }, "subscription_items": { - "description": "A list of up to 20 subscription items, each with an attached price.", + "description": "A list of up to 20 subscription items, each with an attached price. This field has been deprecated and will be removed in a future API version. Use `subscription_details.items` instead.", "type": { "type": "nullable", "underlying_type": { @@ -12613,7 +13599,7 @@ } }, "subscription_proration_behavior": { - "description": "Determines how to handle [prorations](https://stripe.com/docs/billing/subscriptions/prorations) when the billing cycle changes (e.g., when switching plans, resetting `billing_cycle_anchor=now`, or starting a trial), or if an item's `quantity` changes. The default value is `create_prorations`.", + "description": "Determines how to handle [prorations](https://stripe.com/docs/billing/subscriptions/prorations) when the billing cycle changes (e.g., when switching plans, resetting `billing_cycle_anchor=now`, or starting a trial), or if an item's `quantity` changes. The default value is `create_prorations`. This field has been deprecated and will be removed in a future API version. Use `subscription_details.proration_behavior` instead.", "type": { "type": "nullable", "underlying_type": { @@ -12623,7 +13609,7 @@ } }, "subscription_proration_date": { - "description": "If previewing an update to a subscription, and doing proration, `subscription_proration_date` forces the proration to be calculated as though the update was done at the specified time. The time given must be within the current subscription period and within the current phase of the schedule backing this subscription, if the schedule exists. If set, `subscription`, and one of `subscription_items`, or `subscription_trial_end` are required. Also, `subscription_proration_behavior` cannot be set to 'none'.", + "description": "If previewing an update to a subscription, and doing proration, `subscription_proration_date` forces the proration to be calculated as though the update was done at the specified time. The time given must be within the current subscription period and within the current phase of the schedule backing this subscription, if the schedule exists. If set, `subscription`, and one of `subscription_items`, or `subscription_trial_end` are required. Also, `subscription_proration_behavior` cannot be set to 'none'. This field has been deprecated and will be removed in a future API version. Use `subscription_details.proration_date` instead.", "type": { "type": "nullable", "underlying_type": { @@ -12633,7 +13619,7 @@ } }, "subscription_resume_at": { - "description": "For paused subscriptions, setting `subscription_resume_at` to `now` will preview the invoice that will be generated if the subscription is resumed.", + "description": "For paused subscriptions, setting `subscription_resume_at` to `now` will preview the invoice that will be generated if the subscription is resumed. This field has been deprecated and will be removed in a future API version. Use `subscription_details.resume_at` instead.", "type": { "type": "nullable", "underlying_type": { @@ -12643,7 +13629,7 @@ } }, "subscription_start_date": { - "description": "Date a subscription is intended to start (can be future or past).", + "description": "Date a subscription is intended to start (can be future or past). This field has been deprecated and will be removed in a future API version. Use `subscription_details.start_date` instead.", "type": { "type": "nullable", "underlying_type": { @@ -12653,7 +13639,7 @@ } }, "subscription_trial_end": { - "description": "If provided, the invoice returned will preview updating or creating a subscription with that trial end. If set, one of `subscription_items` or `subscription` is required.", + "description": "If provided, the invoice returned will preview updating or creating a subscription with that trial end. If set, one of `subscription_items` or `subscription` is required. This field has been deprecated and will be removed in a future API version. Use `subscription_details.trial_end` instead.", "type": { "type": "nullable", "underlying_type": { @@ -12661,16 +13647,6 @@ "type": "named" } } - }, - "subscription_trial_from_plan": { - "description": "Indicates if a plan's `trial_period_days` should be applied to the subscription. Setting `subscription_trial_end` per subscription is preferred, and this defaults to `false`. Setting this flag to `true` together with `subscription_trial_end` is not allowed. See [Using trial periods on subscriptions](https://stripe.com/docs/billing/subscriptions/trials) to learn more.", - "type": { - "type": "nullable", - "underlying_type": { - "name": "Boolean", - "type": "named" - } - } } }, "name": "GetInvoicesUpcomingLines", @@ -14303,127 +15279,6 @@ "type": "named" } }, - { - "request": { - "url": "/v1/issuing/settlements", - "method": "get", - "parameters": [ - { - "style": "deepObject", - "explode": true, - "name": "created", - "in": "query", - "schema": { - "type": "JSON", - "nullable": true - } - }, - { - "style": "form", - "name": "ending_before", - "in": "query", - "schema": { - "type": "String", - "nullable": true, - "maxLength": 5000 - } - }, - { - "style": "deepObject", - "explode": true, - "name": "expand", - "in": "query", - "schema": { - "type": "array", - "nullable": true, - "items": { - "type": "String", - "maxLength": 5000 - } - } - }, - { - "style": "form", - "name": "limit", - "in": "query", - "schema": { - "type": "Int32", - "nullable": true - } - }, - { - "style": "form", - "name": "starting_after", - "in": "query", - "schema": { - "type": "String", - "nullable": true, - "maxLength": 5000 - } - } - ] - }, - "arguments": { - "created": { - "description": "Only return issuing settlements that were created during the given date interval.", - "type": { - "type": "nullable", - "underlying_type": { - "name": "JSON", - "type": "named" - } - } - }, - "ending_before": { - "description": "A cursor for use in pagination. `ending_before` is an object ID that defines your place in the list. For instance, if you make a list request and receive 100 objects, starting with `obj_bar`, your subsequent call can include `ending_before=obj_bar` in order to fetch the previous page of the list.", - "type": { - "type": "nullable", - "underlying_type": { - "name": "String", - "type": "named" - } - } - }, - "expand": { - "description": "Specifies which fields in the response should be expanded.", - "type": { - "type": "nullable", - "underlying_type": { - "element_type": { - "name": "String", - "type": "named" - }, - "type": "array" - } - } - }, - "limit": { - "description": "A limit on the number of objects to be returned. Limit can range between 1 and 100, and the default is 10.", - "type": { - "type": "nullable", - "underlying_type": { - "name": "Int32", - "type": "named" - } - } - }, - "starting_after": { - "description": "A cursor for use in pagination. `starting_after` is an object ID that defines your place in the list. For instance, if you make a list request and receive 100 objects, ending with `obj_foo`, your subsequent call can include `starting_after=obj_foo` in order to fetch the next page of the list.", - "type": { - "type": "nullable", - "underlying_type": { - "name": "String", - "type": "named" - } - } - } - }, - "name": "GetIssuingSettlements", - "result_type": { - "name": "GetIssuingSettlementsResult", - "type": "named" - } - }, { "request": { "url": "/v1/issuing/settlements/{settlement}", @@ -16009,6 +16864,16 @@ "nullable": true } }, + { + "style": "form", + "name": "ending_before", + "in": "query", + "schema": { + "type": "String", + "nullable": true, + "maxLength": 5000 + } + }, { "style": "deepObject", "explode": true, @@ -16022,6 +16887,25 @@ "maxLength": 5000 } } + }, + { + "style": "form", + "name": "limit", + "in": "query", + "schema": { + "type": "Int32", + "nullable": true + } + }, + { + "style": "form", + "name": "starting_after", + "in": "query", + "schema": { + "type": "String", + "nullable": true, + "maxLength": 5000 + } } ] }, @@ -16036,6 +16920,16 @@ } } }, + "ending_before": { + "description": "A cursor for use in pagination. `ending_before` is an object ID that defines your place in the list. For instance, if you make a list request and receive 100 objects, starting with `obj_bar`, your subsequent call can include `ending_before=obj_bar` in order to fetch the previous page of the list.", + "type": { + "type": "nullable", + "underlying_type": { + "name": "String", + "type": "named" + } + } + }, "expand": { "description": "Specifies which fields in the response should be expanded.", "type": { @@ -16048,6 +16942,26 @@ "type": "array" } } + }, + "limit": { + "description": "A limit on the number of objects to be returned. Limit can range between 1 and 100, and the default is 10.", + "type": { + "type": "nullable", + "underlying_type": { + "name": "Int32", + "type": "named" + } + } + }, + "starting_after": { + "description": "A cursor for use in pagination. `starting_after` is an object ID that defines your place in the list. For instance, if you make a list request and receive 100 objects, ending with `obj_foo`, your subsequent call can include `starting_after=obj_foo` in order to fetch the next page of the list.", + "type": { + "type": "nullable", + "underlying_type": { + "name": "String", + "type": "named" + } + } } }, "name": "GetPaymentMethodConfigurations", @@ -26905,7 +27819,7 @@ ], "object_types": { "Account": { - "description": "This is an object representing a Stripe account. You can retrieve it to see\nproperties on the account like its current requirements or if the account is\nenabled to make live charges or receive payouts.\n\nFor Custom accounts, the properties below are always returned. For other accounts, some properties are returned until that\naccount has started to go through Connect Onboarding. Once you create an [Account Link](https://stripe.com/docs/api/account_links) or [Account Session](https://stripe.com/docs/api/account_sessions),\nsome properties are only returned for Custom accounts. Learn about the differences [between accounts](https://stripe.com/docs/connect/accounts).", + "description": "This is an object representing a Stripe account. You can retrieve it to see\nproperties on the account like its current requirements or if the account is\nenabled to make live charges or receive payouts.\n\nFor accounts where [controller.requirement_collection](/api/accounts/object#account_object-controller-requirement_collection)\nis `application`, which includes Custom accounts, the properties below are always\nreturned.\n\nFor accounts where [controller.requirement_collection](/api/accounts/object#account_object-controller-requirement_collection)\nis `stripe`, which includes Standard and Express accounts, some properties are only returned\nuntil you create an [Account Link](/api/account_links) or [Account Session](/api/account_sessions)\nto start Connect Onboarding. Learn about the [differences between accounts](/connect/accounts).", "fields": { "business_profile": { "type": { @@ -26917,7 +27831,7 @@ } }, "business_type": { - "description": "The business type. Once you create an [Account Link](https://stripe.com/docs/api/account_links) or [Account Session](https://stripe.com/docs/api/account_sessions), this property is only returned for Custom accounts.", + "description": "The business type. After you create an [Account Link](/api/account_links) or [Account Session](/api/account_sessions), this property is only returned for accounts where [controller.requirement_collection](/api/accounts/object#account_object-controller-requirement_collection) is `application`, which includes Custom accounts.", "type": { "type": "nullable", "underlying_type": { @@ -26994,7 +27908,7 @@ } }, "details_submitted": { - "description": "Whether account details have been submitted. Standard accounts cannot receive payouts before this is true.", + "description": "Whether account details have been submitted. Accounts with Stripe Dashboard access, which includes Standard accounts, cannot receive payouts before this is true. Accounts where this is false should be directed to [an onboarding flow](/connect/onboarding) to finish submitting account details.", "type": { "type": "nullable", "underlying_type": { @@ -27103,7 +28017,7 @@ } }, "type": { - "description": "The Stripe account type. Can be `standard`, `express`, or `custom`.", + "description": "The Stripe account type. Can be `standard`, `express`, `custom`, or `none`.", "type": { "type": "nullable", "underlying_type": { @@ -27854,7 +28768,7 @@ } }, "disabled_reason": { - "description": "If the capability is disabled, this string describes why. Can be `requirements.past_due`, `requirements.pending_verification`, `listed`, `platform_paused`, `rejected.fraud`, `rejected.listed`, `rejected.terms_of_service`, `rejected.other`, `under_review`, or `other`.\n\n`rejected.unsupported_business` means that the account's business is not supported by the capability. For example, payment methods may restrict the businesses they support in their terms of service:\n\n- [Afterpay Clearpay's terms of service](/afterpay-clearpay/legal#restricted-businesses)\n\nIf you believe that the rejection is in error, please contact support at https://support.stripe.com/contact/ for assistance.", + "description": "If the capability is disabled, this string describes why. [Learn more about handling verification issues](https://stripe.com/docs/connect/handling-api-verification). Can be `requirements.fields_needed`, `pending.onboarding`, `pending.review`, `rejected.other`, `platform_paused`, `rejected.inactivty`, or `rejected.unsupported_business`.\n\n`rejected.unsupported_business` means that the account's business is not supported by the capability. For example, payment methods may restrict the businesses they support in their terms of service, such as in [Afterpay Clearpay's terms of service](/afterpay-clearpay/legal#restricted-businesses).\n\n`rejected.inactivity` means that the capability has been paused for inactivity. This disabled reason currently only applies to the Issuing capability. See [Issuing: Managing Inactive Connects](https://support.stripe.com/questions/issuing-managing-inactive-connect-accounts) for more details.", "type": { "type": "nullable", "underlying_type": { @@ -28266,7 +29180,7 @@ "AccountPayoutSettings": { "fields": { "debit_negative_balances": { - "description": "A Boolean indicating if Stripe should try to reclaim negative balances from an attached bank account. See our [Understanding Connect Account Balances](https://stripe.com/docs/connect/account-balances) documentation for details. Default value is `false` for Custom accounts, otherwise `true`.", + "description": "A Boolean indicating if Stripe should try to reclaim negative balances from an attached bank account. See [Understanding Connect account balances](/connect/account-balances) for details. The default value is `false` when [controller.requirement_collection](/api/accounts/object#account_object-controller-requirement_collection) is `application`, which includes Custom accounts, otherwise `true`.", "type": { "name": "Boolean", "type": "named" @@ -28735,7 +29649,7 @@ "AccountUnificationAccountControllerFees": { "fields": { "payer": { - "description": "A value indicating the responsible payer of a bundle of Stripe fees for pricing-control eligible products on this account.", + "description": "A value indicating the responsible payer of a bundle of Stripe fees for pricing-control eligible products on this account. Learn more about [fee behavior on connected accounts](https://docs.stripe.com/connect/direct-charges-fee-payer-behavior).", "type": { "name": "AccountUnificationAccountControllerFeesPayer", "type": "named" @@ -29287,7 +30201,7 @@ } }, "connect_reserved": { - "description": "Funds held due to negative balances on connected Custom accounts. You can find the connect reserve balance for each currency and payment type in the `source_types` property.", + "description": "Funds held due to negative balances on connected accounts where [account.controller.requirement_collection](/api/accounts/object#account_object-controller-requirement_collection) is `application`, which includes Custom accounts. You can find the connect reserve balance for each currency and payment type in the `source_types` property.", "type": { "type": "nullable", "underlying_type": { @@ -29572,7 +30486,7 @@ } }, "BankAccount": { - "description": "These bank accounts are payment methods on `Customer` objects.\n\nOn the other hand [External Accounts](https://stripe.com/docs/api#external_accounts) are transfer\ndestinations on `Account` objects for [Custom accounts](https://stripe.com/docs/connect/custom-accounts).\nThey can be bank accounts or debit cards as well, and are documented in the links above.\n\nRelated guide: [Bank debits and transfers](https://stripe.com/docs/payments/bank-debits-transfers)", + "description": "These bank accounts are payment methods on `Customer` objects.\n\nOn the other hand [External Accounts](/api#external_accounts) are transfer\ndestinations on `Account` objects for accounts where [controller.requirement_collection](/api/accounts/object#account_object-controller-requirement_collection)\nis `application`, which includes [Custom accounts](/connect/custom-accounts).\nThey can be bank accounts or debit cards as well, and are documented in the links above.\n\nRelated guide: [Bank debits and transfers](/payments/bank-debits-transfers)", "fields": { "account": { "description": "The ID of the account that the bank account is associated with.", @@ -30056,14 +30970,14 @@ } }, "event_name": { - "description": "The name of the usage event to record usage for. Corresponds with the `event_name` field on usage events.", + "description": "The name of the meter event to record usage for. Corresponds with the `event_name` field on meter events.", "type": { "name": "String", "type": "named" } }, "event_time_window": { - "description": "The time window to pre-aggregate usage events for, if any.", + "description": "The time window to pre-aggregate meter events for, if any.", "type": { "type": "nullable", "underlying_type": { @@ -30160,7 +31074,7 @@ } }, "payload": { - "description": "The payload of the event.", + "description": "The payload of the event. This contains the fields corresponding to a meter's `customer_mapping.event_payload_key` (default is `stripe_customer_id`) and `value_settings.event_payload_key` (default is `value`). Read more about the [payload](https://stripe.com/docs/billing/subscriptions/usage-based/recording-usage#payload-key-overrides).", "type": { "name": "JSON", "type": "named" @@ -30228,14 +31142,14 @@ "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.", "fields": { "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``.", + "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`.", "type": { "name": "Float64", "type": "named" } }, "end_time": { - "description": "End timestamp for this usage summary (inclusive).", + "description": "End timestamp for this event summary (inclusive).", "type": { "name": "UnixTime", "type": "named" @@ -30256,7 +31170,7 @@ } }, "meter": { - "description": "The meter associated with this usage summary.", + "description": "The meter associated with this event summary.", "type": { "name": "String", "type": "named" @@ -30270,7 +31184,7 @@ } }, "start_time": { - "description": "Start timestamp for this usage summary (inclusive).", + "description": "Start timestamp for this event summary (inclusive).", "type": { "name": "UnixTime", "type": "named" @@ -30320,7 +31234,7 @@ "BillingMeterResourceBillingMeterValue": { "fields": { "event_payload_key": { - "description": "The key in the usage event payload to use as the value for this meter.", + "description": "The key in the meter event payload to use as the value for this meter.", "type": { "name": "String", "type": "named" @@ -30331,7 +31245,7 @@ "BillingMeterResourceCustomerMappingSettings": { "fields": { "event_payload_key": { - "description": "The key in the usage event payload to use for mapping the event to a customer.", + "description": "The key in the meter event payload to use for mapping the event to a customer.", "type": { "name": "String", "type": "named" @@ -30647,7 +31561,7 @@ "description": "You can store multiple cards on a customer in order to charge the customer\nlater. You can also store multiple debit cards on a recipient in order to\ntransfer to those cards later.\n\nRelated guide: [Card payments with Sources](https://stripe.com/docs/sources/cards)", "fields": { "account": { - "description": "The account this card belongs to. This attribute will not be in the card object if the card belongs to a customer or recipient instead.", + "description": "The account this card belongs to. This attribute will not be in the card object if the card belongs to a customer or recipient instead. This property is only available for accounts where [controller.requirement_collection](/api/accounts/object#account_object-controller-requirement_collection) is `application`, which includes Custom accounts.", "type": { "type": "nullable", "underlying_type": { @@ -30767,7 +31681,7 @@ } }, "currency": { - "description": "Three-letter [ISO code for currency](https://stripe.com/docs/payouts). Only applicable on accounts (not customers or recipients). The card can be used as a transfer destination for funds in this currency.", + "description": "Three-letter [ISO code for currency](https://stripe.com/docs/payouts). Only applicable on accounts (not customers or recipients). The card can be used as a transfer destination for funds in this currency. This property is only available for accounts where [controller.requirement_collection](/api/accounts/object#account_object-controller-requirement_collection) is `application`, which includes Custom accounts.", "type": { "type": "nullable", "underlying_type": { @@ -30797,7 +31711,7 @@ } }, "default_for_currency": { - "description": "Whether this card is the default external account for its currency.", + "description": "Whether this card is the default external account for its currency. This property is only available for accounts where [controller.requirement_collection](/api/accounts/object#account_object-controller-requirement_collection) is `application`, which includes Custom accounts.", "type": { "type": "nullable", "underlying_type": { @@ -31712,6 +32626,20 @@ } } }, + "CheckoutAmazonPayPaymentMethodOptions": { + "fields": { + "setup_future_usage": { + "description": "Indicates that you intend to make future payments with this PaymentIntent's payment method.\n\nProviding this parameter will [attach the payment method](https://stripe.com/docs/payments/save-during-payment) to the PaymentIntent's Customer, if present, after the PaymentIntent is confirmed and any required actions from the user are complete. If no Customer was provided, the payment method can still be [attached](https://stripe.com/docs/api/payment_methods/attach) to a Customer after the transaction completes.\n\nWhen processing card payments, Stripe also uses `setup_future_usage` to dynamically optimize your payment flow and comply with regional legislation and network rules, such as [SCA](https://stripe.com/docs/strong-customer-authentication).", + "type": { + "type": "nullable", + "underlying_type": { + "name": "CheckoutAmazonPayPaymentMethodOptionsSetupFutureUsage", + "type": "named" + } + } + } + } + }, "CheckoutAuBecsDebitPaymentMethodOptions": { "fields": { "setup_future_usage": { @@ -32044,6 +32972,20 @@ } } }, + "CheckoutMobilepayPaymentMethodOptions": { + "fields": { + "setup_future_usage": { + "description": "Indicates that you intend to make future payments with this PaymentIntent's payment method.\n\nProviding this parameter will [attach the payment method](https://stripe.com/docs/payments/save-during-payment) to the PaymentIntent's Customer, if present, after the PaymentIntent is confirmed and any required actions from the user are complete. If no Customer was provided, the payment method can still be [attached](https://stripe.com/docs/api/payment_methods/attach) to a Customer after the transaction completes.\n\nWhen processing card payments, Stripe also uses `setup_future_usage` to dynamically optimize your payment flow and comply with regional legislation and network rules, such as [SCA](https://stripe.com/docs/strong-customer-authentication).", + "type": { + "type": "nullable", + "underlying_type": { + "name": "CheckoutMobilepayPaymentMethodOptionsSetupFutureUsage", + "type": "named" + } + } + } + } + }, "CheckoutOxxoPaymentMethodOptions": { "fields": { "expires_after_days": { @@ -32151,6 +33093,20 @@ } } }, + "CheckoutRevolutPayPaymentMethodOptions": { + "fields": { + "setup_future_usage": { + "description": "Indicates that you intend to make future payments with this PaymentIntent's payment method.\n\nProviding this parameter will [attach the payment method](https://stripe.com/docs/payments/save-during-payment) to the PaymentIntent's Customer, if present, after the PaymentIntent is confirmed and any required actions from the user are complete. If no Customer was provided, the payment method can still be [attached](https://stripe.com/docs/api/payment_methods/attach) to a Customer after the transaction completes.\n\nWhen processing card payments, Stripe also uses `setup_future_usage` to dynamically optimize your payment flow and comply with regional legislation and network rules, such as [SCA](https://stripe.com/docs/strong-customer-authentication).", + "type": { + "type": "nullable", + "underlying_type": { + "name": "CheckoutRevolutPayPaymentMethodOptionsSetupFutureUsage", + "type": "named" + } + } + } + } + }, "CheckoutSepaDebitPaymentMethodOptions": { "fields": { "setup_future_usage": { @@ -32540,6 +33496,15 @@ } } }, + "saved_payment_method_options": { + "type": { + "type": "nullable", + "underlying_type": { + "name": "PaymentPagesCheckoutSessionSavedPaymentMethodOptions", + "type": "named" + } + } + }, "setup_intent": { "description": "The ID of the SetupIntent for Checkout Sessions in `setup` mode.", "type": { @@ -32885,6 +33850,15 @@ } } }, + "mobilepay": { + "type": { + "type": "nullable", + "underlying_type": { + "name": "CheckoutMobilepayPaymentMethodOptions", + "type": "named" + } + } + }, "oxxo": { "type": { "type": "nullable", @@ -33496,7 +34470,7 @@ } }, "expires_at": { - "description": "Time at which this ConfirmationToken expires and can no longer be used to confirm a PaymentIntent or SetupIntent. This is set to null once this ConfirmationToken has been used.", + "description": "Time at which this ConfirmationToken expires and can no longer be used to confirm a PaymentIntent or SetupIntent.", "type": { "type": "nullable", "underlying_type": { @@ -33698,6 +34672,16 @@ } } }, + "allow_redisplay": { + "description": "This field indicates whether this payment method can be shown again to its customer in a checkout flow. Stripe products such as Checkout and Elements use this field to determine whether a payment method can be shown as a saved payment method in a checkout flow. The field defaults to “unspecified”.", + "type": { + "type": "nullable", + "underlying_type": { + "name": "ConfirmationTokensResourcePaymentMethodPreviewAllowRedisplay", + "type": "named" + } + } + }, "amazon_pay": { "type": { "type": "nullable", @@ -34104,7 +35088,7 @@ } } }, - "ConnectEmbeddedAccountConfig": { + "ConnectEmbeddedAccountConfigClaim": { "fields": { "enabled": { "description": "Whether the embedded component is enabled.", @@ -34115,13 +35099,13 @@ }, "features": { "type": { - "name": "ConnectEmbeddedAccountFeatures", + "name": "ConnectEmbeddedAccountFeaturesClaim", "type": "named" } } } }, - "ConnectEmbeddedAccountFeatures": { + "ConnectEmbeddedAccountFeaturesClaim": { "fields": { "external_account_collection": { "description": "Whether to allow platforms to control bank account collection for their connected accounts. This feature can only be false for custom accounts (or accounts where the platform is compliance owner). Otherwise, bank account collection is determined by compliance requirements.", @@ -34136,13 +35120,19 @@ "fields": { "account_management": { "type": { - "name": "ConnectEmbeddedAccountConfig", + "name": "ConnectEmbeddedAccountConfigClaim", "type": "named" } }, "account_onboarding": { "type": { - "name": "ConnectEmbeddedAccountConfig", + "name": "ConnectEmbeddedAccountConfigClaim", + "type": "named" + } + }, + "balances": { + "type": { + "name": "ConnectEmbeddedPayoutsConfigClaim", "type": "named" } }, @@ -34154,25 +35144,31 @@ }, "notification_banner": { "type": { - "name": "ConnectEmbeddedAccountConfig", + "name": "ConnectEmbeddedAccountConfigClaim", "type": "named" } }, "payment_details": { "type": { - "name": "ConnectEmbeddedPaymentsConfig", + "name": "ConnectEmbeddedPaymentsConfigClaim", "type": "named" } }, "payments": { "type": { - "name": "ConnectEmbeddedPaymentsConfig", + "name": "ConnectEmbeddedPaymentsConfigClaim", "type": "named" } }, "payouts": { "type": { - "name": "ConnectEmbeddedPayoutsConfig", + "name": "ConnectEmbeddedPayoutsConfigClaim", + "type": "named" + } + }, + "payouts_list": { + "type": { + "name": "ConnectEmbeddedBaseConfigClaim", "type": "named" } } @@ -34195,7 +35191,7 @@ } } }, - "ConnectEmbeddedPaymentsConfig": { + "ConnectEmbeddedPaymentsConfigClaim": { "fields": { "enabled": { "description": "Whether the embedded component is enabled.", @@ -34224,11 +35220,8 @@ "destination_on_behalf_of_charge_management": { "description": "Whether to allow connected accounts to manage destination charges that are created on behalf of them. This is `false` by default.", "type": { - "type": "nullable", - "underlying_type": { - "name": "Boolean", - "type": "named" - } + "name": "Boolean", + "type": "named" } }, "dispute_management": { @@ -34247,7 +35240,7 @@ } } }, - "ConnectEmbeddedPayoutsConfig": { + "ConnectEmbeddedPayoutsConfigClaim": { "fields": { "enabled": { "description": "Whether the embedded component is enabled.", @@ -37565,6 +38558,15 @@ } } }, + "paypal": { + "type": { + "type": "nullable", + "underlying_type": { + "name": "DisputePaymentMethodDetailsPaypal", + "type": "named" + } + } + }, "type": { "description": "Payment method type.", "type": { @@ -37595,6 +38597,30 @@ } } }, + "DisputePaymentMethodDetailsPaypal": { + "fields": { + "case_id": { + "description": "The ID of the dispute in PayPal.", + "type": { + "type": "nullable", + "underlying_type": { + "name": "String", + "type": "named" + } + } + }, + "reason_code": { + "description": "The reason for the dispute as defined by PayPal", + "type": { + "type": "nullable", + "underlying_type": { + "name": "String", + "type": "named" + } + } + } + } + }, "EmailSent": { "fields": { "email_sent_at": { @@ -37617,9 +38643,9 @@ "description": "An active entitlement describes access to a feature for a customer.", "fields": { "feature": { - "description": "The feature that the customer is entitled to.", + "description": "The [Feature](https://stripe.com/docs/api/entitlements/feature) that the customer is entitled to.", "type": { - "name": "String", + "name": "JSON", "type": "named" } }, @@ -37768,7 +38794,7 @@ } }, "Event": { - "description": "Events are our way of letting you know when something interesting happens in\nyour account. When an interesting event occurs, we create a new `Event`\nobject. For example, when a charge succeeds, we create a `charge.succeeded`\nevent, and when an invoice payment attempt fails, we create an\n`invoice.payment_failed` event. Certain API requests might create multiple\nevents. For example, if you create a new subscription for a\ncustomer, you receive both a `customer.subscription.created` event and a\n`charge.succeeded` event.\n\nEvents occur when the state of another API resource changes. The event's data\nfield embeds the resource's state at the time of the change. For\nexample, a `charge.succeeded` event contains a charge, and an\n`invoice.payment_failed` event contains an invoice.\n\nAs with other API resources, you can use endpoints to retrieve an\n[individual event](https://stripe.com/docs/api#retrieve_event) or a [list of events](https://stripe.com/docs/api#list_events)\nfrom the API. We also have a separate\n[webhooks](http://en.wikipedia.org/wiki/Webhook) system for sending the\n`Event` objects directly to an endpoint on your server. You can manage\nwebhooks in your\n[account settings](https://dashboard.stripe.com/account/webhooks). Learn how\nto [listen for events](https://stripe.com/docs/webhooks)\nso that your integration can automatically trigger reactions.\n\nWhen using [Connect](https://stripe.com/docs/connect), you can also receive event notifications\nthat occur in connected accounts. For these events, there's an\nadditional `account` attribute in the received `Event` object.\n\nWe only guarantee access to events through the [Retrieve Event API](https://stripe.com/docs/api#retrieve_event)\nfor 30 days.", + "description": "Events are our way of letting you know when something interesting happens in\nyour account. When an interesting event occurs, we create a new `Event`\nobject. For example, when a charge succeeds, we create a `charge.succeeded`\nevent, and when an invoice payment attempt fails, we create an\n`invoice.payment_failed` event. Certain API requests might create multiple\nevents. For example, if you create a new subscription for a\ncustomer, you receive both a `customer.subscription.created` event and a\n`charge.succeeded` event.\n\nEvents occur when the state of another API resource changes. The event's data\nfield embeds the resource's state at the time of the change. For\nexample, a `charge.succeeded` event contains a charge, and an\n`invoice.payment_failed` event contains an invoice.\n\nAs with other API resources, you can use endpoints to retrieve an\n[individual event](https://stripe.com/docs/api#retrieve_event) or a [list of events](https://stripe.com/docs/api#list_events)\nfrom the API. We also have a separate\n[webhooks](http://en.wikipedia.org/wiki/Webhook) system for sending the\n`Event` objects directly to an endpoint on your server. You can manage\nwebhooks in your\n[account settings](https://dashboard.stripe.com/account/webhooks). Learn how\nto [listen for events](https://docs.stripe.com/webhooks)\nso that your integration can automatically trigger reactions.\n\nWhen using [Connect](https://docs.stripe.com/connect), you can also receive event notifications\nthat occur in connected accounts. For these events, there's an\nadditional `account` attribute in the received `Event` object.\n\nWe only guarantee access to events through the [Retrieve Event API](https://stripe.com/docs/api#retrieve_event)\nfor 30 days.", "fields": { "account": { "description": "The connected account that originates the event.", @@ -38966,15 +39992,8 @@ } }, "ForwardingRequest": { - "description": "Instructs Stripe to make a request on your behalf using the destination URL and HTTP method in the config.\nA config is set up for each destination URL by Stripe at the time of onboarding. Stripe verifies requests with\nyour credentials in the config, and injects card details from the payment_method into the request.\n\nStripe redacts all sensitive fields and headers, including authentication credentials and card numbers,\nbefore storing the request and response data in the forwarding Request object, which are subject to a\n30-day retention period.\n\nYou can provide a Stripe idempotency key to make sure that requests with the same key result in only one\noutbound request. The Stripe idempotency key provided should be unique and different from any idempotency\nkeys provided on the underlying third-party request.\n\nForwarding Requests are synchronous requests that return a response or time out according to\nStripe’s limits.\n\nRelated guide: [Forward card details to third-party API endpoints](https://docs.stripe.com/payments/forwarding).", + "description": "Instructs Stripe to make a request on your behalf using the destination URL. The destination URL\nis activated by Stripe at the time of onboarding. Stripe verifies requests with your credentials\nprovided during onboarding, and injects card details from the payment_method into the request.\n\nStripe redacts all sensitive fields and headers, including authentication credentials and card numbers,\nbefore storing the request and response data in the forwarding Request object, which are subject to a\n30-day retention period.\n\nYou can provide a Stripe idempotency key to make sure that requests with the same key result in only one\noutbound request. The Stripe idempotency key provided should be unique and different from any idempotency\nkeys provided on the underlying third-party request.\n\nForwarding Requests are synchronous requests that return a response or time out according to\nStripe’s limits.\n\nRelated guide: [Forward card details to third-party API endpoints](https://docs.stripe.com/payments/forwarding).", "fields": { - "config": { - "description": "The Forwarding Config used when making the forwarded request. The config specifes the HTTP method, merchant credentials, connection settings, and supported destination URLs.", - "type": { - "name": "String", - "type": "named" - } - }, "created": { "description": "Time at which the object was created. Measured in seconds since the Unix epoch.", "type": { @@ -43359,8 +44378,81 @@ } } }, - "GetInvoicesUpcomingLinesSubscriptionItems": { + "GetInvoicesUpcomingLinesScheduleDetails": { + "fields": { + "end_behavior": { + "type": { + "type": "nullable", + "underlying_type": { + "name": "InvoicesEndBehavior", + "type": "named" + } + } + }, + "phases": { + "type": { + "type": "nullable", + "underlying_type": { + "element_type": { + "name": "GetInvoicesUpcomingLinesScheduleDetailsPhases", + "type": "named" + }, + "type": "array" + } + } + }, + "proration_behavior": { + "type": { + "type": "nullable", + "underlying_type": { + "name": "InvoicesProrationBehavior", + "type": "named" + } + } + } + } + }, + "GetInvoicesUpcomingLinesScheduleDetailsPhases": { "fields": { + "add_invoice_items": { + "type": { + "type": "nullable", + "underlying_type": { + "element_type": { + "name": "GetInvoicesUpcomingLinesScheduleDetailsPhasesAddInvoiceItems", + "type": "named" + }, + "type": "array" + } + } + }, + "application_fee_percent": { + "type": { + "type": "nullable", + "underlying_type": { + "name": "Float64", + "type": "named" + } + } + }, + "automatic_tax": { + "type": { + "type": "nullable", + "underlying_type": { + "name": "GetInvoicesUpcomingLinesScheduleDetailsPhasesAutomaticTax", + "type": "named" + } + } + }, + "billing_cycle_anchor": { + "type": { + "type": "nullable", + "underlying_type": { + "name": "InvoicesBillingCycleAnchor", + "type": "named" + } + } + }, "billing_thresholds": { "type": { "type": "nullable", @@ -43370,20 +44462,47 @@ } } }, - "clear_usage": { + "collection_method": { "type": { "type": "nullable", "underlying_type": { - "name": "Boolean", + "name": "InvoicesCollectionMethod", "type": "named" } } }, - "deleted": { + "coupon": { "type": { "type": "nullable", "underlying_type": { - "name": "Boolean", + "name": "String", + "type": "named" + } + } + }, + "default_payment_method": { + "type": { + "type": "nullable", + "underlying_type": { + "name": "String", + "type": "named" + } + } + }, + "default_tax_rates": { + "type": { + "type": "nullable", + "underlying_type": { + "name": "JSON", + "type": "named" + } + } + }, + "description": { + "type": { + "type": "nullable", + "underlying_type": { + "name": "JSON", "type": "named" } } @@ -43397,11 +44516,38 @@ } } }, - "id": { + "end_date": { "type": { "type": "nullable", "underlying_type": { - "name": "String", + "name": "JSON", + "type": "named" + } + } + }, + "invoice_settings": { + "type": { + "type": "nullable", + "underlying_type": { + "name": "GetInvoicesUpcomingLinesScheduleDetailsPhasesInvoiceSettings", + "type": "named" + } + } + }, + "items": { + "type": { + "element_type": { + "name": "GetInvoicesUpcomingLinesScheduleDetailsPhasesItems", + "type": "named" + }, + "type": "array" + } + }, + "iterations": { + "type": { + "type": "nullable", + "underlying_type": { + "name": "Int32", "type": "named" } } @@ -43415,6 +44561,76 @@ } } }, + "on_behalf_of": { + "type": { + "type": "nullable", + "underlying_type": { + "name": "String", + "type": "named" + } + } + }, + "proration_behavior": { + "type": { + "type": "nullable", + "underlying_type": { + "name": "InvoicesProrationBehavior", + "type": "named" + } + } + }, + "start_date": { + "type": { + "type": "nullable", + "underlying_type": { + "name": "JSON", + "type": "named" + } + } + }, + "transfer_data": { + "type": { + "type": "nullable", + "underlying_type": { + "name": "GetInvoicesUpcomingLinesScheduleDetailsPhasesTransferData", + "type": "named" + } + } + }, + "trial": { + "type": { + "type": "nullable", + "underlying_type": { + "name": "Boolean", + "type": "named" + } + } + }, + "trial_end": { + "type": { + "type": "nullable", + "underlying_type": { + "name": "JSON", + "type": "named" + } + } + } + } + }, + "GetInvoicesUpcomingLinesScheduleDetailsPhasesAddInvoiceItems": { + "fields": { + "discounts": { + "type": { + "type": "nullable", + "underlying_type": { + "element_type": { + "name": "GetInvoicesUpcomingLinesScheduleDetailsPhasesAddInvoiceItemsDiscounts", + "type": "named" + }, + "type": "array" + } + } + }, "price": { "type": { "type": "nullable", @@ -43428,7 +44644,7 @@ "type": { "type": "nullable", "underlying_type": { - "name": "GetInvoicesUpcomingLinesSubscriptionItemsPriceData", + "name": "GetInvoicesUpcomingLinesScheduleDetailsPhasesAddInvoiceItemsPriceData", "type": "named" } } @@ -43453,23 +44669,48 @@ } } }, - "GetInvoicesUpcomingLinesSubscriptionItemsPriceData": { + "GetInvoicesUpcomingLinesScheduleDetailsPhasesAddInvoiceItemsDiscounts": { "fields": { - "currency": { + "coupon": { "type": { - "name": "String", - "type": "named" + "type": "nullable", + "underlying_type": { + "name": "String", + "type": "named" + } } }, - "product": { + "discount": { + "type": { + "type": "nullable", + "underlying_type": { + "name": "String", + "type": "named" + } + } + }, + "promotion_code": { + "type": { + "type": "nullable", + "underlying_type": { + "name": "String", + "type": "named" + } + } + } + } + }, + "GetInvoicesUpcomingLinesScheduleDetailsPhasesAddInvoiceItemsPriceData": { + "fields": { + "currency": { "type": { "name": "String", "type": "named" } }, - "recurring": { + "product": { "type": { - "name": "GetInvoicesUpcomingLinesSubscriptionItemsPriceDataRecurring", + "name": "String", "type": "named" } }, @@ -43502,7 +44743,211 @@ } } }, - "GetInvoicesUpcomingLinesSubscriptionItemsPriceDataRecurring": { + "GetInvoicesUpcomingLinesScheduleDetailsPhasesAutomaticTax": { + "fields": { + "enabled": { + "type": { + "name": "Boolean", + "type": "named" + } + }, + "liability": { + "type": { + "type": "nullable", + "underlying_type": { + "name": "GetInvoicesUpcomingLinesScheduleDetailsPhasesAutomaticTaxLiability", + "type": "named" + } + } + } + } + }, + "GetInvoicesUpcomingLinesScheduleDetailsPhasesAutomaticTaxLiability": { + "fields": { + "account": { + "type": { + "type": "nullable", + "underlying_type": { + "name": "String", + "type": "named" + } + } + }, + "type": { + "type": { + "name": "InvoicesType", + "type": "named" + } + } + } + }, + "GetInvoicesUpcomingLinesScheduleDetailsPhasesInvoiceSettings": { + "fields": { + "account_tax_ids": { + "type": { + "type": "nullable", + "underlying_type": { + "name": "JSON", + "type": "named" + } + } + }, + "days_until_due": { + "type": { + "type": "nullable", + "underlying_type": { + "name": "Int32", + "type": "named" + } + } + }, + "issuer": { + "type": { + "type": "nullable", + "underlying_type": { + "name": "GetInvoicesUpcomingLinesScheduleDetailsPhasesInvoiceSettingsIssuer", + "type": "named" + } + } + } + } + }, + "GetInvoicesUpcomingLinesScheduleDetailsPhasesInvoiceSettingsIssuer": { + "fields": { + "account": { + "type": { + "type": "nullable", + "underlying_type": { + "name": "String", + "type": "named" + } + } + }, + "type": { + "type": { + "name": "InvoicesType", + "type": "named" + } + } + } + }, + "GetInvoicesUpcomingLinesScheduleDetailsPhasesItems": { + "fields": { + "billing_thresholds": { + "type": { + "type": "nullable", + "underlying_type": { + "name": "JSON", + "type": "named" + } + } + }, + "discounts": { + "type": { + "type": "nullable", + "underlying_type": { + "name": "JSON", + "type": "named" + } + } + }, + "metadata": { + "type": { + "type": "nullable", + "underlying_type": { + "name": "JSON", + "type": "named" + } + } + }, + "price": { + "type": { + "type": "nullable", + "underlying_type": { + "name": "String", + "type": "named" + } + } + }, + "price_data": { + "type": { + "type": "nullable", + "underlying_type": { + "name": "GetInvoicesUpcomingLinesScheduleDetailsPhasesItemsPriceData", + "type": "named" + } + } + }, + "quantity": { + "type": { + "type": "nullable", + "underlying_type": { + "name": "Int32", + "type": "named" + } + } + }, + "tax_rates": { + "type": { + "type": "nullable", + "underlying_type": { + "name": "JSON", + "type": "named" + } + } + } + } + }, + "GetInvoicesUpcomingLinesScheduleDetailsPhasesItemsPriceData": { + "fields": { + "currency": { + "type": { + "name": "String", + "type": "named" + } + }, + "product": { + "type": { + "name": "String", + "type": "named" + } + }, + "recurring": { + "type": { + "name": "GetInvoicesUpcomingLinesScheduleDetailsPhasesItemsPriceDataRecurring", + "type": "named" + } + }, + "tax_behavior": { + "type": { + "type": "nullable", + "underlying_type": { + "name": "InvoicesTaxBehavior", + "type": "named" + } + } + }, + "unit_amount": { + "type": { + "type": "nullable", + "underlying_type": { + "name": "Int32", + "type": "named" + } + } + }, + "unit_amount_decimal": { + "type": { + "type": "nullable", + "underlying_type": { + "name": "String", + "type": "named" + } + } + } + } + }, + "GetInvoicesUpcomingLinesScheduleDetailsPhasesItemsPriceDataRecurring": { "fields": { "interval": { "type": { @@ -43521,7 +44966,132 @@ } } }, - "GetInvoicesUpcomingSubscriptionItems": { + "GetInvoicesUpcomingLinesScheduleDetailsPhasesTransferData": { + "fields": { + "amount_percent": { + "type": { + "type": "nullable", + "underlying_type": { + "name": "Float64", + "type": "named" + } + } + }, + "destination": { + "type": { + "name": "String", + "type": "named" + } + } + } + }, + "GetInvoicesUpcomingLinesSubscriptionDetails": { + "fields": { + "billing_cycle_anchor": { + "type": { + "type": "nullable", + "underlying_type": { + "name": "JSON", + "type": "named" + } + } + }, + "cancel_at": { + "type": { + "type": "nullable", + "underlying_type": { + "name": "JSON", + "type": "named" + } + } + }, + "cancel_at_period_end": { + "type": { + "type": "nullable", + "underlying_type": { + "name": "Boolean", + "type": "named" + } + } + }, + "cancel_now": { + "type": { + "type": "nullable", + "underlying_type": { + "name": "Boolean", + "type": "named" + } + } + }, + "default_tax_rates": { + "type": { + "type": "nullable", + "underlying_type": { + "name": "JSON", + "type": "named" + } + } + }, + "items": { + "type": { + "type": "nullable", + "underlying_type": { + "element_type": { + "name": "GetInvoicesUpcomingLinesSubscriptionDetailsItems", + "type": "named" + }, + "type": "array" + } + } + }, + "proration_behavior": { + "type": { + "type": "nullable", + "underlying_type": { + "name": "InvoicesProrationBehavior", + "type": "named" + } + } + }, + "proration_date": { + "type": { + "type": "nullable", + "underlying_type": { + "name": "UnixTime", + "type": "named" + } + } + }, + "resume_at": { + "type": { + "type": "nullable", + "underlying_type": { + "name": "InvoicesResumeAt", + "type": "named" + } + } + }, + "start_date": { + "type": { + "type": "nullable", + "underlying_type": { + "name": "UnixTime", + "type": "named" + } + } + }, + "trial_end": { + "type": { + "type": "nullable", + "underlying_type": { + "name": "JSON", + "type": "named" + } + } + } + } + }, + "GetInvoicesUpcomingLinesSubscriptionDetailsItems": { "fields": { "billing_thresholds": { "type": { @@ -43590,7 +45160,7 @@ "type": { "type": "nullable", "underlying_type": { - "name": "GetInvoicesUpcomingSubscriptionItemsPriceData", + "name": "GetInvoicesUpcomingLinesSubscriptionDetailsItemsPriceData", "type": "named" } } @@ -43615,7 +45185,7 @@ } } }, - "GetInvoicesUpcomingSubscriptionItemsPriceData": { + "GetInvoicesUpcomingLinesSubscriptionDetailsItemsPriceData": { "fields": { "currency": { "type": { @@ -43631,7 +45201,7 @@ }, "recurring": { "type": { - "name": "GetInvoicesUpcomingSubscriptionItemsPriceDataRecurring", + "name": "GetInvoicesUpcomingLinesSubscriptionDetailsItemsPriceDataRecurring", "type": "named" } }, @@ -43664,7 +45234,7 @@ } } }, - "GetInvoicesUpcomingSubscriptionItemsPriceDataRecurring": { + "GetInvoicesUpcomingLinesSubscriptionDetailsItemsPriceDataRecurring": { "fields": { "interval": { "type": { @@ -43683,46 +45253,1211 @@ } } }, - "GetIssuingAuthorizationsResult": { + "GetInvoicesUpcomingLinesSubscriptionItems": { "fields": { - "data": { + "billing_thresholds": { + "type": { + "type": "nullable", + "underlying_type": { + "name": "JSON", + "type": "named" + } + } + }, + "clear_usage": { + "type": { + "type": "nullable", + "underlying_type": { + "name": "Boolean", + "type": "named" + } + } + }, + "deleted": { + "type": { + "type": "nullable", + "underlying_type": { + "name": "Boolean", + "type": "named" + } + } + }, + "discounts": { + "type": { + "type": "nullable", + "underlying_type": { + "name": "JSON", + "type": "named" + } + } + }, + "id": { + "type": { + "type": "nullable", + "underlying_type": { + "name": "String", + "type": "named" + } + } + }, + "metadata": { + "type": { + "type": "nullable", + "underlying_type": { + "name": "JSON", + "type": "named" + } + } + }, + "price": { + "type": { + "type": "nullable", + "underlying_type": { + "name": "String", + "type": "named" + } + } + }, + "price_data": { + "type": { + "type": "nullable", + "underlying_type": { + "name": "GetInvoicesUpcomingLinesSubscriptionItemsPriceData", + "type": "named" + } + } + }, + "quantity": { + "type": { + "type": "nullable", + "underlying_type": { + "name": "Int32", + "type": "named" + } + } + }, + "tax_rates": { + "type": { + "type": "nullable", + "underlying_type": { + "name": "JSON", + "type": "named" + } + } + } + } + }, + "GetInvoicesUpcomingLinesSubscriptionItemsPriceData": { + "fields": { + "currency": { + "type": { + "name": "String", + "type": "named" + } + }, + "product": { + "type": { + "name": "String", + "type": "named" + } + }, + "recurring": { + "type": { + "name": "GetInvoicesUpcomingLinesSubscriptionItemsPriceDataRecurring", + "type": "named" + } + }, + "tax_behavior": { + "type": { + "type": "nullable", + "underlying_type": { + "name": "InvoicesTaxBehavior", + "type": "named" + } + } + }, + "unit_amount": { + "type": { + "type": "nullable", + "underlying_type": { + "name": "Int32", + "type": "named" + } + } + }, + "unit_amount_decimal": { + "type": { + "type": "nullable", + "underlying_type": { + "name": "String", + "type": "named" + } + } + } + } + }, + "GetInvoicesUpcomingLinesSubscriptionItemsPriceDataRecurring": { + "fields": { + "interval": { + "type": { + "name": "InvoicesInterval", + "type": "named" + } + }, + "interval_count": { + "type": { + "type": "nullable", + "underlying_type": { + "name": "Int32", + "type": "named" + } + } + } + } + }, + "GetInvoicesUpcomingScheduleDetails": { + "fields": { + "end_behavior": { + "type": { + "type": "nullable", + "underlying_type": { + "name": "InvoicesEndBehavior", + "type": "named" + } + } + }, + "phases": { + "type": { + "type": "nullable", + "underlying_type": { + "element_type": { + "name": "GetInvoicesUpcomingScheduleDetailsPhases", + "type": "named" + }, + "type": "array" + } + } + }, + "proration_behavior": { + "type": { + "type": "nullable", + "underlying_type": { + "name": "InvoicesProrationBehavior", + "type": "named" + } + } + } + } + }, + "GetInvoicesUpcomingScheduleDetailsPhases": { + "fields": { + "add_invoice_items": { + "type": { + "type": "nullable", + "underlying_type": { + "element_type": { + "name": "GetInvoicesUpcomingScheduleDetailsPhasesAddInvoiceItems", + "type": "named" + }, + "type": "array" + } + } + }, + "application_fee_percent": { + "type": { + "type": "nullable", + "underlying_type": { + "name": "Float64", + "type": "named" + } + } + }, + "automatic_tax": { + "type": { + "type": "nullable", + "underlying_type": { + "name": "GetInvoicesUpcomingScheduleDetailsPhasesAutomaticTax", + "type": "named" + } + } + }, + "billing_cycle_anchor": { + "type": { + "type": "nullable", + "underlying_type": { + "name": "InvoicesBillingCycleAnchor", + "type": "named" + } + } + }, + "billing_thresholds": { + "type": { + "type": "nullable", + "underlying_type": { + "name": "JSON", + "type": "named" + } + } + }, + "collection_method": { + "type": { + "type": "nullable", + "underlying_type": { + "name": "InvoicesCollectionMethod", + "type": "named" + } + } + }, + "coupon": { + "type": { + "type": "nullable", + "underlying_type": { + "name": "String", + "type": "named" + } + } + }, + "default_payment_method": { + "type": { + "type": "nullable", + "underlying_type": { + "name": "String", + "type": "named" + } + } + }, + "default_tax_rates": { + "type": { + "type": "nullable", + "underlying_type": { + "name": "JSON", + "type": "named" + } + } + }, + "description": { + "type": { + "type": "nullable", + "underlying_type": { + "name": "JSON", + "type": "named" + } + } + }, + "discounts": { + "type": { + "type": "nullable", + "underlying_type": { + "name": "JSON", + "type": "named" + } + } + }, + "end_date": { + "type": { + "type": "nullable", + "underlying_type": { + "name": "JSON", + "type": "named" + } + } + }, + "invoice_settings": { + "type": { + "type": "nullable", + "underlying_type": { + "name": "GetInvoicesUpcomingScheduleDetailsPhasesInvoiceSettings", + "type": "named" + } + } + }, + "items": { "type": { "element_type": { - "name": "IssuingAuthorization", + "name": "GetInvoicesUpcomingScheduleDetailsPhasesItems", "type": "named" }, "type": "array" } }, - "has_more": { - "description": "True if this list has another page of items after this one that can be fetched.", + "iterations": { + "type": { + "type": "nullable", + "underlying_type": { + "name": "Int32", + "type": "named" + } + } + }, + "metadata": { + "type": { + "type": "nullable", + "underlying_type": { + "name": "JSON", + "type": "named" + } + } + }, + "on_behalf_of": { + "type": { + "type": "nullable", + "underlying_type": { + "name": "String", + "type": "named" + } + } + }, + "proration_behavior": { + "type": { + "type": "nullable", + "underlying_type": { + "name": "InvoicesProrationBehavior", + "type": "named" + } + } + }, + "start_date": { + "type": { + "type": "nullable", + "underlying_type": { + "name": "JSON", + "type": "named" + } + } + }, + "transfer_data": { + "type": { + "type": "nullable", + "underlying_type": { + "name": "GetInvoicesUpcomingScheduleDetailsPhasesTransferData", + "type": "named" + } + } + }, + "trial": { + "type": { + "type": "nullable", + "underlying_type": { + "name": "Boolean", + "type": "named" + } + } + }, + "trial_end": { + "type": { + "type": "nullable", + "underlying_type": { + "name": "JSON", + "type": "named" + } + } + } + } + }, + "GetInvoicesUpcomingScheduleDetailsPhasesAddInvoiceItems": { + "fields": { + "discounts": { + "type": { + "type": "nullable", + "underlying_type": { + "element_type": { + "name": "GetInvoicesUpcomingScheduleDetailsPhasesAddInvoiceItemsDiscounts", + "type": "named" + }, + "type": "array" + } + } + }, + "price": { + "type": { + "type": "nullable", + "underlying_type": { + "name": "String", + "type": "named" + } + } + }, + "price_data": { + "type": { + "type": "nullable", + "underlying_type": { + "name": "GetInvoicesUpcomingScheduleDetailsPhasesAddInvoiceItemsPriceData", + "type": "named" + } + } + }, + "quantity": { + "type": { + "type": "nullable", + "underlying_type": { + "name": "Int32", + "type": "named" + } + } + }, + "tax_rates": { + "type": { + "type": "nullable", + "underlying_type": { + "name": "JSON", + "type": "named" + } + } + } + } + }, + "GetInvoicesUpcomingScheduleDetailsPhasesAddInvoiceItemsDiscounts": { + "fields": { + "coupon": { + "type": { + "type": "nullable", + "underlying_type": { + "name": "String", + "type": "named" + } + } + }, + "discount": { + "type": { + "type": "nullable", + "underlying_type": { + "name": "String", + "type": "named" + } + } + }, + "promotion_code": { + "type": { + "type": "nullable", + "underlying_type": { + "name": "String", + "type": "named" + } + } + } + } + }, + "GetInvoicesUpcomingScheduleDetailsPhasesAddInvoiceItemsPriceData": { + "fields": { + "currency": { + "type": { + "name": "String", + "type": "named" + } + }, + "product": { + "type": { + "name": "String", + "type": "named" + } + }, + "tax_behavior": { + "type": { + "type": "nullable", + "underlying_type": { + "name": "InvoicesTaxBehavior", + "type": "named" + } + } + }, + "unit_amount": { + "type": { + "type": "nullable", + "underlying_type": { + "name": "Int32", + "type": "named" + } + } + }, + "unit_amount_decimal": { + "type": { + "type": "nullable", + "underlying_type": { + "name": "String", + "type": "named" + } + } + } + } + }, + "GetInvoicesUpcomingScheduleDetailsPhasesAutomaticTax": { + "fields": { + "enabled": { "type": { "name": "Boolean", "type": "named" } }, - "object": { - "description": "String representing the object's type. Objects of the same type share the same value. Always has the value `list`.", + "liability": { "type": { - "name": "IssuingObject", + "type": "nullable", + "underlying_type": { + "name": "GetInvoicesUpcomingScheduleDetailsPhasesAutomaticTaxLiability", + "type": "named" + } + } + } + } + }, + "GetInvoicesUpcomingScheduleDetailsPhasesAutomaticTaxLiability": { + "fields": { + "account": { + "type": { + "type": "nullable", + "underlying_type": { + "name": "String", + "type": "named" + } + } + }, + "type": { + "type": { + "name": "InvoicesType", "type": "named" } + } + } + }, + "GetInvoicesUpcomingScheduleDetailsPhasesInvoiceSettings": { + "fields": { + "account_tax_ids": { + "type": { + "type": "nullable", + "underlying_type": { + "name": "JSON", + "type": "named" + } + } }, - "url": { - "description": "The URL where this list can be accessed.", + "days_until_due": { + "type": { + "type": "nullable", + "underlying_type": { + "name": "Int32", + "type": "named" + } + } + }, + "issuer": { + "type": { + "type": "nullable", + "underlying_type": { + "name": "GetInvoicesUpcomingScheduleDetailsPhasesInvoiceSettingsIssuer", + "type": "named" + } + } + } + } + }, + "GetInvoicesUpcomingScheduleDetailsPhasesInvoiceSettingsIssuer": { + "fields": { + "account": { + "type": { + "type": "nullable", + "underlying_type": { + "name": "String", + "type": "named" + } + } + }, + "type": { + "type": { + "name": "InvoicesType", + "type": "named" + } + } + } + }, + "GetInvoicesUpcomingScheduleDetailsPhasesItems": { + "fields": { + "billing_thresholds": { + "type": { + "type": "nullable", + "underlying_type": { + "name": "JSON", + "type": "named" + } + } + }, + "discounts": { + "type": { + "type": "nullable", + "underlying_type": { + "name": "JSON", + "type": "named" + } + } + }, + "metadata": { + "type": { + "type": "nullable", + "underlying_type": { + "name": "JSON", + "type": "named" + } + } + }, + "price": { + "type": { + "type": "nullable", + "underlying_type": { + "name": "String", + "type": "named" + } + } + }, + "price_data": { + "type": { + "type": "nullable", + "underlying_type": { + "name": "GetInvoicesUpcomingScheduleDetailsPhasesItemsPriceData", + "type": "named" + } + } + }, + "quantity": { + "type": { + "type": "nullable", + "underlying_type": { + "name": "Int32", + "type": "named" + } + } + }, + "tax_rates": { + "type": { + "type": "nullable", + "underlying_type": { + "name": "JSON", + "type": "named" + } + } + } + } + }, + "GetInvoicesUpcomingScheduleDetailsPhasesItemsPriceData": { + "fields": { + "currency": { + "type": { + "name": "String", + "type": "named" + } + }, + "product": { "type": { "name": "String", "type": "named" } + }, + "recurring": { + "type": { + "name": "GetInvoicesUpcomingScheduleDetailsPhasesItemsPriceDataRecurring", + "type": "named" + } + }, + "tax_behavior": { + "type": { + "type": "nullable", + "underlying_type": { + "name": "InvoicesTaxBehavior", + "type": "named" + } + } + }, + "unit_amount": { + "type": { + "type": "nullable", + "underlying_type": { + "name": "Int32", + "type": "named" + } + } + }, + "unit_amount_decimal": { + "type": { + "type": "nullable", + "underlying_type": { + "name": "String", + "type": "named" + } + } } } }, - "GetIssuingCardholdersResult": { + "GetInvoicesUpcomingScheduleDetailsPhasesItemsPriceDataRecurring": { + "fields": { + "interval": { + "type": { + "name": "InvoicesInterval", + "type": "named" + } + }, + "interval_count": { + "type": { + "type": "nullable", + "underlying_type": { + "name": "Int32", + "type": "named" + } + } + } + } + }, + "GetInvoicesUpcomingScheduleDetailsPhasesTransferData": { + "fields": { + "amount_percent": { + "type": { + "type": "nullable", + "underlying_type": { + "name": "Float64", + "type": "named" + } + } + }, + "destination": { + "type": { + "name": "String", + "type": "named" + } + } + } + }, + "GetInvoicesUpcomingSubscriptionDetails": { + "fields": { + "billing_cycle_anchor": { + "type": { + "type": "nullable", + "underlying_type": { + "name": "JSON", + "type": "named" + } + } + }, + "cancel_at": { + "type": { + "type": "nullable", + "underlying_type": { + "name": "JSON", + "type": "named" + } + } + }, + "cancel_at_period_end": { + "type": { + "type": "nullable", + "underlying_type": { + "name": "Boolean", + "type": "named" + } + } + }, + "cancel_now": { + "type": { + "type": "nullable", + "underlying_type": { + "name": "Boolean", + "type": "named" + } + } + }, + "default_tax_rates": { + "type": { + "type": "nullable", + "underlying_type": { + "name": "JSON", + "type": "named" + } + } + }, + "items": { + "type": { + "type": "nullable", + "underlying_type": { + "element_type": { + "name": "GetInvoicesUpcomingSubscriptionDetailsItems", + "type": "named" + }, + "type": "array" + } + } + }, + "proration_behavior": { + "type": { + "type": "nullable", + "underlying_type": { + "name": "InvoicesProrationBehavior", + "type": "named" + } + } + }, + "proration_date": { + "type": { + "type": "nullable", + "underlying_type": { + "name": "UnixTime", + "type": "named" + } + } + }, + "resume_at": { + "type": { + "type": "nullable", + "underlying_type": { + "name": "InvoicesResumeAt", + "type": "named" + } + } + }, + "start_date": { + "type": { + "type": "nullable", + "underlying_type": { + "name": "UnixTime", + "type": "named" + } + } + }, + "trial_end": { + "type": { + "type": "nullable", + "underlying_type": { + "name": "JSON", + "type": "named" + } + } + } + } + }, + "GetInvoicesUpcomingSubscriptionDetailsItems": { + "fields": { + "billing_thresholds": { + "type": { + "type": "nullable", + "underlying_type": { + "name": "JSON", + "type": "named" + } + } + }, + "clear_usage": { + "type": { + "type": "nullable", + "underlying_type": { + "name": "Boolean", + "type": "named" + } + } + }, + "deleted": { + "type": { + "type": "nullable", + "underlying_type": { + "name": "Boolean", + "type": "named" + } + } + }, + "discounts": { + "type": { + "type": "nullable", + "underlying_type": { + "name": "JSON", + "type": "named" + } + } + }, + "id": { + "type": { + "type": "nullable", + "underlying_type": { + "name": "String", + "type": "named" + } + } + }, + "metadata": { + "type": { + "type": "nullable", + "underlying_type": { + "name": "JSON", + "type": "named" + } + } + }, + "price": { + "type": { + "type": "nullable", + "underlying_type": { + "name": "String", + "type": "named" + } + } + }, + "price_data": { + "type": { + "type": "nullable", + "underlying_type": { + "name": "GetInvoicesUpcomingSubscriptionDetailsItemsPriceData", + "type": "named" + } + } + }, + "quantity": { + "type": { + "type": "nullable", + "underlying_type": { + "name": "Int32", + "type": "named" + } + } + }, + "tax_rates": { + "type": { + "type": "nullable", + "underlying_type": { + "name": "JSON", + "type": "named" + } + } + } + } + }, + "GetInvoicesUpcomingSubscriptionDetailsItemsPriceData": { + "fields": { + "currency": { + "type": { + "name": "String", + "type": "named" + } + }, + "product": { + "type": { + "name": "String", + "type": "named" + } + }, + "recurring": { + "type": { + "name": "GetInvoicesUpcomingSubscriptionDetailsItemsPriceDataRecurring", + "type": "named" + } + }, + "tax_behavior": { + "type": { + "type": "nullable", + "underlying_type": { + "name": "InvoicesTaxBehavior", + "type": "named" + } + } + }, + "unit_amount": { + "type": { + "type": "nullable", + "underlying_type": { + "name": "Int32", + "type": "named" + } + } + }, + "unit_amount_decimal": { + "type": { + "type": "nullable", + "underlying_type": { + "name": "String", + "type": "named" + } + } + } + } + }, + "GetInvoicesUpcomingSubscriptionDetailsItemsPriceDataRecurring": { + "fields": { + "interval": { + "type": { + "name": "InvoicesInterval", + "type": "named" + } + }, + "interval_count": { + "type": { + "type": "nullable", + "underlying_type": { + "name": "Int32", + "type": "named" + } + } + } + } + }, + "GetInvoicesUpcomingSubscriptionItems": { + "fields": { + "billing_thresholds": { + "type": { + "type": "nullable", + "underlying_type": { + "name": "JSON", + "type": "named" + } + } + }, + "clear_usage": { + "type": { + "type": "nullable", + "underlying_type": { + "name": "Boolean", + "type": "named" + } + } + }, + "deleted": { + "type": { + "type": "nullable", + "underlying_type": { + "name": "Boolean", + "type": "named" + } + } + }, + "discounts": { + "type": { + "type": "nullable", + "underlying_type": { + "name": "JSON", + "type": "named" + } + } + }, + "id": { + "type": { + "type": "nullable", + "underlying_type": { + "name": "String", + "type": "named" + } + } + }, + "metadata": { + "type": { + "type": "nullable", + "underlying_type": { + "name": "JSON", + "type": "named" + } + } + }, + "price": { + "type": { + "type": "nullable", + "underlying_type": { + "name": "String", + "type": "named" + } + } + }, + "price_data": { + "type": { + "type": "nullable", + "underlying_type": { + "name": "GetInvoicesUpcomingSubscriptionItemsPriceData", + "type": "named" + } + } + }, + "quantity": { + "type": { + "type": "nullable", + "underlying_type": { + "name": "Int32", + "type": "named" + } + } + }, + "tax_rates": { + "type": { + "type": "nullable", + "underlying_type": { + "name": "JSON", + "type": "named" + } + } + } + } + }, + "GetInvoicesUpcomingSubscriptionItemsPriceData": { + "fields": { + "currency": { + "type": { + "name": "String", + "type": "named" + } + }, + "product": { + "type": { + "name": "String", + "type": "named" + } + }, + "recurring": { + "type": { + "name": "GetInvoicesUpcomingSubscriptionItemsPriceDataRecurring", + "type": "named" + } + }, + "tax_behavior": { + "type": { + "type": "nullable", + "underlying_type": { + "name": "InvoicesTaxBehavior", + "type": "named" + } + } + }, + "unit_amount": { + "type": { + "type": "nullable", + "underlying_type": { + "name": "Int32", + "type": "named" + } + } + }, + "unit_amount_decimal": { + "type": { + "type": "nullable", + "underlying_type": { + "name": "String", + "type": "named" + } + } + } + } + }, + "GetInvoicesUpcomingSubscriptionItemsPriceDataRecurring": { + "fields": { + "interval": { + "type": { + "name": "InvoicesInterval", + "type": "named" + } + }, + "interval_count": { + "type": { + "type": "nullable", + "underlying_type": { + "name": "Int32", + "type": "named" + } + } + } + } + }, + "GetIssuingAuthorizationsResult": { "fields": { "data": { "type": { "element_type": { - "name": "IssuingCardholder", + "name": "IssuingAuthorization", "type": "named" }, "type": "array" @@ -43751,12 +46486,12 @@ } } }, - "GetIssuingCardsResult": { + "GetIssuingCardholdersResult": { "fields": { "data": { "type": { "element_type": { - "name": "IssuingCard", + "name": "IssuingCardholder", "type": "named" }, "type": "array" @@ -43785,12 +46520,12 @@ } } }, - "GetIssuingDisputesResult": { + "GetIssuingCardsResult": { "fields": { "data": { "type": { "element_type": { - "name": "IssuingDispute", + "name": "IssuingCard", "type": "named" }, "type": "array" @@ -43819,34 +46554,12 @@ } } }, - "GetIssuingPersonalizationDesignsPreferences": { - "fields": { - "is_default": { - "type": { - "type": "nullable", - "underlying_type": { - "name": "Boolean", - "type": "named" - } - } - }, - "is_platform_default": { - "type": { - "type": "nullable", - "underlying_type": { - "name": "Boolean", - "type": "named" - } - } - } - } - }, - "GetIssuingPersonalizationDesignsResult": { + "GetIssuingDisputesResult": { "fields": { "data": { "type": { "element_type": { - "name": "IssuingPersonalizationDesign", + "name": "IssuingDispute", "type": "named" }, "type": "array" @@ -43875,12 +46588,34 @@ } } }, - "GetIssuingPhysicalBundlesResult": { + "GetIssuingPersonalizationDesignsPreferences": { + "fields": { + "is_default": { + "type": { + "type": "nullable", + "underlying_type": { + "name": "Boolean", + "type": "named" + } + } + }, + "is_platform_default": { + "type": { + "type": "nullable", + "underlying_type": { + "name": "Boolean", + "type": "named" + } + } + } + } + }, + "GetIssuingPersonalizationDesignsResult": { "fields": { "data": { "type": { "element_type": { - "name": "IssuingPhysicalBundle", + "name": "IssuingPersonalizationDesign", "type": "named" }, "type": "array" @@ -43909,12 +46644,12 @@ } } }, - "GetIssuingSettlementsResult": { + "GetIssuingPhysicalBundlesResult": { "fields": { "data": { "type": { "element_type": { - "name": "IssuingSettlement", + "name": "IssuingPhysicalBundle", "type": "named" }, "type": "array" @@ -46809,7 +49544,7 @@ } }, "attempt_count": { - "description": "Number of payment attempts made for this invoice, from the perspective of the payment retry schedule. Any payment attempt counts as the first attempt, and subsequently only automatic retries increment the attempt count. In other words, manual payment attempts after the first attempt do not affect the retry schedule.", + "description": "Number of payment attempts made for this invoice, from the perspective of the payment retry schedule. Any payment attempt counts as the first attempt, and subsequently only automatic retries increment the attempt count. In other words, manual payment attempts after the first attempt do not affect the retry schedule. If a failure is returned with a non-retryable return code, the invoice can no longer be retried unless a new payment method is obtained. Retries will continue to be scheduled, and attempt_count will continue to increment, but retries will only be executed if a new payment method is obtained.", "type": { "name": "Int32", "type": "named" @@ -47228,14 +49963,14 @@ } }, "period_end": { - "description": "End of the usage period during which invoice items were added to this invoice.", + "description": "End of the usage period during which invoice items were added to this invoice. This looks back one period for a subscription invoice. Use the [line item period](/api/invoices/line_item#invoice_line_item_object-period) to get the service period for each price.", "type": { "name": "UnixTime", "type": "named" } }, "period_start": { - "description": "Start of the usage period during which invoice items were added to this invoice.", + "description": "Start of the usage period during which invoice items were added to this invoice. This looks back one period for a subscription invoice. Use the [line item period](/api/invoices/line_item#invoice_line_item_object-period) to get the service period for each price.", "type": { "name": "UnixTime", "type": "named" @@ -47807,6 +50542,20 @@ } } }, + "InvoiceSettingCustomerRenderingOptions": { + "fields": { + "amount_tax_display": { + "description": "How line-item prices and amounts will be displayed with respect to tax on invoice PDFs.", + "type": { + "type": "nullable", + "underlying_type": { + "name": "String", + "type": "named" + } + } + } + } + }, "InvoiceSettingCustomerSetting": { "fields": { "custom_fields": { @@ -47846,7 +50595,7 @@ "type": { "type": "nullable", "underlying_type": { - "name": "InvoiceSettingRenderingOptions", + "name": "InvoiceSettingCustomerRenderingOptions", "type": "named" } } @@ -50435,6 +53184,15 @@ } } }, + "no_valid_authorization": { + "type": { + "type": "nullable", + "underlying_type": { + "name": "IssuingDisputeNoValidAuthorizationEvidence", + "type": "named" + } + } + }, "not_received": { "type": { "type": "nullable", @@ -50559,6 +53317,30 @@ } } }, + "IssuingDisputeNoValidAuthorizationEvidence": { + "fields": { + "additional_documentation": { + "description": "(ID of a [file upload](https://stripe.com/docs/guides/file-upload)) Additional documentation supporting the dispute.", + "type": { + "type": "nullable", + "underlying_type": { + "name": "JSON", + "type": "named" + } + } + }, + "explanation": { + "description": "Explanation of why the cardholder is disputing this transaction.", + "type": { + "type": "nullable", + "underlying_type": { + "name": "String", + "type": "named" + } + } + } + } + }, "IssuingDisputeNotReceivedEvidence": { "fields": { "additional_documentation": { @@ -51877,7 +54659,7 @@ } }, "unit": { - "description": "The units for `volume_decimal`. One of `us_gallon` or `liter`.", + "description": "The units for `volume_decimal`. One of `liter`, `us_gallon`, or `other`.", "type": { "name": "String", "type": "named" @@ -52757,7 +55539,7 @@ } }, "metadata": { - "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. Note that for line items with `type=subscription` this will reflect the metadata of the subscription that caused the line item to be created.", + "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. Note that for line items with `type=subscription`, `metadata` reflects the current metadata from the subscription associated with the line item, unless the invoice line was directly updated with different metadata after creation.", "type": { "name": "JSON", "type": "named" @@ -52971,7 +55753,7 @@ } }, "LoginLink": { - "description": "Login Links are single-use login link for an Express account to access their Stripe dashboard.", + "description": "Login Links are single-use URLs for a connected account to access the Express Dashboard. The connected account's [account.controller.stripe_dashboard.type](/api/accounts/object#account_object-controller-stripe_dashboard-type) must be `express` to have access to the Express Dashboard.", "fields": { "created": { "description": "Time at which the object was created. Measured in seconds since the Unix epoch.", @@ -53181,6 +55963,15 @@ } } }, + "amazon_pay": { + "type": { + "type": "nullable", + "underlying_type": { + "name": "MandateAmazonPay", + "type": "named" + } + } + }, "au_becs_debit": { "type": { "type": "nullable", @@ -53235,6 +56026,15 @@ } } }, + "revolut_pay": { + "type": { + "type": "nullable", + "underlying_type": { + "name": "MandateRevolutPay", + "type": "named" + } + } + }, "sepa_debit": { "type": { "type": "nullable", @@ -56987,6 +59787,16 @@ } } }, + "allow_redisplay": { + "description": "This field indicates whether this payment method can be shown again to its customer in a checkout flow. Stripe products such as Checkout and Elements use this field to determine whether a payment method can be shown as a saved payment method in a checkout flow. The field defaults to “unspecified”.", + "type": { + "type": "nullable", + "underlying_type": { + "name": "PaymentMethodAllowRedisplay", + "type": "named" + } + } + }, "amazon_pay": { "type": { "type": "nullable", @@ -57755,6 +60565,19 @@ } } }, + "preferred_locales": { + "description": "EMV tag 5F2D. Preferred languages specified by the integrated circuit chip.", + "type": { + "type": "nullable", + "underlying_type": { + "element_type": { + "name": "String", + "type": "named" + }, + "type": "array" + } + } + }, "read_method": { "description": "How card details were read in this transaction.", "type": { @@ -58315,6 +61138,15 @@ "type": "named" } }, + "mobilepay": { + "type": { + "type": "nullable", + "underlying_type": { + "name": "PaymentMethodConfigResourcePaymentMethodProperties", + "type": "named" + } + } + }, "name": { "description": "The configuration's name.", "type": { @@ -58411,6 +61243,15 @@ } } }, + "swish": { + "type": { + "type": "nullable", + "underlying_type": { + "name": "PaymentMethodConfigResourcePaymentMethodProperties", + "type": "named" + } + } + }, "us_bank_account": { "type": { "type": "nullable", @@ -59635,6 +62476,19 @@ "type": "named" } }, + "preferred_locales": { + "description": "EMV tag 5F2D. Preferred languages specified by the integrated circuit chip.", + "type": { + "type": "nullable", + "underlying_type": { + "element_type": { + "name": "String", + "type": "named" + }, + "type": "array" + } + } + }, "read_method": { "description": "How card details were read in this transaction.", "type": { @@ -61285,6 +64139,16 @@ "type": "named" } } + }, + "setup_future_usage": { + "description": "Indicates that you intend to make future payments with this PaymentIntent's payment method.\n\nProviding this parameter will [attach the payment method](https://stripe.com/docs/payments/save-during-payment) to the PaymentIntent's Customer, if present, after the PaymentIntent is confirmed and any required actions from the user are complete. If no Customer was provided, the payment method can still be [attached](https://stripe.com/docs/api/payment_methods/attach) to a Customer after the transaction completes.\n\nWhen processing card payments, Stripe also uses `setup_future_usage` to dynamically optimize your payment flow and comply with regional legislation and network rules, such as [SCA](https://stripe.com/docs/strong-customer-authentication).", + "type": { + "type": "nullable", + "underlying_type": { + "name": "PaymentMethodOptionsAmazonPaySetupFutureUsage", + "type": "named" + } + } } } }, @@ -61883,6 +64747,16 @@ "type": "named" } } + }, + "setup_future_usage": { + "description": "Indicates that you intend to make future payments with this PaymentIntent's payment method.\n\nProviding this parameter will [attach the payment method](https://stripe.com/docs/payments/save-during-payment) to the PaymentIntent's Customer, if present, after the PaymentIntent is confirmed and any required actions from the user are complete. If no Customer was provided, the payment method can still be [attached](https://stripe.com/docs/api/payment_methods/attach) to a Customer after the transaction completes.\n\nWhen processing card payments, Stripe also uses `setup_future_usage` to dynamically optimize your payment flow and comply with regional legislation and network rules, such as [SCA](https://stripe.com/docs/strong-customer-authentication).", + "type": { + "type": "nullable", + "underlying_type": { + "name": "PaymentMethodOptionsRevolutPaySetupFutureUsage", + "type": "named" + } + } } } }, @@ -62809,6 +65683,33 @@ } } }, + "PaymentPagesCheckoutSessionSavedPaymentMethodOptions": { + "fields": { + "allow_redisplay_filters": { + "description": "Controls which payment methods are eligible to be redisplayed to returning customers. Corresponds to `allow_redisplay` on the payment method.", + "type": { + "type": "nullable", + "underlying_type": { + "element_type": { + "name": "PaymentPagesCheckoutSessionSavedPaymentMethodOptionsAllowRedisplayFilters", + "type": "named" + }, + "type": "array" + } + } + }, + "payment_method_save": { + "description": "Enable customers to choose if they wish to save their payment method for future use. Disabled by default.", + "type": { + "type": "nullable", + "underlying_type": { + "name": "PaymentPagesCheckoutSessionSavedPaymentMethodOptionsPaymentMethodSave", + "type": "named" + } + } + } + } + }, "PaymentPagesCheckoutSessionShippingAddressCollection": { "fields": { "allowed_countries": { @@ -63227,7 +66128,7 @@ } }, "Person": { - "description": "This is an object representing a person associated with a Stripe account.\n\nA platform cannot access a Standard or Express account's persons after the account starts onboarding, such as after generating an account link for the account.\nSee the [Standard onboarding](https://stripe.com/docs/connect/standard-accounts) or [Express onboarding documentation](https://stripe.com/docs/connect/express-accounts) for information about platform prefilling and account onboarding steps.\n\nRelated guide: [Handling identity verification with the API](https://stripe.com/docs/connect/handling-api-verification#person-information)", + "description": "This is an object representing a person associated with a Stripe account.\n\nA platform cannot access a person for an account where [account.controller.requirement_collection](/api/accounts/object#account_object-controller-requirement_collection) is `stripe`, which includes Standard and Express accounts, after creating an Account Link or Account Session to start Connect onboarding.\n\nSee the [Standard onboarding](/connect/standard-accounts) or [Express onboarding](/connect/express-accounts) documentation for information about prefilling information and account onboarding steps. Learn more about [handling identity verification with the API](/connect/handling-api-verification#person-information).", "fields": { "account": { "description": "The account the person is associated with.", @@ -64593,6 +67494,15 @@ } } }, + "balances": { + "type": { + "type": "nullable", + "underlying_type": { + "name": "PostAccountSessionsBodyComponentsBalances", + "type": "named" + } + } + }, "documents": { "type": { "type": "nullable", @@ -64637,6 +67547,15 @@ "type": "named" } } + }, + "payouts_list": { + "type": { + "type": "nullable", + "underlying_type": { + "name": "PostAccountSessionsBodyComponentsPayoutsList", + "type": "named" + } + } } } }, @@ -64704,6 +67623,56 @@ } } }, + "PostAccountSessionsBodyComponentsBalances": { + "fields": { + "enabled": { + "type": { + "name": "Boolean", + "type": "named" + } + }, + "features": { + "type": { + "type": "nullable", + "underlying_type": { + "name": "PostAccountSessionsBodyComponentsBalancesFeatures", + "type": "named" + } + } + } + } + }, + "PostAccountSessionsBodyComponentsBalancesFeatures": { + "fields": { + "edit_payout_schedule": { + "type": { + "type": "nullable", + "underlying_type": { + "name": "Boolean", + "type": "named" + } + } + }, + "instant_payouts": { + "type": { + "type": "nullable", + "underlying_type": { + "name": "Boolean", + "type": "named" + } + } + }, + "standard_payouts": { + "type": { + "type": "nullable", + "underlying_type": { + "name": "Boolean", + "type": "named" + } + } + } + } + }, "PostAccountSessionsBodyComponentsDocuments": { "fields": { "enabled": { @@ -64914,6 +67883,16 @@ } } }, + "PostAccountSessionsBodyComponentsPayoutsList": { + "fields": { + "enabled": { + "type": { + "name": "Boolean", + "type": "named" + } + } + } + }, "PostAccountsAccountBankAccountsIdBodyDocuments": { "description": "Documents that may be submitted to satisfy various informational requests.", "fields": { @@ -65145,7 +68124,7 @@ } }, "PostAccountsAccountBodyCapabilities": { - "description": "Each key of the dictionary represents a capability, and each capability maps to its settings (e.g. whether it has been requested or not). Each capability will be inactive until you have provided its specific requirements and Stripe has verified them. An account may have some of its requested capabilities be active and some be inactive.", + "description": "Each key of the dictionary represents a capability, and each capability\nmaps to its settings (for example, whether it has been requested or not). Each\ncapability is inactive until you have provided its specific\nrequirements and Stripe has verified them. An account might have some\nof its requested capabilities be active and some be inactive.\n\nRequired when [account.controller.stripe_dashboard.type](/api/accounts/create#create_account-controller-dashboard-type)\nis `none`, which includes Custom accounts.", "fields": { "acss_debit_payments": { "type": { @@ -66030,7 +69009,7 @@ } }, "PostAccountsAccountBodyCompany": { - "description": "Information about the company or business. This field is available for any `business_type`. Once you create an [Account Link](https://docs.stripe.com/api/account_links) or [Account Session](https://docs.stripe.com/api/account_sessions), this property can only be updated for Custom accounts.", + "description": "Information about the company or business. This field is available for any `business_type`. Once you create an [Account Link](/api/account_links) or [Account Session](/api/account_sessions), this property can only be updated for accounts where [controller.requirement_collection](/api/accounts/object#account_object-controller-requirement_collection) is `application`, which includes Custom accounts.", "fields": { "address": { "type": { @@ -66644,7 +69623,7 @@ } }, "PostAccountsAccountBodyIndividual": { - "description": "Information about the person represented by the account. This field is null unless `business_type` is set to `individual`. Once you create an [Account Link](https://docs.stripe.com/api/account_links) or [Account Session](https://docs.stripe.com/api/account_sessions), this property can only be updated for Custom accounts.", + "description": "Information about the person represented by the account. This field is null unless `business_type` is set to `individual`. Once you create an [Account Link](/api/account_links) or [Account Session](/api/account_sessions), this property can only be updated for accounts where [controller.requirement_collection](/api/accounts/object#account_object-controller-requirement_collection) is `application`, which includes Custom accounts.", "fields": { "address": { "type": { @@ -67105,7 +70084,968 @@ } } }, - "PostAccountsAccountBodyIndividualRelationship": { + "PostAccountsAccountBodyIndividualRelationship": { + "fields": { + "director": { + "type": { + "type": "nullable", + "underlying_type": { + "name": "Boolean", + "type": "named" + } + } + }, + "executive": { + "type": { + "type": "nullable", + "underlying_type": { + "name": "Boolean", + "type": "named" + } + } + }, + "owner": { + "type": { + "type": "nullable", + "underlying_type": { + "name": "Boolean", + "type": "named" + } + } + }, + "percent_ownership": { + "type": { + "type": "nullable", + "underlying_type": { + "name": "JSON", + "type": "named" + } + } + }, + "title": { + "type": { + "type": "nullable", + "underlying_type": { + "name": "String", + "type": "named" + } + } + } + } + }, + "PostAccountsAccountBodyIndividualVerification": { + "fields": { + "additional_document": { + "type": { + "type": "nullable", + "underlying_type": { + "name": "PostAccountsAccountBodyIndividualVerificationAdditionalDocument", + "type": "named" + } + } + }, + "document": { + "type": { + "type": "nullable", + "underlying_type": { + "name": "PostAccountsAccountBodyIndividualVerificationDocument", + "type": "named" + } + } + } + } + }, + "PostAccountsAccountBodyIndividualVerificationAdditionalDocument": { + "fields": { + "back": { + "type": { + "type": "nullable", + "underlying_type": { + "name": "String", + "type": "named" + } + } + }, + "front": { + "type": { + "type": "nullable", + "underlying_type": { + "name": "String", + "type": "named" + } + } + } + } + }, + "PostAccountsAccountBodyIndividualVerificationDocument": { + "fields": { + "back": { + "type": { + "type": "nullable", + "underlying_type": { + "name": "String", + "type": "named" + } + } + }, + "front": { + "type": { + "type": "nullable", + "underlying_type": { + "name": "String", + "type": "named" + } + } + } + } + }, + "PostAccountsAccountBodySettings": { + "description": "Options for customizing how the account functions within Stripe.", + "fields": { + "bacs_debit_payments": { + "type": { + "type": "nullable", + "underlying_type": { + "name": "PostAccountsAccountBodySettingsBacsDebitPayments", + "type": "named" + } + } + }, + "branding": { + "type": { + "type": "nullable", + "underlying_type": { + "name": "PostAccountsAccountBodySettingsBranding", + "type": "named" + } + } + }, + "card_issuing": { + "type": { + "type": "nullable", + "underlying_type": { + "name": "PostAccountsAccountBodySettingsCardIssuing", + "type": "named" + } + } + }, + "card_payments": { + "type": { + "type": "nullable", + "underlying_type": { + "name": "PostAccountsAccountBodySettingsCardPayments", + "type": "named" + } + } + }, + "invoices": { + "type": { + "type": "nullable", + "underlying_type": { + "name": "PostAccountsAccountBodySettingsInvoices", + "type": "named" + } + } + }, + "payments": { + "type": { + "type": "nullable", + "underlying_type": { + "name": "PostAccountsAccountBodySettingsPayments", + "type": "named" + } + } + }, + "payouts": { + "type": { + "type": "nullable", + "underlying_type": { + "name": "PostAccountsAccountBodySettingsPayouts", + "type": "named" + } + } + }, + "treasury": { + "type": { + "type": "nullable", + "underlying_type": { + "name": "PostAccountsAccountBodySettingsTreasury", + "type": "named" + } + } + } + } + }, + "PostAccountsAccountBodySettingsBacsDebitPayments": { + "fields": { + "display_name": { + "type": { + "type": "nullable", + "underlying_type": { + "name": "String", + "type": "named" + } + } + } + } + }, + "PostAccountsAccountBodySettingsBranding": { + "fields": { + "icon": { + "type": { + "type": "nullable", + "underlying_type": { + "name": "String", + "type": "named" + } + } + }, + "logo": { + "type": { + "type": "nullable", + "underlying_type": { + "name": "String", + "type": "named" + } + } + }, + "primary_color": { + "type": { + "type": "nullable", + "underlying_type": { + "name": "String", + "type": "named" + } + } + }, + "secondary_color": { + "type": { + "type": "nullable", + "underlying_type": { + "name": "String", + "type": "named" + } + } + } + } + }, + "PostAccountsAccountBodySettingsCardIssuing": { + "fields": { + "tos_acceptance": { + "type": { + "type": "nullable", + "underlying_type": { + "name": "PostAccountsAccountBodySettingsCardIssuingTosAcceptance", + "type": "named" + } + } + } + } + }, + "PostAccountsAccountBodySettingsCardIssuingTosAcceptance": { + "fields": { + "date": { + "type": { + "type": "nullable", + "underlying_type": { + "name": "UnixTime", + "type": "named" + } + } + }, + "ip": { + "type": { + "type": "nullable", + "underlying_type": { + "name": "String", + "type": "named" + } + } + }, + "user_agent": { + "type": { + "type": "nullable", + "underlying_type": { + "name": "JSON", + "type": "named" + } + } + } + } + }, + "PostAccountsAccountBodySettingsCardPayments": { + "fields": { + "decline_on": { + "type": { + "type": "nullable", + "underlying_type": { + "name": "PostAccountsAccountBodySettingsCardPaymentsDeclineOn", + "type": "named" + } + } + }, + "statement_descriptor_prefix": { + "type": { + "type": "nullable", + "underlying_type": { + "name": "String", + "type": "named" + } + } + }, + "statement_descriptor_prefix_kana": { + "type": { + "type": "nullable", + "underlying_type": { + "name": "JSON", + "type": "named" + } + } + }, + "statement_descriptor_prefix_kanji": { + "type": { + "type": "nullable", + "underlying_type": { + "name": "JSON", + "type": "named" + } + } + } + } + }, + "PostAccountsAccountBodySettingsCardPaymentsDeclineOn": { + "fields": { + "avs_failure": { + "type": { + "type": "nullable", + "underlying_type": { + "name": "Boolean", + "type": "named" + } + } + }, + "cvc_failure": { + "type": { + "type": "nullable", + "underlying_type": { + "name": "Boolean", + "type": "named" + } + } + } + } + }, + "PostAccountsAccountBodySettingsInvoices": { + "fields": { + "default_account_tax_ids": { + "type": { + "type": "nullable", + "underlying_type": { + "name": "JSON", + "type": "named" + } + } + } + } + }, + "PostAccountsAccountBodySettingsPayments": { + "fields": { + "statement_descriptor": { + "type": { + "type": "nullable", + "underlying_type": { + "name": "String", + "type": "named" + } + } + }, + "statement_descriptor_kana": { + "type": { + "type": "nullable", + "underlying_type": { + "name": "String", + "type": "named" + } + } + }, + "statement_descriptor_kanji": { + "type": { + "type": "nullable", + "underlying_type": { + "name": "String", + "type": "named" + } + } + } + } + }, + "PostAccountsAccountBodySettingsPayouts": { + "fields": { + "debit_negative_balances": { + "type": { + "type": "nullable", + "underlying_type": { + "name": "Boolean", + "type": "named" + } + } + }, + "schedule": { + "type": { + "type": "nullable", + "underlying_type": { + "name": "PostAccountsAccountBodySettingsPayoutsSchedule", + "type": "named" + } + } + }, + "statement_descriptor": { + "type": { + "type": "nullable", + "underlying_type": { + "name": "String", + "type": "named" + } + } + } + } + }, + "PostAccountsAccountBodySettingsPayoutsSchedule": { + "fields": { + "delay_days": { + "type": { + "type": "nullable", + "underlying_type": { + "name": "JSON", + "type": "named" + } + } + }, + "interval": { + "type": { + "type": "nullable", + "underlying_type": { + "name": "AccountsInterval", + "type": "named" + } + } + }, + "monthly_anchor": { + "type": { + "type": "nullable", + "underlying_type": { + "name": "Int32", + "type": "named" + } + } + }, + "weekly_anchor": { + "type": { + "type": "nullable", + "underlying_type": { + "name": "AccountsWeeklyAnchor", + "type": "named" + } + } + } + } + }, + "PostAccountsAccountBodySettingsTreasury": { + "fields": { + "tos_acceptance": { + "type": { + "type": "nullable", + "underlying_type": { + "name": "PostAccountsAccountBodySettingsTreasuryTosAcceptance", + "type": "named" + } + } + } + } + }, + "PostAccountsAccountBodySettingsTreasuryTosAcceptance": { + "fields": { + "date": { + "type": { + "type": "nullable", + "underlying_type": { + "name": "UnixTime", + "type": "named" + } + } + }, + "ip": { + "type": { + "type": "nullable", + "underlying_type": { + "name": "String", + "type": "named" + } + } + }, + "user_agent": { + "type": { + "type": "nullable", + "underlying_type": { + "name": "JSON", + "type": "named" + } + } + } + } + }, + "PostAccountsAccountBodyTosAcceptance": { + "description": "Details on the account's acceptance of the [Stripe Services Agreement](/connect/updating-accounts#tos-acceptance). This property can only be updated for accounts where [controller.requirement_collection](/api/accounts/object#account_object-controller-requirement_collection) is `application`, which includes Custom accounts.", + "fields": { + "date": { + "type": { + "type": "nullable", + "underlying_type": { + "name": "UnixTime", + "type": "named" + } + } + }, + "ip": { + "type": { + "type": "nullable", + "underlying_type": { + "name": "String", + "type": "named" + } + } + }, + "service_agreement": { + "type": { + "type": "nullable", + "underlying_type": { + "name": "String", + "type": "named" + } + } + }, + "user_agent": { + "type": { + "type": "nullable", + "underlying_type": { + "name": "String", + "type": "named" + } + } + } + } + }, + "PostAccountsAccountExternalAccountsIdBodyDocuments": { + "description": "Documents that may be submitted to satisfy various informational requests.", + "fields": { + "bank_account_ownership_verification": { + "type": { + "type": "nullable", + "underlying_type": { + "name": "PostAccountsAccountExternalAccountsIdBodyDocumentsBankAccountOwnershipVerification", + "type": "named" + } + } + } + } + }, + "PostAccountsAccountExternalAccountsIdBodyDocumentsBankAccountOwnershipVerification": { + "fields": { + "files": { + "type": { + "type": "nullable", + "underlying_type": { + "element_type": { + "name": "String", + "type": "named" + }, + "type": "array" + } + } + } + } + }, + "PostAccountsAccountPeopleBodyAdditionalTosAcceptances": { + "description": "Details on the legal guardian's acceptance of the required Stripe agreements.", + "fields": { + "account": { + "type": { + "type": "nullable", + "underlying_type": { + "name": "PostAccountsAccountPeopleBodyAdditionalTosAcceptancesAccount", + "type": "named" + } + } + } + } + }, + "PostAccountsAccountPeopleBodyAdditionalTosAcceptancesAccount": { + "fields": { + "date": { + "type": { + "type": "nullable", + "underlying_type": { + "name": "UnixTime", + "type": "named" + } + } + }, + "ip": { + "type": { + "type": "nullable", + "underlying_type": { + "name": "String", + "type": "named" + } + } + }, + "user_agent": { + "type": { + "type": "nullable", + "underlying_type": { + "name": "JSON", + "type": "named" + } + } + } + } + }, + "PostAccountsAccountPeopleBodyAddress": { + "description": "The person's address.", + "fields": { + "city": { + "type": { + "type": "nullable", + "underlying_type": { + "name": "String", + "type": "named" + } + } + }, + "country": { + "type": { + "type": "nullable", + "underlying_type": { + "name": "String", + "type": "named" + } + } + }, + "line1": { + "type": { + "type": "nullable", + "underlying_type": { + "name": "String", + "type": "named" + } + } + }, + "line2": { + "type": { + "type": "nullable", + "underlying_type": { + "name": "String", + "type": "named" + } + } + }, + "postal_code": { + "type": { + "type": "nullable", + "underlying_type": { + "name": "String", + "type": "named" + } + } + }, + "state": { + "type": { + "type": "nullable", + "underlying_type": { + "name": "String", + "type": "named" + } + } + } + } + }, + "PostAccountsAccountPeopleBodyAddressKana": { + "description": "The Kana variation of the person's address (Japan only).", + "fields": { + "city": { + "type": { + "type": "nullable", + "underlying_type": { + "name": "String", + "type": "named" + } + } + }, + "country": { + "type": { + "type": "nullable", + "underlying_type": { + "name": "String", + "type": "named" + } + } + }, + "line1": { + "type": { + "type": "nullable", + "underlying_type": { + "name": "String", + "type": "named" + } + } + }, + "line2": { + "type": { + "type": "nullable", + "underlying_type": { + "name": "String", + "type": "named" + } + } + }, + "postal_code": { + "type": { + "type": "nullable", + "underlying_type": { + "name": "String", + "type": "named" + } + } + }, + "state": { + "type": { + "type": "nullable", + "underlying_type": { + "name": "String", + "type": "named" + } + } + }, + "town": { + "type": { + "type": "nullable", + "underlying_type": { + "name": "String", + "type": "named" + } + } + } + } + }, + "PostAccountsAccountPeopleBodyAddressKanji": { + "description": "The Kanji variation of the person's address (Japan only).", + "fields": { + "city": { + "type": { + "type": "nullable", + "underlying_type": { + "name": "String", + "type": "named" + } + } + }, + "country": { + "type": { + "type": "nullable", + "underlying_type": { + "name": "String", + "type": "named" + } + } + }, + "line1": { + "type": { + "type": "nullable", + "underlying_type": { + "name": "String", + "type": "named" + } + } + }, + "line2": { + "type": { + "type": "nullable", + "underlying_type": { + "name": "String", + "type": "named" + } + } + }, + "postal_code": { + "type": { + "type": "nullable", + "underlying_type": { + "name": "String", + "type": "named" + } + } + }, + "state": { + "type": { + "type": "nullable", + "underlying_type": { + "name": "String", + "type": "named" + } + } + }, + "town": { + "type": { + "type": "nullable", + "underlying_type": { + "name": "String", + "type": "named" + } + } + } + } + }, + "PostAccountsAccountPeopleBodyDocuments": { + "description": "Documents that may be submitted to satisfy various informational requests.", + "fields": { + "company_authorization": { + "type": { + "type": "nullable", + "underlying_type": { + "name": "PostAccountsAccountPeopleBodyDocumentsCompanyAuthorization", + "type": "named" + } + } + }, + "passport": { + "type": { + "type": "nullable", + "underlying_type": { + "name": "PostAccountsAccountPeopleBodyDocumentsPassport", + "type": "named" + } + } + }, + "visa": { + "type": { + "type": "nullable", + "underlying_type": { + "name": "PostAccountsAccountPeopleBodyDocumentsVisa", + "type": "named" + } + } + } + } + }, + "PostAccountsAccountPeopleBodyDocumentsCompanyAuthorization": { + "fields": { + "files": { + "type": { + "type": "nullable", + "underlying_type": { + "element_type": { + "name": "JSON", + "type": "named" + }, + "type": "array" + } + } + } + } + }, + "PostAccountsAccountPeopleBodyDocumentsPassport": { + "fields": { + "files": { + "type": { + "type": "nullable", + "underlying_type": { + "element_type": { + "name": "JSON", + "type": "named" + }, + "type": "array" + } + } + } + } + }, + "PostAccountsAccountPeopleBodyDocumentsVisa": { + "fields": { + "files": { + "type": { + "type": "nullable", + "underlying_type": { + "element_type": { + "name": "JSON", + "type": "named" + }, + "type": "array" + } + } + } + } + }, + "PostAccountsAccountPeopleBodyRegisteredAddress": { + "description": "The person's registered address.", + "fields": { + "city": { + "type": { + "type": "nullable", + "underlying_type": { + "name": "String", + "type": "named" + } + } + }, + "country": { + "type": { + "type": "nullable", + "underlying_type": { + "name": "String", + "type": "named" + } + } + }, + "line1": { + "type": { + "type": "nullable", + "underlying_type": { + "name": "String", + "type": "named" + } + } + }, + "line2": { + "type": { + "type": "nullable", + "underlying_type": { + "name": "String", + "type": "named" + } + } + }, + "postal_code": { + "type": { + "type": "nullable", + "underlying_type": { + "name": "String", + "type": "named" + } + } + }, + "state": { + "type": { + "type": "nullable", + "underlying_type": { + "name": "String", + "type": "named" + } + } + } + } + }, + "PostAccountsAccountPeopleBodyRelationship": { + "description": "The relationship that this person has with the account's legal entity.", "fields": { "director": { "type": { @@ -67125,6 +71065,15 @@ } } }, + "legal_guardian": { + "type": { + "type": "nullable", + "underlying_type": { + "name": "Boolean", + "type": "named" + } + } + }, "owner": { "type": { "type": "nullable", @@ -67143,6 +71092,15 @@ } } }, + "representative": { + "type": { + "type": "nullable", + "underlying_type": { + "name": "Boolean", + "type": "named" + } + } + }, "title": { "type": { "type": "nullable", @@ -67154,13 +71112,14 @@ } } }, - "PostAccountsAccountBodyIndividualVerification": { + "PostAccountsAccountPeopleBodyVerification": { + "description": "The person's verification status.", "fields": { "additional_document": { "type": { "type": "nullable", "underlying_type": { - "name": "PostAccountsAccountBodyIndividualVerificationAdditionalDocument", + "name": "PostAccountsAccountPeopleBodyVerificationAdditionalDocument", "type": "named" } } @@ -67169,14 +71128,14 @@ "type": { "type": "nullable", "underlying_type": { - "name": "PostAccountsAccountBodyIndividualVerificationDocument", + "name": "PostAccountsAccountPeopleBodyVerificationDocument", "type": "named" } } } } }, - "PostAccountsAccountBodyIndividualVerificationAdditionalDocument": { + "PostAccountsAccountPeopleBodyVerificationAdditionalDocument": { "fields": { "back": { "type": { @@ -67198,7 +71157,7 @@ } } }, - "PostAccountsAccountBodyIndividualVerificationDocument": { + "PostAccountsAccountPeopleBodyVerificationDocument": { "fields": { "back": { "type": { @@ -67220,86 +71179,114 @@ } } }, - "PostAccountsAccountBodySettings": { - "description": "Options for customizing how the account functions within Stripe.", + "PostAccountsAccountPeoplePersonBodyAdditionalTosAcceptances": { + "description": "Details on the legal guardian's acceptance of the required Stripe agreements.", "fields": { - "bacs_debit_payments": { + "account": { "type": { "type": "nullable", "underlying_type": { - "name": "PostAccountsAccountBodySettingsBacsDebitPayments", + "name": "PostAccountsAccountPeoplePersonBodyAdditionalTosAcceptancesAccount", + "type": "named" + } + } + } + } + }, + "PostAccountsAccountPeoplePersonBodyAdditionalTosAcceptancesAccount": { + "fields": { + "date": { + "type": { + "type": "nullable", + "underlying_type": { + "name": "UnixTime", "type": "named" } } }, - "branding": { + "ip": { "type": { "type": "nullable", "underlying_type": { - "name": "PostAccountsAccountBodySettingsBranding", + "name": "String", "type": "named" } } }, - "card_issuing": { + "user_agent": { "type": { "type": "nullable", "underlying_type": { - "name": "PostAccountsAccountBodySettingsCardIssuing", + "name": "JSON", + "type": "named" + } + } + } + } + }, + "PostAccountsAccountPeoplePersonBodyAddress": { + "description": "The person's address.", + "fields": { + "city": { + "type": { + "type": "nullable", + "underlying_type": { + "name": "String", "type": "named" } } }, - "card_payments": { + "country": { "type": { "type": "nullable", "underlying_type": { - "name": "PostAccountsAccountBodySettingsCardPayments", + "name": "String", "type": "named" } } }, - "invoices": { + "line1": { "type": { "type": "nullable", "underlying_type": { - "name": "PostAccountsAccountBodySettingsInvoices", + "name": "String", "type": "named" } } }, - "payments": { + "line2": { "type": { "type": "nullable", "underlying_type": { - "name": "PostAccountsAccountBodySettingsPayments", + "name": "String", "type": "named" } } }, - "payouts": { + "postal_code": { "type": { "type": "nullable", "underlying_type": { - "name": "PostAccountsAccountBodySettingsPayouts", + "name": "String", "type": "named" } } }, - "treasury": { + "state": { "type": { "type": "nullable", "underlying_type": { - "name": "PostAccountsAccountBodySettingsTreasury", + "name": "String", "type": "named" } } } } }, - "PostAccountsAccountBodySettingsBacsDebitPayments": { + "PostAccountsAccountPeoplePersonBodyAddressKana": { + "description": "The Kana variation of the person's address (Japan only).", "fields": { - "display_name": { + "city": { "type": { "type": "nullable", "underlying_type": { @@ -67307,12 +71294,8 @@ "type": "named" } } - } - } - }, - "PostAccountsAccountBodySettingsBranding": { - "fields": { - "icon": { + }, + "country": { "type": { "type": "nullable", "underlying_type": { @@ -67321,7 +71304,7 @@ } } }, - "logo": { + "line1": { "type": { "type": "nullable", "underlying_type": { @@ -67330,7 +71313,7 @@ } } }, - "primary_color": { + "line2": { "type": { "type": "nullable", "underlying_type": { @@ -67339,7 +71322,7 @@ } } }, - "secondary_color": { + "postal_code": { "type": { "type": "nullable", "underlying_type": { @@ -67347,34 +71330,40 @@ "type": "named" } } - } - } - }, - "PostAccountsAccountBodySettingsCardIssuing": { - "fields": { - "tos_acceptance": { + }, + "state": { "type": { "type": "nullable", "underlying_type": { - "name": "PostAccountsAccountBodySettingsCardIssuingTosAcceptance", + "name": "String", + "type": "named" + } + } + }, + "town": { + "type": { + "type": "nullable", + "underlying_type": { + "name": "String", "type": "named" } } } } }, - "PostAccountsAccountBodySettingsCardIssuingTosAcceptance": { + "PostAccountsAccountPeoplePersonBodyAddressKanji": { + "description": "The Kanji variation of the person's address (Japan only).", "fields": { - "date": { + "city": { "type": { "type": "nullable", "underlying_type": { - "name": "UnixTime", + "name": "String", "type": "named" } } }, - "ip": { + "country": { "type": { "type": "nullable", "underlying_type": { @@ -67383,29 +71372,25 @@ } } }, - "user_agent": { + "line1": { "type": { "type": "nullable", "underlying_type": { - "name": "JSON", + "name": "String", "type": "named" } } - } - } - }, - "PostAccountsAccountBodySettingsCardPayments": { - "fields": { - "decline_on": { + }, + "line2": { "type": { "type": "nullable", "underlying_type": { - "name": "PostAccountsAccountBodySettingsCardPaymentsDeclineOn", + "name": "String", "type": "named" } } }, - "statement_descriptor_prefix": { + "postal_code": { "type": { "type": "nullable", "underlying_type": { @@ -67414,64 +71399,110 @@ } } }, - "statement_descriptor_prefix_kana": { + "state": { "type": { "type": "nullable", "underlying_type": { - "name": "JSON", + "name": "String", "type": "named" } } }, - "statement_descriptor_prefix_kanji": { + "town": { "type": { "type": "nullable", "underlying_type": { - "name": "JSON", + "name": "String", "type": "named" } } } } }, - "PostAccountsAccountBodySettingsCardPaymentsDeclineOn": { + "PostAccountsAccountPeoplePersonBodyDocuments": { + "description": "Documents that may be submitted to satisfy various informational requests.", "fields": { - "avs_failure": { + "company_authorization": { "type": { "type": "nullable", "underlying_type": { - "name": "Boolean", + "name": "PostAccountsAccountPeoplePersonBodyDocumentsCompanyAuthorization", "type": "named" } } }, - "cvc_failure": { + "passport": { "type": { "type": "nullable", "underlying_type": { - "name": "Boolean", + "name": "PostAccountsAccountPeoplePersonBodyDocumentsPassport", + "type": "named" + } + } + }, + "visa": { + "type": { + "type": "nullable", + "underlying_type": { + "name": "PostAccountsAccountPeoplePersonBodyDocumentsVisa", "type": "named" } } } } }, - "PostAccountsAccountBodySettingsInvoices": { + "PostAccountsAccountPeoplePersonBodyDocumentsCompanyAuthorization": { "fields": { - "default_account_tax_ids": { + "files": { "type": { "type": "nullable", "underlying_type": { - "name": "JSON", - "type": "named" + "element_type": { + "name": "JSON", + "type": "named" + }, + "type": "array" } } } } }, - "PostAccountsAccountBodySettingsPayments": { + "PostAccountsAccountPeoplePersonBodyDocumentsPassport": { "fields": { - "statement_descriptor": { + "files": { + "type": { + "type": "nullable", + "underlying_type": { + "element_type": { + "name": "JSON", + "type": "named" + }, + "type": "array" + } + } + } + } + }, + "PostAccountsAccountPeoplePersonBodyDocumentsVisa": { + "fields": { + "files": { + "type": { + "type": "nullable", + "underlying_type": { + "element_type": { + "name": "JSON", + "type": "named" + }, + "type": "array" + } + } + } + } + }, + "PostAccountsAccountPeoplePersonBodyRegisteredAddress": { + "description": "The person's registered address.", + "fields": { + "city": { "type": { "type": "nullable", "underlying_type": { @@ -67480,7 +71511,7 @@ } } }, - "statement_descriptor_kana": { + "country": { "type": { "type": "nullable", "underlying_type": { @@ -67489,7 +71520,7 @@ } } }, - "statement_descriptor_kanji": { + "line1": { "type": { "type": "nullable", "underlying_type": { @@ -67497,30 +71528,26 @@ "type": "named" } } - } - } - }, - "PostAccountsAccountBodySettingsPayouts": { - "fields": { - "debit_negative_balances": { + }, + "line2": { "type": { "type": "nullable", "underlying_type": { - "name": "Boolean", + "name": "String", "type": "named" } } }, - "schedule": { + "postal_code": { "type": { "type": "nullable", "underlying_type": { - "name": "PostAccountsAccountBodySettingsPayoutsSchedule", + "name": "String", "type": "named" } } }, - "statement_descriptor": { + "state": { "type": { "type": "nullable", "underlying_type": { @@ -67531,112 +71558,100 @@ } } }, - "PostAccountsAccountBodySettingsPayoutsSchedule": { + "PostAccountsAccountPeoplePersonBodyRelationship": { + "description": "The relationship that this person has with the account's legal entity.", "fields": { - "delay_days": { + "director": { "type": { "type": "nullable", "underlying_type": { - "name": "JSON", + "name": "Boolean", "type": "named" } } }, - "interval": { + "executive": { "type": { "type": "nullable", "underlying_type": { - "name": "AccountsInterval", + "name": "Boolean", "type": "named" } } }, - "monthly_anchor": { + "legal_guardian": { "type": { "type": "nullable", "underlying_type": { - "name": "Int32", + "name": "Boolean", "type": "named" } } }, - "weekly_anchor": { - "type": { - "type": "nullable", - "underlying_type": { - "name": "AccountsWeeklyAnchor", - "type": "named" - } - } - } - } - }, - "PostAccountsAccountBodySettingsTreasury": { - "fields": { - "tos_acceptance": { + "owner": { "type": { "type": "nullable", "underlying_type": { - "name": "PostAccountsAccountBodySettingsTreasuryTosAcceptance", + "name": "Boolean", "type": "named" } } - } - } - }, - "PostAccountsAccountBodySettingsTreasuryTosAcceptance": { - "fields": { - "date": { + }, + "percent_ownership": { "type": { "type": "nullable", "underlying_type": { - "name": "UnixTime", + "name": "JSON", "type": "named" } } }, - "ip": { + "representative": { "type": { "type": "nullable", "underlying_type": { - "name": "String", + "name": "Boolean", "type": "named" } } }, - "user_agent": { + "title": { "type": { "type": "nullable", "underlying_type": { - "name": "JSON", + "name": "String", "type": "named" } } } } }, - "PostAccountsAccountBodyTosAcceptance": { - "description": "Details on the account's acceptance of the [Stripe Services Agreement](https://docs.stripe.com/connect/updating-accounts#tos-acceptance) This property can only be updated for Custom accounts.", + "PostAccountsAccountPeoplePersonBodyVerification": { + "description": "The person's verification status.", "fields": { - "date": { + "additional_document": { "type": { "type": "nullable", "underlying_type": { - "name": "UnixTime", + "name": "PostAccountsAccountPeoplePersonBodyVerificationAdditionalDocument", "type": "named" } } }, - "ip": { + "document": { "type": { "type": "nullable", "underlying_type": { - "name": "String", + "name": "PostAccountsAccountPeoplePersonBodyVerificationDocument", "type": "named" } } - }, - "service_agreement": { + } + } + }, + "PostAccountsAccountPeoplePersonBodyVerificationAdditionalDocument": { + "fields": { + "back": { "type": { "type": "nullable", "underlying_type": { @@ -67645,7 +71660,7 @@ } } }, - "user_agent": { + "front": { "type": { "type": "nullable", "underlying_type": { @@ -67656,51 +71671,43 @@ } } }, - "PostAccountsAccountExternalAccountsIdBodyDocuments": { - "description": "Documents that may be submitted to satisfy various informational requests.", + "PostAccountsAccountPeoplePersonBodyVerificationDocument": { "fields": { - "bank_account_ownership_verification": { + "back": { "type": { "type": "nullable", "underlying_type": { - "name": "PostAccountsAccountExternalAccountsIdBodyDocumentsBankAccountOwnershipVerification", + "name": "String", "type": "named" } } - } - } - }, - "PostAccountsAccountExternalAccountsIdBodyDocumentsBankAccountOwnershipVerification": { - "fields": { - "files": { + }, + "front": { "type": { "type": "nullable", "underlying_type": { - "element_type": { - "name": "String", - "type": "named" - }, - "type": "array" + "name": "String", + "type": "named" } } } } }, - "PostAccountsAccountPeopleBodyAdditionalTosAcceptances": { + "PostAccountsAccountPersonsBodyAdditionalTosAcceptances": { "description": "Details on the legal guardian's acceptance of the required Stripe agreements.", "fields": { "account": { "type": { "type": "nullable", "underlying_type": { - "name": "PostAccountsAccountPeopleBodyAdditionalTosAcceptancesAccount", + "name": "PostAccountsAccountPersonsBodyAdditionalTosAcceptancesAccount", "type": "named" } } } } }, - "PostAccountsAccountPeopleBodyAdditionalTosAcceptancesAccount": { + "PostAccountsAccountPersonsBodyAdditionalTosAcceptancesAccount": { "fields": { "date": { "type": { @@ -67731,7 +71738,7 @@ } } }, - "PostAccountsAccountPeopleBodyAddress": { + "PostAccountsAccountPersonsBodyAddress": { "description": "The person's address.", "fields": { "city": { @@ -67790,7 +71797,7 @@ } } }, - "PostAccountsAccountPeopleBodyAddressKana": { + "PostAccountsAccountPersonsBodyAddressKana": { "description": "The Kana variation of the person's address (Japan only).", "fields": { "city": { @@ -67858,7 +71865,7 @@ } } }, - "PostAccountsAccountPeopleBodyAddressKanji": { + "PostAccountsAccountPersonsBodyAddressKanji": { "description": "The Kanji variation of the person's address (Japan only).", "fields": { "city": { @@ -67926,14 +71933,14 @@ } } }, - "PostAccountsAccountPeopleBodyDocuments": { + "PostAccountsAccountPersonsBodyDocuments": { "description": "Documents that may be submitted to satisfy various informational requests.", "fields": { "company_authorization": { "type": { "type": "nullable", "underlying_type": { - "name": "PostAccountsAccountPeopleBodyDocumentsCompanyAuthorization", + "name": "PostAccountsAccountPersonsBodyDocumentsCompanyAuthorization", "type": "named" } } @@ -67942,7 +71949,7 @@ "type": { "type": "nullable", "underlying_type": { - "name": "PostAccountsAccountPeopleBodyDocumentsPassport", + "name": "PostAccountsAccountPersonsBodyDocumentsPassport", "type": "named" } } @@ -67951,14 +71958,14 @@ "type": { "type": "nullable", "underlying_type": { - "name": "PostAccountsAccountPeopleBodyDocumentsVisa", + "name": "PostAccountsAccountPersonsBodyDocumentsVisa", "type": "named" } } } } }, - "PostAccountsAccountPeopleBodyDocumentsCompanyAuthorization": { + "PostAccountsAccountPersonsBodyDocumentsCompanyAuthorization": { "fields": { "files": { "type": { @@ -67974,7 +71981,7 @@ } } }, - "PostAccountsAccountPeopleBodyDocumentsPassport": { + "PostAccountsAccountPersonsBodyDocumentsPassport": { "fields": { "files": { "type": { @@ -67990,7 +71997,7 @@ } } }, - "PostAccountsAccountPeopleBodyDocumentsVisa": { + "PostAccountsAccountPersonsBodyDocumentsVisa": { "fields": { "files": { "type": { @@ -68006,7 +72013,7 @@ } } }, - "PostAccountsAccountPeopleBodyRegisteredAddress": { + "PostAccountsAccountPersonsBodyRegisteredAddress": { "description": "The person's registered address.", "fields": { "city": { @@ -68065,7 +72072,7 @@ } } }, - "PostAccountsAccountPeopleBodyRelationship": { + "PostAccountsAccountPersonsBodyRelationship": { "description": "The relationship that this person has with the account's legal entity.", "fields": { "director": { @@ -68133,14 +72140,14 @@ } } }, - "PostAccountsAccountPeopleBodyVerification": { + "PostAccountsAccountPersonsBodyVerification": { "description": "The person's verification status.", "fields": { "additional_document": { "type": { "type": "nullable", "underlying_type": { - "name": "PostAccountsAccountPeopleBodyVerificationAdditionalDocument", + "name": "PostAccountsAccountPersonsBodyVerificationAdditionalDocument", "type": "named" } } @@ -68149,14 +72156,14 @@ "type": { "type": "nullable", "underlying_type": { - "name": "PostAccountsAccountPeopleBodyVerificationDocument", + "name": "PostAccountsAccountPersonsBodyVerificationDocument", "type": "named" } } } } }, - "PostAccountsAccountPeopleBodyVerificationAdditionalDocument": { + "PostAccountsAccountPersonsBodyVerificationAdditionalDocument": { "fields": { "back": { "type": { @@ -68178,7 +72185,7 @@ } } }, - "PostAccountsAccountPeopleBodyVerificationDocument": { + "PostAccountsAccountPersonsBodyVerificationDocument": { "fields": { "back": { "type": { @@ -68200,21 +72207,21 @@ } } }, - "PostAccountsAccountPeoplePersonBodyAdditionalTosAcceptances": { + "PostAccountsAccountPersonsPersonBodyAdditionalTosAcceptances": { "description": "Details on the legal guardian's acceptance of the required Stripe agreements.", "fields": { "account": { "type": { "type": "nullable", "underlying_type": { - "name": "PostAccountsAccountPeoplePersonBodyAdditionalTosAcceptancesAccount", + "name": "PostAccountsAccountPersonsPersonBodyAdditionalTosAcceptancesAccount", "type": "named" } } } } }, - "PostAccountsAccountPeoplePersonBodyAdditionalTosAcceptancesAccount": { + "PostAccountsAccountPersonsPersonBodyAdditionalTosAcceptancesAccount": { "fields": { "date": { "type": { @@ -68245,7 +72252,7 @@ } } }, - "PostAccountsAccountPeoplePersonBodyAddress": { + "PostAccountsAccountPersonsPersonBodyAddress": { "description": "The person's address.", "fields": { "city": { @@ -68304,7 +72311,7 @@ } } }, - "PostAccountsAccountPeoplePersonBodyAddressKana": { + "PostAccountsAccountPersonsPersonBodyAddressKana": { "description": "The Kana variation of the person's address (Japan only).", "fields": { "city": { @@ -68372,7 +72379,7 @@ } } }, - "PostAccountsAccountPeoplePersonBodyAddressKanji": { + "PostAccountsAccountPersonsPersonBodyAddressKanji": { "description": "The Kanji variation of the person's address (Japan only).", "fields": { "city": { @@ -68440,14 +72447,14 @@ } } }, - "PostAccountsAccountPeoplePersonBodyDocuments": { + "PostAccountsAccountPersonsPersonBodyDocuments": { "description": "Documents that may be submitted to satisfy various informational requests.", "fields": { "company_authorization": { "type": { "type": "nullable", "underlying_type": { - "name": "PostAccountsAccountPeoplePersonBodyDocumentsCompanyAuthorization", + "name": "PostAccountsAccountPersonsPersonBodyDocumentsCompanyAuthorization", "type": "named" } } @@ -68456,7 +72463,7 @@ "type": { "type": "nullable", "underlying_type": { - "name": "PostAccountsAccountPeoplePersonBodyDocumentsPassport", + "name": "PostAccountsAccountPersonsPersonBodyDocumentsPassport", "type": "named" } } @@ -68465,14 +72472,14 @@ "type": { "type": "nullable", "underlying_type": { - "name": "PostAccountsAccountPeoplePersonBodyDocumentsVisa", + "name": "PostAccountsAccountPersonsPersonBodyDocumentsVisa", "type": "named" } } } } }, - "PostAccountsAccountPeoplePersonBodyDocumentsCompanyAuthorization": { + "PostAccountsAccountPersonsPersonBodyDocumentsCompanyAuthorization": { "fields": { "files": { "type": { @@ -68488,7 +72495,7 @@ } } }, - "PostAccountsAccountPeoplePersonBodyDocumentsPassport": { + "PostAccountsAccountPersonsPersonBodyDocumentsPassport": { "fields": { "files": { "type": { @@ -68504,7 +72511,7 @@ } } }, - "PostAccountsAccountPeoplePersonBodyDocumentsVisa": { + "PostAccountsAccountPersonsPersonBodyDocumentsVisa": { "fields": { "files": { "type": { @@ -68520,7 +72527,7 @@ } } }, - "PostAccountsAccountPeoplePersonBodyRegisteredAddress": { + "PostAccountsAccountPersonsPersonBodyRegisteredAddress": { "description": "The person's registered address.", "fields": { "city": { @@ -68579,7 +72586,7 @@ } } }, - "PostAccountsAccountPeoplePersonBodyRelationship": { + "PostAccountsAccountPersonsPersonBodyRelationship": { "description": "The relationship that this person has with the account's legal entity.", "fields": { "director": { @@ -68647,14 +72654,14 @@ } } }, - "PostAccountsAccountPeoplePersonBodyVerification": { + "PostAccountsAccountPersonsPersonBodyVerification": { "description": "The person's verification status.", "fields": { "additional_document": { "type": { "type": "nullable", "underlying_type": { - "name": "PostAccountsAccountPeoplePersonBodyVerificationAdditionalDocument", + "name": "PostAccountsAccountPersonsPersonBodyVerificationAdditionalDocument", "type": "named" } } @@ -68663,14 +72670,14 @@ "type": { "type": "nullable", "underlying_type": { - "name": "PostAccountsAccountPeoplePersonBodyVerificationDocument", + "name": "PostAccountsAccountPersonsPersonBodyVerificationDocument", "type": "named" } } } } }, - "PostAccountsAccountPeoplePersonBodyVerificationAdditionalDocument": { + "PostAccountsAccountPersonsPersonBodyVerificationAdditionalDocument": { "fields": { "back": { "type": { @@ -68692,7 +72699,7 @@ } } }, - "PostAccountsAccountPeoplePersonBodyVerificationDocument": { + "PostAccountsAccountPersonsPersonBodyVerificationDocument": { "fields": { "back": { "type": { @@ -68714,32 +72721,28 @@ } } }, - "PostAccountsAccountPersonsBodyAdditionalTosAcceptances": { - "description": "Details on the legal guardian's acceptance of the required Stripe agreements.", + "PostAccountsBodyBusinessProfile": { + "description": "Business information about the account.", "fields": { - "account": { + "annual_revenue": { "type": { "type": "nullable", "underlying_type": { - "name": "PostAccountsAccountPersonsBodyAdditionalTosAcceptancesAccount", + "name": "PostAccountsBodyBusinessProfileAnnualRevenue", "type": "named" } } - } - } - }, - "PostAccountsAccountPersonsBodyAdditionalTosAcceptancesAccount": { - "fields": { - "date": { + }, + "estimated_worker_count": { "type": { "type": "nullable", "underlying_type": { - "name": "UnixTime", + "name": "Int32", "type": "named" } } }, - "ip": { + "mcc": { "type": { "type": "nullable", "underlying_type": { @@ -68748,21 +72751,16 @@ } } }, - "user_agent": { + "monthly_estimated_revenue": { "type": { "type": "nullable", "underlying_type": { - "name": "JSON", + "name": "PostAccountsBodyBusinessProfileMonthlyEstimatedRevenue", "type": "named" } } - } - } - }, - "PostAccountsAccountPersonsBodyAddress": { - "description": "The person's address.", - "fields": { - "city": { + }, + "name": { "type": { "type": "nullable", "underlying_type": { @@ -68771,7 +72769,7 @@ } } }, - "country": { + "product_description": { "type": { "type": "nullable", "underlying_type": { @@ -68780,16 +72778,16 @@ } } }, - "line1": { + "support_address": { "type": { "type": "nullable", "underlying_type": { - "name": "String", + "name": "PostAccountsBodyBusinessProfileSupportAddress", "type": "named" } } }, - "line2": { + "support_email": { "type": { "type": "nullable", "underlying_type": { @@ -68798,7 +72796,7 @@ } } }, - "postal_code": { + "support_phone": { "type": { "type": "nullable", "underlying_type": { @@ -68807,7 +72805,16 @@ } } }, - "state": { + "support_url": { + "type": { + "type": "nullable", + "underlying_type": { + "name": "JSON", + "type": "named" + } + } + }, + "url": { "type": { "type": "nullable", "underlying_type": { @@ -68818,8 +72825,45 @@ } } }, - "PostAccountsAccountPersonsBodyAddressKana": { - "description": "The Kana variation of the person's address (Japan only).", + "PostAccountsBodyBusinessProfileAnnualRevenue": { + "fields": { + "amount": { + "type": { + "name": "Int32", + "type": "named" + } + }, + "currency": { + "type": { + "name": "String", + "type": "named" + } + }, + "fiscal_year_end": { + "type": { + "name": "String", + "type": "named" + } + } + } + }, + "PostAccountsBodyBusinessProfileMonthlyEstimatedRevenue": { + "fields": { + "amount": { + "type": { + "name": "Int32", + "type": "named" + } + }, + "currency": { + "type": { + "name": "String", + "type": "named" + } + } + } + }, + "PostAccountsBodyBusinessProfileSupportAddress": { "fields": { "city": { "type": { @@ -68874,720 +72918,943 @@ "type": "named" } } + } + } + }, + "PostAccountsBodyCapabilities": { + "description": "Each key of the dictionary represents a capability, and each capability\nmaps to its settings (for example, whether it has been requested or not). Each\ncapability is inactive until you have provided its specific\nrequirements and Stripe has verified them. An account might have some\nof its requested capabilities be active and some be inactive.\n\nRequired when [account.controller.stripe_dashboard.type](/api/accounts/create#create_account-controller-dashboard-type)\nis `none`, which includes Custom accounts.", + "fields": { + "acss_debit_payments": { + "type": { + "type": "nullable", + "underlying_type": { + "name": "PostAccountsBodyCapabilitiesAcssDebitPayments", + "type": "named" + } + } }, - "town": { + "affirm_payments": { "type": { "type": "nullable", "underlying_type": { - "name": "String", + "name": "PostAccountsBodyCapabilitiesAffirmPayments", "type": "named" } } - } - } - }, - "PostAccountsAccountPersonsBodyAddressKanji": { - "description": "The Kanji variation of the person's address (Japan only).", - "fields": { - "city": { + }, + "afterpay_clearpay_payments": { "type": { "type": "nullable", "underlying_type": { - "name": "String", + "name": "PostAccountsBodyCapabilitiesAfterpayClearpayPayments", "type": "named" } } }, - "country": { + "amazon_pay_payments": { "type": { "type": "nullable", "underlying_type": { - "name": "String", + "name": "PostAccountsBodyCapabilitiesAmazonPayPayments", "type": "named" } } }, - "line1": { + "au_becs_debit_payments": { "type": { "type": "nullable", "underlying_type": { - "name": "String", + "name": "PostAccountsBodyCapabilitiesAuBecsDebitPayments", "type": "named" } } }, - "line2": { + "bacs_debit_payments": { "type": { "type": "nullable", "underlying_type": { - "name": "String", + "name": "PostAccountsBodyCapabilitiesBacsDebitPayments", "type": "named" } } }, - "postal_code": { + "bancontact_payments": { "type": { "type": "nullable", "underlying_type": { - "name": "String", + "name": "PostAccountsBodyCapabilitiesBancontactPayments", "type": "named" } } }, - "state": { + "bank_transfer_payments": { "type": { "type": "nullable", "underlying_type": { - "name": "String", + "name": "PostAccountsBodyCapabilitiesBankTransferPayments", "type": "named" } } }, - "town": { + "blik_payments": { "type": { "type": "nullable", "underlying_type": { - "name": "String", + "name": "PostAccountsBodyCapabilitiesBlikPayments", "type": "named" } } - } - } - }, - "PostAccountsAccountPersonsBodyDocuments": { - "description": "Documents that may be submitted to satisfy various informational requests.", - "fields": { - "company_authorization": { + }, + "boleto_payments": { "type": { "type": "nullable", "underlying_type": { - "name": "PostAccountsAccountPersonsBodyDocumentsCompanyAuthorization", + "name": "PostAccountsBodyCapabilitiesBoletoPayments", "type": "named" } } }, - "passport": { + "card_issuing": { "type": { "type": "nullable", "underlying_type": { - "name": "PostAccountsAccountPersonsBodyDocumentsPassport", + "name": "PostAccountsBodyCapabilitiesCardIssuing", "type": "named" } } }, - "visa": { + "card_payments": { "type": { "type": "nullable", "underlying_type": { - "name": "PostAccountsAccountPersonsBodyDocumentsVisa", + "name": "PostAccountsBodyCapabilitiesCardPayments", "type": "named" } } - } - } - }, - "PostAccountsAccountPersonsBodyDocumentsCompanyAuthorization": { - "fields": { - "files": { + }, + "cartes_bancaires_payments": { "type": { "type": "nullable", "underlying_type": { - "element_type": { - "name": "JSON", - "type": "named" - }, - "type": "array" + "name": "PostAccountsBodyCapabilitiesCartesBancairesPayments", + "type": "named" } } - } - } - }, - "PostAccountsAccountPersonsBodyDocumentsPassport": { - "fields": { - "files": { + }, + "cashapp_payments": { "type": { "type": "nullable", "underlying_type": { - "element_type": { - "name": "JSON", - "type": "named" - }, - "type": "array" + "name": "PostAccountsBodyCapabilitiesCashappPayments", + "type": "named" } } - } - } - }, - "PostAccountsAccountPersonsBodyDocumentsVisa": { - "fields": { - "files": { + }, + "eps_payments": { "type": { "type": "nullable", "underlying_type": { - "element_type": { - "name": "JSON", - "type": "named" - }, - "type": "array" + "name": "PostAccountsBodyCapabilitiesEpsPayments", + "type": "named" } } - } - } - }, - "PostAccountsAccountPersonsBodyRegisteredAddress": { - "description": "The person's registered address.", - "fields": { - "city": { + }, + "fpx_payments": { "type": { "type": "nullable", "underlying_type": { - "name": "String", + "name": "PostAccountsBodyCapabilitiesFpxPayments", "type": "named" } } }, - "country": { + "giropay_payments": { "type": { "type": "nullable", "underlying_type": { - "name": "String", + "name": "PostAccountsBodyCapabilitiesGiropayPayments", "type": "named" } } }, - "line1": { + "grabpay_payments": { "type": { "type": "nullable", "underlying_type": { - "name": "String", + "name": "PostAccountsBodyCapabilitiesGrabpayPayments", "type": "named" } } }, - "line2": { + "ideal_payments": { "type": { "type": "nullable", "underlying_type": { - "name": "String", + "name": "PostAccountsBodyCapabilitiesIdealPayments", "type": "named" } } }, - "postal_code": { + "india_international_payments": { "type": { "type": "nullable", "underlying_type": { - "name": "String", + "name": "PostAccountsBodyCapabilitiesIndiaInternationalPayments", "type": "named" } } }, - "state": { + "jcb_payments": { "type": { "type": "nullable", "underlying_type": { - "name": "String", + "name": "PostAccountsBodyCapabilitiesJcbPayments", "type": "named" } } - } - } - }, - "PostAccountsAccountPersonsBodyRelationship": { - "description": "The relationship that this person has with the account's legal entity.", - "fields": { - "director": { + }, + "klarna_payments": { "type": { "type": "nullable", "underlying_type": { - "name": "Boolean", + "name": "PostAccountsBodyCapabilitiesKlarnaPayments", "type": "named" } } }, - "executive": { + "konbini_payments": { "type": { "type": "nullable", "underlying_type": { - "name": "Boolean", + "name": "PostAccountsBodyCapabilitiesKonbiniPayments", "type": "named" } } }, - "legal_guardian": { + "legacy_payments": { "type": { "type": "nullable", "underlying_type": { - "name": "Boolean", + "name": "PostAccountsBodyCapabilitiesLegacyPayments", "type": "named" } } }, - "owner": { + "link_payments": { "type": { "type": "nullable", "underlying_type": { - "name": "Boolean", + "name": "PostAccountsBodyCapabilitiesLinkPayments", "type": "named" } } }, - "percent_ownership": { + "mobilepay_payments": { "type": { "type": "nullable", "underlying_type": { - "name": "JSON", + "name": "PostAccountsBodyCapabilitiesMobilepayPayments", "type": "named" } } }, - "representative": { + "oxxo_payments": { "type": { "type": "nullable", "underlying_type": { - "name": "Boolean", + "name": "PostAccountsBodyCapabilitiesOxxoPayments", "type": "named" } } }, - "title": { + "p24_payments": { "type": { "type": "nullable", "underlying_type": { - "name": "String", + "name": "PostAccountsBodyCapabilitiesP24Payments", + "type": "named" + } + } + }, + "paynow_payments": { + "type": { + "type": "nullable", + "underlying_type": { + "name": "PostAccountsBodyCapabilitiesPaynowPayments", + "type": "named" + } + } + }, + "promptpay_payments": { + "type": { + "type": "nullable", + "underlying_type": { + "name": "PostAccountsBodyCapabilitiesPromptpayPayments", + "type": "named" + } + } + }, + "revolut_pay_payments": { + "type": { + "type": "nullable", + "underlying_type": { + "name": "PostAccountsBodyCapabilitiesRevolutPayPayments", + "type": "named" + } + } + }, + "sepa_debit_payments": { + "type": { + "type": "nullable", + "underlying_type": { + "name": "PostAccountsBodyCapabilitiesSepaDebitPayments", + "type": "named" + } + } + }, + "sofort_payments": { + "type": { + "type": "nullable", + "underlying_type": { + "name": "PostAccountsBodyCapabilitiesSofortPayments", + "type": "named" + } + } + }, + "swish_payments": { + "type": { + "type": "nullable", + "underlying_type": { + "name": "PostAccountsBodyCapabilitiesSwishPayments", + "type": "named" + } + } + }, + "tax_reporting_us_1099_k": { + "type": { + "type": "nullable", + "underlying_type": { + "name": "PostAccountsBodyCapabilitiesTaxReportingUs1099K", + "type": "named" + } + } + }, + "tax_reporting_us_1099_misc": { + "type": { + "type": "nullable", + "underlying_type": { + "name": "PostAccountsBodyCapabilitiesTaxReportingUs1099Misc", + "type": "named" + } + } + }, + "transfers": { + "type": { + "type": "nullable", + "underlying_type": { + "name": "PostAccountsBodyCapabilitiesTransfers", + "type": "named" + } + } + }, + "treasury": { + "type": { + "type": "nullable", + "underlying_type": { + "name": "PostAccountsBodyCapabilitiesTreasury", + "type": "named" + } + } + }, + "us_bank_account_ach_payments": { + "type": { + "type": "nullable", + "underlying_type": { + "name": "PostAccountsBodyCapabilitiesUsBankAccountAchPayments", + "type": "named" + } + } + }, + "zip_payments": { + "type": { + "type": "nullable", + "underlying_type": { + "name": "PostAccountsBodyCapabilitiesZipPayments", "type": "named" } } } } }, - "PostAccountsAccountPersonsBodyVerification": { - "description": "The person's verification status.", + "PostAccountsBodyCapabilitiesAcssDebitPayments": { "fields": { - "additional_document": { + "requested": { "type": { "type": "nullable", "underlying_type": { - "name": "PostAccountsAccountPersonsBodyVerificationAdditionalDocument", + "name": "Boolean", "type": "named" } } - }, - "document": { + } + } + }, + "PostAccountsBodyCapabilitiesAffirmPayments": { + "fields": { + "requested": { "type": { "type": "nullable", "underlying_type": { - "name": "PostAccountsAccountPersonsBodyVerificationDocument", + "name": "Boolean", "type": "named" } } } } }, - "PostAccountsAccountPersonsBodyVerificationAdditionalDocument": { + "PostAccountsBodyCapabilitiesAfterpayClearpayPayments": { "fields": { - "back": { + "requested": { "type": { "type": "nullable", "underlying_type": { - "name": "String", + "name": "Boolean", "type": "named" } } - }, - "front": { + } + } + }, + "PostAccountsBodyCapabilitiesAmazonPayPayments": { + "fields": { + "requested": { "type": { "type": "nullable", "underlying_type": { - "name": "String", + "name": "Boolean", "type": "named" } } } } }, - "PostAccountsAccountPersonsBodyVerificationDocument": { + "PostAccountsBodyCapabilitiesAuBecsDebitPayments": { "fields": { - "back": { + "requested": { "type": { "type": "nullable", "underlying_type": { - "name": "String", + "name": "Boolean", "type": "named" } } - }, - "front": { + } + } + }, + "PostAccountsBodyCapabilitiesBacsDebitPayments": { + "fields": { + "requested": { "type": { "type": "nullable", "underlying_type": { - "name": "String", + "name": "Boolean", "type": "named" } } } } }, - "PostAccountsAccountPersonsPersonBodyAdditionalTosAcceptances": { - "description": "Details on the legal guardian's acceptance of the required Stripe agreements.", + "PostAccountsBodyCapabilitiesBancontactPayments": { "fields": { - "account": { + "requested": { "type": { "type": "nullable", "underlying_type": { - "name": "PostAccountsAccountPersonsPersonBodyAdditionalTosAcceptancesAccount", + "name": "Boolean", "type": "named" } } } } }, - "PostAccountsAccountPersonsPersonBodyAdditionalTosAcceptancesAccount": { + "PostAccountsBodyCapabilitiesBankTransferPayments": { "fields": { - "date": { + "requested": { "type": { "type": "nullable", "underlying_type": { - "name": "UnixTime", + "name": "Boolean", "type": "named" } } - }, - "ip": { + } + } + }, + "PostAccountsBodyCapabilitiesBlikPayments": { + "fields": { + "requested": { "type": { "type": "nullable", "underlying_type": { - "name": "String", + "name": "Boolean", "type": "named" } } - }, - "user_agent": { + } + } + }, + "PostAccountsBodyCapabilitiesBoletoPayments": { + "fields": { + "requested": { "type": { "type": "nullable", "underlying_type": { - "name": "JSON", + "name": "Boolean", "type": "named" } } } } }, - "PostAccountsAccountPersonsPersonBodyAddress": { - "description": "The person's address.", + "PostAccountsBodyCapabilitiesCardIssuing": { "fields": { - "city": { + "requested": { "type": { "type": "nullable", "underlying_type": { - "name": "String", + "name": "Boolean", "type": "named" } } - }, - "country": { + } + } + }, + "PostAccountsBodyCapabilitiesCardPayments": { + "fields": { + "requested": { "type": { "type": "nullable", "underlying_type": { - "name": "String", + "name": "Boolean", "type": "named" } } - }, - "line1": { + } + } + }, + "PostAccountsBodyCapabilitiesCartesBancairesPayments": { + "fields": { + "requested": { "type": { "type": "nullable", "underlying_type": { - "name": "String", + "name": "Boolean", "type": "named" } } - }, - "line2": { + } + } + }, + "PostAccountsBodyCapabilitiesCashappPayments": { + "fields": { + "requested": { "type": { "type": "nullable", "underlying_type": { - "name": "String", + "name": "Boolean", "type": "named" } } - }, - "postal_code": { + } + } + }, + "PostAccountsBodyCapabilitiesEpsPayments": { + "fields": { + "requested": { "type": { "type": "nullable", "underlying_type": { - "name": "String", + "name": "Boolean", "type": "named" } } - }, - "state": { + } + } + }, + "PostAccountsBodyCapabilitiesFpxPayments": { + "fields": { + "requested": { "type": { "type": "nullable", "underlying_type": { - "name": "String", + "name": "Boolean", "type": "named" } } } } }, - "PostAccountsAccountPersonsPersonBodyAddressKana": { - "description": "The Kana variation of the person's address (Japan only).", + "PostAccountsBodyCapabilitiesGiropayPayments": { "fields": { - "city": { + "requested": { "type": { "type": "nullable", "underlying_type": { - "name": "String", + "name": "Boolean", "type": "named" } } - }, - "country": { + } + } + }, + "PostAccountsBodyCapabilitiesGrabpayPayments": { + "fields": { + "requested": { "type": { "type": "nullable", "underlying_type": { - "name": "String", + "name": "Boolean", "type": "named" } } - }, - "line1": { + } + } + }, + "PostAccountsBodyCapabilitiesIdealPayments": { + "fields": { + "requested": { "type": { "type": "nullable", "underlying_type": { - "name": "String", + "name": "Boolean", "type": "named" } } - }, - "line2": { + } + } + }, + "PostAccountsBodyCapabilitiesIndiaInternationalPayments": { + "fields": { + "requested": { "type": { "type": "nullable", "underlying_type": { - "name": "String", + "name": "Boolean", "type": "named" } } - }, - "postal_code": { + } + } + }, + "PostAccountsBodyCapabilitiesJcbPayments": { + "fields": { + "requested": { "type": { "type": "nullable", "underlying_type": { - "name": "String", + "name": "Boolean", "type": "named" } } - }, - "state": { + } + } + }, + "PostAccountsBodyCapabilitiesKlarnaPayments": { + "fields": { + "requested": { "type": { "type": "nullable", "underlying_type": { - "name": "String", + "name": "Boolean", "type": "named" } } - }, - "town": { + } + } + }, + "PostAccountsBodyCapabilitiesKonbiniPayments": { + "fields": { + "requested": { "type": { "type": "nullable", "underlying_type": { - "name": "String", + "name": "Boolean", "type": "named" } } } } }, - "PostAccountsAccountPersonsPersonBodyAddressKanji": { - "description": "The Kanji variation of the person's address (Japan only).", + "PostAccountsBodyCapabilitiesLegacyPayments": { "fields": { - "city": { + "requested": { "type": { "type": "nullable", "underlying_type": { - "name": "String", + "name": "Boolean", "type": "named" } } - }, - "country": { + } + } + }, + "PostAccountsBodyCapabilitiesLinkPayments": { + "fields": { + "requested": { "type": { "type": "nullable", "underlying_type": { - "name": "String", + "name": "Boolean", "type": "named" } } - }, - "line1": { + } + } + }, + "PostAccountsBodyCapabilitiesMobilepayPayments": { + "fields": { + "requested": { "type": { "type": "nullable", "underlying_type": { - "name": "String", + "name": "Boolean", "type": "named" } } - }, - "line2": { + } + } + }, + "PostAccountsBodyCapabilitiesOxxoPayments": { + "fields": { + "requested": { "type": { "type": "nullable", "underlying_type": { - "name": "String", + "name": "Boolean", "type": "named" } } - }, - "postal_code": { + } + } + }, + "PostAccountsBodyCapabilitiesP24Payments": { + "fields": { + "requested": { "type": { "type": "nullable", "underlying_type": { - "name": "String", + "name": "Boolean", "type": "named" } } - }, - "state": { + } + } + }, + "PostAccountsBodyCapabilitiesPaynowPayments": { + "fields": { + "requested": { "type": { "type": "nullable", "underlying_type": { - "name": "String", + "name": "Boolean", "type": "named" } } - }, - "town": { + } + } + }, + "PostAccountsBodyCapabilitiesPromptpayPayments": { + "fields": { + "requested": { "type": { "type": "nullable", "underlying_type": { - "name": "String", + "name": "Boolean", "type": "named" } } } } }, - "PostAccountsAccountPersonsPersonBodyDocuments": { - "description": "Documents that may be submitted to satisfy various informational requests.", + "PostAccountsBodyCapabilitiesRevolutPayPayments": { "fields": { - "company_authorization": { + "requested": { "type": { "type": "nullable", "underlying_type": { - "name": "PostAccountsAccountPersonsPersonBodyDocumentsCompanyAuthorization", + "name": "Boolean", "type": "named" } } - }, - "passport": { + } + } + }, + "PostAccountsBodyCapabilitiesSepaDebitPayments": { + "fields": { + "requested": { "type": { "type": "nullable", "underlying_type": { - "name": "PostAccountsAccountPersonsPersonBodyDocumentsPassport", + "name": "Boolean", "type": "named" } } - }, - "visa": { + } + } + }, + "PostAccountsBodyCapabilitiesSofortPayments": { + "fields": { + "requested": { "type": { "type": "nullable", "underlying_type": { - "name": "PostAccountsAccountPersonsPersonBodyDocumentsVisa", + "name": "Boolean", "type": "named" } } } } }, - "PostAccountsAccountPersonsPersonBodyDocumentsCompanyAuthorization": { + "PostAccountsBodyCapabilitiesSwishPayments": { "fields": { - "files": { + "requested": { "type": { "type": "nullable", "underlying_type": { - "element_type": { - "name": "JSON", - "type": "named" - }, - "type": "array" + "name": "Boolean", + "type": "named" } } } } }, - "PostAccountsAccountPersonsPersonBodyDocumentsPassport": { + "PostAccountsBodyCapabilitiesTaxReportingUs1099K": { "fields": { - "files": { + "requested": { "type": { "type": "nullable", "underlying_type": { - "element_type": { - "name": "JSON", - "type": "named" - }, - "type": "array" + "name": "Boolean", + "type": "named" } } } } }, - "PostAccountsAccountPersonsPersonBodyDocumentsVisa": { + "PostAccountsBodyCapabilitiesTaxReportingUs1099Misc": { "fields": { - "files": { + "requested": { "type": { "type": "nullable", "underlying_type": { - "element_type": { - "name": "JSON", - "type": "named" - }, - "type": "array" + "name": "Boolean", + "type": "named" } } } } }, - "PostAccountsAccountPersonsPersonBodyRegisteredAddress": { - "description": "The person's registered address.", + "PostAccountsBodyCapabilitiesTransfers": { "fields": { - "city": { + "requested": { "type": { "type": "nullable", "underlying_type": { - "name": "String", + "name": "Boolean", + "type": "named" + } + } + } + } + }, + "PostAccountsBodyCapabilitiesTreasury": { + "fields": { + "requested": { + "type": { + "type": "nullable", + "underlying_type": { + "name": "Boolean", + "type": "named" + } + } + } + } + }, + "PostAccountsBodyCapabilitiesUsBankAccountAchPayments": { + "fields": { + "requested": { + "type": { + "type": "nullable", + "underlying_type": { + "name": "Boolean", + "type": "named" + } + } + } + } + }, + "PostAccountsBodyCapabilitiesZipPayments": { + "fields": { + "requested": { + "type": { + "type": "nullable", + "underlying_type": { + "name": "Boolean", + "type": "named" + } + } + } + } + }, + "PostAccountsBodyCompany": { + "description": "Information about the company or business. This field is available for any `business_type`. Once you create an [Account Link](/api/account_links) or [Account Session](/api/account_sessions), this property can only be updated for accounts where [controller.requirement_collection](/api/accounts/object#account_object-controller-requirement_collection) is `application`, which includes Custom accounts.", + "fields": { + "address": { + "type": { + "type": "nullable", + "underlying_type": { + "name": "PostAccountsBodyCompanyAddress", "type": "named" } } }, - "country": { + "address_kana": { "type": { "type": "nullable", "underlying_type": { - "name": "String", + "name": "PostAccountsBodyCompanyAddressKana", "type": "named" } } }, - "line1": { + "address_kanji": { "type": { "type": "nullable", "underlying_type": { - "name": "String", + "name": "PostAccountsBodyCompanyAddressKanji", "type": "named" } } }, - "line2": { + "directors_provided": { "type": { "type": "nullable", "underlying_type": { - "name": "String", + "name": "Boolean", "type": "named" } } }, - "postal_code": { + "executives_provided": { + "type": { + "type": "nullable", + "underlying_type": { + "name": "Boolean", + "type": "named" + } + } + }, + "export_license_id": { "type": { "type": "nullable", "underlying_type": { @@ -69596,7 +73863,7 @@ } } }, - "state": { + "export_purpose_code": { "type": { "type": "nullable", "underlying_type": { @@ -69604,40 +73871,35 @@ "type": "named" } } - } - } - }, - "PostAccountsAccountPersonsPersonBodyRelationship": { - "description": "The relationship that this person has with the account's legal entity.", - "fields": { - "director": { + }, + "name": { "type": { "type": "nullable", "underlying_type": { - "name": "Boolean", + "name": "String", "type": "named" } } }, - "executive": { + "name_kana": { "type": { "type": "nullable", "underlying_type": { - "name": "Boolean", + "name": "String", "type": "named" } } }, - "legal_guardian": { + "name_kanji": { "type": { "type": "nullable", "underlying_type": { - "name": "Boolean", + "name": "String", "type": "named" } } }, - "owner": { + "owners_provided": { "type": { "type": "nullable", "underlying_type": { @@ -69646,25 +73908,25 @@ } } }, - "percent_ownership": { + "ownership_declaration": { "type": { "type": "nullable", "underlying_type": { - "name": "JSON", + "name": "PostAccountsBodyCompanyOwnershipDeclaration", "type": "named" } } }, - "representative": { + "phone": { "type": { "type": "nullable", "underlying_type": { - "name": "Boolean", + "name": "String", "type": "named" } } }, - "title": { + "registration_number": { "type": { "type": "nullable", "underlying_type": { @@ -69672,35 +73934,35 @@ "type": "named" } } - } - } - }, - "PostAccountsAccountPersonsPersonBodyVerification": { - "description": "The person's verification status.", - "fields": { - "additional_document": { + }, + "structure": { "type": { "type": "nullable", "underlying_type": { - "name": "PostAccountsAccountPersonsPersonBodyVerificationAdditionalDocument", + "name": "AccountsStructure", "type": "named" } } }, - "document": { + "tax_id": { "type": { "type": "nullable", "underlying_type": { - "name": "PostAccountsAccountPersonsPersonBodyVerificationDocument", + "name": "String", "type": "named" } } - } - } - }, - "PostAccountsAccountPersonsPersonBodyVerificationAdditionalDocument": { - "fields": { - "back": { + }, + "tax_id_registrar": { + "type": { + "type": "nullable", + "underlying_type": { + "name": "String", + "type": "named" + } + } + }, + "vat_id": { "type": { "type": "nullable", "underlying_type": { @@ -69709,20 +73971,20 @@ } } }, - "front": { + "verification": { "type": { "type": "nullable", "underlying_type": { - "name": "String", + "name": "PostAccountsBodyCompanyVerification", "type": "named" } } } } }, - "PostAccountsAccountPersonsPersonBodyVerificationDocument": { + "PostAccountsBodyCompanyAddress": { "fields": { - "back": { + "city": { "type": { "type": "nullable", "underlying_type": { @@ -69731,7 +73993,7 @@ } } }, - "front": { + "country": { "type": { "type": "nullable", "underlying_type": { @@ -69739,31 +74001,26 @@ "type": "named" } } - } - } - }, - "PostAccountsBodyBusinessProfile": { - "description": "Business information about the account.", - "fields": { - "annual_revenue": { + }, + "line1": { "type": { "type": "nullable", "underlying_type": { - "name": "PostAccountsBodyBusinessProfileAnnualRevenue", + "name": "String", "type": "named" } } }, - "estimated_worker_count": { + "line2": { "type": { "type": "nullable", "underlying_type": { - "name": "Int32", + "name": "String", "type": "named" } } }, - "mcc": { + "postal_code": { "type": { "type": "nullable", "underlying_type": { @@ -69772,16 +74029,20 @@ } } }, - "monthly_estimated_revenue": { + "state": { "type": { "type": "nullable", "underlying_type": { - "name": "PostAccountsBodyBusinessProfileMonthlyEstimatedRevenue", + "name": "String", "type": "named" } } - }, - "name": { + } + } + }, + "PostAccountsBodyCompanyAddressKana": { + "fields": { + "city": { "type": { "type": "nullable", "underlying_type": { @@ -69790,7 +74051,7 @@ } } }, - "product_description": { + "country": { "type": { "type": "nullable", "underlying_type": { @@ -69799,16 +74060,16 @@ } } }, - "support_address": { + "line1": { "type": { "type": "nullable", "underlying_type": { - "name": "PostAccountsBodyBusinessProfileSupportAddress", + "name": "String", "type": "named" } } }, - "support_email": { + "line2": { "type": { "type": "nullable", "underlying_type": { @@ -69817,7 +74078,7 @@ } } }, - "support_phone": { + "postal_code": { "type": { "type": "nullable", "underlying_type": { @@ -69826,16 +74087,16 @@ } } }, - "support_url": { + "state": { "type": { "type": "nullable", "underlying_type": { - "name": "JSON", + "name": "String", "type": "named" } } }, - "url": { + "town": { "type": { "type": "nullable", "underlying_type": { @@ -69846,45 +74107,7 @@ } } }, - "PostAccountsBodyBusinessProfileAnnualRevenue": { - "fields": { - "amount": { - "type": { - "name": "Int32", - "type": "named" - } - }, - "currency": { - "type": { - "name": "String", - "type": "named" - } - }, - "fiscal_year_end": { - "type": { - "name": "String", - "type": "named" - } - } - } - }, - "PostAccountsBodyBusinessProfileMonthlyEstimatedRevenue": { - "fields": { - "amount": { - "type": { - "name": "Int32", - "type": "named" - } - }, - "currency": { - "type": { - "name": "String", - "type": "named" - } - } - } - }, - "PostAccountsBodyBusinessProfileSupportAddress": { + "PostAccountsBodyCompanyAddressKanji": { "fields": { "city": { "type": { @@ -69939,832 +74162,809 @@ "type": "named" } } + }, + "town": { + "type": { + "type": "nullable", + "underlying_type": { + "name": "String", + "type": "named" + } + } } } }, - "PostAccountsBodyCapabilities": { - "description": "Each key of the dictionary represents a capability, and each capability maps to its settings (e.g. whether it has been requested or not). Each capability will be inactive until you have provided its specific requirements and Stripe has verified them. An account may have some of its requested capabilities be active and some be inactive.", + "PostAccountsBodyCompanyOwnershipDeclaration": { "fields": { - "acss_debit_payments": { + "date": { "type": { "type": "nullable", "underlying_type": { - "name": "PostAccountsBodyCapabilitiesAcssDebitPayments", + "name": "UnixTime", "type": "named" } } }, - "affirm_payments": { + "ip": { "type": { "type": "nullable", "underlying_type": { - "name": "PostAccountsBodyCapabilitiesAffirmPayments", + "name": "String", "type": "named" } } }, - "afterpay_clearpay_payments": { + "user_agent": { "type": { "type": "nullable", "underlying_type": { - "name": "PostAccountsBodyCapabilitiesAfterpayClearpayPayments", + "name": "String", "type": "named" } } - }, - "amazon_pay_payments": { + } + } + }, + "PostAccountsBodyCompanyVerification": { + "fields": { + "document": { "type": { "type": "nullable", "underlying_type": { - "name": "PostAccountsBodyCapabilitiesAmazonPayPayments", + "name": "PostAccountsBodyCompanyVerificationDocument", "type": "named" } } - }, - "au_becs_debit_payments": { + } + } + }, + "PostAccountsBodyCompanyVerificationDocument": { + "fields": { + "back": { "type": { "type": "nullable", "underlying_type": { - "name": "PostAccountsBodyCapabilitiesAuBecsDebitPayments", + "name": "String", "type": "named" } } }, - "bacs_debit_payments": { + "front": { "type": { "type": "nullable", "underlying_type": { - "name": "PostAccountsBodyCapabilitiesBacsDebitPayments", + "name": "String", "type": "named" } } - }, - "bancontact_payments": { + } + } + }, + "PostAccountsBodyController": { + "description": "A hash of configuration describing the account controller's attributes.", + "fields": { + "fees": { "type": { "type": "nullable", "underlying_type": { - "name": "PostAccountsBodyCapabilitiesBancontactPayments", + "name": "PostAccountsBodyControllerFees", "type": "named" } } }, - "bank_transfer_payments": { + "losses": { "type": { "type": "nullable", "underlying_type": { - "name": "PostAccountsBodyCapabilitiesBankTransferPayments", + "name": "PostAccountsBodyControllerLosses", "type": "named" } } }, - "blik_payments": { + "requirement_collection": { "type": { "type": "nullable", "underlying_type": { - "name": "PostAccountsBodyCapabilitiesBlikPayments", + "name": "AccountsRequirementCollection", "type": "named" } } }, - "boleto_payments": { + "stripe_dashboard": { "type": { "type": "nullable", "underlying_type": { - "name": "PostAccountsBodyCapabilitiesBoletoPayments", + "name": "PostAccountsBodyControllerStripeDashboard", "type": "named" } } - }, - "card_issuing": { + } + } + }, + "PostAccountsBodyControllerFees": { + "fields": { + "payer": { "type": { "type": "nullable", "underlying_type": { - "name": "PostAccountsBodyCapabilitiesCardIssuing", + "name": "AccountsPayer", "type": "named" } } - }, - "card_payments": { + } + } + }, + "PostAccountsBodyControllerLosses": { + "fields": { + "payments": { "type": { "type": "nullable", "underlying_type": { - "name": "PostAccountsBodyCapabilitiesCardPayments", + "name": "AccountsPayments", "type": "named" } } - }, - "cartes_bancaires_payments": { + } + } + }, + "PostAccountsBodyControllerStripeDashboard": { + "fields": { + "type": { "type": { "type": "nullable", "underlying_type": { - "name": "PostAccountsBodyCapabilitiesCartesBancairesPayments", + "name": "AccountsType", "type": "named" } } - }, - "cashapp_payments": { + } + } + }, + "PostAccountsBodyDocuments": { + "description": "Documents that may be submitted to satisfy various informational requests.", + "fields": { + "bank_account_ownership_verification": { "type": { "type": "nullable", "underlying_type": { - "name": "PostAccountsBodyCapabilitiesCashappPayments", + "name": "PostAccountsBodyDocumentsBankAccountOwnershipVerification", "type": "named" } } }, - "eps_payments": { + "company_license": { "type": { "type": "nullable", "underlying_type": { - "name": "PostAccountsBodyCapabilitiesEpsPayments", + "name": "PostAccountsBodyDocumentsCompanyLicense", "type": "named" } } }, - "fpx_payments": { + "company_memorandum_of_association": { "type": { "type": "nullable", "underlying_type": { - "name": "PostAccountsBodyCapabilitiesFpxPayments", + "name": "PostAccountsBodyDocumentsCompanyMemorandumOfAssociation", "type": "named" } } }, - "giropay_payments": { + "company_ministerial_decree": { "type": { "type": "nullable", "underlying_type": { - "name": "PostAccountsBodyCapabilitiesGiropayPayments", + "name": "PostAccountsBodyDocumentsCompanyMinisterialDecree", "type": "named" } } }, - "grabpay_payments": { + "company_registration_verification": { "type": { "type": "nullable", "underlying_type": { - "name": "PostAccountsBodyCapabilitiesGrabpayPayments", + "name": "PostAccountsBodyDocumentsCompanyRegistrationVerification", "type": "named" } } }, - "ideal_payments": { + "company_tax_id_verification": { "type": { "type": "nullable", "underlying_type": { - "name": "PostAccountsBodyCapabilitiesIdealPayments", + "name": "PostAccountsBodyDocumentsCompanyTaxIdVerification", "type": "named" } } }, - "india_international_payments": { + "proof_of_registration": { "type": { "type": "nullable", "underlying_type": { - "name": "PostAccountsBodyCapabilitiesIndiaInternationalPayments", + "name": "PostAccountsBodyDocumentsProofOfRegistration", "type": "named" } } - }, - "jcb_payments": { + } + } + }, + "PostAccountsBodyDocumentsBankAccountOwnershipVerification": { + "fields": { + "files": { "type": { "type": "nullable", "underlying_type": { - "name": "PostAccountsBodyCapabilitiesJcbPayments", - "type": "named" + "element_type": { + "name": "String", + "type": "named" + }, + "type": "array" } } - }, - "klarna_payments": { + } + } + }, + "PostAccountsBodyDocumentsCompanyLicense": { + "fields": { + "files": { "type": { "type": "nullable", "underlying_type": { - "name": "PostAccountsBodyCapabilitiesKlarnaPayments", - "type": "named" + "element_type": { + "name": "String", + "type": "named" + }, + "type": "array" } } - }, - "konbini_payments": { + } + } + }, + "PostAccountsBodyDocumentsCompanyMemorandumOfAssociation": { + "fields": { + "files": { "type": { "type": "nullable", "underlying_type": { - "name": "PostAccountsBodyCapabilitiesKonbiniPayments", - "type": "named" + "element_type": { + "name": "String", + "type": "named" + }, + "type": "array" } } - }, - "legacy_payments": { + } + } + }, + "PostAccountsBodyDocumentsCompanyMinisterialDecree": { + "fields": { + "files": { "type": { "type": "nullable", "underlying_type": { - "name": "PostAccountsBodyCapabilitiesLegacyPayments", - "type": "named" + "element_type": { + "name": "String", + "type": "named" + }, + "type": "array" } } - }, - "link_payments": { + } + } + }, + "PostAccountsBodyDocumentsCompanyRegistrationVerification": { + "fields": { + "files": { "type": { "type": "nullable", "underlying_type": { - "name": "PostAccountsBodyCapabilitiesLinkPayments", - "type": "named" + "element_type": { + "name": "String", + "type": "named" + }, + "type": "array" } } - }, - "mobilepay_payments": { + } + } + }, + "PostAccountsBodyDocumentsCompanyTaxIdVerification": { + "fields": { + "files": { "type": { "type": "nullable", "underlying_type": { - "name": "PostAccountsBodyCapabilitiesMobilepayPayments", - "type": "named" + "element_type": { + "name": "String", + "type": "named" + }, + "type": "array" } } - }, - "oxxo_payments": { + } + } + }, + "PostAccountsBodyDocumentsProofOfRegistration": { + "fields": { + "files": { "type": { "type": "nullable", "underlying_type": { - "name": "PostAccountsBodyCapabilitiesOxxoPayments", + "element_type": { + "name": "String", + "type": "named" + }, + "type": "array" + } + } + } + } + }, + "PostAccountsBodyIndividual": { + "description": "Information about the person represented by the account. This field is null unless `business_type` is set to `individual`. Once you create an [Account Link](/api/account_links) or [Account Session](/api/account_sessions), this property can only be updated for accounts where [controller.requirement_collection](/api/accounts/object#account_object-controller-requirement_collection) is `application`, which includes Custom accounts.", + "fields": { + "address": { + "type": { + "type": "nullable", + "underlying_type": { + "name": "PostAccountsBodyIndividualAddress", "type": "named" } } }, - "p24_payments": { + "address_kana": { "type": { "type": "nullable", "underlying_type": { - "name": "PostAccountsBodyCapabilitiesP24Payments", + "name": "PostAccountsBodyIndividualAddressKana", "type": "named" } } }, - "paynow_payments": { + "address_kanji": { "type": { "type": "nullable", "underlying_type": { - "name": "PostAccountsBodyCapabilitiesPaynowPayments", + "name": "PostAccountsBodyIndividualAddressKanji", "type": "named" } } }, - "promptpay_payments": { + "dob": { "type": { "type": "nullable", "underlying_type": { - "name": "PostAccountsBodyCapabilitiesPromptpayPayments", + "name": "JSON", "type": "named" } } }, - "revolut_pay_payments": { + "email": { "type": { "type": "nullable", "underlying_type": { - "name": "PostAccountsBodyCapabilitiesRevolutPayPayments", + "name": "String", "type": "named" } } }, - "sepa_debit_payments": { + "first_name": { "type": { "type": "nullable", "underlying_type": { - "name": "PostAccountsBodyCapabilitiesSepaDebitPayments", + "name": "String", "type": "named" } } }, - "sofort_payments": { + "first_name_kana": { "type": { "type": "nullable", "underlying_type": { - "name": "PostAccountsBodyCapabilitiesSofortPayments", + "name": "String", "type": "named" } } }, - "swish_payments": { + "first_name_kanji": { "type": { "type": "nullable", "underlying_type": { - "name": "PostAccountsBodyCapabilitiesSwishPayments", + "name": "String", "type": "named" } } }, - "tax_reporting_us_1099_k": { + "full_name_aliases": { "type": { "type": "nullable", "underlying_type": { - "name": "PostAccountsBodyCapabilitiesTaxReportingUs1099K", + "name": "JSON", "type": "named" } } }, - "tax_reporting_us_1099_misc": { + "gender": { "type": { "type": "nullable", "underlying_type": { - "name": "PostAccountsBodyCapabilitiesTaxReportingUs1099Misc", + "name": "String", "type": "named" } } }, - "transfers": { + "id_number": { "type": { "type": "nullable", "underlying_type": { - "name": "PostAccountsBodyCapabilitiesTransfers", + "name": "String", "type": "named" } } }, - "treasury": { + "id_number_secondary": { "type": { "type": "nullable", "underlying_type": { - "name": "PostAccountsBodyCapabilitiesTreasury", + "name": "String", "type": "named" } } }, - "us_bank_account_ach_payments": { + "last_name": { "type": { "type": "nullable", "underlying_type": { - "name": "PostAccountsBodyCapabilitiesUsBankAccountAchPayments", + "name": "String", "type": "named" } } }, - "zip_payments": { + "last_name_kana": { "type": { "type": "nullable", "underlying_type": { - "name": "PostAccountsBodyCapabilitiesZipPayments", + "name": "String", "type": "named" } } - } - } - }, - "PostAccountsBodyCapabilitiesAcssDebitPayments": { - "fields": { - "requested": { + }, + "last_name_kanji": { "type": { "type": "nullable", "underlying_type": { - "name": "Boolean", + "name": "String", "type": "named" } } - } - } - }, - "PostAccountsBodyCapabilitiesAffirmPayments": { - "fields": { - "requested": { + }, + "maiden_name": { "type": { "type": "nullable", "underlying_type": { - "name": "Boolean", + "name": "String", "type": "named" } } - } - } - }, - "PostAccountsBodyCapabilitiesAfterpayClearpayPayments": { - "fields": { - "requested": { + }, + "metadata": { "type": { "type": "nullable", "underlying_type": { - "name": "Boolean", + "name": "JSON", "type": "named" } } - } - } - }, - "PostAccountsBodyCapabilitiesAmazonPayPayments": { - "fields": { - "requested": { + }, + "phone": { "type": { "type": "nullable", "underlying_type": { - "name": "Boolean", + "name": "String", "type": "named" } } - } - } - }, - "PostAccountsBodyCapabilitiesAuBecsDebitPayments": { - "fields": { - "requested": { + }, + "political_exposure": { "type": { "type": "nullable", "underlying_type": { - "name": "Boolean", + "name": "AccountsPoliticalExposure", "type": "named" } } - } - } - }, - "PostAccountsBodyCapabilitiesBacsDebitPayments": { - "fields": { - "requested": { + }, + "registered_address": { "type": { "type": "nullable", "underlying_type": { - "name": "Boolean", + "name": "PostAccountsBodyIndividualRegisteredAddress", "type": "named" } } - } - } - }, - "PostAccountsBodyCapabilitiesBancontactPayments": { - "fields": { - "requested": { + }, + "relationship": { "type": { "type": "nullable", "underlying_type": { - "name": "Boolean", + "name": "PostAccountsBodyIndividualRelationship", "type": "named" } } - } - } - }, - "PostAccountsBodyCapabilitiesBankTransferPayments": { - "fields": { - "requested": { + }, + "ssn_last_4": { "type": { "type": "nullable", "underlying_type": { - "name": "Boolean", + "name": "String", "type": "named" } } - } - } - }, - "PostAccountsBodyCapabilitiesBlikPayments": { - "fields": { - "requested": { + }, + "verification": { "type": { "type": "nullable", "underlying_type": { - "name": "Boolean", + "name": "PostAccountsBodyIndividualVerification", "type": "named" } } } } }, - "PostAccountsBodyCapabilitiesBoletoPayments": { + "PostAccountsBodyIndividualAddress": { "fields": { - "requested": { + "city": { "type": { "type": "nullable", "underlying_type": { - "name": "Boolean", + "name": "String", "type": "named" } } - } - } - }, - "PostAccountsBodyCapabilitiesCardIssuing": { - "fields": { - "requested": { + }, + "country": { "type": { "type": "nullable", "underlying_type": { - "name": "Boolean", + "name": "String", "type": "named" } } - } - } - }, - "PostAccountsBodyCapabilitiesCardPayments": { - "fields": { - "requested": { + }, + "line1": { "type": { "type": "nullable", "underlying_type": { - "name": "Boolean", + "name": "String", "type": "named" } } - } - } - }, - "PostAccountsBodyCapabilitiesCartesBancairesPayments": { - "fields": { - "requested": { + }, + "line2": { "type": { "type": "nullable", "underlying_type": { - "name": "Boolean", + "name": "String", "type": "named" } } - } - } - }, - "PostAccountsBodyCapabilitiesCashappPayments": { - "fields": { - "requested": { + }, + "postal_code": { "type": { "type": "nullable", "underlying_type": { - "name": "Boolean", + "name": "String", "type": "named" } } - } - } - }, - "PostAccountsBodyCapabilitiesEpsPayments": { - "fields": { - "requested": { + }, + "state": { "type": { "type": "nullable", "underlying_type": { - "name": "Boolean", + "name": "String", "type": "named" } } } } }, - "PostAccountsBodyCapabilitiesFpxPayments": { + "PostAccountsBodyIndividualAddressKana": { "fields": { - "requested": { + "city": { "type": { "type": "nullable", "underlying_type": { - "name": "Boolean", + "name": "String", "type": "named" } } - } - } - }, - "PostAccountsBodyCapabilitiesGiropayPayments": { - "fields": { - "requested": { + }, + "country": { "type": { "type": "nullable", "underlying_type": { - "name": "Boolean", + "name": "String", "type": "named" } } - } - } - }, - "PostAccountsBodyCapabilitiesGrabpayPayments": { - "fields": { - "requested": { + }, + "line1": { "type": { "type": "nullable", "underlying_type": { - "name": "Boolean", + "name": "String", "type": "named" } } - } - } - }, - "PostAccountsBodyCapabilitiesIdealPayments": { - "fields": { - "requested": { + }, + "line2": { "type": { "type": "nullable", "underlying_type": { - "name": "Boolean", + "name": "String", "type": "named" } } - } - } - }, - "PostAccountsBodyCapabilitiesIndiaInternationalPayments": { - "fields": { - "requested": { + }, + "postal_code": { "type": { "type": "nullable", "underlying_type": { - "name": "Boolean", + "name": "String", "type": "named" } } - } - } - }, - "PostAccountsBodyCapabilitiesJcbPayments": { - "fields": { - "requested": { + }, + "state": { "type": { "type": "nullable", "underlying_type": { - "name": "Boolean", + "name": "String", "type": "named" } } - } - } - }, - "PostAccountsBodyCapabilitiesKlarnaPayments": { - "fields": { - "requested": { + }, + "town": { "type": { "type": "nullable", "underlying_type": { - "name": "Boolean", + "name": "String", "type": "named" } } } } }, - "PostAccountsBodyCapabilitiesKonbiniPayments": { + "PostAccountsBodyIndividualAddressKanji": { "fields": { - "requested": { + "city": { "type": { "type": "nullable", "underlying_type": { - "name": "Boolean", + "name": "String", "type": "named" } } - } - } - }, - "PostAccountsBodyCapabilitiesLegacyPayments": { - "fields": { - "requested": { + }, + "country": { "type": { "type": "nullable", "underlying_type": { - "name": "Boolean", + "name": "String", "type": "named" } } - } - } - }, - "PostAccountsBodyCapabilitiesLinkPayments": { - "fields": { - "requested": { + }, + "line1": { "type": { "type": "nullable", "underlying_type": { - "name": "Boolean", + "name": "String", "type": "named" } } - } - } - }, - "PostAccountsBodyCapabilitiesMobilepayPayments": { - "fields": { - "requested": { + }, + "line2": { "type": { "type": "nullable", "underlying_type": { - "name": "Boolean", + "name": "String", "type": "named" } } - } - } - }, - "PostAccountsBodyCapabilitiesOxxoPayments": { - "fields": { - "requested": { + }, + "postal_code": { "type": { "type": "nullable", "underlying_type": { - "name": "Boolean", + "name": "String", "type": "named" } } - } - } - }, - "PostAccountsBodyCapabilitiesP24Payments": { - "fields": { - "requested": { + }, + "state": { "type": { "type": "nullable", "underlying_type": { - "name": "Boolean", + "name": "String", "type": "named" } } - } - } - }, - "PostAccountsBodyCapabilitiesPaynowPayments": { - "fields": { - "requested": { + }, + "town": { "type": { "type": "nullable", "underlying_type": { - "name": "Boolean", + "name": "String", "type": "named" } } } } }, - "PostAccountsBodyCapabilitiesPromptpayPayments": { + "PostAccountsBodyIndividualRegisteredAddress": { "fields": { - "requested": { + "city": { "type": { "type": "nullable", "underlying_type": { - "name": "Boolean", + "name": "String", "type": "named" } } - } - } - }, - "PostAccountsBodyCapabilitiesRevolutPayPayments": { - "fields": { - "requested": { + }, + "country": { "type": { "type": "nullable", "underlying_type": { - "name": "Boolean", + "name": "String", "type": "named" } } - } - } - }, - "PostAccountsBodyCapabilitiesSepaDebitPayments": { - "fields": { - "requested": { + }, + "line1": { "type": { "type": "nullable", "underlying_type": { - "name": "Boolean", + "name": "String", "type": "named" } } - } - } - }, - "PostAccountsBodyCapabilitiesSofortPayments": { - "fields": { - "requested": { + }, + "line2": { "type": { "type": "nullable", "underlying_type": { - "name": "Boolean", + "name": "String", "type": "named" } } - } - } - }, - "PostAccountsBodyCapabilitiesSwishPayments": { - "fields": { - "requested": { + }, + "postal_code": { "type": { "type": "nullable", "underlying_type": { - "name": "Boolean", + "name": "String", "type": "named" } } - } - } - }, - "PostAccountsBodyCapabilitiesTaxReportingUs1099K": { - "fields": { - "requested": { + }, + "state": { "type": { "type": "nullable", "underlying_type": { - "name": "Boolean", + "name": "String", "type": "named" } } } } }, - "PostAccountsBodyCapabilitiesTaxReportingUs1099Misc": { + "PostAccountsBodyIndividualRelationship": { "fields": { - "requested": { + "director": { "type": { "type": "nullable", "underlying_type": { @@ -70772,12 +74972,8 @@ "type": "named" } } - } - } - }, - "PostAccountsBodyCapabilitiesTransfers": { - "fields": { - "requested": { + }, + "executive": { "type": { "type": "nullable", "underlying_type": { @@ -70785,12 +74981,8 @@ "type": "named" } } - } - } - }, - "PostAccountsBodyCapabilitiesTreasury": { - "fields": { - "requested": { + }, + "owner": { "type": { "type": "nullable", "underlying_type": { @@ -70798,84 +74990,83 @@ "type": "named" } } - } - } - }, - "PostAccountsBodyCapabilitiesUsBankAccountAchPayments": { - "fields": { - "requested": { + }, + "percent_ownership": { "type": { "type": "nullable", "underlying_type": { - "name": "Boolean", + "name": "JSON", "type": "named" } } - } - } - }, - "PostAccountsBodyCapabilitiesZipPayments": { - "fields": { - "requested": { + }, + "title": { "type": { "type": "nullable", "underlying_type": { - "name": "Boolean", + "name": "String", "type": "named" } } } } }, - "PostAccountsBodyCompany": { - "description": "Information about the company or business. This field is available for any `business_type`. Once you create an [Account Link](https://docs.stripe.com/api/account_links) or [Account Session](https://docs.stripe.com/api/account_sessions), this property can only be updated for Custom accounts.", + "PostAccountsBodyIndividualVerification": { "fields": { - "address": { + "additional_document": { "type": { "type": "nullable", "underlying_type": { - "name": "PostAccountsBodyCompanyAddress", + "name": "PostAccountsBodyIndividualVerificationAdditionalDocument", "type": "named" } } }, - "address_kana": { + "document": { "type": { "type": "nullable", "underlying_type": { - "name": "PostAccountsBodyCompanyAddressKana", + "name": "PostAccountsBodyIndividualVerificationDocument", "type": "named" } } - }, - "address_kanji": { + } + } + }, + "PostAccountsBodyIndividualVerificationAdditionalDocument": { + "fields": { + "back": { "type": { "type": "nullable", "underlying_type": { - "name": "PostAccountsBodyCompanyAddressKanji", + "name": "String", "type": "named" } } }, - "directors_provided": { + "front": { "type": { "type": "nullable", "underlying_type": { - "name": "Boolean", + "name": "String", "type": "named" } } - }, - "executives_provided": { + } + } + }, + "PostAccountsBodyIndividualVerificationDocument": { + "fields": { + "back": { "type": { "type": "nullable", "underlying_type": { - "name": "Boolean", + "name": "String", "type": "named" } } }, - "export_license_id": { + "front": { "type": { "type": "nullable", "underlying_type": { @@ -70883,71 +75074,80 @@ "type": "named" } } - }, - "export_purpose_code": { + } + } + }, + "PostAccountsBodySettings": { + "description": "Options for customizing how the account functions within Stripe.", + "fields": { + "bacs_debit_payments": { "type": { "type": "nullable", "underlying_type": { - "name": "String", + "name": "PostAccountsBodySettingsBacsDebitPayments", "type": "named" } } }, - "name": { + "branding": { "type": { "type": "nullable", "underlying_type": { - "name": "String", + "name": "PostAccountsBodySettingsBranding", "type": "named" } } }, - "name_kana": { + "card_issuing": { "type": { "type": "nullable", "underlying_type": { - "name": "String", + "name": "PostAccountsBodySettingsCardIssuing", "type": "named" } } }, - "name_kanji": { + "card_payments": { "type": { "type": "nullable", "underlying_type": { - "name": "String", + "name": "PostAccountsBodySettingsCardPayments", "type": "named" } } }, - "owners_provided": { + "payments": { "type": { "type": "nullable", "underlying_type": { - "name": "Boolean", + "name": "PostAccountsBodySettingsPayments", "type": "named" } } }, - "ownership_declaration": { + "payouts": { "type": { "type": "nullable", "underlying_type": { - "name": "PostAccountsBodyCompanyOwnershipDeclaration", + "name": "PostAccountsBodySettingsPayouts", "type": "named" } } }, - "phone": { + "treasury": { "type": { "type": "nullable", "underlying_type": { - "name": "String", + "name": "PostAccountsBodySettingsTreasury", "type": "named" } } - }, - "registration_number": { + } + } + }, + "PostAccountsBodySettingsBacsDebitPayments": { + "fields": { + "display_name": { "type": { "type": "nullable", "underlying_type": { @@ -70955,17 +75155,21 @@ "type": "named" } } - }, - "structure": { + } + } + }, + "PostAccountsBodySettingsBranding": { + "fields": { + "icon": { "type": { "type": "nullable", "underlying_type": { - "name": "AccountsStructure", + "name": "String", "type": "named" } } }, - "tax_id": { + "logo": { "type": { "type": "nullable", "underlying_type": { @@ -70974,7 +75178,7 @@ } } }, - "tax_id_registrar": { + "primary_color": { "type": { "type": "nullable", "underlying_type": { @@ -70983,7 +75187,7 @@ } } }, - "vat_id": { + "secondary_color": { "type": { "type": "nullable", "underlying_type": { @@ -70991,30 +75195,34 @@ "type": "named" } } - }, - "verification": { + } + } + }, + "PostAccountsBodySettingsCardIssuing": { + "fields": { + "tos_acceptance": { "type": { "type": "nullable", "underlying_type": { - "name": "PostAccountsBodyCompanyVerification", + "name": "PostAccountsBodySettingsCardIssuingTosAcceptance", "type": "named" } } } } }, - "PostAccountsBodyCompanyAddress": { + "PostAccountsBodySettingsCardIssuingTosAcceptance": { "fields": { - "city": { + "date": { "type": { "type": "nullable", "underlying_type": { - "name": "String", + "name": "UnixTime", "type": "named" } } }, - "country": { + "ip": { "type": { "type": "nullable", "underlying_type": { @@ -71023,25 +75231,29 @@ } } }, - "line1": { + "user_agent": { "type": { "type": "nullable", "underlying_type": { - "name": "String", + "name": "JSON", "type": "named" } } - }, - "line2": { + } + } + }, + "PostAccountsBodySettingsCardPayments": { + "fields": { + "decline_on": { "type": { "type": "nullable", "underlying_type": { - "name": "String", + "name": "PostAccountsBodySettingsCardPaymentsDeclineOn", "type": "named" } } }, - "postal_code": { + "statement_descriptor_prefix": { "type": { "type": "nullable", "underlying_type": { @@ -71050,56 +75262,51 @@ } } }, - "state": { - "type": { - "type": "nullable", - "underlying_type": { - "name": "String", - "type": "named" - } - } - } - } - }, - "PostAccountsBodyCompanyAddressKana": { - "fields": { - "city": { + "statement_descriptor_prefix_kana": { "type": { "type": "nullable", "underlying_type": { - "name": "String", + "name": "JSON", "type": "named" } } }, - "country": { + "statement_descriptor_prefix_kanji": { "type": { "type": "nullable", "underlying_type": { - "name": "String", + "name": "JSON", "type": "named" } } - }, - "line1": { + } + } + }, + "PostAccountsBodySettingsCardPaymentsDeclineOn": { + "fields": { + "avs_failure": { "type": { "type": "nullable", "underlying_type": { - "name": "String", + "name": "Boolean", "type": "named" } } }, - "line2": { + "cvc_failure": { "type": { "type": "nullable", "underlying_type": { - "name": "String", + "name": "Boolean", "type": "named" } } - }, - "postal_code": { + } + } + }, + "PostAccountsBodySettingsPayments": { + "fields": { + "statement_descriptor": { "type": { "type": "nullable", "underlying_type": { @@ -71108,7 +75315,7 @@ } } }, - "state": { + "statement_descriptor_kana": { "type": { "type": "nullable", "underlying_type": { @@ -71117,7 +75324,7 @@ } } }, - "town": { + "statement_descriptor_kanji": { "type": { "type": "nullable", "underlying_type": { @@ -71128,27 +75335,27 @@ } } }, - "PostAccountsBodyCompanyAddressKanji": { + "PostAccountsBodySettingsPayouts": { "fields": { - "city": { + "debit_negative_balances": { "type": { "type": "nullable", "underlying_type": { - "name": "String", + "name": "Boolean", "type": "named" } } }, - "country": { + "schedule": { "type": { "type": "nullable", "underlying_type": { - "name": "String", + "name": "PostAccountsBodySettingsPayoutsSchedule", "type": "named" } } }, - "line1": { + "statement_descriptor": { "type": { "type": "nullable", "underlying_type": { @@ -71156,92 +75363,74 @@ "type": "named" } } - }, - "line2": { + } + } + }, + "PostAccountsBodySettingsPayoutsSchedule": { + "fields": { + "delay_days": { "type": { "type": "nullable", "underlying_type": { - "name": "String", + "name": "JSON", "type": "named" } } }, - "postal_code": { + "interval": { "type": { "type": "nullable", "underlying_type": { - "name": "String", + "name": "AccountsInterval", "type": "named" } } }, - "state": { + "monthly_anchor": { "type": { "type": "nullable", "underlying_type": { - "name": "String", + "name": "Int32", "type": "named" } } }, - "town": { + "weekly_anchor": { "type": { "type": "nullable", "underlying_type": { - "name": "String", + "name": "AccountsWeeklyAnchor", "type": "named" } } } } }, - "PostAccountsBodyCompanyOwnershipDeclaration": { + "PostAccountsBodySettingsTreasury": { "fields": { - "date": { - "type": { - "type": "nullable", - "underlying_type": { - "name": "UnixTime", - "type": "named" - } - } - }, - "ip": { - "type": { - "type": "nullable", - "underlying_type": { - "name": "String", - "type": "named" - } - } - }, - "user_agent": { + "tos_acceptance": { "type": { "type": "nullable", "underlying_type": { - "name": "String", + "name": "PostAccountsBodySettingsTreasuryTosAcceptance", "type": "named" } } } } }, - "PostAccountsBodyCompanyVerification": { + "PostAccountsBodySettingsTreasuryTosAcceptance": { "fields": { - "document": { + "date": { "type": { "type": "nullable", "underlying_type": { - "name": "PostAccountsBodyCompanyVerificationDocument", + "name": "UnixTime", "type": "named" } } - } - } - }, - "PostAccountsBodyCompanyVerificationDocument": { - "fields": { - "back": { + }, + "ip": { "type": { "type": "nullable", "underlying_type": { @@ -71250,550 +75439,679 @@ } } }, - "front": { + "user_agent": { "type": { "type": "nullable", "underlying_type": { - "name": "String", + "name": "JSON", "type": "named" } } } } }, - "PostAccountsBodyController": { - "description": "A hash of configuration describing the account controller's attributes.", + "PostAccountsBodyTosAcceptance": { + "description": "Details on the account's acceptance of the [Stripe Services Agreement](/connect/updating-accounts#tos-acceptance). This property can only be updated for accounts where [controller.requirement_collection](/api/accounts/object#account_object-controller-requirement_collection) is `application`, which includes Custom accounts.", "fields": { - "fees": { + "date": { "type": { "type": "nullable", "underlying_type": { - "name": "PostAccountsBodyControllerFees", + "name": "UnixTime", "type": "named" } } }, - "losses": { + "ip": { "type": { "type": "nullable", "underlying_type": { - "name": "PostAccountsBodyControllerLosses", + "name": "String", "type": "named" } } }, - "requirement_collection": { + "service_agreement": { "type": { "type": "nullable", "underlying_type": { - "name": "AccountsRequirementCollection", + "name": "String", "type": "named" } } }, - "stripe_dashboard": { + "user_agent": { "type": { "type": "nullable", "underlying_type": { - "name": "PostAccountsBodyControllerStripeDashboard", + "name": "String", "type": "named" } } } } }, - "PostAccountsBodyControllerFees": { + "PostAppsSecretsBodyScope": { + "description": "Specifies the scoping of the secret. Requests originating from UI extensions can only access account-scoped secrets or secrets scoped to their own user.", "fields": { - "payer": { + "type": { + "type": { + "name": "AppsType", + "type": "named" + } + }, + "user": { "type": { "type": "nullable", "underlying_type": { - "name": "AccountsPayer", + "name": "String", "type": "named" } } } } }, - "PostAccountsBodyControllerLosses": { + "PostAppsSecretsDeleteBodyScope": { + "description": "Specifies the scoping of the secret. Requests originating from UI extensions can only access account-scoped secrets or secrets scoped to their own user.", "fields": { - "payments": { + "type": { + "type": { + "name": "AppsType", + "type": "named" + } + }, + "user": { "type": { "type": "nullable", "underlying_type": { - "name": "AccountsPayments", + "name": "String", "type": "named" } } } } }, - "PostAccountsBodyControllerStripeDashboard": { + "PostBillingMeterEventAdjustmentsBodyCancel": { + "description": "Specifies which event to cancel.", "fields": { - "type": { + "identifier": { "type": { "type": "nullable", "underlying_type": { - "name": "AccountsType", + "name": "String", "type": "named" } } } } }, - "PostAccountsBodyDocuments": { - "description": "Documents that may be submitted to satisfy various informational requests.", + "PostBillingMetersBodyCustomerMapping": { + "description": "Fields that specify how to map a meter event to a customer.", "fields": { - "bank_account_ownership_verification": { + "event_payload_key": { + "type": { + "name": "String", + "type": "named" + } + }, + "type": { + "type": { + "name": "PostBillingMetersBodyCustomerMappingType", + "type": "named" + } + } + } + }, + "PostBillingMetersBodyDefaultAggregation": { + "description": "The default settings to aggregate a meter's events with.", + "fields": { + "formula": { + "type": { + "name": "BillingFormula", + "type": "named" + } + } + } + }, + "PostBillingMetersBodyValueSettings": { + "description": "Fields that specify how to calculate a meter event's value.", + "fields": { + "event_payload_key": { + "type": { + "name": "String", + "type": "named" + } + } + } + }, + "PostBillingPortalConfigurationsBodyBusinessProfile": { + "description": "The business information shown to customers in the portal.", + "fields": { + "headline": { "type": { "type": "nullable", "underlying_type": { - "name": "PostAccountsBodyDocumentsBankAccountOwnershipVerification", + "name": "JSON", "type": "named" } } }, - "company_license": { + "privacy_policy_url": { "type": { "type": "nullable", "underlying_type": { - "name": "PostAccountsBodyDocumentsCompanyLicense", + "name": "String", "type": "named" } } }, - "company_memorandum_of_association": { + "terms_of_service_url": { "type": { "type": "nullable", "underlying_type": { - "name": "PostAccountsBodyDocumentsCompanyMemorandumOfAssociation", + "name": "String", + "type": "named" + } + } + } + } + }, + "PostBillingPortalConfigurationsBodyFeatures": { + "description": "Information about the features available in the portal.", + "fields": { + "customer_update": { + "type": { + "type": "nullable", + "underlying_type": { + "name": "PostBillingPortalConfigurationsBodyFeaturesCustomerUpdate", "type": "named" } } }, - "company_ministerial_decree": { + "invoice_history": { "type": { "type": "nullable", "underlying_type": { - "name": "PostAccountsBodyDocumentsCompanyMinisterialDecree", + "name": "PostBillingPortalConfigurationsBodyFeaturesInvoiceHistory", "type": "named" } } }, - "company_registration_verification": { + "payment_method_update": { "type": { "type": "nullable", "underlying_type": { - "name": "PostAccountsBodyDocumentsCompanyRegistrationVerification", + "name": "PostBillingPortalConfigurationsBodyFeaturesPaymentMethodUpdate", "type": "named" } } }, - "company_tax_id_verification": { + "subscription_cancel": { "type": { "type": "nullable", "underlying_type": { - "name": "PostAccountsBodyDocumentsCompanyTaxIdVerification", + "name": "PostBillingPortalConfigurationsBodyFeaturesSubscriptionCancel", "type": "named" } } }, - "proof_of_registration": { + "subscription_update": { "type": { "type": "nullable", "underlying_type": { - "name": "PostAccountsBodyDocumentsProofOfRegistration", + "name": "PostBillingPortalConfigurationsBodyFeaturesSubscriptionUpdate", "type": "named" } } } } }, - "PostAccountsBodyDocumentsBankAccountOwnershipVerification": { + "PostBillingPortalConfigurationsBodyFeaturesCustomerUpdate": { "fields": { - "files": { + "allowed_updates": { "type": { "type": "nullable", "underlying_type": { - "element_type": { - "name": "String", - "type": "named" - }, - "type": "array" + "name": "JSON", + "type": "named" } } + }, + "enabled": { + "type": { + "name": "Boolean", + "type": "named" + } } } }, - "PostAccountsBodyDocumentsCompanyLicense": { + "PostBillingPortalConfigurationsBodyFeaturesInvoiceHistory": { "fields": { - "files": { + "enabled": { "type": { - "type": "nullable", - "underlying_type": { - "element_type": { - "name": "String", - "type": "named" - }, - "type": "array" - } + "name": "Boolean", + "type": "named" } } } }, - "PostAccountsBodyDocumentsCompanyMemorandumOfAssociation": { + "PostBillingPortalConfigurationsBodyFeaturesPaymentMethodUpdate": { "fields": { - "files": { + "enabled": { "type": { - "type": "nullable", - "underlying_type": { - "element_type": { - "name": "String", - "type": "named" - }, - "type": "array" - } + "name": "Boolean", + "type": "named" } } } }, - "PostAccountsBodyDocumentsCompanyMinisterialDecree": { + "PostBillingPortalConfigurationsBodyFeaturesSubscriptionCancel": { "fields": { - "files": { + "cancellation_reason": { "type": { "type": "nullable", "underlying_type": { - "element_type": { - "name": "String", - "type": "named" - }, - "type": "array" + "name": "PostBillingPortalConfigurationsBodyFeaturesSubscriptionCancelCancellationReason", + "type": "named" } } - } - } - }, - "PostAccountsBodyDocumentsCompanyRegistrationVerification": { - "fields": { - "files": { + }, + "enabled": { + "type": { + "name": "Boolean", + "type": "named" + } + }, + "mode": { "type": { "type": "nullable", "underlying_type": { - "element_type": { - "name": "String", - "type": "named" - }, - "type": "array" + "name": "BillingPortalMode", + "type": "named" } } - } - } - }, - "PostAccountsBodyDocumentsCompanyTaxIdVerification": { - "fields": { - "files": { + }, + "proration_behavior": { "type": { "type": "nullable", "underlying_type": { - "element_type": { - "name": "String", - "type": "named" - }, - "type": "array" + "name": "BillingPortalProrationBehavior", + "type": "named" } } } } }, - "PostAccountsBodyDocumentsProofOfRegistration": { + "PostBillingPortalConfigurationsBodyFeaturesSubscriptionCancelCancellationReason": { "fields": { - "files": { + "enabled": { "type": { - "type": "nullable", - "underlying_type": { - "element_type": { - "name": "String", - "type": "named" - }, - "type": "array" - } + "name": "Boolean", + "type": "named" + } + }, + "options": { + "type": { + "name": "JSON", + "type": "named" } } } }, - "PostAccountsBodyIndividual": { - "description": "Information about the person represented by the account. This field is null unless `business_type` is set to `individual`. Once you create an [Account Link](https://docs.stripe.com/api/account_links) or [Account Session](https://docs.stripe.com/api/account_sessions), this property can only be updated for Custom accounts.", + "PostBillingPortalConfigurationsBodyFeaturesSubscriptionUpdate": { "fields": { - "address": { + "default_allowed_updates": { "type": { - "type": "nullable", - "underlying_type": { - "name": "PostAccountsBodyIndividualAddress", - "type": "named" - } + "name": "JSON", + "type": "named" } }, - "address_kana": { + "enabled": { "type": { - "type": "nullable", - "underlying_type": { - "name": "PostAccountsBodyIndividualAddressKana", - "type": "named" - } + "name": "Boolean", + "type": "named" } }, - "address_kanji": { + "products": { "type": { - "type": "nullable", - "underlying_type": { - "name": "PostAccountsBodyIndividualAddressKanji", - "type": "named" - } + "name": "JSON", + "type": "named" } }, - "dob": { + "proration_behavior": { "type": { "type": "nullable", "underlying_type": { - "name": "JSON", + "name": "BillingPortalProrationBehavior", "type": "named" } } - }, - "email": { + } + } + }, + "PostBillingPortalConfigurationsBodyLoginPage": { + "description": "The hosted login page for this configuration. Learn more about the portal login page in our [integration docs](https://stripe.com/docs/billing/subscriptions/integrating-customer-portal#share).", + "fields": { + "enabled": { + "type": { + "name": "Boolean", + "type": "named" + } + } + } + }, + "PostBillingPortalConfigurationsConfigurationBodyBusinessProfile": { + "description": "The business information shown to customers in the portal.", + "fields": { + "headline": { "type": { "type": "nullable", "underlying_type": { - "name": "String", + "name": "JSON", "type": "named" } } }, - "first_name": { + "privacy_policy_url": { "type": { "type": "nullable", "underlying_type": { - "name": "String", + "name": "JSON", "type": "named" } } }, - "first_name_kana": { + "terms_of_service_url": { "type": { "type": "nullable", "underlying_type": { - "name": "String", + "name": "JSON", "type": "named" } } - }, - "first_name_kanji": { + } + } + }, + "PostBillingPortalConfigurationsConfigurationBodyFeatures": { + "description": "Information about the features available in the portal.", + "fields": { + "customer_update": { "type": { "type": "nullable", "underlying_type": { - "name": "String", + "name": "PostBillingPortalConfigurationsConfigurationBodyFeaturesCustomerUpdate", "type": "named" } } }, - "full_name_aliases": { + "invoice_history": { "type": { "type": "nullable", "underlying_type": { - "name": "JSON", + "name": "PostBillingPortalConfigurationsConfigurationBodyFeaturesInvoiceHistory", "type": "named" } } }, - "gender": { + "payment_method_update": { "type": { "type": "nullable", "underlying_type": { - "name": "String", + "name": "PostBillingPortalConfigurationsConfigurationBodyFeaturesPaymentMethodUpdate", "type": "named" } } }, - "id_number": { + "subscription_cancel": { "type": { "type": "nullable", "underlying_type": { - "name": "String", + "name": "PostBillingPortalConfigurationsConfigurationBodyFeaturesSubscriptionCancel", "type": "named" } } }, - "id_number_secondary": { + "subscription_update": { "type": { "type": "nullable", "underlying_type": { - "name": "String", + "name": "PostBillingPortalConfigurationsConfigurationBodyFeaturesSubscriptionUpdate", "type": "named" } } - }, - "last_name": { + } + } + }, + "PostBillingPortalConfigurationsConfigurationBodyFeaturesCustomerUpdate": { + "fields": { + "allowed_updates": { "type": { "type": "nullable", "underlying_type": { - "name": "String", + "name": "JSON", "type": "named" } } }, - "last_name_kana": { + "enabled": { "type": { "type": "nullable", "underlying_type": { - "name": "String", + "name": "Boolean", "type": "named" } } - }, - "last_name_kanji": { + } + } + }, + "PostBillingPortalConfigurationsConfigurationBodyFeaturesInvoiceHistory": { + "fields": { + "enabled": { + "type": { + "name": "Boolean", + "type": "named" + } + } + } + }, + "PostBillingPortalConfigurationsConfigurationBodyFeaturesPaymentMethodUpdate": { + "fields": { + "enabled": { + "type": { + "name": "Boolean", + "type": "named" + } + } + } + }, + "PostBillingPortalConfigurationsConfigurationBodyFeaturesSubscriptionCancel": { + "fields": { + "cancellation_reason": { "type": { "type": "nullable", "underlying_type": { - "name": "String", + "name": "PostBillingPortalConfigurationsConfigurationBodyFeaturesSubscriptionCancelCancellationReason", "type": "named" } } }, - "maiden_name": { + "enabled": { "type": { "type": "nullable", "underlying_type": { - "name": "String", + "name": "Boolean", "type": "named" } } }, - "metadata": { + "mode": { "type": { "type": "nullable", "underlying_type": { - "name": "JSON", + "name": "BillingPortalMode", "type": "named" } } }, - "phone": { + "proration_behavior": { "type": { "type": "nullable", "underlying_type": { - "name": "String", + "name": "BillingPortalProrationBehavior", "type": "named" } } + } + } + }, + "PostBillingPortalConfigurationsConfigurationBodyFeaturesSubscriptionCancelCancellationReason": { + "fields": { + "enabled": { + "type": { + "name": "Boolean", + "type": "named" + } }, - "political_exposure": { + "options": { "type": { "type": "nullable", "underlying_type": { - "name": "AccountsPoliticalExposure", + "name": "JSON", "type": "named" } } - }, - "registered_address": { + } + } + }, + "PostBillingPortalConfigurationsConfigurationBodyFeaturesSubscriptionUpdate": { + "fields": { + "default_allowed_updates": { "type": { "type": "nullable", "underlying_type": { - "name": "PostAccountsBodyIndividualRegisteredAddress", + "name": "JSON", "type": "named" } } }, - "relationship": { + "enabled": { "type": { "type": "nullable", "underlying_type": { - "name": "PostAccountsBodyIndividualRelationship", + "name": "Boolean", "type": "named" } } }, - "ssn_last_4": { + "products": { "type": { "type": "nullable", "underlying_type": { - "name": "String", + "name": "JSON", "type": "named" } } }, - "verification": { + "proration_behavior": { "type": { "type": "nullable", "underlying_type": { - "name": "PostAccountsBodyIndividualVerification", + "name": "BillingPortalProrationBehavior", "type": "named" } } } } }, - "PostAccountsBodyIndividualAddress": { + "PostBillingPortalConfigurationsConfigurationBodyLoginPage": { + "description": "The hosted login page for this configuration. Learn more about the portal login page in our [integration docs](https://stripe.com/docs/billing/subscriptions/integrating-customer-portal#share).", "fields": { - "city": { + "enabled": { + "type": { + "name": "Boolean", + "type": "named" + } + } + } + }, + "PostBillingPortalSessionsBodyFlowData": { + "description": "Information about a specific flow for the customer to go through. See the [docs](https://stripe.com/docs/customer-management/portal-deep-links) to learn more about using customer portal deep links and flows.", + "fields": { + "after_completion": { "type": { "type": "nullable", "underlying_type": { - "name": "String", + "name": "PostBillingPortalSessionsBodyFlowDataAfterCompletion", "type": "named" } } }, - "country": { + "subscription_cancel": { "type": { "type": "nullable", "underlying_type": { - "name": "String", + "name": "PostBillingPortalSessionsBodyFlowDataSubscriptionCancel", "type": "named" } } }, - "line1": { + "subscription_update": { "type": { "type": "nullable", "underlying_type": { - "name": "String", + "name": "PostBillingPortalSessionsBodyFlowDataSubscriptionUpdate", "type": "named" } } }, - "line2": { + "subscription_update_confirm": { "type": { "type": "nullable", "underlying_type": { - "name": "String", + "name": "PostBillingPortalSessionsBodyFlowDataSubscriptionUpdateConfirm", "type": "named" } } }, - "postal_code": { + "type": { + "type": { + "name": "PostBillingPortalSessionsBodyFlowDataType", + "type": "named" + } + } + } + }, + "PostBillingPortalSessionsBodyFlowDataAfterCompletion": { + "fields": { + "hosted_confirmation": { "type": { "type": "nullable", "underlying_type": { - "name": "String", + "name": "PostBillingPortalSessionsBodyFlowDataAfterCompletionHostedConfirmation", "type": "named" } } }, - "state": { + "redirect": { "type": { "type": "nullable", "underlying_type": { - "name": "String", + "name": "PostBillingPortalSessionsBodyFlowDataAfterCompletionRedirect", "type": "named" } } + }, + "type": { + "type": { + "name": "BillingPortalType", + "type": "named" + } } } }, - "PostAccountsBodyIndividualAddressKana": { + "PostBillingPortalSessionsBodyFlowDataAfterCompletionHostedConfirmation": { "fields": { - "city": { + "custom_message": { "type": { "type": "nullable", "underlying_type": { @@ -71801,44 +76119,108 @@ "type": "named" } } - }, - "country": { + } + } + }, + "PostBillingPortalSessionsBodyFlowDataAfterCompletionRedirect": { + "fields": { + "return_url": { + "type": { + "name": "String", + "type": "named" + } + } + } + }, + "PostBillingPortalSessionsBodyFlowDataSubscriptionCancel": { + "fields": { + "retention": { "type": { "type": "nullable", "underlying_type": { - "name": "String", + "name": "PostBillingPortalSessionsBodyFlowDataSubscriptionCancelRetention", "type": "named" } } }, - "line1": { + "subscription": { "type": { - "type": "nullable", - "underlying_type": { - "name": "String", - "type": "named" - } + "name": "String", + "type": "named" + } + } + } + }, + "PostBillingPortalSessionsBodyFlowDataSubscriptionCancelRetention": { + "fields": { + "coupon_offer": { + "type": { + "name": "PostBillingPortalSessionsBodyFlowDataSubscriptionCancelRetentionCouponOffer", + "type": "named" } }, - "line2": { + "type": { + "type": { + "name": "PostBillingPortalSessionsBodyFlowDataSubscriptionCancelRetentionType", + "type": "named" + } + } + } + }, + "PostBillingPortalSessionsBodyFlowDataSubscriptionCancelRetentionCouponOffer": { + "fields": { + "coupon": { + "type": { + "name": "String", + "type": "named" + } + } + } + }, + "PostBillingPortalSessionsBodyFlowDataSubscriptionUpdate": { + "fields": { + "subscription": { + "type": { + "name": "String", + "type": "named" + } + } + } + }, + "PostBillingPortalSessionsBodyFlowDataSubscriptionUpdateConfirm": { + "fields": { + "discounts": { "type": { "type": "nullable", "underlying_type": { - "name": "String", - "type": "named" + "element_type": { + "name": "PostBillingPortalSessionsBodyFlowDataSubscriptionUpdateConfirmDiscounts", + "type": "named" + }, + "type": "array" } } }, - "postal_code": { + "items": { "type": { - "type": "nullable", - "underlying_type": { - "name": "String", + "element_type": { + "name": "PostBillingPortalSessionsBodyFlowDataSubscriptionUpdateConfirmItems", "type": "named" - } + }, + "type": "array" } }, - "state": { + "subscription": { + "type": { + "name": "String", + "type": "named" + } + } + } + }, + "PostBillingPortalSessionsBodyFlowDataSubscriptionUpdateConfirmDiscounts": { + "fields": { + "coupon": { "type": { "type": "nullable", "underlying_type": { @@ -71847,7 +76229,7 @@ } } }, - "town": { + "promotion_code": { "type": { "type": "nullable", "underlying_type": { @@ -71858,18 +76240,15 @@ } } }, - "PostAccountsBodyIndividualAddressKanji": { + "PostBillingPortalSessionsBodyFlowDataSubscriptionUpdateConfirmItems": { "fields": { - "city": { + "id": { "type": { - "type": "nullable", - "underlying_type": { - "name": "String", - "type": "named" - } + "name": "String", + "type": "named" } }, - "country": { + "price": { "type": { "type": "nullable", "underlying_type": { @@ -71878,16 +76257,21 @@ } } }, - "line1": { + "quantity": { "type": { "type": "nullable", "underlying_type": { - "name": "String", + "name": "Int32", "type": "named" } } - }, - "line2": { + } + } + }, + "PostChargesBodyRadarOptions": { + "description": "Options to configure Radar. See [Radar Session](https://stripe.com/docs/radar/radar-session) for more information.", + "fields": { + "session": { "type": { "type": "nullable", "underlying_type": { @@ -71895,8 +76279,19 @@ "type": "named" } } + } + } + }, + "PostChargesBodyShipping": { + "description": "Shipping information for the charge. Helps prevent fraud on charges for physical goods.", + "fields": { + "address": { + "type": { + "name": "PostChargesBodyShippingAddress", + "type": "named" + } }, - "postal_code": { + "carrier": { "type": { "type": "nullable", "underlying_type": { @@ -71905,7 +76300,13 @@ } } }, - "state": { + "name": { + "type": { + "name": "String", + "type": "named" + } + }, + "phone": { "type": { "type": "nullable", "underlying_type": { @@ -71914,7 +76315,7 @@ } } }, - "town": { + "tracking_number": { "type": { "type": "nullable", "underlying_type": { @@ -71925,7 +76326,7 @@ } } }, - "PostAccountsBodyIndividualRegisteredAddress": { + "PostChargesBodyShippingAddress": { "fields": { "city": { "type": { @@ -71983,45 +76384,71 @@ } } }, - "PostAccountsBodyIndividualRelationship": { + "PostChargesBodyTransferData": { + "description": "An optional dictionary including the account to automatically transfer to as part of a destination charge. [See the Connect documentation](https://stripe.com/docs/connect/destination-charges) for details.", "fields": { - "director": { + "amount": { "type": { "type": "nullable", "underlying_type": { - "name": "Boolean", + "name": "Int32", "type": "named" } } }, - "executive": { + "destination": { "type": { - "type": "nullable", - "underlying_type": { - "name": "Boolean", - "type": "named" - } + "name": "String", + "type": "named" + } + } + } + }, + "PostChargesChargeBodyFraudDetails": { + "description": "A set of key-value pairs you can attach to a charge giving information about its riskiness. If you believe a charge is fraudulent, include a `user_report` key with a value of `fraudulent`. If you believe a charge is safe, include a `user_report` key with a value of `safe`. Stripe will use the information you send to improve our fraud detection algorithms.", + "fields": { + "user_report": { + "type": { + "name": "ChargesUserReport", + "type": "named" + } + } + } + }, + "PostChargesChargeBodyShipping": { + "description": "Shipping information for the charge. Helps prevent fraud on charges for physical goods.", + "fields": { + "address": { + "type": { + "name": "PostChargesChargeBodyShippingAddress", + "type": "named" } }, - "owner": { + "carrier": { "type": { "type": "nullable", "underlying_type": { - "name": "Boolean", + "name": "String", "type": "named" } } }, - "percent_ownership": { + "name": { + "type": { + "name": "String", + "type": "named" + } + }, + "phone": { "type": { "type": "nullable", "underlying_type": { - "name": "JSON", + "name": "String", "type": "named" } } }, - "title": { + "tracking_number": { "type": { "type": "nullable", "underlying_type": { @@ -72032,31 +76459,27 @@ } } }, - "PostAccountsBodyIndividualVerification": { + "PostChargesChargeBodyShippingAddress": { "fields": { - "additional_document": { + "city": { "type": { "type": "nullable", "underlying_type": { - "name": "PostAccountsBodyIndividualVerificationAdditionalDocument", + "name": "String", "type": "named" } } }, - "document": { + "country": { "type": { "type": "nullable", "underlying_type": { - "name": "PostAccountsBodyIndividualVerificationDocument", + "name": "String", "type": "named" } } - } - } - }, - "PostAccountsBodyIndividualVerificationAdditionalDocument": { - "fields": { - "back": { + }, + "line1": { "type": { "type": "nullable", "underlying_type": { @@ -72065,7 +76488,7 @@ } } }, - "front": { + "line2": { "type": { "type": "nullable", "underlying_type": { @@ -72073,12 +76496,8 @@ "type": "named" } } - } - } - }, - "PostAccountsBodyIndividualVerificationDocument": { - "fields": { - "back": { + }, + "postal_code": { "type": { "type": "nullable", "underlying_type": { @@ -72087,7 +76506,7 @@ } } }, - "front": { + "state": { "type": { "type": "nullable", "underlying_type": { @@ -72098,77 +76517,78 @@ } } }, - "PostAccountsBodySettings": { - "description": "Options for customizing how the account functions within Stripe.", + "PostChargesChargeCaptureBodyTransferData": { + "description": "An optional dictionary including the account to automatically transfer to as part of a destination charge. [See the Connect documentation](https://stripe.com/docs/connect/destination-charges) for details.", "fields": { - "bacs_debit_payments": { + "amount": { "type": { "type": "nullable", "underlying_type": { - "name": "PostAccountsBodySettingsBacsDebitPayments", + "name": "Int32", "type": "named" } } - }, - "branding": { + } + } + }, + "PostChargesChargeDisputeBodyEvidence": { + "description": "Evidence to upload, to respond to a dispute. Updating any field in the hash will submit all fields in the hash for review. The combined character count of all fields is limited to 150,000.", + "fields": { + "access_activity_log": { "type": { "type": "nullable", "underlying_type": { - "name": "PostAccountsBodySettingsBranding", + "name": "String", "type": "named" } } }, - "card_issuing": { + "billing_address": { "type": { "type": "nullable", "underlying_type": { - "name": "PostAccountsBodySettingsCardIssuing", + "name": "String", "type": "named" } } }, - "card_payments": { + "cancellation_policy": { "type": { "type": "nullable", "underlying_type": { - "name": "PostAccountsBodySettingsCardPayments", + "name": "String", "type": "named" } } }, - "payments": { + "cancellation_policy_disclosure": { "type": { "type": "nullable", "underlying_type": { - "name": "PostAccountsBodySettingsPayments", + "name": "String", "type": "named" } } }, - "payouts": { + "cancellation_rebuttal": { "type": { "type": "nullable", "underlying_type": { - "name": "PostAccountsBodySettingsPayouts", + "name": "String", "type": "named" } } }, - "treasury": { + "customer_communication": { "type": { "type": "nullable", "underlying_type": { - "name": "PostAccountsBodySettingsTreasury", + "name": "String", "type": "named" } } - } - } - }, - "PostAccountsBodySettingsBacsDebitPayments": { - "fields": { - "display_name": { + }, + "customer_email_address": { "type": { "type": "nullable", "underlying_type": { @@ -72176,12 +76596,8 @@ "type": "named" } } - } - } - }, - "PostAccountsBodySettingsBranding": { - "fields": { - "icon": { + }, + "customer_name": { "type": { "type": "nullable", "underlying_type": { @@ -72190,7 +76606,7 @@ } } }, - "logo": { + "customer_purchase_ip": { "type": { "type": "nullable", "underlying_type": { @@ -72199,7 +76615,7 @@ } } }, - "primary_color": { + "customer_signature": { "type": { "type": "nullable", "underlying_type": { @@ -72208,7 +76624,7 @@ } } }, - "secondary_color": { + "duplicate_charge_documentation": { "type": { "type": "nullable", "underlying_type": { @@ -72216,34 +76632,26 @@ "type": "named" } } - } - } - }, - "PostAccountsBodySettingsCardIssuing": { - "fields": { - "tos_acceptance": { + }, + "duplicate_charge_explanation": { "type": { "type": "nullable", "underlying_type": { - "name": "PostAccountsBodySettingsCardIssuingTosAcceptance", + "name": "String", "type": "named" } } - } - } - }, - "PostAccountsBodySettingsCardIssuingTosAcceptance": { - "fields": { - "date": { + }, + "duplicate_charge_id": { "type": { "type": "nullable", "underlying_type": { - "name": "UnixTime", + "name": "String", "type": "named" } } }, - "ip": { + "product_description": { "type": { "type": "nullable", "underlying_type": { @@ -72252,29 +76660,25 @@ } } }, - "user_agent": { + "receipt": { "type": { "type": "nullable", "underlying_type": { - "name": "JSON", + "name": "String", "type": "named" } } - } - } - }, - "PostAccountsBodySettingsCardPayments": { - "fields": { - "decline_on": { + }, + "refund_policy": { "type": { "type": "nullable", "underlying_type": { - "name": "PostAccountsBodySettingsCardPaymentsDeclineOn", + "name": "String", "type": "named" } } }, - "statement_descriptor_prefix": { + "refund_policy_disclosure": { "type": { "type": "nullable", "underlying_type": { @@ -72283,51 +76687,43 @@ } } }, - "statement_descriptor_prefix_kana": { + "refund_refusal_explanation": { "type": { "type": "nullable", "underlying_type": { - "name": "JSON", + "name": "String", "type": "named" } } }, - "statement_descriptor_prefix_kanji": { + "service_date": { "type": { "type": "nullable", "underlying_type": { - "name": "JSON", + "name": "String", "type": "named" } } - } - } - }, - "PostAccountsBodySettingsCardPaymentsDeclineOn": { - "fields": { - "avs_failure": { + }, + "service_documentation": { "type": { "type": "nullable", "underlying_type": { - "name": "Boolean", + "name": "String", "type": "named" } } }, - "cvc_failure": { + "shipping_address": { "type": { "type": "nullable", "underlying_type": { - "name": "Boolean", + "name": "String", "type": "named" } } - } - } - }, - "PostAccountsBodySettingsPayments": { - "fields": { - "statement_descriptor": { + }, + "shipping_carrier": { "type": { "type": "nullable", "underlying_type": { @@ -72336,7 +76732,7 @@ } } }, - "statement_descriptor_kana": { + "shipping_date": { "type": { "type": "nullable", "underlying_type": { @@ -72345,7 +76741,7 @@ } } }, - "statement_descriptor_kanji": { + "shipping_documentation": { "type": { "type": "nullable", "underlying_type": { @@ -72353,30 +76749,26 @@ "type": "named" } } - } - } - }, - "PostAccountsBodySettingsPayouts": { - "fields": { - "debit_negative_balances": { + }, + "shipping_tracking_number": { "type": { "type": "nullable", "underlying_type": { - "name": "Boolean", + "name": "String", "type": "named" } } }, - "schedule": { + "uncategorized_file": { "type": { "type": "nullable", "underlying_type": { - "name": "PostAccountsBodySettingsPayoutsSchedule", + "name": "String", "type": "named" } } }, - "statement_descriptor": { + "uncategorized_text": { "type": { "type": "nullable", "underlying_type": { @@ -72387,309 +76779,298 @@ } } }, - "PostAccountsBodySettingsPayoutsSchedule": { + "PostCheckoutSessionsBodyAfterExpiration": { + "description": "Configure actions after a Checkout Session has expired.", "fields": { - "delay_days": { + "recovery": { "type": { "type": "nullable", "underlying_type": { - "name": "JSON", + "name": "PostCheckoutSessionsBodyAfterExpirationRecovery", "type": "named" } } - }, - "interval": { + } + } + }, + "PostCheckoutSessionsBodyAfterExpirationRecovery": { + "fields": { + "allow_promotion_codes": { "type": { "type": "nullable", "underlying_type": { - "name": "AccountsInterval", + "name": "Boolean", "type": "named" } } }, - "monthly_anchor": { + "enabled": { "type": { - "type": "nullable", - "underlying_type": { - "name": "Int32", - "type": "named" - } + "name": "Boolean", + "type": "named" + } + } + } + }, + "PostCheckoutSessionsBodyAutomaticTax": { + "description": "Settings for automatic tax lookup for this session and resulting payments, invoices, and subscriptions.", + "fields": { + "enabled": { + "type": { + "name": "Boolean", + "type": "named" } }, - "weekly_anchor": { + "liability": { "type": { "type": "nullable", "underlying_type": { - "name": "AccountsWeeklyAnchor", + "name": "PostCheckoutSessionsBodyAutomaticTaxLiability", "type": "named" } } } } }, - "PostAccountsBodySettingsTreasury": { + "PostCheckoutSessionsBodyAutomaticTaxLiability": { "fields": { - "tos_acceptance": { + "account": { "type": { "type": "nullable", "underlying_type": { - "name": "PostAccountsBodySettingsTreasuryTosAcceptance", + "name": "String", "type": "named" } } + }, + "type": { + "type": { + "name": "CheckoutType", + "type": "named" + } } } }, - "PostAccountsBodySettingsTreasuryTosAcceptance": { + "PostCheckoutSessionsBodyConsentCollection": { + "description": "Configure fields for the Checkout Session to gather active consent from customers.", "fields": { - "date": { + "payment_method_reuse_agreement": { "type": { "type": "nullable", "underlying_type": { - "name": "UnixTime", + "name": "PostCheckoutSessionsBodyConsentCollectionPaymentMethodReuseAgreement", "type": "named" } } }, - "ip": { + "promotions": { "type": { "type": "nullable", "underlying_type": { - "name": "String", + "name": "CheckoutPromotions", "type": "named" } } }, - "user_agent": { + "terms_of_service": { "type": { "type": "nullable", "underlying_type": { - "name": "JSON", + "name": "CheckoutTermsOfService", "type": "named" } } } } }, - "PostAccountsBodyTosAcceptance": { - "description": "Details on the account's acceptance of the [Stripe Services Agreement](https://docs.stripe.com/connect/updating-accounts#tos-acceptance) This property can only be updated for Custom accounts.", + "PostCheckoutSessionsBodyConsentCollectionPaymentMethodReuseAgreement": { "fields": { - "date": { + "position": { + "type": { + "name": "CheckoutPosition", + "type": "named" + } + } + } + }, + "PostCheckoutSessionsBodyCustomFields": { + "fields": { + "dropdown": { "type": { "type": "nullable", "underlying_type": { - "name": "UnixTime", + "name": "PostCheckoutSessionsBodyCustomFieldsDropdown", "type": "named" } } }, - "ip": { + "key": { "type": { - "type": "nullable", - "underlying_type": { - "name": "String", - "type": "named" - } + "name": "String", + "type": "named" } }, - "service_agreement": { + "label": { + "type": { + "name": "PostCheckoutSessionsBodyCustomFieldsLabel", + "type": "named" + } + }, + "numeric": { "type": { "type": "nullable", "underlying_type": { - "name": "String", + "name": "PostCheckoutSessionsBodyCustomFieldsNumeric", "type": "named" } } }, - "user_agent": { + "optional": { "type": { "type": "nullable", "underlying_type": { - "name": "String", + "name": "Boolean", "type": "named" } } - } - } - }, - "PostAppsSecretsBodyScope": { - "description": "Specifies the scoping of the secret. Requests originating from UI extensions can only access account-scoped secrets or secrets scoped to their own user.", - "fields": { - "type": { - "type": { - "name": "AppsType", - "type": "named" - } }, - "user": { + "text": { "type": { "type": "nullable", "underlying_type": { - "name": "String", + "name": "PostCheckoutSessionsBodyCustomFieldsText", "type": "named" } } - } - } - }, - "PostAppsSecretsDeleteBodyScope": { - "description": "Specifies the scoping of the secret. Requests originating from UI extensions can only access account-scoped secrets or secrets scoped to their own user.", - "fields": { + }, "type": { "type": { - "name": "AppsType", + "name": "PostCheckoutSessionsBodyCustomFieldsType", "type": "named" } - }, - "user": { - "type": { - "type": "nullable", - "underlying_type": { - "name": "String", - "type": "named" - } - } } } }, - "PostBillingMeterEventAdjustmentsBodyCancel": { - "description": "Specifies which event to cancel.", + "PostCheckoutSessionsBodyCustomFieldsDropdown": { "fields": { - "identifier": { - "type": { - "type": "nullable", - "underlying_type": { - "name": "String", + "options": { + "type": { + "element_type": { + "name": "PostCheckoutSessionsBodyCustomFieldsDropdownOptions", "type": "named" - } + }, + "type": "array" } } } }, - "PostBillingMetersBodyCustomerMapping": { - "description": "Fields that specify how to map a meter event to a customer.", + "PostCheckoutSessionsBodyCustomFieldsDropdownOptions": { "fields": { - "event_payload_key": { + "label": { "type": { "name": "String", "type": "named" } }, - "type": { + "value": { "type": { - "name": "PostBillingMetersBodyCustomerMappingType", + "name": "String", "type": "named" } } } }, - "PostBillingMetersBodyDefaultAggregation": { - "description": "The default settings to aggregate a meter's events with.", + "PostCheckoutSessionsBodyCustomFieldsLabel": { "fields": { - "formula": { + "custom": { "type": { - "name": "BillingFormula", + "name": "String", "type": "named" } - } - } - }, - "PostBillingMetersBodyValueSettings": { - "description": "Fields that specify how to calculate a usage event's value.", - "fields": { - "event_payload_key": { + }, + "type": { "type": { - "name": "String", + "name": "PostCheckoutSessionsBodyCustomFieldsLabelType", "type": "named" } } } }, - "PostBillingPortalConfigurationsBodyBusinessProfile": { - "description": "The business information shown to customers in the portal.", + "PostCheckoutSessionsBodyCustomFieldsNumeric": { "fields": { - "headline": { - "type": { - "type": "nullable", - "underlying_type": { - "name": "JSON", - "type": "named" - } - } - }, - "privacy_policy_url": { + "maximum_length": { "type": { "type": "nullable", "underlying_type": { - "name": "String", + "name": "Int32", "type": "named" } } }, - "terms_of_service_url": { + "minimum_length": { "type": { "type": "nullable", "underlying_type": { - "name": "String", + "name": "Int32", "type": "named" } } } } }, - "PostBillingPortalConfigurationsBodyFeatures": { - "description": "Information about the features available in the portal.", + "PostCheckoutSessionsBodyCustomFieldsText": { "fields": { - "customer_update": { + "maximum_length": { "type": { "type": "nullable", "underlying_type": { - "name": "PostBillingPortalConfigurationsBodyFeaturesCustomerUpdate", + "name": "Int32", "type": "named" } } }, - "invoice_history": { + "minimum_length": { "type": { "type": "nullable", "underlying_type": { - "name": "PostBillingPortalConfigurationsBodyFeaturesInvoiceHistory", + "name": "Int32", "type": "named" } } - }, - "payment_method_update": { + } + } + }, + "PostCheckoutSessionsBodyCustomText": { + "description": "Display additional text for your customers using custom text.", + "fields": { + "after_submit": { "type": { "type": "nullable", "underlying_type": { - "name": "PostBillingPortalConfigurationsBodyFeaturesPaymentMethodUpdate", + "name": "JSON", "type": "named" } } }, - "subscription_cancel": { + "shipping_address": { "type": { "type": "nullable", "underlying_type": { - "name": "PostBillingPortalConfigurationsBodyFeaturesSubscriptionCancel", + "name": "JSON", "type": "named" } } }, - "subscription_update": { + "submit": { "type": { "type": "nullable", "underlying_type": { - "name": "PostBillingPortalConfigurationsBodyFeaturesSubscriptionUpdate", + "name": "JSON", "type": "named" } } - } - } - }, - "PostBillingPortalConfigurationsBodyFeaturesCustomerUpdate": { - "fields": { - "allowed_updates": { + }, + "terms_of_service_acceptance": { "type": { "type": "nullable", "underlying_type": { @@ -72697,134 +77078,86 @@ "type": "named" } } - }, - "enabled": { - "type": { - "name": "Boolean", - "type": "named" - } } } }, - "PostBillingPortalConfigurationsBodyFeaturesInvoiceHistory": { - "fields": { - "enabled": { - "type": { - "name": "Boolean", - "type": "named" - } - } - } - }, - "PostBillingPortalConfigurationsBodyFeaturesPaymentMethodUpdate": { - "fields": { - "enabled": { - "type": { - "name": "Boolean", - "type": "named" - } - } - } - }, - "PostBillingPortalConfigurationsBodyFeaturesSubscriptionCancel": { + "PostCheckoutSessionsBodyCustomerUpdate": { + "description": "Controls what fields on Customer can be updated by the Checkout Session. Can only be provided when `customer` is provided.", "fields": { - "cancellation_reason": { + "address": { "type": { "type": "nullable", "underlying_type": { - "name": "PostBillingPortalConfigurationsBodyFeaturesSubscriptionCancelCancellationReason", + "name": "CheckoutAddress", "type": "named" } } }, - "enabled": { - "type": { - "name": "Boolean", - "type": "named" - } - }, - "mode": { + "name": { "type": { "type": "nullable", "underlying_type": { - "name": "BillingPortalMode", + "name": "CheckoutName", "type": "named" } } }, - "proration_behavior": { + "shipping": { "type": { "type": "nullable", "underlying_type": { - "name": "BillingPortalProrationBehavior", + "name": "CheckoutShipping", "type": "named" } } } } }, - "PostBillingPortalConfigurationsBodyFeaturesSubscriptionCancelCancellationReason": { + "PostCheckoutSessionsBodyDiscounts": { "fields": { - "enabled": { + "coupon": { "type": { - "name": "Boolean", - "type": "named" + "type": "nullable", + "underlying_type": { + "name": "String", + "type": "named" + } } }, - "options": { + "promotion_code": { "type": { - "name": "JSON", - "type": "named" + "type": "nullable", + "underlying_type": { + "name": "String", + "type": "named" + } } } } }, - "PostBillingPortalConfigurationsBodyFeaturesSubscriptionUpdate": { + "PostCheckoutSessionsBodyInvoiceCreation": { + "description": "Generate a post-purchase Invoice for one-time payments.", "fields": { - "default_allowed_updates": { - "type": { - "name": "JSON", - "type": "named" - } - }, "enabled": { "type": { "name": "Boolean", "type": "named" } }, - "products": { - "type": { - "name": "JSON", - "type": "named" - } - }, - "proration_behavior": { + "invoice_data": { "type": { "type": "nullable", "underlying_type": { - "name": "BillingPortalProrationBehavior", + "name": "PostCheckoutSessionsBodyInvoiceCreationInvoiceData", "type": "named" } } } } }, - "PostBillingPortalConfigurationsBodyLoginPage": { - "description": "The hosted login page for this configuration. Learn more about the portal login page in our [integration docs](https://stripe.com/docs/billing/subscriptions/integrating-customer-portal#share).", - "fields": { - "enabled": { - "type": { - "name": "Boolean", - "type": "named" - } - } - } - }, - "PostBillingPortalConfigurationsConfigurationBodyBusinessProfile": { - "description": "The business information shown to customers in the portal.", + "PostCheckoutSessionsBodyInvoiceCreationInvoiceData": { "fields": { - "headline": { + "account_tax_ids": { "type": { "type": "nullable", "underlying_type": { @@ -72833,7 +77166,7 @@ } } }, - "privacy_policy_url": { + "custom_fields": { "type": { "type": "nullable", "underlying_type": { @@ -72842,150 +77175,137 @@ } } }, - "terms_of_service_url": { - "type": { - "type": "nullable", - "underlying_type": { - "name": "JSON", - "type": "named" - } - } - } - } - }, - "PostBillingPortalConfigurationsConfigurationBodyFeatures": { - "description": "Information about the features available in the portal.", - "fields": { - "customer_update": { + "description": { "type": { "type": "nullable", "underlying_type": { - "name": "PostBillingPortalConfigurationsConfigurationBodyFeaturesCustomerUpdate", + "name": "String", "type": "named" } } }, - "invoice_history": { + "footer": { "type": { "type": "nullable", "underlying_type": { - "name": "PostBillingPortalConfigurationsConfigurationBodyFeaturesInvoiceHistory", + "name": "String", "type": "named" } } }, - "payment_method_update": { + "issuer": { "type": { "type": "nullable", "underlying_type": { - "name": "PostBillingPortalConfigurationsConfigurationBodyFeaturesPaymentMethodUpdate", + "name": "PostCheckoutSessionsBodyInvoiceCreationInvoiceDataIssuer", "type": "named" } } }, - "subscription_cancel": { + "metadata": { "type": { "type": "nullable", "underlying_type": { - "name": "PostBillingPortalConfigurationsConfigurationBodyFeaturesSubscriptionCancel", + "name": "JSON", "type": "named" } } }, - "subscription_update": { + "rendering_options": { "type": { "type": "nullable", "underlying_type": { - "name": "PostBillingPortalConfigurationsConfigurationBodyFeaturesSubscriptionUpdate", + "name": "JSON", "type": "named" } } } } }, - "PostBillingPortalConfigurationsConfigurationBodyFeaturesCustomerUpdate": { + "PostCheckoutSessionsBodyInvoiceCreationInvoiceDataIssuer": { "fields": { - "allowed_updates": { + "account": { "type": { "type": "nullable", "underlying_type": { - "name": "JSON", + "name": "String", "type": "named" } } }, - "enabled": { + "type": { "type": { - "type": "nullable", - "underlying_type": { - "name": "Boolean", - "type": "named" - } + "name": "CheckoutType", + "type": "named" } } } }, - "PostBillingPortalConfigurationsConfigurationBodyFeaturesInvoiceHistory": { + "PostCheckoutSessionsBodyLineItems": { "fields": { - "enabled": { + "adjustable_quantity": { "type": { - "name": "Boolean", - "type": "named" + "type": "nullable", + "underlying_type": { + "name": "PostCheckoutSessionsBodyLineItemsAdjustableQuantity", + "type": "named" + } } - } - } - }, - "PostBillingPortalConfigurationsConfigurationBodyFeaturesPaymentMethodUpdate": { - "fields": { - "enabled": { + }, + "dynamic_tax_rates": { "type": { - "name": "Boolean", - "type": "named" + "type": "nullable", + "underlying_type": { + "element_type": { + "name": "String", + "type": "named" + }, + "type": "array" + } } - } - } - }, - "PostBillingPortalConfigurationsConfigurationBodyFeaturesSubscriptionCancel": { - "fields": { - "cancellation_reason": { + }, + "price": { "type": { "type": "nullable", "underlying_type": { - "name": "PostBillingPortalConfigurationsConfigurationBodyFeaturesSubscriptionCancelCancellationReason", + "name": "String", "type": "named" } } }, - "enabled": { + "price_data": { "type": { "type": "nullable", "underlying_type": { - "name": "Boolean", + "name": "PostCheckoutSessionsBodyLineItemsPriceData", "type": "named" } } }, - "mode": { + "quantity": { "type": { "type": "nullable", "underlying_type": { - "name": "BillingPortalMode", + "name": "Int32", "type": "named" } } }, - "proration_behavior": { + "tax_rates": { "type": { "type": "nullable", "underlying_type": { - "name": "BillingPortalProrationBehavior", - "type": "named" + "element_type": { + "name": "String", + "type": "named" + }, + "type": "array" } } } } }, - "PostBillingPortalConfigurationsConfigurationBodyFeaturesSubscriptionCancelCancellationReason": { + "PostCheckoutSessionsBodyLineItemsAdjustableQuantity": { "fields": { "enabled": { "type": { @@ -72993,146 +77313,129 @@ "type": "named" } }, - "options": { + "maximum": { "type": { "type": "nullable", "underlying_type": { - "name": "JSON", + "name": "Int32", "type": "named" } } - } - } - }, - "PostBillingPortalConfigurationsConfigurationBodyFeaturesSubscriptionUpdate": { - "fields": { - "default_allowed_updates": { + }, + "minimum": { "type": { "type": "nullable", "underlying_type": { - "name": "JSON", + "name": "Int32", "type": "named" } } - }, - "enabled": { + } + } + }, + "PostCheckoutSessionsBodyLineItemsPriceData": { + "fields": { + "currency": { "type": { - "type": "nullable", - "underlying_type": { - "name": "Boolean", - "type": "named" - } + "name": "String", + "type": "named" } }, - "products": { + "product": { "type": { "type": "nullable", "underlying_type": { - "name": "JSON", + "name": "String", "type": "named" } } }, - "proration_behavior": { + "product_data": { "type": { "type": "nullable", "underlying_type": { - "name": "BillingPortalProrationBehavior", + "name": "PostCheckoutSessionsBodyLineItemsPriceDataProductData", "type": "named" } } - } - } - }, - "PostBillingPortalConfigurationsConfigurationBodyLoginPage": { - "description": "The hosted login page for this configuration. Learn more about the portal login page in our [integration docs](https://stripe.com/docs/billing/subscriptions/integrating-customer-portal#share).", - "fields": { - "enabled": { - "type": { - "name": "Boolean", - "type": "named" - } - } - } - }, - "PostBillingPortalSessionsBodyFlowData": { - "description": "Information about a specific flow for the customer to go through. See the [docs](https://stripe.com/docs/customer-management/portal-deep-links) to learn more about using customer portal deep links and flows.", - "fields": { - "after_completion": { + }, + "recurring": { "type": { "type": "nullable", "underlying_type": { - "name": "PostBillingPortalSessionsBodyFlowDataAfterCompletion", + "name": "PostCheckoutSessionsBodyLineItemsPriceDataRecurring", "type": "named" } } }, - "subscription_cancel": { + "tax_behavior": { "type": { "type": "nullable", "underlying_type": { - "name": "PostBillingPortalSessionsBodyFlowDataSubscriptionCancel", + "name": "CheckoutTaxBehavior", "type": "named" } } }, - "subscription_update": { + "unit_amount": { "type": { "type": "nullable", "underlying_type": { - "name": "PostBillingPortalSessionsBodyFlowDataSubscriptionUpdate", + "name": "Int32", "type": "named" } } }, - "subscription_update_confirm": { + "unit_amount_decimal": { "type": { "type": "nullable", "underlying_type": { - "name": "PostBillingPortalSessionsBodyFlowDataSubscriptionUpdateConfirm", + "name": "String", "type": "named" } } - }, - "type": { - "type": { - "name": "PostBillingPortalSessionsBodyFlowDataType", - "type": "named" - } } } }, - "PostBillingPortalSessionsBodyFlowDataAfterCompletion": { + "PostCheckoutSessionsBodyLineItemsPriceDataProductData": { "fields": { - "hosted_confirmation": { + "description": { "type": { "type": "nullable", "underlying_type": { - "name": "PostBillingPortalSessionsBodyFlowDataAfterCompletionHostedConfirmation", + "name": "String", "type": "named" } } }, - "redirect": { + "images": { "type": { "type": "nullable", "underlying_type": { - "name": "PostBillingPortalSessionsBodyFlowDataAfterCompletionRedirect", + "element_type": { + "name": "String", + "type": "named" + }, + "type": "array" + } + } + }, + "metadata": { + "type": { + "type": "nullable", + "underlying_type": { + "name": "JSON", "type": "named" } } }, - "type": { + "name": { "type": { - "name": "BillingPortalType", + "name": "String", "type": "named" } - } - } - }, - "PostBillingPortalSessionsBodyFlowDataAfterCompletionHostedConfirmation": { - "fields": { - "custom_message": { + }, + "tax_code": { "type": { "type": "nullable", "underlying_type": { @@ -73143,114 +77446,101 @@ } } }, - "PostBillingPortalSessionsBodyFlowDataAfterCompletionRedirect": { + "PostCheckoutSessionsBodyLineItemsPriceDataRecurring": { "fields": { - "return_url": { + "interval": { "type": { - "name": "String", + "name": "CheckoutInterval", "type": "named" } - } - } - }, - "PostBillingPortalSessionsBodyFlowDataSubscriptionCancel": { - "fields": { - "retention": { + }, + "interval_count": { "type": { "type": "nullable", "underlying_type": { - "name": "PostBillingPortalSessionsBodyFlowDataSubscriptionCancelRetention", + "name": "Int32", "type": "named" } } - }, - "subscription": { - "type": { - "name": "String", - "type": "named" - } } } }, - "PostBillingPortalSessionsBodyFlowDataSubscriptionCancelRetention": { + "PostCheckoutSessionsBodyPaymentIntentData": { + "description": "A subset of parameters to be passed to PaymentIntent creation for Checkout Sessions in `payment` mode.", "fields": { - "coupon_offer": { + "application_fee_amount": { "type": { - "name": "PostBillingPortalSessionsBodyFlowDataSubscriptionCancelRetentionCouponOffer", - "type": "named" + "type": "nullable", + "underlying_type": { + "name": "Int32", + "type": "named" + } } }, - "type": { + "capture_method": { "type": { - "name": "PostBillingPortalSessionsBodyFlowDataSubscriptionCancelRetentionType", - "type": "named" + "type": "nullable", + "underlying_type": { + "name": "CheckoutCaptureMethod", + "type": "named" + } } - } - } - }, - "PostBillingPortalSessionsBodyFlowDataSubscriptionCancelRetentionCouponOffer": { - "fields": { - "coupon": { + }, + "description": { "type": { - "name": "String", - "type": "named" + "type": "nullable", + "underlying_type": { + "name": "String", + "type": "named" + } } - } - } - }, - "PostBillingPortalSessionsBodyFlowDataSubscriptionUpdate": { - "fields": { - "subscription": { + }, + "metadata": { "type": { - "name": "String", - "type": "named" + "type": "nullable", + "underlying_type": { + "name": "JSON", + "type": "named" + } } - } - } - }, - "PostBillingPortalSessionsBodyFlowDataSubscriptionUpdateConfirm": { - "fields": { - "discounts": { + }, + "on_behalf_of": { "type": { "type": "nullable", "underlying_type": { - "element_type": { - "name": "PostBillingPortalSessionsBodyFlowDataSubscriptionUpdateConfirmDiscounts", - "type": "named" - }, - "type": "array" + "name": "String", + "type": "named" } } }, - "items": { + "receipt_email": { "type": { - "element_type": { - "name": "PostBillingPortalSessionsBodyFlowDataSubscriptionUpdateConfirmItems", + "type": "nullable", + "underlying_type": { + "name": "String", "type": "named" - }, - "type": "array" + } } }, - "subscription": { + "setup_future_usage": { "type": { - "name": "String", - "type": "named" + "type": "nullable", + "underlying_type": { + "name": "CheckoutSetupFutureUsage", + "type": "named" + } } - } - } - }, - "PostBillingPortalSessionsBodyFlowDataSubscriptionUpdateConfirmDiscounts": { - "fields": { - "coupon": { + }, + "shipping": { "type": { "type": "nullable", "underlying_type": { - "name": "String", + "name": "PostCheckoutSessionsBodyPaymentIntentDataShipping", "type": "named" } } }, - "promotion_code": { + "statement_descriptor": { "type": { "type": "nullable", "underlying_type": { @@ -73258,18 +77548,8 @@ "type": "named" } } - } - } - }, - "PostBillingPortalSessionsBodyFlowDataSubscriptionUpdateConfirmItems": { - "fields": { - "id": { - "type": { - "name": "String", - "type": "named" - } }, - "price": { + "statement_descriptor_suffix": { "type": { "type": "nullable", "underlying_type": { @@ -73278,21 +77558,16 @@ } } }, - "quantity": { + "transfer_data": { "type": { "type": "nullable", "underlying_type": { - "name": "Int32", + "name": "PostCheckoutSessionsBodyPaymentIntentDataTransferData", "type": "named" } } - } - } - }, - "PostChargesBodyRadarOptions": { - "description": "Options to configure Radar. See [Radar Session](https://stripe.com/docs/radar/radar-session) for more information.", - "fields": { - "session": { + }, + "transfer_group": { "type": { "type": "nullable", "underlying_type": { @@ -73303,12 +77578,11 @@ } } }, - "PostChargesBodyShipping": { - "description": "Shipping information for the charge. Helps prevent fraud on charges for physical goods.", + "PostCheckoutSessionsBodyPaymentIntentDataShipping": { "fields": { "address": { "type": { - "name": "PostChargesBodyShippingAddress", + "name": "PostCheckoutSessionsBodyPaymentIntentDataShippingAddress", "type": "named" } }, @@ -73347,7 +77621,7 @@ } } }, - "PostChargesBodyShippingAddress": { + "PostCheckoutSessionsBodyPaymentIntentDataShippingAddress": { "fields": { "city": { "type": { @@ -73369,11 +77643,8 @@ }, "line1": { "type": { - "type": "nullable", - "underlying_type": { - "name": "String", - "type": "named" - } + "name": "String", + "type": "named" } }, "line2": { @@ -73405,8 +77676,7 @@ } } }, - "PostChargesBodyTransferData": { - "description": "An optional dictionary including the account to automatically transfer to as part of a destination charge. [See the Connect documentation](https://stripe.com/docs/connect/destination-charges) for details.", + "PostCheckoutSessionsBodyPaymentIntentDataTransferData": { "fields": { "amount": { "type": { @@ -73425,353 +77695,377 @@ } } }, - "PostChargesChargeBodyFraudDetails": { - "description": "A set of key-value pairs you can attach to a charge giving information about its riskiness. If you believe a charge is fraudulent, include a `user_report` key with a value of `fraudulent`. If you believe a charge is safe, include a `user_report` key with a value of `safe`. Stripe will use the information you send to improve our fraud detection algorithms.", + "PostCheckoutSessionsBodyPaymentMethodData": { + "description": "This parameter allows you to set some attributes on the payment method created during a Checkout session.", "fields": { - "user_report": { + "allow_redisplay": { "type": { - "name": "ChargesUserReport", - "type": "named" + "type": "nullable", + "underlying_type": { + "name": "CheckoutAllowRedisplay", + "type": "named" + } } } } }, - "PostChargesChargeBodyShipping": { - "description": "Shipping information for the charge. Helps prevent fraud on charges for physical goods.", + "PostCheckoutSessionsBodyPaymentMethodOptions": { + "description": "Payment-method-specific configuration.", "fields": { - "address": { + "acss_debit": { "type": { - "name": "PostChargesChargeBodyShippingAddress", - "type": "named" + "type": "nullable", + "underlying_type": { + "name": "PostCheckoutSessionsBodyPaymentMethodOptionsAcssDebit", + "type": "named" + } } }, - "carrier": { + "affirm": { "type": { "type": "nullable", "underlying_type": { - "name": "String", + "name": "PostCheckoutSessionsBodyPaymentMethodOptionsAffirm", "type": "named" } } }, - "name": { + "afterpay_clearpay": { "type": { - "name": "String", - "type": "named" + "type": "nullable", + "underlying_type": { + "name": "PostCheckoutSessionsBodyPaymentMethodOptionsAfterpayClearpay", + "type": "named" + } } }, - "phone": { + "alipay": { "type": { "type": "nullable", "underlying_type": { - "name": "String", + "name": "PostCheckoutSessionsBodyPaymentMethodOptionsAlipay", "type": "named" } } }, - "tracking_number": { + "amazon_pay": { "type": { "type": "nullable", "underlying_type": { - "name": "String", + "name": "PostCheckoutSessionsBodyPaymentMethodOptionsAmazonPay", "type": "named" } } - } - } - }, - "PostChargesChargeBodyShippingAddress": { - "fields": { - "city": { + }, + "au_becs_debit": { "type": { "type": "nullable", "underlying_type": { - "name": "String", + "name": "PostCheckoutSessionsBodyPaymentMethodOptionsAuBecsDebit", "type": "named" } } }, - "country": { + "bacs_debit": { "type": { "type": "nullable", "underlying_type": { - "name": "String", + "name": "PostCheckoutSessionsBodyPaymentMethodOptionsBacsDebit", "type": "named" } } }, - "line1": { + "bancontact": { "type": { "type": "nullable", "underlying_type": { - "name": "String", + "name": "PostCheckoutSessionsBodyPaymentMethodOptionsBancontact", "type": "named" } } }, - "line2": { + "boleto": { "type": { "type": "nullable", "underlying_type": { - "name": "String", + "name": "PostCheckoutSessionsBodyPaymentMethodOptionsBoleto", "type": "named" } } }, - "postal_code": { + "card": { "type": { "type": "nullable", "underlying_type": { - "name": "String", + "name": "PostCheckoutSessionsBodyPaymentMethodOptionsCard", "type": "named" } } }, - "state": { + "cashapp": { "type": { "type": "nullable", "underlying_type": { - "name": "String", + "name": "PostCheckoutSessionsBodyPaymentMethodOptionsCashapp", "type": "named" } } - } - } - }, - "PostChargesChargeCaptureBodyTransferData": { - "description": "An optional dictionary including the account to automatically transfer to as part of a destination charge. [See the Connect documentation](https://stripe.com/docs/connect/destination-charges) for details.", - "fields": { - "amount": { + }, + "customer_balance": { "type": { "type": "nullable", "underlying_type": { - "name": "Int32", + "name": "PostCheckoutSessionsBodyPaymentMethodOptionsCustomerBalance", "type": "named" } } - } - } - }, - "PostChargesChargeDisputeBodyEvidence": { - "description": "Evidence to upload, to respond to a dispute. Updating any field in the hash will submit all fields in the hash for review. The combined character count of all fields is limited to 150,000.", - "fields": { - "access_activity_log": { + }, + "eps": { "type": { "type": "nullable", "underlying_type": { - "name": "String", + "name": "PostCheckoutSessionsBodyPaymentMethodOptionsEps", "type": "named" } } }, - "billing_address": { + "fpx": { "type": { "type": "nullable", "underlying_type": { - "name": "String", + "name": "PostCheckoutSessionsBodyPaymentMethodOptionsFpx", "type": "named" } } }, - "cancellation_policy": { + "giropay": { "type": { "type": "nullable", "underlying_type": { - "name": "String", + "name": "PostCheckoutSessionsBodyPaymentMethodOptionsGiropay", "type": "named" } } }, - "cancellation_policy_disclosure": { + "grabpay": { "type": { "type": "nullable", "underlying_type": { - "name": "String", + "name": "PostCheckoutSessionsBodyPaymentMethodOptionsGrabpay", "type": "named" } } }, - "cancellation_rebuttal": { + "ideal": { "type": { "type": "nullable", "underlying_type": { - "name": "String", + "name": "PostCheckoutSessionsBodyPaymentMethodOptionsIdeal", "type": "named" } } }, - "customer_communication": { + "klarna": { "type": { "type": "nullable", "underlying_type": { - "name": "String", + "name": "PostCheckoutSessionsBodyPaymentMethodOptionsKlarna", "type": "named" } } }, - "customer_email_address": { + "konbini": { "type": { "type": "nullable", "underlying_type": { - "name": "String", + "name": "PostCheckoutSessionsBodyPaymentMethodOptionsKonbini", "type": "named" } } }, - "customer_name": { + "link": { "type": { "type": "nullable", "underlying_type": { - "name": "String", + "name": "PostCheckoutSessionsBodyPaymentMethodOptionsLink", "type": "named" } } }, - "customer_purchase_ip": { + "mobilepay": { "type": { "type": "nullable", "underlying_type": { - "name": "String", + "name": "PostCheckoutSessionsBodyPaymentMethodOptionsMobilepay", "type": "named" } } }, - "customer_signature": { + "oxxo": { "type": { "type": "nullable", "underlying_type": { - "name": "String", + "name": "PostCheckoutSessionsBodyPaymentMethodOptionsOxxo", "type": "named" } } }, - "duplicate_charge_documentation": { + "p24": { "type": { "type": "nullable", "underlying_type": { - "name": "String", + "name": "PostCheckoutSessionsBodyPaymentMethodOptionsP24", "type": "named" } } }, - "duplicate_charge_explanation": { + "paynow": { "type": { "type": "nullable", "underlying_type": { - "name": "String", + "name": "PostCheckoutSessionsBodyPaymentMethodOptionsPaynow", "type": "named" } } }, - "duplicate_charge_id": { + "paypal": { "type": { "type": "nullable", "underlying_type": { - "name": "String", + "name": "PostCheckoutSessionsBodyPaymentMethodOptionsPaypal", "type": "named" } } }, - "product_description": { + "pix": { "type": { "type": "nullable", "underlying_type": { - "name": "String", + "name": "PostCheckoutSessionsBodyPaymentMethodOptionsPix", "type": "named" } } }, - "receipt": { + "revolut_pay": { "type": { "type": "nullable", "underlying_type": { - "name": "String", + "name": "PostCheckoutSessionsBodyPaymentMethodOptionsRevolutPay", "type": "named" } } }, - "refund_policy": { + "sepa_debit": { "type": { "type": "nullable", "underlying_type": { - "name": "String", + "name": "PostCheckoutSessionsBodyPaymentMethodOptionsSepaDebit", "type": "named" } } }, - "refund_policy_disclosure": { + "sofort": { "type": { "type": "nullable", "underlying_type": { - "name": "String", + "name": "PostCheckoutSessionsBodyPaymentMethodOptionsSofort", "type": "named" } } }, - "refund_refusal_explanation": { + "swish": { "type": { "type": "nullable", "underlying_type": { - "name": "String", + "name": "PostCheckoutSessionsBodyPaymentMethodOptionsSwish", "type": "named" } } }, - "service_date": { + "us_bank_account": { "type": { "type": "nullable", "underlying_type": { - "name": "String", + "name": "PostCheckoutSessionsBodyPaymentMethodOptionsUsBankAccount", "type": "named" } } }, - "service_documentation": { + "wechat_pay": { "type": { "type": "nullable", "underlying_type": { - "name": "String", + "name": "PostCheckoutSessionsBodyPaymentMethodOptionsWechatPay", "type": "named" } } - }, - "shipping_address": { + } + } + }, + "PostCheckoutSessionsBodyPaymentMethodOptionsAcssDebit": { + "fields": { + "currency": { "type": { "type": "nullable", "underlying_type": { - "name": "String", + "name": "CheckoutCurrency", "type": "named" } } }, - "shipping_carrier": { + "mandate_options": { "type": { "type": "nullable", "underlying_type": { - "name": "String", + "name": "PostCheckoutSessionsBodyPaymentMethodOptionsAcssDebitMandateOptions", "type": "named" } } }, - "shipping_date": { + "setup_future_usage": { "type": { "type": "nullable", "underlying_type": { - "name": "String", + "name": "PostCheckoutSessionsBodyPaymentMethodOptionsAcssDebitSetupFutureUsage", "type": "named" } } }, - "shipping_documentation": { + "verification_method": { "type": { "type": "nullable", "underlying_type": { - "name": "String", + "name": "CheckoutVerificationMethod", + "type": "named" + } + } + } + } + }, + "PostCheckoutSessionsBodyPaymentMethodOptionsAcssDebitMandateOptions": { + "fields": { + "custom_mandate_url": { + "type": { + "type": "nullable", + "underlying_type": { + "name": "JSON", "type": "named" } } }, - "shipping_tracking_number": { + "default_for": { + "type": { + "type": "nullable", + "underlying_type": { + "element_type": { + "name": "CheckoutDefaultFor", + "type": "named" + }, + "type": "array" + } + } + }, + "interval_description": { "type": { "type": "nullable", "underlying_type": { @@ -73780,423 +78074,490 @@ } } }, - "uncategorized_file": { + "payment_schedule": { "type": { "type": "nullable", "underlying_type": { - "name": "String", + "name": "CheckoutPaymentSchedule", "type": "named" } } }, - "uncategorized_text": { + "transaction_type": { "type": { "type": "nullable", "underlying_type": { - "name": "String", + "name": "CheckoutTransactionType", "type": "named" } } } } }, - "PostCheckoutSessionsBodyAfterExpiration": { - "description": "Configure actions after a Checkout Session has expired.", + "PostCheckoutSessionsBodyPaymentMethodOptionsAffirm": { "fields": { - "recovery": { + "setup_future_usage": { "type": { "type": "nullable", "underlying_type": { - "name": "PostCheckoutSessionsBodyAfterExpirationRecovery", + "name": "PostCheckoutSessionsBodyPaymentMethodOptionsAffirmSetupFutureUsage", "type": "named" } } } } }, - "PostCheckoutSessionsBodyAfterExpirationRecovery": { + "PostCheckoutSessionsBodyPaymentMethodOptionsAfterpayClearpay": { "fields": { - "allow_promotion_codes": { + "setup_future_usage": { "type": { "type": "nullable", "underlying_type": { - "name": "Boolean", + "name": "PostCheckoutSessionsBodyPaymentMethodOptionsAfterpayClearpaySetupFutureUsage", "type": "named" } } - }, - "enabled": { - "type": { - "name": "Boolean", - "type": "named" - } } } }, - "PostCheckoutSessionsBodyAutomaticTax": { - "description": "Settings for automatic tax lookup for this session and resulting payments, invoices, and subscriptions.", + "PostCheckoutSessionsBodyPaymentMethodOptionsAlipay": { "fields": { - "enabled": { - "type": { - "name": "Boolean", - "type": "named" - } - }, - "liability": { + "setup_future_usage": { "type": { "type": "nullable", "underlying_type": { - "name": "PostCheckoutSessionsBodyAutomaticTaxLiability", + "name": "PostCheckoutSessionsBodyPaymentMethodOptionsAlipaySetupFutureUsage", "type": "named" } } } } }, - "PostCheckoutSessionsBodyAutomaticTaxLiability": { + "PostCheckoutSessionsBodyPaymentMethodOptionsAmazonPay": { "fields": { - "account": { + "setup_future_usage": { "type": { "type": "nullable", "underlying_type": { - "name": "String", + "name": "PostCheckoutSessionsBodyPaymentMethodOptionsAmazonPaySetupFutureUsage", "type": "named" } } - }, - "type": { - "type": { - "name": "CheckoutType", - "type": "named" - } } } }, - "PostCheckoutSessionsBodyConsentCollection": { - "description": "Configure fields for the Checkout Session to gather active consent from customers.", + "PostCheckoutSessionsBodyPaymentMethodOptionsAuBecsDebit": { "fields": { - "payment_method_reuse_agreement": { + "setup_future_usage": { "type": { "type": "nullable", "underlying_type": { - "name": "PostCheckoutSessionsBodyConsentCollectionPaymentMethodReuseAgreement", + "name": "PostCheckoutSessionsBodyPaymentMethodOptionsAuBecsDebitSetupFutureUsage", "type": "named" } } - }, - "promotions": { + } + } + }, + "PostCheckoutSessionsBodyPaymentMethodOptionsBacsDebit": { + "fields": { + "setup_future_usage": { "type": { "type": "nullable", "underlying_type": { - "name": "CheckoutPromotions", + "name": "PostCheckoutSessionsBodyPaymentMethodOptionsBacsDebitSetupFutureUsage", "type": "named" } } - }, - "terms_of_service": { + } + } + }, + "PostCheckoutSessionsBodyPaymentMethodOptionsBancontact": { + "fields": { + "setup_future_usage": { "type": { "type": "nullable", "underlying_type": { - "name": "CheckoutTermsOfService", + "name": "PostCheckoutSessionsBodyPaymentMethodOptionsBancontactSetupFutureUsage", "type": "named" } } } } }, - "PostCheckoutSessionsBodyConsentCollectionPaymentMethodReuseAgreement": { + "PostCheckoutSessionsBodyPaymentMethodOptionsBoleto": { "fields": { - "position": { + "expires_after_days": { "type": { - "name": "CheckoutPosition", - "type": "named" + "type": "nullable", + "underlying_type": { + "name": "Int32", + "type": "named" + } + } + }, + "setup_future_usage": { + "type": { + "type": "nullable", + "underlying_type": { + "name": "PostCheckoutSessionsBodyPaymentMethodOptionsBoletoSetupFutureUsage", + "type": "named" + } } } } }, - "PostCheckoutSessionsBodyCustomFields": { + "PostCheckoutSessionsBodyPaymentMethodOptionsCard": { "fields": { - "dropdown": { + "installments": { "type": { "type": "nullable", "underlying_type": { - "name": "PostCheckoutSessionsBodyCustomFieldsDropdown", + "name": "PostCheckoutSessionsBodyPaymentMethodOptionsCardInstallments", "type": "named" } } }, - "key": { + "request_three_d_secure": { "type": { - "name": "String", - "type": "named" + "type": "nullable", + "underlying_type": { + "name": "CheckoutRequestThreeDSecure", + "type": "named" + } } }, - "label": { + "setup_future_usage": { "type": { - "name": "PostCheckoutSessionsBodyCustomFieldsLabel", - "type": "named" + "type": "nullable", + "underlying_type": { + "name": "CheckoutSetupFutureUsage", + "type": "named" + } } }, - "numeric": { + "statement_descriptor_suffix_kana": { "type": { "type": "nullable", "underlying_type": { - "name": "PostCheckoutSessionsBodyCustomFieldsNumeric", + "name": "String", "type": "named" } } }, - "optional": { + "statement_descriptor_suffix_kanji": { "type": { "type": "nullable", "underlying_type": { - "name": "Boolean", + "name": "String", "type": "named" } } - }, - "text": { + } + } + }, + "PostCheckoutSessionsBodyPaymentMethodOptionsCardInstallments": { + "fields": { + "enabled": { "type": { "type": "nullable", "underlying_type": { - "name": "PostCheckoutSessionsBodyCustomFieldsText", + "name": "Boolean", "type": "named" } } - }, - "type": { + } + } + }, + "PostCheckoutSessionsBodyPaymentMethodOptionsCashapp": { + "fields": { + "setup_future_usage": { "type": { - "name": "PostCheckoutSessionsBodyCustomFieldsType", - "type": "named" + "type": "nullable", + "underlying_type": { + "name": "PostCheckoutSessionsBodyPaymentMethodOptionsCashappSetupFutureUsage", + "type": "named" + } } } } }, - "PostCheckoutSessionsBodyCustomFieldsDropdown": { + "PostCheckoutSessionsBodyPaymentMethodOptionsCustomerBalance": { "fields": { - "options": { + "bank_transfer": { "type": { - "element_type": { - "name": "PostCheckoutSessionsBodyCustomFieldsDropdownOptions", + "type": "nullable", + "underlying_type": { + "name": "PostCheckoutSessionsBodyPaymentMethodOptionsCustomerBalanceBankTransfer", "type": "named" - }, - "type": "array" + } + } + }, + "funding_type": { + "type": { + "type": "nullable", + "underlying_type": { + "name": "CheckoutFundingType", + "type": "named" + } + } + }, + "setup_future_usage": { + "type": { + "type": "nullable", + "underlying_type": { + "name": "PostCheckoutSessionsBodyPaymentMethodOptionsCustomerBalanceSetupFutureUsage", + "type": "named" + } } } } }, - "PostCheckoutSessionsBodyCustomFieldsDropdownOptions": { + "PostCheckoutSessionsBodyPaymentMethodOptionsCustomerBalanceBankTransfer": { "fields": { - "label": { + "eu_bank_transfer": { "type": { - "name": "String", - "type": "named" + "type": "nullable", + "underlying_type": { + "name": "PostCheckoutSessionsBodyPaymentMethodOptionsCustomerBalanceBankTransferEuBankTransfer", + "type": "named" + } } }, - "value": { + "requested_address_types": { "type": { - "name": "String", + "type": "nullable", + "underlying_type": { + "element_type": { + "name": "CheckoutRequestedAddressTypes", + "type": "named" + }, + "type": "array" + } + } + }, + "type": { + "type": { + "name": "PostCheckoutSessionsBodyPaymentMethodOptionsCustomerBalanceBankTransferType", "type": "named" } } } }, - "PostCheckoutSessionsBodyCustomFieldsLabel": { + "PostCheckoutSessionsBodyPaymentMethodOptionsCustomerBalanceBankTransferEuBankTransfer": { "fields": { - "custom": { + "country": { "type": { "name": "String", "type": "named" } - }, - "type": { + } + } + }, + "PostCheckoutSessionsBodyPaymentMethodOptionsEps": { + "fields": { + "setup_future_usage": { "type": { - "name": "PostCheckoutSessionsBodyCustomFieldsLabelType", - "type": "named" + "type": "nullable", + "underlying_type": { + "name": "PostCheckoutSessionsBodyPaymentMethodOptionsEpsSetupFutureUsage", + "type": "named" + } } } } }, - "PostCheckoutSessionsBodyCustomFieldsNumeric": { + "PostCheckoutSessionsBodyPaymentMethodOptionsFpx": { "fields": { - "maximum_length": { + "setup_future_usage": { "type": { "type": "nullable", "underlying_type": { - "name": "Int32", + "name": "PostCheckoutSessionsBodyPaymentMethodOptionsFpxSetupFutureUsage", "type": "named" } } - }, - "minimum_length": { + } + } + }, + "PostCheckoutSessionsBodyPaymentMethodOptionsGiropay": { + "fields": { + "setup_future_usage": { "type": { "type": "nullable", "underlying_type": { - "name": "Int32", + "name": "PostCheckoutSessionsBodyPaymentMethodOptionsGiropaySetupFutureUsage", "type": "named" } } } } }, - "PostCheckoutSessionsBodyCustomFieldsText": { + "PostCheckoutSessionsBodyPaymentMethodOptionsGrabpay": { "fields": { - "maximum_length": { + "setup_future_usage": { "type": { "type": "nullable", "underlying_type": { - "name": "Int32", + "name": "PostCheckoutSessionsBodyPaymentMethodOptionsGrabpaySetupFutureUsage", "type": "named" } } - }, - "minimum_length": { + } + } + }, + "PostCheckoutSessionsBodyPaymentMethodOptionsIdeal": { + "fields": { + "setup_future_usage": { "type": { "type": "nullable", "underlying_type": { - "name": "Int32", + "name": "PostCheckoutSessionsBodyPaymentMethodOptionsIdealSetupFutureUsage", "type": "named" } } } } }, - "PostCheckoutSessionsBodyCustomText": { - "description": "Display additional text for your customers using custom text.", + "PostCheckoutSessionsBodyPaymentMethodOptionsKlarna": { "fields": { - "after_submit": { + "setup_future_usage": { "type": { "type": "nullable", "underlying_type": { - "name": "JSON", + "name": "PostCheckoutSessionsBodyPaymentMethodOptionsKlarnaSetupFutureUsage", "type": "named" } } - }, - "shipping_address": { + } + } + }, + "PostCheckoutSessionsBodyPaymentMethodOptionsKonbini": { + "fields": { + "expires_after_days": { "type": { "type": "nullable", "underlying_type": { - "name": "JSON", + "name": "Int32", "type": "named" } } }, - "submit": { + "setup_future_usage": { "type": { "type": "nullable", "underlying_type": { - "name": "JSON", + "name": "PostCheckoutSessionsBodyPaymentMethodOptionsKonbiniSetupFutureUsage", "type": "named" } } - }, - "terms_of_service_acceptance": { + } + } + }, + "PostCheckoutSessionsBodyPaymentMethodOptionsLink": { + "fields": { + "setup_future_usage": { "type": { "type": "nullable", "underlying_type": { - "name": "JSON", + "name": "PostCheckoutSessionsBodyPaymentMethodOptionsLinkSetupFutureUsage", "type": "named" } } } } }, - "PostCheckoutSessionsBodyCustomerUpdate": { - "description": "Controls what fields on Customer can be updated by the Checkout Session. Can only be provided when `customer` is provided.", + "PostCheckoutSessionsBodyPaymentMethodOptionsMobilepay": { "fields": { - "address": { + "setup_future_usage": { "type": { "type": "nullable", "underlying_type": { - "name": "CheckoutAddress", + "name": "PostCheckoutSessionsBodyPaymentMethodOptionsMobilepaySetupFutureUsage", "type": "named" } } - }, - "name": { + } + } + }, + "PostCheckoutSessionsBodyPaymentMethodOptionsOxxo": { + "fields": { + "expires_after_days": { "type": { "type": "nullable", "underlying_type": { - "name": "CheckoutName", + "name": "Int32", "type": "named" } } }, - "shipping": { + "setup_future_usage": { "type": { "type": "nullable", "underlying_type": { - "name": "CheckoutShipping", + "name": "PostCheckoutSessionsBodyPaymentMethodOptionsOxxoSetupFutureUsage", "type": "named" } } } } }, - "PostCheckoutSessionsBodyDiscounts": { + "PostCheckoutSessionsBodyPaymentMethodOptionsP24": { "fields": { - "coupon": { + "setup_future_usage": { "type": { "type": "nullable", "underlying_type": { - "name": "String", + "name": "PostCheckoutSessionsBodyPaymentMethodOptionsP24SetupFutureUsage", "type": "named" } } }, - "promotion_code": { + "tos_shown_and_accepted": { "type": { "type": "nullable", "underlying_type": { - "name": "String", + "name": "Boolean", "type": "named" } } } } }, - "PostCheckoutSessionsBodyInvoiceCreation": { - "description": "Generate a post-purchase Invoice for one-time payments.", + "PostCheckoutSessionsBodyPaymentMethodOptionsPaynow": { "fields": { - "enabled": { - "type": { - "name": "Boolean", - "type": "named" - } - }, - "invoice_data": { + "setup_future_usage": { "type": { "type": "nullable", "underlying_type": { - "name": "PostCheckoutSessionsBodyInvoiceCreationInvoiceData", + "name": "PostCheckoutSessionsBodyPaymentMethodOptionsPaynowSetupFutureUsage", "type": "named" } } } } }, - "PostCheckoutSessionsBodyInvoiceCreationInvoiceData": { + "PostCheckoutSessionsBodyPaymentMethodOptionsPaypal": { "fields": { - "account_tax_ids": { + "capture_method": { "type": { "type": "nullable", "underlying_type": { - "name": "JSON", + "name": "PostCheckoutSessionsBodyPaymentMethodOptionsPaypalCaptureMethod", "type": "named" } } }, - "custom_fields": { + "preferred_locale": { "type": { "type": "nullable", "underlying_type": { - "name": "JSON", + "name": "CheckoutPreferredLocale", "type": "named" } } }, - "description": { + "reference": { "type": { "type": "nullable", "underlying_type": { @@ -74205,7 +78566,7 @@ } } }, - "footer": { + "risk_correlation_id": { "type": { "type": "nullable", "underlying_type": { @@ -74214,78 +78575,72 @@ } } }, - "issuer": { + "setup_future_usage": { "type": { "type": "nullable", "underlying_type": { - "name": "PostCheckoutSessionsBodyInvoiceCreationInvoiceDataIssuer", + "name": "PostCheckoutSessionsBodyPaymentMethodOptionsPaypalSetupFutureUsage", "type": "named" } } - }, - "metadata": { + } + } + }, + "PostCheckoutSessionsBodyPaymentMethodOptionsPix": { + "fields": { + "expires_after_seconds": { "type": { "type": "nullable", "underlying_type": { - "name": "JSON", + "name": "Int32", "type": "named" } } - }, - "rendering_options": { + } + } + }, + "PostCheckoutSessionsBodyPaymentMethodOptionsRevolutPay": { + "fields": { + "setup_future_usage": { "type": { "type": "nullable", "underlying_type": { - "name": "JSON", + "name": "PostCheckoutSessionsBodyPaymentMethodOptionsRevolutPaySetupFutureUsage", "type": "named" } } } } }, - "PostCheckoutSessionsBodyInvoiceCreationInvoiceDataIssuer": { + "PostCheckoutSessionsBodyPaymentMethodOptionsSepaDebit": { "fields": { - "account": { + "setup_future_usage": { "type": { "type": "nullable", "underlying_type": { - "name": "String", + "name": "PostCheckoutSessionsBodyPaymentMethodOptionsSepaDebitSetupFutureUsage", "type": "named" } } - }, - "type": { - "type": { - "name": "CheckoutType", - "type": "named" - } } } }, - "PostCheckoutSessionsBodyLineItems": { + "PostCheckoutSessionsBodyPaymentMethodOptionsSofort": { "fields": { - "adjustable_quantity": { + "setup_future_usage": { "type": { "type": "nullable", "underlying_type": { - "name": "PostCheckoutSessionsBodyLineItemsAdjustableQuantity", + "name": "PostCheckoutSessionsBodyPaymentMethodOptionsSofortSetupFutureUsage", "type": "named" } } - }, - "dynamic_tax_rates": { - "type": { - "type": "nullable", - "underlying_type": { - "element_type": { - "name": "String", - "type": "named" - }, - "type": "array" - } - } - }, - "price": { + } + } + }, + "PostCheckoutSessionsBodyPaymentMethodOptionsSwish": { + "fields": { + "reference": { "type": { "type": "nullable", "underlying_type": { @@ -74293,76 +78648,71 @@ "type": "named" } } - }, - "price_data": { + } + } + }, + "PostCheckoutSessionsBodyPaymentMethodOptionsUsBankAccount": { + "fields": { + "financial_connections": { "type": { "type": "nullable", "underlying_type": { - "name": "PostCheckoutSessionsBodyLineItemsPriceData", + "name": "PostCheckoutSessionsBodyPaymentMethodOptionsUsBankAccountFinancialConnections", "type": "named" } } }, - "quantity": { + "setup_future_usage": { "type": { "type": "nullable", "underlying_type": { - "name": "Int32", + "name": "PostCheckoutSessionsBodyPaymentMethodOptionsUsBankAccountSetupFutureUsage", "type": "named" } } }, - "tax_rates": { + "verification_method": { "type": { "type": "nullable", "underlying_type": { - "element_type": { - "name": "String", - "type": "named" - }, - "type": "array" + "name": "PostCheckoutSessionsBodyPaymentMethodOptionsUsBankAccountVerificationMethod", + "type": "named" } } } } }, - "PostCheckoutSessionsBodyLineItemsAdjustableQuantity": { + "PostCheckoutSessionsBodyPaymentMethodOptionsUsBankAccountFinancialConnections": { "fields": { - "enabled": { - "type": { - "name": "Boolean", - "type": "named" - } - }, - "maximum": { + "permissions": { "type": { "type": "nullable", "underlying_type": { - "name": "Int32", - "type": "named" + "element_type": { + "name": "CheckoutPermissions", + "type": "named" + }, + "type": "array" } } }, - "minimum": { + "prefetch": { "type": { "type": "nullable", "underlying_type": { - "name": "Int32", - "type": "named" + "element_type": { + "name": "CheckoutPrefetch", + "type": "named" + }, + "type": "array" } } } } }, - "PostCheckoutSessionsBodyLineItemsPriceData": { + "PostCheckoutSessionsBodyPaymentMethodOptionsWechatPay": { "fields": { - "currency": { - "type": { - "name": "String", - "type": "named" - } - }, - "product": { + "app_id": { "type": { "type": "nullable", "underlying_type": { @@ -74371,54 +78721,62 @@ } } }, - "product_data": { + "client": { "type": { - "type": "nullable", - "underlying_type": { - "name": "PostCheckoutSessionsBodyLineItemsPriceDataProductData", - "type": "named" - } + "name": "CheckoutClient", + "type": "named" } }, - "recurring": { + "setup_future_usage": { "type": { "type": "nullable", "underlying_type": { - "name": "PostCheckoutSessionsBodyLineItemsPriceDataRecurring", + "name": "PostCheckoutSessionsBodyPaymentMethodOptionsWechatPaySetupFutureUsage", "type": "named" } } - }, - "tax_behavior": { + } + } + }, + "PostCheckoutSessionsBodyPhoneNumberCollection": { + "description": "Controls phone number collection settings for the session.\n\nWe recommend that you review your privacy policy and check with your legal contacts\nbefore using this feature. Learn more about [collecting phone numbers with Checkout](https://stripe.com/docs/payments/checkout/phone-numbers).", + "fields": { + "enabled": { "type": { - "type": "nullable", - "underlying_type": { - "name": "CheckoutTaxBehavior", - "type": "named" - } + "name": "Boolean", + "type": "named" } - }, - "unit_amount": { + } + } + }, + "PostCheckoutSessionsBodySavedPaymentMethodOptions": { + "description": "Controls saved payment method settings for the session. Only available in `payment` and `subscription` mode.", + "fields": { + "allow_redisplay_filters": { "type": { "type": "nullable", "underlying_type": { - "name": "Int32", - "type": "named" + "element_type": { + "name": "CheckoutAllowRedisplayFilters", + "type": "named" + }, + "type": "array" } } }, - "unit_amount_decimal": { + "payment_method_save": { "type": { "type": "nullable", "underlying_type": { - "name": "String", + "name": "CheckoutPaymentMethodSave", "type": "named" } } } } }, - "PostCheckoutSessionsBodyLineItemsPriceDataProductData": { + "PostCheckoutSessionsBodySetupIntentData": { + "description": "A subset of parameters to be passed to SetupIntent creation for Checkout Sessions in `setup` mode.", "fields": { "description": { "type": { @@ -74429,18 +78787,6 @@ } } }, - "images": { - "type": { - "type": "nullable", - "underlying_type": { - "element_type": { - "name": "String", - "type": "named" - }, - "type": "array" - } - } - }, "metadata": { "type": { "type": "nullable", @@ -74450,13 +78796,7 @@ } } }, - "name": { - "type": { - "name": "String", - "type": "named" - } - }, - "tax_code": { + "on_behalf_of": { "type": { "type": "nullable", "underlying_type": { @@ -74467,217 +78807,219 @@ } } }, - "PostCheckoutSessionsBodyLineItemsPriceDataRecurring": { + "PostCheckoutSessionsBodyShippingAddressCollection": { + "description": "When set, provides configuration for Checkout to collect a shipping address from a customer.", "fields": { - "interval": { - "type": { - "name": "CheckoutInterval", - "type": "named" - } - }, - "interval_count": { + "allowed_countries": { "type": { - "type": "nullable", - "underlying_type": { - "name": "Int32", + "element_type": { + "name": "CheckoutAllowedCountries", "type": "named" - } + }, + "type": "array" } } } }, - "PostCheckoutSessionsBodyPaymentIntentData": { - "description": "A subset of parameters to be passed to PaymentIntent creation for Checkout Sessions in `payment` mode.", + "PostCheckoutSessionsBodyShippingOptions": { "fields": { - "application_fee_amount": { + "shipping_rate": { "type": { "type": "nullable", "underlying_type": { - "name": "Int32", + "name": "String", "type": "named" } } }, - "capture_method": { + "shipping_rate_data": { "type": { "type": "nullable", "underlying_type": { - "name": "CheckoutCaptureMethod", + "name": "PostCheckoutSessionsBodyShippingOptionsShippingRateData", "type": "named" } } - }, - "description": { + } + } + }, + "PostCheckoutSessionsBodyShippingOptionsShippingRateData": { + "fields": { + "delivery_estimate": { "type": { "type": "nullable", "underlying_type": { - "name": "String", + "name": "PostCheckoutSessionsBodyShippingOptionsShippingRateDataDeliveryEstimate", "type": "named" } } }, - "metadata": { + "display_name": { "type": { - "type": "nullable", - "underlying_type": { - "name": "JSON", - "type": "named" - } + "name": "String", + "type": "named" } }, - "on_behalf_of": { + "fixed_amount": { "type": { "type": "nullable", "underlying_type": { - "name": "String", + "name": "PostCheckoutSessionsBodyShippingOptionsShippingRateDataFixedAmount", "type": "named" } } }, - "receipt_email": { + "metadata": { "type": { "type": "nullable", "underlying_type": { - "name": "String", + "name": "JSON", "type": "named" } } }, - "setup_future_usage": { + "tax_behavior": { "type": { "type": "nullable", "underlying_type": { - "name": "CheckoutSetupFutureUsage", + "name": "CheckoutTaxBehavior", "type": "named" } } }, - "shipping": { + "tax_code": { "type": { "type": "nullable", "underlying_type": { - "name": "PostCheckoutSessionsBodyPaymentIntentDataShipping", + "name": "String", "type": "named" } } }, - "statement_descriptor": { + "type": { "type": { "type": "nullable", "underlying_type": { - "name": "String", + "name": "PostCheckoutSessionsBodyShippingOptionsShippingRateDataType", "type": "named" } } - }, - "statement_descriptor_suffix": { + } + } + }, + "PostCheckoutSessionsBodyShippingOptionsShippingRateDataDeliveryEstimate": { + "fields": { + "maximum": { "type": { "type": "nullable", "underlying_type": { - "name": "String", + "name": "PostCheckoutSessionsBodyShippingOptionsShippingRateDataDeliveryEstimateMaximum", "type": "named" } } }, - "transfer_data": { + "minimum": { "type": { "type": "nullable", "underlying_type": { - "name": "PostCheckoutSessionsBodyPaymentIntentDataTransferData", + "name": "PostCheckoutSessionsBodyShippingOptionsShippingRateDataDeliveryEstimateMinimum", "type": "named" } } + } + } + }, + "PostCheckoutSessionsBodyShippingOptionsShippingRateDataDeliveryEstimateMaximum": { + "fields": { + "unit": { + "type": { + "name": "CheckoutUnit", + "type": "named" + } }, - "transfer_group": { + "value": { "type": { - "type": "nullable", - "underlying_type": { - "name": "String", - "type": "named" - } + "name": "Int32", + "type": "named" } } } }, - "PostCheckoutSessionsBodyPaymentIntentDataShipping": { + "PostCheckoutSessionsBodyShippingOptionsShippingRateDataDeliveryEstimateMinimum": { "fields": { - "address": { + "unit": { "type": { - "name": "PostCheckoutSessionsBodyPaymentIntentDataShippingAddress", + "name": "CheckoutUnit", "type": "named" } }, - "carrier": { + "value": { "type": { - "type": "nullable", - "underlying_type": { - "name": "String", - "type": "named" - } + "name": "Int32", + "type": "named" } - }, - "name": { + } + } + }, + "PostCheckoutSessionsBodyShippingOptionsShippingRateDataFixedAmount": { + "fields": { + "amount": { "type": { - "name": "String", + "name": "Int32", "type": "named" } }, - "phone": { + "currency": { "type": { - "type": "nullable", - "underlying_type": { - "name": "String", - "type": "named" - } + "name": "String", + "type": "named" } }, - "tracking_number": { + "currency_options": { "type": { "type": "nullable", "underlying_type": { - "name": "String", + "name": "JSON", "type": "named" } } } } }, - "PostCheckoutSessionsBodyPaymentIntentDataShippingAddress": { + "PostCheckoutSessionsBodySubscriptionData": { + "description": "A subset of parameters to be passed to subscription creation for Checkout Sessions in `subscription` mode.", "fields": { - "city": { + "application_fee_percent": { "type": { "type": "nullable", "underlying_type": { - "name": "String", + "name": "Float64", "type": "named" } } }, - "country": { + "billing_cycle_anchor": { "type": { "type": "nullable", "underlying_type": { - "name": "String", + "name": "UnixTime", "type": "named" } } }, - "line1": { - "type": { - "name": "String", - "type": "named" - } - }, - "line2": { + "default_tax_rates": { "type": { "type": "nullable", "underlying_type": { - "name": "String", - "type": "named" + "element_type": { + "name": "String", + "type": "named" + }, + "type": "array" } } }, - "postal_code": { + "description": { "type": { "type": "nullable", "underlying_type": { @@ -74686,384 +79028,497 @@ } } }, - "state": { + "invoice_settings": { "type": { "type": "nullable", "underlying_type": { - "name": "String", + "name": "PostCheckoutSessionsBodySubscriptionDataInvoiceSettings", "type": "named" } } - } - } - }, - "PostCheckoutSessionsBodyPaymentIntentDataTransferData": { - "fields": { - "amount": { + }, + "metadata": { "type": { "type": "nullable", "underlying_type": { - "name": "Int32", + "name": "JSON", "type": "named" } } }, - "destination": { - "type": { - "name": "String", - "type": "named" - } - } - } - }, - "PostCheckoutSessionsBodyPaymentMethodOptions": { - "description": "Payment-method-specific configuration.", - "fields": { - "acss_debit": { + "on_behalf_of": { "type": { "type": "nullable", "underlying_type": { - "name": "PostCheckoutSessionsBodyPaymentMethodOptionsAcssDebit", + "name": "String", "type": "named" } } }, - "affirm": { + "proration_behavior": { "type": { "type": "nullable", "underlying_type": { - "name": "PostCheckoutSessionsBodyPaymentMethodOptionsAffirm", + "name": "CheckoutProrationBehavior", "type": "named" } } }, - "afterpay_clearpay": { + "transfer_data": { "type": { "type": "nullable", "underlying_type": { - "name": "PostCheckoutSessionsBodyPaymentMethodOptionsAfterpayClearpay", + "name": "PostCheckoutSessionsBodySubscriptionDataTransferData", "type": "named" } } }, - "alipay": { + "trial_end": { "type": { "type": "nullable", "underlying_type": { - "name": "PostCheckoutSessionsBodyPaymentMethodOptionsAlipay", + "name": "UnixTime", "type": "named" } } }, - "amazon_pay": { + "trial_period_days": { "type": { "type": "nullable", "underlying_type": { - "name": "PostCheckoutSessionsBodyPaymentMethodOptionsAmazonPay", + "name": "Int32", "type": "named" } } }, - "au_becs_debit": { + "trial_settings": { "type": { "type": "nullable", "underlying_type": { - "name": "PostCheckoutSessionsBodyPaymentMethodOptionsAuBecsDebit", + "name": "PostCheckoutSessionsBodySubscriptionDataTrialSettings", "type": "named" } } - }, - "bacs_debit": { + } + } + }, + "PostCheckoutSessionsBodySubscriptionDataInvoiceSettings": { + "fields": { + "issuer": { "type": { "type": "nullable", "underlying_type": { - "name": "PostCheckoutSessionsBodyPaymentMethodOptionsBacsDebit", + "name": "PostCheckoutSessionsBodySubscriptionDataInvoiceSettingsIssuer", "type": "named" } } - }, - "bancontact": { + } + } + }, + "PostCheckoutSessionsBodySubscriptionDataInvoiceSettingsIssuer": { + "fields": { + "account": { "type": { "type": "nullable", "underlying_type": { - "name": "PostCheckoutSessionsBodyPaymentMethodOptionsBancontact", + "name": "String", "type": "named" } } }, - "boleto": { + "type": { + "type": { + "name": "CheckoutType", + "type": "named" + } + } + } + }, + "PostCheckoutSessionsBodySubscriptionDataTransferData": { + "fields": { + "amount_percent": { "type": { "type": "nullable", "underlying_type": { - "name": "PostCheckoutSessionsBodyPaymentMethodOptionsBoleto", + "name": "Float64", "type": "named" } } }, - "card": { + "destination": { + "type": { + "name": "String", + "type": "named" + } + } + } + }, + "PostCheckoutSessionsBodySubscriptionDataTrialSettings": { + "fields": { + "end_behavior": { + "type": { + "name": "PostCheckoutSessionsBodySubscriptionDataTrialSettingsEndBehavior", + "type": "named" + } + } + } + }, + "PostCheckoutSessionsBodySubscriptionDataTrialSettingsEndBehavior": { + "fields": { + "missing_payment_method": { + "type": { + "name": "CheckoutMissingPaymentMethod", + "type": "named" + } + } + } + }, + "PostCheckoutSessionsBodyTaxIdCollection": { + "description": "Controls tax ID collection settings for the session.", + "fields": { + "enabled": { + "type": { + "name": "Boolean", + "type": "named" + } + } + } + }, + "PostClimateOrdersBodyBeneficiary": { + "description": "Publicly sharable reference for the end beneficiary of carbon removal. Assumed to be the Stripe account if not set.", + "fields": { + "public_name": { + "type": { + "name": "String", + "type": "named" + } + } + } + }, + "PostCouponsBodyAppliesTo": { + "description": "A hash containing directions for what this Coupon will apply discounts to.", + "fields": { + "products": { "type": { "type": "nullable", "underlying_type": { - "name": "PostCheckoutSessionsBodyPaymentMethodOptionsCard", - "type": "named" + "element_type": { + "name": "String", + "type": "named" + }, + "type": "array" } } - }, - "cashapp": { + } + } + }, + "PostCreditNotesBodyLines": { + "fields": { + "amount": { "type": { "type": "nullable", "underlying_type": { - "name": "PostCheckoutSessionsBodyPaymentMethodOptionsCashapp", + "name": "Int32", "type": "named" } } }, - "customer_balance": { + "description": { "type": { "type": "nullable", "underlying_type": { - "name": "PostCheckoutSessionsBodyPaymentMethodOptionsCustomerBalance", + "name": "String", "type": "named" } } }, - "eps": { + "invoice_line_item": { "type": { "type": "nullable", "underlying_type": { - "name": "PostCheckoutSessionsBodyPaymentMethodOptionsEps", + "name": "String", "type": "named" } } }, - "fpx": { + "quantity": { "type": { "type": "nullable", "underlying_type": { - "name": "PostCheckoutSessionsBodyPaymentMethodOptionsFpx", + "name": "Int32", "type": "named" } } }, - "giropay": { + "tax_amounts": { "type": { "type": "nullable", "underlying_type": { - "name": "PostCheckoutSessionsBodyPaymentMethodOptionsGiropay", + "name": "JSON", "type": "named" } } }, - "grabpay": { + "tax_rates": { "type": { "type": "nullable", "underlying_type": { - "name": "PostCheckoutSessionsBodyPaymentMethodOptionsGrabpay", + "name": "JSON", "type": "named" } } }, - "ideal": { + "type": { "type": { - "type": "nullable", - "underlying_type": { - "name": "PostCheckoutSessionsBodyPaymentMethodOptionsIdeal", - "type": "named" - } + "name": "CreditNotesType", + "type": "named" } }, - "klarna": { + "unit_amount": { "type": { "type": "nullable", "underlying_type": { - "name": "PostCheckoutSessionsBodyPaymentMethodOptionsKlarna", + "name": "Int32", "type": "named" } } }, - "konbini": { + "unit_amount_decimal": { "type": { "type": "nullable", "underlying_type": { - "name": "PostCheckoutSessionsBodyPaymentMethodOptionsKonbini", + "name": "String", "type": "named" } } - }, - "link": { + } + } + }, + "PostCreditNotesBodyShippingCost": { + "description": "When shipping_cost contains the shipping_rate from the invoice, the shipping_cost is included in the credit note.", + "fields": { + "shipping_rate": { "type": { "type": "nullable", "underlying_type": { - "name": "PostCheckoutSessionsBodyPaymentMethodOptionsLink", + "name": "String", "type": "named" } } - }, - "oxxo": { + } + } + }, + "PostCustomerSessionsBodyComponents": { + "description": "Configuration for each component. Exactly 1 component must be enabled.", + "fields": { + "buy_button": { "type": { "type": "nullable", "underlying_type": { - "name": "PostCheckoutSessionsBodyPaymentMethodOptionsOxxo", + "name": "PostCustomerSessionsBodyComponentsBuyButton", "type": "named" } } }, - "p24": { + "pricing_table": { "type": { "type": "nullable", "underlying_type": { - "name": "PostCheckoutSessionsBodyPaymentMethodOptionsP24", + "name": "PostCustomerSessionsBodyComponentsPricingTable", "type": "named" } } - }, - "paynow": { + } + } + }, + "PostCustomerSessionsBodyComponentsBuyButton": { + "fields": { + "enabled": { + "type": { + "name": "Boolean", + "type": "named" + } + } + } + }, + "PostCustomerSessionsBodyComponentsPricingTable": { + "fields": { + "enabled": { + "type": { + "name": "Boolean", + "type": "named" + } + } + } + }, + "PostCustomersBodyCashBalance": { + "description": "Balance information and default balance settings for this customer.", + "fields": { + "settings": { "type": { "type": "nullable", "underlying_type": { - "name": "PostCheckoutSessionsBodyPaymentMethodOptionsPaynow", + "name": "PostCustomersBodyCashBalanceSettings", "type": "named" } } - }, - "paypal": { + } + } + }, + "PostCustomersBodyCashBalanceSettings": { + "fields": { + "reconciliation_mode": { "type": { "type": "nullable", "underlying_type": { - "name": "PostCheckoutSessionsBodyPaymentMethodOptionsPaypal", + "name": "CustomersReconciliationMode", "type": "named" } } - }, - "pix": { + } + } + }, + "PostCustomersBodyInvoiceSettings": { + "description": "Default invoice settings for this customer.", + "fields": { + "custom_fields": { "type": { "type": "nullable", "underlying_type": { - "name": "PostCheckoutSessionsBodyPaymentMethodOptionsPix", + "name": "JSON", "type": "named" } } }, - "revolut_pay": { + "default_payment_method": { "type": { "type": "nullable", "underlying_type": { - "name": "PostCheckoutSessionsBodyPaymentMethodOptionsRevolutPay", + "name": "String", "type": "named" } } }, - "sepa_debit": { + "footer": { "type": { "type": "nullable", "underlying_type": { - "name": "PostCheckoutSessionsBodyPaymentMethodOptionsSepaDebit", + "name": "String", "type": "named" } } }, - "sofort": { + "rendering_options": { "type": { "type": "nullable", "underlying_type": { - "name": "PostCheckoutSessionsBodyPaymentMethodOptionsSofort", + "name": "JSON", "type": "named" } } - }, - "swish": { + } + } + }, + "PostCustomersBodyTax": { + "description": "Tax details about the customer.", + "fields": { + "ip_address": { "type": { "type": "nullable", "underlying_type": { - "name": "PostCheckoutSessionsBodyPaymentMethodOptionsSwish", + "name": "JSON", "type": "named" } } }, - "us_bank_account": { + "validate_location": { "type": { "type": "nullable", "underlying_type": { - "name": "PostCheckoutSessionsBodyPaymentMethodOptionsUsBankAccount", + "name": "CustomersValidateLocation", "type": "named" } } + } + } + }, + "PostCustomersBodyTaxIdData": { + "fields": { + "type": { + "type": { + "name": "CustomersType", + "type": "named" + } }, - "wechat_pay": { + "value": { "type": { - "type": "nullable", - "underlying_type": { - "name": "PostCheckoutSessionsBodyPaymentMethodOptionsWechatPay", - "type": "named" - } + "name": "String", + "type": "named" } } } }, - "PostCheckoutSessionsBodyPaymentMethodOptionsAcssDebit": { + "PostCustomersCustomerBankAccountsIdBodyOwner": { "fields": { - "currency": { + "address": { "type": { "type": "nullable", "underlying_type": { - "name": "CheckoutCurrency", + "name": "PostCustomersCustomerBankAccountsIdBodyOwnerAddress", "type": "named" } } }, - "mandate_options": { + "email": { "type": { "type": "nullable", "underlying_type": { - "name": "PostCheckoutSessionsBodyPaymentMethodOptionsAcssDebitMandateOptions", + "name": "String", "type": "named" } } }, - "setup_future_usage": { + "name": { "type": { "type": "nullable", "underlying_type": { - "name": "PostCheckoutSessionsBodyPaymentMethodOptionsAcssDebitSetupFutureUsage", + "name": "String", "type": "named" } } }, - "verification_method": { + "phone": { "type": { "type": "nullable", "underlying_type": { - "name": "CheckoutVerificationMethod", + "name": "String", "type": "named" } } } } }, - "PostCheckoutSessionsBodyPaymentMethodOptionsAcssDebitMandateOptions": { + "PostCustomersCustomerBankAccountsIdBodyOwnerAddress": { "fields": { - "custom_mandate_url": { + "city": { "type": { "type": "nullable", "underlying_type": { - "name": "JSON", + "name": "String", "type": "named" } } }, - "default_for": { + "country": { "type": { "type": "nullable", "underlying_type": { - "element_type": { - "name": "CheckoutDefaultFor", - "type": "named" - }, - "type": "array" + "name": "String", + "type": "named" } } }, - "interval_description": { + "line1": { "type": { "type": "nullable", "underlying_type": { @@ -75072,169 +79527,156 @@ } } }, - "payment_schedule": { + "line2": { "type": { "type": "nullable", "underlying_type": { - "name": "CheckoutPaymentSchedule", + "name": "String", "type": "named" } } }, - "transaction_type": { + "postal_code": { "type": { "type": "nullable", "underlying_type": { - "name": "CheckoutTransactionType", + "name": "String", "type": "named" } } - } - } - }, - "PostCheckoutSessionsBodyPaymentMethodOptionsAffirm": { - "fields": { - "setup_future_usage": { + }, + "state": { "type": { "type": "nullable", "underlying_type": { - "name": "PostCheckoutSessionsBodyPaymentMethodOptionsAffirmSetupFutureUsage", + "name": "String", "type": "named" } } } } }, - "PostCheckoutSessionsBodyPaymentMethodOptionsAfterpayClearpay": { + "PostCustomersCustomerBodyCashBalance": { + "description": "Balance information and default balance settings for this customer.", "fields": { - "setup_future_usage": { + "settings": { "type": { "type": "nullable", "underlying_type": { - "name": "PostCheckoutSessionsBodyPaymentMethodOptionsAfterpayClearpaySetupFutureUsage", + "name": "PostCustomersCustomerBodyCashBalanceSettings", "type": "named" } } } } }, - "PostCheckoutSessionsBodyPaymentMethodOptionsAlipay": { + "PostCustomersCustomerBodyCashBalanceSettings": { "fields": { - "setup_future_usage": { + "reconciliation_mode": { "type": { "type": "nullable", "underlying_type": { - "name": "PostCheckoutSessionsBodyPaymentMethodOptionsAlipaySetupFutureUsage", + "name": "CustomersReconciliationMode", "type": "named" } } } } }, - "PostCheckoutSessionsBodyPaymentMethodOptionsAmazonPay": { + "PostCustomersCustomerBodyInvoiceSettings": { + "description": "Default invoice settings for this customer.", "fields": { - "setup_future_usage": { + "custom_fields": { "type": { "type": "nullable", "underlying_type": { - "name": "PostCheckoutSessionsBodyPaymentMethodOptionsAmazonPaySetupFutureUsage", + "name": "JSON", "type": "named" } } - } - } - }, - "PostCheckoutSessionsBodyPaymentMethodOptionsAuBecsDebit": { - "fields": { - "setup_future_usage": { + }, + "default_payment_method": { "type": { "type": "nullable", "underlying_type": { - "name": "PostCheckoutSessionsBodyPaymentMethodOptionsAuBecsDebitSetupFutureUsage", + "name": "String", "type": "named" } } - } - } - }, - "PostCheckoutSessionsBodyPaymentMethodOptionsBacsDebit": { - "fields": { - "setup_future_usage": { + }, + "footer": { "type": { "type": "nullable", "underlying_type": { - "name": "PostCheckoutSessionsBodyPaymentMethodOptionsBacsDebitSetupFutureUsage", + "name": "String", "type": "named" } } - } - } - }, - "PostCheckoutSessionsBodyPaymentMethodOptionsBancontact": { - "fields": { - "setup_future_usage": { + }, + "rendering_options": { "type": { "type": "nullable", "underlying_type": { - "name": "PostCheckoutSessionsBodyPaymentMethodOptionsBancontactSetupFutureUsage", + "name": "JSON", "type": "named" } } } } }, - "PostCheckoutSessionsBodyPaymentMethodOptionsBoleto": { + "PostCustomersCustomerBodyTax": { + "description": "Tax details about the customer.", "fields": { - "expires_after_days": { + "ip_address": { "type": { "type": "nullable", "underlying_type": { - "name": "Int32", + "name": "JSON", "type": "named" } } }, - "setup_future_usage": { + "validate_location": { "type": { "type": "nullable", "underlying_type": { - "name": "PostCheckoutSessionsBodyPaymentMethodOptionsBoletoSetupFutureUsage", + "name": "CustomersValidateLocation", "type": "named" } } } } }, - "PostCheckoutSessionsBodyPaymentMethodOptionsCard": { + "PostCustomersCustomerCardsIdBodyOwner": { "fields": { - "installments": { + "address": { "type": { "type": "nullable", "underlying_type": { - "name": "PostCheckoutSessionsBodyPaymentMethodOptionsCardInstallments", + "name": "PostCustomersCustomerCardsIdBodyOwnerAddress", "type": "named" } } }, - "request_three_d_secure": { + "email": { "type": { "type": "nullable", "underlying_type": { - "name": "CheckoutRequestThreeDSecure", + "name": "String", "type": "named" } } }, - "setup_future_usage": { + "name": { "type": { "type": "nullable", "underlying_type": { - "name": "CheckoutSetupFutureUsage", + "name": "String", "type": "named" } } }, - "statement_descriptor_suffix_kana": { + "phone": { "type": { "type": "nullable", "underlying_type": { @@ -75242,8 +79684,12 @@ "type": "named" } } - }, - "statement_descriptor_suffix_kanji": { + } + } + }, + "PostCustomersCustomerCardsIdBodyOwnerAddress": { + "fields": { + "city": { "type": { "type": "nullable", "underlying_type": { @@ -75251,73 +79697,76 @@ "type": "named" } } - } - } - }, - "PostCheckoutSessionsBodyPaymentMethodOptionsCardInstallments": { - "fields": { - "enabled": { + }, + "country": { "type": { "type": "nullable", "underlying_type": { - "name": "Boolean", + "name": "String", "type": "named" } } - } - } - }, - "PostCheckoutSessionsBodyPaymentMethodOptionsCashapp": { - "fields": { - "setup_future_usage": { + }, + "line1": { "type": { "type": "nullable", "underlying_type": { - "name": "PostCheckoutSessionsBodyPaymentMethodOptionsCashappSetupFutureUsage", + "name": "String", "type": "named" } } - } - } - }, - "PostCheckoutSessionsBodyPaymentMethodOptionsCustomerBalance": { - "fields": { - "bank_transfer": { + }, + "line2": { "type": { "type": "nullable", "underlying_type": { - "name": "PostCheckoutSessionsBodyPaymentMethodOptionsCustomerBalanceBankTransfer", + "name": "String", "type": "named" } } }, - "funding_type": { + "postal_code": { "type": { "type": "nullable", "underlying_type": { - "name": "CheckoutFundingType", + "name": "String", "type": "named" } } }, - "setup_future_usage": { + "state": { "type": { "type": "nullable", "underlying_type": { - "name": "PostCheckoutSessionsBodyPaymentMethodOptionsCustomerBalanceSetupFutureUsage", + "name": "String", "type": "named" } } } } }, - "PostCheckoutSessionsBodyPaymentMethodOptionsCustomerBalanceBankTransfer": { + "PostCustomersCustomerCashBalanceBodySettings": { + "description": "A hash of settings for this cash balance.", + "fields": { + "reconciliation_mode": { + "type": { + "type": "nullable", + "underlying_type": { + "name": "CustomersReconciliationMode", + "type": "named" + } + } + } + } + }, + "PostCustomersCustomerFundingInstructionsBodyBankTransfer": { + "description": "Additional parameters for `bank_transfer` funding types", "fields": { "eu_bank_transfer": { "type": { "type": "nullable", "underlying_type": { - "name": "PostCheckoutSessionsBodyPaymentMethodOptionsCustomerBalanceBankTransferEuBankTransfer", + "name": "PostCustomersCustomerFundingInstructionsBodyBankTransferEuBankTransfer", "type": "named" } } @@ -75327,7 +79776,7 @@ "type": "nullable", "underlying_type": { "element_type": { - "name": "CheckoutRequestedAddressTypes", + "name": "CustomersRequestedAddressTypes", "type": "named" }, "type": "array" @@ -75336,13 +79785,13 @@ }, "type": { "type": { - "name": "PostCheckoutSessionsBodyPaymentMethodOptionsCustomerBalanceBankTransferType", + "name": "PostCustomersCustomerFundingInstructionsBodyBankTransferType", "type": "named" } } } }, - "PostCheckoutSessionsBodyPaymentMethodOptionsCustomerBalanceBankTransferEuBankTransfer": { + "PostCustomersCustomerFundingInstructionsBodyBankTransferEuBankTransfer": { "fields": { "country": { "type": { @@ -75352,197 +79801,177 @@ } } }, - "PostCheckoutSessionsBodyPaymentMethodOptionsEps": { + "PostCustomersCustomerSourcesIdBodyOwner": { "fields": { - "setup_future_usage": { + "address": { "type": { "type": "nullable", "underlying_type": { - "name": "PostCheckoutSessionsBodyPaymentMethodOptionsEpsSetupFutureUsage", + "name": "PostCustomersCustomerSourcesIdBodyOwnerAddress", "type": "named" } } - } - } - }, - "PostCheckoutSessionsBodyPaymentMethodOptionsFpx": { - "fields": { - "setup_future_usage": { + }, + "email": { "type": { "type": "nullable", "underlying_type": { - "name": "PostCheckoutSessionsBodyPaymentMethodOptionsFpxSetupFutureUsage", + "name": "String", "type": "named" } } - } - } - }, - "PostCheckoutSessionsBodyPaymentMethodOptionsGiropay": { - "fields": { - "setup_future_usage": { + }, + "name": { + "type": { + "type": "nullable", + "underlying_type": { + "name": "String", + "type": "named" + } + } + }, + "phone": { "type": { "type": "nullable", "underlying_type": { - "name": "PostCheckoutSessionsBodyPaymentMethodOptionsGiropaySetupFutureUsage", + "name": "String", "type": "named" } } } } }, - "PostCheckoutSessionsBodyPaymentMethodOptionsGrabpay": { + "PostCustomersCustomerSourcesIdBodyOwnerAddress": { "fields": { - "setup_future_usage": { + "city": { "type": { "type": "nullable", "underlying_type": { - "name": "PostCheckoutSessionsBodyPaymentMethodOptionsGrabpaySetupFutureUsage", + "name": "String", "type": "named" } } - } - } - }, - "PostCheckoutSessionsBodyPaymentMethodOptionsIdeal": { - "fields": { - "setup_future_usage": { + }, + "country": { "type": { "type": "nullable", "underlying_type": { - "name": "PostCheckoutSessionsBodyPaymentMethodOptionsIdealSetupFutureUsage", + "name": "String", "type": "named" } } - } - } - }, - "PostCheckoutSessionsBodyPaymentMethodOptionsKlarna": { - "fields": { - "setup_future_usage": { + }, + "line1": { "type": { "type": "nullable", "underlying_type": { - "name": "PostCheckoutSessionsBodyPaymentMethodOptionsKlarnaSetupFutureUsage", + "name": "String", "type": "named" } } - } - } - }, - "PostCheckoutSessionsBodyPaymentMethodOptionsKonbini": { - "fields": { - "expires_after_days": { + }, + "line2": { "type": { "type": "nullable", "underlying_type": { - "name": "Int32", + "name": "String", "type": "named" } } }, - "setup_future_usage": { + "postal_code": { "type": { "type": "nullable", "underlying_type": { - "name": "PostCheckoutSessionsBodyPaymentMethodOptionsKonbiniSetupFutureUsage", + "name": "String", "type": "named" } } - } - } - }, - "PostCheckoutSessionsBodyPaymentMethodOptionsLink": { - "fields": { - "setup_future_usage": { + }, + "state": { "type": { "type": "nullable", "underlying_type": { - "name": "PostCheckoutSessionsBodyPaymentMethodOptionsLinkSetupFutureUsage", + "name": "String", "type": "named" } } } } }, - "PostCheckoutSessionsBodyPaymentMethodOptionsOxxo": { + "PostCustomersCustomerSubscriptionsBodyAddInvoiceItems": { "fields": { - "expires_after_days": { + "discounts": { "type": { "type": "nullable", "underlying_type": { - "name": "Int32", - "type": "named" + "element_type": { + "name": "PostCustomersCustomerSubscriptionsBodyAddInvoiceItemsDiscounts", + "type": "named" + }, + "type": "array" } } }, - "setup_future_usage": { + "price": { "type": { "type": "nullable", "underlying_type": { - "name": "PostCheckoutSessionsBodyPaymentMethodOptionsOxxoSetupFutureUsage", + "name": "String", "type": "named" } } - } - } - }, - "PostCheckoutSessionsBodyPaymentMethodOptionsP24": { - "fields": { - "setup_future_usage": { + }, + "price_data": { "type": { "type": "nullable", "underlying_type": { - "name": "PostCheckoutSessionsBodyPaymentMethodOptionsP24SetupFutureUsage", + "name": "PostCustomersCustomerSubscriptionsBodyAddInvoiceItemsPriceData", "type": "named" } } }, - "tos_shown_and_accepted": { + "quantity": { "type": { "type": "nullable", "underlying_type": { - "name": "Boolean", + "name": "Int32", "type": "named" } } - } - } - }, - "PostCheckoutSessionsBodyPaymentMethodOptionsPaynow": { - "fields": { - "setup_future_usage": { + }, + "tax_rates": { "type": { "type": "nullable", "underlying_type": { - "name": "PostCheckoutSessionsBodyPaymentMethodOptionsPaynowSetupFutureUsage", + "name": "JSON", "type": "named" } } } } }, - "PostCheckoutSessionsBodyPaymentMethodOptionsPaypal": { + "PostCustomersCustomerSubscriptionsBodyAddInvoiceItemsDiscounts": { "fields": { - "capture_method": { + "coupon": { "type": { "type": "nullable", "underlying_type": { - "name": "PostCheckoutSessionsBodyPaymentMethodOptionsPaypalCaptureMethod", + "name": "String", "type": "named" } } }, - "preferred_locale": { + "discount": { "type": { "type": "nullable", "underlying_type": { - "name": "CheckoutPreferredLocale", + "name": "String", "type": "named" } } }, - "reference": { + "promotion_code": { "type": { "type": "nullable", "underlying_type": { @@ -75550,82 +79979,117 @@ "type": "named" } } + } + } + }, + "PostCustomersCustomerSubscriptionsBodyAddInvoiceItemsPriceData": { + "fields": { + "currency": { + "type": { + "name": "String", + "type": "named" + } }, - "risk_correlation_id": { + "product": { + "type": { + "name": "String", + "type": "named" + } + }, + "tax_behavior": { "type": { "type": "nullable", "underlying_type": { - "name": "String", + "name": "CustomersTaxBehavior", "type": "named" } } }, - "setup_future_usage": { + "unit_amount": { "type": { "type": "nullable", "underlying_type": { - "name": "PostCheckoutSessionsBodyPaymentMethodOptionsPaypalSetupFutureUsage", + "name": "Int32", "type": "named" } } - } - } - }, - "PostCheckoutSessionsBodyPaymentMethodOptionsPix": { - "fields": { - "expires_after_seconds": { + }, + "unit_amount_decimal": { "type": { "type": "nullable", "underlying_type": { - "name": "Int32", + "name": "String", "type": "named" } } } } }, - "PostCheckoutSessionsBodyPaymentMethodOptionsRevolutPay": { + "PostCustomersCustomerSubscriptionsBodyAutomaticTax": { + "description": "Automatic tax settings for this subscription. We recommend you only include this parameter when the existing value is being changed.", "fields": { - "setup_future_usage": { + "enabled": { + "type": { + "name": "Boolean", + "type": "named" + } + }, + "liability": { "type": { "type": "nullable", "underlying_type": { - "name": "PostCheckoutSessionsBodyPaymentMethodOptionsRevolutPaySetupFutureUsage", + "name": "PostCustomersCustomerSubscriptionsBodyAutomaticTaxLiability", "type": "named" } } } } }, - "PostCheckoutSessionsBodyPaymentMethodOptionsSepaDebit": { + "PostCustomersCustomerSubscriptionsBodyAutomaticTaxLiability": { "fields": { - "setup_future_usage": { + "account": { "type": { "type": "nullable", "underlying_type": { - "name": "PostCheckoutSessionsBodyPaymentMethodOptionsSepaDebitSetupFutureUsage", + "name": "String", "type": "named" } } + }, + "type": { + "type": { + "name": "PostCustomersCustomerSubscriptionsBodyAutomaticTaxLiabilityType", + "type": "named" + } } } }, - "PostCheckoutSessionsBodyPaymentMethodOptionsSofort": { + "PostCustomersCustomerSubscriptionsBodyInvoiceSettings": { + "description": "All invoices will be billed using the specified settings.", "fields": { - "setup_future_usage": { + "account_tax_ids": { "type": { "type": "nullable", "underlying_type": { - "name": "PostCheckoutSessionsBodyPaymentMethodOptionsSofortSetupFutureUsage", + "name": "JSON", + "type": "named" + } + } + }, + "issuer": { + "type": { + "type": "nullable", + "underlying_type": { + "name": "PostCustomersCustomerSubscriptionsBodyInvoiceSettingsIssuer", "type": "named" } } } } }, - "PostCheckoutSessionsBodyPaymentMethodOptionsSwish": { + "PostCustomersCustomerSubscriptionsBodyInvoiceSettingsIssuer": { "fields": { - "reference": { + "account": { "type": { "type": "nullable", "underlying_type": { @@ -75633,129 +80097,121 @@ "type": "named" } } + }, + "type": { + "type": { + "name": "PostCustomersCustomerSubscriptionsBodyInvoiceSettingsIssuerType", + "type": "named" + } } } }, - "PostCheckoutSessionsBodyPaymentMethodOptionsUsBankAccount": { + "PostCustomersCustomerSubscriptionsBodyItems": { "fields": { - "financial_connections": { + "billing_thresholds": { "type": { "type": "nullable", "underlying_type": { - "name": "PostCheckoutSessionsBodyPaymentMethodOptionsUsBankAccountFinancialConnections", + "name": "JSON", "type": "named" } } }, - "setup_future_usage": { + "discounts": { "type": { "type": "nullable", "underlying_type": { - "name": "PostCheckoutSessionsBodyPaymentMethodOptionsUsBankAccountSetupFutureUsage", + "name": "JSON", "type": "named" } } }, - "verification_method": { + "metadata": { "type": { "type": "nullable", "underlying_type": { - "name": "PostCheckoutSessionsBodyPaymentMethodOptionsUsBankAccountVerificationMethod", + "name": "JSON", "type": "named" } } - } - } - }, - "PostCheckoutSessionsBodyPaymentMethodOptionsUsBankAccountFinancialConnections": { - "fields": { - "permissions": { + }, + "price": { "type": { "type": "nullable", "underlying_type": { - "element_type": { - "name": "CheckoutPermissions", - "type": "named" - }, - "type": "array" + "name": "String", + "type": "named" } } }, - "prefetch": { + "price_data": { "type": { "type": "nullable", "underlying_type": { - "element_type": { - "name": "CheckoutPrefetch", - "type": "named" - }, - "type": "array" + "name": "PostCustomersCustomerSubscriptionsBodyItemsPriceData", + "type": "named" } } - } - } - }, - "PostCheckoutSessionsBodyPaymentMethodOptionsWechatPay": { - "fields": { - "app_id": { + }, + "quantity": { "type": { "type": "nullable", "underlying_type": { - "name": "String", + "name": "Int32", "type": "named" } } }, - "client": { - "type": { - "name": "CheckoutClient", - "type": "named" - } - }, - "setup_future_usage": { + "tax_rates": { "type": { "type": "nullable", "underlying_type": { - "name": "PostCheckoutSessionsBodyPaymentMethodOptionsWechatPaySetupFutureUsage", + "name": "JSON", "type": "named" } } } } }, - "PostCheckoutSessionsBodyPhoneNumberCollection": { - "description": "Controls phone number collection settings for the session.\n\nWe recommend that you review your privacy policy and check with your legal contacts\nbefore using this feature. Learn more about [collecting phone numbers with Checkout](https://stripe.com/docs/payments/checkout/phone-numbers).", + "PostCustomersCustomerSubscriptionsBodyItemsPriceData": { "fields": { - "enabled": { + "currency": { "type": { - "name": "Boolean", + "name": "String", "type": "named" } - } - } - }, - "PostCheckoutSessionsBodySetupIntentData": { - "description": "A subset of parameters to be passed to SetupIntent creation for Checkout Sessions in `setup` mode.", - "fields": { - "description": { + }, + "product": { + "type": { + "name": "String", + "type": "named" + } + }, + "recurring": { + "type": { + "name": "PostCustomersCustomerSubscriptionsBodyItemsPriceDataRecurring", + "type": "named" + } + }, + "tax_behavior": { "type": { "type": "nullable", "underlying_type": { - "name": "String", + "name": "CustomersTaxBehavior", "type": "named" } } }, - "metadata": { + "unit_amount": { "type": { "type": "nullable", "underlying_type": { - "name": "JSON", + "name": "Int32", "type": "named" } } }, - "on_behalf_of": { + "unit_amount_decimal": { "type": { "type": "nullable", "underlying_type": { @@ -75766,69 +80222,69 @@ } } }, - "PostCheckoutSessionsBodyShippingAddressCollection": { - "description": "When set, provides configuration for Checkout to collect a shipping address from a customer.", + "PostCustomersCustomerSubscriptionsBodyItemsPriceDataRecurring": { "fields": { - "allowed_countries": { + "interval": { "type": { - "element_type": { - "name": "CheckoutAllowedCountries", + "name": "CustomersInterval", + "type": "named" + } + }, + "interval_count": { + "type": { + "type": "nullable", + "underlying_type": { + "name": "Int32", "type": "named" - }, - "type": "array" + } } } } }, - "PostCheckoutSessionsBodyShippingOptions": { + "PostCustomersCustomerSubscriptionsBodyPaymentSettings": { + "description": "Payment settings to pass to invoices created by the subscription.", "fields": { - "shipping_rate": { + "payment_method_options": { "type": { "type": "nullable", "underlying_type": { - "name": "String", + "name": "PostCustomersCustomerSubscriptionsBodyPaymentSettingsPaymentMethodOptions", "type": "named" } } }, - "shipping_rate_data": { + "payment_method_types": { "type": { "type": "nullable", "underlying_type": { - "name": "PostCheckoutSessionsBodyShippingOptionsShippingRateData", + "name": "JSON", "type": "named" } } - } - } - }, - "PostCheckoutSessionsBodyShippingOptionsShippingRateData": { - "fields": { - "delivery_estimate": { + }, + "save_default_payment_method": { "type": { "type": "nullable", "underlying_type": { - "name": "PostCheckoutSessionsBodyShippingOptionsShippingRateDataDeliveryEstimate", + "name": "CustomersSaveDefaultPaymentMethod", "type": "named" } } - }, - "display_name": { - "type": { - "name": "String", - "type": "named" - } - }, - "fixed_amount": { + } + } + }, + "PostCustomersCustomerSubscriptionsBodyPaymentSettingsPaymentMethodOptions": { + "fields": { + "acss_debit": { "type": { "type": "nullable", "underlying_type": { - "name": "PostCheckoutSessionsBodyShippingOptionsShippingRateDataFixedAmount", + "name": "JSON", "type": "named" } } }, - "metadata": { + "bancontact": { "type": { "type": "nullable", "underlying_type": { @@ -75837,175 +80293,158 @@ } } }, - "tax_behavior": { + "card": { "type": { "type": "nullable", "underlying_type": { - "name": "CheckoutTaxBehavior", + "name": "JSON", "type": "named" } } }, - "tax_code": { + "customer_balance": { "type": { "type": "nullable", "underlying_type": { - "name": "String", + "name": "JSON", "type": "named" } } }, - "type": { + "konbini": { "type": { "type": "nullable", "underlying_type": { - "name": "PostCheckoutSessionsBodyShippingOptionsShippingRateDataType", + "name": "JSON", "type": "named" } } - } - } - }, - "PostCheckoutSessionsBodyShippingOptionsShippingRateDataDeliveryEstimate": { - "fields": { - "maximum": { + }, + "sepa_debit": { "type": { "type": "nullable", "underlying_type": { - "name": "PostCheckoutSessionsBodyShippingOptionsShippingRateDataDeliveryEstimateMaximum", + "name": "JSON", "type": "named" } } }, - "minimum": { + "us_bank_account": { "type": { "type": "nullable", "underlying_type": { - "name": "PostCheckoutSessionsBodyShippingOptionsShippingRateDataDeliveryEstimateMinimum", + "name": "JSON", "type": "named" } } } } }, - "PostCheckoutSessionsBodyShippingOptionsShippingRateDataDeliveryEstimateMaximum": { + "PostCustomersCustomerSubscriptionsBodyTransferData": { + "description": "If specified, the funds from the subscription's invoices will be transferred to the destination and the ID of the resulting transfers will be found on the resulting charges.", "fields": { - "unit": { + "amount_percent": { "type": { - "name": "CheckoutUnit", - "type": "named" + "type": "nullable", + "underlying_type": { + "name": "Float64", + "type": "named" + } } }, - "value": { + "destination": { "type": { - "name": "Int32", + "name": "String", "type": "named" } } } }, - "PostCheckoutSessionsBodyShippingOptionsShippingRateDataDeliveryEstimateMinimum": { + "PostCustomersCustomerSubscriptionsBodyTrialSettings": { + "description": "Settings related to subscription trials.", "fields": { - "unit": { - "type": { - "name": "CheckoutUnit", - "type": "named" - } - }, - "value": { + "end_behavior": { "type": { - "name": "Int32", + "name": "PostCustomersCustomerSubscriptionsBodyTrialSettingsEndBehavior", "type": "named" } } } }, - "PostCheckoutSessionsBodyShippingOptionsShippingRateDataFixedAmount": { + "PostCustomersCustomerSubscriptionsBodyTrialSettingsEndBehavior": { "fields": { - "amount": { - "type": { - "name": "Int32", - "type": "named" - } - }, - "currency": { + "missing_payment_method": { "type": { - "name": "String", + "name": "CustomersMissingPaymentMethod", "type": "named" } - }, - "currency_options": { - "type": { - "type": "nullable", - "underlying_type": { - "name": "JSON", - "type": "named" - } - } } } }, - "PostCheckoutSessionsBodySubscriptionData": { - "description": "A subset of parameters to be passed to subscription creation for Checkout Sessions in `subscription` mode.", + "PostCustomersCustomerSubscriptionsSubscriptionExposedIdBodyAddInvoiceItems": { "fields": { - "application_fee_percent": { + "discounts": { "type": { "type": "nullable", "underlying_type": { - "name": "Float64", - "type": "named" + "element_type": { + "name": "PostCustomersCustomerSubscriptionsSubscriptionExposedIdBodyAddInvoiceItemsDiscounts", + "type": "named" + }, + "type": "array" } } }, - "billing_cycle_anchor": { + "price": { "type": { "type": "nullable", "underlying_type": { - "name": "UnixTime", + "name": "String", "type": "named" } } }, - "default_tax_rates": { + "price_data": { "type": { "type": "nullable", "underlying_type": { - "element_type": { - "name": "String", - "type": "named" - }, - "type": "array" + "name": "PostCustomersCustomerSubscriptionsSubscriptionExposedIdBodyAddInvoiceItemsPriceData", + "type": "named" } } }, - "description": { + "quantity": { "type": { "type": "nullable", "underlying_type": { - "name": "String", + "name": "Int32", "type": "named" } } }, - "invoice_settings": { + "tax_rates": { "type": { "type": "nullable", "underlying_type": { - "name": "PostCheckoutSessionsBodySubscriptionDataInvoiceSettings", + "name": "JSON", "type": "named" } } - }, - "metadata": { + } + } + }, + "PostCustomersCustomerSubscriptionsSubscriptionExposedIdBodyAddInvoiceItemsDiscounts": { + "fields": { + "coupon": { "type": { "type": "nullable", "underlying_type": { - "name": "JSON", + "name": "String", "type": "named" } } }, - "on_behalf_of": { + "discount": { "type": { "type": "nullable", "underlying_type": { @@ -76014,34 +80453,41 @@ } } }, - "proration_behavior": { + "promotion_code": { "type": { "type": "nullable", "underlying_type": { - "name": "CheckoutProrationBehavior", + "name": "String", "type": "named" } } + } + } + }, + "PostCustomersCustomerSubscriptionsSubscriptionExposedIdBodyAddInvoiceItemsPriceData": { + "fields": { + "currency": { + "type": { + "name": "String", + "type": "named" + } }, - "transfer_data": { + "product": { "type": { - "type": "nullable", - "underlying_type": { - "name": "PostCheckoutSessionsBodySubscriptionDataTransferData", - "type": "named" - } + "name": "String", + "type": "named" } }, - "trial_end": { + "tax_behavior": { "type": { "type": "nullable", "underlying_type": { - "name": "UnixTime", + "name": "CustomersTaxBehavior", "type": "named" } } }, - "trial_period_days": { + "unit_amount": { "type": { "type": "nullable", "underlying_type": { @@ -76050,31 +80496,38 @@ } } }, - "trial_settings": { + "unit_amount_decimal": { "type": { "type": "nullable", "underlying_type": { - "name": "PostCheckoutSessionsBodySubscriptionDataTrialSettings", + "name": "String", "type": "named" } } } } }, - "PostCheckoutSessionsBodySubscriptionDataInvoiceSettings": { + "PostCustomersCustomerSubscriptionsSubscriptionExposedIdBodyAutomaticTax": { + "description": "Automatic tax settings for this subscription. We recommend you only include this parameter when the existing value is being changed.", "fields": { - "issuer": { + "enabled": { + "type": { + "name": "Boolean", + "type": "named" + } + }, + "liability": { "type": { "type": "nullable", "underlying_type": { - "name": "PostCheckoutSessionsBodySubscriptionDataInvoiceSettingsIssuer", + "name": "PostCustomersCustomerSubscriptionsSubscriptionExposedIdBodyAutomaticTaxLiability", "type": "named" } } } } }, - "PostCheckoutSessionsBodySubscriptionDataInvoiceSettingsIssuer": { + "PostCustomersCustomerSubscriptionsSubscriptionExposedIdBodyAutomaticTaxLiability": { "fields": { "account": { "type": { @@ -76087,129 +80540,125 @@ }, "type": { "type": { - "name": "CheckoutType", + "name": "PostCustomersCustomerSubscriptionsSubscriptionExposedIdBodyAutomaticTaxLiabilityType", "type": "named" } } } }, - "PostCheckoutSessionsBodySubscriptionDataTransferData": { + "PostCustomersCustomerSubscriptionsSubscriptionExposedIdBodyCancellationDetails": { + "description": "Details about why this subscription was cancelled", "fields": { - "amount_percent": { + "comment": { "type": { "type": "nullable", "underlying_type": { - "name": "Float64", + "name": "JSON", "type": "named" } } }, - "destination": { + "feedback": { "type": { - "name": "String", - "type": "named" + "type": "nullable", + "underlying_type": { + "name": "CustomersFeedback", + "type": "named" + } } } } }, - "PostCheckoutSessionsBodySubscriptionDataTrialSettings": { + "PostCustomersCustomerSubscriptionsSubscriptionExposedIdBodyInvoiceSettings": { + "description": "All invoices will be billed using the specified settings.", "fields": { - "end_behavior": { + "account_tax_ids": { "type": { - "name": "PostCheckoutSessionsBodySubscriptionDataTrialSettingsEndBehavior", - "type": "named" + "type": "nullable", + "underlying_type": { + "name": "JSON", + "type": "named" + } } - } - } - }, - "PostCheckoutSessionsBodySubscriptionDataTrialSettingsEndBehavior": { - "fields": { - "missing_payment_method": { + }, + "issuer": { "type": { - "name": "CheckoutMissingPaymentMethod", - "type": "named" + "type": "nullable", + "underlying_type": { + "name": "PostCustomersCustomerSubscriptionsSubscriptionExposedIdBodyInvoiceSettingsIssuer", + "type": "named" + } } } } }, - "PostCheckoutSessionsBodyTaxIdCollection": { - "description": "Controls tax ID collection settings for the session.", + "PostCustomersCustomerSubscriptionsSubscriptionExposedIdBodyInvoiceSettingsIssuer": { "fields": { - "enabled": { + "account": { "type": { - "name": "Boolean", - "type": "named" + "type": "nullable", + "underlying_type": { + "name": "String", + "type": "named" + } } - } - } - }, - "PostClimateOrdersBodyBeneficiary": { - "description": "Publicly sharable reference for the end beneficiary of carbon removal. Assumed to be the Stripe account if not set.", - "fields": { - "public_name": { + }, + "type": { "type": { - "name": "String", + "name": "PostCustomersCustomerSubscriptionsSubscriptionExposedIdBodyInvoiceSettingsIssuerType", "type": "named" } } } }, - "PostCouponsBodyAppliesTo": { - "description": "A hash containing directions for what this Coupon will apply discounts to.", + "PostCustomersCustomerSubscriptionsSubscriptionExposedIdBodyItems": { "fields": { - "products": { + "billing_thresholds": { "type": { "type": "nullable", "underlying_type": { - "element_type": { - "name": "String", - "type": "named" - }, - "type": "array" + "name": "JSON", + "type": "named" } } - } - } - }, - "PostCreditNotesBodyLines": { - "fields": { - "amount": { + }, + "clear_usage": { "type": { "type": "nullable", "underlying_type": { - "name": "Int32", + "name": "Boolean", "type": "named" } } }, - "description": { + "deleted": { "type": { "type": "nullable", "underlying_type": { - "name": "String", + "name": "Boolean", "type": "named" } } }, - "invoice_line_item": { + "discounts": { "type": { "type": "nullable", "underlying_type": { - "name": "String", + "name": "JSON", "type": "named" } } }, - "quantity": { + "id": { "type": { "type": "nullable", "underlying_type": { - "name": "Int32", + "name": "String", "type": "named" } } }, - "tax_amounts": { + "metadata": { "type": { "type": "nullable", "underlying_type": { @@ -76218,22 +80667,25 @@ } } }, - "tax_rates": { + "price": { "type": { "type": "nullable", "underlying_type": { - "name": "JSON", + "name": "String", "type": "named" } } }, - "type": { + "price_data": { "type": { - "name": "CreditNotesType", - "type": "named" + "type": "nullable", + "underlying_type": { + "name": "PostCustomersCustomerSubscriptionsSubscriptionExposedIdBodyItemsPriceData", + "type": "named" + } } }, - "unit_amount": { + "quantity": { "type": { "type": "nullable", "underlying_type": { @@ -76242,105 +80694,120 @@ } } }, - "unit_amount_decimal": { + "tax_rates": { "type": { "type": "nullable", "underlying_type": { - "name": "String", + "name": "JSON", "type": "named" } } } } }, - "PostCreditNotesBodyShippingCost": { - "description": "When shipping_cost contains the shipping_rate from the invoice, the shipping_cost is included in the credit note.", + "PostCustomersCustomerSubscriptionsSubscriptionExposedIdBodyItemsPriceData": { "fields": { - "shipping_rate": { + "currency": { + "type": { + "name": "String", + "type": "named" + } + }, + "product": { + "type": { + "name": "String", + "type": "named" + } + }, + "recurring": { + "type": { + "name": "PostCustomersCustomerSubscriptionsSubscriptionExposedIdBodyItemsPriceDataRecurring", + "type": "named" + } + }, + "tax_behavior": { "type": { "type": "nullable", "underlying_type": { - "name": "String", + "name": "CustomersTaxBehavior", "type": "named" } } - } - } - }, - "PostCustomerSessionsBodyComponents": { - "description": "Configuration for each component. Exactly 1 component must be enabled.", - "fields": { - "buy_button": { + }, + "unit_amount": { "type": { "type": "nullable", "underlying_type": { - "name": "PostCustomerSessionsBodyComponentsBuyButton", + "name": "Int32", "type": "named" } } }, - "pricing_table": { + "unit_amount_decimal": { "type": { "type": "nullable", "underlying_type": { - "name": "PostCustomerSessionsBodyComponentsPricingTable", + "name": "String", "type": "named" } } } } }, - "PostCustomerSessionsBodyComponentsBuyButton": { + "PostCustomersCustomerSubscriptionsSubscriptionExposedIdBodyItemsPriceDataRecurring": { "fields": { - "enabled": { + "interval": { "type": { - "name": "Boolean", + "name": "CustomersInterval", "type": "named" } - } - } - }, - "PostCustomerSessionsBodyComponentsPricingTable": { - "fields": { - "enabled": { + }, + "interval_count": { "type": { - "name": "Boolean", - "type": "named" + "type": "nullable", + "underlying_type": { + "name": "Int32", + "type": "named" + } } } } }, - "PostCustomersBodyCashBalance": { - "description": "Balance information and default balance settings for this customer.", + "PostCustomersCustomerSubscriptionsSubscriptionExposedIdBodyPaymentSettings": { + "description": "Payment settings to pass to invoices created by the subscription.", "fields": { - "settings": { + "payment_method_options": { "type": { "type": "nullable", "underlying_type": { - "name": "PostCustomersBodyCashBalanceSettings", + "name": "PostCustomersCustomerSubscriptionsSubscriptionExposedIdBodyPaymentSettingsPaymentMethodOptions", "type": "named" } } - } - } - }, - "PostCustomersBodyCashBalanceSettings": { - "fields": { - "reconciliation_mode": { + }, + "payment_method_types": { "type": { "type": "nullable", "underlying_type": { - "name": "CustomersReconciliationMode", + "name": "JSON", + "type": "named" + } + } + }, + "save_default_payment_method": { + "type": { + "type": "nullable", + "underlying_type": { + "name": "CustomersSaveDefaultPaymentMethod", "type": "named" } } } } }, - "PostCustomersBodyInvoiceSettings": { - "description": "Default invoice settings for this customer.", + "PostCustomersCustomerSubscriptionsSubscriptionExposedIdBodyPaymentSettingsPaymentMethodOptions": { "fields": { - "custom_fields": { + "acss_debit": { "type": { "type": "nullable", "underlying_type": { @@ -76349,25 +80816,25 @@ } } }, - "default_payment_method": { + "bancontact": { "type": { "type": "nullable", "underlying_type": { - "name": "String", + "name": "JSON", "type": "named" } } }, - "footer": { + "card": { "type": { "type": "nullable", "underlying_type": { - "name": "String", + "name": "JSON", "type": "named" } } }, - "rendering_options": { + "customer_balance": { "type": { "type": "nullable", "underlying_type": { @@ -76375,13 +80842,8 @@ "type": "named" } } - } - } - }, - "PostCustomersBodyTax": { - "description": "Tax details about the customer.", - "fields": { - "ip_address": { + }, + "konbini": { "type": { "type": "nullable", "underlying_type": { @@ -76390,45 +80852,60 @@ } } }, - "validate_location": { + "sepa_debit": { "type": { "type": "nullable", "underlying_type": { - "name": "CustomersValidateLocation", + "name": "JSON", + "type": "named" + } + } + }, + "us_bank_account": { + "type": { + "type": "nullable", + "underlying_type": { + "name": "JSON", "type": "named" } } } } }, - "PostCustomersBodyTaxIdData": { + "PostCustomersCustomerSubscriptionsSubscriptionExposedIdBodyTrialSettings": { + "description": "Settings related to subscription trials.", "fields": { - "type": { + "end_behavior": { "type": { - "name": "CustomersType", + "name": "PostCustomersCustomerSubscriptionsSubscriptionExposedIdBodyTrialSettingsEndBehavior", "type": "named" } - }, - "value": { + } + } + }, + "PostCustomersCustomerSubscriptionsSubscriptionExposedIdBodyTrialSettingsEndBehavior": { + "fields": { + "missing_payment_method": { "type": { - "name": "String", + "name": "CustomersMissingPaymentMethod", "type": "named" } } } }, - "PostCustomersCustomerBankAccountsIdBodyOwner": { + "PostDisputesDisputeBodyEvidence": { + "description": "Evidence to upload, to respond to a dispute. Updating any field in the hash will submit all fields in the hash for review. The combined character count of all fields is limited to 150,000.", "fields": { - "address": { + "access_activity_log": { "type": { "type": "nullable", "underlying_type": { - "name": "PostCustomersCustomerBankAccountsIdBodyOwnerAddress", + "name": "String", "type": "named" } } }, - "email": { + "billing_address": { "type": { "type": "nullable", "underlying_type": { @@ -76437,7 +80914,7 @@ } } }, - "name": { + "cancellation_policy": { "type": { "type": "nullable", "underlying_type": { @@ -76446,7 +80923,7 @@ } } }, - "phone": { + "cancellation_policy_disclosure": { "type": { "type": "nullable", "underlying_type": { @@ -76454,12 +80931,8 @@ "type": "named" } } - } - } - }, - "PostCustomersCustomerBankAccountsIdBodyOwnerAddress": { - "fields": { - "city": { + }, + "cancellation_rebuttal": { "type": { "type": "nullable", "underlying_type": { @@ -76468,7 +80941,7 @@ } } }, - "country": { + "customer_communication": { "type": { "type": "nullable", "underlying_type": { @@ -76477,7 +80950,7 @@ } } }, - "line1": { + "customer_email_address": { "type": { "type": "nullable", "underlying_type": { @@ -76486,7 +80959,7 @@ } } }, - "line2": { + "customer_name": { "type": { "type": "nullable", "underlying_type": { @@ -76495,7 +80968,7 @@ } } }, - "postal_code": { + "customer_purchase_ip": { "type": { "type": "nullable", "underlying_type": { @@ -76504,7 +80977,7 @@ } } }, - "state": { + "customer_signature": { "type": { "type": "nullable", "underlying_type": { @@ -76512,49 +80985,35 @@ "type": "named" } } - } - } - }, - "PostCustomersCustomerBodyCashBalance": { - "description": "Balance information and default balance settings for this customer.", - "fields": { - "settings": { + }, + "duplicate_charge_documentation": { "type": { "type": "nullable", "underlying_type": { - "name": "PostCustomersCustomerBodyCashBalanceSettings", + "name": "String", "type": "named" } } - } - } - }, - "PostCustomersCustomerBodyCashBalanceSettings": { - "fields": { - "reconciliation_mode": { + }, + "duplicate_charge_explanation": { "type": { "type": "nullable", "underlying_type": { - "name": "CustomersReconciliationMode", + "name": "String", "type": "named" } } - } - } - }, - "PostCustomersCustomerBodyInvoiceSettings": { - "description": "Default invoice settings for this customer.", - "fields": { - "custom_fields": { + }, + "duplicate_charge_id": { "type": { "type": "nullable", "underlying_type": { - "name": "JSON", + "name": "String", "type": "named" } } }, - "default_payment_method": { + "product_description": { "type": { "type": "nullable", "underlying_type": { @@ -76563,7 +81022,7 @@ } } }, - "footer": { + "receipt": { "type": { "type": "nullable", "underlying_type": { @@ -76572,52 +81031,43 @@ } } }, - "rendering_options": { + "refund_policy": { "type": { "type": "nullable", "underlying_type": { - "name": "JSON", + "name": "String", "type": "named" } } - } - } - }, - "PostCustomersCustomerBodyTax": { - "description": "Tax details about the customer.", - "fields": { - "ip_address": { + }, + "refund_policy_disclosure": { "type": { "type": "nullable", "underlying_type": { - "name": "JSON", + "name": "String", "type": "named" } } }, - "validate_location": { + "refund_refusal_explanation": { "type": { "type": "nullable", "underlying_type": { - "name": "CustomersValidateLocation", + "name": "String", "type": "named" } } - } - } - }, - "PostCustomersCustomerCardsIdBodyOwner": { - "fields": { - "address": { + }, + "service_date": { "type": { "type": "nullable", "underlying_type": { - "name": "PostCustomersCustomerCardsIdBodyOwnerAddress", + "name": "String", "type": "named" } } }, - "email": { + "service_documentation": { "type": { "type": "nullable", "underlying_type": { @@ -76626,7 +81076,7 @@ } } }, - "name": { + "shipping_address": { "type": { "type": "nullable", "underlying_type": { @@ -76635,7 +81085,7 @@ } } }, - "phone": { + "shipping_carrier": { "type": { "type": "nullable", "underlying_type": { @@ -76643,12 +81093,8 @@ "type": "named" } } - } - } - }, - "PostCustomersCustomerCardsIdBodyOwnerAddress": { - "fields": { - "city": { + }, + "shipping_date": { "type": { "type": "nullable", "underlying_type": { @@ -76657,7 +81103,7 @@ } } }, - "country": { + "shipping_documentation": { "type": { "type": "nullable", "underlying_type": { @@ -76666,7 +81112,7 @@ } } }, - "line1": { + "shipping_tracking_number": { "type": { "type": "nullable", "underlying_type": { @@ -76675,7 +81121,7 @@ } } }, - "line2": { + "uncategorized_file": { "type": { "type": "nullable", "underlying_type": { @@ -76684,7 +81130,7 @@ } } }, - "postal_code": { + "uncategorized_text": { "type": { "type": "nullable", "underlying_type": { @@ -76692,95 +81138,185 @@ "type": "named" } } + } + } + }, + "PostFilesBody": { + "fields": { + "expand": { + "description": "Specifies which fields in the response should be expanded.", + "type": { + "type": "nullable", + "underlying_type": { + "element_type": { + "name": "String", + "type": "named" + }, + "type": "array" + } + } }, - "state": { + "file": { + "description": "A file to upload. Make sure that the specifications follow RFC 2388, which defines file transfers for the `multipart/form-data` protocol.", + "type": { + "name": "Binary", + "type": "named" + } + }, + "file_link_data": { + "description": "Optional parameters that automatically create a [file link](https://stripe.com/docs/api#file_links) for the newly created file.", "type": { "type": "nullable", "underlying_type": { - "name": "String", + "name": "PostFilesBodyFileLinkData", "type": "named" } } + }, + "purpose": { + "description": "The [purpose](https://stripe.com/docs/file-upload#uploading-a-file) of the uploaded file.", + "type": { + "name": "PostFilesBodyPurpose", + "type": "named" + } } } }, - "PostCustomersCustomerCashBalanceBodySettings": { - "description": "A hash of settings for this cash balance.", + "PostFilesBodyFileLinkData": { + "description": "Optional parameters that automatically create a [file link](https://stripe.com/docs/api#file_links) for the newly created file.", "fields": { - "reconciliation_mode": { + "create": { + "type": { + "name": "Boolean", + "type": "named" + } + }, + "expires_at": { "type": { "type": "nullable", "underlying_type": { - "name": "CustomersReconciliationMode", + "name": "UnixTime", + "type": "named" + } + } + }, + "metadata": { + "type": { + "type": "nullable", + "underlying_type": { + "name": "JSON", "type": "named" } } } } }, - "PostCustomersCustomerFundingInstructionsBodyBankTransfer": { - "description": "Additional parameters for `bank_transfer` funding types", + "PostFinancialConnectionsSessionsBodyAccountHolder": { + "description": "The account holder to link accounts for.", "fields": { - "eu_bank_transfer": { + "account": { "type": { "type": "nullable", "underlying_type": { - "name": "PostCustomersCustomerFundingInstructionsBodyBankTransferEuBankTransfer", + "name": "String", "type": "named" } } }, - "requested_address_types": { + "customer": { "type": { "type": "nullable", "underlying_type": { - "element_type": { - "name": "CustomersRequestedAddressTypes", - "type": "named" - }, - "type": "array" + "name": "String", + "type": "named" } } }, "type": { "type": { - "name": "PostCustomersCustomerFundingInstructionsBodyBankTransferType", + "name": "FinancialConnectionsType", "type": "named" } } } }, - "PostCustomersCustomerFundingInstructionsBodyBankTransferEuBankTransfer": { + "PostFinancialConnectionsSessionsBodyFilters": { + "description": "Filters to restrict the kinds of accounts to collect.", "fields": { - "country": { + "countries": { "type": { - "name": "String", - "type": "named" + "type": "nullable", + "underlying_type": { + "element_type": { + "name": "String", + "type": "named" + }, + "type": "array" + } } } } }, - "PostCustomersCustomerSourcesIdBodyOwner": { + "PostForwardingRequestsBodyRequest": { + "description": "The request body and headers to be sent to the destination endpoint.", "fields": { - "address": { + "body": { "type": { "type": "nullable", "underlying_type": { - "name": "PostCustomersCustomerSourcesIdBodyOwnerAddress", + "name": "String", "type": "named" } } }, - "email": { + "headers": { + "type": { + "type": "nullable", + "underlying_type": { + "element_type": { + "name": "PostForwardingRequestsBodyRequestHeaders", + "type": "named" + }, + "type": "array" + } + } + } + } + }, + "PostForwardingRequestsBodyRequestHeaders": { + "fields": { + "name": { + "type": { + "name": "String", + "type": "named" + } + }, + "value": { + "type": { + "name": "String", + "type": "named" + } + } + } + }, + "PostIdentityVerificationSessionsBodyOptions": { + "description": "A set of options for the session’s verification checks.", + "fields": { + "document": { "type": { "type": "nullable", "underlying_type": { - "name": "String", + "name": "JSON", "type": "named" } } - }, - "name": { + } + } + }, + "PostIdentityVerificationSessionsBodyProvidedDetails": { + "description": "Details provided about the user being verified. These details may be shown to the user.", + "fields": { + "email": { "type": { "type": "nullable", "underlying_type": { @@ -76800,27 +81336,24 @@ } } }, - "PostCustomersCustomerSourcesIdBodyOwnerAddress": { + "PostIdentityVerificationSessionsSessionBodyOptions": { + "description": "A set of options for the session’s verification checks.", "fields": { - "city": { - "type": { - "type": "nullable", - "underlying_type": { - "name": "String", - "type": "named" - } - } - }, - "country": { + "document": { "type": { "type": "nullable", "underlying_type": { - "name": "String", + "name": "JSON", "type": "named" } } - }, - "line1": { + } + } + }, + "PostIdentityVerificationSessionsSessionBodyProvidedDetails": { + "description": "Details provided about the user being verified. These details may be shown to the user.", + "fields": { + "email": { "type": { "type": "nullable", "underlying_type": { @@ -76829,7 +81362,7 @@ } } }, - "line2": { + "phone": { "type": { "type": "nullable", "underlying_type": { @@ -76837,60 +81370,51 @@ "type": "named" } } - }, - "postal_code": { + } + } + }, + "PostInvoiceitemsBodyPeriod": { + "description": "The period associated with this invoice item. When set to different values, the period will be rendered on the invoice. If you have [Stripe Revenue Recognition](https://stripe.com/docs/revenue-recognition) enabled, the period will be used to recognize and defer revenue. See the [Revenue Recognition documentation](https://stripe.com/docs/revenue-recognition/methodology/subscriptions-and-invoicing) for details.", + "fields": { + "end": { "type": { - "type": "nullable", - "underlying_type": { - "name": "String", - "type": "named" - } + "name": "UnixTime", + "type": "named" } }, - "state": { + "start": { "type": { - "type": "nullable", - "underlying_type": { - "name": "String", - "type": "named" - } + "name": "UnixTime", + "type": "named" } } } }, - "PostCustomersCustomerSubscriptionsBodyAddInvoiceItems": { + "PostInvoiceitemsBodyPriceData": { + "description": "Data used to generate a new [Price](https://stripe.com/docs/api/prices) object inline.", "fields": { - "discounts": { + "currency": { "type": { - "type": "nullable", - "underlying_type": { - "element_type": { - "name": "PostCustomersCustomerSubscriptionsBodyAddInvoiceItemsDiscounts", - "type": "named" - }, - "type": "array" - } + "name": "String", + "type": "named" } }, - "price": { + "product": { "type": { - "type": "nullable", - "underlying_type": { - "name": "String", - "type": "named" - } + "name": "String", + "type": "named" } }, - "price_data": { + "tax_behavior": { "type": { "type": "nullable", "underlying_type": { - "name": "PostCustomersCustomerSubscriptionsBodyAddInvoiceItemsPriceData", + "name": "InvoiceitemsTaxBehavior", "type": "named" } } }, - "quantity": { + "unit_amount": { "type": { "type": "nullable", "underlying_type": { @@ -76899,49 +81423,36 @@ } } }, - "tax_rates": { + "unit_amount_decimal": { "type": { "type": "nullable", "underlying_type": { - "name": "JSON", + "name": "String", "type": "named" } } } } }, - "PostCustomersCustomerSubscriptionsBodyAddInvoiceItemsDiscounts": { + "PostInvoiceitemsInvoiceitemBodyPeriod": { + "description": "The period associated with this invoice item. When set to different values, the period will be rendered on the invoice. If you have [Stripe Revenue Recognition](https://stripe.com/docs/revenue-recognition) enabled, the period will be used to recognize and defer revenue. See the [Revenue Recognition documentation](https://stripe.com/docs/revenue-recognition/methodology/subscriptions-and-invoicing) for details.", "fields": { - "coupon": { - "type": { - "type": "nullable", - "underlying_type": { - "name": "String", - "type": "named" - } - } - }, - "discount": { + "end": { "type": { - "type": "nullable", - "underlying_type": { - "name": "String", - "type": "named" - } + "name": "UnixTime", + "type": "named" } }, - "promotion_code": { + "start": { "type": { - "type": "nullable", - "underlying_type": { - "name": "String", - "type": "named" - } + "name": "UnixTime", + "type": "named" } } } }, - "PostCustomersCustomerSubscriptionsBodyAddInvoiceItemsPriceData": { + "PostInvoiceitemsInvoiceitemBodyPriceData": { + "description": "Data used to generate a new [Price](https://stripe.com/docs/api/prices) object inline.", "fields": { "currency": { "type": { @@ -76959,7 +81470,7 @@ "type": { "type": "nullable", "underlying_type": { - "name": "CustomersTaxBehavior", + "name": "InvoiceitemsTaxBehavior", "type": "named" } } @@ -76984,8 +81495,8 @@ } } }, - "PostCustomersCustomerSubscriptionsBodyAutomaticTax": { - "description": "Automatic tax settings for this subscription. We recommend you only include this parameter when the existing value is being changed.", + "PostInvoicesBodyAutomaticTax": { + "description": "Settings for automatic tax lookup for this invoice.", "fields": { "enabled": { "type": { @@ -76997,14 +81508,14 @@ "type": { "type": "nullable", "underlying_type": { - "name": "PostCustomersCustomerSubscriptionsBodyAutomaticTaxLiability", + "name": "PostInvoicesBodyAutomaticTaxLiability", "type": "named" } } } } }, - "PostCustomersCustomerSubscriptionsBodyAutomaticTaxLiability": { + "PostInvoicesBodyAutomaticTaxLiability": { "fields": { "account": { "type": { @@ -77017,36 +81528,31 @@ }, "type": { "type": { - "name": "PostCustomersCustomerSubscriptionsBodyAutomaticTaxLiabilityType", + "name": "InvoicesType", "type": "named" } } } }, - "PostCustomersCustomerSubscriptionsBodyInvoiceSettings": { - "description": "All invoices will be billed using the specified settings.", + "PostInvoicesBodyFromInvoice": { + "description": "Revise an existing invoice. The new invoice will be created in `status=draft`. See the [revision documentation](https://stripe.com/docs/invoicing/invoice-revisions) for more details.", "fields": { - "account_tax_ids": { + "action": { "type": { - "type": "nullable", - "underlying_type": { - "name": "JSON", - "type": "named" - } + "name": "InvoicesAction", + "type": "named" } }, - "issuer": { + "invoice": { "type": { - "type": "nullable", - "underlying_type": { - "name": "PostCustomersCustomerSubscriptionsBodyInvoiceSettingsIssuer", - "type": "named" - } + "name": "String", + "type": "named" } } } }, - "PostCustomersCustomerSubscriptionsBodyInvoiceSettingsIssuer": { + "PostInvoicesBodyIssuer": { + "description": "The connected account that issues the invoice. The invoice is presented with the branding and support information of the specified account.", "fields": { "account": { "type": { @@ -77059,15 +81565,16 @@ }, "type": { "type": { - "name": "PostCustomersCustomerSubscriptionsBodyInvoiceSettingsIssuerType", + "name": "InvoicesType", "type": "named" } } } }, - "PostCustomersCustomerSubscriptionsBodyItems": { + "PostInvoicesBodyPaymentSettings": { + "description": "Configuration settings for the PaymentIntent that is generated when the invoice is finalized.", "fields": { - "billing_thresholds": { + "default_mandate": { "type": { "type": "nullable", "underlying_type": { @@ -77076,16 +81583,16 @@ } } }, - "discounts": { + "payment_method_options": { "type": { "type": "nullable", "underlying_type": { - "name": "JSON", + "name": "PostInvoicesBodyPaymentSettingsPaymentMethodOptions", "type": "named" } } }, - "metadata": { + "payment_method_types": { "type": { "type": "nullable", "underlying_type": { @@ -77093,35 +81600,39 @@ "type": "named" } } - }, - "price": { + } + } + }, + "PostInvoicesBodyPaymentSettingsPaymentMethodOptions": { + "fields": { + "acss_debit": { "type": { "type": "nullable", "underlying_type": { - "name": "String", + "name": "JSON", "type": "named" } } }, - "price_data": { + "bancontact": { "type": { "type": "nullable", "underlying_type": { - "name": "PostCustomersCustomerSubscriptionsBodyItemsPriceData", + "name": "JSON", "type": "named" } } }, - "quantity": { + "card": { "type": { "type": "nullable", "underlying_type": { - "name": "Int32", + "name": "JSON", "type": "named" } } }, - "tax_rates": { + "customer_balance": { "type": { "type": "nullable", "underlying_type": { @@ -77129,139 +81640,122 @@ "type": "named" } } - } - } - }, - "PostCustomersCustomerSubscriptionsBodyItemsPriceData": { - "fields": { - "currency": { - "type": { - "name": "String", - "type": "named" - } - }, - "product": { - "type": { - "name": "String", - "type": "named" - } - }, - "recurring": { - "type": { - "name": "PostCustomersCustomerSubscriptionsBodyItemsPriceDataRecurring", - "type": "named" - } }, - "tax_behavior": { + "konbini": { "type": { "type": "nullable", "underlying_type": { - "name": "CustomersTaxBehavior", + "name": "JSON", "type": "named" } } }, - "unit_amount": { + "sepa_debit": { "type": { "type": "nullable", "underlying_type": { - "name": "Int32", + "name": "JSON", "type": "named" } } }, - "unit_amount_decimal": { + "us_bank_account": { "type": { "type": "nullable", "underlying_type": { - "name": "String", + "name": "JSON", "type": "named" } } } } }, - "PostCustomersCustomerSubscriptionsBodyItemsPriceDataRecurring": { + "PostInvoicesBodyRendering": { + "description": "The rendering-related settings that control how the invoice is displayed on customer-facing surfaces such as PDF and Hosted Invoice Page.", "fields": { - "interval": { + "amount_tax_display": { "type": { - "name": "CustomersInterval", - "type": "named" + "type": "nullable", + "underlying_type": { + "name": "InvoicesAmountTaxDisplay", + "type": "named" + } } }, - "interval_count": { + "pdf": { "type": { "type": "nullable", "underlying_type": { - "name": "Int32", + "name": "PostInvoicesBodyRenderingPdf", "type": "named" } } } } }, - "PostCustomersCustomerSubscriptionsBodyPaymentSettings": { - "description": "Payment settings to pass to invoices created by the subscription.", + "PostInvoicesBodyRenderingPdf": { "fields": { - "payment_method_options": { + "page_size": { "type": { "type": "nullable", "underlying_type": { - "name": "PostCustomersCustomerSubscriptionsBodyPaymentSettingsPaymentMethodOptions", + "name": "InvoicesPageSize", "type": "named" } } - }, - "payment_method_types": { + } + } + }, + "PostInvoicesBodyShippingCost": { + "description": "Settings for the cost of shipping for this invoice.", + "fields": { + "shipping_rate": { "type": { "type": "nullable", "underlying_type": { - "name": "JSON", + "name": "String", "type": "named" } } }, - "save_default_payment_method": { + "shipping_rate_data": { "type": { "type": "nullable", "underlying_type": { - "name": "CustomersSaveDefaultPaymentMethod", + "name": "PostInvoicesBodyShippingCostShippingRateData", "type": "named" } } } } }, - "PostCustomersCustomerSubscriptionsBodyPaymentSettingsPaymentMethodOptions": { + "PostInvoicesBodyShippingCostShippingRateData": { "fields": { - "acss_debit": { + "delivery_estimate": { "type": { "type": "nullable", "underlying_type": { - "name": "JSON", + "name": "PostInvoicesBodyShippingCostShippingRateDataDeliveryEstimate", "type": "named" } } }, - "bancontact": { + "display_name": { "type": { - "type": "nullable", - "underlying_type": { - "name": "JSON", - "type": "named" - } + "name": "String", + "type": "named" } }, - "card": { + "fixed_amount": { "type": { "type": "nullable", "underlying_type": { - "name": "JSON", + "name": "PostInvoicesBodyShippingCostShippingRateDataFixedAmount", "type": "named" } } }, - "customer_balance": { + "metadata": { "type": { "type": "nullable", "underlying_type": { @@ -77270,118 +81764,130 @@ } } }, - "konbini": { + "tax_behavior": { "type": { "type": "nullable", "underlying_type": { - "name": "JSON", + "name": "InvoicesTaxBehavior", "type": "named" } } }, - "sepa_debit": { + "tax_code": { "type": { "type": "nullable", "underlying_type": { - "name": "JSON", + "name": "String", "type": "named" } } }, - "us_bank_account": { + "type": { "type": { "type": "nullable", "underlying_type": { - "name": "JSON", + "name": "PostInvoicesBodyShippingCostShippingRateDataType", "type": "named" } } } } }, - "PostCustomersCustomerSubscriptionsBodyTransferData": { - "description": "If specified, the funds from the subscription's invoices will be transferred to the destination and the ID of the resulting transfers will be found on the resulting charges.", + "PostInvoicesBodyShippingCostShippingRateDataDeliveryEstimate": { "fields": { - "amount_percent": { + "maximum": { "type": { "type": "nullable", "underlying_type": { - "name": "Float64", + "name": "PostInvoicesBodyShippingCostShippingRateDataDeliveryEstimateMaximum", "type": "named" } } }, - "destination": { + "minimum": { "type": { - "name": "String", - "type": "named" + "type": "nullable", + "underlying_type": { + "name": "PostInvoicesBodyShippingCostShippingRateDataDeliveryEstimateMinimum", + "type": "named" + } } } } }, - "PostCustomersCustomerSubscriptionsBodyTrialSettings": { - "description": "Settings related to subscription trials.", + "PostInvoicesBodyShippingCostShippingRateDataDeliveryEstimateMaximum": { "fields": { - "end_behavior": { + "unit": { "type": { - "name": "PostCustomersCustomerSubscriptionsBodyTrialSettingsEndBehavior", + "name": "InvoicesUnit", + "type": "named" + } + }, + "value": { + "type": { + "name": "Int32", "type": "named" } } } }, - "PostCustomersCustomerSubscriptionsBodyTrialSettingsEndBehavior": { + "PostInvoicesBodyShippingCostShippingRateDataDeliveryEstimateMinimum": { "fields": { - "missing_payment_method": { + "unit": { "type": { - "name": "CustomersMissingPaymentMethod", + "name": "InvoicesUnit", + "type": "named" + } + }, + "value": { + "type": { + "name": "Int32", "type": "named" } } } }, - "PostCustomersCustomerSubscriptionsSubscriptionExposedIdBodyAddInvoiceItems": { + "PostInvoicesBodyShippingCostShippingRateDataFixedAmount": { "fields": { - "discounts": { + "amount": { "type": { - "type": "nullable", - "underlying_type": { - "element_type": { - "name": "PostCustomersCustomerSubscriptionsSubscriptionExposedIdBodyAddInvoiceItemsDiscounts", - "type": "named" - }, - "type": "array" - } + "name": "Int32", + "type": "named" } }, - "price": { + "currency": { "type": { - "type": "nullable", - "underlying_type": { - "name": "String", - "type": "named" - } + "name": "String", + "type": "named" } }, - "price_data": { + "currency_options": { "type": { "type": "nullable", "underlying_type": { - "name": "PostCustomersCustomerSubscriptionsSubscriptionExposedIdBodyAddInvoiceItemsPriceData", + "name": "JSON", "type": "named" } } + } + } + }, + "PostInvoicesBodyShippingDetails": { + "description": "Shipping details for the invoice. The Invoice PDF will use the `shipping_details` value if it is set, otherwise the PDF will render the shipping address from the customer.", + "fields": { + "address": { + "type": { + "name": "PostInvoicesBodyShippingDetailsAddress", + "type": "named" + } }, - "quantity": { + "name": { "type": { - "type": "nullable", - "underlying_type": { - "name": "Int32", - "type": "named" - } + "name": "String", + "type": "named" } }, - "tax_rates": { + "phone": { "type": { "type": "nullable", "underlying_type": { @@ -77392,9 +81898,9 @@ } } }, - "PostCustomersCustomerSubscriptionsSubscriptionExposedIdBodyAddInvoiceItemsDiscounts": { + "PostInvoicesBodyShippingDetailsAddress": { "fields": { - "coupon": { + "city": { "type": { "type": "nullable", "underlying_type": { @@ -77403,7 +81909,7 @@ } } }, - "discount": { + "country": { "type": { "type": "nullable", "underlying_type": { @@ -77412,7 +81918,7 @@ } } }, - "promotion_code": { + "line1": { "type": { "type": "nullable", "underlying_type": { @@ -77420,54 +81926,58 @@ "type": "named" } } - } - } - }, - "PostCustomersCustomerSubscriptionsSubscriptionExposedIdBodyAddInvoiceItemsPriceData": { - "fields": { - "currency": { - "type": { - "name": "String", - "type": "named" - } }, - "product": { + "line2": { "type": { - "name": "String", - "type": "named" + "type": "nullable", + "underlying_type": { + "name": "String", + "type": "named" + } } }, - "tax_behavior": { + "postal_code": { "type": { "type": "nullable", "underlying_type": { - "name": "CustomersTaxBehavior", + "name": "String", "type": "named" } } }, - "unit_amount": { + "state": { "type": { "type": "nullable", "underlying_type": { - "name": "Int32", + "name": "String", "type": "named" } } - }, - "unit_amount_decimal": { + } + } + }, + "PostInvoicesBodyTransferData": { + "description": "If specified, the funds from the invoice will be transferred to the destination and the ID of the resulting transfer will be found on the invoice's charge.", + "fields": { + "amount": { "type": { "type": "nullable", "underlying_type": { - "name": "String", + "name": "Int32", "type": "named" } } + }, + "destination": { + "type": { + "name": "String", + "type": "named" + } } } }, - "PostCustomersCustomerSubscriptionsSubscriptionExposedIdBodyAutomaticTax": { - "description": "Automatic tax settings for this subscription. We recommend you only include this parameter when the existing value is being changed.", + "PostInvoicesCreatePreviewBodyAutomaticTax": { + "description": "Settings for automatic tax lookup for this invoice preview.", "fields": { "enabled": { "type": { @@ -77479,14 +81989,14 @@ "type": { "type": "nullable", "underlying_type": { - "name": "PostCustomersCustomerSubscriptionsSubscriptionExposedIdBodyAutomaticTaxLiability", + "name": "PostInvoicesCreatePreviewBodyAutomaticTaxLiability", "type": "named" } } } } }, - "PostCustomersCustomerSubscriptionsSubscriptionExposedIdBodyAutomaticTaxLiability": { + "PostInvoicesCreatePreviewBodyAutomaticTaxLiability": { "fields": { "account": { "type": { @@ -77499,16 +82009,16 @@ }, "type": { "type": { - "name": "PostCustomersCustomerSubscriptionsSubscriptionExposedIdBodyAutomaticTaxLiabilityType", + "name": "InvoicesType", "type": "named" } } } }, - "PostCustomersCustomerSubscriptionsSubscriptionExposedIdBodyCancellationDetails": { - "description": "Details about why this subscription was cancelled", + "PostInvoicesCreatePreviewBodyCustomerDetails": { + "description": "Details about the customer you want to invoice or overrides for an existing customer. If `automatic_tax` is enabled then one of `customer`, `customer_details`, `subscription`, or `schedule` must be set.", "fields": { - "comment": { + "address": { "type": { "type": "nullable", "underlying_type": { @@ -77517,80 +82027,106 @@ } } }, - "feedback": { + "shipping": { "type": { "type": "nullable", "underlying_type": { - "name": "CustomersFeedback", + "name": "JSON", "type": "named" } } - } - } - }, - "PostCustomersCustomerSubscriptionsSubscriptionExposedIdBodyInvoiceSettings": { - "description": "All invoices will be billed using the specified settings.", - "fields": { - "account_tax_ids": { + }, + "tax": { "type": { "type": "nullable", "underlying_type": { - "name": "JSON", + "name": "PostInvoicesCreatePreviewBodyCustomerDetailsTax", "type": "named" } } }, - "issuer": { + "tax_exempt": { "type": { "type": "nullable", "underlying_type": { - "name": "PostCustomersCustomerSubscriptionsSubscriptionExposedIdBodyInvoiceSettingsIssuer", + "name": "InvoicesTaxExempt", "type": "named" } } + }, + "tax_ids": { + "type": { + "type": "nullable", + "underlying_type": { + "element_type": { + "name": "PostInvoicesCreatePreviewBodyCustomerDetailsTaxIds", + "type": "named" + }, + "type": "array" + } + } } } }, - "PostCustomersCustomerSubscriptionsSubscriptionExposedIdBodyInvoiceSettingsIssuer": { + "PostInvoicesCreatePreviewBodyCustomerDetailsTax": { "fields": { - "account": { + "ip_address": { "type": { "type": "nullable", "underlying_type": { - "name": "String", + "name": "JSON", "type": "named" } } - }, + } + } + }, + "PostInvoicesCreatePreviewBodyCustomerDetailsTaxIds": { + "fields": { "type": { "type": { - "name": "PostCustomersCustomerSubscriptionsSubscriptionExposedIdBodyInvoiceSettingsIssuerType", + "name": "PostInvoicesCreatePreviewBodyCustomerDetailsTaxIdsType", + "type": "named" + } + }, + "value": { + "type": { + "name": "String", "type": "named" } } } }, - "PostCustomersCustomerSubscriptionsSubscriptionExposedIdBodyItems": { + "PostInvoicesCreatePreviewBodyInvoiceItems": { "fields": { - "billing_thresholds": { + "amount": { "type": { "type": "nullable", "underlying_type": { - "name": "JSON", + "name": "Int32", "type": "named" } } }, - "clear_usage": { + "currency": { "type": { "type": "nullable", "underlying_type": { - "name": "Boolean", + "name": "String", "type": "named" } } }, - "deleted": { + "description": { + "type": { + "type": "nullable", + "underlying_type": { + "name": "String", + "type": "named" + } + } + }, + "discountable": { "type": { "type": "nullable", "underlying_type": { @@ -77608,7 +82144,7 @@ } } }, - "id": { + "invoiceitem": { "type": { "type": "nullable", "underlying_type": { @@ -77626,6 +82162,15 @@ } } }, + "period": { + "type": { + "type": "nullable", + "underlying_type": { + "name": "PostInvoicesCreatePreviewBodyInvoiceItemsPeriod", + "type": "named" + } + } + }, "price": { "type": { "type": "nullable", @@ -77639,7 +82184,7 @@ "type": { "type": "nullable", "underlying_type": { - "name": "PostCustomersCustomerSubscriptionsSubscriptionExposedIdBodyItemsPriceData", + "name": "PostInvoicesCreatePreviewBodyInvoiceItemsPriceData", "type": "named" } } @@ -77653,42 +82198,29 @@ } } }, - "tax_rates": { + "tax_behavior": { "type": { "type": "nullable", "underlying_type": { - "name": "JSON", + "name": "InvoicesTaxBehavior", "type": "named" } } - } - } - }, - "PostCustomersCustomerSubscriptionsSubscriptionExposedIdBodyItemsPriceData": { - "fields": { - "currency": { - "type": { - "name": "String", - "type": "named" - } - }, - "product": { - "type": { - "name": "String", - "type": "named" - } }, - "recurring": { + "tax_code": { "type": { - "name": "PostCustomersCustomerSubscriptionsSubscriptionExposedIdBodyItemsPriceDataRecurring", - "type": "named" + "type": "nullable", + "underlying_type": { + "name": "JSON", + "type": "named" + } } }, - "tax_behavior": { + "tax_rates": { "type": { "type": "nullable", "underlying_type": { - "name": "CustomersTaxBehavior", + "name": "JSON", "type": "named" } } @@ -77713,176 +82245,180 @@ } } }, - "PostCustomersCustomerSubscriptionsSubscriptionExposedIdBodyItemsPriceDataRecurring": { + "PostInvoicesCreatePreviewBodyInvoiceItemsPeriod": { "fields": { - "interval": { + "end": { "type": { - "name": "CustomersInterval", + "name": "UnixTime", "type": "named" } }, - "interval_count": { + "start": { "type": { - "type": "nullable", - "underlying_type": { - "name": "Int32", - "type": "named" - } + "name": "UnixTime", + "type": "named" } } } }, - "PostCustomersCustomerSubscriptionsSubscriptionExposedIdBodyPaymentSettings": { - "description": "Payment settings to pass to invoices created by the subscription.", + "PostInvoicesCreatePreviewBodyInvoiceItemsPriceData": { "fields": { - "payment_method_options": { + "currency": { + "type": { + "name": "String", + "type": "named" + } + }, + "product": { + "type": { + "name": "String", + "type": "named" + } + }, + "tax_behavior": { "type": { "type": "nullable", "underlying_type": { - "name": "PostCustomersCustomerSubscriptionsSubscriptionExposedIdBodyPaymentSettingsPaymentMethodOptions", + "name": "InvoicesTaxBehavior", "type": "named" } } }, - "payment_method_types": { + "unit_amount": { "type": { "type": "nullable", "underlying_type": { - "name": "JSON", + "name": "Int32", "type": "named" } } }, - "save_default_payment_method": { + "unit_amount_decimal": { "type": { "type": "nullable", "underlying_type": { - "name": "CustomersSaveDefaultPaymentMethod", + "name": "String", "type": "named" } } } } }, - "PostCustomersCustomerSubscriptionsSubscriptionExposedIdBodyPaymentSettingsPaymentMethodOptions": { + "PostInvoicesCreatePreviewBodyIssuer": { + "description": "The connected account that issues the invoice. The invoice is presented with the branding and support information of the specified account.", "fields": { - "acss_debit": { + "account": { "type": { "type": "nullable", "underlying_type": { - "name": "JSON", + "name": "String", "type": "named" } } }, - "bancontact": { + "type": { + "type": { + "name": "InvoicesType", + "type": "named" + } + } + } + }, + "PostInvoicesCreatePreviewBodyScheduleDetails": { + "description": "The schedule creation or modification params to apply as a preview. Cannot be used with `subscription` or `subscription_` prefixed fields.", + "fields": { + "end_behavior": { "type": { "type": "nullable", "underlying_type": { - "name": "JSON", + "name": "InvoicesEndBehavior", "type": "named" } } }, - "card": { + "phases": { "type": { "type": "nullable", "underlying_type": { - "name": "JSON", - "type": "named" + "element_type": { + "name": "PostInvoicesCreatePreviewBodyScheduleDetailsPhases", + "type": "named" + }, + "type": "array" } } }, - "customer_balance": { + "proration_behavior": { "type": { "type": "nullable", "underlying_type": { - "name": "JSON", + "name": "InvoicesProrationBehavior", "type": "named" } } - }, - "konbini": { + } + } + }, + "PostInvoicesCreatePreviewBodyScheduleDetailsPhases": { + "fields": { + "add_invoice_items": { "type": { "type": "nullable", "underlying_type": { - "name": "JSON", - "type": "named" + "element_type": { + "name": "PostInvoicesCreatePreviewBodyScheduleDetailsPhasesAddInvoiceItems", + "type": "named" + }, + "type": "array" } } }, - "sepa_debit": { + "application_fee_percent": { "type": { "type": "nullable", "underlying_type": { - "name": "JSON", + "name": "Float64", "type": "named" } } }, - "us_bank_account": { + "automatic_tax": { "type": { "type": "nullable", "underlying_type": { - "name": "JSON", + "name": "PostInvoicesCreatePreviewBodyScheduleDetailsPhasesAutomaticTax", "type": "named" } } - } - } - }, - "PostCustomersCustomerSubscriptionsSubscriptionExposedIdBodyTrialSettings": { - "description": "Settings related to subscription trials.", - "fields": { - "end_behavior": { - "type": { - "name": "PostCustomersCustomerSubscriptionsSubscriptionExposedIdBodyTrialSettingsEndBehavior", - "type": "named" - } - } - } - }, - "PostCustomersCustomerSubscriptionsSubscriptionExposedIdBodyTrialSettingsEndBehavior": { - "fields": { - "missing_payment_method": { - "type": { - "name": "CustomersMissingPaymentMethod", - "type": "named" - } - } - } - }, - "PostDisputesDisputeBodyEvidence": { - "description": "Evidence to upload, to respond to a dispute. Updating any field in the hash will submit all fields in the hash for review. The combined character count of all fields is limited to 150,000.", - "fields": { - "access_activity_log": { + }, + "billing_cycle_anchor": { "type": { "type": "nullable", "underlying_type": { - "name": "String", + "name": "InvoicesBillingCycleAnchor", "type": "named" } } }, - "billing_address": { + "billing_thresholds": { "type": { "type": "nullable", "underlying_type": { - "name": "String", + "name": "JSON", "type": "named" } } }, - "cancellation_policy": { + "collection_method": { "type": { "type": "nullable", "underlying_type": { - "name": "String", + "name": "InvoicesCollectionMethod", "type": "named" } } }, - "cancellation_policy_disclosure": { + "coupon": { "type": { "type": "nullable", "underlying_type": { @@ -77891,7 +82427,7 @@ } } }, - "cancellation_rebuttal": { + "default_payment_method": { "type": { "type": "nullable", "underlying_type": { @@ -77900,79 +82436,79 @@ } } }, - "customer_communication": { + "default_tax_rates": { "type": { "type": "nullable", "underlying_type": { - "name": "String", + "name": "JSON", "type": "named" } } }, - "customer_email_address": { + "description": { "type": { "type": "nullable", "underlying_type": { - "name": "String", + "name": "JSON", "type": "named" } } }, - "customer_name": { + "discounts": { "type": { "type": "nullable", "underlying_type": { - "name": "String", + "name": "JSON", "type": "named" } } }, - "customer_purchase_ip": { + "end_date": { "type": { "type": "nullable", "underlying_type": { - "name": "String", + "name": "JSON", "type": "named" } } }, - "customer_signature": { + "invoice_settings": { "type": { "type": "nullable", "underlying_type": { - "name": "String", + "name": "PostInvoicesCreatePreviewBodyScheduleDetailsPhasesInvoiceSettings", "type": "named" } } }, - "duplicate_charge_documentation": { + "items": { "type": { - "type": "nullable", - "underlying_type": { - "name": "String", + "element_type": { + "name": "PostInvoicesCreatePreviewBodyScheduleDetailsPhasesItems", "type": "named" - } + }, + "type": "array" } }, - "duplicate_charge_explanation": { + "iterations": { "type": { "type": "nullable", "underlying_type": { - "name": "String", + "name": "Int32", "type": "named" } } }, - "duplicate_charge_id": { + "metadata": { "type": { "type": "nullable", "underlying_type": { - "name": "String", + "name": "JSON", "type": "named" } } }, - "product_description": { + "on_behalf_of": { "type": { "type": "nullable", "underlying_type": { @@ -77981,61 +82517,68 @@ } } }, - "receipt": { + "proration_behavior": { "type": { "type": "nullable", "underlying_type": { - "name": "String", + "name": "InvoicesProrationBehavior", "type": "named" } } }, - "refund_policy": { + "start_date": { "type": { "type": "nullable", "underlying_type": { - "name": "String", + "name": "JSON", "type": "named" } } }, - "refund_policy_disclosure": { + "transfer_data": { "type": { "type": "nullable", "underlying_type": { - "name": "String", + "name": "PostInvoicesCreatePreviewBodyScheduleDetailsPhasesTransferData", "type": "named" } } }, - "refund_refusal_explanation": { + "trial": { "type": { "type": "nullable", "underlying_type": { - "name": "String", + "name": "Boolean", "type": "named" } } }, - "service_date": { + "trial_end": { "type": { "type": "nullable", "underlying_type": { - "name": "String", + "name": "JSON", "type": "named" } } - }, - "service_documentation": { + } + } + }, + "PostInvoicesCreatePreviewBodyScheduleDetailsPhasesAddInvoiceItems": { + "fields": { + "discounts": { "type": { "type": "nullable", "underlying_type": { - "name": "String", - "type": "named" + "element_type": { + "name": "PostInvoicesCreatePreviewBodyScheduleDetailsPhasesAddInvoiceItemsDiscounts", + "type": "named" + }, + "type": "array" } } }, - "shipping_address": { + "price": { "type": { "type": "nullable", "underlying_type": { @@ -78044,34 +82587,38 @@ } } }, - "shipping_carrier": { + "price_data": { "type": { "type": "nullable", "underlying_type": { - "name": "String", + "name": "PostInvoicesCreatePreviewBodyScheduleDetailsPhasesAddInvoiceItemsPriceData", "type": "named" } } }, - "shipping_date": { + "quantity": { "type": { "type": "nullable", "underlying_type": { - "name": "String", + "name": "Int32", "type": "named" } } }, - "shipping_documentation": { + "tax_rates": { "type": { "type": "nullable", "underlying_type": { - "name": "String", + "name": "JSON", "type": "named" } } - }, - "shipping_tracking_number": { + } + } + }, + "PostInvoicesCreatePreviewBodyScheduleDetailsPhasesAddInvoiceItemsDiscounts": { + "fields": { + "coupon": { "type": { "type": "nullable", "underlying_type": { @@ -78080,7 +82627,7 @@ } } }, - "uncategorized_file": { + "discount": { "type": { "type": "nullable", "underlying_type": { @@ -78089,7 +82636,7 @@ } } }, - "uncategorized_text": { + "promotion_code": { "type": { "type": "nullable", "underlying_type": { @@ -78100,123 +82647,71 @@ } } }, - "PostFilesBody": { + "PostInvoicesCreatePreviewBodyScheduleDetailsPhasesAddInvoiceItemsPriceData": { "fields": { - "expand": { - "description": "Specifies which fields in the response should be expanded.", + "currency": { "type": { - "type": "nullable", - "underlying_type": { - "element_type": { - "name": "String", - "type": "named" - }, - "type": "array" - } + "name": "String", + "type": "named" } }, - "file": { - "description": "A file to upload. Make sure that the specifications follow RFC 2388, which defines file transfers for the `multipart/form-data` protocol.", + "product": { "type": { - "name": "Binary", + "name": "String", "type": "named" } }, - "file_link_data": { - "description": "Optional parameters that automatically create a [file link](https://stripe.com/docs/api#file_links) for the newly created file.", + "tax_behavior": { "type": { "type": "nullable", "underlying_type": { - "name": "PostFilesBodyFileLinkData", + "name": "InvoicesTaxBehavior", "type": "named" } } }, - "purpose": { - "description": "The [purpose](https://stripe.com/docs/file-upload#uploading-a-file) of the uploaded file.", - "type": { - "name": "PostFilesBodyPurpose", - "type": "named" - } - } - } - }, - "PostFilesBodyFileLinkData": { - "description": "Optional parameters that automatically create a [file link](https://stripe.com/docs/api#file_links) for the newly created file.", - "fields": { - "create": { - "type": { - "name": "Boolean", - "type": "named" - } - }, - "expires_at": { + "unit_amount": { "type": { "type": "nullable", "underlying_type": { - "name": "UnixTime", + "name": "Int32", "type": "named" } } }, - "metadata": { + "unit_amount_decimal": { "type": { "type": "nullable", "underlying_type": { - "name": "JSON", + "name": "String", "type": "named" } } } } }, - "PostFinancialConnectionsSessionsBodyAccountHolder": { - "description": "The account holder to link accounts for.", + "PostInvoicesCreatePreviewBodyScheduleDetailsPhasesAutomaticTax": { "fields": { - "account": { + "enabled": { "type": { - "type": "nullable", - "underlying_type": { - "name": "String", - "type": "named" - } + "name": "Boolean", + "type": "named" } }, - "customer": { + "liability": { "type": { "type": "nullable", "underlying_type": { - "name": "String", + "name": "PostInvoicesCreatePreviewBodyScheduleDetailsPhasesAutomaticTaxLiability", "type": "named" } } - }, - "type": { - "type": { - "name": "FinancialConnectionsType", - "type": "named" - } - } - } - }, - "PostFinancialConnectionsSessionsBodyFilters": { - "description": "Filters to restrict the kinds of accounts to collect.", - "fields": { - "countries": { - "type": { - "element_type": { - "name": "String", - "type": "named" - }, - "type": "array" - } } } }, - "PostForwardingRequestsBodyRequest": { - "description": "The request body and headers to be sent to the destination endpoint.", + "PostInvoicesCreatePreviewBodyScheduleDetailsPhasesAutomaticTaxLiability": { "fields": { - "body": { + "account": { "type": { "type": "nullable", "underlying_type": { @@ -78225,40 +82720,17 @@ } } }, - "headers": { - "type": { - "type": "nullable", - "underlying_type": { - "element_type": { - "name": "PostForwardingRequestsBodyRequestHeaders", - "type": "named" - }, - "type": "array" - } - } - } - } - }, - "PostForwardingRequestsBodyRequestHeaders": { - "fields": { - "name": { - "type": { - "name": "String", - "type": "named" - } - }, - "value": { + "type": { "type": { - "name": "String", + "name": "InvoicesType", "type": "named" } } } }, - "PostIdentityVerificationSessionsBodyOptions": { - "description": "A set of options for the session’s verification checks.", + "PostInvoicesCreatePreviewBodyScheduleDetailsPhasesInvoiceSettings": { "fields": { - "document": { + "account_tax_ids": { "type": { "type": "nullable", "underlying_type": { @@ -78267,30 +82739,29 @@ } } }, - "email": { + "days_until_due": { "type": { "type": "nullable", "underlying_type": { - "name": "JSON", + "name": "Int32", "type": "named" } } }, - "phone": { + "issuer": { "type": { "type": "nullable", "underlying_type": { - "name": "JSON", + "name": "PostInvoicesCreatePreviewBodyScheduleDetailsPhasesInvoiceSettingsIssuer", "type": "named" } } } } }, - "PostIdentityVerificationSessionsBodyProvidedDetails": { - "description": "Details provided about the user being verified. These details may be shown to the user.", + "PostInvoicesCreatePreviewBodyScheduleDetailsPhasesInvoiceSettingsIssuer": { "fields": { - "email": { + "account": { "type": { "type": "nullable", "underlying_type": { @@ -78299,21 +82770,17 @@ } } }, - "phone": { + "type": { "type": { - "type": "nullable", - "underlying_type": { - "name": "String", - "type": "named" - } + "name": "InvoicesType", + "type": "named" } } } }, - "PostIdentityVerificationSessionsSessionBodyOptions": { - "description": "A set of options for the session’s verification checks.", + "PostInvoicesCreatePreviewBodyScheduleDetailsPhasesItems": { "fields": { - "document": { + "billing_thresholds": { "type": { "type": "nullable", "underlying_type": { @@ -78322,7 +82789,7 @@ } } }, - "email": { + "discounts": { "type": { "type": "nullable", "underlying_type": { @@ -78331,7 +82798,7 @@ } } }, - "phone": { + "metadata": { "type": { "type": "nullable", "underlying_type": { @@ -78339,22 +82806,8 @@ "type": "named" } } - } - } - }, - "PostIdentityVerificationSessionsSessionBodyProvidedDetails": { - "description": "Details provided about the user being verified. These details may be shown to the user.", - "fields": { - "email": { - "type": { - "type": "nullable", - "underlying_type": { - "name": "String", - "type": "named" - } - } }, - "phone": { + "price": { "type": { "type": "nullable", "underlying_type": { @@ -78362,51 +82815,17 @@ "type": "named" } } - } - } - }, - "PostInvoiceitemsBodyPeriod": { - "description": "The period associated with this invoice item. When set to different values, the period will be rendered on the invoice. If you have [Stripe Revenue Recognition](https://stripe.com/docs/revenue-recognition) enabled, the period will be used to recognize and defer revenue. See the [Revenue Recognition documentation](https://stripe.com/docs/revenue-recognition/methodology/subscriptions-and-invoicing) for details.", - "fields": { - "end": { - "type": { - "name": "UnixTime", - "type": "named" - } - }, - "start": { - "type": { - "name": "UnixTime", - "type": "named" - } - } - } - }, - "PostInvoiceitemsBodyPriceData": { - "description": "Data used to generate a new [Price](https://stripe.com/docs/api/prices) object inline.", - "fields": { - "currency": { - "type": { - "name": "String", - "type": "named" - } - }, - "product": { - "type": { - "name": "String", - "type": "named" - } }, - "tax_behavior": { + "price_data": { "type": { "type": "nullable", "underlying_type": { - "name": "InvoiceitemsTaxBehavior", + "name": "PostInvoicesCreatePreviewBodyScheduleDetailsPhasesItemsPriceData", "type": "named" } } }, - "unit_amount": { + "quantity": { "type": { "type": "nullable", "underlying_type": { @@ -78415,46 +82834,34 @@ } } }, - "unit_amount_decimal": { + "tax_rates": { "type": { "type": "nullable", "underlying_type": { - "name": "String", + "name": "JSON", "type": "named" } } } } }, - "PostInvoiceitemsInvoiceitemBodyPeriod": { - "description": "The period associated with this invoice item. When set to different values, the period will be rendered on the invoice. If you have [Stripe Revenue Recognition](https://stripe.com/docs/revenue-recognition) enabled, the period will be used to recognize and defer revenue. See the [Revenue Recognition documentation](https://stripe.com/docs/revenue-recognition/methodology/subscriptions-and-invoicing) for details.", + "PostInvoicesCreatePreviewBodyScheduleDetailsPhasesItemsPriceData": { "fields": { - "end": { + "currency": { "type": { - "name": "UnixTime", + "name": "String", "type": "named" } }, - "start": { - "type": { - "name": "UnixTime", - "type": "named" - } - } - } - }, - "PostInvoiceitemsInvoiceitemBodyPriceData": { - "description": "Data used to generate a new [Price](https://stripe.com/docs/api/prices) object inline.", - "fields": { - "currency": { + "product": { "type": { "name": "String", "type": "named" } }, - "product": { + "recurring": { "type": { - "name": "String", + "name": "PostInvoicesCreatePreviewBodyScheduleDetailsPhasesItemsPriceDataRecurring", "type": "named" } }, @@ -78462,7 +82869,7 @@ "type": { "type": "nullable", "underlying_type": { - "name": "InvoiceitemsTaxBehavior", + "name": "InvoicesTaxBehavior", "type": "named" } } @@ -78487,55 +82894,37 @@ } } }, - "PostInvoicesBodyAutomaticTax": { - "description": "Settings for automatic tax lookup for this invoice.", + "PostInvoicesCreatePreviewBodyScheduleDetailsPhasesItemsPriceDataRecurring": { "fields": { - "enabled": { + "interval": { "type": { - "name": "Boolean", + "name": "InvoicesInterval", "type": "named" } }, - "liability": { + "interval_count": { "type": { "type": "nullable", "underlying_type": { - "name": "PostInvoicesBodyAutomaticTaxLiability", + "name": "Int32", "type": "named" } } } } }, - "PostInvoicesBodyAutomaticTaxLiability": { + "PostInvoicesCreatePreviewBodyScheduleDetailsPhasesTransferData": { "fields": { - "account": { + "amount_percent": { "type": { "type": "nullable", "underlying_type": { - "name": "String", + "name": "Float64", "type": "named" } } }, - "type": { - "type": { - "name": "InvoicesType", - "type": "named" - } - } - } - }, - "PostInvoicesBodyFromInvoice": { - "description": "Revise an existing invoice. The new invoice will be created in `status=draft`. See the [revision documentation](https://stripe.com/docs/invoicing/invoice-revisions) for more details.", - "fields": { - "action": { - "type": { - "name": "InvoicesAction", - "type": "named" - } - }, - "invoice": { + "destination": { "type": { "name": "String", "type": "named" @@ -78543,30 +82932,19 @@ } } }, - "PostInvoicesBodyIssuer": { - "description": "The connected account that issues the invoice. The invoice is presented with the branding and support information of the specified account.", + "PostInvoicesCreatePreviewBodySubscriptionDetails": { + "description": "The subscription creation or modification params to apply as a preview. Cannot be used with `schedule` or `schedule_details` fields.", "fields": { - "account": { + "billing_cycle_anchor": { "type": { "type": "nullable", "underlying_type": { - "name": "String", + "name": "JSON", "type": "named" } } }, - "type": { - "type": { - "name": "InvoicesType", - "type": "named" - } - } - } - }, - "PostInvoicesBodyPaymentSettings": { - "description": "Configuration settings for the PaymentIntent that is generated when the invoice is finalized.", - "fields": { - "default_mandate": { + "cancel_at": { "type": { "type": "nullable", "underlying_type": { @@ -78575,29 +82953,25 @@ } } }, - "payment_method_options": { + "cancel_at_period_end": { "type": { "type": "nullable", "underlying_type": { - "name": "PostInvoicesBodyPaymentSettingsPaymentMethodOptions", + "name": "Boolean", "type": "named" } } }, - "payment_method_types": { + "cancel_now": { "type": { "type": "nullable", "underlying_type": { - "name": "JSON", + "name": "Boolean", "type": "named" } } - } - } - }, - "PostInvoicesBodyPaymentSettingsPaymentMethodOptions": { - "fields": { - "acss_debit": { + }, + "default_tax_rates": { "type": { "type": "nullable", "underlying_type": { @@ -78606,52 +82980,55 @@ } } }, - "bancontact": { + "items": { "type": { "type": "nullable", "underlying_type": { - "name": "JSON", - "type": "named" + "element_type": { + "name": "PostInvoicesCreatePreviewBodySubscriptionDetailsItems", + "type": "named" + }, + "type": "array" } } }, - "card": { + "proration_behavior": { "type": { "type": "nullable", "underlying_type": { - "name": "JSON", + "name": "InvoicesProrationBehavior", "type": "named" } } }, - "customer_balance": { + "proration_date": { "type": { "type": "nullable", "underlying_type": { - "name": "JSON", + "name": "UnixTime", "type": "named" } } }, - "konbini": { + "resume_at": { "type": { "type": "nullable", "underlying_type": { - "name": "JSON", + "name": "InvoicesResumeAt", "type": "named" } } }, - "sepa_debit": { + "start_date": { "type": { "type": "nullable", "underlying_type": { - "name": "JSON", + "name": "UnixTime", "type": "named" } } }, - "us_bank_account": { + "trial_end": { "type": { "type": "nullable", "underlying_type": { @@ -78662,87 +83039,49 @@ } } }, - "PostInvoicesBodyRendering": { - "description": "The rendering-related settings that control how the invoice is displayed on customer-facing surfaces such as PDF and Hosted Invoice Page.", + "PostInvoicesCreatePreviewBodySubscriptionDetailsItems": { "fields": { - "amount_tax_display": { + "billing_thresholds": { "type": { "type": "nullable", "underlying_type": { - "name": "InvoicesAmountTaxDisplay", + "name": "JSON", "type": "named" } } }, - "pdf": { - "type": { - "type": "nullable", - "underlying_type": { - "name": "PostInvoicesBodyRenderingPdf", - "type": "named" - } - } - } - } - }, - "PostInvoicesBodyRenderingPdf": { - "fields": { - "page_size": { - "type": { - "type": "nullable", - "underlying_type": { - "name": "InvoicesPageSize", - "type": "named" - } - } - } - } - }, - "PostInvoicesBodyShippingCost": { - "description": "Settings for the cost of shipping for this invoice.", - "fields": { - "shipping_rate": { + "clear_usage": { "type": { "type": "nullable", "underlying_type": { - "name": "String", + "name": "Boolean", "type": "named" } } }, - "shipping_rate_data": { + "deleted": { "type": { "type": "nullable", "underlying_type": { - "name": "PostInvoicesBodyShippingCostShippingRateData", + "name": "Boolean", "type": "named" } } - } - } - }, - "PostInvoicesBodyShippingCostShippingRateData": { - "fields": { - "delivery_estimate": { + }, + "discounts": { "type": { "type": "nullable", "underlying_type": { - "name": "PostInvoicesBodyShippingCostShippingRateDataDeliveryEstimate", + "name": "JSON", "type": "named" } } }, - "display_name": { - "type": { - "name": "String", - "type": "named" - } - }, - "fixed_amount": { + "id": { "type": { "type": "nullable", "underlying_type": { - "name": "PostInvoicesBodyShippingCostShippingRateDataFixedAmount", + "name": "String", "type": "named" } } @@ -78756,16 +83095,7 @@ } } }, - "tax_behavior": { - "type": { - "type": "nullable", - "underlying_type": { - "name": "InvoicesTaxBehavior", - "type": "named" - } - } - }, - "tax_code": { + "price": { "type": { "type": "nullable", "underlying_type": { @@ -78774,86 +83104,25 @@ } } }, - "type": { - "type": { - "type": "nullable", - "underlying_type": { - "name": "PostInvoicesBodyShippingCostShippingRateDataType", - "type": "named" - } - } - } - } - }, - "PostInvoicesBodyShippingCostShippingRateDataDeliveryEstimate": { - "fields": { - "maximum": { + "price_data": { "type": { "type": "nullable", "underlying_type": { - "name": "PostInvoicesBodyShippingCostShippingRateDataDeliveryEstimateMaximum", + "name": "PostInvoicesCreatePreviewBodySubscriptionDetailsItemsPriceData", "type": "named" } } }, - "minimum": { + "quantity": { "type": { "type": "nullable", "underlying_type": { - "name": "PostInvoicesBodyShippingCostShippingRateDataDeliveryEstimateMinimum", + "name": "Int32", "type": "named" } } - } - } - }, - "PostInvoicesBodyShippingCostShippingRateDataDeliveryEstimateMaximum": { - "fields": { - "unit": { - "type": { - "name": "InvoicesUnit", - "type": "named" - } }, - "value": { - "type": { - "name": "Int32", - "type": "named" - } - } - } - }, - "PostInvoicesBodyShippingCostShippingRateDataDeliveryEstimateMinimum": { - "fields": { - "unit": { - "type": { - "name": "InvoicesUnit", - "type": "named" - } - }, - "value": { - "type": { - "name": "Int32", - "type": "named" - } - } - } - }, - "PostInvoicesBodyShippingCostShippingRateDataFixedAmount": { - "fields": { - "amount": { - "type": { - "name": "Int32", - "type": "named" - } - }, - "currency": { - "type": { - "name": "String", - "type": "named" - } - }, - "currency_options": { + "tax_rates": { "type": { "type": "nullable", "underlying_type": { @@ -78864,80 +83133,45 @@ } } }, - "PostInvoicesBodyShippingDetails": { - "description": "Shipping details for the invoice. The Invoice PDF will use the `shipping_details` value if it is set, otherwise the PDF will render the shipping address from the customer.", + "PostInvoicesCreatePreviewBodySubscriptionDetailsItemsPriceData": { "fields": { - "address": { + "currency": { "type": { - "name": "PostInvoicesBodyShippingDetailsAddress", + "name": "String", "type": "named" } }, - "name": { + "product": { "type": { "name": "String", "type": "named" } }, - "phone": { - "type": { - "type": "nullable", - "underlying_type": { - "name": "JSON", - "type": "named" - } - } - } - } - }, - "PostInvoicesBodyShippingDetailsAddress": { - "fields": { - "city": { - "type": { - "type": "nullable", - "underlying_type": { - "name": "String", - "type": "named" - } - } - }, - "country": { - "type": { - "type": "nullable", - "underlying_type": { - "name": "String", - "type": "named" - } - } - }, - "line1": { + "recurring": { "type": { - "type": "nullable", - "underlying_type": { - "name": "String", - "type": "named" - } + "name": "PostInvoicesCreatePreviewBodySubscriptionDetailsItemsPriceDataRecurring", + "type": "named" } }, - "line2": { + "tax_behavior": { "type": { "type": "nullable", "underlying_type": { - "name": "String", + "name": "InvoicesTaxBehavior", "type": "named" } } }, - "postal_code": { + "unit_amount": { "type": { "type": "nullable", "underlying_type": { - "name": "String", + "name": "Int32", "type": "named" } } }, - "state": { + "unit_amount_decimal": { "type": { "type": "nullable", "underlying_type": { @@ -78948,10 +83182,15 @@ } } }, - "PostInvoicesBodyTransferData": { - "description": "If specified, the funds from the invoice will be transferred to the destination and the ID of the resulting transfer will be found on the invoice's charge.", + "PostInvoicesCreatePreviewBodySubscriptionDetailsItemsPriceDataRecurring": { "fields": { - "amount": { + "interval": { + "type": { + "name": "InvoicesInterval", + "type": "named" + } + }, + "interval_count": { "type": { "type": "nullable", "underlying_type": { @@ -78959,12 +83198,6 @@ "type": "named" } } - }, - "destination": { - "type": { - "name": "String", - "type": "named" - } } } }, @@ -80160,117 +84393,126 @@ } } }, - "PostIssuingCardsCardBodyPin": { - "description": "The desired new PIN for this card.", + "PostIssuingCardsCardBodyPin": { + "description": "The desired new PIN for this card.", + "fields": { + "encrypted_number": { + "type": { + "type": "nullable", + "underlying_type": { + "name": "String", + "type": "named" + } + } + } + } + }, + "PostIssuingCardsCardBodySpendingControls": { + "description": "Rules that control spending for this card. Refer to our [documentation](https://stripe.com/docs/issuing/controls/spending-controls) for more details.", + "fields": { + "allowed_categories": { + "type": { + "type": "nullable", + "underlying_type": { + "element_type": { + "name": "IssuingAllowedCategories", + "type": "named" + }, + "type": "array" + } + } + }, + "allowed_merchant_countries": { + "type": { + "type": "nullable", + "underlying_type": { + "element_type": { + "name": "String", + "type": "named" + }, + "type": "array" + } + } + }, + "blocked_categories": { + "type": { + "type": "nullable", + "underlying_type": { + "element_type": { + "name": "IssuingBlockedCategories", + "type": "named" + }, + "type": "array" + } + } + }, + "blocked_merchant_countries": { + "type": { + "type": "nullable", + "underlying_type": { + "element_type": { + "name": "String", + "type": "named" + }, + "type": "array" + } + } + }, + "spending_limits": { + "type": { + "type": "nullable", + "underlying_type": { + "element_type": { + "name": "PostIssuingCardsCardBodySpendingControlsSpendingLimits", + "type": "named" + }, + "type": "array" + } + } + } + } + }, + "PostIssuingCardsCardBodySpendingControlsSpendingLimits": { + "fields": { + "amount": { + "type": { + "name": "Int32", + "type": "named" + } + }, + "categories": { + "type": { + "type": "nullable", + "underlying_type": { + "element_type": { + "name": "IssuingCategories", + "type": "named" + }, + "type": "array" + } + } + }, + "interval": { + "type": { + "name": "IssuingInterval", + "type": "named" + } + } + } + }, + "PostIssuingDisputesBodyEvidence": { + "description": "Evidence provided for the dispute.", "fields": { - "encrypted_number": { + "canceled": { "type": { "type": "nullable", "underlying_type": { - "name": "String", + "name": "JSON", "type": "named" } } - } - } - }, - "PostIssuingCardsCardBodySpendingControls": { - "description": "Rules that control spending for this card. Refer to our [documentation](https://stripe.com/docs/issuing/controls/spending-controls) for more details.", - "fields": { - "allowed_categories": { - "type": { - "type": "nullable", - "underlying_type": { - "element_type": { - "name": "IssuingAllowedCategories", - "type": "named" - }, - "type": "array" - } - } - }, - "allowed_merchant_countries": { - "type": { - "type": "nullable", - "underlying_type": { - "element_type": { - "name": "String", - "type": "named" - }, - "type": "array" - } - } - }, - "blocked_categories": { - "type": { - "type": "nullable", - "underlying_type": { - "element_type": { - "name": "IssuingBlockedCategories", - "type": "named" - }, - "type": "array" - } - } - }, - "blocked_merchant_countries": { - "type": { - "type": "nullable", - "underlying_type": { - "element_type": { - "name": "String", - "type": "named" - }, - "type": "array" - } - } - }, - "spending_limits": { - "type": { - "type": "nullable", - "underlying_type": { - "element_type": { - "name": "PostIssuingCardsCardBodySpendingControlsSpendingLimits", - "type": "named" - }, - "type": "array" - } - } - } - } - }, - "PostIssuingCardsCardBodySpendingControlsSpendingLimits": { - "fields": { - "amount": { - "type": { - "name": "Int32", - "type": "named" - } - }, - "categories": { - "type": { - "type": "nullable", - "underlying_type": { - "element_type": { - "name": "IssuingCategories", - "type": "named" - }, - "type": "array" - } - } }, - "interval": { - "type": { - "name": "IssuingInterval", - "type": "named" - } - } - } - }, - "PostIssuingDisputesBodyEvidence": { - "description": "Evidence provided for the dispute.", - "fields": { - "canceled": { + "duplicate": { "type": { "type": "nullable", "underlying_type": { @@ -80279,7 +84521,7 @@ } } }, - "duplicate": { + "fraudulent": { "type": { "type": "nullable", "underlying_type": { @@ -80288,7 +84530,7 @@ } } }, - "fraudulent": { + "merchandise_not_as_described": { "type": { "type": "nullable", "underlying_type": { @@ -80297,7 +84539,7 @@ } } }, - "merchandise_not_as_described": { + "no_valid_authorization": { "type": { "type": "nullable", "underlying_type": { @@ -80394,6 +84636,15 @@ } } }, + "no_valid_authorization": { + "type": { + "type": "nullable", + "underlying_type": { + "name": "JSON", + "type": "named" + } + } + }, "not_received": { "type": { "type": "nullable", @@ -80529,11 +84780,14 @@ "fields": { "countries": { "type": { - "element_type": { - "name": "String", - "type": "named" - }, - "type": "array" + "type": "nullable", + "underlying_type": { + "element_type": { + "name": "String", + "type": "named" + }, + "type": "array" + } } } } @@ -80570,6 +84824,15 @@ } } }, + "allow_redisplay": { + "type": { + "type": "nullable", + "underlying_type": { + "name": "PaymentIntentsAllowRedisplay", + "type": "named" + } + } + }, "au_becs_debit": { "type": { "type": "nullable", @@ -81466,6 +85729,15 @@ } } }, + "allow_redisplay": { + "type": { + "type": "nullable", + "underlying_type": { + "name": "PaymentIntentsAllowRedisplay", + "type": "named" + } + } + }, "au_becs_debit": { "type": { "type": "nullable", @@ -82254,6 +86526,15 @@ } } }, + "allow_redisplay": { + "type": { + "type": "nullable", + "underlying_type": { + "name": "PaymentIntentsAllowRedisplay", + "type": "named" + } + } + }, "au_becs_debit": { "type": { "type": "nullable", @@ -84880,6 +89161,33 @@ } } }, + "PostPaymentMethodConfigurationsBodyMobilepay": { + "description": "MobilePay is a [single-use](https://stripe.com/docs/payments/payment-methods#usage) card wallet payment method used in Denmark and Finland. It allows customers to [authenticate and approve](https://stripe.com/docs/payments/payment-methods#customer-actions) payments using the MobilePay app. Check this [page](https://stripe.com/docs/payments/mobilepay) for more details.", + "fields": { + "display_preference": { + "type": { + "type": "nullable", + "underlying_type": { + "name": "PostPaymentMethodConfigurationsBodyMobilepayDisplayPreference", + "type": "named" + } + } + } + } + }, + "PostPaymentMethodConfigurationsBodyMobilepayDisplayPreference": { + "fields": { + "preference": { + "type": { + "type": "nullable", + "underlying_type": { + "name": "PaymentMethodConfigurationsPreference", + "type": "named" + } + } + } + } + }, "PostPaymentMethodConfigurationsBodyOxxo": { "description": "OXXO is a Mexican chain of convenience stores with thousands of locations across Latin America and represents nearly 20% of online transactions in Mexico. OXXO allows customers to pay bills and online purchases in-store with cash. Check this [page](https://stripe.com/docs/payments/oxxo) for more details.", "fields": { @@ -85096,6 +89404,33 @@ } } }, + "PostPaymentMethodConfigurationsBodySwish": { + "description": "Swish is a [real-time](https://stripe.com/docs/payments/real-time) payment method popular in Sweden. It allows customers to [authenticate and approve](https://stripe.com/docs/payments/payment-methods#customer-actions) payments using the Swish mobile app and the Swedish BankID mobile app. Check this [page](https://stripe.com/docs/payments/swish) for more details.", + "fields": { + "display_preference": { + "type": { + "type": "nullable", + "underlying_type": { + "name": "PostPaymentMethodConfigurationsBodySwishDisplayPreference", + "type": "named" + } + } + } + } + }, + "PostPaymentMethodConfigurationsBodySwishDisplayPreference": { + "fields": { + "preference": { + "type": { + "type": "nullable", + "underlying_type": { + "name": "PaymentMethodConfigurationsPreference", + "type": "named" + } + } + } + } + }, "PostPaymentMethodConfigurationsBodyUsBankAccount": { "description": "Stripe users in the United States can accept ACH direct debit payments from customers with a US bank account using the Automated Clearing House (ACH) payments system operated by Nacha. Check this [page](https://stripe.com/docs/payments/ach-debit) for more details.", "fields": { @@ -85879,6 +90214,33 @@ } } }, + "PostPaymentMethodConfigurationsConfigurationBodyMobilepay": { + "description": "MobilePay is a [single-use](https://stripe.com/docs/payments/payment-methods#usage) card wallet payment method used in Denmark and Finland. It allows customers to [authenticate and approve](https://stripe.com/docs/payments/payment-methods#customer-actions) payments using the MobilePay app. Check this [page](https://stripe.com/docs/payments/mobilepay) for more details.", + "fields": { + "display_preference": { + "type": { + "type": "nullable", + "underlying_type": { + "name": "PostPaymentMethodConfigurationsConfigurationBodyMobilepayDisplayPreference", + "type": "named" + } + } + } + } + }, + "PostPaymentMethodConfigurationsConfigurationBodyMobilepayDisplayPreference": { + "fields": { + "preference": { + "type": { + "type": "nullable", + "underlying_type": { + "name": "PaymentMethodConfigurationsPreference", + "type": "named" + } + } + } + } + }, "PostPaymentMethodConfigurationsConfigurationBodyOxxo": { "description": "OXXO is a Mexican chain of convenience stores with thousands of locations across Latin America and represents nearly 20% of online transactions in Mexico. OXXO allows customers to pay bills and online purchases in-store with cash. Check this [page](https://stripe.com/docs/payments/oxxo) for more details.", "fields": { @@ -86095,6 +90457,33 @@ } } }, + "PostPaymentMethodConfigurationsConfigurationBodySwish": { + "description": "Swish is a [real-time](https://stripe.com/docs/payments/real-time) payment method popular in Sweden. It allows customers to [authenticate and approve](https://stripe.com/docs/payments/payment-methods#customer-actions) payments using the Swish mobile app and the Swedish BankID mobile app. Check this [page](https://stripe.com/docs/payments/swish) for more details.", + "fields": { + "display_preference": { + "type": { + "type": "nullable", + "underlying_type": { + "name": "PostPaymentMethodConfigurationsConfigurationBodySwishDisplayPreference", + "type": "named" + } + } + } + } + }, + "PostPaymentMethodConfigurationsConfigurationBodySwishDisplayPreference": { + "fields": { + "preference": { + "type": { + "type": "nullable", + "underlying_type": { + "name": "PaymentMethodConfigurationsPreference", + "type": "named" + } + } + } + } + }, "PostPaymentMethodConfigurationsConfigurationBodyUsBankAccount": { "description": "Stripe users in the United States can accept ACH direct debit payments from customers with a US bank account using the Automated Clearing House (ACH) payments system operated by Nacha. Check this [page](https://stripe.com/docs/payments/ach-debit) for more details.", "fields": { @@ -87645,6 +92034,15 @@ } } }, + "allow_redisplay": { + "type": { + "type": "nullable", + "underlying_type": { + "name": "SetupIntentsAllowRedisplay", + "type": "named" + } + } + }, "au_becs_debit": { "type": { "type": "nullable", @@ -88566,6 +92964,15 @@ } } }, + "allow_redisplay": { + "type": { + "type": "nullable", + "underlying_type": { + "name": "SetupIntentsAllowRedisplay", + "type": "named" + } + } + }, "au_becs_debit": { "type": { "type": "nullable", @@ -89470,6 +93877,15 @@ } } }, + "allow_redisplay": { + "type": { + "type": "nullable", + "underlying_type": { + "name": "SetupIntentsAllowRedisplay", + "type": "named" + } + } + }, "au_becs_debit": { "type": { "type": "nullable", @@ -94230,6 +98646,72 @@ } } }, + "PostTaxCalculationsBodyShipFromDetails": { + "description": "Details about the address from which the goods are being shipped.", + "fields": { + "address": { + "type": { + "name": "PostTaxCalculationsBodyShipFromDetailsAddress", + "type": "named" + } + } + } + }, + "PostTaxCalculationsBodyShipFromDetailsAddress": { + "fields": { + "city": { + "type": { + "type": "nullable", + "underlying_type": { + "name": "JSON", + "type": "named" + } + } + }, + "country": { + "type": { + "name": "String", + "type": "named" + } + }, + "line1": { + "type": { + "type": "nullable", + "underlying_type": { + "name": "JSON", + "type": "named" + } + } + }, + "line2": { + "type": { + "type": "nullable", + "underlying_type": { + "name": "JSON", + "type": "named" + } + } + }, + "postal_code": { + "type": { + "type": "nullable", + "underlying_type": { + "name": "JSON", + "type": "named" + } + } + }, + "state": { + "type": { + "type": "nullable", + "underlying_type": { + "name": "JSON", + "type": "named" + } + } + } + } + }, "PostTaxCalculationsBodyShippingCost": { "description": "Shipping cost details to be used for the calculation.", "fields": { @@ -94348,6 +98830,15 @@ } } }, + "bh": { + "type": { + "type": "nullable", + "underlying_type": { + "name": "PostTaxRegistrationsBodyCountryOptionsBh", + "type": "named" + } + } + }, "ca": { "type": { "type": "nullable", @@ -94429,6 +98920,15 @@ } } }, + "eg": { + "type": { + "type": "nullable", + "underlying_type": { + "name": "PostTaxRegistrationsBodyCountryOptionsEg", + "type": "named" + } + } + }, "es": { "type": { "type": "nullable", @@ -94465,6 +98965,15 @@ } } }, + "ge": { + "type": { + "type": "nullable", + "underlying_type": { + "name": "PostTaxRegistrationsBodyCountryOptionsGe", + "type": "named" + } + } + }, "gr": { "type": { "type": "nullable", @@ -94537,6 +99046,15 @@ } } }, + "ke": { + "type": { + "type": "nullable", + "underlying_type": { + "name": "PostTaxRegistrationsBodyCountryOptionsKe", + "type": "named" + } + } + }, "kr": { "type": { "type": "nullable", @@ -94546,6 +99064,15 @@ } } }, + "kz": { + "type": { + "type": "nullable", + "underlying_type": { + "name": "PostTaxRegistrationsBodyCountryOptionsKz", + "type": "named" + } + } + }, "lt": { "type": { "type": "nullable", @@ -94600,6 +99127,15 @@ } } }, + "ng": { + "type": { + "type": "nullable", + "underlying_type": { + "name": "PostTaxRegistrationsBodyCountryOptionsNg", + "type": "named" + } + } + }, "nl": { "type": { "type": "nullable", @@ -94627,6 +99163,15 @@ } } }, + "om": { + "type": { + "type": "nullable", + "underlying_type": { + "name": "PostTaxRegistrationsBodyCountryOptionsOm", + "type": "named" + } + } + }, "pl": { "type": { "type": "nullable", @@ -94853,6 +99398,16 @@ } } }, + "PostTaxRegistrationsBodyCountryOptionsBh": { + "fields": { + "type": { + "type": { + "name": "PostTaxRegistrationsBodyCountryOptionsBhType", + "type": "named" + } + } + } + }, "PostTaxRegistrationsBodyCountryOptionsCa": { "fields": { "province_standard": { @@ -95057,6 +99612,16 @@ } } }, + "PostTaxRegistrationsBodyCountryOptionsEg": { + "fields": { + "type": { + "type": { + "name": "PostTaxRegistrationsBodyCountryOptionsEgType", + "type": "named" + } + } + } + }, "PostTaxRegistrationsBodyCountryOptionsEs": { "fields": { "standard": { @@ -95154,6 +99719,16 @@ } } }, + "PostTaxRegistrationsBodyCountryOptionsGe": { + "fields": { + "type": { + "type": { + "name": "PostTaxRegistrationsBodyCountryOptionsGeType", + "type": "named" + } + } + } + }, "PostTaxRegistrationsBodyCountryOptionsGr": { "fields": { "standard": { @@ -95329,6 +99904,16 @@ } } }, + "PostTaxRegistrationsBodyCountryOptionsKe": { + "fields": { + "type": { + "type": { + "name": "PostTaxRegistrationsBodyCountryOptionsKeType", + "type": "named" + } + } + } + }, "PostTaxRegistrationsBodyCountryOptionsKr": { "fields": { "type": { @@ -95339,6 +99924,16 @@ } } }, + "PostTaxRegistrationsBodyCountryOptionsKz": { + "fields": { + "type": { + "type": { + "name": "PostTaxRegistrationsBodyCountryOptionsKzType", + "type": "named" + } + } + } + }, "PostTaxRegistrationsBodyCountryOptionsLt": { "fields": { "standard": { @@ -95475,6 +100070,16 @@ } } }, + "PostTaxRegistrationsBodyCountryOptionsNg": { + "fields": { + "type": { + "type": { + "name": "PostTaxRegistrationsBodyCountryOptionsNgType", + "type": "named" + } + } + } + }, "PostTaxRegistrationsBodyCountryOptionsNl": { "fields": { "standard": { @@ -95524,6 +100129,16 @@ } } }, + "PostTaxRegistrationsBodyCountryOptionsOm": { + "fields": { + "type": { + "type": { + "name": "PostTaxRegistrationsBodyCountryOptionsOmType", + "type": "named" + } + } + } + }, "PostTaxRegistrationsBodyCountryOptionsPl": { "fields": { "standard": { @@ -96252,6 +100867,15 @@ } } }, + "allow_redisplay": { + "type": { + "type": "nullable", + "underlying_type": { + "name": "TestHelpersAllowRedisplay", + "type": "named" + } + } + }, "au_becs_debit": { "type": { "type": "nullable", @@ -97992,8 +102616,69 @@ } } }, + "PostTestHelpersTreasuryOutboundPaymentsIdBodyTrackingDetails": { + "description": "Details about network-specific tracking information.", + "fields": { + "ach": { + "type": { + "type": "nullable", + "underlying_type": { + "name": "PostTestHelpersTreasuryOutboundPaymentsIdBodyTrackingDetailsAch", + "type": "named" + } + } + }, + "type": { + "type": { + "name": "PostTestHelpersTreasuryOutboundPaymentsIdBodyTrackingDetailsType", + "type": "named" + } + }, + "us_domestic_wire": { + "type": { + "type": "nullable", + "underlying_type": { + "name": "PostTestHelpersTreasuryOutboundPaymentsIdBodyTrackingDetailsUsDomesticWire", + "type": "named" + } + } + } + } + }, + "PostTestHelpersTreasuryOutboundPaymentsIdBodyTrackingDetailsAch": { + "fields": { + "trace_id": { + "type": { + "name": "String", + "type": "named" + } + } + } + }, + "PostTestHelpersTreasuryOutboundPaymentsIdBodyTrackingDetailsUsDomesticWire": { + "fields": { + "imad": { + "type": { + "type": "nullable", + "underlying_type": { + "name": "String", + "type": "named" + } + } + }, + "omad": { + "type": { + "type": "nullable", + "underlying_type": { + "name": "String", + "type": "named" + } + } + } + } + }, "PostTestHelpersTreasuryOutboundPaymentsIdReturnBodyReturnedDetails": { - "description": "Optional hash to set the the return code.", + "description": "Optional hash to set the return code.", "fields": { "code": { "type": { @@ -98006,6 +102691,67 @@ } } }, + "PostTestHelpersTreasuryOutboundTransfersOutboundTransferBodyTrackingDetails": { + "description": "Details about network-specific tracking information.", + "fields": { + "ach": { + "type": { + "type": "nullable", + "underlying_type": { + "name": "PostTestHelpersTreasuryOutboundTransfersOutboundTransferBodyTrackingDetailsAch", + "type": "named" + } + } + }, + "type": { + "type": { + "name": "PostTestHelpersTreasuryOutboundTransfersOutboundTransferBodyTrackingDetailsType", + "type": "named" + } + }, + "us_domestic_wire": { + "type": { + "type": "nullable", + "underlying_type": { + "name": "PostTestHelpersTreasuryOutboundTransfersOutboundTransferBodyTrackingDetailsUsDomesticWire", + "type": "named" + } + } + } + } + }, + "PostTestHelpersTreasuryOutboundTransfersOutboundTransferBodyTrackingDetailsAch": { + "fields": { + "trace_id": { + "type": { + "name": "String", + "type": "named" + } + } + } + }, + "PostTestHelpersTreasuryOutboundTransfersOutboundTransferBodyTrackingDetailsUsDomesticWire": { + "fields": { + "imad": { + "type": { + "type": "nullable", + "underlying_type": { + "name": "String", + "type": "named" + } + } + }, + "omad": { + "type": { + "type": "nullable", + "underlying_type": { + "name": "String", + "type": "named" + } + } + } + } + }, "PostTestHelpersTreasuryOutboundTransfersOutboundTransferReturnBodyReturnedDetails": { "description": "Details about a returned OutboundTransfer.", "fields": { @@ -103763,6 +108509,15 @@ } } }, + "amazon_pay": { + "type": { + "type": "nullable", + "underlying_type": { + "name": "SetupAttemptPaymentMethodDetailsAmazonPay", + "type": "named" + } + } + }, "au_becs_debit": { "type": { "type": "nullable", @@ -103862,6 +108617,15 @@ } } }, + "revolut_pay": { + "type": { + "type": "nullable", + "underlying_type": { + "name": "SetupAttemptPaymentMethodDetailsRevolutPay", + "type": "named" + } + } + }, "sepa_debit": { "type": { "type": "nullable", @@ -104328,7 +109092,7 @@ } }, "SetupIntent": { - "description": "A SetupIntent guides you through the process of setting up and saving a customer's payment credentials for future payments.\nFor example, you can use a SetupIntent to set up and save your customer's card without immediately collecting a payment.\nLater, you can use [PaymentIntents](https://stripe.com/docs/api#payment_intents) to drive the payment flow.\n\nCreate a SetupIntent when you're ready to collect your customer's payment credentials.\nDon't maintain long-lived, unconfirmed SetupIntents because they might not be valid.\nThe SetupIntent transitions through multiple [statuses](https://stripe.com/docs/payments/intents#intent-statuses) as it guides\nyou through the setup process.\n\nSuccessful SetupIntents result in payment credentials that are optimized for future payments.\nFor example, cardholders in [certain regions](/guides/strong-customer-authentication) might need to be run through\n[Strong Customer Authentication](https://stripe.com/docs/strong-customer-authentication) during payment method collection\nto streamline later [off-session payments](https://stripe.com/docs/payments/setup-intents).\nIf you use the SetupIntent with a [Customer](https://stripe.com/docs/api#setup_intent_object-customer),\nit automatically attaches the resulting payment method to that Customer after successful setup.\nWe recommend using SetupIntents or [setup_future_usage](https://stripe.com/docs/api#payment_intent_object-setup_future_usage) on\nPaymentIntents to save payment methods to prevent saving invalid or unoptimized payment methods.\n\nBy using SetupIntents, you can reduce friction for your customers, even as regulations change over time.\n\nRelated guide: [Setup Intents API](https://stripe.com/docs/payments/setup-intents)", + "description": "A SetupIntent guides you through the process of setting up and saving a customer's payment credentials for future payments.\nFor example, you can use a SetupIntent to set up and save your customer's card without immediately collecting a payment.\nLater, you can use [PaymentIntents](https://stripe.com/docs/api#payment_intents) to drive the payment flow.\n\nCreate a SetupIntent when you're ready to collect your customer's payment credentials.\nDon't maintain long-lived, unconfirmed SetupIntents because they might not be valid.\nThe SetupIntent transitions through multiple [statuses](https://docs.stripe.com/payments/intents#intent-statuses) as it guides\nyou through the setup process.\n\nSuccessful SetupIntents result in payment credentials that are optimized for future payments.\nFor example, cardholders in [certain regions](https://stripe.com/guides/strong-customer-authentication) might need to be run through\n[Strong Customer Authentication](https://docs.stripe.com/strong-customer-authentication) during payment method collection\nto streamline later [off-session payments](https://docs.stripe.com/payments/setup-intents).\nIf you use the SetupIntent with a [Customer](https://stripe.com/docs/api#setup_intent_object-customer),\nit automatically attaches the resulting payment method to that Customer after successful setup.\nWe recommend using SetupIntents or [setup_future_usage](https://stripe.com/docs/api#payment_intent_object-setup_future_usage) on\nPaymentIntents to save payment methods to prevent saving invalid or unoptimized payment methods.\n\nBy using SetupIntents, you can reduce friction for your customers, even as regulations change over time.\n\nRelated guide: [Setup Intents API](https://docs.stripe.com/payments/setup-intents)", "fields": { "application": { "description": "ID of the Connect application that created the SetupIntent.", @@ -109451,6 +114215,15 @@ "type": "named" } }, + "ship_from_details": { + "type": { + "type": "nullable", + "underlying_type": { + "name": "TaxProductResourceShipFromDetails", + "type": "named" + } + } + }, "shipping_cost": { "type": { "type": "nullable", @@ -109898,6 +114671,15 @@ } } }, + "bh": { + "type": { + "type": "nullable", + "underlying_type": { + "name": "TaxProductRegistrationsResourceCountryOptionsDefault", + "type": "named" + } + } + }, "ca": { "type": { "type": "nullable", @@ -109979,6 +114761,15 @@ } } }, + "eg": { + "type": { + "type": "nullable", + "underlying_type": { + "name": "TaxProductRegistrationsResourceCountryOptionsSimplified", + "type": "named" + } + } + }, "es": { "type": { "type": "nullable", @@ -110015,6 +114806,15 @@ } } }, + "ge": { + "type": { + "type": "nullable", + "underlying_type": { + "name": "TaxProductRegistrationsResourceCountryOptionsSimplified", + "type": "named" + } + } + }, "gr": { "type": { "type": "nullable", @@ -110087,6 +114887,15 @@ } } }, + "ke": { + "type": { + "type": "nullable", + "underlying_type": { + "name": "TaxProductRegistrationsResourceCountryOptionsSimplified", + "type": "named" + } + } + }, "kr": { "type": { "type": "nullable", @@ -110096,6 +114905,15 @@ } } }, + "kz": { + "type": { + "type": "nullable", + "underlying_type": { + "name": "TaxProductRegistrationsResourceCountryOptionsSimplified", + "type": "named" + } + } + }, "lt": { "type": { "type": "nullable", @@ -110150,6 +114968,15 @@ } } }, + "ng": { + "type": { + "type": "nullable", + "underlying_type": { + "name": "TaxProductRegistrationsResourceCountryOptionsSimplified", + "type": "named" + } + } + }, "nl": { "type": { "type": "nullable", @@ -110177,6 +115004,15 @@ } } }, + "om": { + "type": { + "type": "nullable", + "underlying_type": { + "name": "TaxProductRegistrationsResourceCountryOptionsDefault", + "type": "named" + } + } + }, "pl": { "type": { "type": "nullable", @@ -110674,6 +115510,16 @@ } } }, + "TaxProductResourceShipFromDetails": { + "fields": { + "address": { + "type": { + "name": "TaxProductResourcePostalAddress", + "type": "named" + } + } + } + }, "TaxProductResourceTaxBreakdown": { "fields": { "amount": { @@ -111296,6 +116142,15 @@ } } }, + "ship_from_details": { + "type": { + "type": "nullable", + "underlying_type": { + "name": "TaxProductResourceShipFromDetails", + "type": "named" + } + } + }, "shipping_cost": { "type": { "type": "nullable", @@ -112538,7 +117393,7 @@ } }, "Token": { - "description": "Tokenization is the process Stripe uses to collect sensitive card or bank\naccount details, or personally identifiable information (PII), directly from\nyour customers in a secure manner. A token representing this information is\nreturned to your server to use. Use our\n[recommended payments integrations](https://stripe.com/docs/payments) to perform this process\non the client-side. This guarantees that no sensitive card data touches your server,\nand allows your integration to operate in a PCI-compliant way.\n\nIf you can't use client-side tokenization, you can also create tokens using\nthe API with either your publishable or secret API key. If\nyour integration uses this method, you're responsible for any PCI compliance\nthat it might require, and you must keep your secret API key safe. Unlike with\nclient-side tokenization, your customer's information isn't sent directly to\nStripe, so we can't determine how it's handled or stored.\n\nYou can't store or use tokens more than once. To store card or bank account\ninformation for later use, create [Customer](https://stripe.com/docs/api#customers)\nobjects or [Custom accounts](https://stripe.com/docs/api#external_accounts).\n[Radar](https://stripe.com/docs/radar), our integrated solution for automatic fraud protection,\nperforms best with integrations that use client-side tokenization.", + "description": "Tokenization is the process Stripe uses to collect sensitive card or bank\naccount details, or personally identifiable information (PII), directly from\nyour customers in a secure manner. A token representing this information is\nreturned to your server to use. Use our\n[recommended payments integrations](https://stripe.com/docs/payments) to perform this process\non the client-side. This guarantees that no sensitive card data touches your server,\nand allows your integration to operate in a PCI-compliant way.\n\nIf you can't use client-side tokenization, you can also create tokens using\nthe API with either your publishable or secret API key. If\nyour integration uses this method, you're responsible for any PCI compliance\nthat it might require, and you must keep your secret API key safe. Unlike with\nclient-side tokenization, your customer's information isn't sent directly to\nStripe, so we can't determine how it's handled or stored.\n\nYou can't store or use tokens more than once. To store card or bank account\ninformation for later use, create [Customer](https://stripe.com/docs/api#customers)\nobjects or [External accounts](/api#external_accounts).\n[Radar](https://stripe.com/docs/radar), our integrated solution for automatic fraud protection,\nperforms best with integrations that use client-side tokenization.", "fields": { "bank_account": { "type": { @@ -114304,6 +119159,15 @@ "type": "named" } }, + "tracking_details": { + "type": { + "type": "nullable", + "underlying_type": { + "name": "TreasuryOutboundPaymentsResourceOutboundPaymentResourceTrackingDetails", + "type": "named" + } + } + }, "transaction": { "description": "The Transaction associated with this object.", "type": { @@ -114313,6 +119177,17 @@ } } }, + "TreasuryOutboundPaymentsResourceAchTrackingDetails": { + "fields": { + "trace_id": { + "description": "ACH trace ID of the OutboundPayment for payments sent over the `ach` network.", + "type": { + "name": "String", + "type": "named" + } + } + } + }, "TreasuryOutboundPaymentsResourceOutboundPaymentResourceEndUserDetails": { "fields": { "ip_address": { @@ -114378,6 +119253,35 @@ } } }, + "TreasuryOutboundPaymentsResourceOutboundPaymentResourceTrackingDetails": { + "fields": { + "ach": { + "type": { + "type": "nullable", + "underlying_type": { + "name": "TreasuryOutboundPaymentsResourceAchTrackingDetails", + "type": "named" + } + } + }, + "type": { + "description": "The US bank account network used to send funds.", + "type": { + "name": "TreasuryOutboundPaymentsResourceOutboundPaymentResourceTrackingDetailsType", + "type": "named" + } + }, + "us_domestic_wire": { + "type": { + "type": "nullable", + "underlying_type": { + "name": "TreasuryOutboundPaymentsResourceUsDomesticWireTrackingDetails", + "type": "named" + } + } + } + } + }, "TreasuryOutboundPaymentsResourceReturnedStatus": { "fields": { "code": { @@ -114396,6 +119300,27 @@ } } }, + "TreasuryOutboundPaymentsResourceUsDomesticWireTrackingDetails": { + "fields": { + "imad": { + "description": "IMAD of the OutboundPayment for payments sent over the `us_domestic_wire` network.", + "type": { + "name": "String", + "type": "named" + } + }, + "omad": { + "description": "OMAD of the OutboundPayment for payments sent over the `us_domestic_wire` network.", + "type": { + "type": "nullable", + "underlying_type": { + "name": "String", + "type": "named" + } + } + } + } + }, "TreasuryOutboundTransfer": { "description": "Use OutboundTransfers to transfer funds from a [FinancialAccount](https://stripe.com/docs/api#financial_accounts) to a PaymentMethod belonging to the same entity. To send funds to a different party, use [OutboundPayments](https://stripe.com/docs/api#outbound_payments) instead. You can send funds over ACH rails or through a domestic wire transfer to a user's own external bank account.\n\nSimulate OutboundTransfer state changes with the `/v1/test_helpers/treasury/outbound_transfers` endpoints. These methods can only be called on test mode objects.", "fields": { @@ -114534,6 +119459,15 @@ "type": "named" } }, + "tracking_details": { + "type": { + "type": "nullable", + "underlying_type": { + "name": "TreasuryOutboundTransfersResourceOutboundTransferResourceTrackingDetails", + "type": "named" + } + } + }, "transaction": { "description": "The Transaction associated with this object.", "type": { @@ -114543,6 +119477,46 @@ } } }, + "TreasuryOutboundTransfersResourceAchTrackingDetails": { + "fields": { + "trace_id": { + "description": "ACH trace ID of the OutboundTransfer for transfers sent over the `ach` network.", + "type": { + "name": "String", + "type": "named" + } + } + } + }, + "TreasuryOutboundTransfersResourceOutboundTransferResourceTrackingDetails": { + "fields": { + "ach": { + "type": { + "type": "nullable", + "underlying_type": { + "name": "TreasuryOutboundTransfersResourceAchTrackingDetails", + "type": "named" + } + } + }, + "type": { + "description": "The US bank account network used to send funds.", + "type": { + "name": "TreasuryOutboundTransfersResourceOutboundTransferResourceTrackingDetailsType", + "type": "named" + } + }, + "us_domestic_wire": { + "type": { + "type": "nullable", + "underlying_type": { + "name": "TreasuryOutboundTransfersResourceUsDomesticWireTrackingDetails", + "type": "named" + } + } + } + } + }, "TreasuryOutboundTransfersResourceReturnedDetails": { "fields": { "code": { @@ -114605,6 +119579,27 @@ } } }, + "TreasuryOutboundTransfersResourceUsDomesticWireTrackingDetails": { + "fields": { + "imad": { + "description": "IMAD of the OutboundTransfer for transfers sent over the `us_domestic_wire` network.", + "type": { + "name": "String", + "type": "named" + } + }, + "omad": { + "description": "OMAD of the OutboundTransfer for transfers sent over the `us_domestic_wire` network.", + "type": { + "type": "nullable", + "underlying_type": { + "name": "String", + "type": "named" + } + } + } + } + }, "TreasuryReceivedCredit": { "description": "ReceivedCredits represent funds sent to a [FinancialAccount](https://stripe.com/docs/api#financial_accounts) (for example, via ACH or wire). These money movements are not initiated from the FinancialAccount.", "fields": { @@ -115753,7 +120748,7 @@ } }, "WebhookEndpoint": { - "description": "You can configure [webhook endpoints](https://stripe.com/docs/webhooks/) via the API to be\nnotified about events that happen in your Stripe account or connected\naccounts.\n\nMost users configure webhooks from [the dashboard](https://dashboard.stripe.com/webhooks), which provides a user interface for registering and testing your webhook endpoints.\n\nRelated guide: [Setting up webhooks](https://stripe.com/docs/webhooks/configure)", + "description": "You can configure [webhook endpoints](https://docs.stripe.com/webhooks/) via the API to be\nnotified about events that happen in your Stripe account or connected\naccounts.\n\nMost users configure webhooks from [the dashboard](https://dashboard.stripe.com/webhooks), which provides a user interface for registering and testing your webhook endpoints.\n\nRelated guide: [Setting up webhooks](https://docs.stripe.com/webhooks/configure)", "fields": { "api_version": { "description": "The API version events are rendered as for this webhook endpoint.", @@ -115831,7 +120826,7 @@ } }, "secret": { - "description": "The endpoint's secret, used to generate [webhook signatures](https://stripe.com/docs/webhooks/signatures). Only returned at creation.", + "description": "The endpoint's secret, used to generate [webhook signatures](https://docs.stripe.com/webhooks/signatures). Only returned at creation.", "type": { "type": "nullable", "underlying_type": { @@ -116073,6 +121068,33 @@ } } }, + "balances": { + "type": "object", + "nullable": true, + "properties": { + "enabled": { + "type": "Boolean" + }, + "features": { + "type": "object", + "nullable": true, + "properties": { + "edit_payout_schedule": { + "type": "Boolean", + "nullable": true + }, + "instant_payouts": { + "type": "Boolean", + "nullable": true + }, + "standard_payouts": { + "type": "Boolean", + "nullable": true + } + } + } + } + }, "documents": { "type": "object", "nullable": true, @@ -116189,6 +121211,15 @@ } } } + }, + "payouts_list": { + "type": "object", + "nullable": true, + "properties": { + "enabled": { + "type": "Boolean" + } + } } } } @@ -117827,7 +122858,7 @@ } }, "business_type": { - "description": "The business type. Once you create an [Account Link](https://docs.stripe.com/api/account_links) or [Account Session](https://docs.stripe.com/api/account_sessions), this property can only be updated for Custom accounts.", + "description": "The business type. Once you create an [Account Link](/api/account_links) or [Account Session](/api/account_sessions), this property can only be updated for accounts where [controller.requirement_collection](/api/accounts/object#account_object-controller-requirement_collection) is `application`, which includes Custom accounts.", "type": { "type": "nullable", "underlying_type": { @@ -117837,7 +122868,7 @@ } }, "capabilities": { - "description": "Each key of the dictionary represents a capability, and each capability maps to its settings (e.g. whether it has been requested or not). Each capability will be inactive until you have provided its specific requirements and Stripe has verified them. An account may have some of its requested capabilities be active and some be inactive.", + "description": "Each key of the dictionary represents a capability, and each capability\nmaps to its settings (for example, whether it has been requested or not). Each\ncapability is inactive until you have provided its specific\nrequirements and Stripe has verified them. An account might have some\nof its requested capabilities be active and some be inactive.\n\nRequired when [account.controller.stripe_dashboard.type](/api/accounts/create#create_account-controller-dashboard-type)\nis `none`, which includes Custom accounts.", "type": { "type": "nullable", "underlying_type": { @@ -117847,7 +122878,7 @@ } }, "company": { - "description": "Information about the company or business. This field is available for any `business_type`. Once you create an [Account Link](https://docs.stripe.com/api/account_links) or [Account Session](https://docs.stripe.com/api/account_sessions), this property can only be updated for Custom accounts.", + "description": "Information about the company or business. This field is available for any `business_type`. Once you create an [Account Link](/api/account_links) or [Account Session](/api/account_sessions), this property can only be updated for accounts where [controller.requirement_collection](/api/accounts/object#account_object-controller-requirement_collection) is `application`, which includes Custom accounts.", "type": { "type": "nullable", "underlying_type": { @@ -117897,7 +122928,7 @@ } }, "email": { - "description": "The email address of the account holder. This is only to make the account easier to identify to you. Stripe only emails Custom accounts with your consent.", + "description": "The email address of the account holder. This is only to make the account easier to identify to you. If [controller.requirement_collection](/api/accounts/object#account_object-controller-requirement_collection) is `application`, which includes Custom accounts, Stripe doesn't email the account without your consent.", "type": { "type": "nullable", "underlying_type": { @@ -117920,7 +122951,7 @@ } }, "external_account": { - "description": "A card or bank account to attach to the account for receiving [payouts](https://docs.stripe.com/connect/bank-debit-card-payouts) (you won’t be able to use it for top-ups). You can provide either a token, like the ones returned by [Stripe.js](https://docs.stripe.com/js), or a dictionary, as documented in the `external_account` parameter for [bank account](https://docs.stripe.com/api#account_create_bank_account) creation. \u003cbr\u003e\u003cbr\u003eBy default, providing an external account sets it as the new default external account for its currency, and deletes the old default if one exists. To add additional external accounts without replacing the existing default for the currency, use the [bank account](https://docs.stripe.com/api#account_create_bank_account) or [card creation](https://docs.stripe.com/api#account_create_card) APIs. After you create an [Account Link](https://docs.stripe.com/api/account_links) or [Account Session](https://docs.stripe.com/api/account_sessions), this property can only be updated for Custom accounts.", + "description": "A card or bank account to attach to the account for receiving [payouts](/connect/bank-debit-card-payouts) (you won’t be able to use it for top-ups). You can provide either a token, like the ones returned by [Stripe.js](/js), or a dictionary, as documented in the `external_account` parameter for [bank account](/api#account_create_bank_account) creation. \u003cbr\u003e\u003cbr\u003eBy default, providing an external account sets it as the new default external account for its currency, and deletes the old default if one exists. To add additional external accounts without replacing the existing default for the currency, use the [bank account](/api#account_create_bank_account) or [card creation](/api#account_create_card) APIs. After you create an [Account Link](/api/account_links) or [Account Session](/api/account_sessions), this property can only be updated for accounts where [controller.requirement_collection](/api/accounts/object#account_object-controller-requirement_collection) is `application`, which includes Custom accounts.", "type": { "type": "nullable", "underlying_type": { @@ -117930,7 +122961,7 @@ } }, "individual": { - "description": "Information about the person represented by the account. This field is null unless `business_type` is set to `individual`. Once you create an [Account Link](https://docs.stripe.com/api/account_links) or [Account Session](https://docs.stripe.com/api/account_sessions), this property can only be updated for Custom accounts.", + "description": "Information about the person represented by the account. This field is null unless `business_type` is set to `individual`. Once you create an [Account Link](/api/account_links) or [Account Session](/api/account_sessions), this property can only be updated for accounts where [controller.requirement_collection](/api/accounts/object#account_object-controller-requirement_collection) is `application`, which includes Custom accounts.", "type": { "type": "nullable", "underlying_type": { @@ -117960,7 +122991,7 @@ } }, "tos_acceptance": { - "description": "Details on the account's acceptance of the [Stripe Services Agreement](https://docs.stripe.com/connect/updating-accounts#tos-acceptance) This property can only be updated for Custom accounts.", + "description": "Details on the account's acceptance of the [Stripe Services Agreement](/connect/updating-accounts#tos-acceptance). This property can only be updated for accounts where [controller.requirement_collection](/api/accounts/object#account_object-controller-requirement_collection) is `application`, which includes Custom accounts.", "type": { "type": "nullable", "underlying_type": { @@ -119508,7 +124539,7 @@ } }, "business_type": { - "description": "The business type. Once you create an [Account Link](https://docs.stripe.com/api/account_links) or [Account Session](https://docs.stripe.com/api/account_sessions), this property can only be updated for Custom accounts.", + "description": "The business type. Once you create an [Account Link](/api/account_links) or [Account Session](/api/account_sessions), this property can only be updated for accounts where [controller.requirement_collection](/api/accounts/object#account_object-controller-requirement_collection) is `application`, which includes Custom accounts.", "type": { "type": "nullable", "underlying_type": { @@ -119518,7 +124549,7 @@ } }, "capabilities": { - "description": "Each key of the dictionary represents a capability, and each capability maps to its settings (e.g. whether it has been requested or not). Each capability will be inactive until you have provided its specific requirements and Stripe has verified them. An account may have some of its requested capabilities be active and some be inactive.", + "description": "Each key of the dictionary represents a capability, and each capability\nmaps to its settings (for example, whether it has been requested or not). Each\ncapability is inactive until you have provided its specific\nrequirements and Stripe has verified them. An account might have some\nof its requested capabilities be active and some be inactive.\n\nRequired when [account.controller.stripe_dashboard.type](/api/accounts/create#create_account-controller-dashboard-type)\nis `none`, which includes Custom accounts.", "type": { "type": "nullable", "underlying_type": { @@ -119528,7 +124559,7 @@ } }, "company": { - "description": "Information about the company or business. This field is available for any `business_type`. Once you create an [Account Link](https://docs.stripe.com/api/account_links) or [Account Session](https://docs.stripe.com/api/account_sessions), this property can only be updated for Custom accounts.", + "description": "Information about the company or business. This field is available for any `business_type`. Once you create an [Account Link](/api/account_links) or [Account Session](/api/account_sessions), this property can only be updated for accounts where [controller.requirement_collection](/api/accounts/object#account_object-controller-requirement_collection) is `application`, which includes Custom accounts.", "type": { "type": "nullable", "underlying_type": { @@ -119558,7 +124589,7 @@ } }, "email": { - "description": "The email address of the account holder. This is only to make the account easier to identify to you. Stripe only emails Custom accounts with your consent.", + "description": "The email address of the account holder. This is only to make the account easier to identify to you. If [controller.requirement_collection](/api/accounts/object#account_object-controller-requirement_collection) is `application`, which includes Custom accounts, Stripe doesn't email the account without your consent.", "type": { "type": "nullable", "underlying_type": { @@ -119581,7 +124612,7 @@ } }, "external_account": { - "description": "A card or bank account to attach to the account for receiving [payouts](https://docs.stripe.com/connect/bank-debit-card-payouts) (you won’t be able to use it for top-ups). You can provide either a token, like the ones returned by [Stripe.js](https://docs.stripe.com/js), or a dictionary, as documented in the `external_account` parameter for [bank account](https://docs.stripe.com/api#account_create_bank_account) creation. \u003cbr\u003e\u003cbr\u003eBy default, providing an external account sets it as the new default external account for its currency, and deletes the old default if one exists. To add additional external accounts without replacing the existing default for the currency, use the [bank account](https://docs.stripe.com/api#account_create_bank_account) or [card creation](https://docs.stripe.com/api#account_create_card) APIs. After you create an [Account Link](https://docs.stripe.com/api/account_links) or [Account Session](https://docs.stripe.com/api/account_sessions), this property can only be updated for Custom accounts.", + "description": "A card or bank account to attach to the account for receiving [payouts](/connect/bank-debit-card-payouts) (you won’t be able to use it for top-ups). You can provide either a token, like the ones returned by [Stripe.js](/js), or a dictionary, as documented in the `external_account` parameter for [bank account](/api#account_create_bank_account) creation. \u003cbr\u003e\u003cbr\u003eBy default, providing an external account sets it as the new default external account for its currency, and deletes the old default if one exists. To add additional external accounts without replacing the existing default for the currency, use the [bank account](/api#account_create_bank_account) or [card creation](/api#account_create_card) APIs. After you create an [Account Link](/api/account_links) or [Account Session](/api/account_sessions), this property can only be updated for accounts where [controller.requirement_collection](/api/accounts/object#account_object-controller-requirement_collection) is `application`, which includes Custom accounts.", "type": { "type": "nullable", "underlying_type": { @@ -119591,7 +124622,7 @@ } }, "individual": { - "description": "Information about the person represented by the account. This field is null unless `business_type` is set to `individual`. Once you create an [Account Link](https://docs.stripe.com/api/account_links) or [Account Session](https://docs.stripe.com/api/account_sessions), this property can only be updated for Custom accounts.", + "description": "Information about the person represented by the account. This field is null unless `business_type` is set to `individual`. Once you create an [Account Link](/api/account_links) or [Account Session](/api/account_sessions), this property can only be updated for accounts where [controller.requirement_collection](/api/accounts/object#account_object-controller-requirement_collection) is `application`, which includes Custom accounts.", "type": { "type": "nullable", "underlying_type": { @@ -119621,7 +124652,7 @@ } }, "tos_acceptance": { - "description": "Details on the account's acceptance of the [Stripe Services Agreement](https://docs.stripe.com/connect/updating-accounts#tos-acceptance) This property can only be updated for Custom accounts.", + "description": "Details on the account's acceptance of the [Stripe Services Agreement](/connect/updating-accounts#tos-acceptance). This property can only be updated for accounts where [controller.requirement_collection](/api/accounts/object#account_object-controller-requirement_collection) is `application`, which includes Custom accounts.", "type": { "type": "nullable", "underlying_type": { @@ -125276,14 +130307,14 @@ } }, "payload": { - "description": "The payload of the event. This must contain a field with the event's numerical value and a field to map the event to a customer.", + "description": "The payload of the event. This must contain the fields corresponding to a meter's `customer_mapping.event_payload_key` (default is `stripe_customer_id`) and `value_settings.event_payload_key` (default is `value`). Read more about the [payload](https://docs.stripe.com/billing/subscriptions/usage-based/recording-usage#payload-key-overrides).", "type": { "name": "JSON", "type": "named" } }, "timestamp": { - "description": "The time of the event. Measured in seconds since the Unix epoch. Defaults to current timestamp if not specified.", + "description": "The time of the event. Measured in seconds since the Unix epoch. Must be within the past 35 calendar days or up to 5 minutes in the future. Defaults to current timestamp if not specified.", "type": { "type": "nullable", "underlying_type": { @@ -125422,14 +130453,14 @@ } }, "event_name": { - "description": "The name of the usage event to record usage for. Corresponds with the `event_name` field on usage events.", + "description": "The name of the meter event to record usage for. Corresponds with the `event_name` field on meter events.", "type": { "name": "String", "type": "named" } }, "event_time_window": { - "description": "The time window to pre-aggregate usage events for, if any.", + "description": "The time window to pre-aggregate meter events for, if any.", "type": { "type": "nullable", "underlying_type": { @@ -125452,7 +130483,7 @@ } }, "value_settings": { - "description": "Fields that specify how to calculate a usage event's value.", + "description": "Fields that specify how to calculate a meter event's value.", "type": { "type": "nullable", "underlying_type": { @@ -128945,6 +133976,22 @@ "maxLength": 100 } }, + { + "style": "deepObject", + "explode": true, + "name": "payment_method_data", + "in": "query", + "schema": { + "type": "object", + "nullable": true, + "properties": { + "allow_redisplay": { + "type": "CheckoutAllowRedisplay", + "nullable": true + } + } + } + }, { "style": "deepObject", "explode": true, @@ -129254,6 +134301,16 @@ } } }, + "mobilepay": { + "type": "object", + "nullable": true, + "properties": { + "setup_future_usage": { + "type": "PostCheckoutSessionsBodyPaymentMethodOptionsMobilepaySetupFutureUsage", + "nullable": true + } + } + }, "oxxo": { "type": "object", "nullable": true, @@ -129472,6 +134529,29 @@ "maxLength": 5000 } }, + { + "style": "deepObject", + "explode": true, + "name": "saved_payment_method_options", + "in": "query", + "schema": { + "type": "object", + "nullable": true, + "properties": { + "allow_redisplay_filters": { + "type": "array", + "nullable": true, + "items": { + "type": "CheckoutAllowRedisplayFilters" + } + }, + "payment_method_save": { + "type": "CheckoutPaymentMethodSave", + "nullable": true + } + } + } + }, { "style": "deepObject", "explode": true, @@ -130014,6 +135094,16 @@ } } }, + "payment_method_data": { + "description": "This parameter allows you to set some attributes on the payment method created during a Checkout session.", + "type": { + "type": "nullable", + "underlying_type": { + "name": "PostCheckoutSessionsBodyPaymentMethodData", + "type": "named" + } + } + }, "payment_method_options": { "description": "Payment-method-specific configuration.", "type": { @@ -130067,6 +135157,16 @@ } } }, + "saved_payment_method_options": { + "description": "Controls saved payment method settings for the session. Only available in `payment` and `subscription` mode.", + "type": { + "type": "nullable", + "underlying_type": { + "name": "PostCheckoutSessionsBodySavedPaymentMethodOptions", + "type": "named" + } + } + }, "setup_intent_data": { "description": "A subset of parameters to be passed to SetupIntent creation for Checkout Sessions in `setup` mode.", "type": { @@ -138555,6 +143655,7 @@ "properties": { "countries": { "type": "array", + "nullable": true, "items": { "type": "String", "maxLength": 5000 @@ -138679,14 +143780,6 @@ "url": "/v1/forwarding/requests", "method": "post", "parameters": [ - { - "name": "config", - "in": "query", - "schema": { - "type": "String", - "maxLength": 5000 - } - }, { "style": "deepObject", "explode": true, @@ -138769,13 +143862,6 @@ } }, "arguments": { - "config": { - "description": "The Forwarding Config used when making the forwarded request. The config specifes the HTTP method, merchant credentials, connection settings, and supported destination URLs.", - "type": { - "name": "String", - "type": "named" - } - }, "expand": { "description": "Specifies which fields in the response should be expanded.", "type": { @@ -138880,14 +143966,6 @@ "document": { "type": "JSON", "nullable": true - }, - "email": { - "type": "JSON", - "nullable": true - }, - "phone": { - "type": "JSON", - "nullable": true } } } @@ -139007,7 +144085,7 @@ } }, "type": { - "description": "The type of [verification check](https://stripe.com/docs/identity/verification-checks) to be performed.", + "description": "The type of [verification check](https://stripe.com/docs/identity/verification-checks) to be performed. You must provide a `type` if not passing `verification_flow`.", "type": { "type": "nullable", "underlying_type": { @@ -139017,7 +144095,7 @@ } }, "verification_flow": { - "description": "The ID of a Verification Flow from the Dashboard.", + "description": "The ID of a Verification Flow from the Dashboard. See https://docs.stripe.com/identity/verification-flows.", "type": { "type": "nullable", "underlying_type": { @@ -139083,14 +144161,6 @@ "document": { "type": "JSON", "nullable": true - }, - "email": { - "type": "JSON", - "nullable": true - }, - "phone": { - "type": "JSON", - "nullable": true } } } @@ -139664,7 +144734,7 @@ } }, "subscription": { - "description": "The ID of a subscription to add this invoice item to. When left blank, the invoice item will be be added to the next upcoming scheduled invoice. When set, scheduled invoices for subscriptions other than the specified subscription will ignore the invoice item. Use this when you want to express that an invoice item has been accrued within the context of a particular subscription.", + "description": "The ID of a subscription to add this invoice item to. When left blank, the invoice item is added to the next upcoming scheduled invoice. When set, scheduled invoices for subscriptions other than the specified subscription will ignore the invoice item. Use this when you want to express that an invoice item has been accrued within the context of a particular subscription.", "type": { "type": "nullable", "underlying_type": { @@ -140352,7 +145422,895 @@ { "style": "deepObject", "explode": true, - "name": "metadata", + "name": "metadata", + "in": "query", + "schema": { + "type": "JSON", + "nullable": true + } + }, + { + "name": "number", + "in": "query", + "schema": { + "type": "String", + "nullable": true, + "maxLength": 26 + } + }, + { + "name": "on_behalf_of", + "in": "query", + "schema": { + "type": "String", + "nullable": true + } + }, + { + "style": "deepObject", + "explode": true, + "name": "payment_settings", + "in": "query", + "schema": { + "type": "object", + "nullable": true, + "properties": { + "default_mandate": { + "type": "JSON", + "nullable": true + }, + "payment_method_options": { + "type": "object", + "nullable": true, + "properties": { + "acss_debit": { + "type": "JSON", + "nullable": true + }, + "bancontact": { + "type": "JSON", + "nullable": true + }, + "card": { + "type": "JSON", + "nullable": true + }, + "customer_balance": { + "type": "JSON", + "nullable": true + }, + "konbini": { + "type": "JSON", + "nullable": true + }, + "sepa_debit": { + "type": "JSON", + "nullable": true + }, + "us_bank_account": { + "type": "JSON", + "nullable": true + } + } + }, + "payment_method_types": { + "type": "JSON", + "nullable": true + } + } + } + }, + { + "name": "pending_invoice_items_behavior", + "in": "query", + "schema": { + "type": "InvoicesPendingInvoiceItemsBehavior", + "nullable": true + } + }, + { + "style": "deepObject", + "explode": true, + "name": "rendering", + "in": "query", + "schema": { + "type": "object", + "nullable": true, + "properties": { + "amount_tax_display": { + "type": "InvoicesAmountTaxDisplay", + "nullable": true + }, + "pdf": { + "type": "object", + "nullable": true, + "properties": { + "page_size": { + "type": "InvoicesPageSize", + "nullable": true + } + } + } + } + } + }, + { + "style": "deepObject", + "explode": true, + "name": "shipping_cost", + "in": "query", + "schema": { + "type": "object", + "nullable": true, + "properties": { + "shipping_rate": { + "type": "String", + "nullable": true, + "maxLength": 5000 + }, + "shipping_rate_data": { + "type": "object", + "nullable": true, + "properties": { + "delivery_estimate": { + "type": "object", + "nullable": true, + "properties": { + "maximum": { + "type": "object", + "nullable": true, + "properties": { + "unit": { + "type": "InvoicesUnit" + }, + "value": { + "type": "Int32" + } + } + }, + "minimum": { + "type": "object", + "nullable": true, + "properties": { + "unit": { + "type": "InvoicesUnit" + }, + "value": { + "type": "Int32" + } + } + } + } + }, + "display_name": { + "type": "String", + "maxLength": 100 + }, + "fixed_amount": { + "type": "object", + "nullable": true, + "properties": { + "amount": { + "type": "Int32" + }, + "currency": { + "type": "String" + }, + "currency_options": { + "type": "JSON", + "nullable": true + } + } + }, + "metadata": { + "type": "JSON", + "nullable": true + }, + "tax_behavior": { + "type": "InvoicesTaxBehavior", + "nullable": true + }, + "tax_code": { + "type": "String", + "nullable": true + }, + "type": { + "type": "PostInvoicesBodyShippingCostShippingRateDataType", + "nullable": true + } + } + } + } + } + }, + { + "style": "deepObject", + "explode": true, + "name": "shipping_details", + "in": "query", + "schema": { + "type": "object", + "nullable": true, + "properties": { + "address": { + "type": "object", + "properties": { + "city": { + "type": "String", + "nullable": true, + "maxLength": 5000 + }, + "country": { + "type": "String", + "nullable": true, + "maxLength": 5000 + }, + "line1": { + "type": "String", + "nullable": true, + "maxLength": 5000 + }, + "line2": { + "type": "String", + "nullable": true, + "maxLength": 5000 + }, + "postal_code": { + "type": "String", + "nullable": true, + "maxLength": 5000 + }, + "state": { + "type": "String", + "nullable": true, + "maxLength": 5000 + } + } + }, + "name": { + "type": "String", + "maxLength": 5000 + }, + "phone": { + "type": "JSON", + "nullable": true + } + } + } + }, + { + "name": "statement_descriptor", + "in": "query", + "schema": { + "type": "String", + "nullable": true, + "maxLength": 22 + } + }, + { + "name": "subscription", + "in": "query", + "schema": { + "type": "String", + "nullable": true, + "maxLength": 5000 + } + }, + { + "style": "deepObject", + "explode": true, + "name": "transfer_data", + "in": "query", + "schema": { + "type": "object", + "nullable": true, + "properties": { + "amount": { + "type": "Int32", + "nullable": true + }, + "destination": { + "type": "String" + } + } + } + } + ], + "requestBody": { + "contentType": "application/x-www-form-urlencoded" + } + }, + "arguments": { + "account_tax_ids": { + "description": "The account tax IDs associated with the invoice. Only editable when the invoice is a draft.", + "type": { + "type": "nullable", + "underlying_type": { + "name": "JSON", + "type": "named" + } + } + }, + "application_fee_amount": { + "description": "A fee in cents (or local equivalent) that will be applied to the invoice and transferred to the application owner's Stripe account. The request must be made with an OAuth key or the Stripe-Account header in order to take an application fee. For more information, see the application fees [documentation](https://stripe.com/docs/billing/invoices/connect#collecting-fees).", + "type": { + "type": "nullable", + "underlying_type": { + "name": "Int32", + "type": "named" + } + } + }, + "auto_advance": { + "description": "Controls whether Stripe performs [automatic collection](https://stripe.com/docs/invoicing/integration/automatic-advancement-collection) of the invoice. If `false`, the invoice's state doesn't automatically advance without an explicit action.", + "type": { + "type": "nullable", + "underlying_type": { + "name": "Boolean", + "type": "named" + } + } + }, + "automatic_tax": { + "description": "Settings for automatic tax lookup for this invoice.", + "type": { + "type": "nullable", + "underlying_type": { + "name": "PostInvoicesBodyAutomaticTax", + "type": "named" + } + } + }, + "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`.", + "type": { + "type": "nullable", + "underlying_type": { + "name": "InvoicesCollectionMethod", + "type": "named" + } + } + }, + "currency": { + "description": "The currency to create this invoice in. Defaults to that of `customer` if not specified.", + "type": { + "type": "nullable", + "underlying_type": { + "name": "String", + "type": "named" + } + } + }, + "custom_fields": { + "description": "A list of up to 4 custom fields to be displayed on the invoice.", + "type": { + "type": "nullable", + "underlying_type": { + "name": "JSON", + "type": "named" + } + } + }, + "customer": { + "description": "The ID of the customer who will be billed.", + "type": { + "type": "nullable", + "underlying_type": { + "name": "String", + "type": "named" + } + } + }, + "days_until_due": { + "description": "The number of days from when the invoice is created until it is due. Valid only for invoices where `collection_method=send_invoice`.", + "type": { + "type": "nullable", + "underlying_type": { + "name": "Int32", + "type": "named" + } + } + }, + "default_payment_method": { + "description": "ID of the default payment method for the invoice. It must belong to the customer associated with the invoice. If not set, defaults to the subscription's default payment method, if any, or to the default payment method in the customer's invoice settings.", + "type": { + "type": "nullable", + "underlying_type": { + "name": "String", + "type": "named" + } + } + }, + "default_source": { + "description": "ID of the default payment source for the invoice. It must belong to the customer associated with the invoice and be in a chargeable state. If not set, defaults to the subscription's default source, if any, or to the customer's default source.", + "type": { + "type": "nullable", + "underlying_type": { + "name": "String", + "type": "named" + } + } + }, + "default_tax_rates": { + "description": "The tax rates that will apply to any line item that does not have `tax_rates` set.", + "type": { + "type": "nullable", + "underlying_type": { + "element_type": { + "name": "String", + "type": "named" + }, + "type": "array" + } + } + }, + "description": { + "description": "An arbitrary string attached to the object. Often useful for displaying to users. Referenced as 'memo' in the Dashboard.", + "type": { + "type": "nullable", + "underlying_type": { + "name": "String", + "type": "named" + } + } + }, + "discounts": { + "description": "The coupons and promotion codes to redeem into discounts for the invoice. If not specified, inherits the discount from the invoice's customer. Pass an empty string to avoid inheriting any discounts.", + "type": { + "type": "nullable", + "underlying_type": { + "name": "JSON", + "type": "named" + } + } + }, + "due_date": { + "description": "The date on which payment for this invoice is due. Valid only for invoices where `collection_method=send_invoice`.", + "type": { + "type": "nullable", + "underlying_type": { + "name": "UnixTime", + "type": "named" + } + } + }, + "effective_at": { + "description": "The date when this invoice is in effect. Same as `finalized_at` unless overwritten. When defined, this value replaces the system-generated 'Date of issue' printed on the invoice PDF and receipt.", + "type": { + "type": "nullable", + "underlying_type": { + "name": "UnixTime", + "type": "named" + } + } + }, + "expand": { + "description": "Specifies which fields in the response should be expanded.", + "type": { + "type": "nullable", + "underlying_type": { + "element_type": { + "name": "String", + "type": "named" + }, + "type": "array" + } + } + }, + "footer": { + "description": "Footer to be displayed on the invoice.", + "type": { + "type": "nullable", + "underlying_type": { + "name": "String", + "type": "named" + } + } + }, + "from_invoice": { + "description": "Revise an existing invoice. The new invoice will be created in `status=draft`. See the [revision documentation](https://stripe.com/docs/invoicing/invoice-revisions) for more details.", + "type": { + "type": "nullable", + "underlying_type": { + "name": "PostInvoicesBodyFromInvoice", + "type": "named" + } + } + }, + "issuer": { + "description": "The connected account that issues the invoice. The invoice is presented with the branding and support information of the specified account.", + "type": { + "type": "nullable", + "underlying_type": { + "name": "PostInvoicesBodyIssuer", + "type": "named" + } + } + }, + "metadata": { + "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": { + "type": "nullable", + "underlying_type": { + "name": "JSON", + "type": "named" + } + } + }, + "number": { + "description": "Set the number for this invoice. If no number is present then a number will be assigned automatically when the invoice is finalized. In many markets, regulations require invoices to be unique, sequential and / or gapless. You are responsible for ensuring this is true across all your different invoicing systems in the event that you edit the invoice number using our API. If you use only Stripe for your invoices and do not change invoice numbers, Stripe handles this aspect of compliance for you automatically.", + "type": { + "type": "nullable", + "underlying_type": { + "name": "String", + "type": "named" + } + } + }, + "on_behalf_of": { + "description": "The account (if any) for which the funds of the invoice payment are intended. If set, the invoice will be presented with the branding and support information of the specified account. See the [Invoices with Connect](https://stripe.com/docs/billing/invoices/connect) documentation for details.", + "type": { + "type": "nullable", + "underlying_type": { + "name": "String", + "type": "named" + } + } + }, + "payment_settings": { + "description": "Configuration settings for the PaymentIntent that is generated when the invoice is finalized.", + "type": { + "type": "nullable", + "underlying_type": { + "name": "PostInvoicesBodyPaymentSettings", + "type": "named" + } + } + }, + "pending_invoice_items_behavior": { + "description": "How to handle pending invoice items on invoice creation. Defaults to `exclude` if the parameter is omitted.", + "type": { + "type": "nullable", + "underlying_type": { + "name": "InvoicesPendingInvoiceItemsBehavior", + "type": "named" + } + } + }, + "rendering": { + "description": "The rendering-related settings that control how the invoice is displayed on customer-facing surfaces such as PDF and Hosted Invoice Page.", + "type": { + "type": "nullable", + "underlying_type": { + "name": "PostInvoicesBodyRendering", + "type": "named" + } + } + }, + "shipping_cost": { + "description": "Settings for the cost of shipping for this invoice.", + "type": { + "type": "nullable", + "underlying_type": { + "name": "PostInvoicesBodyShippingCost", + "type": "named" + } + } + }, + "shipping_details": { + "description": "Shipping details for the invoice. The Invoice PDF will use the `shipping_details` value if it is set, otherwise the PDF will render the shipping address from the customer.", + "type": { + "type": "nullable", + "underlying_type": { + "name": "PostInvoicesBodyShippingDetails", + "type": "named" + } + } + }, + "statement_descriptor": { + "description": "Extra information about a charge for the customer's credit card statement. It must contain at least one letter. If not specified and this invoice is part of a subscription, the default `statement_descriptor` will be set to the first subscription item's product's `statement_descriptor`.", + "type": { + "type": "nullable", + "underlying_type": { + "name": "String", + "type": "named" + } + } + }, + "subscription": { + "description": "The ID of the subscription to invoice, if any. If set, the created invoice will only include pending invoice items for that subscription. The subscription's billing cycle and regular subscription events won't be affected.", + "type": { + "type": "nullable", + "underlying_type": { + "name": "String", + "type": "named" + } + } + }, + "transfer_data": { + "description": "If specified, the funds from the invoice will be transferred to the destination and the ID of the resulting transfer will be found on the invoice's charge.", + "type": { + "type": "nullable", + "underlying_type": { + "name": "PostInvoicesBodyTransferData", + "type": "named" + } + } + } + }, + "name": "PostInvoices", + "result_type": { + "name": "Invoice", + "type": "named" + } + }, + { + "request": { + "url": "/v1/invoices/create_preview", + "method": "post", + "parameters": [ + { + "style": "deepObject", + "explode": true, + "name": "automatic_tax", + "in": "query", + "schema": { + "type": "object", + "nullable": true, + "properties": { + "enabled": { + "type": "Boolean" + }, + "liability": { + "type": "object", + "nullable": true, + "properties": { + "account": { + "type": "String", + "nullable": true + }, + "type": { + "type": "InvoicesType" + } + } + } + } + } + }, + { + "name": "coupon", + "in": "query", + "schema": { + "type": "String", + "nullable": true, + "maxLength": 5000 + } + }, + { + "name": "currency", + "in": "query", + "schema": { + "type": "String", + "nullable": true + } + }, + { + "name": "customer", + "in": "query", + "schema": { + "type": "String", + "nullable": true, + "maxLength": 5000 + } + }, + { + "style": "deepObject", + "explode": true, + "name": "customer_details", + "in": "query", + "schema": { + "type": "object", + "nullable": true, + "properties": { + "address": { + "type": "JSON", + "nullable": true + }, + "shipping": { + "type": "JSON", + "nullable": true + }, + "tax": { + "type": "object", + "nullable": true, + "properties": { + "ip_address": { + "type": "JSON", + "nullable": true + } + } + }, + "tax_exempt": { + "type": "InvoicesTaxExempt", + "nullable": true + }, + "tax_ids": { + "type": "array", + "nullable": true, + "items": { + "type": "object", + "properties": { + "type": { + "type": "PostInvoicesCreatePreviewBodyCustomerDetailsTaxIdsType", + "maxLength": 5000 + }, + "value": { + "type": "String" + } + } + } + } + } + } + }, + { + "style": "deepObject", + "explode": true, + "name": "discounts", + "in": "query", + "schema": { + "type": "JSON", + "nullable": true + } + }, + { + "style": "deepObject", + "explode": true, + "name": "expand", + "in": "query", + "schema": { + "type": "array", + "nullable": true, + "items": { + "type": "String", + "maxLength": 5000 + } + } + }, + { + "style": "deepObject", + "explode": true, + "name": "invoice_items", + "in": "query", + "schema": { + "type": "array", + "nullable": true, + "items": { + "type": "object", + "properties": { + "amount": { + "type": "Int32", + "nullable": true + }, + "currency": { + "type": "String", + "nullable": true + }, + "description": { + "type": "String", + "nullable": true, + "maxLength": 5000 + }, + "discountable": { + "type": "Boolean", + "nullable": true + }, + "discounts": { + "type": "JSON", + "nullable": true + }, + "invoiceitem": { + "type": "String", + "nullable": true, + "maxLength": 5000 + }, + "metadata": { + "type": "JSON", + "nullable": true + }, + "period": { + "type": "object", + "nullable": true, + "properties": { + "end": { + "type": "UnixTime" + }, + "start": { + "type": "UnixTime" + } + } + }, + "price": { + "type": "String", + "nullable": true, + "maxLength": 5000 + }, + "price_data": { + "type": "object", + "nullable": true, + "properties": { + "currency": { + "type": "String" + }, + "product": { + "type": "String", + "maxLength": 5000 + }, + "tax_behavior": { + "type": "InvoicesTaxBehavior", + "nullable": true + }, + "unit_amount": { + "type": "Int32", + "nullable": true + }, + "unit_amount_decimal": { + "type": "String", + "nullable": true + } + } + }, + "quantity": { + "type": "Int32", + "nullable": true + }, + "tax_behavior": { + "type": "InvoicesTaxBehavior", + "nullable": true + }, + "tax_code": { + "type": "JSON", + "nullable": true + }, + "tax_rates": { + "type": "JSON", + "nullable": true + }, + "unit_amount": { + "type": "Int32", + "nullable": true + }, + "unit_amount_decimal": { + "type": "String", + "nullable": true + } + } + } + } + }, + { + "style": "deepObject", + "explode": true, + "name": "issuer", + "in": "query", + "schema": { + "type": "object", + "nullable": true, + "properties": { + "account": { + "type": "String", + "nullable": true + }, + "type": { + "type": "InvoicesType" + } + } + } + }, + { + "style": "deepObject", + "explode": true, + "name": "on_behalf_of", "in": "query", "schema": { "type": "JSON", @@ -140360,263 +146318,324 @@ } }, { - "name": "number", - "in": "query", - "schema": { - "type": "String", - "nullable": true, - "maxLength": 26 - } - }, - { - "name": "on_behalf_of", + "name": "preview_mode", "in": "query", "schema": { - "type": "String", + "type": "InvoicesPreviewMode", "nullable": true } }, { - "style": "deepObject", - "explode": true, - "name": "payment_settings", + "name": "schedule", "in": "query", "schema": { - "type": "object", + "type": "String", "nullable": true, - "properties": { - "default_mandate": { - "type": "JSON", - "nullable": true - }, - "payment_method_options": { - "type": "object", - "nullable": true, - "properties": { - "acss_debit": { - "type": "JSON", - "nullable": true - }, - "bancontact": { - "type": "JSON", - "nullable": true - }, - "card": { - "type": "JSON", - "nullable": true - }, - "customer_balance": { - "type": "JSON", - "nullable": true - }, - "konbini": { - "type": "JSON", - "nullable": true - }, - "sepa_debit": { - "type": "JSON", - "nullable": true - }, - "us_bank_account": { - "type": "JSON", - "nullable": true - } - } - }, - "payment_method_types": { - "type": "JSON", - "nullable": true - } - } - } - }, - { - "name": "pending_invoice_items_behavior", - "in": "query", - "schema": { - "type": "InvoicesPendingInvoiceItemsBehavior", - "nullable": true + "maxLength": 5000 } }, { "style": "deepObject", "explode": true, - "name": "rendering", + "name": "schedule_details", "in": "query", "schema": { "type": "object", "nullable": true, "properties": { - "amount_tax_display": { - "type": "InvoicesAmountTaxDisplay", + "end_behavior": { + "type": "InvoicesEndBehavior", "nullable": true }, - "pdf": { - "type": "object", - "nullable": true, - "properties": { - "page_size": { - "type": "InvoicesPageSize", - "nullable": true - } - } - } - } - } - }, - { - "style": "deepObject", - "explode": true, - "name": "shipping_cost", - "in": "query", - "schema": { - "type": "object", - "nullable": true, - "properties": { - "shipping_rate": { - "type": "String", - "nullable": true, - "maxLength": 5000 - }, - "shipping_rate_data": { - "type": "object", + "phases": { + "type": "array", "nullable": true, - "properties": { - "delivery_estimate": { - "type": "object", - "nullable": true, - "properties": { - "maximum": { + "items": { + "type": "object", + "properties": { + "add_invoice_items": { + "type": "array", + "nullable": true, + "items": { "type": "object", - "nullable": true, "properties": { - "unit": { - "type": "InvoicesUnit" + "discounts": { + "type": "array", + "nullable": true, + "items": { + "type": "object", + "properties": { + "coupon": { + "type": "String", + "nullable": true, + "maxLength": 5000 + }, + "discount": { + "type": "String", + "nullable": true, + "maxLength": 5000 + }, + "promotion_code": { + "type": "String", + "nullable": true, + "maxLength": 5000 + } + } + } }, - "value": { - "type": "Int32" + "price": { + "type": "String", + "nullable": true, + "maxLength": 5000 + }, + "price_data": { + "type": "object", + "nullable": true, + "properties": { + "currency": { + "type": "String" + }, + "product": { + "type": "String", + "maxLength": 5000 + }, + "tax_behavior": { + "type": "InvoicesTaxBehavior", + "nullable": true + }, + "unit_amount": { + "type": "Int32", + "nullable": true + }, + "unit_amount_decimal": { + "type": "String", + "nullable": true + } + } + }, + "quantity": { + "type": "Int32", + "nullable": true + }, + "tax_rates": { + "type": "JSON", + "nullable": true } } - }, - "minimum": { + } + }, + "application_fee_percent": { + "type": "Float64", + "nullable": true + }, + "automatic_tax": { + "type": "object", + "nullable": true, + "properties": { + "enabled": { + "type": "Boolean" + }, + "liability": { + "type": "object", + "nullable": true, + "properties": { + "account": { + "type": "String", + "nullable": true + }, + "type": { + "type": "InvoicesType" + } + } + } + } + }, + "billing_cycle_anchor": { + "type": "InvoicesBillingCycleAnchor", + "nullable": true + }, + "billing_thresholds": { + "type": "JSON", + "nullable": true + }, + "collection_method": { + "type": "InvoicesCollectionMethod", + "nullable": true + }, + "coupon": { + "type": "String", + "nullable": true, + "maxLength": 5000 + }, + "default_payment_method": { + "type": "String", + "nullable": true, + "maxLength": 5000 + }, + "default_tax_rates": { + "type": "JSON", + "nullable": true + }, + "description": { + "type": "JSON", + "nullable": true + }, + "discounts": { + "type": "JSON", + "nullable": true + }, + "end_date": { + "type": "JSON", + "nullable": true + }, + "invoice_settings": { + "type": "object", + "nullable": true, + "properties": { + "account_tax_ids": { + "type": "JSON", + "nullable": true + }, + "days_until_due": { + "type": "Int32", + "nullable": true + }, + "issuer": { + "type": "object", + "nullable": true, + "properties": { + "account": { + "type": "String", + "nullable": true + }, + "type": { + "type": "InvoicesType" + } + } + } + } + }, + "items": { + "type": "array", + "items": { "type": "object", - "nullable": true, "properties": { - "unit": { - "type": "InvoicesUnit" + "billing_thresholds": { + "type": "JSON", + "nullable": true }, - "value": { - "type": "Int32" + "discounts": { + "type": "JSON", + "nullable": true + }, + "metadata": { + "type": "JSON", + "nullable": true + }, + "price": { + "type": "String", + "nullable": true, + "maxLength": 5000 + }, + "price_data": { + "type": "object", + "nullable": true, + "properties": { + "currency": { + "type": "String" + }, + "product": { + "type": "String", + "maxLength": 5000 + }, + "recurring": { + "type": "object", + "properties": { + "interval": { + "type": "InvoicesInterval" + }, + "interval_count": { + "type": "Int32", + "nullable": true + } + } + }, + "tax_behavior": { + "type": "InvoicesTaxBehavior", + "nullable": true + }, + "unit_amount": { + "type": "Int32", + "nullable": true + }, + "unit_amount_decimal": { + "type": "String", + "nullable": true + } + } + }, + "quantity": { + "type": "Int32", + "nullable": true + }, + "tax_rates": { + "type": "JSON", + "nullable": true } } } - } - }, - "display_name": { - "type": "String", - "maxLength": 100 - }, - "fixed_amount": { - "type": "object", - "nullable": true, - "properties": { - "amount": { - "type": "Int32" - }, - "currency": { - "type": "String" - }, - "currency_options": { - "type": "JSON", - "nullable": true + }, + "iterations": { + "type": "Int32", + "nullable": true + }, + "metadata": { + "type": "JSON", + "nullable": true + }, + "on_behalf_of": { + "type": "String", + "nullable": true + }, + "proration_behavior": { + "type": "InvoicesProrationBehavior", + "nullable": true + }, + "start_date": { + "type": "JSON", + "nullable": true + }, + "transfer_data": { + "type": "object", + "nullable": true, + "properties": { + "amount_percent": { + "type": "Float64", + "nullable": true + }, + "destination": { + "type": "String" + } } + }, + "trial": { + "type": "Boolean", + "nullable": true + }, + "trial_end": { + "type": "JSON", + "nullable": true } - }, - "metadata": { - "type": "JSON", - "nullable": true - }, - "tax_behavior": { - "type": "InvoicesTaxBehavior", - "nullable": true - }, - "tax_code": { - "type": "String", - "nullable": true - }, - "type": { - "type": "PostInvoicesBodyShippingCostShippingRateDataType", - "nullable": true - } - } - } - } - } - }, - { - "style": "deepObject", - "explode": true, - "name": "shipping_details", - "in": "query", - "schema": { - "type": "object", - "nullable": true, - "properties": { - "address": { - "type": "object", - "properties": { - "city": { - "type": "String", - "nullable": true, - "maxLength": 5000 - }, - "country": { - "type": "String", - "nullable": true, - "maxLength": 5000 - }, - "line1": { - "type": "String", - "nullable": true, - "maxLength": 5000 - }, - "line2": { - "type": "String", - "nullable": true, - "maxLength": 5000 - }, - "postal_code": { - "type": "String", - "nullable": true, - "maxLength": 5000 - }, - "state": { - "type": "String", - "nullable": true, - "maxLength": 5000 } } }, - "name": { - "type": "String", - "maxLength": 5000 - }, - "phone": { - "type": "JSON", + "proration_behavior": { + "type": "InvoicesProrationBehavior", "nullable": true } } } }, - { - "name": "statement_descriptor", - "in": "query", - "schema": { - "type": "String", - "nullable": true, - "maxLength": 22 - } - }, { "name": "subscription", "in": "query", @@ -140629,18 +146648,136 @@ { "style": "deepObject", "explode": true, - "name": "transfer_data", + "name": "subscription_details", "in": "query", "schema": { "type": "object", "nullable": true, "properties": { - "amount": { - "type": "Int32", + "billing_cycle_anchor": { + "type": "JSON", "nullable": true }, - "destination": { - "type": "String" + "cancel_at": { + "type": "JSON", + "nullable": true + }, + "cancel_at_period_end": { + "type": "Boolean", + "nullable": true + }, + "cancel_now": { + "type": "Boolean", + "nullable": true + }, + "default_tax_rates": { + "type": "JSON", + "nullable": true + }, + "items": { + "type": "array", + "nullable": true, + "items": { + "type": "object", + "properties": { + "billing_thresholds": { + "type": "JSON", + "nullable": true + }, + "clear_usage": { + "type": "Boolean", + "nullable": true + }, + "deleted": { + "type": "Boolean", + "nullable": true + }, + "discounts": { + "type": "JSON", + "nullable": true + }, + "id": { + "type": "String", + "nullable": true, + "maxLength": 5000 + }, + "metadata": { + "type": "JSON", + "nullable": true + }, + "price": { + "type": "String", + "nullable": true, + "maxLength": 5000 + }, + "price_data": { + "type": "object", + "nullable": true, + "properties": { + "currency": { + "type": "String" + }, + "product": { + "type": "String", + "maxLength": 5000 + }, + "recurring": { + "type": "object", + "properties": { + "interval": { + "type": "InvoicesInterval" + }, + "interval_count": { + "type": "Int32", + "nullable": true + } + } + }, + "tax_behavior": { + "type": "InvoicesTaxBehavior", + "nullable": true + }, + "unit_amount": { + "type": "Int32", + "nullable": true + }, + "unit_amount_decimal": { + "type": "String", + "nullable": true + } + } + }, + "quantity": { + "type": "Int32", + "nullable": true + }, + "tax_rates": { + "type": "JSON", + "nullable": true + } + } + } + }, + "proration_behavior": { + "type": "InvoicesProrationBehavior", + "nullable": true + }, + "proration_date": { + "type": "UnixTime", + "nullable": true + }, + "resume_at": { + "type": "InvoicesResumeAt", + "nullable": true, + "maxLength": 5000 + }, + "start_date": { + "type": "UnixTime", + "nullable": true + }, + "trial_end": { + "type": "JSON", + "nullable": true } } } @@ -140651,58 +146788,28 @@ } }, "arguments": { - "account_tax_ids": { - "description": "The account tax IDs associated with the invoice. Only editable when the invoice is a draft.", - "type": { - "type": "nullable", - "underlying_type": { - "name": "JSON", - "type": "named" - } - } - }, - "application_fee_amount": { - "description": "A fee in cents (or local equivalent) that will be applied to the invoice and transferred to the application owner's Stripe account. The request must be made with an OAuth key or the Stripe-Account header in order to take an application fee. For more information, see the application fees [documentation](https://stripe.com/docs/billing/invoices/connect#collecting-fees).", - "type": { - "type": "nullable", - "underlying_type": { - "name": "Int32", - "type": "named" - } - } - }, - "auto_advance": { - "description": "Controls whether Stripe performs [automatic collection](https://stripe.com/docs/invoicing/integration/automatic-advancement-collection) of the invoice. If `false`, the invoice's state doesn't automatically advance without an explicit action.", - "type": { - "type": "nullable", - "underlying_type": { - "name": "Boolean", - "type": "named" - } - } - }, "automatic_tax": { - "description": "Settings for automatic tax lookup for this invoice.", + "description": "Settings for automatic tax lookup for this invoice preview.", "type": { "type": "nullable", "underlying_type": { - "name": "PostInvoicesBodyAutomaticTax", + "name": "PostInvoicesCreatePreviewBodyAutomaticTax", "type": "named" } } }, - "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`.", + "coupon": { + "description": "The ID of the coupon to apply to this phase of the subscription schedule. This field has been deprecated and will be removed in a future API version. Use `discounts` instead.", "type": { "type": "nullable", "underlying_type": { - "name": "InvoicesCollectionMethod", + "name": "String", "type": "named" } } }, "currency": { - "description": "The currency to create this invoice in. Defaults to that of `customer` if not specified.", + "description": "The currency to preview this invoice in. Defaults to that of `customer` if not specified.", "type": { "type": "nullable", "underlying_type": { @@ -140711,48 +146818,8 @@ } } }, - "custom_fields": { - "description": "A list of up to 4 custom fields to be displayed on the invoice.", - "type": { - "type": "nullable", - "underlying_type": { - "name": "JSON", - "type": "named" - } - } - }, "customer": { - "description": "The ID of the customer who will be billed.", - "type": { - "type": "nullable", - "underlying_type": { - "name": "String", - "type": "named" - } - } - }, - "days_until_due": { - "description": "The number of days from when the invoice is created until it is due. Valid only for invoices where `collection_method=send_invoice`.", - "type": { - "type": "nullable", - "underlying_type": { - "name": "Int32", - "type": "named" - } - } - }, - "default_payment_method": { - "description": "ID of the default payment method for the invoice. It must belong to the customer associated with the invoice. If not set, defaults to the subscription's default payment method, if any, or to the default payment method in the customer's invoice settings.", - "type": { - "type": "nullable", - "underlying_type": { - "name": "String", - "type": "named" - } - } - }, - "default_source": { - "description": "ID of the default payment source for the invoice. It must belong to the customer associated with the invoice and be in a chargeable state. If not set, defaults to the subscription's default source, if any, or to the customer's default source.", + "description": "The identifier of the customer whose upcoming invoice you'd like to retrieve. If `automatic_tax` is enabled then one of `customer`, `customer_details`, `subscription`, or `schedule` must be set.", "type": { "type": "nullable", "underlying_type": { @@ -140761,31 +146828,18 @@ } } }, - "default_tax_rates": { - "description": "The tax rates that will apply to any line item that does not have `tax_rates` set.", - "type": { - "type": "nullable", - "underlying_type": { - "element_type": { - "name": "String", - "type": "named" - }, - "type": "array" - } - } - }, - "description": { - "description": "An arbitrary string attached to the object. Often useful for displaying to users. Referenced as 'memo' in the Dashboard.", + "customer_details": { + "description": "Details about the customer you want to invoice or overrides for an existing customer. If `automatic_tax` is enabled then one of `customer`, `customer_details`, `subscription`, or `schedule` must be set.", "type": { "type": "nullable", "underlying_type": { - "name": "String", + "name": "PostInvoicesCreatePreviewBodyCustomerDetails", "type": "named" } } }, "discounts": { - "description": "The coupons and promotion codes to redeem into discounts for the invoice. If not specified, inherits the discount from the invoice's customer. Pass an empty string to avoid inheriting any discounts.", + "description": "The coupons to redeem into discounts for the invoice preview. If not specified, inherits the discount from the subscription or customer. This works for both coupons directly applied to an invoice and coupons applied to a subscription. Pass an empty string to avoid inheriting any discounts.", "type": { "type": "nullable", "underlying_type": { @@ -140794,26 +146848,6 @@ } } }, - "due_date": { - "description": "The date on which payment for this invoice is due. Valid only for invoices where `collection_method=send_invoice`.", - "type": { - "type": "nullable", - "underlying_type": { - "name": "UnixTime", - "type": "named" - } - } - }, - "effective_at": { - "description": "The date when this invoice is in effect. Same as `finalized_at` unless overwritten. When defined, this value replaces the system-generated 'Date of issue' printed on the invoice PDF and receipt.", - "type": { - "type": "nullable", - "underlying_type": { - "name": "UnixTime", - "type": "named" - } - } - }, "expand": { "description": "Specifies which fields in the response should be expanded.", "type": { @@ -140827,23 +146861,16 @@ } } }, - "footer": { - "description": "Footer to be displayed on the invoice.", - "type": { - "type": "nullable", - "underlying_type": { - "name": "String", - "type": "named" - } - } - }, - "from_invoice": { - "description": "Revise an existing invoice. The new invoice will be created in `status=draft`. See the [revision documentation](https://stripe.com/docs/invoicing/invoice-revisions) for more details.", + "invoice_items": { + "description": "List of invoice items to add or update in the upcoming invoice preview.", "type": { "type": "nullable", "underlying_type": { - "name": "PostInvoicesBodyFromInvoice", - "type": "named" + "element_type": { + "name": "PostInvoicesCreatePreviewBodyInvoiceItems", + "type": "named" + }, + "type": "array" } } }, @@ -140852,27 +146879,7 @@ "type": { "type": "nullable", "underlying_type": { - "name": "PostInvoicesBodyIssuer", - "type": "named" - } - } - }, - "metadata": { - "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": { - "type": "nullable", - "underlying_type": { - "name": "JSON", - "type": "named" - } - } - }, - "number": { - "description": "Set the number for this invoice. If no number is present then a number will be assigned automatically when the invoice is finalized. In many markets, regulations require invoices to be unique, sequential and / or gapless. You are responsible for ensuring this is true across all your different invoicing systems in the event that you edit the invoice number using our API. If you use only Stripe for your invoices and do not change invoice numbers, Stripe handles this aspect of compliance for you automatically.", - "type": { - "type": "nullable", - "underlying_type": { - "name": "String", + "name": "PostInvoicesCreatePreviewBodyIssuer", "type": "named" } } @@ -140882,73 +146889,43 @@ "type": { "type": "nullable", "underlying_type": { - "name": "String", - "type": "named" - } - } - }, - "payment_settings": { - "description": "Configuration settings for the PaymentIntent that is generated when the invoice is finalized.", - "type": { - "type": "nullable", - "underlying_type": { - "name": "PostInvoicesBodyPaymentSettings", - "type": "named" - } - } - }, - "pending_invoice_items_behavior": { - "description": "How to handle pending invoice items on invoice creation. Defaults to `exclude` if the parameter is omitted.", - "type": { - "type": "nullable", - "underlying_type": { - "name": "InvoicesPendingInvoiceItemsBehavior", - "type": "named" - } - } - }, - "rendering": { - "description": "The rendering-related settings that control how the invoice is displayed on customer-facing surfaces such as PDF and Hosted Invoice Page.", - "type": { - "type": "nullable", - "underlying_type": { - "name": "PostInvoicesBodyRendering", + "name": "JSON", "type": "named" } } }, - "shipping_cost": { - "description": "Settings for the cost of shipping for this invoice.", + "preview_mode": { + "description": "Customizes the types of values to include when calculating the invoice. Defaults to `next` if unspecified.", "type": { "type": "nullable", "underlying_type": { - "name": "PostInvoicesBodyShippingCost", + "name": "InvoicesPreviewMode", "type": "named" } } }, - "shipping_details": { - "description": "Shipping details for the invoice. The Invoice PDF will use the `shipping_details` value if it is set, otherwise the PDF will render the shipping address from the customer.", + "schedule": { + "description": "The identifier of the schedule whose upcoming invoice you'd like to retrieve. Cannot be used with subscription or subscription fields.", "type": { "type": "nullable", "underlying_type": { - "name": "PostInvoicesBodyShippingDetails", + "name": "String", "type": "named" } } }, - "statement_descriptor": { - "description": "Extra information about a charge for the customer's credit card statement. It must contain at least one letter. If not specified and this invoice is part of a subscription, the default `statement_descriptor` will be set to the first subscription item's product's `statement_descriptor`.", + "schedule_details": { + "description": "The schedule creation or modification params to apply as a preview. Cannot be used with `subscription` or `subscription_` prefixed fields.", "type": { "type": "nullable", "underlying_type": { - "name": "String", + "name": "PostInvoicesCreatePreviewBodyScheduleDetails", "type": "named" } } }, "subscription": { - "description": "The ID of the subscription to invoice, if any. If set, the created invoice will only include pending invoice items for that subscription. The subscription's billing cycle and regular subscription events won't be affected.", + "description": "The identifier of the subscription for which you'd like to retrieve the upcoming invoice. If not provided, but a `subscription_items` is provided, you will preview creating a subscription with those items. If neither `subscription` nor `subscription_items` is provided, you will retrieve the next upcoming invoice from among the customer's subscriptions.", "type": { "type": "nullable", "underlying_type": { @@ -140957,18 +146934,18 @@ } } }, - "transfer_data": { - "description": "If specified, the funds from the invoice will be transferred to the destination and the ID of the resulting transfer will be found on the invoice's charge.", + "subscription_details": { + "description": "The subscription creation or modification params to apply as a preview. Cannot be used with `schedule` or `schedule_details` fields.", "type": { "type": "nullable", "underlying_type": { - "name": "PostInvoicesBodyTransferData", + "name": "PostInvoicesCreatePreviewBodySubscriptionDetails", "type": "named" } } } }, - "name": "PostInvoices", + "name": "PostInvoicesCreatePreview", "result_type": { "name": "Invoice", "type": "named" @@ -141989,7 +147966,7 @@ } }, "metadata": { - "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`.", + "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`. For `type=recurring` line items, the incoming metadata specified on the request is directly used to set this value, in contrast to `type=invoiceitem` line items, where any existing metadata on the invoice line is merged with the incoming data.", "type": { "type": "nullable", "underlying_type": { @@ -144199,194 +150176,202 @@ "type": "JSON", "nullable": true }, - "not_received": { - "type": "JSON", - "nullable": true - }, - "other": { - "type": "JSON", - "nullable": true - }, - "reason": { - "type": "IssuingReason", - "nullable": true - }, - "service_not_as_described": { - "type": "JSON", - "nullable": true - } - } - } - }, - { - "style": "deepObject", - "explode": true, - "name": "expand", - "in": "query", - "schema": { - "type": "array", - "nullable": true, - "items": { - "type": "String", - "maxLength": 5000 - } - } - }, - { - "style": "deepObject", - "explode": true, - "name": "metadata", - "in": "query", - "schema": { - "type": "JSON", - "nullable": true - } - }, - { - "name": "transaction", - "in": "query", - "schema": { - "type": "String", - "nullable": true, - "maxLength": 5000 - } - }, - { - "style": "deepObject", - "explode": true, - "name": "treasury", - "in": "query", - "schema": { - "type": "object", - "nullable": true, - "properties": { - "received_debit": { - "type": "String", - "maxLength": 5000 - } - } - } - } - ], - "requestBody": { - "contentType": "application/x-www-form-urlencoded" - } - }, - "arguments": { - "amount": { - "description": "The dispute amount in the card's currency and in the [smallest currency unit](https://stripe.com/docs/currencies#zero-decimal). If not set, defaults to the full transaction amount.", - "type": { - "type": "nullable", - "underlying_type": { - "name": "Int32", - "type": "named" - } - } - }, - "evidence": { - "description": "Evidence provided for the dispute.", - "type": { - "type": "nullable", - "underlying_type": { - "name": "PostIssuingDisputesBodyEvidence", - "type": "named" - } - } - }, - "expand": { - "description": "Specifies which fields in the response should be expanded.", - "type": { - "type": "nullable", - "underlying_type": { - "element_type": { - "name": "String", - "type": "named" - }, - "type": "array" - } - } - }, - "metadata": { - "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": { - "type": "nullable", - "underlying_type": { - "name": "JSON", - "type": "named" - } - } - }, - "transaction": { - "description": "The ID of the issuing transaction to create a dispute for. For transaction on Treasury FinancialAccounts, use `treasury.received_debit`.", - "type": { - "type": "nullable", - "underlying_type": { - "name": "String", - "type": "named" - } - } - }, - "treasury": { - "description": "Params for disputes related to Treasury FinancialAccounts", - "type": { - "type": "nullable", - "underlying_type": { - "name": "PostIssuingDisputesBodyTreasury", - "type": "named" - } - } - } - }, - "name": "PostIssuingDisputes", - "result_type": { - "name": "IssuingDispute", - "type": "named" - } - }, - { - "request": { - "url": "/v1/issuing/disputes/{dispute}", - "method": "post", - "parameters": [ - { - "style": "simple", - "name": "dispute", - "in": "path", - "schema": { - "type": "String", - "maxLength": 5000 - } - }, - { - "name": "amount", - "in": "query", - "schema": { - "type": "Int32", - "nullable": true - } - }, - { - "style": "deepObject", - "explode": true, - "name": "evidence", - "in": "query", - "schema": { - "type": "object", - "nullable": true, - "properties": { - "canceled": { - "type": "JSON", - "nullable": true - }, - "duplicate": { - "type": "JSON", - "nullable": true - }, - "fraudulent": { - "type": "JSON", - "nullable": true - }, - "merchandise_not_as_described": { + "no_valid_authorization": { + "type": "JSON", + "nullable": true + }, + "not_received": { + "type": "JSON", + "nullable": true + }, + "other": { + "type": "JSON", + "nullable": true + }, + "reason": { + "type": "IssuingReason", + "nullable": true + }, + "service_not_as_described": { + "type": "JSON", + "nullable": true + } + } + } + }, + { + "style": "deepObject", + "explode": true, + "name": "expand", + "in": "query", + "schema": { + "type": "array", + "nullable": true, + "items": { + "type": "String", + "maxLength": 5000 + } + } + }, + { + "style": "deepObject", + "explode": true, + "name": "metadata", + "in": "query", + "schema": { + "type": "JSON", + "nullable": true + } + }, + { + "name": "transaction", + "in": "query", + "schema": { + "type": "String", + "nullable": true, + "maxLength": 5000 + } + }, + { + "style": "deepObject", + "explode": true, + "name": "treasury", + "in": "query", + "schema": { + "type": "object", + "nullable": true, + "properties": { + "received_debit": { + "type": "String", + "maxLength": 5000 + } + } + } + } + ], + "requestBody": { + "contentType": "application/x-www-form-urlencoded" + } + }, + "arguments": { + "amount": { + "description": "The dispute amount in the card's currency and in the [smallest currency unit](https://stripe.com/docs/currencies#zero-decimal). If not set, defaults to the full transaction amount.", + "type": { + "type": "nullable", + "underlying_type": { + "name": "Int32", + "type": "named" + } + } + }, + "evidence": { + "description": "Evidence provided for the dispute.", + "type": { + "type": "nullable", + "underlying_type": { + "name": "PostIssuingDisputesBodyEvidence", + "type": "named" + } + } + }, + "expand": { + "description": "Specifies which fields in the response should be expanded.", + "type": { + "type": "nullable", + "underlying_type": { + "element_type": { + "name": "String", + "type": "named" + }, + "type": "array" + } + } + }, + "metadata": { + "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": { + "type": "nullable", + "underlying_type": { + "name": "JSON", + "type": "named" + } + } + }, + "transaction": { + "description": "The ID of the issuing transaction to create a dispute for. For transaction on Treasury FinancialAccounts, use `treasury.received_debit`.", + "type": { + "type": "nullable", + "underlying_type": { + "name": "String", + "type": "named" + } + } + }, + "treasury": { + "description": "Params for disputes related to Treasury FinancialAccounts", + "type": { + "type": "nullable", + "underlying_type": { + "name": "PostIssuingDisputesBodyTreasury", + "type": "named" + } + } + } + }, + "name": "PostIssuingDisputes", + "result_type": { + "name": "IssuingDispute", + "type": "named" + } + }, + { + "request": { + "url": "/v1/issuing/disputes/{dispute}", + "method": "post", + "parameters": [ + { + "style": "simple", + "name": "dispute", + "in": "path", + "schema": { + "type": "String", + "maxLength": 5000 + } + }, + { + "name": "amount", + "in": "query", + "schema": { + "type": "Int32", + "nullable": true + } + }, + { + "style": "deepObject", + "explode": true, + "name": "evidence", + "in": "query", + "schema": { + "type": "object", + "nullable": true, + "properties": { + "canceled": { + "type": "JSON", + "nullable": true + }, + "duplicate": { + "type": "JSON", + "nullable": true + }, + "fraudulent": { + "type": "JSON", + "nullable": true + }, + "merchandise_not_as_described": { + "type": "JSON", + "nullable": true + }, + "no_valid_authorization": { "type": "JSON", "nullable": true }, @@ -145302,6 +151287,7 @@ "properties": { "countries": { "type": "array", + "nullable": true, "items": { "type": "String", "maxLength": 5000 @@ -145774,6 +151760,10 @@ } } }, + "allow_redisplay": { + "type": "PaymentIntentsAllowRedisplay", + "nullable": true + }, "au_becs_debit": { "type": "object", "nullable": true, @@ -146770,6 +152760,10 @@ } } }, + "allow_redisplay": { + "type": "PaymentIntentsAllowRedisplay", + "nullable": true + }, "au_becs_debit": { "type": "object", "nullable": true, @@ -147933,6 +153927,10 @@ } } }, + "allow_redisplay": { + "type": "PaymentIntentsAllowRedisplay", + "nullable": true + }, "au_becs_debit": { "type": "object", "nullable": true, @@ -151007,6 +157005,28 @@ } } }, + { + "style": "deepObject", + "explode": true, + "name": "mobilepay", + "in": "query", + "schema": { + "type": "object", + "nullable": true, + "properties": { + "display_preference": { + "type": "object", + "nullable": true, + "properties": { + "preference": { + "type": "PaymentMethodConfigurationsPreference", + "nullable": true + } + } + } + } + } + }, { "name": "name", "in": "query", @@ -151201,6 +157221,28 @@ } } }, + { + "style": "deepObject", + "explode": true, + "name": "swish", + "in": "query", + "schema": { + "type": "object", + "nullable": true, + "properties": { + "display_preference": { + "type": "object", + "nullable": true, + "properties": { + "preference": { + "type": "PaymentMethodConfigurationsPreference", + "nullable": true + } + } + } + } + } + }, { "style": "deepObject", "explode": true, @@ -151546,6 +157588,16 @@ } } }, + "mobilepay": { + "description": "MobilePay is a [single-use](https://stripe.com/docs/payments/payment-methods#usage) card wallet payment method used in Denmark and Finland. It allows customers to [authenticate and approve](https://stripe.com/docs/payments/payment-methods#customer-actions) payments using the MobilePay app. Check this [page](https://stripe.com/docs/payments/mobilepay) for more details.", + "type": { + "type": "nullable", + "underlying_type": { + "name": "PostPaymentMethodConfigurationsBodyMobilepay", + "type": "named" + } + } + }, "name": { "description": "Configuration name.", "type": { @@ -151646,6 +157698,16 @@ } } }, + "swish": { + "description": "Swish is a [real-time](https://stripe.com/docs/payments/real-time) payment method popular in Sweden. It allows customers to [authenticate and approve](https://stripe.com/docs/payments/payment-methods#customer-actions) payments using the Swish mobile app and the Swedish BankID mobile app. Check this [page](https://stripe.com/docs/payments/swish) for more details.", + "type": { + "type": "nullable", + "underlying_type": { + "name": "PostPaymentMethodConfigurationsBodySwish", + "type": "named" + } + } + }, "us_bank_account": { "description": "Stripe users in the United States can accept ACH direct debit payments from customers with a US bank account using the Automated Clearing House (ACH) payments system operated by Nacha. Check this [page](https://stripe.com/docs/payments/ach-debit) for more details.", "type": { @@ -152291,6 +158353,28 @@ } } }, + { + "style": "deepObject", + "explode": true, + "name": "mobilepay", + "in": "query", + "schema": { + "type": "object", + "nullable": true, + "properties": { + "display_preference": { + "type": "object", + "nullable": true, + "properties": { + "preference": { + "type": "PaymentMethodConfigurationsPreference", + "nullable": true + } + } + } + } + } + }, { "name": "name", "in": "query", @@ -152476,6 +158560,28 @@ } } }, + { + "style": "deepObject", + "explode": true, + "name": "swish", + "in": "query", + "schema": { + "type": "object", + "nullable": true, + "properties": { + "display_preference": { + "type": "object", + "nullable": true, + "properties": { + "preference": { + "type": "PaymentMethodConfigurationsPreference", + "nullable": true + } + } + } + } + } + }, { "style": "deepObject", "explode": true, @@ -152837,6 +158943,16 @@ } } }, + "mobilepay": { + "description": "MobilePay is a [single-use](https://stripe.com/docs/payments/payment-methods#usage) card wallet payment method used in Denmark and Finland. It allows customers to [authenticate and approve](https://stripe.com/docs/payments/payment-methods#customer-actions) payments using the MobilePay app. Check this [page](https://stripe.com/docs/payments/mobilepay) for more details.", + "type": { + "type": "nullable", + "underlying_type": { + "name": "PostPaymentMethodConfigurationsConfigurationBodyMobilepay", + "type": "named" + } + } + }, "name": { "description": "Configuration name.", "type": { @@ -152927,6 +159043,16 @@ } } }, + "swish": { + "description": "Swish is a [real-time](https://stripe.com/docs/payments/real-time) payment method popular in Sweden. It allows customers to [authenticate and approve](https://stripe.com/docs/payments/payment-methods#customer-actions) payments using the Swish mobile app and the Swedish BankID mobile app. Check this [page](https://stripe.com/docs/payments/swish) for more details.", + "type": { + "type": "nullable", + "underlying_type": { + "name": "PostPaymentMethodConfigurationsConfigurationBodySwish", + "type": "named" + } + } + }, "us_bank_account": { "description": "Stripe users in the United States can accept ACH direct debit payments from customers with a US bank account using the Automated Clearing House (ACH) payments system operated by Nacha. Check this [page](https://stripe.com/docs/payments/ach-debit) for more details.", "type": { @@ -153209,6 +159335,14 @@ } } }, + { + "name": "allow_redisplay", + "in": "query", + "schema": { + "type": "PaymentMethodsAllowRedisplay", + "nullable": true + } + }, { "style": "deepObject", "explode": true, @@ -153547,6 +159681,16 @@ } } }, + "allow_redisplay": { + "description": "This field indicates whether this payment method can be shown again to its customer in a checkout flow. Stripe products such as Checkout and Elements use this field to determine whether a payment method can be shown as a saved payment method in a checkout flow. The field defaults to `unspecified`.", + "type": { + "type": "nullable", + "underlying_type": { + "name": "PaymentMethodsAllowRedisplay", + "type": "named" + } + } + }, "au_becs_debit": { "description": "If this is an `au_becs_debit` PaymentMethod, this hash contains details about the bank account.", "type": { @@ -153761,6 +159905,14 @@ "maxLength": 5000 } }, + { + "name": "allow_redisplay", + "in": "query", + "schema": { + "type": "PaymentMethodsAllowRedisplay", + "nullable": true + } + }, { "style": "deepObject", "explode": true, @@ -153869,6 +160021,16 @@ } }, "arguments": { + "allow_redisplay": { + "description": "This field indicates whether this payment method can be shown again to its customer in a checkout flow. Stripe products such as Checkout and Elements use this field to determine whether a payment method can be shown as a saved payment method in a checkout flow. The field defaults to `unspecified`.", + "type": { + "type": "nullable", + "underlying_type": { + "name": "PaymentMethodsAllowRedisplay", + "type": "named" + } + } + }, "billing_details": { "description": "Billing information associated with the PaymentMethod that may be used or required by particular types of payment methods.", "type": { @@ -155531,7 +161693,7 @@ } }, "unit_amount": { - "description": "A positive integer in cents (or local equivalent) (or 0 for a free price) representing how much to charge. One of `unit_amount` or `custom_unit_amount` is required, unless `billing_scheme=tiered`.", + "description": "A positive integer in cents (or local equivalent) (or 0 for a free price) representing how much to charge. One of `unit_amount`, `unit_amount_decimal`, or `custom_unit_amount` is required, unless `billing_scheme=tiered`.", "type": { "type": "nullable", "underlying_type": { @@ -156510,7 +162672,7 @@ }, "arguments": { "entitlement_feature": { - "description": "The ID of the [Feature](docs/api/entitlements/feature) object attached to this product.", + "description": "The ID of the [Feature](https://stripe.com/docs/api/entitlements/feature) object attached to this product.", "type": { "name": "String", "type": "named" @@ -159284,6 +165446,10 @@ } } }, + "allow_redisplay": { + "type": "SetupIntentsAllowRedisplay", + "nullable": true + }, "au_becs_debit": { "type": "object", "nullable": true, @@ -160125,6 +166291,10 @@ } } }, + "allow_redisplay": { + "type": "SetupIntentsAllowRedisplay", + "nullable": true + }, "au_becs_debit": { "type": "object", "nullable": true, @@ -160889,6 +167059,10 @@ } } }, + "allow_redisplay": { + "type": "SetupIntentsAllowRedisplay", + "nullable": true + }, "au_becs_debit": { "type": "object", "nullable": true, @@ -167298,6 +173472,47 @@ } } }, + { + "style": "deepObject", + "explode": true, + "name": "ship_from_details", + "in": "query", + "schema": { + "type": "object", + "nullable": true, + "properties": { + "address": { + "type": "object", + "properties": { + "city": { + "type": "JSON", + "nullable": true + }, + "country": { + "type": "String", + "maxLength": 5000 + }, + "line1": { + "type": "JSON", + "nullable": true + }, + "line2": { + "type": "JSON", + "nullable": true + }, + "postal_code": { + "type": "JSON", + "nullable": true + }, + "state": { + "type": "JSON", + "nullable": true + } + } + } + } + } + }, { "style": "deepObject", "explode": true, @@ -167391,6 +173606,16 @@ "type": "array" } }, + "ship_from_details": { + "description": "Details about the address from which the goods are being shipped.", + "type": { + "type": "nullable", + "underlying_type": { + "name": "PostTaxCalculationsBodyShipFromDetails", + "type": "named" + } + } + }, "shipping_cost": { "description": "Shipping cost details to be used for the calculation.", "type": { @@ -167520,6 +173745,15 @@ } } }, + "bh": { + "type": "object", + "nullable": true, + "properties": { + "type": { + "type": "PostTaxRegistrationsBodyCountryOptionsBhType" + } + } + }, "ca": { "type": "object", "nullable": true, @@ -167656,6 +173890,15 @@ } } }, + "eg": { + "type": "object", + "nullable": true, + "properties": { + "type": { + "type": "PostTaxRegistrationsBodyCountryOptionsEgType" + } + } + }, "es": { "type": "object", "nullable": true, @@ -167719,6 +173962,15 @@ } } }, + "ge": { + "type": "object", + "nullable": true, + "properties": { + "type": { + "type": "PostTaxRegistrationsBodyCountryOptionsGeType" + } + } + }, "gr": { "type": "object", "nullable": true, @@ -167836,6 +174088,15 @@ } } }, + "ke": { + "type": "object", + "nullable": true, + "properties": { + "type": { + "type": "PostTaxRegistrationsBodyCountryOptionsKeType" + } + } + }, "kr": { "type": "object", "nullable": true, @@ -167845,6 +174106,15 @@ } } }, + "kz": { + "type": "object", + "nullable": true, + "properties": { + "type": { + "type": "PostTaxRegistrationsBodyCountryOptionsKzType" + } + } + }, "lt": { "type": "object", "nullable": true, @@ -167935,6 +174205,15 @@ } } }, + "ng": { + "type": "object", + "nullable": true, + "properties": { + "type": { + "type": "PostTaxRegistrationsBodyCountryOptionsNgType" + } + } + }, "nl": { "type": "object", "nullable": true, @@ -167971,6 +174250,15 @@ } } }, + "om": { + "type": "object", + "nullable": true, + "properties": { + "type": { + "type": "PostTaxRegistrationsBodyCountryOptionsOmType" + } + } + }, "pl": { "type": "object", "nullable": true, @@ -171020,6 +177308,10 @@ } } }, + "allow_redisplay": { + "type": "TestHelpersAllowRedisplay", + "nullable": true + }, "au_becs_debit": { "type": "object", "nullable": true, @@ -173961,15 +180253,182 @@ } } }, - "name": "PostTestHelpersTreasuryInboundTransfersIdReturn", + "name": "PostTestHelpersTreasuryInboundTransfersIdReturn", + "result_type": { + "name": "TreasuryInboundTransfer", + "type": "named" + } + }, + { + "request": { + "url": "/v1/test_helpers/treasury/inbound_transfers/{id}/succeed", + "method": "post", + "parameters": [ + { + "style": "simple", + "name": "id", + "in": "path", + "schema": { + "type": "String", + "maxLength": 5000 + } + }, + { + "style": "deepObject", + "explode": true, + "name": "expand", + "in": "query", + "schema": { + "type": "array", + "nullable": true, + "items": { + "type": "String", + "maxLength": 5000 + } + } + } + ], + "requestBody": { + "contentType": "application/x-www-form-urlencoded" + } + }, + "arguments": { + "expand": { + "description": "Specifies which fields in the response should be expanded.", + "type": { + "type": "nullable", + "underlying_type": { + "element_type": { + "name": "String", + "type": "named" + }, + "type": "array" + } + } + }, + "id": { + "type": { + "name": "String", + "type": "named" + } + } + }, + "name": "PostTestHelpersTreasuryInboundTransfersIdSucceed", + "result_type": { + "name": "TreasuryInboundTransfer", + "type": "named" + } + }, + { + "request": { + "url": "/v1/test_helpers/treasury/outbound_payments/{id}", + "method": "post", + "parameters": [ + { + "style": "simple", + "name": "id", + "in": "path", + "schema": { + "type": "String", + "maxLength": 5000 + } + }, + { + "style": "deepObject", + "explode": true, + "name": "expand", + "in": "query", + "schema": { + "type": "array", + "nullable": true, + "items": { + "type": "String", + "maxLength": 5000 + } + } + }, + { + "style": "deepObject", + "explode": true, + "name": "tracking_details", + "in": "query", + "schema": { + "type": "object", + "properties": { + "ach": { + "type": "object", + "nullable": true, + "properties": { + "trace_id": { + "type": "String", + "maxLength": 5000 + } + } + }, + "type": { + "type": "PostTestHelpersTreasuryOutboundPaymentsIdBodyTrackingDetailsType" + }, + "us_domestic_wire": { + "type": "object", + "nullable": true, + "properties": { + "imad": { + "type": "String", + "nullable": true, + "maxLength": 5000 + }, + "omad": { + "type": "String", + "nullable": true, + "maxLength": 5000 + } + } + } + } + } + } + ], + "requestBody": { + "contentType": "application/x-www-form-urlencoded" + } + }, + "arguments": { + "expand": { + "description": "Specifies which fields in the response should be expanded.", + "type": { + "type": "nullable", + "underlying_type": { + "element_type": { + "name": "String", + "type": "named" + }, + "type": "array" + } + } + }, + "id": { + "type": { + "name": "String", + "type": "named" + } + }, + "tracking_details": { + "description": "Details about network-specific tracking information.", + "type": { + "name": "PostTestHelpersTreasuryOutboundPaymentsIdBodyTrackingDetails", + "type": "named" + } + } + }, + "name": "PostTestHelpersTreasuryOutboundPaymentsId", "result_type": { - "name": "TreasuryInboundTransfer", + "name": "TreasuryOutboundPayment", "type": "named" } }, { "request": { - "url": "/v1/test_helpers/treasury/inbound_transfers/{id}/succeed", + "url": "/v1/test_helpers/treasury/outbound_payments/{id}/fail", "method": "post", "parameters": [ { @@ -174021,15 +180480,15 @@ } } }, - "name": "PostTestHelpersTreasuryInboundTransfersIdSucceed", + "name": "PostTestHelpersTreasuryOutboundPaymentsIdFail", "result_type": { - "name": "TreasuryInboundTransfer", + "name": "TreasuryOutboundPayment", "type": "named" } }, { "request": { - "url": "/v1/test_helpers/treasury/outbound_payments/{id}/fail", + "url": "/v1/test_helpers/treasury/outbound_payments/{id}/post", "method": "post", "parameters": [ { @@ -174081,7 +180540,7 @@ } } }, - "name": "PostTestHelpersTreasuryOutboundPaymentsIdFail", + "name": "PostTestHelpersTreasuryOutboundPaymentsIdPost", "result_type": { "name": "TreasuryOutboundPayment", "type": "named" @@ -174089,7 +180548,7 @@ }, { "request": { - "url": "/v1/test_helpers/treasury/outbound_payments/{id}/post", + "url": "/v1/test_helpers/treasury/outbound_payments/{id}/return", "method": "post", "parameters": [ { @@ -174114,6 +180573,22 @@ "maxLength": 5000 } } + }, + { + "style": "deepObject", + "explode": true, + "name": "returned_details", + "in": "query", + "schema": { + "type": "object", + "nullable": true, + "properties": { + "code": { + "type": "PostTestHelpersTreasuryOutboundPaymentsIdReturnBodyReturnedDetailsCode", + "nullable": true + } + } + } } ], "requestBody": { @@ -174139,9 +180614,19 @@ "name": "String", "type": "named" } + }, + "returned_details": { + "description": "Optional hash to set the return code.", + "type": { + "type": "nullable", + "underlying_type": { + "name": "PostTestHelpersTreasuryOutboundPaymentsIdReturnBodyReturnedDetails", + "type": "named" + } + } } }, - "name": "PostTestHelpersTreasuryOutboundPaymentsIdPost", + "name": "PostTestHelpersTreasuryOutboundPaymentsIdReturn", "result_type": { "name": "TreasuryOutboundPayment", "type": "named" @@ -174149,12 +180634,12 @@ }, { "request": { - "url": "/v1/test_helpers/treasury/outbound_payments/{id}/return", + "url": "/v1/test_helpers/treasury/outbound_transfers/{outbound_transfer}", "method": "post", "parameters": [ { "style": "simple", - "name": "id", + "name": "outbound_transfer", "in": "path", "schema": { "type": "String", @@ -174178,15 +180663,39 @@ { "style": "deepObject", "explode": true, - "name": "returned_details", + "name": "tracking_details", "in": "query", "schema": { "type": "object", - "nullable": true, "properties": { - "code": { - "type": "PostTestHelpersTreasuryOutboundPaymentsIdReturnBodyReturnedDetailsCode", - "nullable": true + "ach": { + "type": "object", + "nullable": true, + "properties": { + "trace_id": { + "type": "String", + "maxLength": 5000 + } + } + }, + "type": { + "type": "PostTestHelpersTreasuryOutboundTransfersOutboundTransferBodyTrackingDetailsType" + }, + "us_domestic_wire": { + "type": "object", + "nullable": true, + "properties": { + "imad": { + "type": "String", + "nullable": true, + "maxLength": 5000 + }, + "omad": { + "type": "String", + "nullable": true, + "maxLength": 5000 + } + } } } } @@ -174210,26 +180719,23 @@ } } }, - "id": { + "outbound_transfer": { "type": { "name": "String", "type": "named" } }, - "returned_details": { - "description": "Optional hash to set the the return code.", + "tracking_details": { + "description": "Details about network-specific tracking information.", "type": { - "type": "nullable", - "underlying_type": { - "name": "PostTestHelpersTreasuryOutboundPaymentsIdReturnBodyReturnedDetails", - "type": "named" - } + "name": "PostTestHelpersTreasuryOutboundTransfersOutboundTransferBodyTrackingDetails", + "type": "named" } } }, - "name": "PostTestHelpersTreasuryOutboundPaymentsIdReturn", + "name": "PostTestHelpersTreasuryOutboundTransfersOutboundTransfer", "result_type": { - "name": "TreasuryOutboundPayment", + "name": "TreasuryOutboundTransfer", "type": "named" } }, @@ -180726,6 +187232,30 @@ "type": "enum" } }, + "CheckoutAllowRedisplay": { + "aggregate_functions": {}, + "comparison_operators": {}, + "representation": { + "one_of": [ + "always", + "limited", + "unspecified" + ], + "type": "enum" + } + }, + "CheckoutAllowRedisplayFilters": { + "aggregate_functions": {}, + "comparison_operators": {}, + "representation": { + "one_of": [ + "always", + "limited", + "unspecified" + ], + "type": "enum" + } + }, "CheckoutAllowedCountries": { "aggregate_functions": {}, "comparison_operators": {}, @@ -180972,9 +187502,16 @@ "type": "enum" } }, - "CheckoutAmazonPayPaymentMethodOptions": { + "CheckoutAmazonPayPaymentMethodOptionsSetupFutureUsage": { "aggregate_functions": {}, - "comparison_operators": {} + "comparison_operators": {}, + "representation": { + "one_of": [ + "none", + "off_session" + ], + "type": "enum" + } }, "CheckoutAuBecsDebitPaymentMethodOptionsSetupFutureUsage": { "aggregate_functions": {}, @@ -181340,6 +187877,16 @@ "type": "enum" } }, + "CheckoutMobilepayPaymentMethodOptionsSetupFutureUsage": { + "aggregate_functions": {}, + "comparison_operators": {}, + "representation": { + "one_of": [ + "none" + ], + "type": "enum" + } + }, "CheckoutMode": { "aggregate_functions": {}, "comparison_operators": {}, @@ -181404,6 +187951,17 @@ "type": "enum" } }, + "CheckoutPaymentMethodSave": { + "aggregate_functions": {}, + "comparison_operators": {}, + "representation": { + "one_of": [ + "disabled", + "enabled" + ], + "type": "enum" + } + }, "CheckoutPaymentMethodTypes": { "aggregate_functions": {}, "comparison_operators": {}, @@ -181430,6 +187988,7 @@ "klarna", "konbini", "link", + "mobilepay", "oxxo", "p24", "paynow", @@ -181618,9 +188177,16 @@ "type": "enum" } }, - "CheckoutRevolutPayPaymentMethodOptions": { + "CheckoutRevolutPayPaymentMethodOptionsSetupFutureUsage": { "aggregate_functions": {}, - "comparison_operators": {} + "comparison_operators": {}, + "representation": { + "one_of": [ + "none", + "off_session" + ], + "type": "enum" + } }, "CheckoutSepaDebitPaymentMethodOptionsSetupFutureUsage": { "aggregate_functions": {}, @@ -182070,6 +188636,18 @@ "type": "enum" } }, + "ConfirmationTokensResourcePaymentMethodPreviewAllowRedisplay": { + "aggregate_functions": {}, + "comparison_operators": {}, + "representation": { + "one_of": [ + "always", + "limited", + "unspecified" + ], + "type": "enum" + } + }, "ConfirmationTokensResourcePaymentMethodPreviewType": { "aggregate_functions": {}, "comparison_operators": {}, @@ -182555,6 +189133,18 @@ "type": "enum" } }, + "CustomersAllowRedisplay": { + "aggregate_functions": {}, + "comparison_operators": {}, + "representation": { + "one_of": [ + "always", + "limited", + "unspecified" + ], + "type": "enum" + } + }, "CustomersBillingCycleAnchor": { "aggregate_functions": {}, "comparison_operators": {}, @@ -183086,7 +189676,8 @@ "comparison_operators": {}, "representation": { "one_of": [ - "card" + "card", + "paypal" ], "type": "enum" } @@ -184796,6 +191387,17 @@ "type": "enum" } }, + "InvoicesBillingCycleAnchor": { + "aggregate_functions": {}, + "comparison_operators": {}, + "representation": { + "one_of": [ + "automatic", + "phase_start" + ], + "type": "enum" + } + }, "InvoicesCollectionMethod": { "aggregate_functions": {}, "comparison_operators": {}, @@ -184807,6 +191409,17 @@ "type": "enum" } }, + "InvoicesEndBehavior": { + "aggregate_functions": {}, + "comparison_operators": {}, + "representation": { + "one_of": [ + "cancel", + "release" + ], + "type": "enum" + } + }, "InvoicesInterval": { "aggregate_functions": {}, "comparison_operators": {}, @@ -184850,6 +191463,7 @@ "ach_credit_transfer", "ach_debit", "acss_debit", + "amazon_pay", "au_becs_debit", "bacs_debit", "bancontact", @@ -184868,6 +191482,7 @@ "paynow", "paypal", "promptpay", + "revolut_pay", "sepa_debit", "sofort", "us_bank_account", @@ -184887,6 +191502,29 @@ "type": "enum" } }, + "InvoicesPreviewMode": { + "aggregate_functions": {}, + "comparison_operators": {}, + "representation": { + "one_of": [ + "next", + "recurring" + ], + "type": "enum" + } + }, + "InvoicesProrationBehavior": { + "aggregate_functions": {}, + "comparison_operators": {}, + "representation": { + "one_of": [ + "always_invoice", + "create_prorations", + "none" + ], + "type": "enum" + } + }, "InvoicesResourceInvoiceTaxIdType": { "aggregate_functions": {}, "comparison_operators": {}, @@ -184968,6 +191606,16 @@ "type": "enum" } }, + "InvoicesResumeAt": { + "aggregate_functions": {}, + "comparison_operators": {}, + "representation": { + "one_of": [ + "now" + ], + "type": "enum" + } + }, "InvoicesStatus": { "aggregate_functions": {}, "comparison_operators": {}, @@ -188216,6 +194864,7 @@ "duplicate", "fraudulent", "merchandise_not_as_described", + "no_valid_authorization", "not_received", "other", "service_not_as_described" @@ -188538,6 +195187,7 @@ "duplicate", "fraudulent", "merchandise_not_as_described", + "no_valid_authorization", "not_received", "other", "service_not_as_described" @@ -188910,6 +195560,10 @@ "type": "enum" } }, + "MandateAmazonPay": { + "aggregate_functions": {}, + "comparison_operators": {} + }, "MandateBacsDebitNetworkStatus": { "aggregate_functions": {}, "comparison_operators": {}, @@ -188959,6 +195613,10 @@ "type": "enum" } }, + "MandateRevolutPay": { + "aggregate_functions": {}, + "comparison_operators": {} + }, "MandateStatus": { "aggregate_functions": {}, "comparison_operators": {}, @@ -189621,6 +196279,18 @@ "type": "enum" } }, + "PaymentIntentsAllowRedisplay": { + "aggregate_functions": {}, + "comparison_operators": {}, + "representation": { + "one_of": [ + "always", + "limited", + "unspecified" + ], + "type": "enum" + } + }, "PaymentIntentsBank": { "aggregate_functions": {}, "comparison_operators": {}, @@ -190639,6 +197309,18 @@ "aggregate_functions": {}, "comparison_operators": {} }, + "PaymentMethodAllowRedisplay": { + "aggregate_functions": {}, + "comparison_operators": {}, + "representation": { + "one_of": [ + "always", + "limited", + "unspecified" + ], + "type": "enum" + } + }, "PaymentMethodAmazonPay": { "aggregate_functions": {}, "comparison_operators": {} @@ -191381,6 +198063,17 @@ "type": "enum" } }, + "PaymentMethodOptionsAmazonPaySetupFutureUsage": { + "aggregate_functions": {}, + "comparison_operators": {}, + "representation": { + "one_of": [ + "none", + "off_session" + ], + "type": "enum" + } + }, "PaymentMethodOptionsBacsDebitSetupFutureUsage": { "aggregate_functions": {}, "comparison_operators": {}, @@ -191707,6 +198400,17 @@ "type": "enum" } }, + "PaymentMethodOptionsRevolutPaySetupFutureUsage": { + "aggregate_functions": {}, + "comparison_operators": {}, + "representation": { + "one_of": [ + "none", + "off_session" + ], + "type": "enum" + } + }, "PaymentMethodOptionsSofortPreferredLanguage": { "aggregate_functions": {}, "comparison_operators": {}, @@ -191969,6 +198673,18 @@ "type": "enum" } }, + "PaymentMethodsAllowRedisplay": { + "aggregate_functions": {}, + "comparison_operators": {}, + "representation": { + "one_of": [ + "always", + "limited", + "unspecified" + ], + "type": "enum" + } + }, "PaymentMethodsBank": { "aggregate_functions": {}, "comparison_operators": {}, @@ -192188,6 +198904,29 @@ "type": "enum" } }, + "PaymentPagesCheckoutSessionSavedPaymentMethodOptionsAllowRedisplayFilters": { + "aggregate_functions": {}, + "comparison_operators": {}, + "representation": { + "one_of": [ + "always", + "limited", + "unspecified" + ], + "type": "enum" + } + }, + "PaymentPagesCheckoutSessionSavedPaymentMethodOptionsPaymentMethodSave": { + "aggregate_functions": {}, + "comparison_operators": {}, + "representation": { + "one_of": [ + "disabled", + "enabled" + ], + "type": "enum" + } + }, "PaymentPagesCheckoutSessionShippingAddressCollectionAllowedCountries": { "aggregate_functions": {}, "comparison_operators": {}, @@ -193179,6 +199918,16 @@ "type": "enum" } }, + "PostCheckoutSessionsBodyPaymentMethodOptionsMobilepaySetupFutureUsage": { + "aggregate_functions": {}, + "comparison_operators": {}, + "representation": { + "one_of": [ + "none" + ], + "type": "enum" + } + }, "PostCheckoutSessionsBodyPaymentMethodOptionsOxxoSetupFutureUsage": { "aggregate_functions": {}, "comparison_operators": {}, @@ -193415,6 +200164,86 @@ "type": "enum" } }, + "PostInvoicesCreatePreviewBodyCustomerDetailsTaxIdsType": { + "aggregate_functions": {}, + "comparison_operators": {}, + "representation": { + "one_of": [ + "ad_nrt", + "ae_trn", + "ar_cuit", + "au_abn", + "au_arn", + "bg_uic", + "bh_vat", + "bo_tin", + "br_cnpj", + "br_cpf", + "ca_bn", + "ca_gst_hst", + "ca_pst_bc", + "ca_pst_mb", + "ca_pst_sk", + "ca_qst", + "ch_vat", + "cl_tin", + "cn_tin", + "co_nit", + "cr_tin", + "do_rcn", + "ec_ruc", + "eg_tin", + "es_cif", + "eu_oss_vat", + "eu_vat", + "gb_vat", + "ge_vat", + "hk_br", + "hu_tin", + "id_npwp", + "il_vat", + "in_gst", + "is_vat", + "jp_cn", + "jp_rn", + "jp_trn", + "ke_pin", + "kr_brn", + "kz_bin", + "li_uid", + "mx_rfc", + "my_frp", + "my_itn", + "my_sst", + "ng_tin", + "no_vat", + "no_voec", + "nz_gst", + "om_vat", + "pe_ruc", + "ph_tin", + "ro_tin", + "rs_pib", + "ru_inn", + "ru_kpp", + "sa_vat", + "sg_gst", + "sg_uen", + "si_tin", + "sv_nit", + "th_vat", + "tr_tin", + "tw_vat", + "ua_vat", + "us_ein", + "uy_ruc", + "ve_rif", + "vn_tin", + "za_vat" + ], + "type": "enum" + } + }, "PostIssuingCardholdersBodyStatus": { "aggregate_functions": {}, "comparison_operators": {}, @@ -194408,6 +201237,16 @@ "type": "enum" } }, + "PostTaxRegistrationsBodyCountryOptionsBhType": { + "aggregate_functions": {}, + "comparison_operators": {}, + "representation": { + "one_of": [ + "standard" + ], + "type": "enum" + } + }, "PostTaxRegistrationsBodyCountryOptionsCaType": { "aggregate_functions": {}, "comparison_operators": {}, @@ -194515,6 +201354,16 @@ "type": "enum" } }, + "PostTaxRegistrationsBodyCountryOptionsEgType": { + "aggregate_functions": {}, + "comparison_operators": {}, + "representation": { + "one_of": [ + "simplified" + ], + "type": "enum" + } + }, "PostTaxRegistrationsBodyCountryOptionsEsType": { "aggregate_functions": {}, "comparison_operators": {}, @@ -194564,6 +201413,16 @@ "type": "enum" } }, + "PostTaxRegistrationsBodyCountryOptionsGeType": { + "aggregate_functions": {}, + "comparison_operators": {}, + "representation": { + "one_of": [ + "simplified" + ], + "type": "enum" + } + }, "PostTaxRegistrationsBodyCountryOptionsGrType": { "aggregate_functions": {}, "comparison_operators": {}, @@ -194659,6 +201518,16 @@ "type": "enum" } }, + "PostTaxRegistrationsBodyCountryOptionsKeType": { + "aggregate_functions": {}, + "comparison_operators": {}, + "representation": { + "one_of": [ + "simplified" + ], + "type": "enum" + } + }, "PostTaxRegistrationsBodyCountryOptionsKrType": { "aggregate_functions": {}, "comparison_operators": {}, @@ -194669,6 +201538,16 @@ "type": "enum" } }, + "PostTaxRegistrationsBodyCountryOptionsKzType": { + "aggregate_functions": {}, + "comparison_operators": {}, + "representation": { + "one_of": [ + "simplified" + ], + "type": "enum" + } + }, "PostTaxRegistrationsBodyCountryOptionsLtType": { "aggregate_functions": {}, "comparison_operators": {}, @@ -194741,6 +201620,16 @@ "type": "enum" } }, + "PostTaxRegistrationsBodyCountryOptionsNgType": { + "aggregate_functions": {}, + "comparison_operators": {}, + "representation": { + "one_of": [ + "simplified" + ], + "type": "enum" + } + }, "PostTaxRegistrationsBodyCountryOptionsNlType": { "aggregate_functions": {}, "comparison_operators": {}, @@ -194774,6 +201663,16 @@ "type": "enum" } }, + "PostTaxRegistrationsBodyCountryOptionsOmType": { + "aggregate_functions": {}, + "comparison_operators": {}, + "representation": { + "one_of": [ + "standard" + ], + "type": "enum" + } + }, "PostTaxRegistrationsBodyCountryOptionsPlType": { "aggregate_functions": {}, "comparison_operators": {}, @@ -195093,6 +201992,17 @@ "type": "enum" } }, + "PostTestHelpersTreasuryOutboundPaymentsIdBodyTrackingDetailsType": { + "aggregate_functions": {}, + "comparison_operators": {}, + "representation": { + "one_of": [ + "ach", + "us_domestic_wire" + ], + "type": "enum" + } + }, "PostTestHelpersTreasuryOutboundPaymentsIdReturnBodyReturnedDetailsCode": { "aggregate_functions": {}, "comparison_operators": {}, @@ -195112,6 +202022,17 @@ "type": "enum" } }, + "PostTestHelpersTreasuryOutboundTransfersOutboundTransferBodyTrackingDetailsType": { + "aggregate_functions": {}, + "comparison_operators": {}, + "representation": { + "one_of": [ + "ach", + "us_domestic_wire" + ], + "type": "enum" + } + }, "PostTestHelpersTreasuryOutboundTransfersOutboundTransferReturnBodyReturnedDetailsCode": { "aggregate_functions": {}, "comparison_operators": {}, @@ -196529,6 +203450,10 @@ "aggregate_functions": {}, "comparison_operators": {} }, + "SetupAttemptPaymentMethodDetailsAmazonPay": { + "aggregate_functions": {}, + "comparison_operators": {} + }, "SetupAttemptPaymentMethodDetailsAuBecsDebit": { "aggregate_functions": {}, "comparison_operators": {} @@ -196633,6 +203558,10 @@ "aggregate_functions": {}, "comparison_operators": {} }, + "SetupAttemptPaymentMethodDetailsRevolutPay": { + "aggregate_functions": {}, + "comparison_operators": {} + }, "SetupAttemptPaymentMethodDetailsSepaDebit": { "aggregate_functions": {}, "comparison_operators": {} @@ -196920,6 +203849,18 @@ "type": "enum" } }, + "SetupIntentsAllowRedisplay": { + "aggregate_functions": {}, + "comparison_operators": {}, + "representation": { + "one_of": [ + "always", + "limited", + "unspecified" + ], + "type": "enum" + } + }, "SetupIntentsAmountType": { "aggregate_functions": {}, "comparison_operators": {}, @@ -198056,6 +204997,7 @@ "ach_credit_transfer", "ach_debit", "acss_debit", + "amazon_pay", "au_becs_debit", "bacs_debit", "bancontact", @@ -198074,6 +205016,7 @@ "paynow", "paypal", "promptpay", + "revolut_pay", "sepa_debit", "sofort", "us_bank_account", @@ -199244,6 +206187,18 @@ "type": "enum" } }, + "TestHelpersAllowRedisplay": { + "aggregate_functions": {}, + "comparison_operators": {}, + "representation": { + "one_of": [ + "always", + "limited", + "unspecified" + ], + "type": "enum" + } + }, "TestHelpersAuthorizationMethod": { "aggregate_functions": {}, "comparison_operators": {}, @@ -199819,6 +206774,7 @@ "representation": { "one_of": [ "liter", + "other", "us_gallon" ], "type": "enum" @@ -200615,6 +207571,17 @@ "type": "enum" } }, + "TreasuryOutboundPaymentsResourceOutboundPaymentResourceTrackingDetailsType": { + "aggregate_functions": {}, + "comparison_operators": {}, + "representation": { + "one_of": [ + "ach", + "us_domestic_wire" + ], + "type": "enum" + } + }, "TreasuryOutboundPaymentsResourceReturnedStatusCode": { "aggregate_functions": {}, "comparison_operators": {}, @@ -200658,6 +207625,17 @@ "type": "enum" } }, + "TreasuryOutboundTransfersResourceOutboundTransferResourceTrackingDetailsType": { + "aggregate_functions": {}, + "comparison_operators": {}, + "representation": { + "one_of": [ + "ach", + "us_domestic_wire" + ], + "type": "enum" + } + }, "TreasuryOutboundTransfersResourceReturnedDetailsCode": { "aggregate_functions": {}, "comparison_operators": {}, @@ -201398,12 +208376,14 @@ "treasury.outbound_payment.failed", "treasury.outbound_payment.posted", "treasury.outbound_payment.returned", + "treasury.outbound_payment.tracking_details_updated", "treasury.outbound_transfer.canceled", "treasury.outbound_transfer.created", "treasury.outbound_transfer.expected_arrival_date_updated", "treasury.outbound_transfer.failed", "treasury.outbound_transfer.posted", "treasury.outbound_transfer.returned", + "treasury.outbound_transfer.tracking_details_updated", "treasury.received_credit.created", "treasury.received_credit.failed", "treasury.received_credit.succeeded", diff --git a/docker-compose.yaml b/docker-compose.yaml index 279bba6..e7dcba2 100644 --- a/docker-compose.yaml +++ b/docker-compose.yaml @@ -17,6 +17,6 @@ services: stripe-mock: # https://hub.docker.com/r/stripe/stripe-mock/tags - image: stripe/stripe-mock:v0.184.0 + image: stripe/stripe-mock:v0.185.0 ports: - "12111-12112:12111-12112" \ No newline at end of file diff --git a/testdata/mock/mutation/PostAccountSessions/expected.json b/testdata/mock/mutation/PostAccountSessions/expected.json index a6caead..b4c96b2 100644 --- a/testdata/mock/mutation/PostAccountSessions/expected.json +++ b/testdata/mock/mutation/PostAccountSessions/expected.json @@ -20,7 +20,7 @@ "enabled": false, "features": { "capture_payments": true, - "destination_on_behalf_of_charge_management": null, + "destination_on_behalf_of_charge_management": true, "dispute_management": false, "refund_management": true } @@ -29,7 +29,7 @@ "enabled": false, "features": { "capture_payments": true, - "destination_on_behalf_of_charge_management": null, + "destination_on_behalf_of_charge_management": false, "dispute_management": false, "refund_management": true } diff --git a/testdata/mock/query/GetIssuingSettlements/expected.json b/testdata/mock/query/GetIssuingSettlements/expected.json deleted file mode 100644 index 09a19d3..0000000 --- a/testdata/mock/query/GetIssuingSettlements/expected.json +++ /dev/null @@ -1,33 +0,0 @@ -[ - { - "rows": [ - { - "__value": { - "data": [ - { - "bin": "424242", - "clearing_date": 1703175372, - "created": 1234567890, - "currency": "usd", - "id": "ise_1OPouuJN5vQBdWExUSjMz9xA", - "interchange_fees": 44, - "livemode": false, - "metadata": {}, - "net_total": 3575, - "network": "visa", - "network_fees": 37, - "network_settlement_identifier": "1000633976", - "object": "issuing.settlement", - "settlement_service": "international", - "transaction_count": 2, - "transaction_volume": 3656 - } - ], - "has_more": false, - "object": "list", - "url": "/v1/issuing/settlements" - } - } - ] - } -] diff --git a/testdata/mock/query/GetIssuingSettlements/request.json b/testdata/mock/query/GetIssuingSettlements/request.json deleted file mode 100644 index 3ca9e82..0000000 --- a/testdata/mock/query/GetIssuingSettlements/request.json +++ /dev/null @@ -1,129 +0,0 @@ -{ - "arguments": { - "created": { - "type": "literal", - "value": null - }, - "ending_before": { - "type": "literal", - "value": "gVdCR6EOw5" - }, - "expand": { - "type": "literal", - "value": [ - "cj1HeU4k2Y" - ] - }, - "limit": { - "type": "literal", - "value": 10396 - }, - "starting_after": { - "type": "literal", - "value": "q44RUw8HJq" - } - }, - "collection": "GetIssuingSettlements", - "collection_relationships": {}, - "query": { - "fields": { - "__value": { - "column": "__value", - "fields": { - "fields": { - "data": { - "column": "data", - "fields": { - "fields": { - "fields": { - "bin": { - "column": "bin", - "type": "column" - }, - "clearing_date": { - "column": "clearing_date", - "type": "column" - }, - "created": { - "column": "created", - "type": "column" - }, - "currency": { - "column": "currency", - "type": "column" - }, - "id": { - "column": "id", - "type": "column" - }, - "interchange_fees": { - "column": "interchange_fees", - "type": "column" - }, - "livemode": { - "column": "livemode", - "type": "column" - }, - "metadata": { - "column": "metadata", - "type": "column" - }, - "net_total": { - "column": "net_total", - "type": "column" - }, - "network": { - "column": "network", - "type": "column" - }, - "network_fees": { - "column": "network_fees", - "type": "column" - }, - "network_settlement_identifier": { - "column": "network_settlement_identifier", - "type": "column" - }, - "object": { - "column": "object", - "type": "column" - }, - "settlement_service": { - "column": "settlement_service", - "type": "column" - }, - "transaction_count": { - "column": "transaction_count", - "type": "column" - }, - "transaction_volume": { - "column": "transaction_volume", - "type": "column" - } - }, - "type": "object" - }, - "type": "array" - }, - "type": "column" - }, - "has_more": { - "column": "has_more", - "type": "column" - }, - "object": { - "column": "object", - "type": "column" - }, - "url": { - "column": "url", - "type": "column" - } - }, - "type": "object" - }, - "type": "column" - } - } - } -} \ No newline at end of file