Skip to content

Commit

Permalink
Update OpenAPI for fda9183b15a40339b11399a25f3bc6e698acd953
Browse files Browse the repository at this point in the history
  • Loading branch information
stripe-openapi[bot] committed Oct 16, 2023
1 parent a872401 commit 0b36ffe
Show file tree
Hide file tree
Showing 2 changed files with 532 additions and 4 deletions.
241 changes: 239 additions & 2 deletions embedded/openapi/spec3.beta.sdk.json
Original file line number Diff line number Diff line change
Expand Up @@ -1699,10 +1699,43 @@
"description": "The code for the type of error.",
"enum": [
"invalid_address_city_state_postal_code",
"invalid_address_highway_contract_box",
"invalid_address_private_mailbox",
"invalid_business_profile_name",
"invalid_business_profile_name_denylisted",
"invalid_company_name_denylisted",
"invalid_dob_age_over_maximum",
"invalid_dob_age_under_18",
"invalid_product_description_length",
"invalid_product_description_url_match",
"invalid_representative_country",
"invalid_statement_descriptor_business_mismatch",
"invalid_statement_descriptor_denylisted",
"invalid_statement_descriptor_length",
"invalid_statement_descriptor_prefix_denylisted",
"invalid_statement_descriptor_prefix_mismatch",
"invalid_street_address",
"invalid_tax_id",
"invalid_tax_id_format",
"invalid_tos_acceptance",
"invalid_url_denylisted",
"invalid_url_format",
"invalid_url_length",
"invalid_url_web_presence_detected",
"invalid_url_website_business_information_mismatch",
"invalid_url_website_empty",
"invalid_url_website_inaccessible",
"invalid_url_website_inaccessible_geoblocked",
"invalid_url_website_inaccessible_password_protected",
"invalid_url_website_incomplete",
"invalid_url_website_incomplete_cancellation_policy",
"invalid_url_website_incomplete_customer_service_details",
"invalid_url_website_incomplete_legal_restrictions",
"invalid_url_website_incomplete_refund_policy",
"invalid_url_website_incomplete_return_policy",
"invalid_url_website_incomplete_terms_and_conditions",
"invalid_url_website_incomplete_under_construction",
"invalid_url_website_other",
"invalid_value_other",
"verification_directors_mismatch",
"verification_document_address_mismatch",
Expand Down Expand Up @@ -42641,6 +42674,9 @@
"maxLength": 5000,
"type": "string"
},
"additional_tos_acceptances": {
"$ref": "#/components/schemas/person_additional_tos_acceptances"
},
"address": {
"$ref": "#/components/schemas/address"
},
Expand Down Expand Up @@ -42819,6 +42855,7 @@
"title": "Person",
"type": "object",
"x-expandableFields": [
"additional_tos_acceptances",
"address",
"address_kana",
"address_kanji",
Expand Down Expand Up @@ -42942,6 +42979,61 @@
"type": "person.updated"
}
},
"person_additional_tos_acceptance": {
"description": "",
"properties": {
"date": {
"description": "The Unix timestamp marking when the legal guardian accepted the service agreement.",
"format": "unix-time",
"nullable": true,
"type": "integer"
},
"ip": {
"description": "The IP address from which the legal guardian accepted the service agreement.",
"maxLength": 5000,
"nullable": true,
"type": "string"
},
"user_agent": {
"description": "The user agent of the browser from which the legal guardian accepted the service agreement.",
"maxLength": 5000,
"nullable": true,
"type": "string"
}
},
"required": [
"date",
"ip",
"user_agent"
],
"title": "PersonAdditionalTOSAcceptance",
"type": "object",
"x-expandableFields": [],
"x-stripeResource": {
"class_name": "PersonAdditionalTosAcceptance",
"in_package": ""
}
},
"person_additional_tos_acceptances": {
"description": "",
"properties": {
"account": {
"$ref": "#/components/schemas/person_additional_tos_acceptance"
}
},
"required": [
"account"
],
"title": "PersonAdditionalTOSAcceptances",
"type": "object",
"x-expandableFields": [
"account"
],
"x-stripeResource": {
"class_name": "PersonAdditionalTosAcceptances",
"in_package": ""
}
},
"person_future_requirements": {
"description": "",
"properties": {
Expand Down Expand Up @@ -43025,6 +43117,11 @@
"nullable": true,
"type": "boolean"
},
"legal_guardian": {
"description": "Whether the person is the legal guardian of the account's representative.",
"nullable": true,
"type": "boolean"
},
"owner": {
"description": "Whether the person is an owner of the account’s legal entity.",
"nullable": true,
Expand All @@ -43050,6 +43147,7 @@
"required": [
"director",
"executive",
"legal_guardian",
"owner",
"percent_ownership",
"representative",
Expand Down Expand Up @@ -67186,7 +67284,7 @@
"description": "The Stripe REST API. Please see https://stripe.com/docs/api for more details.",
"termsOfService": "https://stripe.com/us/terms/",
"title": "Stripe API",
"version": "2023-08-16; embedded_connect_beta=v2; server_side_confirmation_beta=v1; orders_beta=v4; gift_cards_beta=v1; tax_calc_beta=v3; tax_txns_beta=v2; tax_regs_beta=v2; unified_accounts_beta=v1; terminal_collect_inputs_beta=v1; terminal_collect_confirm_beta=v1; retrieve_tax_forms_beta=v1; financial_connections_transactions_beta=v1",
"version": "2023-10-16; embedded_connect_beta=v2; server_side_confirmation_beta=v1; orders_beta=v4; gift_cards_beta=v1; tax_calc_beta=v3; tax_txns_beta=v2; tax_regs_beta=v2; unified_accounts_beta=v1; terminal_collect_inputs_beta=v1; terminal_collect_confirm_beta=v1; retrieve_tax_forms_beta=v1; financial_connections_transactions_beta=v1",
"x-stripeSpecFilename": "spec3.beta.sdk"
},
"openapi": "3.0.0",
Expand Down Expand Up @@ -72494,6 +72592,10 @@
"description": "A filter on the list of people returned based on whether these people are executives of the account's company.",
"type": "boolean"
},
"legal_guardian": {
"description": "A filter on the list of people returned based on whether these people are legal guardians of the account's representative.",
"type": "boolean"
},
"owner": {
"description": "A filter on the list of people returned based on whether these people are owners of the account's company.",
"type": "boolean"
Expand Down Expand Up @@ -72610,6 +72712,10 @@
"content": {
"application/x-www-form-urlencoded": {
"encoding": {
"additional_tos_acceptances": {
"explode": true,
"style": "deepObject"
},
"address": {
"explode": true,
"style": "deepObject"
Expand Down Expand Up @@ -72658,6 +72764,44 @@
"schema": {
"additionalProperties": false,
"properties": {
"additional_tos_acceptances": {
"description": "Details on the legal guardian's acceptance of the required Stripe agreements.",
"properties": {
"account": {
"description": "Details on the legal guardian's acceptance of the main Stripe service agreement.",
"properties": {
"date": {
"description": "The Unix timestamp marking when the account representative accepted the service agreement.",
"format": "unix-time",
"type": "integer"
},
"ip": {
"description": "The IP address from which the account representative accepted the service agreement.",
"type": "string"
},
"user_agent": {
"anyOf": [
{
"maxLength": 5000,
"type": "string"
},
{
"enum": [
""
],
"type": "string"
}
],
"description": "The user agent of the browser from which the account representative accepted the service agreement."
}
},
"title": "settings_terms_of_service_specs",
"type": "object"
}
},
"title": "person_additional_tos_acceptances_specs",
"type": "object"
},
"address": {
"description": "The person's address.",
"properties": {
Expand Down Expand Up @@ -73058,6 +73202,10 @@
"description": "Whether the person has significant responsibility to control, manage, or direct the organization.",
"type": "boolean"
},
"legal_guardian": {
"description": "Whether the person is the legal guardian of the account's representative.",
"type": "boolean"
},
"owner": {
"description": "Whether the person is an owner of the account’s legal entity.",
"type": "boolean"
Expand Down Expand Up @@ -73332,6 +73480,10 @@
"content": {
"application/x-www-form-urlencoded": {
"encoding": {
"additional_tos_acceptances": {
"explode": true,
"style": "deepObject"
},
"address": {
"explode": true,
"style": "deepObject"
Expand Down Expand Up @@ -73380,6 +73532,44 @@
"schema": {
"additionalProperties": false,
"properties": {
"additional_tos_acceptances": {
"description": "Details on the legal guardian's acceptance of the required Stripe agreements.",
"properties": {
"account": {
"description": "Details on the legal guardian's acceptance of the main Stripe service agreement.",
"properties": {
"date": {
"description": "The Unix timestamp marking when the account representative accepted the service agreement.",
"format": "unix-time",
"type": "integer"
},
"ip": {
"description": "The IP address from which the account representative accepted the service agreement.",
"type": "string"
},
"user_agent": {
"anyOf": [
{
"maxLength": 5000,
"type": "string"
},
{
"enum": [
""
],
"type": "string"
}
],
"description": "The user agent of the browser from which the account representative accepted the service agreement."
}
},
"title": "settings_terms_of_service_specs",
"type": "object"
}
},
"title": "person_additional_tos_acceptances_specs",
"type": "object"
},
"address": {
"description": "The person's address.",
"properties": {
Expand Down Expand Up @@ -73780,6 +73970,10 @@
"description": "Whether the person has significant responsibility to control, manage, or direct the organization.",
"type": "boolean"
},
"legal_guardian": {
"description": "Whether the person is the legal guardian of the account's representative.",
"type": "boolean"
},
"owner": {
"description": "Whether the person is an owner of the account’s legal entity.",
"type": "boolean"
Expand Down Expand Up @@ -171675,6 +171869,44 @@
"person": {
"description": "Information for the person this token represents.",
"properties": {
"additional_tos_acceptances": {
"description": "Details on the legal guardian's acceptance of the required Stripe agreements.",
"properties": {
"account": {
"description": "Details on the legal guardian's acceptance of the main Stripe service agreement.",
"properties": {
"date": {
"description": "The Unix timestamp marking when the account representative accepted the service agreement.",
"format": "unix-time",
"type": "integer"
},
"ip": {
"description": "The IP address from which the account representative accepted the service agreement.",
"type": "string"
},
"user_agent": {
"anyOf": [
{
"maxLength": 5000,
"type": "string"
},
{
"enum": [
""
],
"type": "string"
}
],
"description": "The user agent of the browser from which the account representative accepted the service agreement."
}
},
"title": "settings_terms_of_service_specs",
"type": "object"
}
},
"title": "person_additional_tos_acceptances_specs",
"type": "object"
},
"address": {
"description": "The person's address.",
"properties": {
Expand Down Expand Up @@ -172062,6 +172294,10 @@
"description": "Whether the person has significant responsibility to control, manage, or direct the organization.",
"type": "boolean"
},
"legal_guardian": {
"description": "Whether the person is the legal guardian of the account's representative.",
"type": "boolean"
},
"owner": {
"description": "Whether the person is an owner of the account’s legal entity.",
"type": "boolean"
Expand Down Expand Up @@ -178160,7 +178396,8 @@
"2020-08-27",
"2022-08-01",
"2022-11-15",
"2023-08-16"
"2023-08-16",
"2023-10-16"
],
"maxLength": 5000,
"type": "string",
Expand Down

0 comments on commit 0b36ffe

Please sign in to comment.